2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for ld 2.34.50.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev
/null
; then :
213 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
225 for as_base
in sh bash ksh sh5
; do
226 # Try only shells that exist, to save several forks.
227 as_shell
=$as_dir/$as_base
228 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 CONFIG_SHELL
=$as_shell as_have_required
=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
239 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
241 CONFIG_SHELL
=$SHELL as_have_required
=yes
246 if test "x$CONFIG_SHELL" != x
; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
256 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x
$as_have_required = xno
; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x
${ZSH_VERSION+set} = xset
; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL
=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE
= GREP_OPTIONS
=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir
=.
/$as_dir;;
329 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
333 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs
="'$as_qdir' $as_dirs"
337 as_dir
=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
363 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p
()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
406 as_val
=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status
=$1; test $as_status -eq 0 && as_status
=1
420 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit
$as_status
427 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
434 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
446 as_me
=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits
='0123456789'
470 as_cr_alnum
=$as_cr_Letters$as_cr_digits
473 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
474 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x
"$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec
=no
; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C
= ECHO_N
= ECHO_T
=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
521 rm -f conf$$ conf$$.exe conf$$.
file
522 if test -d conf$$.dir
; then
523 rm -f conf$$.dir
/conf$$.
file
526 mkdir conf$$.dir
2>/dev
/null
528 if (echo >conf$$.
file) 2>/dev
/null
; then
529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
545 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
546 rmdir conf$$.dir
2>/dev
/null
548 if mkdir
-p .
2>/dev
/null
; then
549 as_mkdir_p
='mkdir -p "$as_dir"'
551 test -d .
/-p && rmdir .
/-p
556 as_executable_p
=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL
=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix
=/usr
/local
580 ac_config_libobj_dir
=.
587 # Identity of this package.
590 PACKAGE_VERSION
='2.34.50'
591 PACKAGE_STRING
='ld 2.34.50'
595 ac_unique_file
="ldmain.c"
596 # Factoring default headers for most tests.
597 ac_includes_default
="\
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
609 # ifdef HAVE_STDLIB_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
633 ac_subst_vars
='am__EXEEXT_FALSE
645 elf_plt_unwind_list_options
646 elf_shlib_list_options
651 enable_initfini_array
681 WARN_CFLAGS_FOR_BUILD
685 TARGET_SYSTEM_ROOT_DEFINE
715 MAINTAINER_MODE_FALSE
739 INSTALL_STRIP_PROGRAM
800 program_transform_name
813 enable_option_checking
814 enable_dependency_tracking
816 enable_maintainer_mode
831 enable_compressed_debug_sections
835 enable_default_hash_style
837 enable_build_warnings
839 enable_initfini_array
842 ac_precious_vars
='build_alias
859 # Initialize some variables set by options.
861 ac_init_version
=false
862 ac_unrecognized_opts
=
864 # The variables have the same names as the options, with
865 # dashes changed to underlines.
873 program_transform_name
=s
,x
,x
,
881 # Installation directory options.
882 # These are left unexpanded so users can "make install exec_prefix=/foo"
883 # and all the variables that are supposed to be based on exec_prefix
884 # by default will actually change.
885 # Use braces instead of parens because sh, perl, etc. also accept them.
886 # (The list follows the same order as the GNU Coding Standards.)
887 bindir
='${exec_prefix}/bin'
888 sbindir
='${exec_prefix}/sbin'
889 libexecdir
='${exec_prefix}/libexec'
890 datarootdir
='${prefix}/share'
891 datadir
='${datarootdir}'
892 sysconfdir
='${prefix}/etc'
893 sharedstatedir
='${prefix}/com'
894 localstatedir
='${prefix}/var'
895 includedir
='${prefix}/include'
896 oldincludedir
='/usr/include'
897 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
898 infodir
='${datarootdir}/info'
903 libdir
='${exec_prefix}/lib'
904 localedir
='${datarootdir}/locale'
905 mandir
='${datarootdir}/man'
911 # If the previous option needs an argument, assign it.
912 if test -n "$ac_prev"; then
913 eval $ac_prev=\
$ac_option
919 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
924 # Accept the important Cygnus configure options, so we can diagnose typos.
926 case $ac_dashdash$ac_option in
930 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
932 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
935 -build |
--build |
--buil |
--bui |
--bu)
936 ac_prev
=build_alias
;;
937 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
938 build_alias
=$ac_optarg ;;
940 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
941 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
942 ac_prev
=cache_file
;;
943 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
944 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
945 cache_file
=$ac_optarg ;;
948 cache_file
=config.cache
;;
950 -datadir |
--datadir |
--datadi |
--datad)
952 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
953 datadir
=$ac_optarg ;;
955 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
956 |
--dataroo |
--dataro |
--datar)
957 ac_prev
=datarootdir
;;
958 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
959 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
960 datarootdir
=$ac_optarg ;;
962 -disable-* |
--disable-*)
963 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
964 # Reject names that are not valid shell variable names.
965 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
966 as_fn_error $?
"invalid feature name: $ac_useropt"
967 ac_useropt_orig
=$ac_useropt
968 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
969 case $ac_user_opts in
973 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
974 ac_unrecognized_sep
=', ';;
976 eval enable_
$ac_useropt=no
;;
978 -docdir |
--docdir |
--docdi |
--doc |
--do)
980 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
983 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
985 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
988 -enable-* |
--enable-*)
989 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
990 # Reject names that are not valid shell variable names.
991 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
992 as_fn_error $?
"invalid feature name: $ac_useropt"
993 ac_useropt_orig
=$ac_useropt
994 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
995 case $ac_user_opts in
999 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1000 ac_unrecognized_sep
=', ';;
1002 eval enable_
$ac_useropt=\
$ac_optarg ;;
1004 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1005 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1006 |
--exec |
--exe |
--ex)
1007 ac_prev
=exec_prefix
;;
1008 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1009 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1010 |
--exec=* |
--exe=* |
--ex=*)
1011 exec_prefix
=$ac_optarg ;;
1013 -gas |
--gas |
--ga |
--g)
1014 # Obsolete; use --with-gas.
1017 -help |
--help |
--hel |
--he |
-h)
1018 ac_init_help
=long
;;
1019 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1020 ac_init_help
=recursive
;;
1021 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1022 ac_init_help
=short
;;
1024 -host |
--host |
--hos |
--ho)
1025 ac_prev
=host_alias
;;
1026 -host=* |
--host=* |
--hos=* |
--ho=*)
1027 host_alias
=$ac_optarg ;;
1029 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1031 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1033 htmldir
=$ac_optarg ;;
1035 -includedir |
--includedir |
--includedi |
--included |
--include \
1036 |
--includ |
--inclu |
--incl |
--inc)
1037 ac_prev
=includedir
;;
1038 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1039 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1040 includedir
=$ac_optarg ;;
1042 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1044 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1045 infodir
=$ac_optarg ;;
1047 -libdir |
--libdir |
--libdi |
--libd)
1049 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1050 libdir
=$ac_optarg ;;
1052 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1053 |
--libexe |
--libex |
--libe)
1054 ac_prev
=libexecdir
;;
1055 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1056 |
--libexe=* |
--libex=* |
--libe=*)
1057 libexecdir
=$ac_optarg ;;
1059 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1060 ac_prev
=localedir
;;
1061 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1062 localedir
=$ac_optarg ;;
1064 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1065 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1066 ac_prev
=localstatedir
;;
1067 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1068 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1069 localstatedir
=$ac_optarg ;;
1071 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1073 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1074 mandir
=$ac_optarg ;;
1076 -nfp |
--nfp |
--nf)
1077 # Obsolete; use --without-fp.
1080 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1081 |
--no-cr |
--no-c |
-n)
1084 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1085 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1088 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1089 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1090 |
--oldin |
--oldi |
--old |
--ol |
--o)
1091 ac_prev
=oldincludedir
;;
1092 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1093 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1094 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1095 oldincludedir
=$ac_optarg ;;
1097 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1099 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1100 prefix
=$ac_optarg ;;
1102 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1103 |
--program-pre |
--program-pr |
--program-p)
1104 ac_prev
=program_prefix
;;
1105 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1106 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1107 program_prefix
=$ac_optarg ;;
1109 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1110 |
--program-suf |
--program-su |
--program-s)
1111 ac_prev
=program_suffix
;;
1112 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1113 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1114 program_suffix
=$ac_optarg ;;
1116 -program-transform-name |
--program-transform-name \
1117 |
--program-transform-nam |
--program-transform-na \
1118 |
--program-transform-n |
--program-transform- \
1119 |
--program-transform |
--program-transfor \
1120 |
--program-transfo |
--program-transf \
1121 |
--program-trans |
--program-tran \
1122 |
--progr-tra |
--program-tr |
--program-t)
1123 ac_prev
=program_transform_name
;;
1124 -program-transform-name=* |
--program-transform-name=* \
1125 |
--program-transform-nam=* |
--program-transform-na=* \
1126 |
--program-transform-n=* |
--program-transform-=* \
1127 |
--program-transform=* |
--program-transfor=* \
1128 |
--program-transfo=* |
--program-transf=* \
1129 |
--program-trans=* |
--program-tran=* \
1130 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1131 program_transform_name
=$ac_optarg ;;
1133 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1135 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1136 pdfdir
=$ac_optarg ;;
1138 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1140 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1143 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1144 |
-silent |
--silent |
--silen |
--sile |
--sil)
1147 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1149 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1151 sbindir
=$ac_optarg ;;
1153 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1154 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1155 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1157 ac_prev
=sharedstatedir
;;
1158 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1159 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1160 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1162 sharedstatedir
=$ac_optarg ;;
1164 -site |
--site |
--sit)
1166 -site=* |
--site=* |
--sit=*)
1169 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1171 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1172 srcdir
=$ac_optarg ;;
1174 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1175 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1176 ac_prev
=sysconfdir
;;
1177 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1178 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1179 sysconfdir
=$ac_optarg ;;
1181 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1182 ac_prev
=target_alias
;;
1183 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1184 target_alias
=$ac_optarg ;;
1186 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1189 -version |
--version |
--versio |
--versi |
--vers |
-V)
1190 ac_init_version
=: ;;
1193 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1194 # Reject names that are not valid shell variable names.
1195 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1196 as_fn_error $?
"invalid package name: $ac_useropt"
1197 ac_useropt_orig
=$ac_useropt
1198 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1199 case $ac_user_opts in
1203 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1204 ac_unrecognized_sep
=', ';;
1206 eval with_
$ac_useropt=\
$ac_optarg ;;
1208 -without-* |
--without-*)
1209 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1210 # Reject names that are not valid shell variable names.
1211 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1212 as_fn_error $?
"invalid package name: $ac_useropt"
1213 ac_useropt_orig
=$ac_useropt
1214 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1215 case $ac_user_opts in
1219 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1220 ac_unrecognized_sep
=', ';;
1222 eval with_
$ac_useropt=no
;;
1225 # Obsolete; use --with-x.
1228 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1229 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1230 ac_prev
=x_includes
;;
1231 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1232 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1233 x_includes
=$ac_optarg ;;
1235 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1236 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1237 ac_prev
=x_libraries
;;
1238 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1239 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1240 x_libraries
=$ac_optarg ;;
1242 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1243 Try \`$0 --help' for more information"
1247 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1248 # Reject names that are not valid shell variable names.
1249 case $ac_envvar in #(
1250 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1251 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1253 eval $ac_envvar=\
$ac_optarg
1254 export $ac_envvar ;;
1257 # FIXME: should be removed in autoconf 3.0.
1258 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1259 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1260 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1261 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1267 if test -n "$ac_prev"; then
1268 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1269 as_fn_error $?
"missing argument to $ac_option"
1272 if test -n "$ac_unrecognized_opts"; then
1273 case $enable_option_checking in
1275 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1276 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1280 # Check all directory arguments for consistency.
1281 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1282 datadir sysconfdir sharedstatedir localstatedir includedir \
1283 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1284 libdir localedir mandir
1286 eval ac_val
=\$
$ac_var
1287 # Remove trailing slashes.
1290 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1291 eval $ac_var=\
$ac_val;;
1293 # Be sure to have absolute directory names.
1295 [\\/$
]* | ?
:[\\/]* ) continue;;
1296 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1298 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1301 # There might be people who depend on the old broken behavior: `$host'
1302 # used to hold the argument of --host etc.
1303 # FIXME: To remove some day.
1306 target
=$target_alias
1308 # FIXME: To remove some day.
1309 if test "x$host_alias" != x
; then
1310 if test "x$build_alias" = x
; then
1311 cross_compiling
=maybe
1312 elif test "x$build_alias" != "x$host_alias"; then
1318 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1320 test "$silent" = yes && exec 6>/dev
/null
1323 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1324 ac_ls_di
=`ls -di .` &&
1325 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1326 as_fn_error $?
"working directory cannot be determined"
1327 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1328 as_fn_error $?
"pwd does not report name of working directory"
1331 # Find the source files, if location was not specified.
1332 if test -z "$srcdir"; then
1333 ac_srcdir_defaulted
=yes
1334 # Try the directory containing this script, then the parent directory.
1335 ac_confdir
=`$as_dirname -- "$as_myself" ||
1336 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1337 X"$as_myself" : 'X\(//\)[^/]' \| \
1338 X"$as_myself" : 'X\(//\)$' \| \
1339 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1340 $as_echo X"$as_myself" |
1341 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1359 if test ! -r "$srcdir/$ac_unique_file"; then
1363 ac_srcdir_defaulted
=no
1365 if test ! -r "$srcdir/$ac_unique_file"; then
1366 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1367 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1369 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1371 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1373 # When building in place, set srcdir=.
1374 if test "$ac_abs_confdir" = "$ac_pwd"; then
1377 # Remove unnecessary trailing slashes from srcdir.
1378 # Double slashes in file names in object file debugging info
1379 # mess up M-x gdb in Emacs.
1381 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1383 for ac_var
in $ac_precious_vars; do
1384 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1385 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1386 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1387 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1391 # Report the --help message.
1393 if test "$ac_init_help" = "long"; then
1394 # Omit some internal or obsolete options to make the list less imposing.
1395 # This message is too long to be a string in the A/UX 3.1 sh.
1397 \`configure' configures ld 2.34.50 to adapt to many kinds of systems.
1399 Usage: $0 [OPTION]... [VAR=VALUE]...
1401 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1402 VAR=VALUE. See below for descriptions of some of the useful variables.
1404 Defaults for the options are specified in brackets.
1407 -h, --help display this help and exit
1408 --help=short display options specific to this package
1409 --help=recursive display the short help of all the included packages
1410 -V, --version display version information and exit
1411 -q, --quiet, --silent do not print \`checking ...' messages
1412 --cache-file=FILE cache test results in FILE [disabled]
1413 -C, --config-cache alias for \`--cache-file=config.cache'
1414 -n, --no-create do not create output files
1415 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1417 Installation directories:
1418 --prefix=PREFIX install architecture-independent files in PREFIX
1419 [$ac_default_prefix]
1420 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1423 By default, \`make install' will install all the files in
1424 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1425 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1426 for instance \`--prefix=\$HOME'.
1428 For better control, use the options below.
1430 Fine tuning of the installation directories:
1431 --bindir=DIR user executables [EPREFIX/bin]
1432 --sbindir=DIR system admin executables [EPREFIX/sbin]
1433 --libexecdir=DIR program executables [EPREFIX/libexec]
1434 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1435 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1436 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1437 --libdir=DIR object code libraries [EPREFIX/lib]
1438 --includedir=DIR C header files [PREFIX/include]
1439 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1440 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1441 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1442 --infodir=DIR info documentation [DATAROOTDIR/info]
1443 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1444 --mandir=DIR man documentation [DATAROOTDIR/man]
1445 --docdir=DIR documentation root [DATAROOTDIR/doc/ld]
1446 --htmldir=DIR html documentation [DOCDIR]
1447 --dvidir=DIR dvi documentation [DOCDIR]
1448 --pdfdir=DIR pdf documentation [DOCDIR]
1449 --psdir=DIR ps documentation [DOCDIR]
1455 --program-prefix=PREFIX prepend PREFIX to installed program names
1456 --program-suffix=SUFFIX append SUFFIX to installed program names
1457 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1460 --build=BUILD configure
for building on BUILD
[guessed
]
1461 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1462 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1466 if test -n "$ac_init_help"; then
1467 case $ac_init_help in
1468 short | recursive
) echo "Configuration of ld 2.34.50:";;
1473 --disable-option-checking ignore unrecognized
--enable/--with options
1474 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1475 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1476 --enable-dependency-tracking
1477 do not reject slow dependency extractors
1478 --disable-dependency-tracking
1479 speeds up one-time build
1480 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1481 --disable-silent-rules verbose build output
(undo
: "make V=0")
1482 --enable-maintainer-mode
1483 enable make rules and dependencies not useful
(and
1484 sometimes confusing
) to the casual installer
1485 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1486 --enable-static[=PKGS
] build static libraries
[default
=yes]
1487 --enable-fast-install[=PKGS
]
1488 optimize
for fast installation
[default
=yes]
1489 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1490 --enable-plugins Enable support
for plugins
1491 --disable-largefile omit support
for large files
1492 --enable-targets alternative target configurations
1493 --enable-64-bit-bfd 64-bit support
(on hosts with narrower word sizes
)
1494 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1495 --enable-got=<type> GOT handling scheme
(target
, single
, negative
,
1497 --enable-compressed-debug-sections={all
,ld
,none
}
1498 compress debug sections by default
]
1499 --enable-new-dtags set DT_RUNPATH instead of DT_RPATH by default
]
1500 --enable-relro enable -z relro
in ELF linker by default
1501 --enable-separate-code enable -z separate-code
in ELF linker by default
1502 --enable-default-hash-style={sysv
,gnu
,both
}
1503 use this default
hash style
1504 --enable-werror treat compile warnings as errors
1505 --enable-build-warnings enable build-time compiler warnings
1506 --disable-nls do not use Native Language Support
1507 --disable-initfini-array do not use .init_array
/.fini_array sections
1510 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1511 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1512 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1514 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1515 --with-lib-path=dir1
:dir2...
set default LIB_PATH
1516 --with-sysroot=DIR Search
for usr
/lib et al within DIR.
1517 --with-system-zlib use installed libz
1519 Some influential environment variables
:
1520 CC C compiler
command
1521 CFLAGS C compiler flags
1522 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1523 nonstandard directory
<lib dir
>
1524 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1525 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1526 you have headers
in a nonstandard directory
<include dir
>
1527 CXX C
++ compiler
command
1528 CXXFLAGS C
++ compiler flags
1530 CXXCPP C
++ preprocessor
1531 YACC The
`Yet Another Compiler Compiler' implementation to use.
1532 Defaults to the first program found out of: `bison
-y', `byacc',
1534 YFLAGS The list of arguments that will be passed by default to $YACC.
1535 This script will default YFLAGS to the empty string to avoid a
1536 default value of `-d' given by some make applications.
1538 Use these variables to override the choices made by `configure' or to
help
1539 it to
find libraries and programs with nonstandard names
/locations.
1541 Report bugs to the package provider.
1546 if test "$ac_init_help" = "recursive"; then
1547 # If there are subdirs, report their specific --help.
1548 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1549 test -d "$ac_dir" ||
1550 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1555 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1557 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1558 # A ".." for each directory in $ac_dir_suffix.
1559 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1560 case $ac_top_builddir_sub in
1561 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1562 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1565 ac_abs_top_builddir
=$ac_pwd
1566 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1567 # for backward compatibility:
1568 ac_top_builddir
=$ac_top_build_prefix
1571 .
) # We are building in place.
1573 ac_top_srcdir
=$ac_top_builddir_sub
1574 ac_abs_top_srcdir
=$ac_pwd ;;
1575 [\\/]* | ?
:[\\/]* ) # Absolute name.
1576 ac_srcdir
=$srcdir$ac_dir_suffix;
1577 ac_top_srcdir
=$srcdir
1578 ac_abs_top_srcdir
=$srcdir ;;
1580 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1581 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1582 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1584 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1586 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1587 # Check for guested configure.
1588 if test -f "$ac_srcdir/configure.gnu"; then
1590 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1591 elif test -f "$ac_srcdir/configure"; then
1593 $SHELL "$ac_srcdir/configure" --help=recursive
1595 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1597 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1601 test -n "$ac_init_help" && exit $ac_status
1602 if $ac_init_version; then
1604 ld configure
2.34.50
1605 generated by GNU Autoconf
2.69
1607 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1608 This configure
script is free software
; the Free Software Foundation
1609 gives unlimited permission to copy
, distribute and modify it.
1614 ## ------------------------ ##
1615 ## Autoconf initialization. ##
1616 ## ------------------------ ##
1618 # ac_fn_c_try_compile LINENO
1619 # --------------------------
1620 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1621 ac_fn_c_try_compile
()
1623 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1624 rm -f conftest.
$ac_objext
1625 if { { ac_try
="$ac_compile"
1627 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1628 *) ac_try_echo=$ac_try;;
1630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1631 $as_echo "$ac_try_echo"; } >&5
1632 (eval "$ac_compile") 2>conftest.err
1634 if test -s conftest.err; then
1635 grep -v '^ *+' conftest.err >conftest.er1
1636 cat conftest.er1 >&5
1637 mv -f conftest.er1 conftest.err
1639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1640 test $ac_status = 0; } && {
1641 test -z "$ac_c_werror_flag" ||
1642 test ! -s conftest.err
1643 } && test -s conftest.$ac_objext; then :
1646 $as_echo "$as_me: failed program was:" >&5
1647 sed 's/^/| /' conftest.$ac_ext >&5
1651 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1652 as_fn_set_status $ac_retval
1654 } # ac_fn_c_try_compile
1656 # ac_fn_c_try_link LINENO
1657 # -----------------------
1658 # Try to link conftest.$ac_ext, and return whether this succeeded.
1661 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1662 rm -f conftest.$ac_objext conftest$ac_exeext
1663 if { { ac_try="$ac_link"
1665 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1666 *) ac_try_echo
=$ac_try;;
1668 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1669 $as_echo "$ac_try_echo"; } >&5
1670 (eval "$ac_link") 2>conftest.err
1672 if test -s conftest.err
; then
1673 grep -v '^ *+' conftest.err
>conftest.er1
1674 cat conftest.er1
>&5
1675 mv -f conftest.er1 conftest.err
1677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1678 test $ac_status = 0; } && {
1679 test -z "$ac_c_werror_flag" ||
1680 test ! -s conftest.err
1681 } && test -s conftest
$ac_exeext && {
1682 test "$cross_compiling" = yes ||
1683 test -x conftest
$ac_exeext
1687 $as_echo "$as_me: failed program was:" >&5
1688 sed 's/^/| /' conftest.
$ac_ext >&5
1692 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1693 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1694 # interfere with the next link command; also delete a directory that is
1695 # left behind by Apple's compiler. We do this before executing the actions.
1696 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1697 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1698 as_fn_set_status
$ac_retval
1700 } # ac_fn_c_try_link
1702 # ac_fn_cxx_try_compile LINENO
1703 # ----------------------------
1704 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1705 ac_fn_cxx_try_compile
()
1707 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1708 rm -f conftest.
$ac_objext
1709 if { { ac_try
="$ac_compile"
1711 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1712 *) ac_try_echo=$ac_try;;
1714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1715 $as_echo "$ac_try_echo"; } >&5
1716 (eval "$ac_compile") 2>conftest.err
1718 if test -s conftest.err; then
1719 grep -v '^ *+' conftest.err >conftest.er1
1720 cat conftest.er1 >&5
1721 mv -f conftest.er1 conftest.err
1723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1724 test $ac_status = 0; } && {
1725 test -z "$ac_cxx_werror_flag" ||
1726 test ! -s conftest.err
1727 } && test -s conftest.$ac_objext; then :
1730 $as_echo "$as_me: failed program was:" >&5
1731 sed 's/^/| /' conftest.$ac_ext >&5
1735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1736 as_fn_set_status $ac_retval
1738 } # ac_fn_cxx_try_compile
1740 # ac_fn_c_try_cpp LINENO
1741 # ----------------------
1742 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746 if { { ac_try="$ac_cpp conftest.$ac_ext"
1748 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1749 *) ac_try_echo
=$ac_try;;
1751 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1752 $as_echo "$ac_try_echo"; } >&5
1753 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1755 if test -s conftest.err
; then
1756 grep -v '^ *+' conftest.err
>conftest.er1
1757 cat conftest.er1
>&5
1758 mv -f conftest.er1 conftest.err
1760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1761 test $ac_status = 0; } > conftest.i
&& {
1762 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1763 test ! -s conftest.err
1767 $as_echo "$as_me: failed program was:" >&5
1768 sed 's/^/| /' conftest.
$ac_ext >&5
1772 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1773 as_fn_set_status
$ac_retval
1777 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1778 # -------------------------------------------------------
1779 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1780 # the include files in INCLUDES and setting the cache variable VAR
1782 ac_fn_c_check_header_mongrel
()
1784 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1785 if eval \
${$3+:} false
; then :
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1787 $as_echo_n "checking for $2... " >&6; }
1788 if eval \
${$3+:} false
; then :
1789 $as_echo_n "(cached) " >&6
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1793 $as_echo "$ac_res" >&6; }
1795 # Is the header compilable?
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1797 $as_echo_n "checking $2 usability... " >&6; }
1798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1799 /* end confdefs.h. */
1803 if ac_fn_c_try_compile
"$LINENO"; then :
1804 ac_header_compiler
=yes
1806 ac_header_compiler
=no
1808 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1810 $as_echo "$ac_header_compiler" >&6; }
1812 # Is the header present?
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1814 $as_echo_n "checking $2 presence... " >&6; }
1815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1816 /* end confdefs.h. */
1819 if ac_fn_c_try_cpp
"$LINENO"; then :
1820 ac_header_preproc
=yes
1822 ac_header_preproc
=no
1824 rm -f conftest.err conftest.i conftest.
$ac_ext
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1826 $as_echo "$ac_header_preproc" >&6; }
1828 # So? What about this header?
1829 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1832 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1834 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1838 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1840 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1842 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1844 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1846 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1850 $as_echo_n "checking for $2... " >&6; }
1851 if eval \
${$3+:} false
; then :
1852 $as_echo_n "(cached) " >&6
1854 eval "$3=\$ac_header_compiler"
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1858 $as_echo "$ac_res" >&6; }
1860 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1862 } # ac_fn_c_check_header_mongrel
1864 # ac_fn_c_try_run LINENO
1865 # ----------------------
1866 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1867 # that executables *can* be run.
1870 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1871 if { { ac_try
="$ac_link"
1873 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1874 *) ac_try_echo=$ac_try;;
1876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1877 $as_echo "$ac_try_echo"; } >&5
1878 (eval "$ac_link") 2>&5
1880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1881 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1882 { { case "(($ac_try" in
1883 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1884 *) ac_try_echo
=$ac_try;;
1886 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1887 $as_echo "$ac_try_echo"; } >&5
1888 (eval "$ac_try") 2>&5
1890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1891 test $ac_status = 0; }; }; then :
1894 $as_echo "$as_me: program exited with status $ac_status" >&5
1895 $as_echo "$as_me: failed program was:" >&5
1896 sed 's/^/| /' conftest.
$ac_ext >&5
1898 ac_retval
=$ac_status
1900 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1901 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1902 as_fn_set_status
$ac_retval
1906 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1907 # -------------------------------------------------------
1908 # Tests whether HEADER exists and can be compiled using the include files in
1909 # INCLUDES, setting the cache variable VAR accordingly.
1910 ac_fn_c_check_header_compile
()
1912 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1914 $as_echo_n "checking for $2... " >&6; }
1915 if eval \
${$3+:} false
; then :
1916 $as_echo_n "(cached) " >&6
1918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1919 /* end confdefs.h. */
1923 if ac_fn_c_try_compile
"$LINENO"; then :
1928 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1932 $as_echo "$ac_res" >&6; }
1933 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1935 } # ac_fn_c_check_header_compile
1937 # ac_fn_c_check_func LINENO FUNC VAR
1938 # ----------------------------------
1939 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1940 ac_fn_c_check_func
()
1942 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1944 $as_echo_n "checking for $2... " >&6; }
1945 if eval \
${$3+:} false
; then :
1946 $as_echo_n "(cached) " >&6
1948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1949 /* end confdefs.h. */
1950 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1952 #define $2 innocuous_$2
1954 /* System header to define __stub macros and hopefully few prototypes,
1955 which can conflict with char $2 (); below.
1956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1957 <limits.h> exists even on freestanding compilers. */
1960 # include <limits.h>
1962 # include <assert.h>
1967 /* Override any GCC internal prototype to avoid an error.
1968 Use char because int might match the return type of a GCC
1969 builtin and then its argument prototype would still apply. */
1974 /* The GNU C library defines this for functions which it implements
1975 to always fail with ENOSYS. Some functions are actually named
1976 something starting with __ and the normal name is an alias. */
1977 #if defined __stub_$2 || defined __stub___$2
1989 if ac_fn_c_try_link
"$LINENO"; then :
1994 rm -f core conftest.err conftest.
$ac_objext \
1995 conftest
$ac_exeext conftest.
$ac_ext
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1999 $as_echo "$ac_res" >&6; }
2000 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2002 } # ac_fn_c_check_func
2004 # ac_fn_cxx_try_cpp LINENO
2005 # ------------------------
2006 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2007 ac_fn_cxx_try_cpp
()
2009 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2010 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2012 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2013 *) ac_try_echo=$ac_try;;
2015 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2016 $as_echo "$ac_try_echo"; } >&5
2017 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2019 if test -s conftest.err; then
2020 grep -v '^ *+' conftest.err >conftest.er1
2021 cat conftest.er1 >&5
2022 mv -f conftest.er1 conftest.err
2024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2025 test $ac_status = 0; } > conftest.i && {
2026 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2027 test ! -s conftest.err
2031 $as_echo "$as_me: failed program was:" >&5
2032 sed 's/^/| /' conftest.$ac_ext >&5
2036 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2037 as_fn_set_status $ac_retval
2039 } # ac_fn_cxx_try_cpp
2041 # ac_fn_cxx_try_link LINENO
2042 # -------------------------
2043 # Try to link conftest.$ac_ext, and return whether this succeeded.
2044 ac_fn_cxx_try_link ()
2046 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2047 rm -f conftest.$ac_objext conftest$ac_exeext
2048 if { { ac_try="$ac_link"
2050 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2051 *) ac_try_echo
=$ac_try;;
2053 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2054 $as_echo "$ac_try_echo"; } >&5
2055 (eval "$ac_link") 2>conftest.err
2057 if test -s conftest.err
; then
2058 grep -v '^ *+' conftest.err
>conftest.er1
2059 cat conftest.er1
>&5
2060 mv -f conftest.er1 conftest.err
2062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2063 test $ac_status = 0; } && {
2064 test -z "$ac_cxx_werror_flag" ||
2065 test ! -s conftest.err
2066 } && test -s conftest
$ac_exeext && {
2067 test "$cross_compiling" = yes ||
2068 test -x conftest
$ac_exeext
2072 $as_echo "$as_me: failed program was:" >&5
2073 sed 's/^/| /' conftest.
$ac_ext >&5
2077 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2078 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2079 # interfere with the next link command; also delete a directory that is
2080 # left behind by Apple's compiler. We do this before executing the actions.
2081 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2082 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2083 as_fn_set_status
$ac_retval
2085 } # ac_fn_cxx_try_link
2087 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2088 # ---------------------------------------------
2089 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2091 ac_fn_c_check_decl
()
2093 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2094 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2095 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2097 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2098 if eval \
${$3+:} false
; then :
2099 $as_echo_n "(cached) " >&6
2101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2102 /* end confdefs.h. */
2107 #ifndef $as_decl_name
2109 (void) $as_decl_use;
2111 (void) $as_decl_name;
2119 if ac_fn_c_try_compile
"$LINENO"; then :
2124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2128 $as_echo "$ac_res" >&6; }
2129 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2131 } # ac_fn_c_check_decl
2133 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2134 # --------------------------------------------
2135 # Tries to find the compile-time value of EXPR in a program that includes
2136 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2138 ac_fn_c_compute_int
()
2140 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2141 if test "$cross_compiling" = yes; then
2142 # Depending upon the size, compute the lo and hi bounds.
2143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2144 /* end confdefs.h. */
2149 static int test_array [1 - 2 * !(($2) >= 0)];
2151 return test_array [0];
2157 if ac_fn_c_try_compile
"$LINENO"; then :
2160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2161 /* end confdefs.h. */
2166 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2168 return test_array [0];
2174 if ac_fn_c_try_compile
"$LINENO"; then :
2175 ac_hi
=$ac_mid; break
2177 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2178 if test $ac_lo -le $ac_mid; then
2182 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2188 /* end confdefs.h. */
2193 static int test_array [1 - 2 * !(($2) < 0)];
2195 return test_array [0];
2201 if ac_fn_c_try_compile
"$LINENO"; then :
2204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2205 /* end confdefs.h. */
2210 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2212 return test_array [0];
2218 if ac_fn_c_try_compile
"$LINENO"; then :
2219 ac_lo
=$ac_mid; break
2221 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2222 if test $ac_mid -le $ac_hi; then
2226 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2228 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2233 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2235 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2236 # Binary search between lo and hi bounds.
2237 while test "x$ac_lo" != "x$ac_hi"; do
2238 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2240 /* end confdefs.h. */
2245 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2247 return test_array [0];
2253 if ac_fn_c_try_compile
"$LINENO"; then :
2256 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2258 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2261 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2266 /* end confdefs.h. */
2268 static long int longval () { return $2; }
2269 static unsigned long int ulongval () { return $2; }
2276 FILE *f = fopen ("conftest.val", "w");
2281 long int i = longval ();
2284 fprintf (f, "%ld", i);
2288 unsigned long int i = ulongval ();
2291 fprintf (f, "%lu", i);
2293 /* Do not output a trailing newline, as this causes \r\n confusion
2294 on some platforms. */
2295 return ferror (f) || fclose (f) != 0;
2301 if ac_fn_c_try_run
"$LINENO"; then :
2302 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2306 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2307 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2311 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2312 as_fn_set_status
$ac_retval
2314 } # ac_fn_c_compute_int
2315 cat >config.log
<<_ACEOF
2316 This file contains any messages produced by compilers while
2317 running configure, to aid debugging if configure makes a mistake.
2319 It was created by ld $as_me 2.34.50, which was
2320 generated by GNU Autoconf 2.69. Invocation command line was
2332 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2333 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2334 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2335 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2336 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2338 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2339 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2341 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2342 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2343 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2344 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2345 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2346 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2347 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2355 test -z "$as_dir" && as_dir
=.
2356 $as_echo "PATH: $as_dir"
2372 # Keep a trace of the command line.
2373 # Strip out --no-create and --no-recursion so they do not pile up.
2374 # Strip out --silent because we don't want to record it for future runs.
2375 # Also quote any args containing shell meta-characters.
2376 # Make two passes to allow for proper duplicate-argument suppression.
2380 ac_must_keep_next
=false
2386 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2387 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2388 |
-silent |
--silent |
--silen |
--sile |
--sil)
2391 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2394 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2396 as_fn_append ac_configure_args1
" '$ac_arg'"
2397 if test $ac_must_keep_next = true
; then
2398 ac_must_keep_next
=false
# Got value, back to normal.
2401 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2402 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2403 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2404 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2405 case "$ac_configure_args0 " in
2406 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2409 -* ) ac_must_keep_next
=true
;;
2412 as_fn_append ac_configure_args
" '$ac_arg'"
2417 { ac_configure_args0
=; unset ac_configure_args0
;}
2418 { ac_configure_args1
=; unset ac_configure_args1
;}
2420 # When interrupted or exit'd, cleanup temporary files, and complete
2421 # config.log. We remove comments because anyway the quotes in there
2422 # would cause problems or look ugly.
2423 # WARNING: Use '\'' to represent an apostrophe within the trap.
2424 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2425 trap 'exit_status=$?
2426 # Save into config.log some information that might help in debugging.
2430 $as_echo "## ---------------- ##
2431 ## Cache variables. ##
2432 ## ---------------- ##"
2434 # The following way of writing the cache mishandles newlines in values,
2436 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2437 eval ac_val=\$$ac_var
2441 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2442 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2445 _ | IFS | as_nl) ;; #(
2446 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2447 *) { eval $ac_var=; unset $ac_var;} ;;
2452 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2453 *${as_nl}ac_space=\ *)
2455 "s/'\''/'\''\\\\'\'''\''/g;
2456 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2459 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2466 $as_echo "## ----------------- ##
2467 ## Output variables. ##
2468 ## ----------------- ##"
2470 for ac_var in $ac_subst_vars
2472 eval ac_val=\$$ac_var
2474 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2476 $as_echo "$ac_var='\''$ac_val'\''"
2480 if test -n "$ac_subst_files"; then
2481 $as_echo "## ------------------- ##
2482 ## File substitutions. ##
2483 ## ------------------- ##"
2485 for ac_var
in $ac_subst_files
2487 eval ac_val
=\$
$ac_var
2489 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2491 $as_echo "$ac_var='\''$ac_val'\''"
2496 if test -s confdefs.h; then
2497 $as_echo "## ----------- ##
2504 test "$ac_signal" != 0 &&
2505 $as_echo "$as_me: caught signal $ac_signal"
2506 $as_echo "$as_me: exit $exit_status"
2508 rm -f core *.core core.conftest.* &&
2509 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2512 for ac_signal
in 1 2 13 15; do
2513 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2517 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2518 rm -f -r conftest
* confdefs.h
2520 $as_echo "/* confdefs.h */" > confdefs.h
2522 # Predefined preprocessor variables.
2524 cat >>confdefs.h
<<_ACEOF
2525 #define PACKAGE_NAME "$PACKAGE_NAME"
2528 cat >>confdefs.h
<<_ACEOF
2529 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2532 cat >>confdefs.h
<<_ACEOF
2533 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2536 cat >>confdefs.h
<<_ACEOF
2537 #define PACKAGE_STRING "$PACKAGE_STRING"
2540 cat >>confdefs.h
<<_ACEOF
2541 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2544 cat >>confdefs.h
<<_ACEOF
2545 #define PACKAGE_URL "$PACKAGE_URL"
2549 # Let the site file select an alternate cache file if it wants to.
2550 # Prefer an explicitly selected file to automatically selected ones.
2553 if test -n "$CONFIG_SITE"; then
2554 # We do not want a PATH search for config.site.
2555 case $CONFIG_SITE in #((
2556 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2557 */*) ac_site_file1
=$CONFIG_SITE;;
2558 *) ac_site_file1
=.
/$CONFIG_SITE;;
2560 elif test "x$prefix" != xNONE
; then
2561 ac_site_file1
=$prefix/share
/config.site
2562 ac_site_file2
=$prefix/etc
/config.site
2564 ac_site_file1
=$ac_default_prefix/share
/config.site
2565 ac_site_file2
=$ac_default_prefix/etc
/config.site
2567 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2569 test "x$ac_site_file" = xNONE
&& continue
2570 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2572 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2573 sed 's/^/| /' "$ac_site_file" >&5
2575 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2576 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2577 as_fn_error $?
"failed to load site script $ac_site_file
2578 See \`config.log' for more details" "$LINENO" 5; }
2582 if test -r "$cache_file"; then
2583 # Some versions of bash will fail to source /dev/null (special files
2584 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2585 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2587 $as_echo "$as_me: loading cache $cache_file" >&6;}
2589 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2590 *) .
"./$cache_file";;
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2595 $as_echo "$as_me: creating cache $cache_file" >&6;}
2599 as_fn_append ac_header_list
" stdlib.h"
2600 as_fn_append ac_header_list
" unistd.h"
2601 as_fn_append ac_header_list
" sys/param.h"
2602 # Check that the precious variables saved in the cache have kept the same
2604 ac_cache_corrupted
=false
2605 for ac_var
in $ac_precious_vars; do
2606 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2607 eval ac_new_set
=\
$ac_env_${ac_var}_set
2608 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2609 eval ac_new_val
=\
$ac_env_${ac_var}_value
2610 case $ac_old_set,$ac_new_set in
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2613 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2614 ac_cache_corrupted
=: ;;
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2617 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2618 ac_cache_corrupted
=: ;;
2621 if test "x$ac_old_val" != "x$ac_new_val"; then
2622 # differences in whitespace do not lead to failure.
2623 ac_old_val_w
=`echo x $ac_old_val`
2624 ac_new_val_w
=`echo x $ac_new_val`
2625 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2627 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2628 ac_cache_corrupted
=:
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2631 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2632 eval $ac_var=\
$ac_old_val
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2635 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2637 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2640 # Pass precious variables to config.status.
2641 if test "$ac_new_set" = set; then
2643 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2644 *) ac_arg
=$ac_var=$ac_new_val ;;
2646 case " $ac_configure_args " in
2647 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2648 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2652 if $ac_cache_corrupted; then
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2654 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2656 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2657 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2659 ## -------------------- ##
2660 ## Main body of script. ##
2661 ## -------------------- ##
2664 ac_cpp
='$CPP $CPPFLAGS'
2665 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2666 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2667 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2676 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2677 if test -f "$ac_dir/install-sh"; then
2679 ac_install_sh
="$ac_aux_dir/install-sh -c"
2681 elif test -f "$ac_dir/install.sh"; then
2683 ac_install_sh
="$ac_aux_dir/install.sh -c"
2685 elif test -f "$ac_dir/shtool"; then
2687 ac_install_sh
="$ac_aux_dir/shtool install -c"
2691 if test -z "$ac_aux_dir"; then
2692 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2695 # These three variables are undocumented and unsupported,
2696 # and are intended to be withdrawn in a future Autoconf release.
2697 # They can cause serious problems if a builder's source tree is in a directory
2698 # whose full name contains unusual characters.
2699 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2700 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2701 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2704 # Make sure we can run config.sub.
2705 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2706 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2709 $as_echo_n "checking build system type... " >&6; }
2710 if ${ac_cv_build+:} false
; then :
2711 $as_echo_n "(cached) " >&6
2713 ac_build_alias
=$build_alias
2714 test "x$ac_build_alias" = x
&&
2715 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2716 test "x$ac_build_alias" = x
&&
2717 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2718 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2719 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2723 $as_echo "$ac_cv_build" >&6; }
2724 case $ac_cv_build in
2726 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2729 ac_save_IFS
=$IFS; IFS
='-'
2735 # Remember, the first character of IFS is used to create $*,
2736 # except with old shells:
2739 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2743 $as_echo_n "checking host system type... " >&6; }
2744 if ${ac_cv_host+:} false
; then :
2745 $as_echo_n "(cached) " >&6
2747 if test "x$host_alias" = x
; then
2748 ac_cv_host
=$ac_cv_build
2750 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2751 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2756 $as_echo "$ac_cv_host" >&6; }
2759 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2762 ac_save_IFS
=$IFS; IFS
='-'
2768 # Remember, the first character of IFS is used to create $*,
2769 # except with old shells:
2772 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2776 $as_echo_n "checking target system type... " >&6; }
2777 if ${ac_cv_target+:} false
; then :
2778 $as_echo_n "(cached) " >&6
2780 if test "x$target_alias" = x
; then
2781 ac_cv_target
=$ac_cv_host
2783 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2784 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2789 $as_echo "$ac_cv_target" >&6; }
2790 case $ac_cv_target in
2792 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2794 target
=$ac_cv_target
2795 ac_save_IFS
=$IFS; IFS
='-'
2801 # Remember, the first character of IFS is used to create $*,
2802 # except with old shells:
2805 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2808 # The aliases save the names the user supplied, while $host etc.
2809 # will get canonicalized.
2810 test -n "$target_alias" &&
2811 test "$program_prefix$program_suffix$program_transform_name" = \
2813 program_prefix
=${target_alias}-
2815 # Expand $ac_aux_dir to an absolute path.
2816 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2819 ac_cpp
='$CPP $CPPFLAGS'
2820 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2821 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2822 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2823 if test -n "$ac_tool_prefix"; then
2824 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2825 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2827 $as_echo_n "checking for $ac_word... " >&6; }
2828 if ${ac_cv_prog_CC+:} false
; then :
2829 $as_echo_n "(cached) " >&6
2831 if test -n "$CC"; then
2832 ac_cv_prog_CC
="$CC" # Let the user override the test.
2834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2838 test -z "$as_dir" && as_dir
=.
2839 for ac_exec_ext
in '' $ac_executable_extensions; do
2840 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2841 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2852 if test -n "$CC"; then
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2854 $as_echo "$CC" >&6; }
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2857 $as_echo "no" >&6; }
2862 if test -z "$ac_cv_prog_CC"; then
2864 # Extract the first word of "gcc", so it can be a program name with args.
2865 set dummy gcc
; ac_word
=$2
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2867 $as_echo_n "checking for $ac_word... " >&6; }
2868 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2869 $as_echo_n "(cached) " >&6
2871 if test -n "$ac_ct_CC"; then
2872 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2878 test -z "$as_dir" && as_dir
=.
2879 for ac_exec_ext
in '' $ac_executable_extensions; do
2880 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2881 ac_cv_prog_ac_ct_CC
="gcc"
2882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2891 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2892 if test -n "$ac_ct_CC"; then
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2894 $as_echo "$ac_ct_CC" >&6; }
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2897 $as_echo "no" >&6; }
2900 if test "x$ac_ct_CC" = x
; then
2903 case $cross_compiling:$ac_tool_warned in
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2906 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2907 ac_tool_warned
=yes ;;
2915 if test -z "$CC"; then
2916 if test -n "$ac_tool_prefix"; then
2917 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2918 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2920 $as_echo_n "checking for $ac_word... " >&6; }
2921 if ${ac_cv_prog_CC+:} false
; then :
2922 $as_echo_n "(cached) " >&6
2924 if test -n "$CC"; then
2925 ac_cv_prog_CC
="$CC" # Let the user override the test.
2927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2931 test -z "$as_dir" && as_dir
=.
2932 for ac_exec_ext
in '' $ac_executable_extensions; do
2933 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2934 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2945 if test -n "$CC"; then
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2947 $as_echo "$CC" >&6; }
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2950 $as_echo "no" >&6; }
2956 if test -z "$CC"; then
2957 # Extract the first word of "cc", so it can be a program name with args.
2958 set dummy cc
; ac_word
=$2
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2960 $as_echo_n "checking for $ac_word... " >&6; }
2961 if ${ac_cv_prog_CC+:} false
; then :
2962 $as_echo_n "(cached) " >&6
2964 if test -n "$CC"; then
2965 ac_cv_prog_CC
="$CC" # Let the user override the test.
2968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2972 test -z "$as_dir" && as_dir
=.
2973 for ac_exec_ext
in '' $ac_executable_extensions; do
2974 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2975 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2976 ac_prog_rejected
=yes
2980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2987 if test $ac_prog_rejected = yes; then
2988 # We found a bogon in the path, so make sure we never use it.
2989 set dummy
$ac_cv_prog_CC
2991 if test $# != 0; then
2992 # We chose a different compiler from the bogus one.
2993 # However, it has the same basename, so the bogon will be chosen
2994 # first if we set CC to just the basename; use the full file name.
2996 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3002 if test -n "$CC"; then
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3004 $as_echo "$CC" >&6; }
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3007 $as_echo "no" >&6; }
3012 if test -z "$CC"; then
3013 if test -n "$ac_tool_prefix"; then
3014 for ac_prog
in cl.exe
3016 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3017 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3019 $as_echo_n "checking for $ac_word... " >&6; }
3020 if ${ac_cv_prog_CC+:} false
; then :
3021 $as_echo_n "(cached) " >&6
3023 if test -n "$CC"; then
3024 ac_cv_prog_CC
="$CC" # Let the user override the test.
3026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3030 test -z "$as_dir" && as_dir
=.
3031 for ac_exec_ext
in '' $ac_executable_extensions; do
3032 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3033 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3044 if test -n "$CC"; then
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3046 $as_echo "$CC" >&6; }
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3049 $as_echo "no" >&6; }
3053 test -n "$CC" && break
3056 if test -z "$CC"; then
3058 for ac_prog
in cl.exe
3060 # Extract the first word of "$ac_prog", so it can be a program name with args.
3061 set dummy
$ac_prog; ac_word
=$2
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3063 $as_echo_n "checking for $ac_word... " >&6; }
3064 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3065 $as_echo_n "(cached) " >&6
3067 if test -n "$ac_ct_CC"; then
3068 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3074 test -z "$as_dir" && as_dir
=.
3075 for ac_exec_ext
in '' $ac_executable_extensions; do
3076 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3077 ac_cv_prog_ac_ct_CC
="$ac_prog"
3078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3087 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3088 if test -n "$ac_ct_CC"; then
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3090 $as_echo "$ac_ct_CC" >&6; }
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3093 $as_echo "no" >&6; }
3097 test -n "$ac_ct_CC" && break
3100 if test "x$ac_ct_CC" = x
; then
3103 case $cross_compiling:$ac_tool_warned in
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3106 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3107 ac_tool_warned
=yes ;;
3116 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3118 as_fn_error $?
"no acceptable C compiler found in \$PATH
3119 See \`config.log' for more details" "$LINENO" 5; }
3121 # Provide some information about the compiler.
3122 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3125 for ac_option
in --version -v -V -qversion; do
3126 { { ac_try
="$ac_compiler $ac_option >&5"
3128 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3129 *) ac_try_echo=$ac_try;;
3131 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3132 $as_echo "$ac_try_echo"; } >&5
3133 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3135 if test -s conftest.err; then
3137 ... rest of stderr output deleted ...
3138 10q' conftest.err >conftest.er1
3139 cat conftest.er1 >&5
3141 rm -f conftest.er1 conftest.err
3142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3143 test $ac_status = 0; }
3146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3147 /* end confdefs.h. */
3157 ac_clean_files_save=$ac_clean_files
3158 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3159 # Try to create an executable without -o first, disregard a.out.
3160 # It will help us diagnose broken compilers, and finding out an intuition
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3163 $as_echo_n "checking whether the C compiler works... " >&6; }
3164 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3166 # The possible output files:
3167 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3170 for ac_file in $ac_files
3173 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3174 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3179 if { { ac_try="$ac_link_default"
3181 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3182 *) ac_try_echo
=$ac_try;;
3184 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3185 $as_echo "$ac_try_echo"; } >&5
3186 (eval "$ac_link_default") 2>&5
3188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3189 test $ac_status = 0; }; then :
3190 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3191 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3192 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3193 # so that the user can short-circuit this test for compilers unknown to
3195 for ac_file
in $ac_files ''
3197 test -f "$ac_file" ||
continue
3199 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3202 # We found the default executable, but exeext='' is most
3206 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3208 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3210 # We set ac_cv_exeext here because the later test for it is not
3211 # safe: cross compilers may not add the suffix if given an `-o'
3212 # argument, so we may need to know it at that point already.
3213 # Even if this section looks crufty: it has the advantage of
3220 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3225 if test -z "$ac_file"; then :
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3227 $as_echo "no" >&6; }
3228 $as_echo "$as_me: failed program was:" >&5
3229 sed 's/^/| /' conftest.
$ac_ext >&5
3231 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3232 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3233 as_fn_error
77 "C compiler cannot create executables
3234 See \`config.log' for more details" "$LINENO" 5; }
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3237 $as_echo "yes" >&6; }
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3240 $as_echo_n "checking for C compiler default output file name... " >&6; }
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3242 $as_echo "$ac_file" >&6; }
3243 ac_exeext
=$ac_cv_exeext
3245 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3246 ac_clean_files
=$ac_clean_files_save
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3248 $as_echo_n "checking for suffix of executables... " >&6; }
3249 if { { ac_try
="$ac_link"
3251 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3252 *) ac_try_echo=$ac_try;;
3254 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3255 $as_echo "$ac_try_echo"; } >&5
3256 (eval "$ac_link") 2>&5
3258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3259 test $ac_status = 0; }; then :
3260 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3261 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3262 # work properly (i.e., refer to `conftest.exe'), while it won't with
3264 for ac_file
in conftest.exe conftest conftest.
*; do
3265 test -f "$ac_file" ||
continue
3267 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3268 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3274 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3276 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3277 See \`config.log' for more details" "$LINENO" 5; }
3279 rm -f conftest conftest
$ac_cv_exeext
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3281 $as_echo "$ac_cv_exeext" >&6; }
3283 rm -f conftest.
$ac_ext
3284 EXEEXT
=$ac_cv_exeext
3286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3287 /* end confdefs.h. */
3292 FILE *f = fopen ("conftest.out", "w");
3293 return ferror (f) || fclose (f) != 0;
3299 ac_clean_files
="$ac_clean_files conftest.out"
3300 # Check that the compiler produces executables we can run. If not, either
3301 # the compiler is broken, or we cross compile.
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3303 $as_echo_n "checking whether we are cross compiling... " >&6; }
3304 if test "$cross_compiling" != yes; then
3305 { { ac_try
="$ac_link"
3307 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3308 *) ac_try_echo=$ac_try;;
3310 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3311 $as_echo "$ac_try_echo"; } >&5
3312 (eval "$ac_link") 2>&5
3314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3315 test $ac_status = 0; }
3316 if { ac_try='./conftest$ac_cv_exeext'
3317 { { case "(($ac_try" in
3318 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3319 *) ac_try_echo
=$ac_try;;
3321 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3322 $as_echo "$ac_try_echo"; } >&5
3323 (eval "$ac_try") 2>&5
3325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3326 test $ac_status = 0; }; }; then
3329 if test "$cross_compiling" = maybe
; then
3332 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3333 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3334 as_fn_error $?
"cannot run C compiled programs.
3335 If you meant to cross compile, use \`--host'.
3336 See \`config.log' for more details" "$LINENO" 5; }
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3341 $as_echo "$cross_compiling" >&6; }
3343 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3344 ac_clean_files
=$ac_clean_files_save
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3346 $as_echo_n "checking for suffix of object files... " >&6; }
3347 if ${ac_cv_objext+:} false
; then :
3348 $as_echo_n "(cached) " >&6
3350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3351 /* end confdefs.h. */
3361 rm -f conftest.o conftest.obj
3362 if { { ac_try
="$ac_compile"
3364 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3365 *) ac_try_echo=$ac_try;;
3367 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3368 $as_echo "$ac_try_echo"; } >&5
3369 (eval "$ac_compile") 2>&5
3371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3372 test $ac_status = 0; }; then :
3373 for ac_file in conftest.o conftest.obj conftest.*; do
3374 test -f "$ac_file" || continue;
3376 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3377 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3382 $as_echo "$as_me: failed program was:" >&5
3383 sed 's/^/| /' conftest.$ac_ext >&5
3385 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3387 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3388 See \
`config.log' for more details" "$LINENO" 5; }
3390 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3393 $as_echo "$ac_cv_objext" >&6; }
3394 OBJEXT=$ac_cv_objext
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3397 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3398 if ${ac_cv_c_compiler_gnu+:} false; then :
3399 $as_echo_n "(cached) " >&6
3401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3402 /* end confdefs.h. */
3415 if ac_fn_c_try_compile "$LINENO"; then :
3420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3421 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3425 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3426 if test $ac_compiler_gnu = yes; then
3431 ac_test_CFLAGS=${CFLAGS+set}
3432 ac_save_CFLAGS=$CFLAGS
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3434 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3435 if ${ac_cv_prog_cc_g+:} false; then :
3436 $as_echo_n "(cached) " >&6
3438 ac_save_c_werror_flag=$ac_c_werror_flag
3439 ac_c_werror_flag=yes
3442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3443 /* end confdefs.h. */
3453 if ac_fn_c_try_compile "$LINENO"; then :
3457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3458 /* end confdefs.h. */
3468 if ac_fn_c_try_compile "$LINENO"; then :
3471 ac_c_werror_flag=$ac_save_c_werror_flag
3473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3474 /* end confdefs.h. */
3484 if ac_fn_c_try_compile "$LINENO"; then :
3487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3492 ac_c_werror_flag=$ac_save_c_werror_flag
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3495 $as_echo "$ac_cv_prog_cc_g" >&6; }
3496 if test "$ac_test_CFLAGS" = set; then
3497 CFLAGS=$ac_save_CFLAGS
3498 elif test $ac_cv_prog_cc_g = yes; then
3499 if test "$GCC" = yes; then
3505 if test "$GCC" = yes; then
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3512 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3513 if ${ac_cv_prog_cc_c89+:} false; then :
3514 $as_echo_n "(cached) " >&6
3516 ac_cv_prog_cc_c89=no
3518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3519 /* end confdefs.h. */
3523 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3524 struct buf { int x; };
3525 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3526 static char *e (p, i)
3532 static char *f (char * (*g) (char **, int), char **p, ...)
3537 s = g (p, va_arg (v,int));
3542 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3543 function prototypes and stuff, but not '\xHH' hex character constants.
3544 These don't provoke an error unfortunately, instead are silently treated
3545 as 'x'. The following induces an error, until -std is added to get
3546 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3547 array size at least. It's necessary to write '\x00'==0 to get something
3548 that's true only with -std. */
3549 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3551 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3552 inside strings and character constants. */
3554 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3556 int test (int i, double x);
3557 struct s1 {int (*f) (int a);};
3558 struct s2 {int (*f) (double a);};
3559 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3565 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3570 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3571 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3573 CC="$ac_save_CC $ac_arg"
3574 if ac_fn_c_try_compile "$LINENO"; then :
3575 ac_cv_prog_cc_c89=$ac_arg
3577 rm -f core conftest.err conftest.$ac_objext
3578 test "x$ac_cv_prog_cc_c89" != "xno" && break
3580 rm -f conftest.$ac_ext
3585 case "x$ac_cv_prog_cc_c89" in
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3588 $as_echo "none needed" >&6; } ;;
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3591 $as_echo "unsupported" >&6; } ;;
3593 CC="$CC $ac_cv_prog_cc_c89"
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3595 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3597 if test "x$ac_cv_prog_cc_c89" != xno; then :
3602 ac_cpp='$CPP $CPPFLAGS'
3603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3608 ac_cpp='$CPP $CPPFLAGS'
3609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3613 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3614 if ${am_cv_prog_cc_c_o+:} false; then :
3615 $as_echo_n "(cached) " >&6
3617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3618 /* end confdefs.h. */
3628 # Make sure it works both with $CC and with simple cc.
3629 # Following AC_PROG_CC_C_O, we do the test twice because some
3630 # compilers refuse to overwrite an existing .o file with -o,
3631 # though they will create one.
3632 am_cv_prog_cc_c_o=yes
3634 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3635 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3638 (exit $ac_status); } \
3639 && test -f conftest2.$ac_objext; then
3642 am_cv_prog_cc_c_o=no
3646 rm -f core conftest*
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3650 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3651 if test "$am_cv_prog_cc_c_o" != yes; then
3652 # Losing compiler, so override with the script.
3653 # FIXME: It is wrong to rewrite CC.
3654 # But if we don't then we get into trouble of one sort or another.
3655 # A longer-term fix would be to have automake use am__CC in this case,
3656 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3657 CC="$am_aux_dir/compile $CC"
3660 ac_cpp='$CPP $CPPFLAGS'
3661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3668 $as_echo_n "checking for library containing strerror... " >&6; }
3669 if ${ac_cv_search_strerror+:} false; then :
3670 $as_echo_n "(cached) " >&6
3672 ac_func_search_save_LIBS=$LIBS
3673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3674 /* end confdefs.h. */
3676 /* Override any GCC internal prototype to avoid an error.
3677 Use char because int might match the return type of a GCC
3678 builtin and then its argument prototype would still apply. */
3691 for ac_lib in '' cposix; do
3692 if test -z "$ac_lib"; then
3693 ac_res="none required"
3696 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3698 if ac_fn_c_try_link "$LINENO"; then :
3699 ac_cv_search_strerror=$ac_res
3701 rm -f core conftest.err conftest.$ac_objext \
3703 if ${ac_cv_search_strerror+:} false; then :
3707 if ${ac_cv_search_strerror+:} false; then :
3710 ac_cv_search_strerror=no
3713 LIBS=$ac_func_search_save_LIBS
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3716 $as_echo "$ac_cv_search_strerror" >&6; }
3717 ac_res=$ac_cv_search_strerror
3718 if test "$ac_res" != no; then :
3719 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3724 am__api_version='1.15'
3726 # Find a good install program. We prefer a C program (faster),
3727 # so one script is as good as another. But avoid the broken or
3728 # incompatible versions:
3729 # SysV /etc/install, /usr/sbin/install
3730 # SunOS /usr/etc/install
3731 # IRIX /sbin/install
3733 # AmigaOS /C/install, which installs bootblocks on floppy discs
3734 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3735 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3736 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3737 # OS/2's system install, which has a completely different semantic
3738 # ./install, which can be erroneously created by make from ./install.sh.
3739 # Reject install programs that cannot install multiple files.
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3741 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3742 if test -z "$INSTALL"; then
3743 if ${ac_cv_path_install+:} false; then :
3744 $as_echo_n "(cached) " >&6
3746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3750 test -z "$as_dir" && as_dir=.
3751 # Account for people who put trailing slashes in PATH elements.
3752 case $as_dir/ in #((
3753 ./ | .// | /[cC]/* | \
3754 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3755 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3758 # OSF1 and SCO ODT 3.0 have their own names for install.
3759 # Don't use installbsd from OSF since it installs stuff as root
3761 for ac_prog in ginstall scoinst install; do
3762 for ac_exec_ext in '' $ac_executable_extensions; do
3763 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3764 if test $ac_prog = install &&
3765 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3766 # AIX install. It has an incompatible calling convention.
3768 elif test $ac_prog = install &&
3769 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3770 # program-specific install script used by HP pwplus--don't use.
3773 rm -rf conftest.one conftest.two conftest.dir
3774 echo one > conftest.one
3775 echo two > conftest.two
3777 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3778 test -s conftest.one && test -s conftest.two &&
3779 test -s conftest.dir/conftest.one &&
3780 test -s conftest.dir/conftest.two
3782 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3795 rm -rf conftest.one conftest.two conftest.dir
3798 if test "${ac_cv_path_install+set}" = set; then
3799 INSTALL=$ac_cv_path_install
3801 # As a last resort, use the slow shell script. Don't cache a
3802 # value for INSTALL within a source directory, because that will
3803 # break other packages using the cache if that directory is
3804 # removed, or if the value is a relative name.
3805 INSTALL=$ac_install_sh
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3809 $as_echo "$INSTALL" >&6; }
3811 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3812 # It thinks the first close brace ends the variable substitution.
3813 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3815 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3817 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3820 $as_echo_n "checking whether build environment is sane... " >&6; }
3821 # Reject unsafe characters in $srcdir or the absolute working directory
3822 # name. Accept space and tab only in the latter.
3826 *[\\\"\#\$\&\'\`$am_lf]*)
3827 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3830 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3831 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3834 # Do 'set' in a subshell so we don't clobber the current shell's
3835 # arguments. Must try -L first in case configure is actually a
3836 # symlink; some systems play weird games with the mod time of symlinks
3837 # (eg FreeBSD returns the mod time of the symlink's containing
3841 for am_try
in 1 2; do
3842 echo "timestamp, slept: $am_has_slept" > conftest.
file
3843 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3844 if test "$*" = "X"; then
3846 set X
`ls -t "$srcdir/configure" conftest.file`
3848 if test "$*" != "X $srcdir/configure conftest.file" \
3849 && test "$*" != "X conftest.file $srcdir/configure"; then
3851 # If neither matched, then we have a broken ls. This can happen
3852 # if, for instance, CONFIG_SHELL is bash and it inherits a
3853 # broken ls alias from the environment. This has actually
3854 # happened. Such a system could not be considered "sane".
3855 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3856 alias in your environment" "$LINENO" 5
3858 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3865 test "$2" = conftest.
file
3871 as_fn_error $?
"newly created file is older than distributed files!
3872 Check your system clock" "$LINENO" 5
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3875 $as_echo "yes" >&6; }
3876 # If we didn't sleep, we still need to ensure time stamps of config.status and
3877 # generated files are strictly newer.
3879 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3886 test "$program_prefix" != NONE
&&
3887 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3888 # Use a double $ so make ignores it.
3889 test "$program_suffix" != NONE
&&
3890 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3891 # Double any \ or $.
3892 # By default was `s,x,x', remove it if useless.
3893 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3894 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3896 if test x
"${MISSING+set}" != xset
; then
3899 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3901 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3904 # Use eval to expand $SHELL
3905 if eval "$MISSING --is-lightweight"; then
3906 am_missing_run
="$MISSING "
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3910 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3913 if test x
"${install_sh+set}" != xset
; then
3916 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3918 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3922 # Installed binaries are usually stripped using 'strip' when the user
3923 # run "make install-strip". However 'strip' might not be the right
3924 # tool to use in cross-compilation environments, therefore Automake
3925 # will honor the 'STRIP' environment variable to overrule this program.
3926 if test "$cross_compiling" != no
; then
3927 if test -n "$ac_tool_prefix"; then
3928 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3929 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3931 $as_echo_n "checking for $ac_word... " >&6; }
3932 if ${ac_cv_prog_STRIP+:} false
; then :
3933 $as_echo_n "(cached) " >&6
3935 if test -n "$STRIP"; then
3936 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3942 test -z "$as_dir" && as_dir
=.
3943 for ac_exec_ext
in '' $ac_executable_extensions; do
3944 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3945 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3955 STRIP
=$ac_cv_prog_STRIP
3956 if test -n "$STRIP"; then
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3958 $as_echo "$STRIP" >&6; }
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3961 $as_echo "no" >&6; }
3966 if test -z "$ac_cv_prog_STRIP"; then
3968 # Extract the first word of "strip", so it can be a program name with args.
3969 set dummy strip
; ac_word
=$2
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3971 $as_echo_n "checking for $ac_word... " >&6; }
3972 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3973 $as_echo_n "(cached) " >&6
3975 if test -n "$ac_ct_STRIP"; then
3976 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3982 test -z "$as_dir" && as_dir
=.
3983 for ac_exec_ext
in '' $ac_executable_extensions; do
3984 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3985 ac_cv_prog_ac_ct_STRIP
="strip"
3986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3995 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3996 if test -n "$ac_ct_STRIP"; then
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3998 $as_echo "$ac_ct_STRIP" >&6; }
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4001 $as_echo "no" >&6; }
4004 if test "x$ac_ct_STRIP" = x
; then
4007 case $cross_compiling:$ac_tool_warned in
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4011 ac_tool_warned
=yes ;;
4016 STRIP
="$ac_cv_prog_STRIP"
4020 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4023 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4024 if test -z "$MKDIR_P"; then
4025 if ${ac_cv_path_mkdir+:} false
; then :
4026 $as_echo_n "(cached) " >&6
4028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4029 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4032 test -z "$as_dir" && as_dir
=.
4033 for ac_prog
in mkdir gmkdir
; do
4034 for ac_exec_ext
in '' $ac_executable_extensions; do
4035 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
4036 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4037 'mkdir (GNU coreutils) '* | \
4038 'mkdir (coreutils) '* | \
4039 'mkdir (fileutils) '4.1*)
4040 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4050 test -d .
/--version && rmdir .
/--version
4051 if test "${ac_cv_path_mkdir+set}" = set; then
4052 MKDIR_P
="$ac_cv_path_mkdir -p"
4054 # As a last resort, use the slow shell script. Don't cache a
4055 # value for MKDIR_P within a source directory, because that will
4056 # break other packages using the cache if that directory is
4057 # removed, or if the value is a relative name.
4058 MKDIR_P
="$ac_install_sh -d"
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4062 $as_echo "$MKDIR_P" >&6; }
4064 for ac_prog
in gawk mawk nawk
awk
4066 # Extract the first word of "$ac_prog", so it can be a program name with args.
4067 set dummy
$ac_prog; ac_word
=$2
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4069 $as_echo_n "checking for $ac_word... " >&6; }
4070 if ${ac_cv_prog_AWK+:} false
; then :
4071 $as_echo_n "(cached) " >&6
4073 if test -n "$AWK"; then
4074 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4080 test -z "$as_dir" && as_dir
=.
4081 for ac_exec_ext
in '' $ac_executable_extensions; do
4082 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4083 ac_cv_prog_AWK
="$ac_prog"
4084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4094 if test -n "$AWK"; then
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4096 $as_echo "$AWK" >&6; }
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4099 $as_echo "no" >&6; }
4103 test -n "$AWK" && break
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4107 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4109 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4110 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4111 $as_echo_n "(cached) " >&6
4113 cat >conftest.
make <<\_ACEOF
4116 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4118 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4119 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4121 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4123 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4127 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4129 $as_echo "yes" >&6; }
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4133 $as_echo "no" >&6; }
4134 SET_MAKE
="MAKE=${MAKE-make}"
4137 rm -rf .tst
2>/dev
/null
4138 mkdir .tst
2>/dev
/null
4139 if test -d .tst
; then
4144 rmdir .tst
2>/dev
/null
4146 DEPDIR
="${am__leading_dot}deps"
4148 ac_config_commands
="$ac_config_commands depfiles"
4151 am_make
=${MAKE-make}
4152 cat > confinc
<< 'END'
4154 @
echo this is the am__doit target
4157 # If we don't find an include directive, just comment out the code.
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4159 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4163 # First try GNU make style include.
4164 echo "include confinc" > confmf
4165 # Ignore all kinds of additional output from 'make'.
4166 case `$am_make -s -f confmf 2> /dev/null` in #(
4167 *the\ am__doit\ target
*)
4173 # Now try BSD make style include.
4174 if test "$am__include" = "#"; then
4175 echo '.include "confinc"' > confmf
4176 case `$am_make -s -f confmf 2> /dev/null` in #(
4177 *the\ am__doit\ target
*)
4178 am__include
=.include
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4187 $as_echo "$_am_result" >&6; }
4188 rm -f confinc confmf
4190 # Check whether --enable-dependency-tracking was given.
4191 if test "${enable_dependency_tracking+set}" = set; then :
4192 enableval
=$enable_dependency_tracking;
4195 if test "x$enable_dependency_tracking" != xno
; then
4196 am_depcomp
="$ac_aux_dir/depcomp"
4200 if test "x$enable_dependency_tracking" != xno; then
4209 # Check whether --enable-silent-rules was given.
4210 if test "${enable_silent_rules+set}" = set; then :
4211 enableval
=$enable_silent_rules;
4214 case $enable_silent_rules in # (((
4215 yes) AM_DEFAULT_VERBOSITY
=0;;
4216 no
) AM_DEFAULT_VERBOSITY
=1;;
4217 *) AM_DEFAULT_VERBOSITY
=1;;
4219 am_make
=${MAKE-make}
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4221 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4222 if ${am_cv_make_support_nested_variables+:} false
; then :
4223 $as_echo_n "(cached) " >&6
4225 if $as_echo 'TRUE=$(BAR$(V))
4231 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4232 am_cv_make_support_nested_variables
=yes
4234 am_cv_make_support_nested_variables
=no
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4238 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4239 if test $am_cv_make_support_nested_variables = yes; then
4241 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4243 AM_V
=$AM_DEFAULT_VERBOSITY
4244 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4248 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4249 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4250 # is not polluted with repeated "-I."
4251 am__isrc
=' -I$(srcdir)'
4252 # test to see if srcdir already configured
4253 if test -f $srcdir/config.status
; then
4254 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4258 # test whether we have cygpath
4259 if test -z "$CYGPATH_W"; then
4260 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4261 CYGPATH_W
='cygpath -w'
4268 # Define the identity of the package.
4273 cat >>confdefs.h
<<_ACEOF
4274 #define PACKAGE "$PACKAGE"
4278 cat >>confdefs.h
<<_ACEOF
4279 #define VERSION "$VERSION"
4282 # Some tools Automake needs.
4284 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4287 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4290 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4293 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4296 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4298 # For better backward compatibility. To be removed once Automake 1.9.x
4299 # dies out for good. For more background, see:
4300 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4301 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4302 mkdir_p
='$(MKDIR_P)'
4304 # We need awk for the "check" target (and possibly the TAP driver). The
4305 # system "awk" is bad on some platforms.
4306 # Always define AMTAR for backward compatibility. Yes, it's still used
4307 # in the wild :-( We should find a proper way to deprecate it ...
4311 # We'll loop over all known methods to create a tar archive until one works.
4312 _am_tools
='gnutar pax cpio none'
4314 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4320 depcc
="$CC" am_compiler_list
=
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4323 $as_echo_n "checking dependency style of $depcc... " >&6; }
4324 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4325 $as_echo_n "(cached) " >&6
4327 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4328 # We make a subdir and do the tests there. Otherwise we can end up
4329 # making bogus files that we don't know about and never remove. For
4330 # instance it was reported that on HP-UX the gcc test will end up
4331 # making a dummy file named 'D' -- because '-MD' means "put the output
4335 # Copy depcomp to subdir because otherwise we won't find it if we're
4336 # using a relative directory.
4337 cp "$am_depcomp" conftest.dir
4339 # We will build objects and dependencies in a subdirectory because
4340 # it helps to detect inapplicable dependency modes. For instance
4341 # both Tru64's cc and ICC support -MD to output dependencies as a
4342 # side effect of compilation, but ICC will put the dependencies in
4343 # the current directory while Tru64 will put them in the object
4347 am_cv_CC_dependencies_compiler_type
=none
4348 if test "$am_compiler_list" = ""; then
4349 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4352 case " $depcc " in #(
4353 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4356 for depmode
in $am_compiler_list; do
4357 # Setup a source with many dependencies, because some compilers
4358 # like to wrap large dependency lists on column 80 (with \), and
4359 # we should not choose a depcomp mode which is confused by this.
4361 # We need to recreate these files for each test, as the compiler may
4362 # overwrite some of them when testing with obscure command lines.
4363 # This happens at least with the AIX C compiler.
4365 for i
in 1 2 3 4 5 6; do
4366 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4367 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4368 # Solaris 10 /bin/sh.
4369 echo '/* dummy */' > sub
/conftst
$i.h
4371 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4373 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4374 # mode. It turns out that the SunPro C++ compiler does not properly
4375 # handle '-M -o', and we need to detect this. Also, some Intel
4376 # versions had trouble with output in subdirs.
4377 am__obj
=sub
/conftest.
${OBJEXT-o}
4378 am__minus_obj
="-o $am__obj"
4381 # This depmode causes a compiler race in universal mode.
4382 test "$am__universal" = false ||
continue
4385 # After this tag, mechanisms are not by side-effect, so they'll
4386 # only be used when explicitly requested.
4387 if test "x$enable_dependency_tracking" = xyes
; then
4393 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4394 # This compiler won't grok '-c -o', but also, the minuso test has
4395 # not run yet. These depmodes are late enough in the game, and
4396 # so weak that their functioning should not be impacted.
4397 am__obj
=conftest.
${OBJEXT-o}
4402 if depmode
=$depmode \
4403 source=sub
/conftest.c object
=$am__obj \
4404 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4405 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4406 >/dev
/null
2>conftest.err
&&
4407 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4408 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4409 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4410 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4411 # icc doesn't choke on unknown options, it will just issue warnings
4412 # or remarks (even with -Werror). So we grep stderr for any message
4413 # that says an option was ignored or not supported.
4414 # When given -MP, icc 7.0 and 7.1 complain thusly:
4415 # icc: Command line warning: ignoring option '-M'; no argument required
4416 # The diagnosis changed in icc 8.0:
4417 # icc: Command line remark: option '-MP' not supported
4418 if (grep 'ignoring option' conftest.err ||
4419 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4420 am_cv_CC_dependencies_compiler_type
=$depmode
4429 am_cv_CC_dependencies_compiler_type
=none
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4434 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4435 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4438 test "x$enable_dependency_tracking" != xno \
4439 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4441 am__fastdepCC_FALSE
='#'
4443 am__fastdepCC_TRUE
='#'
4444 am__fastdepCC_FALSE
=
4449 # POSIX will say in a future version that running "rm -f" with no argument
4450 # is OK; and we want to be able to make that assumption in our Makefile
4451 # recipes. So use an aggressive probe to check that the usage we want is
4452 # actually supported "in the wild" to an acceptable degree.
4453 # See automake bug#10828.
4454 # To make any issue more visible, cause the running configure to be aborted
4455 # by default if the 'rm' program in use doesn't match our expectations; the
4456 # user can still override this though.
4457 if rm -f && rm -fr && rm -rf; then : OK
; else
4461 Your 'rm' program seems unable to run without file operands specified
4462 on the command line, even when the '-f' option is present. This is contrary
4463 to the behaviour of most rm programs out there, and not conforming with
4464 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4466 Please tell bug-automake@gnu.org about your system, including the value
4467 of your $PATH and any error possibly output before this message. This
4468 can help us improve future automake versions.
4471 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4472 echo 'Configuration will proceed anyway, since you have set the' >&2
4473 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4477 Aborting the configuration process, to ensure you take notice of the issue.
4479 You can download and install GNU coreutils to get an 'rm' implementation
4480 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4482 If you want to complete the configuration process using your problematic
4483 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4484 to "yes", and re-run configure.
4487 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4493 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4494 # Check whether --enable-maintainer-mode was given.
4495 if test "${enable_maintainer_mode+set}" = set; then :
4496 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4498 USE_MAINTAINER_MODE
=no
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4502 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4503 if test $USE_MAINTAINER_MODE = yes; then
4504 MAINTAINER_MODE_TRUE
=
4505 MAINTAINER_MODE_FALSE
='#'
4507 MAINTAINER_MODE_TRUE
='#'
4508 MAINTAINER_MODE_FALSE
=
4511 MAINT
=$MAINTAINER_MODE_TRUE
4516 ac_cpp
='$CPP $CPPFLAGS'
4517 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4518 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4519 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4520 if test -n "$ac_tool_prefix"; then
4521 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4522 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4524 $as_echo_n "checking for $ac_word... " >&6; }
4525 if ${ac_cv_prog_CC+:} false
; then :
4526 $as_echo_n "(cached) " >&6
4528 if test -n "$CC"; then
4529 ac_cv_prog_CC
="$CC" # Let the user override the test.
4531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4535 test -z "$as_dir" && as_dir
=.
4536 for ac_exec_ext
in '' $ac_executable_extensions; do
4537 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4538 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4549 if test -n "$CC"; then
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4551 $as_echo "$CC" >&6; }
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4554 $as_echo "no" >&6; }
4559 if test -z "$ac_cv_prog_CC"; then
4561 # Extract the first word of "gcc", so it can be a program name with args.
4562 set dummy gcc
; ac_word
=$2
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4564 $as_echo_n "checking for $ac_word... " >&6; }
4565 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4566 $as_echo_n "(cached) " >&6
4568 if test -n "$ac_ct_CC"; then
4569 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4575 test -z "$as_dir" && as_dir
=.
4576 for ac_exec_ext
in '' $ac_executable_extensions; do
4577 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4578 ac_cv_prog_ac_ct_CC
="gcc"
4579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4588 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4589 if test -n "$ac_ct_CC"; then
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4591 $as_echo "$ac_ct_CC" >&6; }
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4594 $as_echo "no" >&6; }
4597 if test "x$ac_ct_CC" = x
; then
4600 case $cross_compiling:$ac_tool_warned in
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4603 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4604 ac_tool_warned
=yes ;;
4612 if test -z "$CC"; then
4613 if test -n "$ac_tool_prefix"; then
4614 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4615 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4617 $as_echo_n "checking for $ac_word... " >&6; }
4618 if ${ac_cv_prog_CC+:} false
; then :
4619 $as_echo_n "(cached) " >&6
4621 if test -n "$CC"; then
4622 ac_cv_prog_CC
="$CC" # Let the user override the test.
4624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4628 test -z "$as_dir" && as_dir
=.
4629 for ac_exec_ext
in '' $ac_executable_extensions; do
4630 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4631 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4642 if test -n "$CC"; then
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4644 $as_echo "$CC" >&6; }
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4647 $as_echo "no" >&6; }
4653 if test -z "$CC"; then
4654 # Extract the first word of "cc", so it can be a program name with args.
4655 set dummy cc
; ac_word
=$2
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4657 $as_echo_n "checking for $ac_word... " >&6; }
4658 if ${ac_cv_prog_CC+:} false
; then :
4659 $as_echo_n "(cached) " >&6
4661 if test -n "$CC"; then
4662 ac_cv_prog_CC
="$CC" # Let the user override the test.
4665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4669 test -z "$as_dir" && as_dir
=.
4670 for ac_exec_ext
in '' $ac_executable_extensions; do
4671 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4672 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4673 ac_prog_rejected
=yes
4677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4684 if test $ac_prog_rejected = yes; then
4685 # We found a bogon in the path, so make sure we never use it.
4686 set dummy
$ac_cv_prog_CC
4688 if test $# != 0; then
4689 # We chose a different compiler from the bogus one.
4690 # However, it has the same basename, so the bogon will be chosen
4691 # first if we set CC to just the basename; use the full file name.
4693 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4699 if test -n "$CC"; then
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4701 $as_echo "$CC" >&6; }
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4704 $as_echo "no" >&6; }
4709 if test -z "$CC"; then
4710 if test -n "$ac_tool_prefix"; then
4711 for ac_prog
in cl.exe
4713 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4714 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4716 $as_echo_n "checking for $ac_word... " >&6; }
4717 if ${ac_cv_prog_CC+:} false
; then :
4718 $as_echo_n "(cached) " >&6
4720 if test -n "$CC"; then
4721 ac_cv_prog_CC
="$CC" # Let the user override the test.
4723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4727 test -z "$as_dir" && as_dir
=.
4728 for ac_exec_ext
in '' $ac_executable_extensions; do
4729 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4730 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4741 if test -n "$CC"; then
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4743 $as_echo "$CC" >&6; }
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4746 $as_echo "no" >&6; }
4750 test -n "$CC" && break
4753 if test -z "$CC"; then
4755 for ac_prog
in cl.exe
4757 # Extract the first word of "$ac_prog", so it can be a program name with args.
4758 set dummy
$ac_prog; ac_word
=$2
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4760 $as_echo_n "checking for $ac_word... " >&6; }
4761 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4762 $as_echo_n "(cached) " >&6
4764 if test -n "$ac_ct_CC"; then
4765 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4771 test -z "$as_dir" && as_dir
=.
4772 for ac_exec_ext
in '' $ac_executable_extensions; do
4773 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4774 ac_cv_prog_ac_ct_CC
="$ac_prog"
4775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4784 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4785 if test -n "$ac_ct_CC"; then
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4787 $as_echo "$ac_ct_CC" >&6; }
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4790 $as_echo "no" >&6; }
4794 test -n "$ac_ct_CC" && break
4797 if test "x$ac_ct_CC" = x
; then
4800 case $cross_compiling:$ac_tool_warned in
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4803 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4804 ac_tool_warned
=yes ;;
4813 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4814 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4815 as_fn_error $?
"no acceptable C compiler found in \$PATH
4816 See \`config.log' for more details" "$LINENO" 5; }
4818 # Provide some information about the compiler.
4819 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4822 for ac_option
in --version -v -V -qversion; do
4823 { { ac_try
="$ac_compiler $ac_option >&5"
4825 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4826 *) ac_try_echo=$ac_try;;
4828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4829 $as_echo "$ac_try_echo"; } >&5
4830 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4832 if test -s conftest.err; then
4834 ... rest of stderr output deleted ...
4835 10q' conftest.err >conftest.er1
4836 cat conftest.er1 >&5
4838 rm -f conftest.er1 conftest.err
4839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4840 test $ac_status = 0; }
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4844 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4845 if ${ac_cv_c_compiler_gnu+:} false; then :
4846 $as_echo_n "(cached) " >&6
4848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4849 /* end confdefs.h. */
4862 if ac_fn_c_try_compile "$LINENO"; then :
4867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4868 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4872 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4873 if test $ac_compiler_gnu = yes; then
4878 ac_test_CFLAGS=${CFLAGS+set}
4879 ac_save_CFLAGS=$CFLAGS
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4881 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4882 if ${ac_cv_prog_cc_g+:} false; then :
4883 $as_echo_n "(cached) " >&6
4885 ac_save_c_werror_flag=$ac_c_werror_flag
4886 ac_c_werror_flag=yes
4889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4890 /* end confdefs.h. */
4900 if ac_fn_c_try_compile "$LINENO"; then :
4904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4905 /* end confdefs.h. */
4915 if ac_fn_c_try_compile "$LINENO"; then :
4918 ac_c_werror_flag=$ac_save_c_werror_flag
4920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4921 /* end confdefs.h. */
4931 if ac_fn_c_try_compile "$LINENO"; then :
4934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4939 ac_c_werror_flag=$ac_save_c_werror_flag
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4942 $as_echo "$ac_cv_prog_cc_g" >&6; }
4943 if test "$ac_test_CFLAGS" = set; then
4944 CFLAGS=$ac_save_CFLAGS
4945 elif test $ac_cv_prog_cc_g = yes; then
4946 if test "$GCC" = yes; then
4952 if test "$GCC" = yes; then
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4959 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4960 if ${ac_cv_prog_cc_c89+:} false; then :
4961 $as_echo_n "(cached) " >&6
4963 ac_cv_prog_cc_c89=no
4965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4966 /* end confdefs.h. */
4970 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4971 struct buf { int x; };
4972 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4973 static char *e (p, i)
4979 static char *f (char * (*g) (char **, int), char **p, ...)
4984 s = g (p, va_arg (v,int));
4989 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4990 function prototypes and stuff, but not '\xHH' hex character constants.
4991 These don't provoke an error unfortunately, instead are silently treated
4992 as 'x'. The following induces an error, until -std is added to get
4993 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4994 array size at least. It's necessary to write '\x00'==0 to get something
4995 that's true only with -std. */
4996 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4998 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4999 inside strings and character constants. */
5001 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5003 int test (int i, double x);
5004 struct s1 {int (*f) (int a);};
5005 struct s2 {int (*f) (double a);};
5006 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5012 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5017 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5018 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5020 CC="$ac_save_CC $ac_arg"
5021 if ac_fn_c_try_compile "$LINENO"; then :
5022 ac_cv_prog_cc_c89=$ac_arg
5024 rm -f core conftest.err conftest.$ac_objext
5025 test "x$ac_cv_prog_cc_c89" != "xno" && break
5027 rm -f conftest.$ac_ext
5032 case "x$ac_cv_prog_cc_c89" in
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5035 $as_echo "none needed" >&6; } ;;
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5038 $as_echo "unsupported" >&6; } ;;
5040 CC="$CC $ac_cv_prog_cc_c89"
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5042 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5044 if test "x$ac_cv_prog_cc_c89" != xno; then :
5049 ac_cpp='$CPP $CPPFLAGS'
5050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5055 ac_cpp='$CPP $CPPFLAGS'
5056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5060 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5061 if ${am_cv_prog_cc_c_o+:} false; then :
5062 $as_echo_n "(cached) " >&6
5064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5065 /* end confdefs.h. */
5075 # Make sure it works both with $CC and with simple cc.
5076 # Following AC_PROG_CC_C_O, we do the test twice because some
5077 # compilers refuse to overwrite an existing .o file with -o,
5078 # though they will create one.
5079 am_cv_prog_cc_c_o=yes
5081 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5082 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5085 (exit $ac_status); } \
5086 && test -f conftest2.$ac_objext; then
5089 am_cv_prog_cc_c_o=no
5093 rm -f core conftest*
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5097 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5098 if test "$am_cv_prog_cc_c_o" != yes; then
5099 # Losing compiler, so override with the script.
5100 # FIXME: It is wrong to rewrite CC.
5101 # But if we don't then we get into trouble of one sort or another.
5102 # A longer-term fix would be to have automake use am__CC in this case,
5103 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5104 CC="$am_aux_dir/compile $CC"
5107 ac_cpp='$CPP $CPPFLAGS'
5108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5114 ac_cpp='$CXXCPP $CPPFLAGS'
5115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5118 if test -z "$CXX"; then
5119 if test -n "$CCC"; then
5122 if test -n "$ac_tool_prefix"; then
5123 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5125 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5126 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5128 $as_echo_n "checking for $ac_word... " >&6; }
5129 if ${ac_cv_prog_CXX+:} false; then :
5130 $as_echo_n "(cached) " >&6
5132 if test -n "$CXX"; then
5133 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5139 test -z "$as_dir" && as_dir=.
5140 for ac_exec_ext in '' $ac_executable_extensions; do
5141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5142 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5153 if test -n "$CXX"; then
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5155 $as_echo "$CXX" >&6; }
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5158 $as_echo "no" >&6; }
5162 test -n "$CXX" && break
5165 if test -z "$CXX"; then
5167 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5169 # Extract the first word of "$ac_prog", so it can be a program name with args.
5170 set dummy $ac_prog; ac_word=$2
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5172 $as_echo_n "checking for $ac_word... " >&6; }
5173 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5174 $as_echo_n "(cached) " >&6
5176 if test -n "$ac_ct_CXX"; then
5177 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5183 test -z "$as_dir" && as_dir=.
5184 for ac_exec_ext in '' $ac_executable_extensions; do
5185 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5186 ac_cv_prog_ac_ct_CXX="$ac_prog"
5187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5196 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5197 if test -n "$ac_ct_CXX"; then
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5199 $as_echo "$ac_ct_CXX" >&6; }
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5202 $as_echo "no" >&6; }
5206 test -n "$ac_ct_CXX" && break
5209 if test "x$ac_ct_CXX" = x; then
5212 case $cross_compiling:$ac_tool_warned in
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5216 ac_tool_warned=yes ;;
5224 # Provide some information about the compiler.
5225 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5228 for ac_option in --version -v -V -qversion; do
5229 { { ac_try="$ac_compiler $ac_option >&5"
5231 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5232 *) ac_try_echo
=$ac_try;;
5234 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5235 $as_echo "$ac_try_echo"; } >&5
5236 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5238 if test -s conftest.err
; then
5240 ... rest of stderr output deleted ...
5241 10q' conftest.err
>conftest.er1
5242 cat conftest.er1
>&5
5244 rm -f conftest.er1 conftest.err
5245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5246 test $ac_status = 0; }
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5250 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5251 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5252 $as_echo_n "(cached) " >&6
5254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5255 /* end confdefs.h. */
5268 if ac_fn_cxx_try_compile
"$LINENO"; then :
5273 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5274 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5278 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5279 if test $ac_compiler_gnu = yes; then
5284 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5285 ac_save_CXXFLAGS
=$CXXFLAGS
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5287 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5288 if ${ac_cv_prog_cxx_g+:} false
; then :
5289 $as_echo_n "(cached) " >&6
5291 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5292 ac_cxx_werror_flag
=yes
5295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5296 /* end confdefs.h. */
5306 if ac_fn_cxx_try_compile
"$LINENO"; then :
5307 ac_cv_prog_cxx_g
=yes
5310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5311 /* end confdefs.h. */
5321 if ac_fn_cxx_try_compile
"$LINENO"; then :
5324 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5327 /* end confdefs.h. */
5337 if ac_fn_cxx_try_compile
"$LINENO"; then :
5338 ac_cv_prog_cxx_g
=yes
5340 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5342 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5344 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5345 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5348 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5349 if test "$ac_test_CXXFLAGS" = set; then
5350 CXXFLAGS
=$ac_save_CXXFLAGS
5351 elif test $ac_cv_prog_cxx_g = yes; then
5352 if test "$GXX" = yes; then
5358 if test "$GXX" = yes; then
5365 ac_cpp
='$CPP $CPPFLAGS'
5366 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5367 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5368 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5370 depcc
="$CXX" am_compiler_list
=
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5373 $as_echo_n "checking dependency style of $depcc... " >&6; }
5374 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
5375 $as_echo_n "(cached) " >&6
5377 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5378 # We make a subdir and do the tests there. Otherwise we can end up
5379 # making bogus files that we don't know about and never remove. For
5380 # instance it was reported that on HP-UX the gcc test will end up
5381 # making a dummy file named 'D' -- because '-MD' means "put the output
5385 # Copy depcomp to subdir because otherwise we won't find it if we're
5386 # using a relative directory.
5387 cp "$am_depcomp" conftest.dir
5389 # We will build objects and dependencies in a subdirectory because
5390 # it helps to detect inapplicable dependency modes. For instance
5391 # both Tru64's cc and ICC support -MD to output dependencies as a
5392 # side effect of compilation, but ICC will put the dependencies in
5393 # the current directory while Tru64 will put them in the object
5397 am_cv_CXX_dependencies_compiler_type
=none
5398 if test "$am_compiler_list" = ""; then
5399 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5402 case " $depcc " in #(
5403 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5406 for depmode
in $am_compiler_list; do
5407 # Setup a source with many dependencies, because some compilers
5408 # like to wrap large dependency lists on column 80 (with \), and
5409 # we should not choose a depcomp mode which is confused by this.
5411 # We need to recreate these files for each test, as the compiler may
5412 # overwrite some of them when testing with obscure command lines.
5413 # This happens at least with the AIX C compiler.
5415 for i
in 1 2 3 4 5 6; do
5416 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5417 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5418 # Solaris 10 /bin/sh.
5419 echo '/* dummy */' > sub
/conftst
$i.h
5421 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5423 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5424 # mode. It turns out that the SunPro C++ compiler does not properly
5425 # handle '-M -o', and we need to detect this. Also, some Intel
5426 # versions had trouble with output in subdirs.
5427 am__obj
=sub
/conftest.
${OBJEXT-o}
5428 am__minus_obj
="-o $am__obj"
5431 # This depmode causes a compiler race in universal mode.
5432 test "$am__universal" = false ||
continue
5435 # After this tag, mechanisms are not by side-effect, so they'll
5436 # only be used when explicitly requested.
5437 if test "x$enable_dependency_tracking" = xyes
; then
5443 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5444 # This compiler won't grok '-c -o', but also, the minuso test has
5445 # not run yet. These depmodes are late enough in the game, and
5446 # so weak that their functioning should not be impacted.
5447 am__obj
=conftest.
${OBJEXT-o}
5452 if depmode
=$depmode \
5453 source=sub
/conftest.c object
=$am__obj \
5454 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5455 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5456 >/dev
/null
2>conftest.err
&&
5457 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5458 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5459 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5460 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5461 # icc doesn't choke on unknown options, it will just issue warnings
5462 # or remarks (even with -Werror). So we grep stderr for any message
5463 # that says an option was ignored or not supported.
5464 # When given -MP, icc 7.0 and 7.1 complain thusly:
5465 # icc: Command line warning: ignoring option '-M'; no argument required
5466 # The diagnosis changed in icc 8.0:
5467 # icc: Command line remark: option '-MP' not supported
5468 if (grep 'ignoring option' conftest.err ||
5469 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5470 am_cv_CXX_dependencies_compiler_type
=$depmode
5479 am_cv_CXX_dependencies_compiler_type
=none
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5484 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5485 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5488 test "x$enable_dependency_tracking" != xno \
5489 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5490 am__fastdepCXX_TRUE
=
5491 am__fastdepCXX_FALSE
='#'
5493 am__fastdepCXX_TRUE
='#'
5494 am__fastdepCXX_FALSE
=
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5499 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5500 if ${ac_cv_path_GREP+:} false
; then :
5501 $as_echo_n "(cached) " >&6
5503 if test -z "$GREP"; then
5504 ac_path_GREP_found
=false
5505 # Loop through the user's path and test for each of PROGNAME-LIST
5506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5507 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5510 test -z "$as_dir" && as_dir
=.
5511 for ac_prog
in grep ggrep
; do
5512 for ac_exec_ext
in '' $ac_executable_extensions; do
5513 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5514 as_fn_executable_p
"$ac_path_GREP" ||
continue
5515 # Check for GNU ac_path_GREP and select it if it is found.
5516 # Check for GNU $ac_path_GREP
5517 case `"$ac_path_GREP" --version 2>&1` in
5519 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5522 $as_echo_n 0123456789 >"conftest.in"
5525 cat "conftest.in" "conftest.in" >"conftest.tmp"
5526 mv "conftest.tmp" "conftest.in"
5527 cp "conftest.in" "conftest.nl"
5528 $as_echo 'GREP' >> "conftest.nl"
5529 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5530 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5531 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5532 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5533 # Best one so far, save it but keep looking for a better one
5534 ac_cv_path_GREP
="$ac_path_GREP"
5535 ac_path_GREP_max
=$ac_count
5537 # 10*(2^10) chars as input seems more than enough
5538 test $ac_count -gt 10 && break
5540 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5543 $ac_path_GREP_found && break 3
5548 if test -z "$ac_cv_path_GREP"; then
5549 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5552 ac_cv_path_GREP
=$GREP
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5557 $as_echo "$ac_cv_path_GREP" >&6; }
5558 GREP
="$ac_cv_path_GREP"
5562 ac_cpp
='$CPP $CPPFLAGS'
5563 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5564 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5565 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5567 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5568 # On Suns, sometimes $CPP names a directory.
5569 if test -n "$CPP" && test -d "$CPP"; then
5572 if test -z "$CPP"; then
5573 if ${ac_cv_prog_CPP+:} false
; then :
5574 $as_echo_n "(cached) " >&6
5576 # Double quotes because CPP needs to be expanded
5577 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5580 for ac_c_preproc_warn_flag
in '' yes
5582 # Use a header file that comes with gcc, so configuring glibc
5583 # with a fresh cross-compiler works.
5584 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5585 # <limits.h> exists even on freestanding compilers.
5586 # On the NeXT, cc -E runs the code through the compiler's parser,
5587 # not just through cpp. "Syntax error" is here to catch this case.
5588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5589 /* end confdefs.h. */
5591 # include <limits.h>
5593 # include <assert.h>
5597 if ac_fn_c_try_cpp
"$LINENO"; then :
5600 # Broken: fails on valid input.
5603 rm -f conftest.err conftest.i conftest.
$ac_ext
5605 # OK, works on sane cases. Now check whether nonexistent headers
5606 # can be detected and how.
5607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5608 /* end confdefs.h. */
5609 #include <ac_nonexistent.h>
5611 if ac_fn_c_try_cpp
"$LINENO"; then :
5612 # Broken: success on invalid input.
5615 # Passes both tests.
5619 rm -f conftest.err conftest.i conftest.
$ac_ext
5622 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5623 rm -f conftest.i conftest.err conftest.
$ac_ext
5624 if $ac_preproc_ok; then :
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5637 $as_echo "$CPP" >&6; }
5639 for ac_c_preproc_warn_flag
in '' yes
5641 # Use a header file that comes with gcc, so configuring glibc
5642 # with a fresh cross-compiler works.
5643 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5644 # <limits.h> exists even on freestanding compilers.
5645 # On the NeXT, cc -E runs the code through the compiler's parser,
5646 # not just through cpp. "Syntax error" is here to catch this case.
5647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5648 /* end confdefs.h. */
5650 # include <limits.h>
5652 # include <assert.h>
5656 if ac_fn_c_try_cpp
"$LINENO"; then :
5659 # Broken: fails on valid input.
5662 rm -f conftest.err conftest.i conftest.
$ac_ext
5664 # OK, works on sane cases. Now check whether nonexistent headers
5665 # can be detected and how.
5666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5667 /* end confdefs.h. */
5668 #include <ac_nonexistent.h>
5670 if ac_fn_c_try_cpp
"$LINENO"; then :
5671 # Broken: success on invalid input.
5674 # Passes both tests.
5678 rm -f conftest.err conftest.i conftest.
$ac_ext
5681 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5682 rm -f conftest.i conftest.err conftest.
$ac_ext
5683 if $ac_preproc_ok; then :
5686 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5687 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5688 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5689 See \`config.log' for more details" "$LINENO" 5; }
5693 ac_cpp
='$CPP $CPPFLAGS'
5694 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5695 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5696 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5700 $as_echo_n "checking for egrep... " >&6; }
5701 if ${ac_cv_path_EGREP+:} false
; then :
5702 $as_echo_n "(cached) " >&6
5704 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5705 then ac_cv_path_EGREP
="$GREP -E"
5707 if test -z "$EGREP"; then
5708 ac_path_EGREP_found
=false
5709 # Loop through the user's path and test for each of PROGNAME-LIST
5710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5711 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5714 test -z "$as_dir" && as_dir
=.
5715 for ac_prog
in egrep; do
5716 for ac_exec_ext
in '' $ac_executable_extensions; do
5717 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5718 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5719 # Check for GNU ac_path_EGREP and select it if it is found.
5720 # Check for GNU $ac_path_EGREP
5721 case `"$ac_path_EGREP" --version 2>&1` in
5723 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5726 $as_echo_n 0123456789 >"conftest.in"
5729 cat "conftest.in" "conftest.in" >"conftest.tmp"
5730 mv "conftest.tmp" "conftest.in"
5731 cp "conftest.in" "conftest.nl"
5732 $as_echo 'EGREP' >> "conftest.nl"
5733 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5734 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5735 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5736 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5737 # Best one so far, save it but keep looking for a better one
5738 ac_cv_path_EGREP
="$ac_path_EGREP"
5739 ac_path_EGREP_max
=$ac_count
5741 # 10*(2^10) chars as input seems more than enough
5742 test $ac_count -gt 10 && break
5744 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5747 $ac_path_EGREP_found && break 3
5752 if test -z "$ac_cv_path_EGREP"; then
5753 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5756 ac_cv_path_EGREP
=$EGREP
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5762 $as_echo "$ac_cv_path_EGREP" >&6; }
5763 EGREP
="$ac_cv_path_EGREP"
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5767 $as_echo_n "checking for ANSI C header files... " >&6; }
5768 if ${ac_cv_header_stdc+:} false
; then :
5769 $as_echo_n "(cached) " >&6
5771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5772 /* end confdefs.h. */
5786 if ac_fn_c_try_compile
"$LINENO"; then :
5787 ac_cv_header_stdc
=yes
5789 ac_cv_header_stdc
=no
5791 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5793 if test $ac_cv_header_stdc = yes; then
5794 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5796 /* end confdefs.h. */
5800 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5801 $EGREP "memchr" >/dev
/null
2>&1; then :
5804 ac_cv_header_stdc
=no
5810 if test $ac_cv_header_stdc = yes; then
5811 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5813 /* end confdefs.h. */
5817 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5818 $EGREP "free" >/dev
/null
2>&1; then :
5821 ac_cv_header_stdc
=no
5827 if test $ac_cv_header_stdc = yes; then
5828 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5829 if test "$cross_compiling" = yes; then :
5832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5833 /* end confdefs.h. */
5836 #if ((' ' & 0x0FF) == 0x020)
5837 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5838 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5840 # define ISLOWER(c) \
5841 (('a' <= (c) && (c) <= 'i') \
5842 || ('j' <= (c) && (c) <= 'r') \
5843 || ('s' <= (c) && (c) <= 'z'))
5844 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5847 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5852 for (i = 0; i < 256; i++)
5853 if (XOR (islower (i), ISLOWER (i))
5854 || toupper (i) != TOUPPER (i))
5859 if ac_fn_c_try_run
"$LINENO"; then :
5862 ac_cv_header_stdc
=no
5864 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5865 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5871 $as_echo "$ac_cv_header_stdc" >&6; }
5872 if test $ac_cv_header_stdc = yes; then
5874 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5878 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5879 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5880 inttypes.h stdint.h unistd.h
5882 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5883 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5885 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5886 cat >>confdefs.h
<<_ACEOF
5887 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5896 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5897 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
5904 if test "$MINIX" = yes; then
5906 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5909 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5912 $as_echo "#define _MINIX 1" >>confdefs.h
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5918 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5919 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
5920 $as_echo_n "(cached) " >&6
5922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5923 /* end confdefs.h. */
5925 # define __EXTENSIONS__ 1
5926 $ac_includes_default
5935 if ac_fn_c_try_compile
"$LINENO"; then :
5936 ac_cv_safe_to_define___extensions__
=yes
5938 ac_cv_safe_to_define___extensions__
=no
5940 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5943 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5944 test $ac_cv_safe_to_define___extensions__ = yes &&
5945 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5947 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5949 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5951 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5953 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5963 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5968 macro_version
='2.2.7a'
5969 macro_revision
='1.3134'
5983 ltmain
="$ac_aux_dir/ltmain.sh"
5985 # Backslashify metacharacters that are still active within
5986 # double-quoted strings.
5987 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5989 # Same as above, but do not quote variable references.
5990 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5992 # Sed substitution to delay expansion of an escaped shell variable in a
5993 # double_quote_subst'ed string.
5994 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5996 # Sed substitution to delay expansion of an escaped single quote.
5997 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5999 # Sed substitution to avoid accidental globbing in evaled expressions
6000 no_glob_subst
='s/\*/\\\*/g'
6002 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6003 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6004 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6007 $as_echo_n "checking how to print strings... " >&6; }
6008 # Test print first, because it will be a builtin if present.
6009 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6010 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6012 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6015 # Use this function as a fallback that always works.
6016 func_fallback_echo ()
6018 eval 'cat <<_LTECHO_EOF
6022 ECHO='func_fallback_echo
'
6025 # func_echo_all arg...
6026 # Invoke $ECHO with all args, space-separated.
6033 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6034 $as_echo "printf" >&6; } ;;
6035 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6036 $as_echo "print -r" >&6; } ;;
6037 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6038 $as_echo "cat" >&6; } ;;
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6055 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6056 if ${ac_cv_path_SED+:} false; then :
6057 $as_echo_n "(cached) " >&6
6059 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6060 for ac_i in 1 2 3 4 5 6 7; do
6061 ac_script="$ac_script$as_nl$ac_script"
6063 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6064 { ac_script=; unset ac_script;}
6065 if test -z "$SED"; then
6066 ac_path_SED_found=false
6067 # Loop through the user's path and
test for each of PROGNAME-LIST
6068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6072 test -z "$as_dir" && as_dir
=.
6073 for ac_prog
in sed gsed
; do
6074 for ac_exec_ext
in '' $ac_executable_extensions; do
6075 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6076 as_fn_executable_p
"$ac_path_SED" ||
continue
6077 # Check for GNU ac_path_SED and select it if it is found.
6078 # Check for GNU $ac_path_SED
6079 case `"$ac_path_SED" --version 2>&1` in
6081 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6084 $as_echo_n 0123456789 >"conftest.in"
6087 cat "conftest.in" "conftest.in" >"conftest.tmp"
6088 mv "conftest.tmp" "conftest.in"
6089 cp "conftest.in" "conftest.nl"
6090 $as_echo '' >> "conftest.nl"
6091 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6092 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6093 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6094 if test $ac_count -gt ${ac_path_SED_max-0}; then
6095 # Best one so far, save it but keep looking for a better one
6096 ac_cv_path_SED
="$ac_path_SED"
6097 ac_path_SED_max
=$ac_count
6099 # 10*(2^10) chars as input seems more than enough
6100 test $ac_count -gt 10 && break
6102 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6105 $ac_path_SED_found && break 3
6110 if test -z "$ac_cv_path_SED"; then
6111 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6119 $as_echo "$ac_cv_path_SED" >&6; }
6120 SED
="$ac_cv_path_SED"
6123 test -z "$SED" && SED
=sed
6124 Xsed
="$SED -e 1s/^X//"
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6137 $as_echo_n "checking for fgrep... " >&6; }
6138 if ${ac_cv_path_FGREP+:} false
; then :
6139 $as_echo_n "(cached) " >&6
6141 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6142 then ac_cv_path_FGREP
="$GREP -F"
6144 if test -z "$FGREP"; then
6145 ac_path_FGREP_found
=false
6146 # Loop through the user's path and test for each of PROGNAME-LIST
6147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6148 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6151 test -z "$as_dir" && as_dir
=.
6152 for ac_prog
in fgrep
; do
6153 for ac_exec_ext
in '' $ac_executable_extensions; do
6154 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6155 as_fn_executable_p
"$ac_path_FGREP" ||
continue
6156 # Check for GNU ac_path_FGREP and select it if it is found.
6157 # Check for GNU $ac_path_FGREP
6158 case `"$ac_path_FGREP" --version 2>&1` in
6160 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6163 $as_echo_n 0123456789 >"conftest.in"
6166 cat "conftest.in" "conftest.in" >"conftest.tmp"
6167 mv "conftest.tmp" "conftest.in"
6168 cp "conftest.in" "conftest.nl"
6169 $as_echo 'FGREP' >> "conftest.nl"
6170 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6171 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6172 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6173 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6174 # Best one so far, save it but keep looking for a better one
6175 ac_cv_path_FGREP
="$ac_path_FGREP"
6176 ac_path_FGREP_max
=$ac_count
6178 # 10*(2^10) chars as input seems more than enough
6179 test $ac_count -gt 10 && break
6181 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6184 $ac_path_FGREP_found && break 3
6189 if test -z "$ac_cv_path_FGREP"; then
6190 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6193 ac_cv_path_FGREP
=$FGREP
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6199 $as_echo "$ac_cv_path_FGREP" >&6; }
6200 FGREP
="$ac_cv_path_FGREP"
6203 test -z "$GREP" && GREP
=grep
6223 # Check whether --with-gnu-ld was given.
6224 if test "${with_gnu_ld+set}" = set; then :
6225 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6231 if test "$GCC" = yes; then
6232 # Check if gcc -print-prog-name=ld gives a path.
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6234 $as_echo_n "checking for ld used by $CC... " >&6; }
6237 # gcc leaves a trailing carriage return which upsets mingw
6238 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6240 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6243 # Accept absolute paths.
6245 re_direlt
='/[^/][^/]*/\.\./'
6246 # Canonicalize the pathname of ld
6247 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6248 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6249 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6251 test -z "$LD" && LD
="$ac_prog"
6254 # If it fails, then pretend we aren't using GCC.
6258 # If it is relative, then search for the first ld in PATH.
6262 elif test "$with_gnu_ld" = yes; then
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6264 $as_echo_n "checking for GNU ld... " >&6; }
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6267 $as_echo_n "checking for non-GNU ld... " >&6; }
6269 if ${lt_cv_path_LD+:} false
; then :
6270 $as_echo_n "(cached) " >&6
6272 if test -z "$LD"; then
6273 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6274 for ac_dir
in $PATH; do
6276 test -z "$ac_dir" && ac_dir
=.
6277 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6278 lt_cv_path_LD
="$ac_dir/$ac_prog"
6279 # Check to see if the program is GNU ld. I'd rather use --version,
6280 # but apparently some variants of GNU ld only accept -v.
6281 # Break only if it was the GNU/non-GNU ld that we prefer.
6282 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6283 *GNU
* |
*'with BFD'*)
6284 test "$with_gnu_ld" != no
&& break
6287 test "$with_gnu_ld" != yes && break
6294 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6299 if test -n "$LD"; then
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6301 $as_echo "$LD" >&6; }
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6304 $as_echo "no" >&6; }
6306 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6308 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6309 if ${lt_cv_prog_gnu_ld+:} false
; then :
6310 $as_echo_n "(cached) " >&6
6312 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6313 case `$LD -v 2>&1 </dev/null` in
6314 *GNU
* |
*'with BFD'*)
6315 lt_cv_prog_gnu_ld
=yes
6318 lt_cv_prog_gnu_ld
=no
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6323 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6324 with_gnu_ld
=$lt_cv_prog_gnu_ld
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6335 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6336 if ${lt_cv_path_NM+:} false
; then :
6337 $as_echo_n "(cached) " >&6
6339 if test -n "$NM"; then
6340 # Let the user override the test.
6343 lt_nm_to_check
="${ac_tool_prefix}nm"
6344 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6345 lt_nm_to_check
="$lt_nm_to_check nm"
6347 for lt_tmp_nm
in $lt_nm_to_check; do
6348 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6349 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6351 test -z "$ac_dir" && ac_dir
=.
6352 tmp_nm
="$ac_dir/$lt_tmp_nm"
6353 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
6354 # Check to see if the nm accepts a BSD-compat flag.
6355 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6356 # nm: unknown option "B" ignored
6357 # Tru64's nm complains that /dev/null is an invalid object file
6358 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6359 */dev
/null
* |
*'Invalid file or object type'*)
6360 lt_cv_path_NM
="$tmp_nm -B"
6364 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6366 lt_cv_path_NM
="$tmp_nm -p"
6370 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6371 continue # so that we can try to find one that supports BSD flags
6380 : ${lt_cv_path_NM=no}
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6384 $as_echo "$lt_cv_path_NM" >&6; }
6385 if test "$lt_cv_path_NM" != "no"; then
6388 # Didn't find any BSD compatible name lister, look for dumpbin.
6389 if test -n "$DUMPBIN"; then :
6390 # Let the user override the test.
6392 if test -n "$ac_tool_prefix"; then
6393 for ac_prog
in dumpbin
"link -dump"
6395 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6396 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6398 $as_echo_n "checking for $ac_word... " >&6; }
6399 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6400 $as_echo_n "(cached) " >&6
6402 if test -n "$DUMPBIN"; then
6403 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6409 test -z "$as_dir" && as_dir
=.
6410 for ac_exec_ext
in '' $ac_executable_extensions; do
6411 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6412 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6422 DUMPBIN
=$ac_cv_prog_DUMPBIN
6423 if test -n "$DUMPBIN"; then
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6425 $as_echo "$DUMPBIN" >&6; }
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6428 $as_echo "no" >&6; }
6432 test -n "$DUMPBIN" && break
6435 if test -z "$DUMPBIN"; then
6436 ac_ct_DUMPBIN
=$DUMPBIN
6437 for ac_prog
in dumpbin
"link -dump"
6439 # Extract the first word of "$ac_prog", so it can be a program name with args.
6440 set dummy
$ac_prog; ac_word
=$2
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6442 $as_echo_n "checking for $ac_word... " >&6; }
6443 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6444 $as_echo_n "(cached) " >&6
6446 if test -n "$ac_ct_DUMPBIN"; then
6447 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6453 test -z "$as_dir" && as_dir
=.
6454 for ac_exec_ext
in '' $ac_executable_extensions; do
6455 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6456 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6466 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6467 if test -n "$ac_ct_DUMPBIN"; then
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6469 $as_echo "$ac_ct_DUMPBIN" >&6; }
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6472 $as_echo "no" >&6; }
6476 test -n "$ac_ct_DUMPBIN" && break
6479 if test "x$ac_ct_DUMPBIN" = x
; then
6482 case $cross_compiling:$ac_tool_warned in
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6485 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6486 ac_tool_warned
=yes ;;
6488 DUMPBIN
=$ac_ct_DUMPBIN
6492 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6494 DUMPBIN
="$DUMPBIN -symbols"
6502 if test "$DUMPBIN" != ":"; then
6506 test -z "$NM" && NM
=nm
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6514 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6515 if ${lt_cv_nm_interface+:} false
; then :
6516 $as_echo_n "(cached) " >&6
6518 lt_cv_nm_interface
="BSD nm"
6519 echo "int some_variable = 0;" > conftest.
$ac_ext
6520 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6521 (eval "$ac_compile" 2>conftest.err
)
6522 cat conftest.err
>&5
6523 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6524 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6525 cat conftest.err
>&5
6526 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6527 cat conftest.out
>&5
6528 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6529 lt_cv_nm_interface
="MS dumpbin"
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6534 $as_echo "$lt_cv_nm_interface" >&6; }
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6537 $as_echo_n "checking whether ln -s works... " >&6; }
6539 if test "$LN_S" = "ln -s"; then
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6541 $as_echo "yes" >&6; }
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6544 $as_echo "no, using $LN_S" >&6; }
6547 # find the maximum length of command line arguments
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6549 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6550 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6551 $as_echo_n "(cached) " >&6
6558 # On DJGPP, this test can blow up pretty badly due to problems in libc
6559 # (any single argument exceeding 2000 bytes causes a buffer overrun
6560 # during glob expansion). Even if it were fixed, the result of this
6561 # check would be larger than it should be.
6562 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6566 # Under GNU Hurd, this test is not required because there is
6567 # no limit to the length of command line arguments.
6568 # Libtool will interpret -1 as no limit whatsoever
6569 lt_cv_sys_max_cmd_len
=-1;
6572 cygwin
* | mingw
* | cegcc
*)
6573 # On Win9x/ME, this test blows up -- it succeeds, but takes
6574 # about 5 minutes as the teststring grows exponentially.
6575 # Worse, since 9x/ME are not pre-emptively multitasking,
6576 # you end up with a "frozen" computer, even though with patience
6577 # the test eventually succeeds (with a max line length of 256k).
6578 # Instead, let's just punt: use the minimum linelength reported by
6579 # all of the supported platforms: 8192 (on NT/2K/XP).
6580 lt_cv_sys_max_cmd_len
=8192;
6584 # On MiNT this can take a long time and run out of memory.
6585 lt_cv_sys_max_cmd_len
=8192;
6589 # On AmigaOS with pdksh, this test takes hours, literally.
6590 # So we just punt and use a minimum line length of 8192.
6591 lt_cv_sys_max_cmd_len
=8192;
6594 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6595 # This has been around since 386BSD, at least. Likely further.
6596 if test -x /sbin
/sysctl
; then
6597 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6598 elif test -x /usr
/sbin
/sysctl
; then
6599 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6601 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6603 # And add a safety zone
6604 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6605 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6609 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6610 lt_cv_sys_max_cmd_len
=196608
6614 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6615 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6616 # nice to cause kernel panics so lets avoid the loop below.
6617 # First set a reasonable default.
6618 lt_cv_sys_max_cmd_len
=16384
6620 if test -x /sbin
/sysconfig
; then
6621 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6622 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6627 lt_cv_sys_max_cmd_len
=102400
6629 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6630 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6631 if test -n "$kargmax"; then
6632 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6634 lt_cv_sys_max_cmd_len
=32768
6638 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6639 if test -n "$lt_cv_sys_max_cmd_len"; then
6640 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6641 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6643 # Make teststring a little bigger before we do anything with it.
6644 # a 1K string should be a reasonable start.
6645 for i
in 1 2 3 4 5 6 7 8 ; do
6646 teststring
=$teststring$teststring
6648 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6649 # If test is not a shell built-in, we'll probably end up computing a
6650 # maximum length that is only half of the actual maximum length, but
6652 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6653 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6654 test $i != 17 # 1/2 MB should be enough
6657 teststring
=$teststring$teststring
6659 # Only check the string length outside the loop.
6660 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6662 # Add a significant safety factor because C++ compilers can tack on
6663 # massive amounts of additional arguments before passing them to the
6664 # linker. It appears as though 1/2 is a usable value.
6665 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6672 if test -n $lt_cv_sys_max_cmd_len ; then
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6674 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6677 $as_echo "none" >&6; }
6679 max_cmd_len
=$lt_cv_sys_max_cmd_len
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6691 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6692 # Try some XSI features
6695 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6697 && eval 'test $(( 1 + 1 )) -eq 2 \
6698 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6701 $as_echo "$xsi_shell" >&6; }
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6705 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6707 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6709 && lt_shell_append=yes
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6711 $as_echo "$lt_shell_append" >&6; }
6714 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6724 # test EBCDIC or ASCII
6725 case `echo X|tr X '\101'` in
6726 A) # ASCII based system
6727 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6728 lt_SP2NL='tr \040 \012'
6729 lt_NL2SP='tr \015\012 \040\040'
6731 *) # EBCDIC based system
6732 lt_SP2NL='tr \100 \n'
6733 lt_NL2SP='tr \r\n \100\100'
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6746 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6747 if ${lt_cv_ld_reload_flag+:} false; then :
6748 $as_echo_n "(cached
) " >&6
6750 lt_cv_ld_reload_flag='-r'
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6753 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6754 reload_flag=$lt_cv_ld_reload_flag
6755 case $reload_flag in
6757 *) reload_flag=" $reload_flag" ;;
6759 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6762 if test "$GCC" = yes; then
6763 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6765 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6778 if test -n "$ac_tool_prefix"; then
6779 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6780 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6782 $as_echo_n "checking
for $ac_word...
" >&6; }
6783 if ${ac_cv_prog_OBJDUMP+:} false; then :
6784 $as_echo_n "(cached
) " >&6
6786 if test -n "$OBJDUMP"; then
6787 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6793 test -z "$as_dir" && as_dir=.
6794 for ac_exec_ext in '' $ac_executable_extensions; do
6795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6796 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6797 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6806 OBJDUMP=$ac_cv_prog_OBJDUMP
6807 if test -n "$OBJDUMP"; then
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6809 $as_echo "$OBJDUMP" >&6; }
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6812 $as_echo "no
" >&6; }
6817 if test -z "$ac_cv_prog_OBJDUMP"; then
6818 ac_ct_OBJDUMP=$OBJDUMP
6819 # Extract the first word of "objdump
", so it can be a program name with args.
6820 set dummy objdump; ac_word=$2
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6822 $as_echo_n "checking
for $ac_word...
" >&6; }
6823 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6824 $as_echo_n "(cached
) " >&6
6826 if test -n "$ac_ct_OBJDUMP"; then
6827 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6833 test -z "$as_dir" && as_dir=.
6834 for ac_exec_ext in '' $ac_executable_extensions; do
6835 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6836 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6837 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6846 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6847 if test -n "$ac_ct_OBJDUMP"; then
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6849 $as_echo "$ac_ct_OBJDUMP" >&6; }
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6852 $as_echo "no
" >&6; }
6855 if test "x
$ac_ct_OBJDUMP" = x; then
6858 case $cross_compiling:$ac_tool_warned in
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6861 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6862 ac_tool_warned=yes ;;
6864 OBJDUMP=$ac_ct_OBJDUMP
6867 OBJDUMP="$ac_cv_prog_OBJDUMP"
6870 test -z "$OBJDUMP" && OBJDUMP=objdump
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6881 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6882 if ${lt_cv_deplibs_check_method+:} false; then :
6883 $as_echo_n "(cached
) " >&6
6885 lt_cv_file_magic_cmd='$MAGIC_CMD'
6886 lt_cv_file_magic_test_file=
6887 lt_cv_deplibs_check_method='unknown'
6888 # Need to set the preceding variable on all platforms that support
6889 # interlibrary dependencies.
6890 # 'none' -- dependencies not supported.
6891 # `unknown' -- same as none, but documents that we really don't know.
6892 # 'pass_all' -- all dependencies passed with no checks.
6893 # 'test_compile' -- check by making test program.
6894 # 'file_magic [[regex]]' -- check by looking for files in library path
6895 # which responds to the $file_magic_cmd with a given extended regex.
6896 # If you have `file' or equivalent on your system and you're not sure
6897 # whether `pass_all' will *always* work, you probably want this one.
6901 lt_cv_deplibs_check_method=pass_all
6905 lt_cv_deplibs_check_method=pass_all
6909 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6910 lt_cv_file_magic_cmd='/usr/bin/file -L'
6911 lt_cv_file_magic_test_file=/shlib/libc.so
6915 # func_win32_libid is a shell function defined in ltmain.sh
6916 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6917 lt_cv_file_magic_cmd='func_win32_libid'
6921 # Base MSYS/MinGW do not provide the 'file' command needed by
6922 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6923 # unless we find 'file', for example because we are cross-compiling.
6924 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6925 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6926 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6927 lt_cv_file_magic_cmd='func_win32_libid'
6929 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6930 lt_cv_file_magic_cmd='$OBJDUMP -f'
6935 # use the weaker test based on 'objdump'. See mingw*.
6936 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6937 lt_cv_file_magic_cmd='$OBJDUMP -f'
6940 darwin* | rhapsody*)
6941 lt_cv_deplibs_check_method=pass_all
6944 freebsd* | dragonfly*)
6945 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6948 # Not sure whether the presence of OpenBSD here was a mistake.
6949 # Let's accept both of them until this is cleared up.
6950 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6951 lt_cv_file_magic_cmd=/usr/bin/file
6952 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6956 lt_cv_deplibs_check_method=pass_all
6961 lt_cv_deplibs_check_method=pass_all
6965 lt_cv_deplibs_check_method=pass_all
6968 hpux10.20* | hpux11*)
6969 lt_cv_file_magic_cmd=/usr/bin/file
6972 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6973 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6976 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6977 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6980 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6981 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6987 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6988 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6991 irix5* | irix6* | nonstopux*)
6993 *-32|*"-32 ") libmagic=32-bit;;
6994 *-n32|*"-n32 ") libmagic=N32;;
6995 *-64|*"-64 ") libmagic=64-bit;;
6996 *) libmagic=never-match;;
6998 lt_cv_deplibs_check_method=pass_all
7001 # This must be Linux ELF.
7002 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7003 lt_cv_deplibs_check_method=pass_all
7007 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7008 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7010 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7015 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7016 lt_cv_file_magic_cmd=/usr/bin/file
7017 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7021 lt_cv_deplibs_check_method=pass_all
7025 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7026 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7028 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7032 osf3* | osf4* | osf5*)
7033 lt_cv_deplibs_check_method=pass_all
7037 lt_cv_deplibs_check_method=pass_all
7041 lt_cv_deplibs_check_method=pass_all
7044 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7045 lt_cv_deplibs_check_method=pass_all
7049 case $host_vendor in
7051 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]'
7052 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7055 lt_cv_deplibs_check_method=pass_all
7058 lt_cv_file_magic_cmd='/bin/file'
7059 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7062 lt_cv_file_magic_cmd='/bin/file'
7063 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
7064 lt_cv_file_magic_test_file=/lib/libc.so
7067 lt_cv_deplibs_check_method=pass_all
7070 lt_cv_deplibs_check_method=pass_all
7076 lt_cv_deplibs_check_method=pass_all
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
7082 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7083 file_magic_cmd=$lt_cv_file_magic_cmd
7084 deplibs_check_method=$lt_cv_deplibs_check_method
7085 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7098 if test -n "$ac_tool_prefix"; then
7099 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7100 set dummy ${ac_tool_prefix}ar; ac_word=$2
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7102 $as_echo_n "checking
for $ac_word...
" >&6; }
7103 if ${ac_cv_prog_AR+:} false; then :
7104 $as_echo_n "(cached
) " >&6
7106 if test -n "$AR"; then
7107 ac_cv_prog_AR="$AR" # Let the user override the test.
7109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7113 test -z "$as_dir" && as_dir=.
7114 for ac_exec_ext in '' $ac_executable_extensions; do
7115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7116 ac_cv_prog_AR="${ac_tool_prefix}ar"
7117 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7127 if test -n "$AR"; then
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7129 $as_echo "$AR" >&6; }
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7132 $as_echo "no
" >&6; }
7137 if test -z "$ac_cv_prog_AR"; then
7139 # Extract the first word of "ar", so it can be a program name with args.
7140 set dummy ar; ac_word=$2
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7142 $as_echo_n "checking
for $ac_word...
" >&6; }
7143 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7144 $as_echo_n "(cached
) " >&6
7146 if test -n "$ac_ct_AR"; then
7147 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7153 test -z "$as_dir" && as_dir=.
7154 for ac_exec_ext in '' $ac_executable_extensions; do
7155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7156 ac_cv_prog_ac_ct_AR="ar"
7157 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7166 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7167 if test -n "$ac_ct_AR"; then
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
7169 $as_echo "$ac_ct_AR" >&6; }
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7172 $as_echo "no
" >&6; }
7175 if test "x
$ac_ct_AR" = x; then
7178 case $cross_compiling:$ac_tool_warned in
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7181 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7182 ac_tool_warned=yes ;;
7190 test -z "$AR" && AR=ar
7191 test -z "$AR_FLAGS" && AR_FLAGS=cru
7203 if test -n "$ac_tool_prefix"; then
7204 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7205 set dummy ${ac_tool_prefix}strip; ac_word=$2
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7207 $as_echo_n "checking
for $ac_word...
" >&6; }
7208 if ${ac_cv_prog_STRIP+:} false; then :
7209 $as_echo_n "(cached
) " >&6
7211 if test -n "$STRIP"; then
7212 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7218 test -z "$as_dir" && as_dir=.
7219 for ac_exec_ext in '' $ac_executable_extensions; do
7220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7221 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7222 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7231 STRIP=$ac_cv_prog_STRIP
7232 if test -n "$STRIP"; then
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
7234 $as_echo "$STRIP" >&6; }
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7237 $as_echo "no
" >&6; }
7242 if test -z "$ac_cv_prog_STRIP"; then
7244 # Extract the first word of "strip
", so it can be a program name with args.
7245 set dummy strip; ac_word=$2
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7247 $as_echo_n "checking
for $ac_word...
" >&6; }
7248 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7249 $as_echo_n "(cached
) " >&6
7251 if test -n "$ac_ct_STRIP"; then
7252 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7258 test -z "$as_dir" && as_dir=.
7259 for ac_exec_ext in '' $ac_executable_extensions; do
7260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7261 ac_cv_prog_ac_ct_STRIP="strip
"
7262 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7271 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7272 if test -n "$ac_ct_STRIP"; then
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
7274 $as_echo "$ac_ct_STRIP" >&6; }
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7277 $as_echo "no
" >&6; }
7280 if test "x
$ac_ct_STRIP" = x; then
7283 case $cross_compiling:$ac_tool_warned in
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7286 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7287 ac_tool_warned=yes ;;
7292 STRIP="$ac_cv_prog_STRIP"
7295 test -z "$STRIP" && STRIP=:
7302 if test -n "$ac_tool_prefix"; then
7303 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7304 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7306 $as_echo_n "checking
for $ac_word...
" >&6; }
7307 if ${ac_cv_prog_RANLIB+:} false; then :
7308 $as_echo_n "(cached
) " >&6
7310 if test -n "$RANLIB"; then
7311 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7317 test -z "$as_dir" && as_dir=.
7318 for ac_exec_ext in '' $ac_executable_extensions; do
7319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7320 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7321 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7330 RANLIB=$ac_cv_prog_RANLIB
7331 if test -n "$RANLIB"; then
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7333 $as_echo "$RANLIB" >&6; }
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7336 $as_echo "no
" >&6; }
7341 if test -z "$ac_cv_prog_RANLIB"; then
7342 ac_ct_RANLIB=$RANLIB
7343 # Extract the first word of "ranlib
", so it can be a program name with args.
7344 set dummy ranlib; ac_word=$2
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7346 $as_echo_n "checking
for $ac_word...
" >&6; }
7347 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7348 $as_echo_n "(cached
) " >&6
7350 if test -n "$ac_ct_RANLIB"; then
7351 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7357 test -z "$as_dir" && as_dir=.
7358 for ac_exec_ext in '' $ac_executable_extensions; do
7359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7360 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7361 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7370 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7371 if test -n "$ac_ct_RANLIB"; then
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7373 $as_echo "$ac_ct_RANLIB" >&6; }
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7376 $as_echo "no
" >&6; }
7379 if test "x
$ac_ct_RANLIB" = x; then
7382 case $cross_compiling:$ac_tool_warned in
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7385 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7386 ac_tool_warned=yes ;;
7388 RANLIB=$ac_ct_RANLIB
7391 RANLIB="$ac_cv_prog_RANLIB"
7394 test -z "$RANLIB" && RANLIB=:
7401 # Determine commands to create old-style static archives.
7402 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7403 old_postinstall_cmds='chmod 644 $oldlib'
7404 old_postuninstall_cmds=
7406 if test -n "$RANLIB"; then
7409 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7412 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7415 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7420 lock_old_archive_extraction=yes ;;
7422 lock_old_archive_extraction=no ;;
7463 # If no C compiler was specified, use CC.
7466 # If no C compiler flags were specified, use CFLAGS.
7467 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7469 # Allow CC to be a program name with arguments.
7473 # Check for command to grab the raw symbol name followed by C symbol from nm.
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7475 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7476 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7477 $as_echo_n "(cached
) " >&6
7480 # These are sane defaults that work on at least a few old systems.
7481 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7483 # Character class describing NM global symbol codes.
7484 symcode='[BCDEGRST]'
7486 # Regexp to match symbols that can be accessed directly from C.
7487 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7489 # Define system-specific variables.
7494 cygwin* | mingw* | pw32* | cegcc*)
7495 symcode='[ABCDGISTW]'
7498 if test "$host_cpu" = ia64; then
7499 symcode='[ABCDEGRST]'
7503 symcode='[BCDEGRST]'
7506 symcode='[BCDEGQRST]'
7517 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7525 # If we're using GNU nm, then use its standard symbol codes.
7526 case `$NM -V 2>&1` in
7527 *GNU* | *'with BFD'*)
7528 symcode='[ABCDGIRSTW]' ;;
7531 # Transform an extracted symbol line into a proper C declaration.
7532 # Some systems (esp. on ia64) link data and code symbols differently,
7533 # so use this general approach.
7534 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7536 # Transform an extracted symbol line into symbol name and symbol address
7537 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7538 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
7540 # Handle CRLF in mingw tool chain
7544 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7548 # Try without a prefix underscore, then with it.
7549 for ac_symprfx in "" "_
"; do
7551 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7552 symxfrm="\\1 $ac_symprfx\\2 \\2"
7554 # Write the raw and C identifiers.
7555 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7556 # Fake it for dumpbin and say T for any non-static function
7557 # and D for any global variable.
7558 # Also find C++ and __fastcall symbols from MSVC++,
7559 # which start with @ or ?.
7560 lt_cv_sys_global_symbol_pipe="$AWK '"\
7561 " {last_section=section; section=\$ 3};"\
7562 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7563 " \$ 0!~/External *\|/{next};"\
7564 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7565 " {if(hide[section]) next};"\
7566 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7567 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7568 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7569 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7570 " ' prfx
=^
$ac_symprfx"
7572 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7575 # Check to see that the pipe works correctly.
7579 cat > conftest.$ac_ext <<_LT_EOF
7584 void nm_test_func(void);
7585 void nm_test_func(void){}
7589 int main(){nm_test_var='a';nm_test_func();return(0);}
7592 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7593 (eval $ac_compile) 2>&5
7595 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7596 test $ac_status = 0; }; then
7597 # Now try to grab the symbols.
7599 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7600 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7602 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7603 test $ac_status = 0; } && test -s "$nlist"; then
7604 # Try sorting and uniquifying the output.
7605 if sort "$nlist" | uniq > "$nlist"T; then
7606 mv -f "$nlist"T "$nlist"
7611 # Make sure that we snagged all the symbols we need.
7612 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7613 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7614 cat <<_LT_EOF > conftest.$ac_ext
7620 # Now generate the symbol file.
7621 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7623 cat <<_LT_EOF >> conftest.$ac_ext
7625 /* The mapping between symbol names and symbols. */
7630 lt__PROGRAM__LTX_preloaded_symbols[] =
7632 { "@PROGRAM@
", (void *) 0 },
7634 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7635 cat <<\_LT_EOF >> conftest.$ac_ext
7639 /* This works around a problem in FreeBSD linker */
7640 #ifdef FREEBSD_WORKAROUND
7641 static const void *lt_preloaded_setup() {
7642 return lt__PROGRAM__LTX_preloaded_symbols;
7650 # Now try linking the two files.
7651 mv conftest.$ac_objext conftstm.$ac_objext
7652 lt_save_LIBS="$LIBS"
7653 lt_save_CFLAGS="$CFLAGS"
7654 LIBS="conftstm.
$ac_objext"
7655 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7656 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7657 (eval $ac_link) 2>&5
7659 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7660 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7663 LIBS="$lt_save_LIBS"
7664 CFLAGS="$lt_save_CFLAGS"
7666 echo "cannot
find nm_test_func
in $nlist" >&5
7669 echo "cannot
find nm_test_var
in $nlist" >&5
7672 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7675 echo "$progname: failed program was
:" >&5
7676 cat conftest.$ac_ext >&5
7678 rm -rf conftest* conftst*
7680 # Do not use the global_symbol_pipe unless it works.
7681 if test "$pipe_works" = yes; then
7684 lt_cv_sys_global_symbol_pipe=
7690 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7691 lt_cv_sys_global_symbol_to_cdecl=
7693 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7695 $as_echo "failed
" >&6; }
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7698 $as_echo "ok
" >&6; }
7722 # Check whether --enable-libtool-lock was given.
7723 if test "${enable_libtool_lock+set}" = set; then :
7724 enableval=$enable_libtool_lock;
7727 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7729 # Some flags need to be propagated to the compiler or linker for good
7733 # Find out which ABI we are using.
7734 echo 'int i;' > conftest.$ac_ext
7735 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7736 (eval $ac_compile) 2>&5
7738 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7739 test $ac_status = 0; }; then
7740 case `/usr/bin/file conftest.$ac_objext` in
7752 # Find out which ABI we are using.
7753 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7754 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7755 (eval $ac_compile) 2>&5
7757 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7758 test $ac_status = 0; }; then
7759 if test "$lt_cv_prog_gnu_ld" = yes; then
7760 case `/usr/bin/file conftest.$ac_objext` in
7762 LD="${LD-ld} -melf32bsmip"
7765 LD="${LD-ld} -melf32bmipn32"
7768 LD="${LD-ld} -melf64bmip"
7772 case `/usr/bin/file conftest.$ac_objext` in
7788 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7789 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7790 # Find out which ABI we are using.
7791 echo 'int i;' > conftest.$ac_ext
7792 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7793 (eval $ac_compile) 2>&5
7795 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7796 test $ac_status = 0; }; then
7797 case `/usr/bin/file conftest.o` in
7800 x86_64-*kfreebsd*-gnu)
7801 LD="${LD-ld} -m elf_i386_fbsd
"
7804 case `/usr/bin/file conftest.o` in
7806 LD="${LD-ld} -m elf32_x86_64
"
7809 LD="${LD-ld} -m elf_i386
"
7813 powerpc64le-*linux*)
7814 LD="${LD-ld} -m elf32lppclinux
"
7817 LD="${LD-ld} -m elf32ppclinux
"
7820 LD="${LD-ld} -m elf_s390
"
7823 LD="${LD-ld} -m elf32_sparc
"
7829 x86_64-*kfreebsd*-gnu)
7830 LD="${LD-ld} -m elf_x86_64_fbsd
"
7833 LD="${LD-ld} -m elf_x86_64
"
7836 LD="${LD-ld} -m elf64lppc
"
7839 LD="${LD-ld} -m elf64ppc
"
7841 s390*-*linux*|s390*-*tpf*)
7842 LD="${LD-ld} -m elf64_s390
"
7845 LD="${LD-ld} -m elf64_sparc
"
7855 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7856 SAVE_CFLAGS="$CFLAGS"
7857 CFLAGS="$CFLAGS -belf"
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7859 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7860 if ${lt_cv_cc_needs_belf+:} false; then :
7861 $as_echo_n "(cached
) " >&6
7864 ac_cpp='$CPP $CPPFLAGS'
7865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7870 /* end confdefs.h. */
7880 if ac_fn_c_try_link "$LINENO"; then :
7881 lt_cv_cc_needs_belf=yes
7883 lt_cv_cc_needs_belf=no
7885 rm -f core conftest.err conftest.$ac_objext \
7886 conftest$ac_exeext conftest.$ac_ext
7888 ac_cpp='$CPP $CPPFLAGS'
7889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7895 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7896 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7897 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7898 CFLAGS="$SAVE_CFLAGS"
7902 # Find out which ABI we are using.
7903 echo 'int i;' > conftest.$ac_ext
7904 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7905 (eval $ac_compile) 2>&5
7907 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7908 test $ac_status = 0; }; then
7909 case `/usr/bin/file conftest.o` in
7911 case $lt_cv_prog_gnu_ld in
7912 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7914 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7926 need_locks="$enable_libtool_lock"
7930 rhapsody* | darwin*)
7931 if test -n "$ac_tool_prefix"; then
7932 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7933 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7935 $as_echo_n "checking
for $ac_word...
" >&6; }
7936 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7937 $as_echo_n "(cached
) " >&6
7939 if test -n "$DSYMUTIL"; then
7940 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7946 test -z "$as_dir" && as_dir=.
7947 for ac_exec_ext in '' $ac_executable_extensions; do
7948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7949 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7950 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7959 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7960 if test -n "$DSYMUTIL"; then
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7962 $as_echo "$DSYMUTIL" >&6; }
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7965 $as_echo "no
" >&6; }
7970 if test -z "$ac_cv_prog_DSYMUTIL"; then
7971 ac_ct_DSYMUTIL=$DSYMUTIL
7972 # Extract the first word of "dsymutil
", so it can be a program name with args.
7973 set dummy dsymutil; ac_word=$2
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7975 $as_echo_n "checking
for $ac_word...
" >&6; }
7976 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7977 $as_echo_n "(cached
) " >&6
7979 if test -n "$ac_ct_DSYMUTIL"; then
7980 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7986 test -z "$as_dir" && as_dir=.
7987 for ac_exec_ext in '' $ac_executable_extensions; do
7988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7989 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7990 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7999 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8000 if test -n "$ac_ct_DSYMUTIL"; then
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8002 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8005 $as_echo "no
" >&6; }
8008 if test "x
$ac_ct_DSYMUTIL" = x; then
8011 case $cross_compiling:$ac_tool_warned in
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8014 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8015 ac_tool_warned=yes ;;
8017 DSYMUTIL=$ac_ct_DSYMUTIL
8020 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8023 if test -n "$ac_tool_prefix"; then
8024 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8025 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8027 $as_echo_n "checking
for $ac_word...
" >&6; }
8028 if ${ac_cv_prog_NMEDIT+:} false; then :
8029 $as_echo_n "(cached
) " >&6
8031 if test -n "$NMEDIT"; then
8032 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8038 test -z "$as_dir" && as_dir=.
8039 for ac_exec_ext in '' $ac_executable_extensions; do
8040 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8041 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8042 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8051 NMEDIT=$ac_cv_prog_NMEDIT
8052 if test -n "$NMEDIT"; then
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8054 $as_echo "$NMEDIT" >&6; }
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8057 $as_echo "no
" >&6; }
8062 if test -z "$ac_cv_prog_NMEDIT"; then
8063 ac_ct_NMEDIT=$NMEDIT
8064 # Extract the first word of "nmedit
", so it can be a program name with args.
8065 set dummy nmedit; ac_word=$2
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8067 $as_echo_n "checking
for $ac_word...
" >&6; }
8068 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8069 $as_echo_n "(cached
) " >&6
8071 if test -n "$ac_ct_NMEDIT"; then
8072 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8078 test -z "$as_dir" && as_dir=.
8079 for ac_exec_ext in '' $ac_executable_extensions; do
8080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8081 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8082 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8091 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8092 if test -n "$ac_ct_NMEDIT"; then
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8094 $as_echo "$ac_ct_NMEDIT" >&6; }
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8097 $as_echo "no
" >&6; }
8100 if test "x
$ac_ct_NMEDIT" = x; then
8103 case $cross_compiling:$ac_tool_warned in
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8106 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8107 ac_tool_warned=yes ;;
8109 NMEDIT=$ac_ct_NMEDIT
8112 NMEDIT="$ac_cv_prog_NMEDIT"
8115 if test -n "$ac_tool_prefix"; then
8116 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8117 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8119 $as_echo_n "checking
for $ac_word...
" >&6; }
8120 if ${ac_cv_prog_LIPO+:} false; then :
8121 $as_echo_n "(cached
) " >&6
8123 if test -n "$LIPO"; then
8124 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8130 test -z "$as_dir" && as_dir=.
8131 for ac_exec_ext in '' $ac_executable_extensions; do
8132 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8133 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8134 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8143 LIPO=$ac_cv_prog_LIPO
8144 if test -n "$LIPO"; then
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8146 $as_echo "$LIPO" >&6; }
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8149 $as_echo "no
" >&6; }
8154 if test -z "$ac_cv_prog_LIPO"; then
8156 # Extract the first word of "lipo
", so it can be a program name with args.
8157 set dummy lipo; ac_word=$2
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8159 $as_echo_n "checking
for $ac_word...
" >&6; }
8160 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8161 $as_echo_n "(cached
) " >&6
8163 if test -n "$ac_ct_LIPO"; then
8164 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8170 test -z "$as_dir" && as_dir=.
8171 for ac_exec_ext in '' $ac_executable_extensions; do
8172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8173 ac_cv_prog_ac_ct_LIPO="lipo
"
8174 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8183 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8184 if test -n "$ac_ct_LIPO"; then
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8186 $as_echo "$ac_ct_LIPO" >&6; }
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8189 $as_echo "no
" >&6; }
8192 if test "x
$ac_ct_LIPO" = x; then
8195 case $cross_compiling:$ac_tool_warned in
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8198 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8199 ac_tool_warned=yes ;;
8204 LIPO="$ac_cv_prog_LIPO"
8207 if test -n "$ac_tool_prefix"; then
8208 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8209 set dummy ${ac_tool_prefix}otool; ac_word=$2
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8211 $as_echo_n "checking
for $ac_word...
" >&6; }
8212 if ${ac_cv_prog_OTOOL+:} false; then :
8213 $as_echo_n "(cached
) " >&6
8215 if test -n "$OTOOL"; then
8216 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8222 test -z "$as_dir" && as_dir=.
8223 for ac_exec_ext in '' $ac_executable_extensions; do
8224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8225 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8226 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8235 OTOOL=$ac_cv_prog_OTOOL
8236 if test -n "$OTOOL"; then
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8238 $as_echo "$OTOOL" >&6; }
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8241 $as_echo "no
" >&6; }
8246 if test -z "$ac_cv_prog_OTOOL"; then
8248 # Extract the first word of "otool
", so it can be a program name with args.
8249 set dummy otool; ac_word=$2
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8251 $as_echo_n "checking
for $ac_word...
" >&6; }
8252 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8253 $as_echo_n "(cached
) " >&6
8255 if test -n "$ac_ct_OTOOL"; then
8256 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8262 test -z "$as_dir" && as_dir=.
8263 for ac_exec_ext in '' $ac_executable_extensions; do
8264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8265 ac_cv_prog_ac_ct_OTOOL="otool
"
8266 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8275 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8276 if test -n "$ac_ct_OTOOL"; then
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8278 $as_echo "$ac_ct_OTOOL" >&6; }
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8281 $as_echo "no
" >&6; }
8284 if test "x
$ac_ct_OTOOL" = x; then
8287 case $cross_compiling:$ac_tool_warned in
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8290 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8291 ac_tool_warned=yes ;;
8296 OTOOL="$ac_cv_prog_OTOOL"
8299 if test -n "$ac_tool_prefix"; then
8300 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8301 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8303 $as_echo_n "checking
for $ac_word...
" >&6; }
8304 if ${ac_cv_prog_OTOOL64+:} false; then :
8305 $as_echo_n "(cached
) " >&6
8307 if test -n "$OTOOL64"; then
8308 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8314 test -z "$as_dir" && as_dir=.
8315 for ac_exec_ext in '' $ac_executable_extensions; do
8316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8317 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8318 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8327 OTOOL64=$ac_cv_prog_OTOOL64
8328 if test -n "$OTOOL64"; then
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8330 $as_echo "$OTOOL64" >&6; }
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8333 $as_echo "no
" >&6; }
8338 if test -z "$ac_cv_prog_OTOOL64"; then
8339 ac_ct_OTOOL64=$OTOOL64
8340 # Extract the first word of "otool64
", so it can be a program name with args.
8341 set dummy otool64; ac_word=$2
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8343 $as_echo_n "checking
for $ac_word...
" >&6; }
8344 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8345 $as_echo_n "(cached
) " >&6
8347 if test -n "$ac_ct_OTOOL64"; then
8348 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8354 test -z "$as_dir" && as_dir=.
8355 for ac_exec_ext in '' $ac_executable_extensions; do
8356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8357 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8358 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8367 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8368 if test -n "$ac_ct_OTOOL64"; then
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8370 $as_echo "$ac_ct_OTOOL64" >&6; }
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8373 $as_echo "no
" >&6; }
8376 if test "x
$ac_ct_OTOOL64" = x; then
8379 case $cross_compiling:$ac_tool_warned in
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8382 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8383 ac_tool_warned=yes ;;
8385 OTOOL64=$ac_ct_OTOOL64
8388 OTOOL64="$ac_cv_prog_OTOOL64"
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8418 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8419 if ${lt_cv_apple_cc_single_mod+:} false; then :
8420 $as_echo_n "(cached
) " >&6
8422 lt_cv_apple_cc_single_mod=no
8423 if test -z "${LT_MULTI_MODULE}"; then
8424 # By default we will add the -single_module flag. You can override
8425 # by either setting the environment variable LT_MULTI_MODULE
8426 # non-empty at configure time, or by adding -multi_module to the
8428 rm -rf libconftest.dylib*
8429 echo "int foo
(void
){return 1;}" > conftest.c
8430 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8431 -dynamiclib -Wl,-single_module conftest.c
" >&5
8432 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8433 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8435 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8436 lt_cv_apple_cc_single_mod=yes
8438 cat conftest.err >&5
8440 rm -rf libconftest.dylib*
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8445 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8447 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8448 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8449 $as_echo_n "(cached
) " >&6
8451 lt_cv_ld_exported_symbols_list=no
8452 save_LDFLAGS=$LDFLAGS
8453 echo "_main
" > conftest.sym
8454 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8456 /* end confdefs.h. */
8466 if ac_fn_c_try_link "$LINENO"; then :
8467 lt_cv_ld_exported_symbols_list=yes
8469 lt_cv_ld_exported_symbols_list=no
8471 rm -f core conftest.err conftest.$ac_objext \
8472 conftest$ac_exeext conftest.$ac_ext
8473 LDFLAGS="$save_LDFLAGS"
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8477 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8479 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8480 if ${lt_cv_ld_force_load+:} false; then :
8481 $as_echo_n "(cached
) " >&6
8483 lt_cv_ld_force_load=no
8484 cat > conftest.c << _LT_EOF
8485 int forced_loaded() { return 2;}
8487 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8488 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8489 echo "$AR cru libconftest.a conftest.o
" >&5
8490 $AR cru libconftest.a conftest.o 2>&5
8491 cat > conftest.c << _LT_EOF
8492 int main() { return 0;}
8494 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8495 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8497 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8498 lt_cv_ld_force_load=yes
8500 cat conftest.err >&5
8502 rm -f conftest.err libconftest.a conftest conftest.c
8503 rm -rf conftest.dSYM
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8507 $as_echo "$lt_cv_ld_force_load" >&6; }
8509 rhapsody* | darwin1.[012])
8510 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8512 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8513 darwin*) # darwin 5.x on
8514 # if running on 10.5 or later, the deployment target defaults
8515 # to the OS version, if on x86, and 10.4, the deployment
8516 # target defaults to 10.4. Don't you love it?
8517 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8518 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8519 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8521 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8523 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8527 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8528 _lt_dar_single_mod='$single_module'
8530 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8531 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8533 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8535 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8536 _lt_dsymutil='~$DSYMUTIL $lib || :'
8543 for ac_header in dlfcn.h
8545 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8547 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
8548 cat >>confdefs.h <<_ACEOF
8549 #define HAVE_DLFCN_H 1
8571 # Check whether --enable-shared was given.
8572 if test "${enable_shared+set}" = set; then :
8573 enableval=$enable_shared; p=${PACKAGE-default}
8575 yes) enable_shared=yes ;;
8576 no) enable_shared=no ;;
8579 # Look at the argument we got. We use all the common list separators.
8580 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8581 for pkg in $enableval; do
8583 if test "X
$pkg" = "X
$p"; then
8602 # Check whether --enable-static was given.
8603 if test "${enable_static+set}" = set; then :
8604 enableval=$enable_static; p=${PACKAGE-default}
8606 yes) enable_static=yes ;;
8607 no) enable_static=no ;;
8610 # Look at the argument we got. We use all the common list separators.
8611 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8612 for pkg in $enableval; do
8614 if test "X
$pkg" = "X
$p"; then
8634 # Check whether --with-pic was given.
8635 if test "${with_pic+set}" = set; then :
8636 withval=$with_pic; pic_mode="$withval"
8642 test -z "$pic_mode" && pic_mode=default
8650 # Check whether --enable-fast-install was given.
8651 if test "${enable_fast_install+set}" = set; then :
8652 enableval=$enable_fast_install; p=${PACKAGE-default}
8654 yes) enable_fast_install=yes ;;
8655 no) enable_fast_install=no ;;
8657 enable_fast_install=no
8658 # Look at the argument we got. We use all the common list separators.
8659 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8660 for pkg in $enableval; do
8662 if test "X
$pkg" = "X
$p"; then
8663 enable_fast_install=yes
8670 enable_fast_install=yes
8683 # This can be used to rebuild libtool when needed
8684 LIBTOOL_DEPS="$ltmain"
8686 # Always use our own libtool.
8687 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8714 test -z "$LN_S" && LN_S="ln -s"
8729 if test -n "${ZSH_VERSION+set}" ; then
8730 setopt NO_GLOB_SUBST
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8734 $as_echo_n "checking
for objdir...
" >&6; }
8735 if ${lt_cv_objdir+:} false; then :
8736 $as_echo_n "(cached
) " >&6
8738 rm -f .libs 2>/dev/null
8739 mkdir .libs 2>/dev/null
8740 if test -d .libs; then
8743 # MS-DOS does not allow filenames that begin with a dot.
8746 rmdir .libs 2>/dev/null
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8749 $as_echo "$lt_cv_objdir" >&6; }
8750 objdir=$lt_cv_objdir
8756 cat >>confdefs.h <<_ACEOF
8757 #define LT_OBJDIR "$lt_cv_objdir/"
8765 # AIX sometimes has problems with the GCC collect2 program. For some
8766 # reason, if we set the COLLECT_NAMES environment variable, the problems
8767 # vanish in a puff of smoke.
8768 if test "X
${COLLECT_NAMES+set}" != Xset; then
8770 export COLLECT_NAMES
8777 can_build_shared=yes
8779 # All known linkers require a `.a' archive for static linking (except MSVC,
8780 # which needs '.lib').
8783 with_gnu_ld="$lt_cv_prog_gnu_ld"
8786 old_CFLAGS="$CFLAGS"
8788 # Set sane defaults for various variables
8789 test -z "$CC" && CC=cc
8790 test -z "$LTCC" && LTCC=$CC
8791 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8792 test -z "$LD" && LD=ld
8793 test -z "$ac_objext" && ac_objext=o
8795 for cc_temp in $compiler""; do
8797 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8798 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8803 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
8806 # Only perform the check for file, if the check method requires it
8807 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8808 case $deplibs_check_method in
8810 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
8812 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
8813 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8814 $as_echo_n "(cached
) " >&6
8818 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8821 lt_save_MAGIC_CMD="$MAGIC_CMD"
8822 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8823 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8824 for ac_dir in $ac_dummy; do
8826 test -z "$ac_dir" && ac_dir=.
8827 if test -f $ac_dir/${ac_tool_prefix}file; then
8828 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8829 if test -n "$file_magic_test_file"; then
8830 case $deplibs_check_method in
8832 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8833 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8834 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8835 $EGREP "$file_magic_regex" > /dev/null; then
8840 *** Warning: the command libtool uses to detect shared libraries,
8841 *** $file_magic_cmd, produces output that libtool cannot recognize.
8842 *** The result is that libtool may fail to recognize shared libraries
8843 *** as such. This will affect the creation of libtool libraries that
8844 *** depend on shared libraries, but programs linked with such libtool
8845 *** libraries will work regardless of this problem. Nevertheless, you
8846 *** may want to report the problem to your system manager and/or to
8847 *** bug-libtool@gnu.org
8857 MAGIC_CMD="$lt_save_MAGIC_CMD"
8862 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8863 if test -n "$MAGIC_CMD"; then
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8865 $as_echo "$MAGIC_CMD" >&6; }
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8868 $as_echo "no
" >&6; }
8875 if test -z "$lt_cv_path_MAGIC_CMD"; then
8876 if test -n "$ac_tool_prefix"; then
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8878 $as_echo_n "checking
for file...
" >&6; }
8879 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8880 $as_echo_n "(cached
) " >&6
8884 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8887 lt_save_MAGIC_CMD="$MAGIC_CMD"
8888 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8889 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8890 for ac_dir in $ac_dummy; do
8892 test -z "$ac_dir" && ac_dir=.
8893 if test -f $ac_dir/file; then
8894 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8895 if test -n "$file_magic_test_file"; then
8896 case $deplibs_check_method in
8898 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8899 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8900 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8901 $EGREP "$file_magic_regex" > /dev/null; then
8906 *** Warning: the command libtool uses to detect shared libraries,
8907 *** $file_magic_cmd, produces output that libtool cannot recognize.
8908 *** The result is that libtool may fail to recognize shared libraries
8909 *** as such. This will affect the creation of libtool libraries that
8910 *** depend on shared libraries, but programs linked with such libtool
8911 *** libraries will work regardless of this problem. Nevertheless, you
8912 *** may want to report the problem to your system manager and/or to
8913 *** bug-libtool@gnu.org
8923 MAGIC_CMD="$lt_save_MAGIC_CMD"
8928 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8929 if test -n "$MAGIC_CMD"; then
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8931 $as_echo "$MAGIC_CMD" >&6; }
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8934 $as_echo "no
" >&6; }
8947 # Use C for the default configuration in the libtool script
8951 ac_cpp='$CPP $CPPFLAGS'
8952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8957 # Source file extension for C test sources.
8960 # Object file extension for compiled C test sources.
8964 # Code to be used in simple compile tests
8965 lt_simple_compile_test_code="int some_variable
= 0;"
8967 # Code to be used in simple link tests
8968 lt_simple_link_test_code='int main(){return(0);}'
8976 # If no C compiler was specified, use CC.
8979 # If no C compiler flags were specified, use CFLAGS.
8980 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8982 # Allow CC to be a program name with arguments.
8985 # Save the default compiler, since it gets overwritten when the other
8986 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8987 compiler_DEFAULT=$CC
8989 # save warnings/boilerplate of simple test code
8990 ac_outfile=conftest.$ac_objext
8991 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8992 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8993 _lt_compiler_boilerplate=`cat conftest.err`
8996 ac_outfile=conftest.$ac_objext
8997 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8998 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8999 _lt_linker_boilerplate=`cat conftest.err`
9004 ## There is no encapsulation within the following macros, do not change
9005 ## the running order or otherwise move them around unless you know exactly
9006 ## what you are doing...
9007 if test -n "$compiler"; then
9009 lt_prog_compiler_no_builtin_flag=
9011 if test "$GCC" = yes; then
9012 case $cc_basename in
9014 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9016 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
9020 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
9021 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9022 $as_echo_n "(cached
) " >&6
9024 lt_cv_prog_compiler_rtti_exceptions=no
9025 ac_outfile=conftest.$ac_objext
9026 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9027 lt_compiler_flag="-fno-rtti -fno-exceptions"
9028 # Insert the option either (1) after the last *FLAGS variable, or
9029 # (2) before a word containing "conftest.
", or (3) at the end.
9030 # Note that $ac_compile itself does not contain backslashes and begins
9031 # with a dollar sign (not a hyphen), so the echo should work correctly.
9032 # The option is referenced via a variable to avoid confusing sed.
9033 lt_compile=`echo "$ac_compile" | $SED \
9034 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9035 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9036 -e 's:$: $lt_compiler_flag:'`
9037 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9038 (eval "$lt_compile" 2>conftest.err)
9040 cat conftest.err >&5
9041 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9042 if (exit $ac_status) && test -s "$ac_outfile"; then
9043 # The compiler can only warn and ignore the option if not recognized
9044 # So say no if there are warnings other than the usual output.
9045 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9046 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9047 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9048 lt_cv_prog_compiler_rtti_exceptions=yes
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
9055 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9057 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9058 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9070 lt_prog_compiler_wl=
9071 lt_prog_compiler_pic=
9072 lt_prog_compiler_static=
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
9075 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
9077 if test "$GCC" = yes; then
9078 lt_prog_compiler_wl='-Wl,'
9079 lt_prog_compiler_static='-static'
9083 # All AIX code is PIC.
9084 if test "$host_cpu" = ia64; then
9085 # AIX 5 now supports IA64 processor
9086 lt_prog_compiler_static='-Bstatic'
9088 lt_prog_compiler_pic='-fPIC'
9094 # see comment about AmigaOS4 .so support
9095 lt_prog_compiler_pic='-fPIC'
9098 # FIXME: we need at least 68020 code to build shared libraries, but
9099 # adding the `-m68020' flag to GCC prevents building anything better,
9101 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9106 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9107 # PIC is the default for these OSes.
9110 mingw* | cygwin* | pw32* | os2* | cegcc*)
9111 # This hack is so that the source file can tell whether it is being
9112 # built for inclusion in a dll (and should export symbols for example).
9113 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9114 # (--disable-auto-import) libraries
9115 lt_prog_compiler_pic='-DDLL_EXPORT'
9118 darwin* | rhapsody*)
9119 # PIC is the default on this platform
9120 # Common symbols not allowed in MH_DYLIB files
9121 lt_prog_compiler_pic='-fno-common'
9125 # PIC is the default for Haiku.
9126 # The "-static" flag exists, but is broken.
9127 lt_prog_compiler_static=
9131 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9132 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9133 # sets the default TLS model and affects inlining.
9139 lt_prog_compiler_pic='-fPIC'
9145 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9146 # Instead, we relocate shared libraries at runtime.
9150 # Just because we use GCC doesn't mean we suddenly get shared libraries
9151 # on systems that don't support them.
9152 lt_prog_compiler_can_build_shared=no
9157 # QNX uses GNU C++, but need to define -shared option too, otherwise
9159 lt_prog_compiler_pic='-fPIC -shared'
9163 if test -d /usr/nec; then
9164 lt_prog_compiler_pic=-Kconform_pic
9169 lt_prog_compiler_pic='-fPIC'
9173 case $cc_basename in
9174 nvcc*) # Cuda Compiler Driver 2.2
9175 lt_prog_compiler_wl='-Xlinker '
9176 lt_prog_compiler_pic='-Xcompiler -fPIC'
9180 # PORTME Check for flag to pass linker flags through the system compiler.
9183 lt_prog_compiler_wl='-Wl,'
9184 if test "$host_cpu" = ia64; then
9185 # AIX 5 now supports IA64 processor
9186 lt_prog_compiler_static='-Bstatic'
9188 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9192 mingw* | cygwin* | pw32* | os2* | cegcc*)
9193 # This hack is so that the source file can tell whether it is being
9194 # built for inclusion in a dll (and should export symbols for example).
9195 lt_prog_compiler_pic='-DDLL_EXPORT'
9198 hpux9* | hpux10* | hpux11*)
9199 lt_prog_compiler_wl='-Wl,'
9200 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9207 lt_prog_compiler_pic='+Z'
9210 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9211 lt_prog_compiler_static='${wl}-a ${wl}archive'
9214 irix5* | irix6* | nonstopux*)
9215 lt_prog_compiler_wl='-Wl,'
9216 # PIC (with -KPIC) is the default.
9217 lt_prog_compiler_static='-non_shared'
9220 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9221 case $cc_basename in
9222 # old Intel for x86_64 which still supported -KPIC.
9224 lt_prog_compiler_wl='-Wl,'
9225 lt_prog_compiler_pic='-KPIC'
9226 lt_prog_compiler_static='-static'
9228 # icc used to be incompatible with GCC.
9229 # ICC 10 doesn't accept -KPIC any more.
9231 lt_prog_compiler_wl='-Wl,'
9232 lt_prog_compiler_pic='-fPIC'
9233 lt_prog_compiler_static='-static'
9235 # Lahey Fortran 8.1.
9237 lt_prog_compiler_wl='-Wl,'
9238 lt_prog_compiler_pic='--shared'
9239 lt_prog_compiler_static='--static'
9241 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9242 # Portland Group compilers (*not* the Pentium gcc compiler,
9243 # which looks to be a dead project)
9244 lt_prog_compiler_wl='-Wl,'
9245 lt_prog_compiler_pic='-fpic'
9246 lt_prog_compiler_static='-Bstatic'
9249 lt_prog_compiler_wl='-Wl,'
9250 # All Alpha code is PIC.
9251 lt_prog_compiler_static='-non_shared'
9253 xl* | bgxl* | bgf* | mpixl*)
9254 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9255 lt_prog_compiler_wl='-Wl,'
9256 lt_prog_compiler_pic='-qpic'
9257 lt_prog_compiler_static='-qstaticlink'
9260 case `$CC -V 2>&1 | sed 5q` in
9261 *Sun\ F* | *Sun*Fortran*)
9262 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9263 lt_prog_compiler_pic='-KPIC'
9264 lt_prog_compiler_static='-Bstatic'
9265 lt_prog_compiler_wl=''
9269 lt_prog_compiler_pic='-KPIC'
9270 lt_prog_compiler_static='-Bstatic'
9271 lt_prog_compiler_wl='-Wl,'
9279 lt_prog_compiler_pic='-KPIC'
9280 lt_prog_compiler_static='-Bstatic'
9284 # QNX uses GNU C++, but need to define -shared option too, otherwise
9286 lt_prog_compiler_pic='-fPIC -shared'
9289 osf3* | osf4* | osf5*)
9290 lt_prog_compiler_wl='-Wl,'
9291 # All OSF/1 code is PIC.
9292 lt_prog_compiler_static='-non_shared'
9296 lt_prog_compiler_static='-non_shared'
9300 lt_prog_compiler_pic='-KPIC'
9301 lt_prog_compiler_static='-Bstatic'
9302 case $cc_basename in
9304 lt_prog_compiler_wl='-Qoption ld ';;
9306 lt_prog_compiler_wl='-Wl,';;
9311 lt_prog_compiler_wl='-Qoption ld '
9312 lt_prog_compiler_pic='-PIC'
9313 lt_prog_compiler_static='-Bstatic'
9316 sysv4 | sysv4.2uw2* | sysv4.3*)
9317 lt_prog_compiler_wl='-Wl,'
9318 lt_prog_compiler_pic='-KPIC'
9319 lt_prog_compiler_static='-Bstatic'
9323 if test -d /usr/nec ;then
9324 lt_prog_compiler_pic='-Kconform_pic'
9325 lt_prog_compiler_static='-Bstatic'
9329 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9330 lt_prog_compiler_wl='-Wl,'
9331 lt_prog_compiler_pic='-KPIC'
9332 lt_prog_compiler_static='-Bstatic'
9336 lt_prog_compiler_wl='-Wl,'
9337 lt_prog_compiler_can_build_shared=no
9341 lt_prog_compiler_pic='-pic'
9342 lt_prog_compiler_static='-Bstatic'
9346 lt_prog_compiler_can_build_shared=no
9352 # For platforms which do not support PIC, -DPIC is meaningless:
9354 lt_prog_compiler_pic=
9357 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
9361 $as_echo "$lt_prog_compiler_pic" >&6; }
9369 # Check to make sure the PIC flag actually works.
9371 if test -n "$lt_prog_compiler_pic"; then
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
9373 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
9374 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9375 $as_echo_n "(cached
) " >&6
9377 lt_cv_prog_compiler_pic_works=no
9378 ac_outfile=conftest.$ac_objext
9379 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9380 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9381 # Insert the option either (1) after the last *FLAGS variable, or
9382 # (2) before a word containing "conftest.
", or (3) at the end.
9383 # Note that $ac_compile itself does not contain backslashes and begins
9384 # with a dollar sign (not a hyphen), so the echo should work correctly.
9385 # The option is referenced via a variable to avoid confusing sed.
9386 lt_compile=`echo "$ac_compile" | $SED \
9387 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9388 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9389 -e 's:$: $lt_compiler_flag:'`
9390 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9391 (eval "$lt_compile" 2>conftest.err)
9393 cat conftest.err >&5
9394 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9395 if (exit $ac_status) && test -s "$ac_outfile"; then
9396 # The compiler can only warn and ignore the option if not recognized
9397 # So say no if there are warnings other than the usual output.
9398 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9399 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9400 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9401 lt_cv_prog_compiler_pic_works=yes
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9408 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9410 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9411 case $lt_prog_compiler_pic in
9413 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9416 lt_prog_compiler_pic=
9417 lt_prog_compiler_can_build_shared=no
9428 # Check to make sure the static flag actually works.
9430 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9432 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9433 if ${lt_cv_prog_compiler_static_works+:} false; then :
9434 $as_echo_n "(cached
) " >&6
9436 lt_cv_prog_compiler_static_works=no
9437 save_LDFLAGS="$LDFLAGS"
9438 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9439 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9440 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9441 # The linker can only warn and ignore the option if not recognized
9442 # So say no if there are warnings
9443 if test -s conftest.err; then
9444 # Append any errors to the config.log.
9445 cat conftest.err 1>&5
9446 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9447 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9448 if diff conftest.exp conftest.er2 >/dev/null; then
9449 lt_cv_prog_compiler_static_works=yes
9452 lt_cv_prog_compiler_static_works=yes
9456 LDFLAGS="$save_LDFLAGS"
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9460 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9462 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9465 lt_prog_compiler_static=
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9475 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9476 if ${lt_cv_prog_compiler_c_o+:} false; then :
9477 $as_echo_n "(cached
) " >&6
9479 lt_cv_prog_compiler_c_o=no
9480 $RM -r conftest 2>/dev/null
9484 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9486 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9487 # Insert the option either (1) after the last *FLAGS variable, or
9488 # (2) before a word containing "conftest.
", or (3) at the end.
9489 # Note that $ac_compile itself does not contain backslashes and begins
9490 # with a dollar sign (not a hyphen), so the echo should work correctly.
9491 lt_compile=`echo "$ac_compile" | $SED \
9492 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9493 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9494 -e 's:$: $lt_compiler_flag:'`
9495 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9496 (eval "$lt_compile" 2>out/conftest.err)
9498 cat out/conftest.err >&5
9499 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9500 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9502 # The compiler can only warn and ignore the option if not recognized
9503 # So say no if there are warnings
9504 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9505 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9506 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9507 lt_cv_prog_compiler_c_o=yes
9512 # SGI C++ compiler will create directory out/ii_files/ for
9513 # template instantiation
9514 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9515 $RM out/* && rmdir out
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9522 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9530 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9531 if ${lt_cv_prog_compiler_c_o+:} false; then :
9532 $as_echo_n "(cached
) " >&6
9534 lt_cv_prog_compiler_c_o=no
9535 $RM -r conftest 2>/dev/null
9539 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9541 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9542 # Insert the option either (1) after the last *FLAGS variable, or
9543 # (2) before a word containing "conftest.
", or (3) at the end.
9544 # Note that $ac_compile itself does not contain backslashes and begins
9545 # with a dollar sign (not a hyphen), so the echo should work correctly.
9546 lt_compile=`echo "$ac_compile" | $SED \
9547 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9548 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9549 -e 's:$: $lt_compiler_flag:'`
9550 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9551 (eval "$lt_compile" 2>out/conftest.err)
9553 cat out/conftest.err >&5
9554 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9555 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9557 # The compiler can only warn and ignore the option if not recognized
9558 # So say no if there are warnings
9559 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9560 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9561 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9562 lt_cv_prog_compiler_c_o=yes
9567 # SGI C++ compiler will create directory out/ii_files/ for
9568 # template instantiation
9569 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9570 $RM out/* && rmdir out
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9577 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9582 hard_links="nottested
"
9583 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9584 # do not overwrite the value of need_locks provided by the user
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9586 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9589 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9591 ln conftest.a conftest.b 2>&5 || hard_links=no
9592 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9594 $as_echo "$hard_links" >&6; }
9595 if test "$hard_links" = no; then
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
9597 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9610 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9613 allow_undefined_flag=
9614 always_export_symbols=no
9616 archive_expsym_cmds=
9617 compiler_needs_object=no
9618 enable_shared_with_static_runtimes=no
9619 export_dynamic_flag_spec=
9620 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9621 hardcode_automatic=no
9623 hardcode_direct_absolute=no
9624 hardcode_libdir_flag_spec=
9625 hardcode_libdir_flag_spec_ld=
9626 hardcode_libdir_separator=
9628 hardcode_shlibpath_var=unsupported
9630 link_all_deplibs=unknown
9633 old_archive_from_new_cmds=
9634 old_archive_from_expsyms_cmds=
9635 thread_safe_flag_spec=
9636 whole_archive_flag_spec=
9637 # include_expsyms should be a list of space-separated symbols to be *always*
9638 # included in the symbol list
9640 # exclude_expsyms can be an extended regexp of symbols to exclude
9641 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9642 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9643 # as well as any symbol that contains `d'.
9644 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9645 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9646 # platforms (ab)use it in PIC code, but their linkers get confused if
9647 # the symbol is explicitly referenced. Since portable code cannot
9648 # rely on this symbol name, it's probably fine to never include it in
9649 # preloaded symbol tables.
9650 # Exclude shared library initialization/finalization symbols.
9651 extract_expsyms_cmds=
9654 cygwin* | mingw* | pw32* | cegcc*)
9655 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9656 # When not using gcc, we currently assume that we are using
9657 # Microsoft Visual C++.
9658 if test "$GCC" != yes; then
9663 # we just hope/assume this is gcc and not c89 (= MSVC++)
9673 # On some targets, GNU ld is compatible enough with the native linker
9674 # that we're better off using the native interface for both.
9675 lt_use_gnu_ld_interface=no
9676 if test "$with_gnu_ld" = yes; then
9679 # The AIX port of GNU ld has always aspired to compatibility
9680 # with the native linker. However, as the warning in the GNU ld
9681 # block says, versions before 2.19.5* couldn't really create working
9682 # shared libraries, regardless of the interface used.
9683 case `$LD -v 2>&1` in
9684 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9685 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9686 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9688 lt_use_gnu_ld_interface=yes
9693 lt_use_gnu_ld_interface=yes
9698 if test "$lt_use_gnu_ld_interface" = yes; then
9699 # If archive_cmds runs LD, not CC, wlarc should be empty
9702 # Set some defaults for GNU ld with shared library support. These
9703 # are reset later if shared libraries are not supported. Putting them
9704 # here allows them to be overridden if necessary.
9705 runpath_var=LD_RUN_PATH
9706 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9707 export_dynamic_flag_spec='${wl}--export-dynamic'
9708 # ancient GNU ld didn't support --whole-archive et. al.
9709 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9710 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9712 whole_archive_flag_spec=
9714 supports_anon_versioning=no
9715 case `$LD -v 2>&1` in
9716 *GNU\ gold*) supports_anon_versioning=yes ;;
9717 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9718 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9719 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9720 *\ 2.11.*) ;; # other 2.11 versions
9721 *) supports_anon_versioning=yes ;;
9724 # See if GNU ld supports shared libraries.
9727 # On AIX/PPC, the GNU linker is very broken
9728 if test "$host_cpu" != ia64; then
9732 *** Warning: the GNU linker, at least up to release 2.19, is reported
9733 *** to be unable to reliably create shared libraries on AIX.
9734 *** Therefore, libtool is disabling shared libraries support. If you
9735 *** really care for shared libraries, you may want to install binutils
9736 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9737 *** You will then need to restart the configuration process.
9746 # see comment about AmigaOS4 .so support
9747 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9748 archive_expsym_cmds=''
9751 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)'
9752 hardcode_libdir_flag_spec
='-L$libdir'
9753 hardcode_minus_L
=yes
9759 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9760 allow_undefined_flag
=unsupported
9761 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9762 # support --undefined. This deserves some investigation. FIXME
9763 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9769 cygwin
* | mingw
* | pw32
* | cegcc
*)
9770 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9771 # as there is no search path for DLLs.
9772 hardcode_libdir_flag_spec
='-L$libdir'
9773 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9774 allow_undefined_flag
=unsupported
9775 always_export_symbols
=no
9776 enable_shared_with_static_runtimes
=yes
9777 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9779 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9780 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9781 # If the export-symbols file already is a .def file (1st line
9782 # is EXPORTS), use it as is; otherwise, prepend...
9783 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9784 cp $export_symbols $output_objdir/$soname.def;
9786 echo EXPORTS > $output_objdir/$soname.def;
9787 cat $export_symbols >> $output_objdir/$soname.def;
9789 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9796 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9797 link_all_deplibs
=yes
9802 hardcode_shlibpath_var
=no
9803 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9804 export_dynamic_flag_spec
='${wl}-E'
9805 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9806 # Instead, shared libraries are loaded at an image base (0x10000000 by
9807 # default) and relocated if they conflict, which is a slow very memory
9808 # consuming and fragmenting process. To avoid this, we pick a random,
9809 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9810 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9811 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9812 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'
9815 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9817 if test "$host_os" = linux-dietlibc
; then
9818 case $cc_basename in
9819 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9822 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9823 && test "$tmp_diet" = no
9825 tmp_addflag
=' $pic_flag'
9826 tmp_sharedflag
='-shared'
9827 case $cc_basename,$host_cpu in
9828 pgcc
*) # Portland Group C compiler
9829 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9830 tmp_addflag
=' $pic_flag'
9832 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9833 # Portland Group f77 and f90 compilers
9834 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9835 tmp_addflag
=' $pic_flag -Mnomain' ;;
9836 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9837 tmp_addflag
=' -i_dynamic' ;;
9838 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9839 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9840 ifc
* | ifort
*) # Intel Fortran compiler
9841 tmp_addflag
=' -nofor_main' ;;
9842 lf95
*) # Lahey Fortran 8.1
9843 whole_archive_flag_spec
=
9844 tmp_sharedflag
='--shared' ;;
9845 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9846 tmp_sharedflag
='-qmkshrobj'
9848 nvcc
*) # Cuda Compiler Driver 2.2
9849 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9850 compiler_needs_object
=yes
9853 case `$CC -V 2>&1 | sed 5q` in
9854 *Sun\ C
*) # Sun C 5.9
9855 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9856 compiler_needs_object
=yes
9857 tmp_sharedflag
='-G' ;;
9858 *Sun\ F
*) # Sun Fortran 8.3
9859 tmp_sharedflag
='-G' ;;
9861 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9863 if test "x$supports_anon_versioning" = xyes
; then
9864 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9865 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9866 echo "local: *; };" >> $output_objdir/$libname.ver~
9867 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9870 case $cc_basename in
9871 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9872 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9873 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9874 hardcode_libdir_flag_spec
=
9875 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9876 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9877 if test "x$supports_anon_versioning" = xyes
; then
9878 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9879 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9880 echo "local: *; };" >> $output_objdir/$libname.ver~
9881 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9891 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9892 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9895 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9896 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9901 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9905 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9906 *** create shared libraries on Solaris systems. Therefore, libtool
9907 *** is disabling shared libraries support. We urge you to upgrade GNU
9908 *** binutils to release 2.9.1 or newer. Another option is to modify
9909 *** your PATH or compiler configuration so that the native linker is
9910 *** used, and then restart.
9913 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9914 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9915 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9921 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9922 case `$LD -v 2>&1` in
9923 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9927 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9928 *** reliably create shared libraries on SCO systems. Therefore, libtool
9929 *** is disabling shared libraries support. We urge you to upgrade GNU
9930 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9931 *** your PATH or compiler configuration so that the native linker is
9932 *** used, and then restart.
9937 # For security reasons, it is highly recommended that you always
9938 # use absolute paths for naming shared libraries, and exclude the
9939 # DT_RUNPATH tag from executables and libraries. But doing so
9940 # requires that you compile everything twice, which is a pain.
9941 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9942 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9943 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9944 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9953 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9956 hardcode_shlibpath_var
=no
9960 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9961 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9962 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9969 if test "$ld_shlibs" = no
; then
9971 hardcode_libdir_flag_spec
=
9972 export_dynamic_flag_spec
=
9973 whole_archive_flag_spec
=
9976 # PORTME fill in a description of your system's linker (not GNU ld)
9979 allow_undefined_flag
=unsupported
9980 always_export_symbols
=yes
9981 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'
9982 # Note: this linker hardcodes the directories in LIBPATH if there
9983 # are no directories specified by -L.
9984 hardcode_minus_L
=yes
9985 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9986 # Neither direct hardcoding nor static linking is supported with a
9988 hardcode_direct
=unsupported
9993 if test "$host_cpu" = ia64
; then
9994 # On IA64, the linker does run time linking by default, so we don't
9995 # have to do anything special.
9996 aix_use_runtimelinking
=no
9997 exp_sym_flag
='-Bexport'
10000 # If we're using GNU nm, then we don't want the "-C" option.
10001 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10002 # Also, AIX nm treats weak defined symbols like other global
10003 # defined symbols, whereas GNU nm marks them as "W".
10004 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10005 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10007 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10009 aix_use_runtimelinking
=no
10011 # Test if we are trying to use run time linking or normal
10012 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10013 # need to do runtime linking.
10014 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10015 for ld_flag
in $LDFLAGS; do
10016 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10017 aix_use_runtimelinking
=yes
10024 exp_sym_flag
='-bexport'
10025 no_entry_flag
='-bnoentry'
10028 # When large executables or shared objects are built, AIX ld can
10029 # have problems creating the table of contents. If linking a library
10030 # or program results in "error TOC overflow" add -mminimal-toc to
10031 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10032 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10035 hardcode_direct
=yes
10036 hardcode_direct_absolute
=yes
10037 hardcode_libdir_separator
=':'
10038 link_all_deplibs
=yes
10039 file_list_spec
='${wl}-f,'
10041 if test "$GCC" = yes; then
10042 case $host_os in aix4.
[012]|aix4.
[012].
*)
10043 # We only want to do this on AIX 4.2 and lower, the check
10044 # below for broken collect2 doesn't work under 4.3+
10045 collect2name
=`${CC} -print-prog-name=collect2`
10046 if test -f "$collect2name" &&
10047 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10049 # We have reworked collect2
10052 # We have old collect2
10053 hardcode_direct
=unsupported
10054 # It fails to find uninstalled libraries when the uninstalled
10055 # path is not listed in the libpath. Setting hardcode_minus_L
10056 # to unsupported forces relinking
10057 hardcode_minus_L
=yes
10058 hardcode_libdir_flag_spec
='-L$libdir'
10059 hardcode_libdir_separator
=
10063 shared_flag
='-shared'
10064 if test "$aix_use_runtimelinking" = yes; then
10065 shared_flag
="$shared_flag "'${wl}-G'
10069 if test "$host_cpu" = ia64
; then
10070 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10071 # chokes on -Wl,-G. The following line is correct:
10074 if test "$aix_use_runtimelinking" = yes; then
10075 shared_flag
='${wl}-G'
10077 shared_flag
='${wl}-bM:SRE'
10082 export_dynamic_flag_spec
='${wl}-bexpall'
10083 # It seems that -bexpall does not export symbols beginning with
10084 # underscore (_), so it is better to generate a list of symbols to export.
10085 always_export_symbols
=yes
10086 if test "$aix_use_runtimelinking" = yes; then
10087 # Warning - without using the other runtime loading flags (-brtl),
10088 # -berok will link without error, but may produce a broken library.
10089 allow_undefined_flag
='-berok'
10090 # Determine the default libpath from the value encoded in an
10091 # empty executable.
10092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10093 /* end confdefs.h. */
10103 if ac_fn_c_try_link
"$LINENO"; then :
10105 lt_aix_libpath_sed
='
10106 /Import File Strings/,/^$/ {
10112 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10113 # Check for a 64-bit object if we didn't find anything.
10114 if test -z "$aix_libpath"; then
10115 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10118 rm -f core conftest.err conftest.
$ac_objext \
10119 conftest
$ac_exeext conftest.
$ac_ext
10120 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10122 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10123 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10125 if test "$host_cpu" = ia64
; then
10126 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10127 allow_undefined_flag
="-z nodefs"
10128 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"
10130 # Determine the default libpath from the value encoded in an
10131 # empty executable.
10132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10133 /* end confdefs.h. */
10143 if ac_fn_c_try_link
"$LINENO"; then :
10145 lt_aix_libpath_sed
='
10146 /Import File Strings/,/^$/ {
10152 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10153 # Check for a 64-bit object if we didn't find anything.
10154 if test -z "$aix_libpath"; then
10155 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10158 rm -f core conftest.err conftest.
$ac_objext \
10159 conftest
$ac_exeext conftest.
$ac_ext
10160 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10162 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10163 # Warning - without using the other run time loading flags,
10164 # -berok will link without error, but may produce a broken library.
10165 no_undefined_flag
=' ${wl}-bernotok'
10166 allow_undefined_flag
=' ${wl}-berok'
10167 if test "$with_gnu_ld" = yes; then
10168 # We only use this code for GNU lds that support --whole-archive.
10169 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10171 # Exported symbols can be pulled into shared objects from archives
10172 whole_archive_flag_spec
='$convenience'
10174 archive_cmds_need_lc
=yes
10175 # This is similar to how AIX traditionally builds its shared libraries.
10176 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'
10184 # see comment about AmigaOS4 .so support
10185 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10186 archive_expsym_cmds
=''
10189 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)'
10190 hardcode_libdir_flag_spec
='-L$libdir'
10191 hardcode_minus_L
=yes
10197 export_dynamic_flag_spec
=-rdynamic
10200 cygwin
* | mingw
* | pw32
* | cegcc
*)
10201 # When not using gcc, we currently assume that we are using
10202 # Microsoft Visual C++.
10203 # hardcode_libdir_flag_spec is actually meaningless, as there is
10204 # no search path for DLLs.
10205 hardcode_libdir_flag_spec
=' '
10206 allow_undefined_flag
=unsupported
10207 # Tell ltmain to make .lib files, not .a files.
10209 # Tell ltmain to make .dll files, not .so files.
10211 # FIXME: Setting linknames here is a bad hack.
10212 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10213 # The linker will automatically build a .lib file if we build a DLL.
10214 old_archive_from_new_cmds
='true'
10215 # FIXME: Should let the user specify the lib program.
10216 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10217 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10218 enable_shared_with_static_runtimes
=yes
10221 darwin
* | rhapsody
*)
10224 archive_cmds_need_lc
=no
10226 hardcode_automatic
=yes
10227 hardcode_shlibpath_var
=unsupported
10228 if test "$lt_cv_ld_force_load" = "yes"; then
10229 whole_archive_flag_spec
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10231 whole_archive_flag_spec
=''
10233 link_all_deplibs
=yes
10234 allow_undefined_flag
="$_lt_dar_allow_undefined"
10235 case $cc_basename in
10236 ifort
*) _lt_dar_can_shared
=yes ;;
10237 *) _lt_dar_can_shared
=$GCC ;;
10239 if test "$_lt_dar_can_shared" = "yes"; then
10240 output_verbose_link_cmd
=func_echo_all
10241 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10242 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10243 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 ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10244 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
10253 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10254 hardcode_libdir_flag_spec
='-L$libdir'
10255 hardcode_shlibpath_var
=no
10258 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10259 # support. Future versions do this automatically, but an explicit c++rt0.o
10260 # does not break anything, and helps significantly (at the cost of a little
10263 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10264 hardcode_libdir_flag_spec
='-R$libdir'
10265 hardcode_direct
=yes
10266 hardcode_shlibpath_var
=no
10269 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10271 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10272 hardcode_direct
=yes
10273 hardcode_minus_L
=yes
10274 hardcode_shlibpath_var
=no
10277 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10278 freebsd
* | dragonfly
*)
10279 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10280 hardcode_libdir_flag_spec
='-R$libdir'
10281 hardcode_direct
=yes
10282 hardcode_shlibpath_var
=no
10286 if test "$GCC" = yes; then
10287 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'
10289 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'
10291 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10292 hardcode_libdir_separator
=:
10293 hardcode_direct
=yes
10295 # hardcode_minus_L: Not really in the search PATH,
10296 # but as the default location of the library.
10297 hardcode_minus_L
=yes
10298 export_dynamic_flag_spec
='${wl}-E'
10302 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10303 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10305 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10307 if test "$with_gnu_ld" = no
; then
10308 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10309 hardcode_libdir_flag_spec_ld
='+b $libdir'
10310 hardcode_libdir_separator
=:
10311 hardcode_direct
=yes
10312 hardcode_direct_absolute
=yes
10313 export_dynamic_flag_spec
='${wl}-E'
10314 # hardcode_minus_L: Not really in the search PATH,
10315 # but as the default location of the library.
10316 hardcode_minus_L
=yes
10321 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10324 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10327 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10330 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10336 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10339 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10343 # Older versions of the 11.00 compiler do not understand -b yet
10344 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10346 $as_echo_n "checking if $CC understands -b... " >&6; }
10347 if ${lt_cv_prog_compiler__b+:} false
; then :
10348 $as_echo_n "(cached) " >&6
10350 lt_cv_prog_compiler__b
=no
10351 save_LDFLAGS
="$LDFLAGS"
10352 LDFLAGS
="$LDFLAGS -b"
10353 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10354 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10355 # The linker can only warn and ignore the option if not recognized
10356 # So say no if there are warnings
10357 if test -s conftest.err
; then
10358 # Append any errors to the config.log.
10359 cat conftest.err
1>&5
10360 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10361 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10362 if diff conftest.exp conftest.er2
>/dev
/null
; then
10363 lt_cv_prog_compiler__b
=yes
10366 lt_cv_prog_compiler__b
=yes
10370 LDFLAGS
="$save_LDFLAGS"
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10374 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10376 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10377 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10379 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10385 if test "$with_gnu_ld" = no
; then
10386 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10387 hardcode_libdir_separator
=:
10392 hardcode_shlibpath_var
=no
10395 hardcode_direct
=yes
10396 hardcode_direct_absolute
=yes
10397 export_dynamic_flag_spec
='${wl}-E'
10399 # hardcode_minus_L: Not really in the search PATH,
10400 # but as the default location of the library.
10401 hardcode_minus_L
=yes
10407 irix5
* | irix6
* | nonstopux
*)
10408 if test "$GCC" = yes; then
10409 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10410 # Try to use the -exported_symbol ld option, if it does not
10411 # work, assume that -exports_file does not work either and
10412 # implicitly export all symbols.
10413 save_LDFLAGS
="$LDFLAGS"
10414 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10416 /* end confdefs.h. */
10419 if ac_fn_c_try_link
"$LINENO"; then :
10420 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10423 rm -f core conftest.err conftest.
$ac_objext \
10424 conftest
$ac_exeext conftest.
$ac_ext
10425 LDFLAGS
="$save_LDFLAGS"
10427 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10428 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10430 archive_cmds_need_lc
='no'
10431 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10432 hardcode_libdir_separator
=:
10434 link_all_deplibs
=yes
10438 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10439 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10441 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10443 hardcode_libdir_flag_spec
='-R$libdir'
10444 hardcode_direct
=yes
10445 hardcode_shlibpath_var
=no
10449 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10450 hardcode_direct
=yes
10451 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10452 hardcode_libdir_separator
=:
10453 hardcode_shlibpath_var
=no
10460 if test -f /usr
/libexec
/ld.so
; then
10461 hardcode_direct
=yes
10462 hardcode_shlibpath_var
=no
10463 hardcode_direct_absolute
=yes
10464 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10465 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10466 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10467 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10468 export_dynamic_flag_spec
='${wl}-E'
10471 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10472 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10473 hardcode_libdir_flag_spec
='-R$libdir'
10476 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10477 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10487 hardcode_libdir_flag_spec
='-L$libdir'
10488 hardcode_minus_L
=yes
10489 allow_undefined_flag
=unsupported
10490 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'
10491 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10495 if test "$GCC" = yes; then
10496 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10497 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10499 allow_undefined_flag
=' -expect_unresolved \*'
10500 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10502 archive_cmds_need_lc
='no'
10503 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10504 hardcode_libdir_separator
=:
10507 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10508 if test "$GCC" = yes; then
10509 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10510 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10511 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10513 allow_undefined_flag
=' -expect_unresolved \*'
10514 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10515 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~
10516 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10518 # Both c and cxx compiler support -rpath directly
10519 hardcode_libdir_flag_spec
='-rpath $libdir'
10521 archive_cmds_need_lc
='no'
10522 hardcode_libdir_separator
=:
10526 no_undefined_flag
=' -z defs'
10527 if test "$GCC" = yes; then
10529 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10530 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10531 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10533 case `$CC -V 2>&1` in
10536 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10537 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10538 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10542 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10543 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10544 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10548 hardcode_libdir_flag_spec
='-R$libdir'
10549 hardcode_shlibpath_var
=no
10551 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10553 # The compiler driver will combine and reorder linker options,
10554 # but understands `-z linker_flag'. GCC discards it without `$wl',
10555 # but is careful enough not to reorder.
10556 # Supported since Solaris 2.6 (maybe 2.5.1?)
10557 if test "$GCC" = yes; then
10558 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10560 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10564 link_all_deplibs
=yes
10568 if test "x$host_vendor" = xsequent
; then
10569 # Use $CC to link under sequent, because it throws in some extra .o
10570 # files that make .init and .fini sections work.
10571 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10573 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10575 hardcode_libdir_flag_spec
='-L$libdir'
10576 hardcode_direct
=yes
10577 hardcode_minus_L
=yes
10578 hardcode_shlibpath_var
=no
10582 case $host_vendor in
10584 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10585 hardcode_direct
=yes # is this really true???
10588 ## LD is ld it makes a PLAMLIB
10589 ## CC just makes a GrossModule.
10590 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10591 reload_cmds
='$CC -r -o $output$reload_objs'
10595 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10596 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10599 runpath_var
='LD_RUN_PATH'
10600 hardcode_shlibpath_var
=no
10604 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10605 hardcode_shlibpath_var
=no
10606 export_dynamic_flag_spec
='-Bexport'
10610 if test -d /usr
/nec
; then
10611 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10612 hardcode_shlibpath_var
=no
10613 runpath_var
=LD_RUN_PATH
10614 hardcode_runpath_var
=yes
10619 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10620 no_undefined_flag
='${wl}-z,text'
10621 archive_cmds_need_lc
=no
10622 hardcode_shlibpath_var
=no
10623 runpath_var
='LD_RUN_PATH'
10625 if test "$GCC" = yes; then
10626 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10627 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10629 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10630 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10634 sysv5
* | sco3.2v5
* | sco5v6
*)
10635 # Note: We can NOT use -z defs as we might desire, because we do not
10636 # link with -lc, and that would cause any symbols used from libc to
10637 # always be unresolved, which means just about no library would
10638 # ever link correctly. If we're not using GNU ld we use -z text
10639 # though, which does catch some bad symbols but isn't as heavy-handed
10641 no_undefined_flag
='${wl}-z,text'
10642 allow_undefined_flag
='${wl}-z,nodefs'
10643 archive_cmds_need_lc
=no
10644 hardcode_shlibpath_var
=no
10645 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10646 hardcode_libdir_separator
=':'
10647 link_all_deplibs
=yes
10648 export_dynamic_flag_spec
='${wl}-Bexport'
10649 runpath_var
='LD_RUN_PATH'
10651 if test "$GCC" = yes; then
10652 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10653 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10655 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10656 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10661 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10662 hardcode_libdir_flag_spec
='-L$libdir'
10663 hardcode_shlibpath_var
=no
10671 if test x
$host_vendor = xsni
; then
10673 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10674 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10681 $as_echo "$ld_shlibs" >&6; }
10682 test "$ld_shlibs" = no
&& can_build_shared
=no
10684 with_gnu_ld
=$with_gnu_ld
10701 # Do we need to explicitly link libc?
10703 case "x$archive_cmds_need_lc" in
10705 # Assume -lc should be added
10706 archive_cmds_need_lc
=yes
10708 if test "$enable_shared" = yes && test "$GCC" = yes; then
10709 case $archive_cmds in
10711 # FIXME: we may have to deal with multi-command sequences.
10714 # Test whether the compiler implicitly links with -lc since on some
10715 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10716 # to ld, don't add -lc before -lgcc.
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10718 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10719 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10720 $as_echo_n "(cached) " >&6
10723 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10725 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10726 (eval $ac_compile) 2>&5
10728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10729 test $ac_status = 0; } 2>conftest.err
; then
10732 libobjs
=conftest.
$ac_objext
10734 wl
=$lt_prog_compiler_wl
10735 pic_flag
=$lt_prog_compiler_pic
10741 lt_save_allow_undefined_flag
=$allow_undefined_flag
10742 allow_undefined_flag
=
10743 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10744 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10747 test $ac_status = 0; }
10749 lt_cv_archive_cmds_need_lc
=no
10751 lt_cv_archive_cmds_need_lc
=yes
10753 allow_undefined_flag
=$lt_save_allow_undefined_flag
10755 cat conftest.err
1>&5
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10761 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10762 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10926 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10928 if test "$GCC" = yes; then
10930 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10931 *) lt_awk_arg
="/^libraries:/" ;;
10934 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10935 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10937 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10938 case $lt_search_path_spec in
10940 # if the path contains ";" then we assume it to be the separator
10941 # otherwise default to the standard path separator (i.e. ":") - it is
10942 # assumed that no part of a normal pathname contains ";" but that should
10943 # okay in the real world where ";" in dirpaths is itself problematic.
10944 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10947 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10950 # Ok, now we have the path, separated by spaces, we can step through it
10951 # and add multilib dir if necessary.
10952 lt_tmp_lt_search_path_spec
=
10953 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10954 for lt_sys_path
in $lt_search_path_spec; do
10955 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10956 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10958 test -d "$lt_sys_path" && \
10959 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10962 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10963 BEGIN {RS=" "; FS="/|\n";} {
10966 for (lt_i = NF; lt_i > 0; lt_i--) {
10967 if ($lt_i != "" && $lt_i != ".") {
10968 if ($lt_i == "..") {
10971 if (lt_count == 0) {
10972 lt_foo="/" $lt_i lt_foo;
10979 if (lt_foo != "") { lt_freq[lt_foo]++; }
10980 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10982 # AWK program above erroneously prepends '/' to C:/dos/paths
10985 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10986 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10988 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10990 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10992 library_names_spec
=
10993 libname_spec
='lib$name'
10997 postuninstall_cmds
=
11001 shlibpath_overrides_runpath
=unknown
11003 dynamic_linker
="$host_os ld.so"
11004 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11005 need_lib_prefix
=unknown
11006 hardcode_into_libs
=no
11008 # when you set need_version to no, make sure it does not cause -set_version
11009 # flags to be left without arguments
11010 need_version
=unknown
11015 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11016 shlibpath_var
=LIBPATH
11018 # AIX 3 has no versioning support, so we append a major version to the name.
11019 soname_spec
='${libname}${release}${shared_ext}$major'
11026 hardcode_into_libs
=yes
11027 if test "$host_cpu" = ia64
; then
11028 # AIX 5 supports IA64
11029 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11030 shlibpath_var
=LD_LIBRARY_PATH
11032 # With GCC up to 2.95.x, collect2 would create an import file
11033 # for dependence libraries. The import file would start with
11034 # the line `#! .'. This would cause the generated library to
11035 # depend on `.', always an invalid library. This was fixed in
11036 # development snapshots of GCC prior to 3.0.
11038 aix4 | aix4.
[01] | aix4.
[01].
*)
11039 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11041 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11044 can_build_shared
=no
11048 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11049 # soname into executable. Probably we can add versioning support to
11050 # collect2, so additional links can be useful in future.
11051 if test "$aix_use_runtimelinking" = yes; then
11052 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11053 # instead of lib<name>.a to let people know that these are not
11054 # typical AIX shared libraries.
11055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11057 # We preserve .a as extension for shared libraries through AIX4.2
11058 # and later when we are not doing run time linking.
11059 library_names_spec
='${libname}${release}.a $libname.a'
11060 soname_spec
='${libname}${release}${shared_ext}$major'
11062 shlibpath_var
=LIBPATH
11069 # Since July 2007 AmigaOS4 officially supports .so libraries.
11070 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11071 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11074 library_names_spec
='$libname.ixlibrary $libname.a'
11075 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11076 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
11082 library_names_spec
='${libname}${shared_ext}'
11083 dynamic_linker
="$host_os ld.so"
11084 shlibpath_var
=LIBRARY_PATH
11090 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11091 soname_spec
='${libname}${release}${shared_ext}$major'
11092 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11093 shlibpath_var
=LD_LIBRARY_PATH
11094 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11095 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11096 # the default ld.so.conf also contains /usr/contrib/lib and
11097 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11098 # libtool to hard-code these into programs
11101 cygwin
* | mingw
* | pw32
* | cegcc
*)
11102 version_type
=windows
11107 case $GCC,$host_os in
11108 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11109 library_names_spec
='$libname.dll.a'
11110 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11111 postinstall_cmds
='base_file=`basename \${file}`~
11112 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11113 dldir=$destdir/`dirname \$dlpath`~
11114 test -d \$dldir || mkdir -p \$dldir~
11115 $install_prog $dir/$dlname \$dldir/$dlname~
11116 chmod a+x \$dldir/$dlname~
11117 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11118 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11120 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11121 dlpath=$dir/\$dldll~
11123 shlibpath_overrides_runpath
=yes
11127 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11128 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11130 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11133 # MinGW DLLs use traditional 'lib' prefix
11134 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11137 # pw32 DLLs use 'pw' prefix rather than 'lib'
11138 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11144 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11147 dynamic_linker
='Win32 ld.exe'
11148 # FIXME: first we should search . and the directory the executable is in
11152 darwin
* | rhapsody
*)
11153 dynamic_linker
="$host_os dyld"
11154 version_type
=darwin
11157 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11158 soname_spec
='${libname}${release}${major}$shared_ext'
11159 shlibpath_overrides_runpath
=yes
11160 shlibpath_var
=DYLD_LIBRARY_PATH
11161 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11163 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11164 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11171 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11172 soname_spec
='${libname}${release}${shared_ext}$major'
11173 shlibpath_var
=LD_LIBRARY_PATH
11176 freebsd
* | dragonfly
*)
11177 # DragonFly does not have aout. When/if they implement a new
11178 # versioning mechanism, adjust this.
11179 if test -x /usr
/bin
/objformat
; then
11180 objformat
=`/usr/bin/objformat`
11183 freebsd
[23].
*) objformat
=aout
;;
11184 *) objformat
=elf
;;
11187 version_type
=freebsd-
$objformat
11188 case $version_type in
11190 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11195 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11199 shlibpath_var
=LD_LIBRARY_PATH
11202 shlibpath_overrides_runpath
=yes
11204 freebsd3.
[01]* | freebsdelf3.
[01]*)
11205 shlibpath_overrides_runpath
=yes
11206 hardcode_into_libs
=yes
11208 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11209 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11210 shlibpath_overrides_runpath
=no
11211 hardcode_into_libs
=yes
11213 *) # from 4.6 on, and DragonFly
11214 shlibpath_overrides_runpath
=yes
11215 hardcode_into_libs
=yes
11224 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11225 soname_spec
='${libname}${release}${shared_ext}$major'
11226 shlibpath_var
=LD_LIBRARY_PATH
11227 hardcode_into_libs
=yes
11234 dynamic_linker
="$host_os runtime_loader"
11235 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11236 soname_spec
='${libname}${release}${shared_ext}$major'
11237 shlibpath_var
=LIBRARY_PATH
11238 shlibpath_overrides_runpath
=yes
11239 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11240 hardcode_into_libs
=yes
11243 hpux9
* | hpux10
* | hpux11
*)
11244 # Give a soname corresponding to the major version so that dld.sl refuses to
11245 # link against other versions.
11252 hardcode_into_libs
=yes
11253 dynamic_linker
="$host_os dld.so"
11254 shlibpath_var
=LD_LIBRARY_PATH
11255 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11257 soname_spec
='${libname}${release}${shared_ext}$major'
11258 if test "X$HPUX_IA64_MODE" = X32
; then
11259 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11261 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11263 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11267 hardcode_into_libs
=yes
11268 dynamic_linker
="$host_os dld.sl"
11269 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11270 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11271 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11272 soname_spec
='${libname}${release}${shared_ext}$major'
11273 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11274 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11278 dynamic_linker
="$host_os dld.sl"
11279 shlibpath_var
=SHLIB_PATH
11280 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11281 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11282 soname_spec
='${libname}${release}${shared_ext}$major'
11285 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11286 postinstall_cmds
='chmod 555 $lib'
11287 # or fails outright, so override atomically:
11288 install_override_mode
=555
11295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11296 soname_spec
='${libname}${release}${shared_ext}$major'
11297 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11298 shlibpath_var
=LD_LIBRARY_PATH
11299 shlibpath_overrides_runpath
=no
11300 hardcode_into_libs
=yes
11303 irix5
* | irix6
* | nonstopux
*)
11305 nonstopux
*) version_type
=nonstopux
;;
11307 if test "$lt_cv_prog_gnu_ld" = yes; then
11315 soname_spec
='${libname}${release}${shared_ext}$major'
11316 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11318 irix5
* | nonstopux
*)
11319 libsuff
= shlibsuff
=
11322 case $LD in # libtool.m4 will add one of these switches to LD
11323 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11324 libsuff
= shlibsuff
= libmagic
=32-bit;;
11325 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11326 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11327 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11328 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11329 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11333 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11334 shlibpath_overrides_runpath
=no
11335 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11336 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11337 hardcode_into_libs
=yes
11340 # No shared lib support for Linux oldld, aout, or coff.
11341 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11345 # This must be Linux ELF.
11346 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11351 soname_spec
='${libname}${release}${shared_ext}$major'
11352 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11353 shlibpath_var
=LD_LIBRARY_PATH
11354 shlibpath_overrides_runpath
=no
11356 # Some binutils ld are patched to set DT_RUNPATH
11357 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11358 $as_echo_n "(cached) " >&6
11360 lt_cv_shlibpath_overrides_runpath
=no
11361 save_LDFLAGS
=$LDFLAGS
11362 save_libdir
=$libdir
11363 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11364 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11366 /* end confdefs.h. */
11376 if ac_fn_c_try_link
"$LINENO"; then :
11377 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11378 lt_cv_shlibpath_overrides_runpath
=yes
11381 rm -f core conftest.err conftest.
$ac_objext \
11382 conftest
$ac_exeext conftest.
$ac_ext
11383 LDFLAGS
=$save_LDFLAGS
11384 libdir
=$save_libdir
11388 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11390 # This implies no fast_install, which is unacceptable.
11391 # Some rework will be needed to allow for fast_install
11392 # before this can be enabled.
11393 hardcode_into_libs
=yes
11395 # Append ld.so.conf contents to the search path
11396 if test -f /etc
/ld.so.conf
; then
11397 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/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11398 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11401 # We used to test for /lib/ld.so.1 and disable shared libraries on
11402 # powerpc, because MkLinux only supported shared libraries with the
11403 # GNU dynamic linker. Since this was broken with cross compilers,
11404 # most powerpc-linux boxes support dynamic linking these days and
11405 # people can always --disable-shared, the test was removed, and we
11406 # assume the GNU/Linux dynamic linker is in use.
11407 dynamic_linker
='GNU/Linux ld.so'
11414 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11416 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11417 dynamic_linker
='NetBSD (a.out) ld.so'
11419 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11420 soname_spec
='${libname}${release}${shared_ext}$major'
11421 dynamic_linker
='NetBSD ld.elf_so'
11423 shlibpath_var
=LD_LIBRARY_PATH
11424 shlibpath_overrides_runpath
=yes
11425 hardcode_into_libs
=yes
11430 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11431 shlibpath_var
=LD_LIBRARY_PATH
11432 shlibpath_overrides_runpath
=yes
11439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11440 soname_spec
='${libname}${release}${shared_ext}$major'
11441 shlibpath_var
=LD_LIBRARY_PATH
11442 shlibpath_overrides_runpath
=no
11443 hardcode_into_libs
=yes
11444 dynamic_linker
='ldqnx.so'
11449 sys_lib_dlsearch_path_spec
="/usr/lib"
11451 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11453 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11454 *) need_version
=no
;;
11456 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11457 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11458 shlibpath_var
=LD_LIBRARY_PATH
11459 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11461 openbsd2.
[89] | openbsd2.
[89].
*)
11462 shlibpath_overrides_runpath
=no
11465 shlibpath_overrides_runpath
=yes
11469 shlibpath_overrides_runpath
=yes
11474 libname_spec
='$name'
11477 library_names_spec
='$libname${shared_ext} $libname.a'
11478 dynamic_linker
='OS/2 ld.exe'
11479 shlibpath_var
=LIBPATH
11482 osf3
* | osf4
* | osf5
*)
11486 soname_spec
='${libname}${release}${shared_ext}$major'
11487 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11488 shlibpath_var
=LD_LIBRARY_PATH
11489 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11490 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11501 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11502 soname_spec
='${libname}${release}${shared_ext}$major'
11503 shlibpath_var
=LD_LIBRARY_PATH
11504 shlibpath_overrides_runpath
=yes
11505 hardcode_into_libs
=yes
11506 # ldd complains unless libraries are executable
11507 postinstall_cmds
='chmod +x $lib'
11512 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11513 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11514 shlibpath_var
=LD_LIBRARY_PATH
11515 shlibpath_overrides_runpath
=yes
11516 if test "$with_gnu_ld" = yes; then
11524 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11525 soname_spec
='${libname}${release}${shared_ext}$major'
11526 shlibpath_var
=LD_LIBRARY_PATH
11527 case $host_vendor in
11529 shlibpath_overrides_runpath
=no
11531 runpath_var
=LD_RUN_PATH
11539 shlibpath_overrides_runpath
=no
11540 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11546 if test -d /usr
/nec
;then
11548 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11549 soname_spec
='$libname${shared_ext}.$major'
11550 shlibpath_var
=LD_LIBRARY_PATH
11554 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11555 version_type
=freebsd-elf
11558 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11559 soname_spec
='${libname}${release}${shared_ext}$major'
11560 shlibpath_var
=LD_LIBRARY_PATH
11561 shlibpath_overrides_runpath
=yes
11562 hardcode_into_libs
=yes
11563 if test "$with_gnu_ld" = yes; then
11564 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11566 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11569 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11573 sys_lib_dlsearch_path_spec
='/usr/lib'
11577 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11581 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11582 shlibpath_var
=LD_LIBRARY_PATH
11583 shlibpath_overrides_runpath
=no
11584 hardcode_into_libs
=yes
11589 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11590 soname_spec
='${libname}${release}${shared_ext}$major'
11591 shlibpath_var
=LD_LIBRARY_PATH
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11599 $as_echo "$dynamic_linker" >&6; }
11600 test "$dynamic_linker" = no
&& can_build_shared
=no
11602 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11603 if test "$GCC" = yes; then
11604 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11607 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11608 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11610 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11611 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11706 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11708 if test -n "$hardcode_libdir_flag_spec" ||
11709 test -n "$runpath_var" ||
11710 test "X$hardcode_automatic" = "Xyes" ; then
11712 # We can hardcode non-existent directories.
11713 if test "$hardcode_direct" != no
&&
11714 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11715 # have to relink, otherwise we might link with an installed library
11716 # when we should be linking with a yet-to-be-installed one
11717 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11718 test "$hardcode_minus_L" != no
; then
11719 # Linking always hardcodes the temporary library directory.
11720 hardcode_action
=relink
11722 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11723 hardcode_action
=immediate
11726 # We cannot hardcode anything, or else we can only hardcode existing
11728 hardcode_action
=unsupported
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11731 $as_echo "$hardcode_action" >&6; }
11733 if test "$hardcode_action" = relink ||
11734 test "$inherit_rpath" = yes; then
11735 # Fast installation is not supported
11736 enable_fast_install
=no
11737 elif test "$shlibpath_overrides_runpath" = yes ||
11738 test "$enable_shared" = no
; then
11739 # Fast installation is not necessary
11740 enable_fast_install
=needless
11748 if test "x$enable_dlopen" != xyes
; then
11749 enable_dlopen
=unknown
11750 enable_dlopen_self
=unknown
11751 enable_dlopen_self_static
=unknown
11758 lt_cv_dlopen
="load_add_on"
11760 lt_cv_dlopen_self
=yes
11763 mingw
* | pw32
* | cegcc
*)
11764 lt_cv_dlopen
="LoadLibrary"
11769 lt_cv_dlopen
="dlopen"
11774 # if libdl is installed we need to link against it
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11776 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11777 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11778 $as_echo_n "(cached) " >&6
11780 ac_check_lib_save_LIBS
=$LIBS
11782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11783 /* end confdefs.h. */
11785 /* Override any GCC internal prototype to avoid an error.
11786 Use char because int might match the return type of a GCC
11787 builtin and then its argument prototype would still apply. */
11800 if ac_fn_c_try_link
"$LINENO"; then :
11801 ac_cv_lib_dl_dlopen
=yes
11803 ac_cv_lib_dl_dlopen
=no
11805 rm -f core conftest.err conftest.
$ac_objext \
11806 conftest
$ac_exeext conftest.
$ac_ext
11807 LIBS
=$ac_check_lib_save_LIBS
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11810 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11811 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11812 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11815 lt_cv_dlopen
="dyld"
11817 lt_cv_dlopen_self
=yes
11824 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11825 if test "x$ac_cv_func_shl_load" = xyes
; then :
11826 lt_cv_dlopen
="shl_load"
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11829 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11830 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11831 $as_echo_n "(cached) " >&6
11833 ac_check_lib_save_LIBS
=$LIBS
11835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11836 /* end confdefs.h. */
11838 /* Override any GCC internal prototype to avoid an error.
11839 Use char because int might match the return type of a GCC
11840 builtin and then its argument prototype would still apply. */
11848 return shl_load ();
11853 if ac_fn_c_try_link
"$LINENO"; then :
11854 ac_cv_lib_dld_shl_load
=yes
11856 ac_cv_lib_dld_shl_load
=no
11858 rm -f core conftest.err conftest.
$ac_objext \
11859 conftest
$ac_exeext conftest.
$ac_ext
11860 LIBS
=$ac_check_lib_save_LIBS
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11863 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11864 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11865 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11867 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11868 if test "x$ac_cv_func_dlopen" = xyes
; then :
11869 lt_cv_dlopen
="dlopen"
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11872 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11873 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11874 $as_echo_n "(cached) " >&6
11876 ac_check_lib_save_LIBS
=$LIBS
11878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11879 /* end confdefs.h. */
11881 /* Override any GCC internal prototype to avoid an error.
11882 Use char because int might match the return type of a GCC
11883 builtin and then its argument prototype would still apply. */
11896 if ac_fn_c_try_link
"$LINENO"; then :
11897 ac_cv_lib_dl_dlopen
=yes
11899 ac_cv_lib_dl_dlopen
=no
11901 rm -f core conftest.err conftest.
$ac_objext \
11902 conftest
$ac_exeext conftest.
$ac_ext
11903 LIBS
=$ac_check_lib_save_LIBS
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11906 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11907 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11908 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11911 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11912 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11913 $as_echo_n "(cached) " >&6
11915 ac_check_lib_save_LIBS
=$LIBS
11916 LIBS
="-lsvld $LIBS"
11917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11918 /* end confdefs.h. */
11920 /* Override any GCC internal prototype to avoid an error.
11921 Use char because int might match the return type of a GCC
11922 builtin and then its argument prototype would still apply. */
11935 if ac_fn_c_try_link
"$LINENO"; then :
11936 ac_cv_lib_svld_dlopen
=yes
11938 ac_cv_lib_svld_dlopen
=no
11940 rm -f core conftest.err conftest.
$ac_objext \
11941 conftest
$ac_exeext conftest.
$ac_ext
11942 LIBS
=$ac_check_lib_save_LIBS
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11945 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11946 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11947 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11950 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11951 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11952 $as_echo_n "(cached) " >&6
11954 ac_check_lib_save_LIBS
=$LIBS
11956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11957 /* end confdefs.h. */
11959 /* Override any GCC internal prototype to avoid an error.
11960 Use char because int might match the return type of a GCC
11961 builtin and then its argument prototype would still apply. */
11969 return dld_link ();
11974 if ac_fn_c_try_link
"$LINENO"; then :
11975 ac_cv_lib_dld_dld_link
=yes
11977 ac_cv_lib_dld_dld_link
=no
11979 rm -f core conftest.err conftest.
$ac_objext \
11980 conftest
$ac_exeext conftest.
$ac_ext
11981 LIBS
=$ac_check_lib_save_LIBS
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11984 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11985 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11986 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12007 if test "x$lt_cv_dlopen" != xno
; then
12013 case $lt_cv_dlopen in
12015 save_CPPFLAGS
="$CPPFLAGS"
12016 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12018 save_LDFLAGS
="$LDFLAGS"
12019 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12022 LIBS
="$lt_cv_dlopen_libs $LIBS"
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12025 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12026 if ${lt_cv_dlopen_self+:} false
; then :
12027 $as_echo_n "(cached) " >&6
12029 if test "$cross_compiling" = yes; then :
12030 lt_cv_dlopen_self
=cross
12032 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12033 lt_status
=$lt_dlunknown
12034 cat > conftest.
$ac_ext <<_LT_EOF
12035 #line 12035 "configure"
12036 #include "confdefs.h"
12045 # define LT_DLGLOBAL RTLD_GLOBAL
12048 # define LT_DLGLOBAL DL_GLOBAL
12050 # define LT_DLGLOBAL 0
12054 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12055 find out it does not work in some platform. */
12056 #ifndef LT_DLLAZY_OR_NOW
12058 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12061 # define LT_DLLAZY_OR_NOW DL_LAZY
12064 # define LT_DLLAZY_OR_NOW RTLD_NOW
12067 # define LT_DLLAZY_OR_NOW DL_NOW
12069 # define LT_DLLAZY_OR_NOW 0
12076 /* When -fvisbility=hidden is used, assume the code has been annotated
12077 correspondingly for the symbols needed. */
12078 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12079 void fnord () __attribute__((visibility("default")));
12082 void fnord () { int i=42; }
12085 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12086 int status = $lt_dlunknown;
12090 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12093 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12094 else puts (dlerror ());
12096 /* dlclose (self); */
12104 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12105 (eval $ac_link) 2>&5
12107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12108 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12109 (.
/conftest
; exit; ) >&5 2>/dev
/null
12111 case x
$lt_status in
12112 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12113 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12114 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12117 # compilation failed
12118 lt_cv_dlopen_self
=no
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12126 $as_echo "$lt_cv_dlopen_self" >&6; }
12128 if test "x$lt_cv_dlopen_self" = xyes
; then
12129 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12131 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12132 if ${lt_cv_dlopen_self_static+:} false
; then :
12133 $as_echo_n "(cached) " >&6
12135 if test "$cross_compiling" = yes; then :
12136 lt_cv_dlopen_self_static
=cross
12138 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12139 lt_status
=$lt_dlunknown
12140 cat > conftest.
$ac_ext <<_LT_EOF
12141 #line 12141 "configure"
12142 #include "confdefs.h"
12151 # define LT_DLGLOBAL RTLD_GLOBAL
12154 # define LT_DLGLOBAL DL_GLOBAL
12156 # define LT_DLGLOBAL 0
12160 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12161 find out it does not work in some platform. */
12162 #ifndef LT_DLLAZY_OR_NOW
12164 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12167 # define LT_DLLAZY_OR_NOW DL_LAZY
12170 # define LT_DLLAZY_OR_NOW RTLD_NOW
12173 # define LT_DLLAZY_OR_NOW DL_NOW
12175 # define LT_DLLAZY_OR_NOW 0
12182 /* When -fvisbility=hidden is used, assume the code has been annotated
12183 correspondingly for the symbols needed. */
12184 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12185 void fnord () __attribute__((visibility("default")));
12188 void fnord () { int i=42; }
12191 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12192 int status = $lt_dlunknown;
12196 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12199 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12200 else puts (dlerror ());
12202 /* dlclose (self); */
12210 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12211 (eval $ac_link) 2>&5
12213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12214 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12215 (.
/conftest
; exit; ) >&5 2>/dev
/null
12217 case x
$lt_status in
12218 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12219 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12220 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12223 # compilation failed
12224 lt_cv_dlopen_self_static
=no
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12232 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12235 CPPFLAGS
="$save_CPPFLAGS"
12236 LDFLAGS
="$save_LDFLAGS"
12241 case $lt_cv_dlopen_self in
12242 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12243 *) enable_dlopen_self
=unknown
;;
12246 case $lt_cv_dlopen_self_static in
12247 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12248 *) enable_dlopen_self_static
=unknown
;;
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12271 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12272 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12273 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12274 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12276 $as_echo "yes" >&6; }
12278 # FIXME - insert some real tests, host_os isn't really good enough
12281 if test -n "$STRIP" ; then
12282 striplib
="$STRIP -x"
12283 old_striplib
="$STRIP -S"
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12285 $as_echo "yes" >&6; }
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12288 $as_echo "no" >&6; }
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12293 $as_echo "no" >&6; }
12309 # Report which library types will actually be built
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12311 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12313 $as_echo "$can_build_shared" >&6; }
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12316 $as_echo_n "checking whether to build shared libraries... " >&6; }
12317 test "$can_build_shared" = "no" && enable_shared
=no
12319 # On AIX, shared libraries and static libraries use the same namespace, and
12320 # are all built from PIC.
12323 test "$enable_shared" = yes && enable_static
=no
12324 if test -n "$RANLIB"; then
12325 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12326 postinstall_cmds
='$RANLIB $lib'
12331 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12332 test "$enable_shared" = yes && enable_static
=no
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12337 $as_echo "$enable_shared" >&6; }
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12340 $as_echo_n "checking whether to build static libraries... " >&6; }
12341 # Make sure either enable_shared or enable_static is yes.
12342 test "$enable_shared" = yes || enable_static
=yes
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12344 $as_echo "$enable_static" >&6; }
12351 ac_cpp
='$CPP $CPPFLAGS'
12352 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12353 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12354 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12358 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12359 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12360 (test "X$CXX" != "Xg++"))) ; then
12362 ac_cpp
='$CXXCPP $CPPFLAGS'
12363 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12364 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12365 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12367 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12368 if test -z "$CXXCPP"; then
12369 if ${ac_cv_prog_CXXCPP+:} false
; then :
12370 $as_echo_n "(cached) " >&6
12372 # Double quotes because CXXCPP needs to be expanded
12373 for CXXCPP
in "$CXX -E" "/lib/cpp"
12375 ac_preproc_ok
=false
12376 for ac_cxx_preproc_warn_flag
in '' yes
12378 # Use a header file that comes with gcc, so configuring glibc
12379 # with a fresh cross-compiler works.
12380 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12381 # <limits.h> exists even on freestanding compilers.
12382 # On the NeXT, cc -E runs the code through the compiler's parser,
12383 # not just through cpp. "Syntax error" is here to catch this case.
12384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12385 /* end confdefs.h. */
12387 # include <limits.h>
12389 # include <assert.h>
12393 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12396 # Broken: fails on valid input.
12399 rm -f conftest.err conftest.i conftest.
$ac_ext
12401 # OK, works on sane cases. Now check whether nonexistent headers
12402 # can be detected and how.
12403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12404 /* end confdefs.h. */
12405 #include <ac_nonexistent.h>
12407 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12408 # Broken: success on invalid input.
12411 # Passes both tests.
12415 rm -f conftest.err conftest.i conftest.
$ac_ext
12418 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12419 rm -f conftest.i conftest.err conftest.
$ac_ext
12420 if $ac_preproc_ok; then :
12425 ac_cv_prog_CXXCPP
=$CXXCPP
12428 CXXCPP
=$ac_cv_prog_CXXCPP
12430 ac_cv_prog_CXXCPP
=$CXXCPP
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12433 $as_echo "$CXXCPP" >&6; }
12434 ac_preproc_ok
=false
12435 for ac_cxx_preproc_warn_flag
in '' yes
12437 # Use a header file that comes with gcc, so configuring glibc
12438 # with a fresh cross-compiler works.
12439 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12440 # <limits.h> exists even on freestanding compilers.
12441 # On the NeXT, cc -E runs the code through the compiler's parser,
12442 # not just through cpp. "Syntax error" is here to catch this case.
12443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12444 /* end confdefs.h. */
12446 # include <limits.h>
12448 # include <assert.h>
12452 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12455 # Broken: fails on valid input.
12458 rm -f conftest.err conftest.i conftest.
$ac_ext
12460 # OK, works on sane cases. Now check whether nonexistent headers
12461 # can be detected and how.
12462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12463 /* end confdefs.h. */
12464 #include <ac_nonexistent.h>
12466 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12467 # Broken: success on invalid input.
12470 # Passes both tests.
12474 rm -f conftest.err conftest.i conftest.
$ac_ext
12477 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12478 rm -f conftest.i conftest.err conftest.
$ac_ext
12479 if $ac_preproc_ok; then :
12482 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12483 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12484 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12485 See \`config.log' for more details" "$LINENO" 5; }
12489 ac_cpp
='$CPP $CPPFLAGS'
12490 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12491 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12492 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12495 _lt_caught_CXX_error
=yes
12499 ac_cpp
='$CXXCPP $CPPFLAGS'
12500 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12501 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12502 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12504 archive_cmds_need_lc_CXX
=no
12505 allow_undefined_flag_CXX
=
12506 always_export_symbols_CXX
=no
12507 archive_expsym_cmds_CXX
=
12508 compiler_needs_object_CXX
=no
12509 export_dynamic_flag_spec_CXX
=
12510 hardcode_direct_CXX
=no
12511 hardcode_direct_absolute_CXX
=no
12512 hardcode_libdir_flag_spec_CXX
=
12513 hardcode_libdir_flag_spec_ld_CXX
=
12514 hardcode_libdir_separator_CXX
=
12515 hardcode_minus_L_CXX
=no
12516 hardcode_shlibpath_var_CXX
=unsupported
12517 hardcode_automatic_CXX
=no
12518 inherit_rpath_CXX
=no
12520 module_expsym_cmds_CXX
=
12521 link_all_deplibs_CXX
=unknown
12522 old_archive_cmds_CXX
=$old_archive_cmds
12523 reload_flag_CXX
=$reload_flag
12524 reload_cmds_CXX
=$reload_cmds
12525 no_undefined_flag_CXX
=
12526 whole_archive_flag_spec_CXX
=
12527 enable_shared_with_static_runtimes_CXX
=no
12529 # Source file extension for C++ test sources.
12532 # Object file extension for compiled C++ test sources.
12536 # No sense in running all these tests if we already determined that
12537 # the CXX compiler isn't working. Some variables (like enable_shared)
12538 # are currently assumed to apply to all compilers on this platform,
12539 # and will be corrupted by setting them based on a non-working compiler.
12540 if test "$_lt_caught_CXX_error" != yes; then
12541 # Code to be used in simple compile tests
12542 lt_simple_compile_test_code
="int some_variable = 0;"
12544 # Code to be used in simple link tests
12545 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12547 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12554 # If no C compiler was specified, use CC.
12557 # If no C compiler flags were specified, use CFLAGS.
12558 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12560 # Allow CC to be a program name with arguments.
12564 # save warnings/boilerplate of simple test code
12565 ac_outfile
=conftest.
$ac_objext
12566 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12567 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12568 _lt_compiler_boilerplate
=`cat conftest.err`
12571 ac_outfile
=conftest.
$ac_objext
12572 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12573 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12574 _lt_linker_boilerplate
=`cat conftest.err`
12578 # Allow CC to be a program name with arguments.
12583 lt_save_with_gnu_ld
=$with_gnu_ld
12584 lt_save_path_LD
=$lt_cv_path_LD
12585 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12586 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12588 $as_unset lt_cv_prog_gnu_ld
12590 if test -n "${lt_cv_path_LDCXX+set}"; then
12591 lt_cv_path_LD
=$lt_cv_path_LDCXX
12593 $as_unset lt_cv_path_LD
12595 test -z "${LDCXX+set}" || LD
=$LDCXX
12599 for cc_temp
in $compiler""; do
12601 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12602 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12607 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12610 if test -n "$compiler"; then
12611 # We don't want -fno-exception when compiling C++ code, so set the
12612 # no_builtin_flag separately
12613 if test "$GXX" = yes; then
12614 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12616 lt_prog_compiler_no_builtin_flag_CXX
=
12619 if test "$GXX" = yes; then
12620 # Set up default GNU C++ configuration
12624 # Check whether --with-gnu-ld was given.
12625 if test "${with_gnu_ld+set}" = set; then :
12626 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12632 if test "$GCC" = yes; then
12633 # Check if gcc -print-prog-name=ld gives a path.
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12635 $as_echo_n "checking for ld used by $CC... " >&6; }
12638 # gcc leaves a trailing carriage return which upsets mingw
12639 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12641 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12644 # Accept absolute paths.
12646 re_direlt
='/[^/][^/]*/\.\./'
12647 # Canonicalize the pathname of ld
12648 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12649 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12650 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12652 test -z "$LD" && LD
="$ac_prog"
12655 # If it fails, then pretend we aren't using GCC.
12659 # If it is relative, then search for the first ld in PATH.
12660 with_gnu_ld
=unknown
12663 elif test "$with_gnu_ld" = yes; then
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12665 $as_echo_n "checking for GNU ld... " >&6; }
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12668 $as_echo_n "checking for non-GNU ld... " >&6; }
12670 if ${lt_cv_path_LD+:} false
; then :
12671 $as_echo_n "(cached) " >&6
12673 if test -z "$LD"; then
12674 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12675 for ac_dir
in $PATH; do
12677 test -z "$ac_dir" && ac_dir
=.
12678 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12679 lt_cv_path_LD
="$ac_dir/$ac_prog"
12680 # Check to see if the program is GNU ld. I'd rather use --version,
12681 # but apparently some variants of GNU ld only accept -v.
12682 # Break only if it was the GNU/non-GNU ld that we prefer.
12683 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12684 *GNU
* |
*'with BFD'*)
12685 test "$with_gnu_ld" != no
&& break
12688 test "$with_gnu_ld" != yes && break
12695 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12699 LD
="$lt_cv_path_LD"
12700 if test -n "$LD"; then
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12702 $as_echo "$LD" >&6; }
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12705 $as_echo "no" >&6; }
12707 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12709 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12710 if ${lt_cv_prog_gnu_ld+:} false
; then :
12711 $as_echo_n "(cached) " >&6
12713 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12714 case `$LD -v 2>&1 </dev/null` in
12715 *GNU
* |
*'with BFD'*)
12716 lt_cv_prog_gnu_ld
=yes
12719 lt_cv_prog_gnu_ld
=no
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12724 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12725 with_gnu_ld
=$lt_cv_prog_gnu_ld
12733 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12734 # archiving commands below assume that GNU ld is being used.
12735 if test "$with_gnu_ld" = yes; then
12736 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12737 archive_expsym_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12739 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12740 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12742 # If archive_cmds runs LD, not CC, wlarc should be empty
12743 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12744 # investigate it a little bit more. (MM)
12747 # ancient GNU ld didn't support --whole-archive et. al.
12748 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12749 $GREP 'no-whole-archive' > /dev
/null
; then
12750 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12752 whole_archive_flag_spec_CXX
=
12758 # A generic and very simple default shared library creation
12759 # command for GNU C++ for the case where it uses the native
12760 # linker, instead of GNU ld. If possible, this setting should
12761 # overridden to take advantage of the native linker features on
12762 # the platform it is being used on.
12763 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12766 # Commands to make compiler produce verbose output that lists
12767 # what "hidden" libraries, object files and flags are used when
12768 # linking a shared library.
12769 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12777 # PORTME: fill in a description of your system's C++ link characteristics
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12779 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12783 # FIXME: insert proper C++ library support
12787 if test "$host_cpu" = ia64
; then
12788 # On IA64, the linker does run time linking by default, so we don't
12789 # have to do anything special.
12790 aix_use_runtimelinking
=no
12791 exp_sym_flag
='-Bexport'
12794 aix_use_runtimelinking
=no
12796 # Test if we are trying to use run time linking or normal
12797 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12798 # need to do runtime linking.
12799 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12800 for ld_flag
in $LDFLAGS; do
12803 aix_use_runtimelinking
=yes
12811 exp_sym_flag
='-bexport'
12812 no_entry_flag
='-bnoentry'
12815 # When large executables or shared objects are built, AIX ld can
12816 # have problems creating the table of contents. If linking a library
12817 # or program results in "error TOC overflow" add -mminimal-toc to
12818 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12819 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12821 archive_cmds_CXX
=''
12822 hardcode_direct_CXX
=yes
12823 hardcode_direct_absolute_CXX
=yes
12824 hardcode_libdir_separator_CXX
=':'
12825 link_all_deplibs_CXX
=yes
12826 file_list_spec_CXX
='${wl}-f,'
12828 if test "$GXX" = yes; then
12829 case $host_os in aix4.
[012]|aix4.
[012].
*)
12830 # We only want to do this on AIX 4.2 and lower, the check
12831 # below for broken collect2 doesn't work under 4.3+
12832 collect2name
=`${CC} -print-prog-name=collect2`
12833 if test -f "$collect2name" &&
12834 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12836 # We have reworked collect2
12839 # We have old collect2
12840 hardcode_direct_CXX
=unsupported
12841 # It fails to find uninstalled libraries when the uninstalled
12842 # path is not listed in the libpath. Setting hardcode_minus_L
12843 # to unsupported forces relinking
12844 hardcode_minus_L_CXX
=yes
12845 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12846 hardcode_libdir_separator_CXX
=
12849 shared_flag
='-shared'
12850 if test "$aix_use_runtimelinking" = yes; then
12851 shared_flag
="$shared_flag "'${wl}-G'
12855 if test "$host_cpu" = ia64
; then
12856 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12857 # chokes on -Wl,-G. The following line is correct:
12860 if test "$aix_use_runtimelinking" = yes; then
12861 shared_flag
='${wl}-G'
12863 shared_flag
='${wl}-bM:SRE'
12868 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12869 # It seems that -bexpall does not export symbols beginning with
12870 # underscore (_), so it is better to generate a list of symbols to
12872 always_export_symbols_CXX
=yes
12873 if test "$aix_use_runtimelinking" = yes; then
12874 # Warning - without using the other runtime loading flags (-brtl),
12875 # -berok will link without error, but may produce a broken library.
12876 allow_undefined_flag_CXX
='-berok'
12877 # Determine the default libpath from the value encoded in an empty
12879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12880 /* end confdefs.h. */
12890 if ac_fn_cxx_try_link
"$LINENO"; then :
12892 lt_aix_libpath_sed
='
12893 /Import File Strings/,/^$/ {
12899 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12900 # Check for a 64-bit object if we didn't find anything.
12901 if test -z "$aix_libpath"; then
12902 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12905 rm -f core conftest.err conftest.
$ac_objext \
12906 conftest
$ac_exeext conftest.
$ac_ext
12907 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12909 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12911 archive_expsym_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12913 if test "$host_cpu" = ia64
; then
12914 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12915 allow_undefined_flag_CXX
="-z nodefs"
12916 archive_expsym_cmds_CXX
="\$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"
12918 # Determine the default libpath from the value encoded in an
12919 # empty executable.
12920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12921 /* end confdefs.h. */
12931 if ac_fn_cxx_try_link
"$LINENO"; then :
12933 lt_aix_libpath_sed
='
12934 /Import File Strings/,/^$/ {
12940 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12941 # Check for a 64-bit object if we didn't find anything.
12942 if test -z "$aix_libpath"; then
12943 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12946 rm -f core conftest.err conftest.
$ac_objext \
12947 conftest
$ac_exeext conftest.
$ac_ext
12948 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12950 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12951 # Warning - without using the other run time loading flags,
12952 # -berok will link without error, but may produce a broken library.
12953 no_undefined_flag_CXX
=' ${wl}-bernotok'
12954 allow_undefined_flag_CXX
=' ${wl}-berok'
12955 if test "$with_gnu_ld" = yes; then
12956 # We only use this code for GNU lds that support --whole-archive.
12957 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12959 # Exported symbols can be pulled into shared objects from archives
12960 whole_archive_flag_spec_CXX
='$convenience'
12962 archive_cmds_need_lc_CXX
=yes
12963 # This is similar to how AIX traditionally builds its shared
12965 archive_expsym_cmds_CXX
="\$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'
12971 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12972 allow_undefined_flag_CXX
=unsupported
12973 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12974 # support --undefined. This deserves some investigation. FIXME
12975 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12982 case $cc_basename in
12984 # FIXME: insert proper C++ library support
12990 cygwin
* | mingw
* | pw32
* | cegcc
*)
12991 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12992 # as there is no search path for DLLs.
12993 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12994 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12995 allow_undefined_flag_CXX
=unsupported
12996 always_export_symbols_CXX
=no
12997 enable_shared_with_static_runtimes_CXX
=yes
12999 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13000 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13001 # If the export-symbols file already is a .def file (1st line
13002 # is EXPORTS), use it as is; otherwise, prepend...
13003 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13004 cp $export_symbols $output_objdir/$soname.def;
13006 echo EXPORTS > $output_objdir/$soname.def;
13007 cat $export_symbols >> $output_objdir/$soname.def;
13009 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13014 darwin
* | rhapsody
*)
13017 archive_cmds_need_lc_CXX
=no
13018 hardcode_direct_CXX
=no
13019 hardcode_automatic_CXX
=yes
13020 hardcode_shlibpath_var_CXX
=unsupported
13021 if test "$lt_cv_ld_force_load" = "yes"; then
13022 whole_archive_flag_spec_CXX
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13024 whole_archive_flag_spec_CXX
=''
13026 link_all_deplibs_CXX
=yes
13027 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13028 case $cc_basename in
13029 ifort
*) _lt_dar_can_shared
=yes ;;
13030 *) _lt_dar_can_shared
=$GCC ;;
13032 if test "$_lt_dar_can_shared" = "yes"; then
13033 output_verbose_link_cmd
=func_echo_all
13034 archive_cmds_CXX
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13035 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13036 archive_expsym_cmds_CXX
="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 ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
13037 module_expsym_cmds_CXX
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
13038 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13039 archive_cmds_CXX
="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
13040 archive_expsym_cmds_CXX
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
13050 case $cc_basename in
13052 # FIXME: insert proper C++ library support
13056 # Green Hills C++ Compiler
13057 # FIXME: insert proper C++ library support
13061 # FIXME: insert proper C++ library support
13068 # C++ shared libraries reported to be fairly broken before
13074 archive_cmds_need_lc_CXX
=no
13077 freebsd
* | dragonfly
*)
13078 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13087 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13088 link_all_deplibs_CXX
=yes
13092 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13093 hardcode_libdir_separator_CXX
=:
13094 export_dynamic_flag_spec_CXX
='${wl}-E'
13095 hardcode_direct_CXX
=yes
13096 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13097 # but as the default
13098 # location of the library.
13100 case $cc_basename in
13102 # FIXME: insert proper C++ library support
13106 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13107 # Commands to make compiler produce verbose output that lists
13108 # what "hidden" libraries, object files and flags are used when
13109 # linking a shared library.
13111 # There doesn't appear to be a way to prevent this compiler from
13112 # explicitly linking system object files so we need to strip them
13113 # from the output so that they don't get included in the library
13115 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13118 if test "$GXX" = yes; then
13119 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13121 # FIXME: insert proper C++ library support
13129 if test $with_gnu_ld = no
; then
13130 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13131 hardcode_libdir_separator_CXX
=:
13137 export_dynamic_flag_spec_CXX
='${wl}-E'
13143 hardcode_direct_CXX
=no
13144 hardcode_shlibpath_var_CXX
=no
13147 hardcode_direct_CXX
=yes
13148 hardcode_direct_absolute_CXX
=yes
13149 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13150 # but as the default
13151 # location of the library.
13155 case $cc_basename in
13157 # FIXME: insert proper C++ library support
13163 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13166 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13169 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13172 # Commands to make compiler produce verbose output that lists
13173 # what "hidden" libraries, object files and flags are used when
13174 # linking a shared library.
13176 # There doesn't appear to be a way to prevent this compiler from
13177 # explicitly linking system object files so we need to strip them
13178 # from the output so that they don't get included in the library
13180 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13183 if test "$GXX" = yes; then
13184 if test $with_gnu_ld = no
; then
13187 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13190 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13193 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13198 # FIXME: insert proper C++ library support
13206 hardcode_direct_CXX
=no
13207 hardcode_shlibpath_var_CXX
=no
13208 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13209 export_dynamic_flag_spec_CXX
='${wl}-E'
13210 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13211 # Instead, shared libraries are loaded at an image base (0x10000000 by
13212 # default) and relocated if they conflict, which is a slow very memory
13213 # consuming and fragmenting process. To avoid this, we pick a random,
13214 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13215 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13216 archive_cmds_CXX
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13217 archive_expsym_cmds_CXX
='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'
13220 case $cc_basename in
13223 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13225 # Archives containing C++ object files must be created using
13226 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13227 # necessary to make sure instantiated templates are included
13229 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13232 if test "$GXX" = yes; then
13233 if test "$with_gnu_ld" = no
; then
13234 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13236 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13239 link_all_deplibs_CXX
=yes
13242 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13243 hardcode_libdir_separator_CXX
=:
13244 inherit_rpath_CXX
=yes
13247 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13248 case $cc_basename in
13250 # Kuck and Associates, Inc. (KAI) C++ Compiler
13252 # KCC will only create a shared library if the output file
13253 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13254 # to its proper name (with version) after linking.
13255 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13256 archive_expsym_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
13257 # Commands to make compiler produce verbose output that lists
13258 # what "hidden" libraries, object files and flags are used when
13259 # linking a shared library.
13261 # There doesn't appear to be a way to prevent this compiler from
13262 # explicitly linking system object files so we need to strip them
13263 # from the output so that they don't get included in the library
13265 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13267 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13268 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13270 # Archives containing C++ object files must be created using
13271 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13272 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13277 # version 8.0 and above of icpc choke on multiply defined symbols
13278 # if we add $predep_objects and $postdep_objects, however 7.1 and
13279 # earlier do not add the objects themselves.
13280 case `$CC -V 2>&1` in
13282 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13283 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13285 *) # Version 8.0 or newer
13288 ia64
*) tmp_idyn
=' -i_dynamic';;
13290 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13291 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13294 archive_cmds_need_lc_CXX
=no
13295 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13296 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13297 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13300 # Portland Group C++ compiler
13302 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13303 prelink_cmds_CXX
='tpldir=Template.dir~
13305 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13306 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13307 old_archive_cmds_CXX
='tpldir=Template.dir~
13309 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13310 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13312 archive_cmds_CXX
='tpldir=Template.dir~
13314 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13315 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13316 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13318 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13319 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13321 *) # Version 6 and above use weak symbols
13322 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13323 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13327 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13328 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13329 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13333 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13334 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
13336 runpath_var
=LD_RUN_PATH
13337 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13338 hardcode_libdir_separator_CXX
=:
13340 # Commands to make compiler produce verbose output that lists
13341 # what "hidden" libraries, object files and flags are used when
13342 # linking a shared library.
13344 # There doesn't appear to be a way to prevent this compiler from
13345 # explicitly linking system object files so we need to strip them
13346 # from the output so that they don't get included in the library
13348 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13350 xl
* | mpixl
* | bgxl
*)
13351 # IBM XL 8.0 on PPC, with GNU ld
13352 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13353 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13354 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13355 if test "x$supports_anon_versioning" = xyes
; then
13356 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13357 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13358 echo "local: *; };" >> $output_objdir/$libname.ver~
13359 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13363 case `$CC -V 2>&1 | sed 5q` in
13366 no_undefined_flag_CXX
=' -zdefs'
13367 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13368 archive_expsym_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13369 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13370 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13371 compiler_needs_object_CXX
=yes
13373 # Not sure whether something based on
13374 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13376 output_verbose_link_cmd
='func_echo_all'
13378 # Archives containing C++ object files must be created using
13379 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13380 # necessary to make sure instantiated templates are included
13382 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13390 # FIXME: insert proper C++ library support
13395 # FIXME: insert proper C++ library support
13400 case $cc_basename in
13402 # FIXME: insert proper C++ library support
13406 # FIXME: insert proper C++ library support
13413 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13414 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13416 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13417 hardcode_direct_CXX
=yes
13418 hardcode_shlibpath_var_CXX
=no
13420 # Workaround some broken pre-1.5 toolchains
13421 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13429 # C++ shared libraries are fairly broken
13434 if test -f /usr
/libexec
/ld.so
; then
13435 hardcode_direct_CXX
=yes
13436 hardcode_shlibpath_var_CXX
=no
13437 hardcode_direct_absolute_CXX
=yes
13438 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13439 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13440 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13441 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13442 export_dynamic_flag_spec_CXX
='${wl}-E'
13443 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13445 output_verbose_link_cmd
=func_echo_all
13451 osf3
* | osf4
* | osf5
*)
13452 case $cc_basename in
13454 # Kuck and Associates, Inc. (KAI) C++ Compiler
13456 # KCC will only create a shared library if the output file
13457 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13458 # to its proper name (with version) after linking.
13459 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13461 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13462 hardcode_libdir_separator_CXX
=:
13464 # Archives containing C++ object files must be created using
13465 # the KAI C++ compiler.
13467 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13468 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13472 # Rational C++ 2.4.1
13473 # FIXME: insert proper C++ library support
13479 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13480 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13481 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13484 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13485 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13486 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13487 echo "-hidden">> $lib.exp~
13488 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13490 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13494 hardcode_libdir_separator_CXX
=:
13496 # Commands to make compiler produce verbose output that lists
13497 # what "hidden" libraries, object files and flags are used when
13498 # linking a shared library.
13500 # There doesn't appear to be a way to prevent this compiler from
13501 # explicitly linking system object files so we need to strip them
13502 # from the output so that they don't get included in the library
13504 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13507 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13508 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13511 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13514 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13518 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13519 hardcode_libdir_separator_CXX
=:
13521 # Commands to make compiler produce verbose output that lists
13522 # what "hidden" libraries, object files and flags are used when
13523 # linking a shared library.
13524 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13527 # FIXME: insert proper C++ library support
13535 # FIXME: insert proper C++ library support
13540 case $cc_basename in
13543 # FIXME: insert proper C++ library support
13548 # FIXME: insert proper C++ library support
13552 # FIXME: insert proper C++ library support
13559 case $cc_basename in
13561 # Sun C++ 4.2, 5.x and Centerline C++
13562 archive_cmds_need_lc_CXX
=yes
13563 no_undefined_flag_CXX
=' -zdefs'
13564 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13565 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13566 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13568 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13569 hardcode_shlibpath_var_CXX
=no
13571 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13573 # The compiler driver will combine and reorder linker options,
13574 # but understands `-z linker_flag'.
13575 # Supported since Solaris 2.6 (maybe 2.5.1?)
13576 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13579 link_all_deplibs_CXX
=yes
13581 output_verbose_link_cmd
='func_echo_all'
13583 # Archives containing C++ object files must be created using
13584 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13585 # necessary to make sure instantiated templates are included
13587 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13590 # Green Hills C++ Compiler
13591 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13593 # The C++ compiler must be used to create the archive.
13594 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13597 # GNU C++ compiler with Solaris linker
13598 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13599 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13600 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13601 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13602 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13603 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13605 # Commands to make compiler produce verbose output that lists
13606 # what "hidden" libraries, object files and flags are used when
13607 # linking a shared library.
13608 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13610 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13612 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13613 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13614 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13616 # Commands to make compiler produce verbose output that lists
13617 # what "hidden" libraries, object files and flags are used when
13618 # linking a shared library.
13619 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13622 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13624 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13626 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13634 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13635 no_undefined_flag_CXX
='${wl}-z,text'
13636 archive_cmds_need_lc_CXX
=no
13637 hardcode_shlibpath_var_CXX
=no
13638 runpath_var
='LD_RUN_PATH'
13640 case $cc_basename in
13642 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13643 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13646 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13647 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13652 sysv5
* | sco3.2v5
* | sco5v6
*)
13653 # Note: We can NOT use -z defs as we might desire, because we do not
13654 # link with -lc, and that would cause any symbols used from libc to
13655 # always be unresolved, which means just about no library would
13656 # ever link correctly. If we're not using GNU ld we use -z text
13657 # though, which does catch some bad symbols but isn't as heavy-handed
13659 no_undefined_flag_CXX
='${wl}-z,text'
13660 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13661 archive_cmds_need_lc_CXX
=no
13662 hardcode_shlibpath_var_CXX
=no
13663 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13664 hardcode_libdir_separator_CXX
=':'
13665 link_all_deplibs_CXX
=yes
13666 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13667 runpath_var
='LD_RUN_PATH'
13669 case $cc_basename in
13671 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13672 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13673 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13674 '"$old_archive_cmds_CXX"
13675 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13676 '"$reload_cmds_CXX"
13679 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13680 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13686 case $cc_basename in
13688 # NonStop-UX NCC 3.20
13689 # FIXME: insert proper C++ library support
13693 # FIXME: insert proper C++ library support
13700 # FIXME: insert proper C++ library support
13705 # FIXME: insert proper C++ library support
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13711 $as_echo "$ld_shlibs_CXX" >&6; }
13712 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13718 ## There is no encapsulation within the following macros, do not change
13719 ## the running order or otherwise move them around unless you know exactly
13720 ## what you are doing...
13721 # Dependencies to place before and after the object being linked:
13722 predep_objects_CXX
=
13723 postdep_objects_CXX
=
13726 compiler_lib_search_path_CXX
=
13728 cat > conftest.
$ac_ext <<_LT_EOF
13732 Foo (void) { a = 0; }
13738 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13739 (eval $ac_compile) 2>&5
13741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13742 test $ac_status = 0; }; then
13743 # Parse the compiler output and extract the necessary
13744 # objects, libraries and library flags.
13746 # Sentinel used to keep track of whether or not we are before
13747 # the conftest object file.
13748 pre_test_object_deps_done
=no
13750 for p
in `eval "$output_verbose_link_cmd"`; do
13754 # Some compilers place space between "-{L,R}" and the path.
13755 # Remove the space.
13756 if test $p = "-L" ||
13757 test $p = "-R"; then
13764 if test "$pre_test_object_deps_done" = no
; then
13767 # Internal compiler library paths should come after those
13768 # provided the user. The postdeps already come after the
13769 # user supplied libs so there is no need to process them.
13770 if test -z "$compiler_lib_search_path_CXX"; then
13771 compiler_lib_search_path_CXX
="${prev}${p}"
13773 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13776 # The "-l" case would never come before the object being
13777 # linked, so don't bother handling this case.
13780 if test -z "$postdeps_CXX"; then
13781 postdeps_CXX
="${prev}${p}"
13783 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13789 # This assumes that the test object file only shows up
13790 # once in the compiler output.
13791 if test "$p" = "conftest.$objext"; then
13792 pre_test_object_deps_done
=yes
13796 if test "$pre_test_object_deps_done" = no
; then
13797 if test -z "$predep_objects_CXX"; then
13798 predep_objects_CXX
="$p"
13800 predep_objects_CXX
="$predep_objects_CXX $p"
13803 if test -z "$postdep_objects_CXX"; then
13804 postdep_objects_CXX
="$p"
13806 postdep_objects_CXX
="$postdep_objects_CXX $p"
13811 *) ;; # Ignore the rest.
13819 echo "libtool.m4: error: problem compiling CXX test program"
13822 $RM -f confest.
$objext
13824 # PORTME: override above test on systems where it is broken
13827 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13828 # hack all around it, let's just trust "g++" to DTRT.
13829 predep_objects_CXX
=
13830 postdep_objects_CXX
=
13835 case `$CC -V 2>&1 | sed 5q` in
13839 # The more standards-conforming stlport4 library is
13840 # incompatible with the Cstd library. Avoid specifying
13841 # it if it's in CXXFLAGS. Ignore libCrun as
13842 # -library=stlport4 depends on it.
13843 case " $CXX $CXXFLAGS " in
13844 *" -library=stlport4 "*)
13845 solaris_use_stlport4
=yes
13849 if test "$solaris_use_stlport4" != yes; then
13850 postdeps_CXX
='-library=Cstd -library=Crun'
13857 case $cc_basename in
13859 # The more standards-conforming stlport4 library is
13860 # incompatible with the Cstd library. Avoid specifying
13861 # it if it's in CXXFLAGS. Ignore libCrun as
13862 # -library=stlport4 depends on it.
13863 case " $CXX $CXXFLAGS " in
13864 *" -library=stlport4 "*)
13865 solaris_use_stlport4
=yes
13869 # Adding this requires a known-good setup of shared libraries for
13870 # Sun compiler versions before 5.6, else PIC objects from an old
13871 # archive will be linked into the output, leading to subtle bugs.
13872 if test "$solaris_use_stlport4" != yes; then
13873 postdeps_CXX
='-library=Cstd -library=Crun'
13881 case " $postdeps_CXX " in
13882 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13884 compiler_lib_search_dirs_CXX
=
13885 if test -n "${compiler_lib_search_path_CXX}"; then
13886 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13919 lt_prog_compiler_wl_CXX
=
13920 lt_prog_compiler_pic_CXX
=
13921 lt_prog_compiler_static_CXX
=
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13924 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13926 # C++ specific cases for pic, static, wl, etc.
13927 if test "$GXX" = yes; then
13928 lt_prog_compiler_wl_CXX
='-Wl,'
13929 lt_prog_compiler_static_CXX
='-static'
13933 # All AIX code is PIC.
13934 if test "$host_cpu" = ia64
; then
13935 # AIX 5 now supports IA64 processor
13936 lt_prog_compiler_static_CXX
='-Bstatic'
13938 lt_prog_compiler_pic_CXX
='-fPIC'
13944 # see comment about AmigaOS4 .so support
13945 lt_prog_compiler_pic_CXX
='-fPIC'
13948 # FIXME: we need at least 68020 code to build shared libraries, but
13949 # adding the `-m68020' flag to GCC prevents building anything better,
13951 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13956 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13957 # PIC is the default for these OSes.
13959 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13960 # This hack is so that the source file can tell whether it is being
13961 # built for inclusion in a dll (and should export symbols for example).
13962 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13963 # (--disable-auto-import) libraries
13964 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13966 darwin
* | rhapsody
*)
13967 # PIC is the default on this platform
13968 # Common symbols not allowed in MH_DYLIB files
13969 lt_prog_compiler_pic_CXX
='-fno-common'
13972 # DJGPP does not support shared libraries at all
13973 lt_prog_compiler_pic_CXX
=
13976 # PIC is the default for Haiku.
13977 # The "-static" flag exists, but is broken.
13978 lt_prog_compiler_static_CXX
=
13981 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13982 # Instead, we relocate shared libraries at runtime.
13985 if test -d /usr
/nec
; then
13986 lt_prog_compiler_pic_CXX
=-Kconform_pic
13990 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13991 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13992 # sets the default TLS model and affects inlining.
13997 lt_prog_compiler_pic_CXX
='-fPIC'
14002 # QNX uses GNU C++, but need to define -shared option too, otherwise
14003 # it will coredump.
14004 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14007 lt_prog_compiler_pic_CXX
='-fPIC'
14013 # All AIX code is PIC.
14014 if test "$host_cpu" = ia64
; then
14015 # AIX 5 now supports IA64 processor
14016 lt_prog_compiler_static_CXX
='-Bstatic'
14018 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14022 case $cc_basename in
14024 # Green Hills C++ Compiler
14025 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
14030 case $cc_basename in
14032 lt_prog_compiler_pic_CXX
='-KPIC'
14035 # Green Hills C++ Compiler
14036 lt_prog_compiler_pic_CXX
='-pic'
14042 freebsd
* | dragonfly
*)
14043 # FreeBSD uses GNU C++
14045 hpux9
* | hpux10
* | hpux11
*)
14046 case $cc_basename in
14048 lt_prog_compiler_wl_CXX
='-Wl,'
14049 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14050 if test "$host_cpu" != ia64
; then
14051 lt_prog_compiler_pic_CXX
='+Z'
14055 lt_prog_compiler_wl_CXX
='-Wl,'
14056 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14062 lt_prog_compiler_pic_CXX
='+Z'
14071 # This is c89, which is MS Visual C++ (no shared libs)
14072 # Anyone wants to do a port?
14074 irix5
* | irix6
* | nonstopux
*)
14075 case $cc_basename in
14077 lt_prog_compiler_wl_CXX
='-Wl,'
14078 lt_prog_compiler_static_CXX
='-non_shared'
14079 # CC pic flag -KPIC is the default.
14085 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14086 case $cc_basename in
14089 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14090 lt_prog_compiler_pic_CXX
='-fPIC'
14093 # old Intel C++ for x86_64 which still supported -KPIC.
14094 lt_prog_compiler_wl_CXX
='-Wl,'
14095 lt_prog_compiler_pic_CXX
='-KPIC'
14096 lt_prog_compiler_static_CXX
='-static'
14099 # Intel C++, used to be incompatible with GCC.
14100 # ICC 10 doesn't accept -KPIC any more.
14101 lt_prog_compiler_wl_CXX
='-Wl,'
14102 lt_prog_compiler_pic_CXX
='-fPIC'
14103 lt_prog_compiler_static_CXX
='-static'
14106 # Portland Group C++ compiler
14107 lt_prog_compiler_wl_CXX
='-Wl,'
14108 lt_prog_compiler_pic_CXX
='-fpic'
14109 lt_prog_compiler_static_CXX
='-Bstatic'
14113 # Make sure the PIC flag is empty. It appears that all Alpha
14114 # Linux and Compaq Tru64 Unix objects are PIC.
14115 lt_prog_compiler_pic_CXX
=
14116 lt_prog_compiler_static_CXX
='-non_shared'
14118 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14119 # IBM XL 8.0, 9.0 on PPC and BlueGene
14120 lt_prog_compiler_wl_CXX
='-Wl,'
14121 lt_prog_compiler_pic_CXX
='-qpic'
14122 lt_prog_compiler_static_CXX
='-qstaticlink'
14125 case `$CC -V 2>&1 | sed 5q` in
14128 lt_prog_compiler_pic_CXX
='-KPIC'
14129 lt_prog_compiler_static_CXX
='-Bstatic'
14130 lt_prog_compiler_wl_CXX
='-Qoption ld '
14141 case $cc_basename in
14143 lt_prog_compiler_pic_CXX
='-W c,exportall'
14152 # QNX uses GNU C++, but need to define -shared option too, otherwise
14153 # it will coredump.
14154 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14156 osf3
* | osf4
* | osf5
*)
14157 case $cc_basename in
14159 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14162 # Rational C++ 2.4.1
14163 lt_prog_compiler_pic_CXX
='-pic'
14166 # Digital/Compaq C++
14167 lt_prog_compiler_wl_CXX
='-Wl,'
14168 # Make sure the PIC flag is empty. It appears that all Alpha
14169 # Linux and Compaq Tru64 Unix objects are PIC.
14170 lt_prog_compiler_pic_CXX
=
14171 lt_prog_compiler_static_CXX
='-non_shared'
14180 case $cc_basename in
14182 # Sun C++ 4.2, 5.x and Centerline C++
14183 lt_prog_compiler_pic_CXX
='-KPIC'
14184 lt_prog_compiler_static_CXX
='-Bstatic'
14185 lt_prog_compiler_wl_CXX
='-Qoption ld '
14188 # Green Hills C++ Compiler
14189 lt_prog_compiler_pic_CXX
='-PIC'
14196 case $cc_basename in
14199 lt_prog_compiler_pic_CXX
='-pic'
14200 lt_prog_compiler_static_CXX
='-Bstatic'
14204 lt_prog_compiler_pic_CXX
='-pic'
14210 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14211 case $cc_basename in
14213 lt_prog_compiler_wl_CXX
='-Wl,'
14214 lt_prog_compiler_pic_CXX
='-KPIC'
14215 lt_prog_compiler_static_CXX
='-Bstatic'
14220 case $cc_basename in
14222 # NonStop-UX NCC 3.20
14223 lt_prog_compiler_pic_CXX
='-KPIC'
14232 lt_prog_compiler_can_build_shared_CXX
=no
14238 # For platforms which do not support PIC, -DPIC is meaningless:
14240 lt_prog_compiler_pic_CXX
=
14243 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14247 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14252 # Check to make sure the PIC flag actually works.
14254 if test -n "$lt_prog_compiler_pic_CXX"; then
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14256 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14257 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14258 $as_echo_n "(cached) " >&6
14260 lt_cv_prog_compiler_pic_works_CXX
=no
14261 ac_outfile
=conftest.
$ac_objext
14262 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14263 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14264 # Insert the option either (1) after the last *FLAGS variable, or
14265 # (2) before a word containing "conftest.", or (3) at the end.
14266 # Note that $ac_compile itself does not contain backslashes and begins
14267 # with a dollar sign (not a hyphen), so the echo should work correctly.
14268 # The option is referenced via a variable to avoid confusing sed.
14269 lt_compile
=`echo "$ac_compile" | $SED \
14270 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14271 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14272 -e 's:$: $lt_compiler_flag:'`
14273 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14274 (eval "$lt_compile" 2>conftest.err
)
14276 cat conftest.err
>&5
14277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14278 if (exit $ac_status) && test -s "$ac_outfile"; then
14279 # The compiler can only warn and ignore the option if not recognized
14280 # So say no if there are warnings other than the usual output.
14281 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14282 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14283 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14284 lt_cv_prog_compiler_pic_works_CXX
=yes
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14291 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14293 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14294 case $lt_prog_compiler_pic_CXX in
14296 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14299 lt_prog_compiler_pic_CXX
=
14300 lt_prog_compiler_can_build_shared_CXX
=no
14308 # Check to make sure the static flag actually works.
14310 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14312 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14313 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14314 $as_echo_n "(cached) " >&6
14316 lt_cv_prog_compiler_static_works_CXX
=no
14317 save_LDFLAGS
="$LDFLAGS"
14318 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14319 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14320 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14321 # The linker can only warn and ignore the option if not recognized
14322 # So say no if there are warnings
14323 if test -s conftest.err
; then
14324 # Append any errors to the config.log.
14325 cat conftest.err
1>&5
14326 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14327 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14328 if diff conftest.exp conftest.er2
>/dev
/null
; then
14329 lt_cv_prog_compiler_static_works_CXX
=yes
14332 lt_cv_prog_compiler_static_works_CXX
=yes
14336 LDFLAGS
="$save_LDFLAGS"
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14340 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14342 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14345 lt_prog_compiler_static_CXX
=
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14352 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14353 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14354 $as_echo_n "(cached) " >&6
14356 lt_cv_prog_compiler_c_o_CXX
=no
14357 $RM -r conftest
2>/dev
/null
14361 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14363 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14364 # Insert the option either (1) after the last *FLAGS variable, or
14365 # (2) before a word containing "conftest.", or (3) at the end.
14366 # Note that $ac_compile itself does not contain backslashes and begins
14367 # with a dollar sign (not a hyphen), so the echo should work correctly.
14368 lt_compile
=`echo "$ac_compile" | $SED \
14369 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14370 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14371 -e 's:$: $lt_compiler_flag:'`
14372 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14373 (eval "$lt_compile" 2>out
/conftest.err
)
14375 cat out
/conftest.err
>&5
14376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14377 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14379 # The compiler can only warn and ignore the option if not recognized
14380 # So say no if there are warnings
14381 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14382 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14383 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14384 lt_cv_prog_compiler_c_o_CXX
=yes
14389 # SGI C++ compiler will create directory out/ii_files/ for
14390 # template instantiation
14391 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14392 $RM out
/* && rmdir out
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14399 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14404 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14405 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14406 $as_echo_n "(cached) " >&6
14408 lt_cv_prog_compiler_c_o_CXX
=no
14409 $RM -r conftest
2>/dev
/null
14413 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14415 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14416 # Insert the option either (1) after the last *FLAGS variable, or
14417 # (2) before a word containing "conftest.", or (3) at the end.
14418 # Note that $ac_compile itself does not contain backslashes and begins
14419 # with a dollar sign (not a hyphen), so the echo should work correctly.
14420 lt_compile
=`echo "$ac_compile" | $SED \
14421 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14422 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14423 -e 's:$: $lt_compiler_flag:'`
14424 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14425 (eval "$lt_compile" 2>out
/conftest.err
)
14427 cat out
/conftest.err
>&5
14428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14429 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14431 # The compiler can only warn and ignore the option if not recognized
14432 # So say no if there are warnings
14433 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14434 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14435 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14436 lt_cv_prog_compiler_c_o_CXX
=yes
14441 # SGI C++ compiler will create directory out/ii_files/ for
14442 # template instantiation
14443 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14444 $RM out
/* && rmdir out
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14451 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14456 hard_links
="nottested"
14457 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14458 # do not overwrite the value of need_locks provided by the user
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14460 $as_echo_n "checking if we can lock with hard links... " >&6; }
14463 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14465 ln conftest.a conftest.b
2>&5 || hard_links
=no
14466 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14468 $as_echo "$hard_links" >&6; }
14469 if test "$hard_links" = no
; then
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14471 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14481 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14483 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14486 # If we're using GNU nm, then we don't want the "-C" option.
14487 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14488 # Also, AIX nm treats weak defined symbols like other global defined
14489 # symbols, whereas GNU nm marks them as "W".
14490 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14491 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14493 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14497 export_symbols_cmds_CXX
="$ltdll_cmds"
14499 cygwin
* | mingw
* | cegcc
*)
14500 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14503 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14506 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14509 $as_echo "$ld_shlibs_CXX" >&6; }
14510 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14512 with_gnu_ld_CXX
=$with_gnu_ld
14520 # Do we need to explicitly link libc?
14522 case "x$archive_cmds_need_lc_CXX" in
14524 # Assume -lc should be added
14525 archive_cmds_need_lc_CXX
=yes
14527 if test "$enable_shared" = yes && test "$GCC" = yes; then
14528 case $archive_cmds_CXX in
14530 # FIXME: we may have to deal with multi-command sequences.
14533 # Test whether the compiler implicitly links with -lc since on some
14534 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14535 # to ld, don't add -lc before -lgcc.
14536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14537 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14538 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14539 $as_echo_n "(cached) " >&6
14542 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14544 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14545 (eval $ac_compile) 2>&5
14547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14548 test $ac_status = 0; } 2>conftest.err
; then
14551 libobjs
=conftest.
$ac_objext
14553 wl
=$lt_prog_compiler_wl_CXX
14554 pic_flag
=$lt_prog_compiler_pic_CXX
14560 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14561 allow_undefined_flag_CXX
=
14562 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14563 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14566 test $ac_status = 0; }
14568 lt_cv_archive_cmds_need_lc_CXX
=no
14570 lt_cv_archive_cmds_need_lc_CXX
=yes
14572 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14574 cat conftest.err
1>&5
14579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14580 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14581 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14652 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14654 library_names_spec
=
14655 libname_spec
='lib$name'
14659 postuninstall_cmds
=
14663 shlibpath_overrides_runpath
=unknown
14665 dynamic_linker
="$host_os ld.so"
14666 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14667 need_lib_prefix
=unknown
14668 hardcode_into_libs
=no
14670 # when you set need_version to no, make sure it does not cause -set_version
14671 # flags to be left without arguments
14672 need_version
=unknown
14677 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14678 shlibpath_var
=LIBPATH
14680 # AIX 3 has no versioning support, so we append a major version to the name.
14681 soname_spec
='${libname}${release}${shared_ext}$major'
14688 hardcode_into_libs
=yes
14689 if test "$host_cpu" = ia64
; then
14690 # AIX 5 supports IA64
14691 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14692 shlibpath_var
=LD_LIBRARY_PATH
14694 # With GCC up to 2.95.x, collect2 would create an import file
14695 # for dependence libraries. The import file would start with
14696 # the line `#! .'. This would cause the generated library to
14697 # depend on `.', always an invalid library. This was fixed in
14698 # development snapshots of GCC prior to 3.0.
14700 aix4 | aix4.
[01] | aix4.
[01].
*)
14701 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14703 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14706 can_build_shared
=no
14710 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14711 # soname into executable. Probably we can add versioning support to
14712 # collect2, so additional links can be useful in future.
14713 if test "$aix_use_runtimelinking" = yes; then
14714 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14715 # instead of lib<name>.a to let people know that these are not
14716 # typical AIX shared libraries.
14717 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14719 # We preserve .a as extension for shared libraries through AIX4.2
14720 # and later when we are not doing run time linking.
14721 library_names_spec
='${libname}${release}.a $libname.a'
14722 soname_spec
='${libname}${release}${shared_ext}$major'
14724 shlibpath_var
=LIBPATH
14731 # Since July 2007 AmigaOS4 officially supports .so libraries.
14732 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14733 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14736 library_names_spec
='$libname.ixlibrary $libname.a'
14737 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14738 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
14744 library_names_spec
='${libname}${shared_ext}'
14745 dynamic_linker
="$host_os ld.so"
14746 shlibpath_var
=LIBRARY_PATH
14752 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14753 soname_spec
='${libname}${release}${shared_ext}$major'
14754 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14755 shlibpath_var
=LD_LIBRARY_PATH
14756 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14757 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14758 # the default ld.so.conf also contains /usr/contrib/lib and
14759 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14760 # libtool to hard-code these into programs
14763 cygwin
* | mingw
* | pw32
* | cegcc
*)
14764 version_type
=windows
14769 case $GCC,$host_os in
14770 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14771 library_names_spec
='$libname.dll.a'
14772 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14773 postinstall_cmds
='base_file=`basename \${file}`~
14774 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14775 dldir=$destdir/`dirname \$dlpath`~
14776 test -d \$dldir || mkdir -p \$dldir~
14777 $install_prog $dir/$dlname \$dldir/$dlname~
14778 chmod a+x \$dldir/$dlname~
14779 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14780 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14782 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14783 dlpath=$dir/\$dldll~
14785 shlibpath_overrides_runpath
=yes
14789 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14790 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14794 # MinGW DLLs use traditional 'lib' prefix
14795 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14798 # pw32 DLLs use 'pw' prefix rather than 'lib'
14799 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14805 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14808 dynamic_linker
='Win32 ld.exe'
14809 # FIXME: first we should search . and the directory the executable is in
14813 darwin
* | rhapsody
*)
14814 dynamic_linker
="$host_os dyld"
14815 version_type
=darwin
14818 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14819 soname_spec
='${libname}${release}${major}$shared_ext'
14820 shlibpath_overrides_runpath
=yes
14821 shlibpath_var
=DYLD_LIBRARY_PATH
14822 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14824 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14831 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14832 soname_spec
='${libname}${release}${shared_ext}$major'
14833 shlibpath_var
=LD_LIBRARY_PATH
14836 freebsd
* | dragonfly
*)
14837 # DragonFly does not have aout. When/if they implement a new
14838 # versioning mechanism, adjust this.
14839 if test -x /usr
/bin
/objformat
; then
14840 objformat
=`/usr/bin/objformat`
14843 freebsd
[23].
*) objformat
=aout
;;
14844 *) objformat
=elf
;;
14847 version_type
=freebsd-
$objformat
14848 case $version_type in
14850 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14855 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14859 shlibpath_var
=LD_LIBRARY_PATH
14862 shlibpath_overrides_runpath
=yes
14864 freebsd3.
[01]* | freebsdelf3.
[01]*)
14865 shlibpath_overrides_runpath
=yes
14866 hardcode_into_libs
=yes
14868 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14869 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14870 shlibpath_overrides_runpath
=no
14871 hardcode_into_libs
=yes
14873 *) # from 4.6 on, and DragonFly
14874 shlibpath_overrides_runpath
=yes
14875 hardcode_into_libs
=yes
14884 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14885 soname_spec
='${libname}${release}${shared_ext}$major'
14886 shlibpath_var
=LD_LIBRARY_PATH
14887 hardcode_into_libs
=yes
14894 dynamic_linker
="$host_os runtime_loader"
14895 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14896 soname_spec
='${libname}${release}${shared_ext}$major'
14897 shlibpath_var
=LIBRARY_PATH
14898 shlibpath_overrides_runpath
=yes
14899 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14900 hardcode_into_libs
=yes
14903 hpux9
* | hpux10
* | hpux11
*)
14904 # Give a soname corresponding to the major version so that dld.sl refuses to
14905 # link against other versions.
14912 hardcode_into_libs
=yes
14913 dynamic_linker
="$host_os dld.so"
14914 shlibpath_var
=LD_LIBRARY_PATH
14915 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14916 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14917 soname_spec
='${libname}${release}${shared_ext}$major'
14918 if test "X$HPUX_IA64_MODE" = X32
; then
14919 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14921 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14923 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14927 hardcode_into_libs
=yes
14928 dynamic_linker
="$host_os dld.sl"
14929 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14930 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14931 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14932 soname_spec
='${libname}${release}${shared_ext}$major'
14933 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14934 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14938 dynamic_linker
="$host_os dld.sl"
14939 shlibpath_var
=SHLIB_PATH
14940 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14941 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14942 soname_spec
='${libname}${release}${shared_ext}$major'
14945 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14946 postinstall_cmds
='chmod 555 $lib'
14947 # or fails outright, so override atomically:
14948 install_override_mode
=555
14955 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14956 soname_spec
='${libname}${release}${shared_ext}$major'
14957 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14958 shlibpath_var
=LD_LIBRARY_PATH
14959 shlibpath_overrides_runpath
=no
14960 hardcode_into_libs
=yes
14963 irix5
* | irix6
* | nonstopux
*)
14965 nonstopux
*) version_type
=nonstopux
;;
14967 if test "$lt_cv_prog_gnu_ld" = yes; then
14975 soname_spec
='${libname}${release}${shared_ext}$major'
14976 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14978 irix5
* | nonstopux
*)
14979 libsuff
= shlibsuff
=
14982 case $LD in # libtool.m4 will add one of these switches to LD
14983 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14984 libsuff
= shlibsuff
= libmagic
=32-bit;;
14985 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14986 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14987 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14988 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14989 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14993 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14994 shlibpath_overrides_runpath
=no
14995 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14996 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14997 hardcode_into_libs
=yes
15000 # No shared lib support for Linux oldld, aout, or coff.
15001 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15005 # This must be Linux ELF.
15006 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15010 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15011 soname_spec
='${libname}${release}${shared_ext}$major'
15012 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15013 shlibpath_var
=LD_LIBRARY_PATH
15014 shlibpath_overrides_runpath
=no
15016 # Some binutils ld are patched to set DT_RUNPATH
15017 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15018 $as_echo_n "(cached) " >&6
15020 lt_cv_shlibpath_overrides_runpath
=no
15021 save_LDFLAGS
=$LDFLAGS
15022 save_libdir
=$libdir
15023 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15024 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15026 /* end confdefs.h. */
15036 if ac_fn_cxx_try_link
"$LINENO"; then :
15037 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15038 lt_cv_shlibpath_overrides_runpath
=yes
15041 rm -f core conftest.err conftest.
$ac_objext \
15042 conftest
$ac_exeext conftest.
$ac_ext
15043 LDFLAGS
=$save_LDFLAGS
15044 libdir
=$save_libdir
15048 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15050 # This implies no fast_install, which is unacceptable.
15051 # Some rework will be needed to allow for fast_install
15052 # before this can be enabled.
15053 hardcode_into_libs
=yes
15055 # Append ld.so.conf contents to the search path
15056 if test -f /etc
/ld.so.conf
; then
15057 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/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
15058 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15061 # We used to test for /lib/ld.so.1 and disable shared libraries on
15062 # powerpc, because MkLinux only supported shared libraries with the
15063 # GNU dynamic linker. Since this was broken with cross compilers,
15064 # most powerpc-linux boxes support dynamic linking these days and
15065 # people can always --disable-shared, the test was removed, and we
15066 # assume the GNU/Linux dynamic linker is in use.
15067 dynamic_linker
='GNU/Linux ld.so'
15074 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15076 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15077 dynamic_linker
='NetBSD (a.out) ld.so'
15079 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15080 soname_spec
='${libname}${release}${shared_ext}$major'
15081 dynamic_linker
='NetBSD ld.elf_so'
15083 shlibpath_var
=LD_LIBRARY_PATH
15084 shlibpath_overrides_runpath
=yes
15085 hardcode_into_libs
=yes
15090 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15091 shlibpath_var
=LD_LIBRARY_PATH
15092 shlibpath_overrides_runpath
=yes
15099 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15100 soname_spec
='${libname}${release}${shared_ext}$major'
15101 shlibpath_var
=LD_LIBRARY_PATH
15102 shlibpath_overrides_runpath
=no
15103 hardcode_into_libs
=yes
15104 dynamic_linker
='ldqnx.so'
15109 sys_lib_dlsearch_path_spec
="/usr/lib"
15111 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15113 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15114 *) need_version
=no
;;
15116 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15117 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15118 shlibpath_var
=LD_LIBRARY_PATH
15119 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15121 openbsd2.
[89] | openbsd2.
[89].
*)
15122 shlibpath_overrides_runpath
=no
15125 shlibpath_overrides_runpath
=yes
15129 shlibpath_overrides_runpath
=yes
15134 libname_spec
='$name'
15137 library_names_spec
='$libname${shared_ext} $libname.a'
15138 dynamic_linker
='OS/2 ld.exe'
15139 shlibpath_var
=LIBPATH
15142 osf3
* | osf4
* | osf5
*)
15146 soname_spec
='${libname}${release}${shared_ext}$major'
15147 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15148 shlibpath_var
=LD_LIBRARY_PATH
15149 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15150 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15161 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15162 soname_spec
='${libname}${release}${shared_ext}$major'
15163 shlibpath_var
=LD_LIBRARY_PATH
15164 shlibpath_overrides_runpath
=yes
15165 hardcode_into_libs
=yes
15166 # ldd complains unless libraries are executable
15167 postinstall_cmds
='chmod +x $lib'
15172 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15173 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15174 shlibpath_var
=LD_LIBRARY_PATH
15175 shlibpath_overrides_runpath
=yes
15176 if test "$with_gnu_ld" = yes; then
15184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15185 soname_spec
='${libname}${release}${shared_ext}$major'
15186 shlibpath_var
=LD_LIBRARY_PATH
15187 case $host_vendor in
15189 shlibpath_overrides_runpath
=no
15191 runpath_var
=LD_RUN_PATH
15199 shlibpath_overrides_runpath
=no
15200 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15206 if test -d /usr
/nec
;then
15208 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15209 soname_spec
='$libname${shared_ext}.$major'
15210 shlibpath_var
=LD_LIBRARY_PATH
15214 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15215 version_type
=freebsd-elf
15218 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15219 soname_spec
='${libname}${release}${shared_ext}$major'
15220 shlibpath_var
=LD_LIBRARY_PATH
15221 shlibpath_overrides_runpath
=yes
15222 hardcode_into_libs
=yes
15223 if test "$with_gnu_ld" = yes; then
15224 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15226 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15229 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15233 sys_lib_dlsearch_path_spec
='/usr/lib'
15237 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15241 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15242 shlibpath_var
=LD_LIBRARY_PATH
15243 shlibpath_overrides_runpath
=no
15244 hardcode_into_libs
=yes
15249 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15250 soname_spec
='${libname}${release}${shared_ext}$major'
15251 shlibpath_var
=LD_LIBRARY_PATH
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15259 $as_echo "$dynamic_linker" >&6; }
15260 test "$dynamic_linker" = no
&& can_build_shared
=no
15262 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15263 if test "$GCC" = yes; then
15264 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15267 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15268 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15270 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15271 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15312 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15313 hardcode_action_CXX
=
15314 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15315 test -n "$runpath_var_CXX" ||
15316 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15318 # We can hardcode non-existent directories.
15319 if test "$hardcode_direct_CXX" != no
&&
15320 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15321 # have to relink, otherwise we might link with an installed library
15322 # when we should be linking with a yet-to-be-installed one
15323 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15324 test "$hardcode_minus_L_CXX" != no
; then
15325 # Linking always hardcodes the temporary library directory.
15326 hardcode_action_CXX
=relink
15328 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15329 hardcode_action_CXX
=immediate
15332 # We cannot hardcode anything, or else we can only hardcode existing
15334 hardcode_action_CXX
=unsupported
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15337 $as_echo "$hardcode_action_CXX" >&6; }
15339 if test "$hardcode_action_CXX" = relink ||
15340 test "$inherit_rpath_CXX" = yes; then
15341 # Fast installation is not supported
15342 enable_fast_install
=no
15343 elif test "$shlibpath_overrides_runpath" = yes ||
15344 test "$enable_shared" = no
; then
15345 # Fast installation is not necessary
15346 enable_fast_install
=needless
15355 fi # test -n "$compiler"
15361 with_gnu_ld
=$lt_save_with_gnu_ld
15362 lt_cv_path_LDCXX
=$lt_cv_path_LD
15363 lt_cv_path_LD
=$lt_save_path_LD
15364 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15365 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15366 fi # test "$_lt_caught_CXX_error" != yes
15369 ac_cpp
='$CPP $CPPFLAGS'
15370 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15371 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15372 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15386 ac_config_commands
="$ac_config_commands libtool"
15391 # Only expand once:
15395 # The tests for host and target for $enable_largefile require
15400 # As the $enable_largefile decision depends on --enable-plugins we must set it
15401 # even in directories otherwise not depending on the $plugins option.
15405 for ac_header
in dlfcn.h
15407 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
15409 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
15410 cat >>confdefs.h
<<_ACEOF
15411 #define HAVE_DLFCN_H 1
15418 for ac_header
in windows.h
15420 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
15422 if test "x$ac_cv_header_windows_h" = xyes
; then :
15423 cat >>confdefs.h
<<_ACEOF
15424 #define HAVE_WINDOWS_H 1
15432 # Check whether --enable-plugins was given.
15433 if test "${enable_plugins+set}" = set; then :
15434 enableval
=$enable_plugins; case "${enableval}" in
15437 if test "$maybe_plugins" != "yes" ; then
15438 as_fn_error $?
"Building with plugin support requires a host that supports dlopen." "$LINENO" 5
15442 plugins
=$maybe_plugins
15446 if test "$plugins" = "yes"; then
15447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
15448 $as_echo_n "checking for library containing dlsym... " >&6; }
15449 if ${ac_cv_search_dlsym+:} false
; then :
15450 $as_echo_n "(cached) " >&6
15452 ac_func_search_save_LIBS
=$LIBS
15453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15454 /* end confdefs.h. */
15456 /* Override any GCC internal prototype to avoid an error.
15457 Use char because int might match the return type of a GCC
15458 builtin and then its argument prototype would still apply. */
15471 for ac_lib
in '' dl
; do
15472 if test -z "$ac_lib"; then
15473 ac_res
="none required"
15476 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15478 if ac_fn_c_try_link
"$LINENO"; then :
15479 ac_cv_search_dlsym
=$ac_res
15481 rm -f core conftest.err conftest.
$ac_objext \
15483 if ${ac_cv_search_dlsym+:} false
; then :
15487 if ${ac_cv_search_dlsym+:} false
; then :
15490 ac_cv_search_dlsym
=no
15492 rm conftest.
$ac_ext
15493 LIBS
=$ac_func_search_save_LIBS
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
15496 $as_echo "$ac_cv_search_dlsym" >&6; }
15497 ac_res
=$ac_cv_search_dlsym
15498 if test "$ac_res" != no
; then :
15499 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15507 sparc-
*-solaris*|i
[3-7]86-*-solaris*)
15508 # On native 32bit sparc and ia32 solaris, large-file and procfs support
15509 # are mutually exclusive; and without procfs support, the bfd/ elf module
15510 # cannot provide certain routines such as elfcore_write_prpsinfo
15511 # or elfcore_write_prstatus. So unless the user explicitly requested
15512 # large-file support through the --enable-largefile switch, disable
15513 # large-file support in favor of procfs support.
15514 test "${target}" = "${host}" -a "x$plugins" = xno \
15515 && : ${enable_largefile="no"}
15519 # Check whether --enable-largefile was given.
15520 if test "${enable_largefile+set}" = set; then :
15521 enableval
=$enable_largefile;
15524 if test "$enable_largefile" != no
; then
15526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15527 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15528 if ${ac_cv_sys_largefile_CC+:} false
; then :
15529 $as_echo_n "(cached) " >&6
15531 ac_cv_sys_largefile_CC
=no
15532 if test "$GCC" != yes; then
15535 # IRIX 6.2 and later do not support large files by default,
15536 # so use the C compiler's -n32 option if that helps.
15537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15538 /* end confdefs.h. */
15539 #include <sys/types.h>
15540 /* Check that off_t can represent 2**63 - 1 correctly.
15541 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15542 since some C++ compilers masquerading as C compilers
15543 incorrectly reject 9223372036854775807. */
15544 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15545 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15546 && LARGE_OFF_T % 2147483647 == 1)
15556 if ac_fn_c_try_compile
"$LINENO"; then :
15559 rm -f core conftest.err conftest.
$ac_objext
15561 if ac_fn_c_try_compile
"$LINENO"; then :
15562 ac_cv_sys_largefile_CC
=' -n32'; break
15564 rm -f core conftest.err conftest.
$ac_objext
15568 rm -f conftest.
$ac_ext
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15572 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15573 if test "$ac_cv_sys_largefile_CC" != no
; then
15574 CC
=$CC$ac_cv_sys_largefile_CC
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15578 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15579 if ${ac_cv_sys_file_offset_bits+:} false
; then :
15580 $as_echo_n "(cached) " >&6
15583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15584 /* end confdefs.h. */
15585 #include <sys/types.h>
15586 /* Check that off_t can represent 2**63 - 1 correctly.
15587 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15588 since some C++ compilers masquerading as C compilers
15589 incorrectly reject 9223372036854775807. */
15590 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15591 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15592 && LARGE_OFF_T % 2147483647 == 1)
15602 if ac_fn_c_try_compile
"$LINENO"; then :
15603 ac_cv_sys_file_offset_bits
=no
; break
15605 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15607 /* end confdefs.h. */
15608 #define _FILE_OFFSET_BITS 64
15609 #include <sys/types.h>
15610 /* Check that off_t can represent 2**63 - 1 correctly.
15611 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15612 since some C++ compilers masquerading as C compilers
15613 incorrectly reject 9223372036854775807. */
15614 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15615 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15616 && LARGE_OFF_T % 2147483647 == 1)
15626 if ac_fn_c_try_compile
"$LINENO"; then :
15627 ac_cv_sys_file_offset_bits
=64; break
15629 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15630 ac_cv_sys_file_offset_bits
=unknown
15634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15635 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15636 case $ac_cv_sys_file_offset_bits in #(
15639 cat >>confdefs.h
<<_ACEOF
15640 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15645 if test $ac_cv_sys_file_offset_bits = unknown
; then
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15647 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15648 if ${ac_cv_sys_large_files+:} false
; then :
15649 $as_echo_n "(cached) " >&6
15652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15653 /* end confdefs.h. */
15654 #include <sys/types.h>
15655 /* Check that off_t can represent 2**63 - 1 correctly.
15656 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15657 since some C++ compilers masquerading as C compilers
15658 incorrectly reject 9223372036854775807. */
15659 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15660 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15661 && LARGE_OFF_T % 2147483647 == 1)
15671 if ac_fn_c_try_compile
"$LINENO"; then :
15672 ac_cv_sys_large_files
=no
; break
15674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15676 /* end confdefs.h. */
15677 #define _LARGE_FILES 1
15678 #include <sys/types.h>
15679 /* Check that off_t can represent 2**63 - 1 correctly.
15680 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15681 since some C++ compilers masquerading as C compilers
15682 incorrectly reject 9223372036854775807. */
15683 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15684 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15685 && LARGE_OFF_T % 2147483647 == 1)
15695 if ac_fn_c_try_compile
"$LINENO"; then :
15696 ac_cv_sys_large_files
=1; break
15698 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15699 ac_cv_sys_large_files
=unknown
15703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15704 $as_echo "$ac_cv_sys_large_files" >&6; }
15705 case $ac_cv_sys_large_files in #(
15708 cat >>confdefs.h
<<_ACEOF
15709 #define _LARGE_FILES $ac_cv_sys_large_files
15722 # Check whether --with-lib-path was given.
15723 if test "${with_lib_path+set}" = set; then :
15724 withval
=$with_lib_path; LIB_PATH
=$withval
15727 # Check whether --enable-targets was given.
15728 if test "${enable_targets+set}" = set; then :
15729 enableval
=$enable_targets; case "${enableval}" in
15730 yes |
"") as_fn_error $?
"enable-targets option must specify target names or 'all'" "$LINENO" 5
15732 no
) enable_targets
= ;;
15733 *) enable_targets
=$enableval ;;
15736 # Check whether --enable-64-bit-bfd was given.
15737 if test "${enable_64_bit_bfd+set}" = set; then :
15738 enableval
=$enable_64_bit_bfd; case "${enableval}" in
15739 yes) want64
=true
;;
15740 no
) want64
=false
;;
15741 *) as_fn_error $?
"bad value ${enableval} for 64-bit-bfd option" "$LINENO" 5 ;;
15748 # Check whether --with-sysroot was given.
15749 if test "${with_sysroot+set}" = set; then :
15750 withval
=$with_sysroot;
15751 case ${with_sysroot} in
15752 yes) TARGET_SYSTEM_ROOT
='${exec_prefix}/${target_alias}/sys-root' ;;
15753 *) TARGET_SYSTEM_ROOT
=$with_sysroot ;;
15756 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
15759 if test "x$prefix" = xNONE
; then
15760 test_prefix
=/usr
/local
15762 test_prefix
=$prefix
15764 if test "x$exec_prefix" = xNONE
; then
15765 test_exec_prefix
=$test_prefix
15767 test_exec_prefix
=$exec_prefix
15769 case ${TARGET_SYSTEM_ROOT} in
15770 "${test_prefix}"|
"${test_prefix}/"*|\
15771 "${test_exec_prefix}"|
"${test_exec_prefix}/"*|\
15772 '${prefix}'|
'${prefix}/'*|\
15773 '${exec_prefix}'|
'${exec_prefix}/'*)
15774 t
="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
15775 TARGET_SYSTEM_ROOT_DEFINE
="$t"
15782 TARGET_SYSTEM_ROOT
=
15783 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"\"'
15791 # Check whether --enable-gold was given.
15792 if test "${enable_gold+set}" = set; then :
15793 enableval
=$enable_gold; case "${enableval}" in
15795 install_as_default
=no
15796 installed_linker
=ld.bfd
15799 install_as_default
=yes
15800 installed_linker
=ld.bfd
15803 as_fn_error $?
"invalid --enable-gold argument" "$LINENO" 5
15807 install_as_default
=yes
15808 installed_linker
=ld.bfd
15814 # Check whether --enable-got was given.
15815 if test "${enable_got+set}" = set; then :
15816 enableval
=$enable_got; case "${enableval}" in
15817 target | single | negative | multigot
) got_handling
=$enableval ;;
15818 *) as_fn_error $?
"bad value ${enableval} for --enable-got option" "$LINENO" 5 ;;
15821 got_handling
=target
15825 case "${got_handling}" in
15828 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_TARGET_DEFAULT" >>confdefs.h
15832 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_SINGLE" >>confdefs.h
15836 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_NEGATIVE" >>confdefs.h
15840 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_MULTIGOT" >>confdefs.h
15842 *) as_fn_error $?
"bad value ${got_handling} for --enable-got option" "$LINENO" 5 ;;
15846 # Decide the default method for compressing debug sections.
15847 ac_default_compressed_debug_sections
=unset
15848 # Provide a configure time option to override our default.
15849 # Check whether --enable-compressed_debug_sections was given.
15850 if test "${enable_compressed_debug_sections+set}" = set; then :
15851 enableval
=$enable_compressed_debug_sections; case ,"${enableval}", in
15852 ,yes, |
,all
, |
*,ld
,*) ac_default_compressed_debug_sections
=yes ;;
15853 ,no
, |
,none
,) ac_default_compressed_debug_sections
=no
;;
15857 # Decide setting DT_RUNPATH instead of DT_RPATH by default
15858 ac_default_new_dtags
=unset
15859 # Provide a configure time option to override our default.
15860 # Check whether --enable-new_dtags was given.
15861 if test "${enable_new_dtags+set}" = set; then :
15862 enableval
=$enable_new_dtags; case "${enableval}" in
15863 yes) ac_default_new_dtags
=1 ;;
15864 no
) ac_default_new_dtags
=0 ;;
15868 # Decide if -z relro should be enabled in ELF linker by default.
15869 ac_default_ld_z_relro
=unset
15870 # Provide a configure time option to override our default.
15871 # Check whether --enable-relro was given.
15872 if test "${enable_relro+set}" = set; then :
15873 enableval
=$enable_relro; case "${enableval}" in
15874 yes) ac_default_ld_z_relro
=1 ;;
15875 no
) ac_default_ld_z_relro
=0 ;;
15879 # Decide if -z separate-code should be enabled in ELF linker by default.
15880 ac_default_ld_z_separate_code
=unset
15881 # Check whether --enable-separate-code was given.
15882 if test "${enable_separate_code+set}" = set; then :
15883 enableval
=$enable_separate_code; case "${enableval}" in
15884 yes) ac_default_ld_z_separate_code
=1 ;;
15885 no
) ac_default_ld_z_separate_code
=0 ;;
15890 # Decide which "--hash-style" to use by default
15891 # Provide a configure time option to override our default.
15892 # Check whether --enable-default-hash-style was given.
15893 if test "${enable_default_hash_style+set}" = set; then :
15894 enableval
=$enable_default_hash_style; case "${enable_default_hash_style}" in
15895 sysv | gnu | both
) ;;
15896 *) as_fn_error $?
"bad value ${enable_default_hash_style} for enable-default-hash-style option" "$LINENO" 5 ;;
15899 case "${target}" in
15900 # Enable gnu hash only on GNU targets, but not mips
15901 mips
*-*-*) enable_default_hash_style
=sysv
;;
15902 *-*-gnu* |
*-*-linux* |
*-*-nacl*) enable_default_hash_style
=both
;;
15903 *) enable_default_hash_style
=sysv
;;
15908 case "${enable_default_hash_style}" in
15909 sysv | both
) ac_default_emit_sysv_hash
=1 ;;
15910 *) ac_default_emit_sysv_hash
=0 ;;
15913 case "${enable_default_hash_style}" in
15914 gnu | both
) ac_default_emit_gnu_hash
=1 ;;
15915 *) ac_default_emit_gnu_hash
=0 ;;
15919 # Set the 'development' global.
15920 .
$srcdir/..
/bfd
/development.sh
15922 # Set acp_cpp_for_build variable
15923 ac_cpp_for_build
="$CC_FOR_BUILD -E $CPPFLAGS_FOR_BUILD"
15925 # Default set of GCC warnings to enable.
15926 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
15927 GCC_WARN_CFLAGS_FOR_BUILD
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
15929 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
15930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15931 /* end confdefs.h. */
15934 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15935 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev
/null
2>&1; then :
15938 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wshadow"
15943 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
15944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15945 /* end confdefs.h. */
15948 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15949 $EGREP "(^[0-4]$|^__GNUC__$)" >/dev
/null
2>&1; then :
15952 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wstack-usage=262144"
15957 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
15958 WARN_WRITE_STRINGS
=""
15959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15960 /* end confdefs.h. */
15963 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15964 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev
/null
2>&1; then :
15967 WARN_WRITE_STRINGS
="-Wwrite-strings"
15972 # Verify CC_FOR_BUILD to be compatible with warning flags
15974 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
15975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15976 /* end confdefs.h. */
15979 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
15980 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev
/null
2>&1; then :
15983 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wshadow"
15988 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
15989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15990 /* end confdefs.h. */
15993 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
15994 $EGREP "(^[0-4]$|^__GNUC__$)" >/dev
/null
2>&1; then :
15997 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
16002 # Check whether --enable-werror was given.
16003 if test "${enable_werror+set}" = set; then :
16004 enableval
=$enable_werror; case "${enableval}" in
16005 yes | y
) ERROR_ON_WARNING
="yes" ;;
16006 no | n
) ERROR_ON_WARNING
="no" ;;
16007 *) as_fn_error $?
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
16012 # Disable -Wformat by default when using gcc on mingw
16015 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
16016 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
16017 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wno-format"
16023 # Enable -Werror by default when using gcc. Turn it off for releases.
16024 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true
; then
16025 ERROR_ON_WARNING
=yes
16029 if test "${ERROR_ON_WARNING}" = yes ; then
16030 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
16031 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Werror"
16032 NO_WERROR
="-Wno-error"
16035 if test "${GCC}" = yes ; then
16036 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
16037 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD}"
16040 # Check whether --enable-build-warnings was given.
16041 if test "${enable_build_warnings+set}" = set; then :
16042 enableval
=$enable_build_warnings; case "${enableval}" in
16043 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
16044 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD}";;
16045 no
) if test "${GCC}" = yes ; then
16047 WARN_CFLAGS_FOR_BUILD
="-w"
16049 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
16050 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}"
16051 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD} ${t}";;
16052 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
16053 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}"
16054 WARN_CFLAGS_FOR_BUILD
="${t} ${GCC_WARN_CFLAGS_FOR_BUILD}";;
16055 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`
16056 WARN_CFLAGS_FOR_BUILD
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
16061 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
16062 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
16072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
16073 $as_echo_n "checking for LC_MESSAGES... " >&6; }
16074 if ${am_cv_val_LC_MESSAGES+:} false
; then :
16075 $as_echo_n "(cached) " >&6
16077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16078 /* end confdefs.h. */
16079 #include <locale.h>
16088 if ac_fn_c_try_link
"$LINENO"; then :
16089 am_cv_val_LC_MESSAGES
=yes
16091 am_cv_val_LC_MESSAGES
=no
16093 rm -f core conftest.err conftest.
$ac_objext \
16094 conftest
$ac_exeext conftest.
$ac_ext
16096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
16097 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
16098 if test $am_cv_val_LC_MESSAGES = yes; then
16100 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
16105 ac_config_headers
="$ac_config_headers config.h:config.in"
16111 if test -z "$target" ; then
16112 as_fn_error $?
"Unrecognized target system type; please check config.sub." "$LINENO" 5
16114 if test -z "$host" ; then
16115 as_fn_error $?
"Unrecognized host system type; please check config.sub." "$LINENO" 5
16118 # host-specific stuff:
16120 ALL_LINGUAS
="bg da de es fi fr ga id it ja pt_BR ru sr sv tr uk vi zh_CN zh_TW"
16121 # If we haven't got the data from the intl directory,
16122 # assume NLS is disabled.
16131 if test -f ..
/intl
/config.intl
; then
16132 . ..
/intl
/config.intl
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
16135 $as_echo_n "checking whether NLS is requested... " >&6; }
16136 if test x
"$USE_NLS" != xyes
; then
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16138 $as_echo "no" >&6; }
16140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16141 $as_echo "yes" >&6; }
16143 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
16146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
16147 $as_echo_n "checking for catalogs to be installed... " >&6; }
16148 # Look for .po and .gmo files in the source directory.
16151 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
16152 # If there aren't any .gmo files the shell will give us the
16153 # literal string "../path/to/srcdir/po/*.gmo" which has to be
16155 case "$cat" in *\
**)
16158 # The quadruple backslash is collapsed to a double backslash
16159 # by the backticks, then collapsed again by the double quotes,
16160 # leaving us with one backslash in the sed expression (right
16161 # before the dot that mustn't act as a wildcard).
16162 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
16163 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
16164 # The user is allowed to set LINGUAS to a list of languages to
16165 # install catalogs for. If it's empty that means "all of them."
16166 if test "x$LINGUAS" = x
; then
16167 CATALOGS
="$CATALOGS $cat"
16168 XLINGUAS
="$XLINGUAS $lang"
16170 case "$LINGUAS" in *$lang*)
16171 CATALOGS
="$CATALOGS $cat"
16172 XLINGUAS
="$XLINGUAS $lang"
16177 LINGUAS
="$XLINGUAS"
16178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
16179 $as_echo "$LINGUAS" >&6; }
16193 if test -n "$ac_aux_dir"; then
16194 case "$ac_aux_dir" in
16195 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
16196 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
16199 if test -z "$MKINSTALLDIRS"; then
16200 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
16206 $as_echo_n "checking whether NLS is requested... " >&6; }
16207 # Check whether --enable-nls was given.
16208 if test "${enable_nls+set}" = set; then :
16209 enableval
=$enable_nls; USE_NLS
=$enableval
16214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
16215 $as_echo "$USE_NLS" >&6; }
16222 # Prepare PATH_SEPARATOR.
16223 # The user is always right.
16224 if test "${PATH_SEPARATOR+set}" != set; then
16225 echo "#! /bin/sh" >conf$$.sh
16226 echo "exit 0" >>conf$$.sh
16228 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
16236 # Find out how to test for executable files. Don't use a zero-byte file,
16237 # as systems may use methods other than mode bits to determine executability.
16238 cat >conf$$.
file <<_ASEOF
16242 chmod +x conf$$.
file
16243 if test -x conf$$.
file >/dev
/null
2>&1; then
16244 ac_executable_p
="test -x"
16246 ac_executable_p
="test -f"
16250 # Extract the first word of "msgfmt", so it can be a program name with args.
16251 set dummy msgfmt
; ac_word
=$2
16252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16253 $as_echo_n "checking for $ac_word... " >&6; }
16254 if ${ac_cv_path_MSGFMT+:} false
; then :
16255 $as_echo_n "(cached) " >&6
16259 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
16262 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
16263 for ac_dir
in $PATH; do
16265 test -z "$ac_dir" && ac_dir
=.
16266 for ac_exec_ext
in '' $ac_executable_extensions; do
16267 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16268 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
16269 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
16270 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
16277 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
16281 MSGFMT
="$ac_cv_path_MSGFMT"
16282 if test "$MSGFMT" != ":"; then
16283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
16284 $as_echo "$MSGFMT" >&6; }
16286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16287 $as_echo "no" >&6; }
16290 # Extract the first word of "gmsgfmt", so it can be a program name with args.
16291 set dummy gmsgfmt
; ac_word
=$2
16292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16293 $as_echo_n "checking for $ac_word... " >&6; }
16294 if ${ac_cv_path_GMSGFMT+:} false
; then :
16295 $as_echo_n "(cached) " >&6
16299 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
16302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16303 for as_dir
in $PATH
16306 test -z "$as_dir" && as_dir
=.
16307 for ac_exec_ext
in '' $ac_executable_extensions; do
16308 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16309 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
16310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16317 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
16321 GMSGFMT
=$ac_cv_path_GMSGFMT
16322 if test -n "$GMSGFMT"; then
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
16324 $as_echo "$GMSGFMT" >&6; }
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16327 $as_echo "no" >&6; }
16333 # Prepare PATH_SEPARATOR.
16334 # The user is always right.
16335 if test "${PATH_SEPARATOR+set}" != set; then
16336 echo "#! /bin/sh" >conf$$.sh
16337 echo "exit 0" >>conf$$.sh
16339 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
16347 # Find out how to test for executable files. Don't use a zero-byte file,
16348 # as systems may use methods other than mode bits to determine executability.
16349 cat >conf$$.
file <<_ASEOF
16353 chmod +x conf$$.
file
16354 if test -x conf$$.
file >/dev
/null
2>&1; then
16355 ac_executable_p
="test -x"
16357 ac_executable_p
="test -f"
16361 # Extract the first word of "xgettext", so it can be a program name with args.
16362 set dummy xgettext
; ac_word
=$2
16363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16364 $as_echo_n "checking for $ac_word... " >&6; }
16365 if ${ac_cv_path_XGETTEXT+:} false
; then :
16366 $as_echo_n "(cached) " >&6
16368 case "$XGETTEXT" in
16370 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
16373 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
16374 for ac_dir
in $PATH; do
16376 test -z "$ac_dir" && ac_dir
=.
16377 for ac_exec_ext
in '' $ac_executable_extensions; do
16378 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16379 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
16380 (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
16381 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
16388 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
16392 XGETTEXT
="$ac_cv_path_XGETTEXT"
16393 if test "$XGETTEXT" != ":"; then
16394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
16395 $as_echo "$XGETTEXT" >&6; }
16397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16398 $as_echo "no" >&6; }
16404 # Prepare PATH_SEPARATOR.
16405 # The user is always right.
16406 if test "${PATH_SEPARATOR+set}" != set; then
16407 echo "#! /bin/sh" >conf$$.sh
16408 echo "exit 0" >>conf$$.sh
16410 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
16418 # Find out how to test for executable files. Don't use a zero-byte file,
16419 # as systems may use methods other than mode bits to determine executability.
16420 cat >conf$$.
file <<_ASEOF
16424 chmod +x conf$$.
file
16425 if test -x conf$$.
file >/dev
/null
2>&1; then
16426 ac_executable_p
="test -x"
16428 ac_executable_p
="test -f"
16432 # Extract the first word of "msgmerge", so it can be a program name with args.
16433 set dummy msgmerge
; ac_word
=$2
16434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16435 $as_echo_n "checking for $ac_word... " >&6; }
16436 if ${ac_cv_path_MSGMERGE+:} false
; then :
16437 $as_echo_n "(cached) " >&6
16439 case "$MSGMERGE" in
16441 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
16444 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
16445 for ac_dir
in $PATH; do
16447 test -z "$ac_dir" && ac_dir
=.
16448 for ac_exec_ext
in '' $ac_executable_extensions; do
16449 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16450 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
16451 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
16458 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
16462 MSGMERGE
="$ac_cv_path_MSGMERGE"
16463 if test "$MSGMERGE" != ":"; then
16464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
16465 $as_echo "$MSGMERGE" >&6; }
16467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16468 $as_echo "no" >&6; }
16472 if test "$GMSGFMT" != ":"; then
16473 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
16474 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
16477 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
16479 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
16484 if test "$XGETTEXT" != ":"; then
16485 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
16486 (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
16489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
16490 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
16496 ac_config_commands
="$ac_config_commands default-1"
16502 for ac_prog
in 'bison -y' byacc
16504 # Extract the first word of "$ac_prog", so it can be a program name with args.
16505 set dummy
$ac_prog; ac_word
=$2
16506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16507 $as_echo_n "checking for $ac_word... " >&6; }
16508 if ${ac_cv_prog_YACC+:} false
; then :
16509 $as_echo_n "(cached) " >&6
16511 if test -n "$YACC"; then
16512 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
16514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16515 for as_dir
in $PATH
16518 test -z "$as_dir" && as_dir
=.
16519 for ac_exec_ext
in '' $ac_executable_extensions; do
16520 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16521 ac_cv_prog_YACC
="$ac_prog"
16522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16531 YACC
=$ac_cv_prog_YACC
16532 if test -n "$YACC"; then
16533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
16534 $as_echo "$YACC" >&6; }
16536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16537 $as_echo "no" >&6; }
16541 test -n "$YACC" && break
16543 test -n "$YACC" || YACC
="yacc"
16545 for ac_prog
in flex
lex
16547 # Extract the first word of "$ac_prog", so it can be a program name with args.
16548 set dummy
$ac_prog; ac_word
=$2
16549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16550 $as_echo_n "checking for $ac_word... " >&6; }
16551 if ${ac_cv_prog_LEX+:} false
; then :
16552 $as_echo_n "(cached) " >&6
16554 if test -n "$LEX"; then
16555 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
16557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16558 for as_dir
in $PATH
16561 test -z "$as_dir" && as_dir
=.
16562 for ac_exec_ext
in '' $ac_executable_extensions; do
16563 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16564 ac_cv_prog_LEX
="$ac_prog"
16565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16574 LEX
=$ac_cv_prog_LEX
16575 if test -n "$LEX"; then
16576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
16577 $as_echo "$LEX" >&6; }
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16580 $as_echo "no" >&6; }
16584 test -n "$LEX" && break
16586 test -n "$LEX" || LEX
=":"
16590 *) cat >conftest.l
<<_ACEOF
16596 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
16597 yyless ((input () != 0)); }
16598 f { unput (yytext[0]); }
16599 . { BEGIN INITIAL; }
16601 #ifdef YYTEXT_POINTER
16602 extern char *yytext;
16607 return ! yylex () + ! yywrap ();
16610 { { ac_try
="$LEX conftest.l"
16611 case "(($ac_try" in
16612 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16613 *) ac_try_echo=$ac_try;;
16615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16616 $as_echo "$ac_try_echo"; } >&5
16617 (eval "$LEX conftest.l") 2>&5
16619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16620 test $ac_status = 0; }
16621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
16622 $as_echo_n "checking lex output file root... " >&6; }
16623 if ${ac_cv_prog_lex_root+:} false; then :
16624 $as_echo_n "(cached) " >&6
16627 if test -f lex.yy.c; then
16628 ac_cv_prog_lex_root=lex.yy
16629 elif test -f lexyy.c; then
16630 ac_cv_prog_lex_root=lexyy
16632 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
16635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
16636 $as_echo "$ac_cv_prog_lex_root" >&6; }
16637 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
16639 if test -z "${LEXLIB+set}"; then
16640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
16641 $as_echo_n "checking lex library... " >&6; }
16642 if ${ac_cv_lib_lex+:} false; then :
16643 $as_echo_n "(cached) " >&6
16647 ac_cv_lib_lex='none needed'
16648 for ac_lib in '' -lfl -ll; do
16649 LIBS="$ac_lib $ac_save_LIBS"
16650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16651 /* end confdefs.h. */
16652 `cat $LEX_OUTPUT_ROOT.c
`
16654 if ac_fn_c_try_link "$LINENO"; then :
16655 ac_cv_lib_lex=$ac_lib
16657 rm -f core conftest.err conftest.$ac_objext \
16658 conftest$ac_exeext conftest.$ac_ext
16659 test "$ac_cv_lib_lex" != 'none needed' && break
16664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
16665 $as_echo "$ac_cv_lib_lex" >&6; }
16666 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
16670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
16671 $as_echo_n "checking whether yytext is a pointer... " >&6; }
16672 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
16673 $as_echo_n "(cached) " >&6
16675 # POSIX says lex can declare yytext either as a pointer or an array; the
16676 # default is implementation-dependent. Figure out which it is, since
16677 # not all implementations provide the %pointer and %array declarations.
16678 ac_cv_prog_lex_yytext_pointer=no
16680 LIBS="$LEXLIB $ac_save_LIBS"
16681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16682 /* end confdefs.h. */
16684 #define YYTEXT_POINTER 1
16685 `cat $LEX_OUTPUT_ROOT.c
`
16687 if ac_fn_c_try_link "$LINENO"; then :
16688 ac_cv_prog_lex_yytext_pointer=yes
16690 rm -f core conftest.err conftest.$ac_objext \
16691 conftest$ac_exeext conftest.$ac_ext
16695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
16696 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
16697 if test $ac_cv_prog_lex_yytext_pointer = yes; then
16699 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
16702 rm -f conftest.l $LEX_OUTPUT_ROOT.c
16705 if test "$LEX" = :; then
16706 LEX=${am_missing_run}flex
16710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
16711 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
16712 # Check whether --enable-maintainer-mode was given.
16713 if test "${enable_maintainer_mode+set}" = set; then :
16714 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
16716 USE_MAINTAINER_MODE=no
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
16720 $as_echo "$USE_MAINTAINER_MODE" >&6; }
16721 if test $USE_MAINTAINER_MODE = yes; then
16722 MAINTAINER_MODE_TRUE=
16723 MAINTAINER_MODE_FALSE='#'
16725 MAINTAINER_MODE_TRUE='#'
16726 MAINTAINER_MODE_FALSE=
16729 MAINT=$MAINTAINER_MODE_TRUE
16733 GENINSRC_NEVER_TRUE=
16734 GENINSRC_NEVER_FALSE='#'
16736 GENINSRC_NEVER_TRUE='#'
16737 GENINSRC_NEVER_FALSE=
16740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
16741 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
16742 if ${gcc_cv_prog_cmp_skip+:} false; then :
16743 $as_echo_n "(cached) " >&6
16747 gcc_cv_prog_cmp_skip='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
16748 if cmp t1 t2 2 2 > /dev/null 2>&1; then
16749 if cmp t1 t2 1 1 > /dev/null 2>&1; then
16752 gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
16755 if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
16756 if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
16759 gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
16766 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
16767 do_compare="$gcc_cv_prog_cmp_skip"
16771 . ${srcdir}/configure.host
16776 for ac_header in string.h strings.h stdlib.h unistd.h elf-hints.h limits.h locale.h sys/param.h
16778 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
16779 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16780 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16781 cat >>confdefs.h <<_ACEOF
16782 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
16789 for ac_header in fcntl.h sys/file.h sys/time.h sys/stat.h
16791 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
16792 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16793 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16794 cat >>confdefs.h <<_ACEOF
16795 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
16802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
16803 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
16804 if ${gcc_cv_header_string+:} false; then :
16805 $as_echo_n "(cached) " >&6
16807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16808 /* end confdefs.h. */
16809 #include <string.h>
16810 #include <strings.h>
16819 if ac_fn_c_try_compile "$LINENO"; then :
16820 gcc_cv_header_string=yes
16822 gcc_cv_header_string=no
16824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
16827 $as_echo "$gcc_cv_header_string" >&6; }
16828 if test $gcc_cv_header_string = yes; then
16830 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
16834 for ac_func in glob mkstemp realpath sbrk setlocale waitpid
16836 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16837 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16838 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16839 cat >>confdefs.h <<_ACEOF
16840 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16846 for ac_func in open lseek close
16848 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16849 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16850 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16851 cat >>confdefs.h <<_ACEOF
16852 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16858 ac_header_dirent=no
16859 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
16860 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
16861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
16862 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
16863 if eval \${$as_ac_Header+:} false; then :
16864 $as_echo_n "(cached) " >&6
16866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16867 /* end confdefs.h. */
16868 #include <sys/types.h>
16880 if ac_fn_c_try_compile "$LINENO"; then :
16881 eval "$as_ac_Header=yes"
16883 eval "$as_ac_Header=no"
16885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16887 eval ac_res=\$$as_ac_Header
16888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16889 $as_echo "$ac_res" >&6; }
16890 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16891 cat >>confdefs.h <<_ACEOF
16892 #define `$as_echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
16895 ac_header_dirent=$ac_hdr; break
16899 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
16900 if test $ac_header_dirent = dirent.h; then
16901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
16902 $as_echo_n "checking for library containing opendir... " >&6; }
16903 if ${ac_cv_search_opendir+:} false; then :
16904 $as_echo_n "(cached) " >&6
16906 ac_func_search_save_LIBS=$LIBS
16907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16908 /* end confdefs.h. */
16910 /* Override any GCC internal prototype to avoid an error.
16911 Use char because int might match the return type of a GCC
16912 builtin and then its argument prototype would still apply. */
16925 for ac_lib in '' dir; do
16926 if test -z "$ac_lib"; then
16927 ac_res="none required"
16930 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16932 if ac_fn_c_try_link "$LINENO"; then :
16933 ac_cv_search_opendir=$ac_res
16935 rm -f core conftest.err conftest.$ac_objext \
16937 if ${ac_cv_search_opendir+:} false; then :
16941 if ${ac_cv_search_opendir+:} false; then :
16944 ac_cv_search_opendir=no
16946 rm conftest.$ac_ext
16947 LIBS=$ac_func_search_save_LIBS
16949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
16950 $as_echo "$ac_cv_search_opendir" >&6; }
16951 ac_res=$ac_cv_search_opendir
16952 if test "$ac_res" != no; then :
16953 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
16959 $as_echo_n "checking for library containing opendir... " >&6; }
16960 if ${ac_cv_search_opendir+:} false; then :
16961 $as_echo_n "(cached) " >&6
16963 ac_func_search_save_LIBS=$LIBS
16964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16965 /* end confdefs.h. */
16967 /* Override any GCC internal prototype to avoid an error.
16968 Use char because int might match the return type of a GCC
16969 builtin and then its argument prototype would still apply. */
16982 for ac_lib in '' x; do
16983 if test -z "$ac_lib"; then
16984 ac_res="none required"
16987 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16989 if ac_fn_c_try_link "$LINENO"; then :
16990 ac_cv_search_opendir=$ac_res
16992 rm -f core conftest.err conftest.$ac_objext \
16994 if ${ac_cv_search_opendir+:} false; then :
16998 if ${ac_cv_search_opendir+:} false; then :
17001 ac_cv_search_opendir=no
17003 rm conftest.$ac_ext
17004 LIBS=$ac_func_search_save_LIBS
17006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
17007 $as_echo "$ac_cv_search_opendir" >&6; }
17008 ac_res=$ac_cv_search_opendir
17009 if test "$ac_res" != no; then :
17010 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17020 for ac_header in $ac_header_list
17022 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
17023 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
17025 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17026 cat >>confdefs.h <<_ACEOF
17027 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
17041 for ac_func in getpagesize
17043 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
17044 if test "x$ac_cv_func_getpagesize" = xyes; then :
17045 cat >>confdefs.h <<_ACEOF
17046 #define HAVE_GETPAGESIZE 1
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
17053 $as_echo_n "checking for working mmap... " >&6; }
17054 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
17055 $as_echo_n "(cached) " >&6
17057 if test "$cross_compiling" = yes; then :
17058 ac_cv_func_mmap_fixed_mapped=no
17060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17061 /* end confdefs.h. */
17062 $ac_includes_default
17063 /* malloc might have been renamed as rpl_malloc. */
17066 /* Thanks to Mike Haertel and Jim Avera for this test.
17067 Here is a matrix of mmap possibilities:
17068 mmap private not fixed
17069 mmap private fixed at somewhere currently unmapped
17070 mmap private fixed at somewhere already mapped
17071 mmap shared not fixed
17072 mmap shared fixed at somewhere currently unmapped
17073 mmap shared fixed at somewhere already mapped
17074 For private mappings, we should verify that changes cannot be read()
17075 back from the file, nor mmap's back from the file at a different
17076 address. (There have been systems where private was not correctly
17077 implemented like the infamous i386 svr4.0, and systems where the
17078 VM page cache was not coherent with the file system buffer cache
17079 like early versions of FreeBSD and possibly contemporary NetBSD.)
17080 For shared mappings, we should conversely verify that changes get
17081 propagated back to all the places they're supposed to be.
17083 Grep wants private fixed already mapped.
17084 The main things grep needs to know about mmap are:
17085 * does it exist and is it safe to write into the mmap'd area
17086 * how to use it (BSD variants) */
17089 #include <sys/mman.h>
17091 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
17095 /* This mess was copied from the GNU getpagesize.h. */
17096 #ifndef HAVE_GETPAGESIZE
17097 # ifdef _SC_PAGESIZE
17098 # define getpagesize() sysconf(_SC_PAGESIZE)
17099 # else /* no _SC_PAGESIZE */
17100 # ifdef HAVE_SYS_PARAM_H
17101 # include <sys/param.h>
17102 # ifdef EXEC_PAGESIZE
17103 # define getpagesize() EXEC_PAGESIZE
17104 # else /* no EXEC_PAGESIZE */
17106 # define getpagesize() NBPG * CLSIZE
17109 # endif /* no CLSIZE */
17110 # else /* no NBPG */
17112 # define getpagesize() NBPC
17113 # else /* no NBPC */
17115 # define getpagesize() PAGESIZE
17116 # endif /* PAGESIZE */
17117 # endif /* no NBPC */
17118 # endif /* no NBPG */
17119 # endif /* no EXEC_PAGESIZE */
17120 # else /* no HAVE_SYS_PARAM_H */
17121 # define getpagesize() 8192 /* punt totally */
17122 # endif /* no HAVE_SYS_PARAM_H */
17123 # endif /* no _SC_PAGESIZE */
17125 #endif /* no HAVE_GETPAGESIZE */
17130 char *data, *data2, *data3;
17131 const char *cdata2;
17135 pagesize = getpagesize ();
17137 /* First, make a file with some known garbage in it. */
17138 data = (char *) malloc (pagesize);
17141 for (i = 0; i < pagesize; ++i)
17142 *(data + i) = rand ();
17144 fd = creat ("conftest.mmap", 0600);
17147 if (write (fd, data, pagesize) != pagesize)
17151 /* Next, check that the tail of a page is zero-filled. File must have
17152 non-zero length, otherwise we risk SIGBUS for entire page. */
17153 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
17157 if (write (fd2, cdata2, 1) != 1)
17159 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
17160 if (data2 == MAP_FAILED)
17162 for (i = 0; i < pagesize; ++i)
17166 if (munmap (data2, pagesize))
17169 /* Next, try to mmap the file at a fixed address which already has
17170 something else allocated at it. If we can, also make sure that
17171 we see the same garbage. */
17172 fd = open ("conftest.mmap", O_RDWR);
17175 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
17176 MAP_PRIVATE | MAP_FIXED, fd, 0L))
17178 for (i = 0; i < pagesize; ++i)
17179 if (*(data + i) != *(data2 + i))
17182 /* Finally, make sure that changes to the mapped area do not
17183 percolate back to the file as seen by read(). (This is a bug on
17184 some variants of i386 svr4.0.) */
17185 for (i = 0; i < pagesize; ++i)
17186 *(data2 + i) = *(data2 + i) + 1;
17187 data3 = (char *) malloc (pagesize);
17190 if (read (fd, data3, pagesize) != pagesize)
17192 for (i = 0; i < pagesize; ++i)
17193 if (*(data + i) != *(data3 + i))
17199 if ac_fn_c_try_run "$LINENO"; then :
17200 ac_cv_func_mmap_fixed_mapped=yes
17202 ac_cv_func_mmap_fixed_mapped=no
17204 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17205 conftest.$ac_objext conftest.beam conftest.$ac_ext
17209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
17210 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
17211 if test $ac_cv_func_mmap_fixed_mapped = yes; then
17213 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
17216 rm -f conftest.mmap conftest.txt
17219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17220 $as_echo_n "checking for library containing dlopen... " >&6; }
17221 if ${ac_cv_search_dlopen+:} false; then :
17222 $as_echo_n "(cached) " >&6
17224 ac_func_search_save_LIBS=$LIBS
17225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17226 /* end confdefs.h. */
17228 /* Override any GCC internal prototype to avoid an error.
17229 Use char because int might match the return type of a GCC
17230 builtin and then its argument prototype would still apply. */
17243 for ac_lib in '' dl; do
17244 if test -z "$ac_lib"; then
17245 ac_res="none required"
17248 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17250 if ac_fn_c_try_link "$LINENO"; then :
17251 ac_cv_search_dlopen=$ac_res
17253 rm -f core conftest.err conftest.$ac_objext \
17255 if ${ac_cv_search_dlopen+:} false; then :
17259 if ${ac_cv_search_dlopen+:} false; then :
17262 ac_cv_search_dlopen=no
17264 rm conftest.$ac_ext
17265 LIBS=$ac_func_search_save_LIBS
17267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17268 $as_echo "$ac_cv_search_dlopen" >&6; }
17269 ac_res=$ac_cv_search_dlopen
17270 if test "$ac_res" != no; then :
17271 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17275 if test x$plugins = xyes; then
17276 ENABLE_PLUGINS_TRUE=
17277 ENABLE_PLUGINS_FALSE='#'
17279 ENABLE_PLUGINS_TRUE='#'
17280 ENABLE_PLUGINS_FALSE=
17284 # Check whether --enable-initfini-array was given.
17285 if test "${enable_initfini_array+set}" = set; then :
17286 enableval=$enable_initfini_array; case "${enableval}" in
17288 *) as_fn_error $? "invalid --enable-initfini-array argument" "$LINENO" 5 ;;
17291 enable_initfini_array=yes
17295 if test $enable_initfini_array = yes; then
17297 $as_echo "#define HAVE_INITFINI_ARRAY 1" >>confdefs.h
17301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
17302 $as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
17303 if ${ld_cv_decl_getopt_unistd_h+:} false; then :
17304 $as_echo_n "(cached) " >&6
17306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17307 /* end confdefs.h. */
17308 #include <unistd.h>
17312 extern int getopt (int, char *const*, const char *);
17317 if ac_fn_c_try_compile "$LINENO"; then :
17318 ld_cv_decl_getopt_unistd_h=yes
17320 ld_cv_decl_getopt_unistd_h=no
17322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_cv_decl_getopt_unistd_h" >&5
17326 $as_echo "$ld_cv_decl_getopt_unistd_h" >&6; }
17327 if test $ld_cv_decl_getopt_unistd_h = yes; then
17329 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
17335 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
17337 $as_echo "#define USE_BINARY_FOPEN 1" >>confdefs.h
17341 ac_fn_c_check_decl "$LINENO" "strstr" "ac_cv_have_decl_strstr" "$ac_includes_default"
17342 if test "x$ac_cv_have_decl_strstr" = xyes; then :
17348 cat >>confdefs.h <<_ACEOF
17349 #define HAVE_DECL_STRSTR $ac_have_decl
17351 ac_fn_c_check_decl "$LINENO" "free" "ac_cv_have_decl_free" "$ac_includes_default"
17352 if test "x$ac_cv_have_decl_free" = xyes; then :
17358 cat >>confdefs.h <<_ACEOF
17359 #define HAVE_DECL_FREE $ac_have_decl
17361 ac_fn_c_check_decl "$LINENO" "sbrk" "ac_cv_have_decl_sbrk" "$ac_includes_default"
17362 if test "x$ac_cv_have_decl_sbrk" = xyes; then :
17368 cat >>confdefs.h <<_ACEOF
17369 #define HAVE_DECL_SBRK $ac_have_decl
17371 ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
17372 if test "x$ac_cv_have_decl_getenv" = xyes; then :
17378 cat >>confdefs.h <<_ACEOF
17379 #define HAVE_DECL_GETENV $ac_have_decl
17381 ac_fn_c_check_decl "$LINENO" "environ" "ac_cv_have_decl_environ" "$ac_includes_default"
17382 if test "x$ac_cv_have_decl_environ" = xyes; then :
17388 cat >>confdefs.h <<_ACEOF
17389 #define HAVE_DECL_ENVIRON $ac_have_decl
17393 # Link in zlib if we can. This allows us to read and write
17394 # compressed CTF sections.
17396 # Use the system's zlib library.
17397 zlibdir="-L\$(top_builddir)/../zlib"
17398 zlibinc="-I\$(top_srcdir)/../zlib"
17400 # Check whether --with-system-zlib was given.
17401 if test "${with_system_zlib+set}" = set; then :
17402 withval=$with_system_zlib; if test x$with_system_zlib = xyes ; then
17413 # When converting linker scripts into strings for use in emulation
17414 # files, use astring.sed if the compiler supports ANSI string
17415 # concatenation, or ostring.sed otherwise. This is to support the
17416 # broken Microsoft MSVC compiler, which limits the length of string
17417 # constants, while still supporting pre-ANSI compilers which do not
17418 # support string concatenation.
17419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ANSI C string concatenation works" >&5
17420 $as_echo_n "checking whether ANSI C string concatenation works... " >&6; }
17421 if ${ld_cv_string_concatenation+:} false; then :
17422 $as_echo_n "(cached) " >&6
17424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17425 /* end confdefs.h. */
17435 if ac_fn_c_try_compile "$LINENO"; then :
17436 ld_cv_string_concatenation=yes
17438 ld_cv_string_concatenation=no
17440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_cv_string_concatenation" >&5
17444 $as_echo "$ld_cv_string_concatenation" >&6; }
17445 if test "$ld_cv_string_concatenation" = "yes"; then
17446 STRINGIFY=astring.sed
17448 STRINGIFY=ostring.sed
17452 # target-specific stuff:
17461 # If the host is 64-bit, then we enable 64-bit targets by default.
17462 # This is consistent with what ../bfd/configure.ac does.
17463 if test x${want64} = xfalse; then
17464 # The cast to long int works around a bug in the HP C Compiler
17465 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17466 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
17467 # This bug is HP SR number 8606223364.
17468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
17469 $as_echo_n "checking size of void *... " >&6; }
17470 if ${ac_cv_sizeof_void_p+:} false; then :
17471 $as_echo_n "(cached) " >&6
17473 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
17476 if test "$ac_cv_type_void_p" = yes; then
17477 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17478 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
17479 as_fn_error 77 "cannot compute sizeof (void *)
17480 See \`config.log
' for more details" "$LINENO" 5; }
17482 ac_cv_sizeof_void_p=0
17487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
17488 $as_echo "$ac_cv_sizeof_void_p" >&6; }
17492 cat >>confdefs.h <<_ACEOF
17493 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
17497 if test "x${ac_cv_sizeof_void_p}" = "x8"; then
17502 elf_list_options=FALSE
17503 elf_shlib_list_options=FALSE
17504 elf_plt_unwind_list_options=FALSE
17505 for targ_alias in `echo $target_alias $enable_targets | sed 's
/,/ /g
'`
17507 if test "$targ_alias" = "all"; then
17509 elf_list_options=TRUE
17510 elf_shlib_list_options=TRUE
17511 elf_plt_unwind_list_options=TRUE
17513 # Canonicalize the secondary target names.
17514 result=`$ac_config_sub $targ_alias 2>/dev/null`
17515 if test -n "$result"; then
17521 . ${srcdir}/configure.tgt
17523 if test "$targ" = "$target"; then
17527 if test x${want64} = xfalse; then
17528 . ${srcdir}/../bfd/config.bfd
17531 if test x${want64} = xtrue; then
17532 targ_extra_emuls="$targ_extra_emuls $targ64_extra_emuls"
17533 targ_extra_libpath="$targ_extra_libpath $targ64_extra_libpath"
17536 for i in $targ_emul $targ_extra_emuls $targ_extra_libpath; do
17537 case " $all_emuls " in
17540 all_emuls="$all_emuls e${i}.o"
17541 eval result=\$tdir_$i
17542 test -z "$result" && result=$targ_alias
17547 elf_list_options=TRUE
17550 if $GREP "TEMPLATE_NAME=elf" ${srcdir}/emulparams/${i}.sh >/dev/null 2>/dev/null; then
17551 elf_list_options=TRUE
17555 if test "$elf_list_options" = "TRUE"; then
17560 source_sh ${srcdir}/emulparams/${i}.sh
17561 if test x${GENERATE_SHLIB_SCRIPT} = xyes; then
17562 elf_shlib_list_options=TRUE
17564 if test x${PLT_UNWIND} = xyes; then
17565 elf_plt_unwind_list_options=TRUE
17572 for i in $targ_emul $targ_extra_libpath; do
17573 case " $all_libpath " in
17576 if test -z "$all_libpath"; then
17579 all_libpath="$all_libpath ${i}"
17585 for i in $targ_extra_ofiles; do
17586 case " $all_emul_extras " in
17589 all_emul_extras="$all_emul_extras ${i}"
17597 if test x$ac_default_compressed_debug_sections = xyes ; then
17599 $as_echo "#define DEFAULT_FLAG_COMPRESS_DEBUG 1" >>confdefs.h
17603 if test "${ac_default_new_dtags}" = unset; then
17604 ac_default_new_dtags=0
17607 cat >>confdefs.h <<_ACEOF
17608 #define DEFAULT_NEW_DTAGS $ac_default_new_dtags
17612 if test "${ac_default_ld_z_relro}" = unset; then
17613 ac_default_ld_z_relro=0
17616 cat >>confdefs.h <<_ACEOF
17617 #define DEFAULT_LD_Z_RELRO $ac_default_ld_z_relro
17621 if test "${ac_default_ld_z_separate_code}" = unset; then
17622 ac_default_ld_z_separate_code=0
17625 cat >>confdefs.h <<_ACEOF
17626 #define DEFAULT_LD_Z_SEPARATE_CODE $ac_default_ld_z_separate_code
17631 cat >>confdefs.h <<_ACEOF
17632 #define DEFAULT_EMIT_SYSV_HASH $ac_default_emit_sysv_hash
17637 cat >>confdefs.h <<_ACEOF
17638 #define DEFAULT_EMIT_GNU_HASH $ac_default_emit_gnu_hash
17650 if test x${all_targets} = xtrue; then
17651 if test x${want64} = xtrue; then
17652 EMULATION_OFILES='$
(ALL_EMULATIONS
) $
(ALL_64_EMULATIONS
)'
17653 EMUL_EXTRA_OFILES='$
(ALL_EMUL_EXTRA_OFILES
) $
(ALL_64_EMUL_EXTRA_OFILES
)'
17655 EMULATION_OFILES='$
(ALL_EMULATIONS
)'
17656 EMUL_EXTRA_OFILES='$
(ALL_EMUL_EXTRA_OFILES
)'
17659 EMULATION_OFILES=$all_emuls
17660 EMUL_EXTRA_OFILES=$all_emul_extras
17666 EMULATION_LIBPATH=$all_libpath
17669 if test x${enable_static} = xno; then
17670 TESTBFDLIB="-Wl,--rpath,../bfd/.libs ../bfd/.libs/libbfd.so"
17671 TESTCTFLIB="-Wl,--rpath,../libctf/.libs ../libctf/.libs/libctf.so"
17673 TESTBFDLIB="../bfd/.libs/libbfd.a"
17674 TESTCTFLIB="../libctf/.libs/libctf.a"
17679 target_vendor=${target_vendor=$host_vendor}
17680 case "$target_vendor" in
17681 hp) EXTRA_SHLIB_EXTENSION=".sl" ;;
17682 *) EXTRA_SHLIB_EXTENSION= ;;
17685 case "$target_os" in
17686 lynxos) EXTRA_SHLIB_EXTENSION=".a" ;;
17689 if test x${EXTRA_SHLIB_EXTENSION} != x ; then
17691 cat >>confdefs.h <<_ACEOF
17692 #define EXTRA_SHLIB_EXTENSION "$EXTRA_SHLIB_EXTENSION"
17697 ac_config_commands="$ac_config_commands default"
17705 ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
17707 cat >confcache <<\_ACEOF
17708 # This file is a shell script that caches the results of configure
17709 # tests run on this system so they can be shared between configure
17710 # scripts and configure runs, see configure's option
--config-cache.
17711 # It is not useful on other systems. If it contains results you don't
17712 # want to keep, you may remove or edit it.
17714 # config.status only pays attention to the cache file if you give it
17715 # the --recheck option to rerun configure.
17717 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17718 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17719 # following values.
17723 # The following way of writing the cache mishandles newlines in values,
17724 # but we know of no workaround that is simple, portable, and efficient.
17725 # So, we kill variables containing newlines.
17726 # Ultrix sh set writes to stderr and can't be redirected directly,
17727 # and sets the high bit in the cache file unless we assign to the vars.
17729 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17730 eval ac_val
=\$
$ac_var
17734 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17735 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17738 _ | IFS | as_nl
) ;; #(
17739 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17740 *) { eval $ac_var=; unset $ac_var;} ;;
17746 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17747 *${as_nl}ac_space
=\
*)
17748 # `set' does not quote correctly, so add quotes: double-quote
17749 # substitution turns \\\\ into \\, and sed turns \\ into \.
17752 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17755 # `set' quotes correctly as required by POSIX, so do not add quotes.
17756 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17765 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17767 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17769 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17770 if test -w "$cache_file"; then
17771 if test "x$cache_file" != "x/dev/null"; then
17772 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17773 $as_echo "$as_me: updating cache $cache_file" >&6;}
17774 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17775 cat confcache
>"$cache_file"
17777 case $cache_file in #(
17779 mv -f confcache
"$cache_file"$$
&&
17780 mv -f "$cache_file"$$
"$cache_file" ;; #(
17782 mv -f confcache
"$cache_file" ;;
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17788 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17793 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17794 # Let make expand exec_prefix.
17795 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17797 DEFS
=-DHAVE_CONFIG_H
17802 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17803 # 1. Remove the extension, and $U if already installed.
17804 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17805 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17806 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17807 # will be set to the directory where LIBOBJS objects are built.
17808 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17809 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17811 LIBOBJS
=$ac_libobjs
17813 LTLIBOBJS
=$ac_ltlibobjs
17816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17817 $as_echo_n "checking that generated files are newer than configure... " >&6; }
17818 if test -n "$am_sleep_pid"; then
17819 # Hide warnings about reused PIDs.
17820 wait $am_sleep_pid 2>/dev
/null
17822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17823 $as_echo "done" >&6; }
17824 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17825 as_fn_error $?
"conditional \"AMDEP\" was never defined.
17826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17828 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17829 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
17830 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17832 if test -n "$EXEEXT"; then
17834 am__EXEEXT_FALSE
='#'
17836 am__EXEEXT_TRUE
='#'
17840 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17841 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
17842 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17844 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17845 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
17846 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17848 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17849 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
17850 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17852 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
17853 as_fn_error $?
"conditional \"GENINSRC_NEVER\" was never defined.
17854 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17856 if test -z "${ENABLE_PLUGINS_TRUE}" && test -z "${ENABLE_PLUGINS_FALSE}"; then
17857 as_fn_error $?
"conditional \"ENABLE_PLUGINS\" was never defined.
17858 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17861 : "${CONFIG_STATUS=./config.status}"
17863 ac_clean_files_save
=$ac_clean_files
17864 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17865 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17866 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17868 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17870 # Generated by $as_me.
17871 # Run this file to recreate the current configuration.
17872 # Compiler output produced by configure, useful for debugging
17873 # configure, is in config.log if it exists.
17876 ac_cs_recheck=false
17879 SHELL=\${CONFIG_SHELL-$SHELL}
17882 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17883 ## -------------------- ##
17884 ## M4sh Initialization. ##
17885 ## -------------------- ##
17887 # Be more Bourne compatible
17888 DUALCASE
=1; export DUALCASE
# for MKS sh
17889 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17892 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17893 # is contrary to our usage. Disable this feature.
17894 alias -g '${1+"$@"}'='"$@"'
17895 setopt NO_GLOB_SUBST
17897 case `(set -o) 2>/dev/null` in #(
17909 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17910 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17911 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17912 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17913 # Prefer a ksh shell builtin over an external printf program on Solaris,
17914 # but without wasting forks for bash or zsh.
17915 if test -z "$BASH_VERSION$ZSH_VERSION" \
17916 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17917 as_echo='print
-r --'
17918 as_echo_n='print
-rn --'
17919 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17920 as_echo='printf %s
\n'
17921 as_echo_n='printf %s
'
17923 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17924 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17925 as_echo_n='/usr
/ucb
/echo -n'
17927 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17928 as_echo_n_body='eval
17932 expr "X$arg" : "X\\(.*\\)$as_nl";
17933 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17935 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17937 export as_echo_n_body
17938 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17940 export as_echo_body
17941 as_echo='sh
-c $as_echo_body as_echo
'
17944 # The user is always right.
17945 if test "${PATH_SEPARATOR+set}" != set; then
17947 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17948 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17955 # We need space, tab and new line, in precisely that order. Quoting is
17956 # there to prevent editors from complaining about space-tab.
17957 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17958 # splitting by setting IFS to empty value.)
17961 # Find who we are. Look in the path if we contain no directory separator.
17964 *[\\/]* ) as_myself=$0 ;;
17965 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17966 for as_dir in $PATH
17969 test -z "$as_dir" && as_dir=.
17970 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17976 # We did not find ourselves, most probably we were run as `sh COMMAND'
17977 # in which case we are not to be found in the path.
17978 if test "x$as_myself" = x
; then
17981 if test ! -f "$as_myself"; then
17982 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17986 # Unset variables that we do not need and which cause bugs (e.g. in
17987 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17988 # suppresses any "Segmentation fault" message there. '((' could
17989 # trigger a bug in pdksh 5.2.14.
17990 for as_var
in BASH_ENV ENV MAIL MAILPATH
17991 do eval test x\
${$as_var+set} = xset \
17992 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18005 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18008 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18009 # ----------------------------------------
18010 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18011 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18012 # script with STATUS, using 1 if that was 0.
18015 as_status
=$1; test $as_status -eq 0 && as_status
=1
18017 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18018 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18020 $as_echo "$as_me: error: $2" >&2
18021 as_fn_exit
$as_status
18025 # as_fn_set_status STATUS
18026 # -----------------------
18027 # Set $? to STATUS, without forking.
18028 as_fn_set_status
()
18031 } # as_fn_set_status
18033 # as_fn_exit STATUS
18034 # -----------------
18035 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18039 as_fn_set_status
$1
18045 # Portably unset VAR.
18048 { eval $1=; unset $1;}
18050 as_unset
=as_fn_unset
18051 # as_fn_append VAR VALUE
18052 # ----------------------
18053 # Append the text in VALUE to the end of the definition contained in VAR. Take
18054 # advantage of any shell optimizations that allow amortized linear growth over
18055 # repeated appends, instead of the typical quadratic growth present in naive
18057 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18058 eval 'as_fn_append ()
18069 # as_fn_arith ARG...
18070 # ------------------
18071 # Perform arithmetic evaluation on the ARGs, and store the result in the
18072 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18073 # must be portable across $(()) and expr.
18074 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18075 eval 'as_fn_arith ()
18082 as_val
=`expr "$@" || test $? -eq 1`
18087 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18088 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18094 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18095 as_basename
=basename
18100 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18106 as_me
=`$as_basename -- "$0" ||
18107 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18108 X"$0" : 'X\(//\)$' \| \
18109 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18111 sed '/^.*\/\([^/][^/]*\)\/*$/{
18125 # Avoid depending upon Character Ranges.
18126 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18127 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18128 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18129 as_cr_digits
='0123456789'
18130 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18132 ECHO_C
= ECHO_N
= ECHO_T
=
18133 case `echo -n x` in #(((((
18135 case `echo 'xy\c'` in
18136 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18138 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18145 rm -f conf$$ conf$$.exe conf$$.
file
18146 if test -d conf$$.dir
; then
18147 rm -f conf$$.dir
/conf$$.
file
18150 mkdir conf$$.dir
2>/dev
/null
18152 if (echo >conf$$.
file) 2>/dev
/null
; then
18153 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18155 # ... but there are two gotchas:
18156 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18157 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18158 # In both cases, we have to default to `cp -pR'.
18159 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18161 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18169 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18170 rmdir conf$$.dir
2>/dev
/null
18175 # Create "$as_dir" as a directory, including parents if necessary.
18180 -*) as_dir
=.
/$as_dir;;
18182 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18186 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18187 *) as_qdir
=$as_dir;;
18189 as_dirs
="'$as_qdir' $as_dirs"
18190 as_dir
=`$as_dirname -- "$as_dir" ||
18191 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18192 X"$as_dir" : 'X\(//\)[^/]' \| \
18193 X"$as_dir" : 'X\(//\)$' \| \
18194 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18195 $as_echo X"$as_dir" |
18196 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18200 /^X\(\/\/\)[^/].*/{
18213 test -d "$as_dir" && break
18215 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18216 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18220 if mkdir
-p .
2>/dev
/null
; then
18221 as_mkdir_p
='mkdir -p "$as_dir"'
18223 test -d .
/-p && rmdir .
/-p
18228 # as_fn_executable_p FILE
18229 # -----------------------
18230 # Test if FILE is an executable regular file.
18231 as_fn_executable_p
()
18233 test -f "$1" && test -x "$1"
18234 } # as_fn_executable_p
18235 as_test_x
='test -x'
18236 as_executable_p
=as_fn_executable_p
18238 # Sed expression to map a string onto a valid CPP name.
18239 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18241 # Sed expression to map a string onto a valid variable name.
18242 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18246 ## ----------------------------------- ##
18247 ## Main body of $CONFIG_STATUS script. ##
18248 ## ----------------------------------- ##
18250 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18252 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18253 # Save the log message, to keep $0 and so on meaningful, and to
18254 # report actual input values of CONFIG_FILES etc. instead of their
18255 # values after options handling.
18257 This file was extended by ld $as_me 2.34.50, which was
18258 generated by GNU Autoconf 2.69. Invocation command line was
18260 CONFIG_FILES = $CONFIG_FILES
18261 CONFIG_HEADERS = $CONFIG_HEADERS
18262 CONFIG_LINKS = $CONFIG_LINKS
18263 CONFIG_COMMANDS = $CONFIG_COMMANDS
18266 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18271 case $ac_config_files in *"
18272 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18275 case $ac_config_headers in *"
18276 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18280 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18281 # Files that config.status was made for.
18282 config_files="$ac_config_files"
18283 config_headers="$ac_config_headers"
18284 config_commands="$ac_config_commands"
18288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18290 \`$as_me' instantiates files and other configuration actions
18291 from templates according to the current configuration. Unless the files
18292 and actions are specified as TAGs, all are instantiated by default.
18294 Usage: $0 [OPTION]... [TAG]...
18296 -h, --help print this help, then exit
18297 -V, --version print version number and configuration settings, then exit
18298 --config print configuration, then exit
18299 -q, --quiet, --silent
18300 do not print progress messages
18301 -d, --debug don't remove temporary files
18302 --recheck update $as_me by reconfiguring in the same conditions
18303 --file=FILE[:TEMPLATE]
18304 instantiate the configuration file FILE
18305 --header=FILE[:TEMPLATE]
18306 instantiate the configuration header FILE
18308 Configuration files:
18311 Configuration headers:
18314 Configuration commands:
18317 Report bugs to the package provider."
18320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18321 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18323 ld config.status 2.34.50
18324 configured by $0, generated by GNU Autoconf 2.69,
18325 with options \\"\$ac_cs_config\\"
18327 Copyright (C) 2012 Free Software Foundation, Inc.
18328 This config.status script is free software; the Free Software Foundation
18329 gives unlimited permission to copy, distribute and modify it."
18336 test -n "\$AWK" || AWK=awk
18339 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18340 # The default lists apply if the user does not specify any file.
18346 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18347 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18351 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18363 # Handling of the options.
18364 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18366 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18367 $as_echo "$ac_cs_version"; exit ;;
18368 --config |
--confi |
--conf |
--con |
--co |
--c )
18369 $as_echo "$ac_cs_config"; exit ;;
18370 --debug |
--debu |
--deb |
--de |
--d |
-d )
18372 --file |
--fil |
--fi |
--f )
18375 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18376 '') as_fn_error $?
"missing file argument" ;;
18378 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18379 ac_need_defaults
=false
;;
18380 --header |
--heade |
--head |
--hea )
18383 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18385 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18386 ac_need_defaults
=false
;;
18388 # Conflict between --help and --header
18389 as_fn_error $?
"ambiguous option: \`$1'
18390 Try \`$0 --help' for more information.";;
18391 --help |
--hel |
-h )
18392 $as_echo "$ac_cs_usage"; exit ;;
18393 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18394 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18397 # This is an error.
18398 -*) as_fn_error $?
"unrecognized option: \`$1'
18399 Try \`$0 --help' for more information." ;;
18401 *) as_fn_append ac_config_targets
" $1"
18402 ac_need_defaults
=false
;;
18408 ac_configure_extra_args
=
18410 if $ac_cs_silent; then
18412 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18416 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18417 if \$ac_cs_recheck; then
18418 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18420 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18421 CONFIG_SHELL='$SHELL'
18422 export CONFIG_SHELL
18427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18431 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18432 ## Running $as_me. ##
18438 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18442 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18445 # The HP-UX ksh and POSIX shell print the target directory to stdout
18446 # if CDPATH is set.
18447 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18449 sed_quote_subst='$sed_quote_subst'
18450 double_quote_subst='$double_quote_subst'
18451 delay_variable_subst='$delay_variable_subst'
18452 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18453 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18454 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18455 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18456 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18457 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18458 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18459 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18460 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18461 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18462 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18463 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18464 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18465 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18466 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18467 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18468 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18469 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18470 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18471 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18472 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18473 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18474 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18475 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18476 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18477 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18478 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18479 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18480 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18481 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18482 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18483 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18484 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18485 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18486 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18487 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18488 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18489 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18490 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18491 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18492 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18493 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18494 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18495 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18496 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18497 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18498 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18499 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18500 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
18501 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18502 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18503 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18504 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18505 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18506 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18507 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18508 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18509 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18510 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18511 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18512 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18513 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18514 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18515 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18516 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18517 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18518 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18519 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18520 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18521 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18522 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18523 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18524 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18525 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18526 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18527 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18528 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18529 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18530 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18531 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18532 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
18533 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18534 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18535 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18536 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18537 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18538 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18539 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18540 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18541 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
18542 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18543 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18544 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18545 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18546 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18547 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18548 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18549 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18550 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18551 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18552 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18553 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18554 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18555 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18556 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18557 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18558 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18559 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18560 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18561 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18562 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18563 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18564 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18565 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18566 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18567 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18568 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18569 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18570 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18571 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18572 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
18573 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
18574 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
18575 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
18576 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
18577 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
18578 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
18579 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
18580 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18581 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18582 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18583 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18584 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18585 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18586 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18587 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18588 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18589 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18590 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
18591 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18592 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18593 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
18594 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18595 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18596 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18597 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18598 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18599 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18600 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18601 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18602 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18603 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18604 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
18605 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18606 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18607 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18608 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18609 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18610 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18611 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18612 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18613 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
18614 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18615 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18616 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18617 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18618 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18619 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18620 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18621 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18622 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18623 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18624 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18625 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18626 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18629 LTCFLAGS='$LTCFLAGS'
18630 compiler='$compiler_DEFAULT'
18632 # A function that is used when there is no print builtin or printf.
18633 func_fallback_echo ()
18635 eval 'cat <<_LTECHO_EOF
18640 # Quote evaled strings.
18654 deplibs_check_method \
18663 lt_cv_sys_global_symbol_pipe \
18664 lt_cv_sys_global_symbol_to_cdecl \
18665 lt_cv_sys_global_symbol_to_c_name_address \
18666 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18667 lt_prog_compiler_no_builtin_flag \
18668 lt_prog_compiler_wl \
18669 lt_prog_compiler_pic \
18670 lt_prog_compiler_static \
18671 lt_cv_prog_compiler_c_o \
18679 export_dynamic_flag_spec \
18680 whole_archive_flag_spec \
18681 compiler_needs_object \
18683 allow_undefined_flag \
18684 no_undefined_flag \
18685 hardcode_libdir_flag_spec \
18686 hardcode_libdir_flag_spec_ld \
18687 hardcode_libdir_separator \
18692 variables_saved_for_relink \
18694 library_names_spec \
18696 install_override_mode \
18700 compiler_lib_search_dirs \
18705 compiler_lib_search_path \
18709 lt_prog_compiler_no_builtin_flag_CXX \
18710 lt_prog_compiler_wl_CXX \
18711 lt_prog_compiler_pic_CXX \
18712 lt_prog_compiler_static_CXX \
18713 lt_cv_prog_compiler_c_o_CXX \
18714 export_dynamic_flag_spec_CXX \
18715 whole_archive_flag_spec_CXX \
18716 compiler_needs_object_CXX \
18718 allow_undefined_flag_CXX \
18719 no_undefined_flag_CXX \
18720 hardcode_libdir_flag_spec_CXX \
18721 hardcode_libdir_flag_spec_ld_CXX \
18722 hardcode_libdir_separator_CXX \
18723 fix_srcfile_path_CXX \
18724 exclude_expsyms_CXX \
18725 include_expsyms_CXX \
18726 file_list_spec_CXX \
18727 compiler_lib_search_dirs_CXX \
18728 predep_objects_CXX \
18729 postdep_objects_CXX \
18732 compiler_lib_search_path_CXX; do
18733 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18734 *[\\\\\\\`\\"\\\$]*)
18735 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18738 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18743 # Double-quote double-evaled strings.
18744 for var in reload_cmds \
18745 old_postinstall_cmds \
18746 old_postuninstall_cmds \
18748 extract_expsyms_cmds \
18749 old_archive_from_new_cmds \
18750 old_archive_from_expsyms_cmds \
18752 archive_expsym_cmds \
18754 module_expsym_cmds \
18755 export_symbols_cmds \
18758 postuninstall_cmds \
18760 sys_lib_search_path_spec \
18761 sys_lib_dlsearch_path_spec \
18763 old_archive_cmds_CXX \
18764 old_archive_from_new_cmds_CXX \
18765 old_archive_from_expsyms_cmds_CXX \
18767 archive_expsym_cmds_CXX \
18769 module_expsym_cmds_CXX \
18770 export_symbols_cmds_CXX \
18771 prelink_cmds_CXX; do
18772 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18773 *[\\\\\\\`\\"\\\$]*)
18774 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18777 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18782 ac_aux_dir='$ac_aux_dir'
18783 xsi_shell='$xsi_shell'
18784 lt_shell_append='$lt_shell_append'
18786 # See if we are running on zsh, and set the options which allow our
18787 # commands through without removal of \ escapes INIT.
18788 if test -n "\${ZSH_VERSION+set}" ; then
18789 setopt NO_GLOB_SUBST
18795 TIMESTAMP='$TIMESTAMP'
18803 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
18804 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
18806 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
18807 # Capture the value of LINGUAS because we need it to compute CATALOGS.
18808 LINGUAS="${LINGUAS-%UNSET%}"
18814 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18816 # Handling of arguments.
18817 for ac_config_target
in $ac_config_targets
18819 case $ac_config_target in
18820 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
18821 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
18822 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
18823 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
18824 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
18825 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
18826 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
18828 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18833 # If the user did not use the arguments to specify the items to instantiate,
18834 # then the envvar interface is used. Set only those that are not.
18835 # We use the long form for the default assignment because of an extremely
18836 # bizarre bug on SunOS 4.1.3.
18837 if $ac_need_defaults; then
18838 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18839 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18840 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18843 # Have a temporary directory for convenience. Make it in the build tree
18844 # simply because there is no reason against having it here, and in addition,
18845 # creating and moving files from /tmp can sometimes cause problems.
18846 # Hook for its removal unless debugging.
18847 # Note that there is a small window in which the directory will not be cleaned:
18848 # after its creation but before its name has been assigned to `$tmp'.
18852 trap 'exit_status=$?
18853 : "${ac_tmp:=$tmp}"
18854 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18856 trap 'as_fn_exit 1' 1 2 13 15
18858 # Create a (secure) tmp directory for tmp files.
18861 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18865 tmp
=.
/conf$$
-$RANDOM
18866 (umask 077 && mkdir
"$tmp")
18867 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18870 # Set up the scripts for CONFIG_FILES section.
18871 # No need to generate them if there are no CONFIG_FILES.
18872 # This happens for instance with `./config.status config.h'.
18873 if test -n "$CONFIG_FILES"; then
18876 ac_cr
=`echo X | tr X '\015'`
18877 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18878 # But we know of no other shell where ac_cr would be empty at this
18879 # point, so we can use a bashism as a fallback.
18880 if test "x$ac_cr" = x
; then
18881 eval ac_cr
=\$
\'\\r
\'
18883 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18884 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18887 ac_cs_awk_cr
=$ac_cr
18890 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18895 echo "cat >conf$$subs.awk <<_ACEOF" &&
18896 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18898 } >conf$$subs.sh ||
18899 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18900 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18902 for ac_last_try in false false false false false :; do
18903 . ./conf$$subs.sh ||
18904 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18906 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18907 if test $ac_delim_n = $ac_delim_num; then
18909 elif $ac_last_try; then
18910 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18912 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18915 rm -f conf$$subs.sh
18917 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18918 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18922 s/^/S["/; s
/!.
*/"]=/
18932 s/\(.\{148\}\)..*/\1/
18934 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18939 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18946 s/\(.\{148\}\)..*/\1/
18948 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18952 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18957 ' <conf$$subs.awk | sed '
18962 ' >>$CONFIG_STATUS || ac_write_fail=1
18963 rm -f conf$$subs.awk
18964 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18966 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18967 for (key in S) S_is_set[key] = 1
18973 nfields = split(line, field, "@
")
18975 len = length(field[1])
18976 for (i = 2; i < nfields; i++) {
18978 keylen = length(key)
18979 if (S_is_set[key]) {
18981 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18982 len += length(value) + length(field[++i])
18993 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18994 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18995 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18998 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18999 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19002 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19003 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19004 # trailing colons and then remove the whole line if VPATH becomes empty
19005 # (actually we leave an empty line to preserve line numbers).
19006 if test "x
$srcdir" = x.; then
19007 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19026 fi # test -n "$CONFIG_FILES"
19028 # Set up the scripts for CONFIG_HEADERS section.
19029 # No need to generate them if there are no CONFIG_HEADERS.
19030 # This happens for instance with `./config.status Makefile'.
19031 if test -n "$CONFIG_HEADERS"; then
19032 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19036 # Transform confdefs.h into an awk script `defines.awk', embedded as
19037 # here-document in config.status, that substitutes the proper values into
19038 # config.h.in to produce config.h.
19040 # Create a delimiter string that does not exist in confdefs.h, to ease
19041 # handling of long lines.
19043 for ac_last_try in false false :; do
19044 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19045 if test -z "$ac_tt"; then
19047 elif $ac_last_try; then
19048 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19050 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19054 # For the awk script, D is an array of macro values keyed by name,
19055 # likewise P contains macro parameters if any. Preserve backslash
19056 # newline sequences.
19058 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19060 s/.\{148\}/&'"$ac_delim"'/g
19063 s/^[ ]*#[ ]*define[ ][ ]*/ /
19070 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19072 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19076 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19077 D["\
1"]=" \
3\\\\\\n
"\\/p
19079 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19084 s/.\{148\}/&'"$ac_delim"'/g
19089 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19092 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19094 ' <confdefs.h | sed '
19095 s/'"$ac_delim"'/"\\\
19096 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19099 for (key in D) D_is_set[key] = 1
19102 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19104 split(line, arg, " ")
19105 if (arg[1] == "#") {
19109 defundef
= substr
(arg
[1], 2)
19112 split(mac1
, mac2
, "(") #)
19114 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19115 if (D_is_set
[macro
]) {
19116 # Preserve the white space surrounding the "#".
19117 print prefix
"define", macro P
[macro
] D
[macro
]
19120 # Replace #undef with comments. This is necessary, for example,
19121 # in the case of _POSIX_SOURCE, which is predefined and required
19122 # on some systems where configure will not decide to define it.
19123 if (defundef
== "undef") {
19124 print
"/*", prefix defundef
, macro
, "*/"
19132 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19133 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19134 fi # test -n "$CONFIG_HEADERS"
19137 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
19142 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19144 case $ac_mode$ac_tag in
19146 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19147 :[FH
]-) ac_tag
=-:-;;
19148 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19165 -) ac_f
="$ac_tmp/stdin";;
19166 *) # Look for the file first in the build tree, then in the source tree
19167 # (if the path is not absolute). The absolute path cannot be DOS-style,
19168 # because $ac_f cannot contain `:'.
19172 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19174 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19176 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19177 as_fn_append ac_file_inputs
" '$ac_f'"
19180 # Let's still pretend it is `configure' which instantiates (i.e., don't
19181 # use $as_me), people would be surprised to read:
19182 # /* config.h. Generated by config.status. */
19183 configure_input
='Generated from '`
19184 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19186 if test x
"$ac_file" != x-
; then
19187 configure_input
="$ac_file. $configure_input"
19188 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19189 $as_echo "$as_me: creating $ac_file" >&6;}
19191 # Neutralize special characters interpreted by sed in replacement strings.
19192 case $configure_input in #(
19193 *\
&* |
*\|
* |
*\\* )
19194 ac_sed_conf_input
=`$as_echo "$configure_input" |
19195 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19196 *) ac_sed_conf_input
=$configure_input;;
19200 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19201 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19206 ac_dir
=`$as_dirname -- "$ac_file" ||
19207 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19208 X"$ac_file" : 'X\(//\)[^/]' \| \
19209 X"$ac_file" : 'X\(//\)$' \| \
19210 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19211 $as_echo X"$ac_file" |
19212 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19216 /^X\(\/\/\)[^/].*/{
19229 as_dir
="$ac_dir"; as_fn_mkdir_p
19233 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19235 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19236 # A ".." for each directory in $ac_dir_suffix.
19237 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19238 case $ac_top_builddir_sub in
19239 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19240 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19243 ac_abs_top_builddir
=$ac_pwd
19244 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19245 # for backward compatibility:
19246 ac_top_builddir
=$ac_top_build_prefix
19249 .
) # We are building in place.
19251 ac_top_srcdir
=$ac_top_builddir_sub
19252 ac_abs_top_srcdir
=$ac_pwd ;;
19253 [\\/]* | ?
:[\\/]* ) # Absolute name.
19254 ac_srcdir
=$srcdir$ac_dir_suffix;
19255 ac_top_srcdir
=$srcdir
19256 ac_abs_top_srcdir
=$srcdir ;;
19257 *) # Relative name.
19258 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19259 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19260 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19262 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19272 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
19273 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
19275 ac_MKDIR_P
=$MKDIR_P
19277 [\\/$
]* | ?
:[\\/]* ) ;;
19278 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
19282 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19283 # If the template does not know about datarootdir, expand it.
19284 # FIXME: This hack should be removed a few years after 2.60.
19285 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19296 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19297 *datarootdir
*) ac_datarootdir_seen
=yes;;
19298 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19300 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19303 ac_datarootdir_hack='
19304 s&@datadir@&$datadir&g
19305 s&@docdir@&$docdir&g
19306 s&@infodir@&$infodir&g
19307 s&@localedir@&$localedir&g
19308 s&@mandir@&$mandir&g
19309 s&\\\${datarootdir}&$datarootdir&g' ;;
19313 # Neutralize VPATH when `$srcdir' = `.'.
19314 # Shell code in configure.ac might set extrasub.
19315 # FIXME: do we really want to maintain this feature?
19316 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19317 ac_sed_extra="$ac_vpsub
19320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19322 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19323 s|@configure_input@|
$ac_sed_conf_input|
;t t
19324 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19325 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19326 s
&@srcdir@
&$ac_srcdir&;t t
19327 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19328 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19329 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19330 s
&@builddir@
&$ac_builddir&;t t
19331 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19332 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19333 s
&@INSTALL@
&$ac_INSTALL&;t t
19334 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
19335 $ac_datarootdir_hack
19337 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19338 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19340 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19341 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19342 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19343 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19345 which seems to be undefined. Please make sure it is defined" >&5
19346 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19347 which seems to be undefined. Please make sure it is defined" >&2;}
19349 rm -f "$ac_tmp/stdin"
19351 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19352 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19354 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19360 if test x"$ac_file" != x-; then
19362 $as_echo "/* $configure_input */" \
19363 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19364 } >"$ac_tmp/config.h" \
19365 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19366 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19367 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19368 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19371 mv "$ac_tmp/config.h" "$ac_file" \
19372 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19375 $as_echo "/* $configure_input */" \
19376 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19377 || as_fn_error $? "could not create -" "$LINENO" 5
19379 # Compute "$ac_file"'s index
in $config_headers.
19382 for _am_header
in $config_headers :; do
19383 case $_am_header in
19384 $_am_arg |
$_am_arg:* )
19387 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
19390 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19391 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19392 X"$_am_arg" : 'X\(//\)[^/]' \| \
19393 X"$_am_arg" : 'X\(//\)$' \| \
19394 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19395 $as_echo X"$_am_arg" |
19396 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19400 /^X\(\/\/\)[^/].*/{
19412 s/.*/./; q'`/stamp-h
$_am_stamp_count
19415 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19416 $as_echo "$as_me: executing $ac_file commands" >&6;}
19421 case $ac_file$ac_mode in
19422 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
19423 # Older Autoconf quotes --file arguments for eval, but not when files
19424 # are listed without --file. Let's play safe and only enable the eval
19425 # if we detect the quoting.
19426 case $CONFIG_FILES in
19427 *\'*) eval set x
"$CONFIG_FILES" ;;
19428 *) set x
$CONFIG_FILES ;;
19433 # Strip MF so we end up with the name of the file.
19434 mf
=`echo "$mf" | sed -e 's/:.*$//'`
19435 # Check whether this is an Automake generated Makefile or not.
19436 # We used to match only the files named 'Makefile.in', but
19437 # some people rename them; so instead we look at the file content.
19438 # Grep'ing the first line is not enough: some people post-process
19439 # each Makefile.in and add a new line on top of each file to say so.
19440 # Grep'ing the whole file is not good either: AIX grep has a line
19441 # limit of 2048, but all sed's we know have understand at least 4000.
19442 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
19443 dirpart
=`$as_dirname -- "$mf" ||
19444 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19445 X"$mf" : 'X\(//\)[^/]' \| \
19446 X"$mf" : 'X\(//\)$' \| \
19447 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19449 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19453 /^X\(\/\/\)[^/].*/{
19469 # Extract the definition of DEPDIR, am__include, and am__quote
19470 # from the Makefile without running 'make'.
19471 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
19472 test -z "$DEPDIR" && continue
19473 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
19474 test -z "$am__include" && continue
19475 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
19476 # Find all dependency output files, they are included files with
19477 # $(DEPDIR) in their names. We invoke sed twice because it is the
19478 # simplest approach to changing $(DEPDIR) to its actual value in the
19480 for file in `sed -n "
19481 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19482 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
19483 # Make sure the directory exists.
19484 test -f "$dirpart/$file" && continue
19485 fdir
=`$as_dirname -- "$file" ||
19486 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19487 X"$file" : 'X\(//\)[^/]' \| \
19488 X"$file" : 'X\(//\)$' \| \
19489 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19490 $as_echo X"$file" |
19491 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19495 /^X\(\/\/\)[^/].*/{
19508 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
19509 # echo "creating $dirpart/$file"
19510 echo '# dummy' > "$dirpart/$file"
19517 # See if we are running on zsh, and set the options which allow our
19518 # commands through without removal of \ escapes.
19519 if test -n "${ZSH_VERSION+set}" ; then
19520 setopt NO_GLOB_SUBST
19523 cfgfile
="${ofile}T"
19524 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19527 cat <<_LT_EOF >> "$cfgfile"
19530 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19531 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19532 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19533 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19535 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19536 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
19537 # Written by Gordon Matzigkeit, 1996
19539 # This file is part of GNU Libtool.
19541 # GNU Libtool is free software; you can redistribute it and/or
19542 # modify it under the terms of the GNU General Public License as
19543 # published by the Free Software Foundation; either version 2 of
19544 # the License, or (at your option) any later version.
19546 # As a special exception to the GNU General Public License,
19547 # if you distribute this file as part of a program or library that
19548 # is built using GNU Libtool, you may include this file under the
19549 # same distribution terms that you use for the rest of that program.
19551 # GNU Libtool is distributed in the hope that it will be useful,
19552 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19553 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19554 # GNU General Public License for more details.
19556 # You should have received a copy of the GNU General Public License
19557 # along with GNU Libtool; see the file COPYING. If not, a copy
19558 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19559 # obtained by writing to the Free Software Foundation, Inc.,
19560 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19563 # The names of the tagged configurations supported by this script.
19564 available_tags="CXX "
19566 # ### BEGIN LIBTOOL CONFIG
19568 # Which release of libtool.m4 was used?
19569 macro_version=$macro_version
19570 macro_revision=$macro_revision
19572 # Whether or not to build shared libraries.
19573 build_libtool_libs=$enable_shared
19575 # Whether or not to build static libraries.
19576 build_old_libs=$enable_static
19578 # What type of objects to build.
19581 # Whether or not to optimize for fast installation.
19582 fast_install=$enable_fast_install
19584 # Shell to use when invoking shell scripts.
19587 # An echo program that protects backslashes.
19591 host_alias=$host_alias
19595 # The build system.
19596 build_alias=$build_alias
19600 # A sed program that does not truncate output.
19603 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19604 Xsed="\$SED -e 1s/^X//"
19606 # A grep program that handles long lines.
19612 # A literal string matcher.
19615 # A BSD- or MS-compatible name lister.
19618 # Whether we need soft or hard links.
19621 # What is the maximum length of a command?
19622 max_cmd_len=$max_cmd_len
19624 # Object file suffix (normally "o").
19627 # Executable file suffix (normally "").
19630 # whether the shell understands "unset".
19633 # turn spaces into newlines.
19636 # turn newlines into spaces.
19639 # An object symbol dumper.
19640 OBJDUMP=$lt_OBJDUMP
19642 # Method to check whether dependent libraries are shared objects.
19643 deplibs_check_method=$lt_deplibs_check_method
19645 # Command to use when deplibs_check_method == "file_magic".
19646 file_magic_cmd=$lt_file_magic_cmd
19650 AR_FLAGS=$lt_AR_FLAGS
19652 # A symbol stripping program.
19655 # Commands used to install an old-style archive.
19657 old_postinstall_cmds=$lt_old_postinstall_cmds
19658 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19660 # Whether to use a lock for old archive extraction.
19661 lock_old_archive_extraction=$lock_old_archive_extraction
19666 # LTCC compiler flags.
19667 LTCFLAGS=$lt_CFLAGS
19669 # Take the output of nm and produce a listing of raw symbols and C names.
19670 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19672 # Transform the output of nm in a proper C declaration.
19673 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19675 # Transform the output of nm in a C name address pair.
19676 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19678 # Transform the output of nm in a C name address pair when lib prefix is needed.
19679 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19681 # The name of the directory that contains temporary libtool files.
19684 # Used to examine libraries when file_magic_cmd begins with "file".
19685 MAGIC_CMD=$MAGIC_CMD
19687 # Must we lock files when doing compilation?
19688 need_locks=$lt_need_locks
19690 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19691 DSYMUTIL=$lt_DSYMUTIL
19693 # Tool to change global to local symbols on Mac OS X.
19696 # Tool to manipulate fat objects and archives on Mac OS X.
19699 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19702 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19703 OTOOL64=$lt_OTOOL64
19705 # Old archive suffix (normally "a").
19708 # Shared library suffix (normally ".so").
19709 shrext_cmds=$lt_shrext_cmds
19711 # The commands to extract the exported symbol list from a shared archive.
19712 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19714 # Variables whose values should be saved in libtool wrapper scripts and
19715 # restored at link time.
19716 variables_saved_for_relink=$lt_variables_saved_for_relink
19718 # Do we need the "lib" prefix for modules?
19719 need_lib_prefix=$need_lib_prefix
19721 # Do we need a version for libraries?
19722 need_version=$need_version
19724 # Library versioning type.
19725 version_type=$version_type
19727 # Shared library runtime path variable.
19728 runpath_var=$runpath_var
19730 # Shared library path variable.
19731 shlibpath_var=$shlibpath_var
19733 # Is shlibpath searched before the hard-coded library search path?
19734 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19736 # Format of library name prefix.
19737 libname_spec=$lt_libname_spec
19739 # List of archive names. First name is the real one, the rest are links.
19740 # The last name is the one that the linker finds with -lNAME
19741 library_names_spec=$lt_library_names_spec
19743 # The coded name of the library, if different from the real name.
19744 soname_spec=$lt_soname_spec
19746 # Permission mode override for installation of shared libraries.
19747 install_override_mode=$lt_install_override_mode
19749 # Command to use after installation of a shared archive.
19750 postinstall_cmds=$lt_postinstall_cmds
19752 # Command to use after uninstallation of a shared archive.
19753 postuninstall_cmds=$lt_postuninstall_cmds
19755 # Commands used to finish a libtool library installation in a directory.
19756 finish_cmds=$lt_finish_cmds
19758 # As "finish_cmds", except a single script fragment to be evaled but
19760 finish_eval=$lt_finish_eval
19762 # Whether we should hardcode library paths into libraries.
19763 hardcode_into_libs=$hardcode_into_libs
19765 # Compile-time system search path for libraries.
19766 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19768 # Run-time system search path for libraries.
19769 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19771 # Whether dlopen is supported.
19772 dlopen_support=$enable_dlopen
19774 # Whether dlopen of programs is supported.
19775 dlopen_self=$enable_dlopen_self
19777 # Whether dlopen of statically linked programs is supported.
19778 dlopen_self_static=$enable_dlopen_self_static
19780 # Commands to strip libraries.
19781 old_striplib=$lt_old_striplib
19782 striplib=$lt_striplib
19785 # The linker used to build libraries.
19788 # How to create reloadable object files.
19789 reload_flag=$lt_reload_flag
19790 reload_cmds=$lt_reload_cmds
19792 # Commands used to build an old-style archive.
19793 old_archive_cmds=$lt_old_archive_cmds
19795 # A language specific compiler.
19798 # Is the compiler the GNU compiler?
19801 # Compiler flag to turn off builtin functions.
19802 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19804 # How to pass a linker flag through the compiler.
19805 wl=$lt_lt_prog_compiler_wl
19807 # Additional compiler flags for building library objects.
19808 pic_flag=$lt_lt_prog_compiler_pic
19810 # Compiler flag to prevent dynamic linking.
19811 link_static_flag=$lt_lt_prog_compiler_static
19813 # Does compiler simultaneously support -c and -o options?
19814 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19816 # Whether or not to add -lc for building shared libraries.
19817 build_libtool_need_lc=$archive_cmds_need_lc
19819 # Whether or not to disallow shared libs when runtime libs are static.
19820 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19822 # Compiler flag to allow reflexive dlopens.
19823 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19825 # Compiler flag to generate shared objects directly from archives.
19826 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19828 # Whether the compiler copes with passing no objects directly.
19829 compiler_needs_object=$lt_compiler_needs_object
19831 # Create an old-style archive from a shared archive.
19832 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19834 # Create a temporary old-style archive to link instead of a shared archive.
19835 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19837 # Commands used to build a shared archive.
19838 archive_cmds=$lt_archive_cmds
19839 archive_expsym_cmds=$lt_archive_expsym_cmds
19841 # Commands used to build a loadable module if different from building
19842 # a shared archive.
19843 module_cmds=$lt_module_cmds
19844 module_expsym_cmds=$lt_module_expsym_cmds
19846 # Whether we are building with GNU ld or not.
19847 with_gnu_ld=$lt_with_gnu_ld
19849 # Flag that allows shared libraries with undefined symbols to be built.
19850 allow_undefined_flag=$lt_allow_undefined_flag
19852 # Flag that enforces no undefined symbols.
19853 no_undefined_flag=$lt_no_undefined_flag
19855 # Flag to hardcode \$libdir into a binary during linking.
19856 # This must work even if \$libdir does not exist
19857 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19859 # If ld is used when linking, flag to hardcode \$libdir into a binary
19860 # during linking. This must work even if \$libdir does not exist.
19861 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19863 # Whether we need a single "-rpath" flag with a separated argument.
19864 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19866 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19867 # DIR into the resulting binary.
19868 hardcode_direct=$hardcode_direct
19870 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19871 # DIR into the resulting binary and the resulting library dependency is
19872 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19873 # library is relocated.
19874 hardcode_direct_absolute=$hardcode_direct_absolute
19876 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19877 # into the resulting binary.
19878 hardcode_minus_L=$hardcode_minus_L
19880 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19881 # into the resulting binary.
19882 hardcode_shlibpath_var=$hardcode_shlibpath_var
19884 # Set to "yes" if building a shared library automatically hardcodes DIR
19885 # into the library and all subsequent libraries and executables linked
19887 hardcode_automatic=$hardcode_automatic
19889 # Set to yes if linker adds runtime paths of dependent libraries
19890 # to runtime path list.
19891 inherit_rpath=$inherit_rpath
19893 # Whether libtool must link a program against all its dependency libraries.
19894 link_all_deplibs=$link_all_deplibs
19896 # Fix the shell variable \$srcfile for the compiler.
19897 fix_srcfile_path=$lt_fix_srcfile_path
19899 # Set to "yes" if exported symbols are required.
19900 always_export_symbols=$always_export_symbols
19902 # The commands to list exported symbols.
19903 export_symbols_cmds=$lt_export_symbols_cmds
19905 # Symbols that should not be listed in the preloaded symbols.
19906 exclude_expsyms=$lt_exclude_expsyms
19908 # Symbols that must always be exported.
19909 include_expsyms=$lt_include_expsyms
19911 # Commands necessary for linking programs (against libraries) with templates.
19912 prelink_cmds=$lt_prelink_cmds
19914 # Specify filename containing input files.
19915 file_list_spec=$lt_file_list_spec
19917 # How to hardcode a shared library path into an executable.
19918 hardcode_action=$hardcode_action
19920 # The directories searched by this compiler when creating a shared library.
19921 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19923 # Dependencies to place before and after the objects being linked to
19924 # create a shared library.
19925 predep_objects=$lt_predep_objects
19926 postdep_objects=$lt_postdep_objects
19927 predeps=$lt_predeps
19928 postdeps=$lt_postdeps
19930 # The library search path used internally by the compiler when linking
19931 # a shared library.
19932 compiler_lib_search_path=$lt_compiler_lib_search_path
19934 # ### END LIBTOOL CONFIG
19940 cat <<\_LT_EOF
>> "$cfgfile"
19941 # AIX sometimes has problems with the GCC collect2 program. For some
19942 # reason, if we set the COLLECT_NAMES environment variable, the problems
19943 # vanish in a puff of smoke.
19944 if test "X${COLLECT_NAMES+set}" != Xset
; then
19946 export COLLECT_NAMES
19953 ltmain
="$ac_aux_dir/ltmain.sh"
19956 # We use sed instead of cat because bash on DJGPP gets confused if
19957 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19958 # text mode, it properly converts lines to CR/LF. This bash problem
19959 # is reportedly fixed, but why not run on old versions too?
19960 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19961 ||
(rm -f "$cfgfile"; exit 1)
19965 cat << \_LT_EOF
>> "$cfgfile"
19967 # func_dirname file append nondir_replacement
19968 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19969 # otherwise set result to NONDIR_REPLACEMENT.
19973 */*) func_dirname_result
="${1%/*}${2}" ;;
19974 * ) func_dirname_result
="${3}" ;;
19978 # func_basename file
19981 func_basename_result
="${1##*/}"
19984 # func_dirname_and_basename file append nondir_replacement
19985 # perform func_basename and func_dirname in a single function
19987 # dirname: Compute the dirname of FILE. If nonempty,
19988 # add APPEND to the result, otherwise set result
19989 # to NONDIR_REPLACEMENT.
19990 # value returned in "$func_dirname_result"
19991 # basename: Compute filename of FILE.
19992 # value retuned in "$func_basename_result"
19993 # Implementation must be kept synchronized with func_dirname
19994 # and func_basename. For efficiency, we do not delegate to
19995 # those functions but instead duplicate the functionality here.
19996 func_dirname_and_basename
()
19999 */*) func_dirname_result
="${1%/*}${2}" ;;
20000 * ) func_dirname_result
="${3}" ;;
20002 func_basename_result
="${1##*/}"
20005 # func_stripname prefix suffix name
20006 # strip PREFIX and SUFFIX off of NAME.
20007 # PREFIX and SUFFIX must not contain globbing or regex special
20008 # characters, hashes, percent signs, but SUFFIX may contain a leading
20009 # dot (in which case that matches only a dot).
20012 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
20013 # positional parameters, so assign one to ordinary parameter first.
20014 func_stripname_result
=${3}
20015 func_stripname_result
=${func_stripname_result#"${1}"}
20016 func_stripname_result
=${func_stripname_result%"${2}"}
20022 func_opt_split_opt
=${1%%=*}
20023 func_opt_split_arg
=${1#*=}
20030 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
20031 *) func_lo2o_result
=${1} ;;
20035 # func_xform libobj-or-source
20038 func_xform_result
=${1%.*}.lo
20041 # func_arith arithmetic-term...
20044 func_arith_result
=$
(( $
* ))
20048 # STRING may not start with a hyphen.
20051 func_len_result
=${#1}
20056 *) # Bourne compatible functions.
20057 cat << \_LT_EOF
>> "$cfgfile"
20059 # func_dirname file append nondir_replacement
20060 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
20061 # otherwise set result to NONDIR_REPLACEMENT.
20064 # Extract subdirectory from the argument.
20065 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
20066 if test "X$func_dirname_result" = "X${1}"; then
20067 func_dirname_result
="${3}"
20069 func_dirname_result
="$func_dirname_result${2}"
20073 # func_basename file
20076 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
20080 # func_stripname prefix suffix name
20081 # strip PREFIX and SUFFIX off of NAME.
20082 # PREFIX and SUFFIX must not contain globbing or regex special
20083 # characters, hashes, percent signs, but SUFFIX may contain a leading
20084 # dot (in which case that matches only a dot).
20085 # func_strip_suffix prefix name
20089 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
20090 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
20095 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
20096 my_sed_long_arg
='1s/^-[^=]*=//'
20101 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
20102 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
20108 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
20111 # func_xform libobj-or-source
20114 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
20117 # func_arith arithmetic-term...
20120 func_arith_result
=`expr "$@"`
20124 # STRING may not start with a hyphen.
20127 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
20133 case $lt_shell_append in
20135 cat << \_LT_EOF
>> "$cfgfile"
20137 # func_append var value
20138 # Append VALUE to the end of shell variable VAR.
20146 cat << \_LT_EOF
>> "$cfgfile"
20148 # func_append var value
20149 # Append VALUE to the end of shell variable VAR.
20160 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
20161 ||
(rm -f "$cfgfile"; exit 1)
20163 mv -f "$cfgfile" "$ofile" ||
20164 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20168 cat <<_LT_EOF >> "$ofile"
20170 # ### BEGIN LIBTOOL TAG CONFIG: CXX
20172 # The linker used to build libraries.
20175 # How to create reloadable object files.
20176 reload_flag=$lt_reload_flag_CXX
20177 reload_cmds=$lt_reload_cmds_CXX
20179 # Commands used to build an old-style archive.
20180 old_archive_cmds=$lt_old_archive_cmds_CXX
20182 # A language specific compiler.
20183 CC=$lt_compiler_CXX
20185 # Is the compiler the GNU compiler?
20188 # Compiler flag to turn off builtin functions.
20189 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20191 # How to pass a linker flag through the compiler.
20192 wl=$lt_lt_prog_compiler_wl_CXX
20194 # Additional compiler flags for building library objects.
20195 pic_flag=$lt_lt_prog_compiler_pic_CXX
20197 # Compiler flag to prevent dynamic linking.
20198 link_static_flag=$lt_lt_prog_compiler_static_CXX
20200 # Does compiler simultaneously support -c and -o options?
20201 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20203 # Whether or not to add -lc for building shared libraries.
20204 build_libtool_need_lc=$archive_cmds_need_lc_CXX
20206 # Whether or not to disallow shared libs when runtime libs are static.
20207 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20209 # Compiler flag to allow reflexive dlopens.
20210 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20212 # Compiler flag to generate shared objects directly from archives.
20213 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20215 # Whether the compiler copes with passing no objects directly.
20216 compiler_needs_object=$lt_compiler_needs_object_CXX
20218 # Create an old-style archive from a shared archive.
20219 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20221 # Create a temporary old-style archive to link instead of a shared archive.
20222 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20224 # Commands used to build a shared archive.
20225 archive_cmds=$lt_archive_cmds_CXX
20226 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20228 # Commands used to build a loadable module if different from building
20229 # a shared archive.
20230 module_cmds=$lt_module_cmds_CXX
20231 module_expsym_cmds=$lt_module_expsym_cmds_CXX
20233 # Whether we are building with GNU ld or not.
20234 with_gnu_ld=$lt_with_gnu_ld_CXX
20236 # Flag that allows shared libraries with undefined symbols to be built.
20237 allow_undefined_flag=$lt_allow_undefined_flag_CXX
20239 # Flag that enforces no undefined symbols.
20240 no_undefined_flag=$lt_no_undefined_flag_CXX
20242 # Flag to hardcode \$libdir into a binary during linking.
20243 # This must work even if \$libdir does not exist
20244 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20246 # If ld is used when linking, flag to hardcode \$libdir into a binary
20247 # during linking. This must work even if \$libdir does not exist.
20248 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
20250 # Whether we need a single "-rpath" flag with a separated argument.
20251 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20253 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20254 # DIR into the resulting binary.
20255 hardcode_direct=$hardcode_direct_CXX
20257 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20258 # DIR into the resulting binary and the resulting library dependency is
20259 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20260 # library is relocated.
20261 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
20263 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20264 # into the resulting binary.
20265 hardcode_minus_L=$hardcode_minus_L_CXX
20267 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20268 # into the resulting binary.
20269 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20271 # Set to "yes" if building a shared library automatically hardcodes DIR
20272 # into the library and all subsequent libraries and executables linked
20274 hardcode_automatic=$hardcode_automatic_CXX
20276 # Set to yes if linker adds runtime paths of dependent libraries
20277 # to runtime path list.
20278 inherit_rpath=$inherit_rpath_CXX
20280 # Whether libtool must link a program against all its dependency libraries.
20281 link_all_deplibs=$link_all_deplibs_CXX
20283 # Fix the shell variable \$srcfile for the compiler.
20284 fix_srcfile_path=$lt_fix_srcfile_path_CXX
20286 # Set to "yes" if exported symbols are required.
20287 always_export_symbols=$always_export_symbols_CXX
20289 # The commands to list exported symbols.
20290 export_symbols_cmds=$lt_export_symbols_cmds_CXX
20292 # Symbols that should not be listed in the preloaded symbols.
20293 exclude_expsyms=$lt_exclude_expsyms_CXX
20295 # Symbols that must always be exported.
20296 include_expsyms=$lt_include_expsyms_CXX
20298 # Commands necessary for linking programs (against libraries) with templates.
20299 prelink_cmds=$lt_prelink_cmds_CXX
20301 # Specify filename containing input files.
20302 file_list_spec=$lt_file_list_spec_CXX
20304 # How to hardcode a shared library path into an executable.
20305 hardcode_action=$hardcode_action_CXX
20307 # The directories searched by this compiler when creating a shared library.
20308 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
20310 # Dependencies to place before and after the objects being linked to
20311 # create a shared library.
20312 predep_objects=$lt_predep_objects_CXX
20313 postdep_objects=$lt_postdep_objects_CXX
20314 predeps=$lt_predeps_CXX
20315 postdeps=$lt_postdeps_CXX
20317 # The library search path used internally by the compiler when linking
20318 # a shared library.
20319 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20321 # ### END LIBTOOL TAG CONFIG: CXX
20326 for ac_file
in $CONFIG_FILES; do
20327 # Support "outfile[:infile[:infile...]]"
20329 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
20331 # PO directories have a Makefile.in generated from Makefile.in.in.
20332 case "$ac_file" in */Makefile.
in)
20333 # Adjust a relative srcdir.
20334 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
20335 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
20336 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
20337 # In autoconf-2.13 it is called $ac_given_srcdir.
20338 # In autoconf-2.50 it is called $srcdir.
20339 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
20340 case "$ac_given_srcdir" in
20341 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
20342 /*) top_srcdir
="$ac_given_srcdir" ;;
20343 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
20345 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
20346 rm -f "$ac_dir/POTFILES"
20347 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
20348 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
20349 POMAKEFILEDEPS
="POTFILES.in"
20350 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
20351 # on $ac_dir but don't depend on user-specified configuration
20353 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
20354 # The LINGUAS file contains the set of available languages.
20355 if test -n "$OBSOLETE_ALL_LINGUAS"; then
20356 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" ||
echo "setting ALL_LINGUAS in configure.ac is obsolete"
20358 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
20359 # Hide the ALL_LINGUAS assigment from automake.
20360 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
20361 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
20363 # The set of available languages was given in configure.ac.
20364 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
20366 case "$ac_given_srcdir" in
20368 *) srcdirpre
='$(srcdir)/' ;;
20374 for lang
in $ALL_LINGUAS; do
20375 POFILES
="$POFILES $srcdirpre$lang.po"
20376 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
20377 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
20378 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
20380 # CATALOGS depends on both $ac_dir and the user's LINGUAS
20381 # environment variable.
20383 if test -n "$ALL_LINGUAS"; then
20384 for presentlang
in $ALL_LINGUAS; do
20386 if test "%UNSET%" != "$LINGUAS"; then
20387 desiredlanguages
="$LINGUAS"
20389 desiredlanguages
="$ALL_LINGUAS"
20391 for desiredlang
in $desiredlanguages; do
20392 # Use the presentlang catalog if desiredlang is
20393 # a. equal to presentlang, or
20394 # b. a variant of presentlang (because in this case,
20395 # presentlang can be used as a fallback for messages
20396 # which are not translated in the desiredlang catalog).
20397 case "$desiredlang" in
20398 "$presentlang"*) useit
=yes;;
20401 if test $useit = yes; then
20402 INST_LINGUAS
="$INST_LINGUAS $presentlang"
20407 if test -n "$INST_LINGUAS"; then
20408 for lang
in $INST_LINGUAS; do
20409 CATALOGS
="$CATALOGS $lang.gmo"
20412 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
20413 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"
20414 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
20415 if test -f "$f"; then
20417 *.orig |
*.bak |
*~
) ;;
20418 *) cat "$f" >> "$ac_dir/Makefile" ;;
20429 *) srcdirpre
='$(srcdir)/' ;;
20433 for lang
in dummy
$OBSOLETE_ALL_LINGUAS; do
20434 if test $lang != dummy
; then
20435 POFILES
="$POFILES $srcdirpre$lang.po"
20436 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
20439 sed -e '/^SRC-POTFILES =/r po/SRC-POTFILES' \
20440 -e '/^BLD-POTFILES =/r po/BLD-POTFILES' \
20441 -e "s,@POFILES@,$POFILES," \
20442 -e "s,@GMOFILES@,$GMOFILES," \
20443 po
/Makefile.
in > po
/Makefile
;;
20451 ac_clean_files
=$ac_clean_files_save
20453 test $ac_write_fail = 0 ||
20454 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
20457 # configure is writing to config.log, and then calls config.status.
20458 # config.status does its own redirection, appending to config.log.
20459 # Unfortunately, on DOS this fails, as config.log is still kept open
20460 # by configure, so config.status won't be able to write to it; its
20461 # output is simply discarded. So we exec the FD to /dev/null,
20462 # effectively closing config.log, so it can be properly (re)opened and
20463 # appended to by config.status. When coming back to configure, we
20464 # need to make the FD available again.
20465 if test "$no_create" != yes; then
20467 ac_config_status_args
=
20468 test "$silent" = yes &&
20469 ac_config_status_args
="$ac_config_status_args --quiet"
20471 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20473 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20474 # would make configure fail if this is the last instruction.
20475 $ac_cs_success || as_fn_exit
1
20477 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
20478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20479 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}