2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libgrust version-unused.
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.
588 PACKAGE_NAME
='libgrust'
589 PACKAGE_TARNAME
='libgrust'
590 PACKAGE_VERSION
='version-unused'
591 PACKAGE_STRING
='libgrust version-unused'
595 ac_unique_file
="Makefile.am"
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>
632 ac_subst_vars
='am__EXEEXT_FALSE
661 am__fastdepCCAS_FALSE
706 INSTALL_STRIP_PROGRAM
722 MAINTAINER_MODE_FALSE
764 program_transform_name
777 enable_option_checking
779 enable_maintainer_mode
782 enable_dependency_tracking
791 enable_darwin_at_rpath
793 enable_version_specific_runtime_libs
794 with_gcc_major_version_only
796 ac_precious_vars
='build_alias
813 # Initialize some variables set by options.
815 ac_init_version
=false
816 ac_unrecognized_opts
=
818 # The variables have the same names as the options, with
819 # dashes changed to underlines.
827 program_transform_name
=s
,x
,x
,
835 # Installation directory options.
836 # These are left unexpanded so users can "make install exec_prefix=/foo"
837 # and all the variables that are supposed to be based on exec_prefix
838 # by default will actually change.
839 # Use braces instead of parens because sh, perl, etc. also accept them.
840 # (The list follows the same order as the GNU Coding Standards.)
841 bindir
='${exec_prefix}/bin'
842 sbindir
='${exec_prefix}/sbin'
843 libexecdir
='${exec_prefix}/libexec'
844 datarootdir
='${prefix}/share'
845 datadir
='${datarootdir}'
846 sysconfdir
='${prefix}/etc'
847 sharedstatedir
='${prefix}/com'
848 localstatedir
='${prefix}/var'
849 includedir
='${prefix}/include'
850 oldincludedir
='/usr/include'
851 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
852 infodir
='${datarootdir}/info'
857 libdir
='${exec_prefix}/lib'
858 localedir
='${datarootdir}/locale'
859 mandir
='${datarootdir}/man'
865 # If the previous option needs an argument, assign it.
866 if test -n "$ac_prev"; then
867 eval $ac_prev=\
$ac_option
873 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
878 # Accept the important Cygnus configure options, so we can diagnose typos.
880 case $ac_dashdash$ac_option in
884 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
886 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
889 -build |
--build |
--buil |
--bui |
--bu)
890 ac_prev
=build_alias
;;
891 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
892 build_alias
=$ac_optarg ;;
894 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
895 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
896 ac_prev
=cache_file
;;
897 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
898 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
899 cache_file
=$ac_optarg ;;
902 cache_file
=config.cache
;;
904 -datadir |
--datadir |
--datadi |
--datad)
906 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
907 datadir
=$ac_optarg ;;
909 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
910 |
--dataroo |
--dataro |
--datar)
911 ac_prev
=datarootdir
;;
912 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
913 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
914 datarootdir
=$ac_optarg ;;
916 -disable-* |
--disable-*)
917 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
918 # Reject names that are not valid shell variable names.
919 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
920 as_fn_error $?
"invalid feature name: $ac_useropt"
921 ac_useropt_orig
=$ac_useropt
922 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
923 case $ac_user_opts in
927 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
928 ac_unrecognized_sep
=', ';;
930 eval enable_
$ac_useropt=no
;;
932 -docdir |
--docdir |
--docdi |
--doc |
--do)
934 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
937 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
939 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
942 -enable-* |
--enable-*)
943 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
944 # Reject names that are not valid shell variable names.
945 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
946 as_fn_error $?
"invalid feature name: $ac_useropt"
947 ac_useropt_orig
=$ac_useropt
948 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
949 case $ac_user_opts in
953 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
954 ac_unrecognized_sep
=', ';;
956 eval enable_
$ac_useropt=\
$ac_optarg ;;
958 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
959 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
960 |
--exec |
--exe |
--ex)
961 ac_prev
=exec_prefix
;;
962 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
963 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
964 |
--exec=* |
--exe=* |
--ex=*)
965 exec_prefix
=$ac_optarg ;;
967 -gas |
--gas |
--ga |
--g)
968 # Obsolete; use --with-gas.
971 -help |
--help |
--hel |
--he |
-h)
973 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
974 ac_init_help
=recursive
;;
975 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
976 ac_init_help
=short
;;
978 -host |
--host |
--hos |
--ho)
979 ac_prev
=host_alias
;;
980 -host=* |
--host=* |
--hos=* |
--ho=*)
981 host_alias
=$ac_optarg ;;
983 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
985 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
987 htmldir
=$ac_optarg ;;
989 -includedir |
--includedir |
--includedi |
--included |
--include \
990 |
--includ |
--inclu |
--incl |
--inc)
991 ac_prev
=includedir
;;
992 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
993 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
994 includedir
=$ac_optarg ;;
996 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
998 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
999 infodir
=$ac_optarg ;;
1001 -libdir |
--libdir |
--libdi |
--libd)
1003 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1004 libdir
=$ac_optarg ;;
1006 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1007 |
--libexe |
--libex |
--libe)
1008 ac_prev
=libexecdir
;;
1009 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1010 |
--libexe=* |
--libex=* |
--libe=*)
1011 libexecdir
=$ac_optarg ;;
1013 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1014 ac_prev
=localedir
;;
1015 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1016 localedir
=$ac_optarg ;;
1018 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1019 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1020 ac_prev
=localstatedir
;;
1021 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1022 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1023 localstatedir
=$ac_optarg ;;
1025 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1027 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1028 mandir
=$ac_optarg ;;
1030 -nfp |
--nfp |
--nf)
1031 # Obsolete; use --without-fp.
1034 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1035 |
--no-cr |
--no-c |
-n)
1038 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1039 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1042 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1043 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1044 |
--oldin |
--oldi |
--old |
--ol |
--o)
1045 ac_prev
=oldincludedir
;;
1046 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1047 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1048 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1049 oldincludedir
=$ac_optarg ;;
1051 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1053 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1054 prefix
=$ac_optarg ;;
1056 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1057 |
--program-pre |
--program-pr |
--program-p)
1058 ac_prev
=program_prefix
;;
1059 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1060 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1061 program_prefix
=$ac_optarg ;;
1063 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1064 |
--program-suf |
--program-su |
--program-s)
1065 ac_prev
=program_suffix
;;
1066 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1067 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1068 program_suffix
=$ac_optarg ;;
1070 -program-transform-name |
--program-transform-name \
1071 |
--program-transform-nam |
--program-transform-na \
1072 |
--program-transform-n |
--program-transform- \
1073 |
--program-transform |
--program-transfor \
1074 |
--program-transfo |
--program-transf \
1075 |
--program-trans |
--program-tran \
1076 |
--progr-tra |
--program-tr |
--program-t)
1077 ac_prev
=program_transform_name
;;
1078 -program-transform-name=* |
--program-transform-name=* \
1079 |
--program-transform-nam=* |
--program-transform-na=* \
1080 |
--program-transform-n=* |
--program-transform-=* \
1081 |
--program-transform=* |
--program-transfor=* \
1082 |
--program-transfo=* |
--program-transf=* \
1083 |
--program-trans=* |
--program-tran=* \
1084 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1085 program_transform_name
=$ac_optarg ;;
1087 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1089 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1090 pdfdir
=$ac_optarg ;;
1092 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1094 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1097 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1098 |
-silent |
--silent |
--silen |
--sile |
--sil)
1101 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1103 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1105 sbindir
=$ac_optarg ;;
1107 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1108 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1109 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1111 ac_prev
=sharedstatedir
;;
1112 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1113 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1114 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1116 sharedstatedir
=$ac_optarg ;;
1118 -site |
--site |
--sit)
1120 -site=* |
--site=* |
--sit=*)
1123 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1125 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1126 srcdir
=$ac_optarg ;;
1128 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1129 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1130 ac_prev
=sysconfdir
;;
1131 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1132 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1133 sysconfdir
=$ac_optarg ;;
1135 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1136 ac_prev
=target_alias
;;
1137 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1138 target_alias
=$ac_optarg ;;
1140 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1143 -version |
--version |
--versio |
--versi |
--vers |
-V)
1144 ac_init_version
=: ;;
1147 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1148 # Reject names that are not valid shell variable names.
1149 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1150 as_fn_error $?
"invalid package name: $ac_useropt"
1151 ac_useropt_orig
=$ac_useropt
1152 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1153 case $ac_user_opts in
1157 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1158 ac_unrecognized_sep
=', ';;
1160 eval with_
$ac_useropt=\
$ac_optarg ;;
1162 -without-* |
--without-*)
1163 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1164 # Reject names that are not valid shell variable names.
1165 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1166 as_fn_error $?
"invalid package name: $ac_useropt"
1167 ac_useropt_orig
=$ac_useropt
1168 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1169 case $ac_user_opts in
1173 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1174 ac_unrecognized_sep
=', ';;
1176 eval with_
$ac_useropt=no
;;
1179 # Obsolete; use --with-x.
1182 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1183 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1184 ac_prev
=x_includes
;;
1185 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1186 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1187 x_includes
=$ac_optarg ;;
1189 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1190 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1191 ac_prev
=x_libraries
;;
1192 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1193 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1194 x_libraries
=$ac_optarg ;;
1196 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1197 Try \`$0 --help' for more information"
1201 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1202 # Reject names that are not valid shell variable names.
1203 case $ac_envvar in #(
1204 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1205 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1207 eval $ac_envvar=\
$ac_optarg
1208 export $ac_envvar ;;
1211 # FIXME: should be removed in autoconf 3.0.
1212 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1213 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1214 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1215 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1221 if test -n "$ac_prev"; then
1222 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1223 as_fn_error $?
"missing argument to $ac_option"
1226 if test -n "$ac_unrecognized_opts"; then
1227 case $enable_option_checking in
1229 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1230 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1234 # Check all directory arguments for consistency.
1235 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1236 datadir sysconfdir sharedstatedir localstatedir includedir \
1237 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1238 libdir localedir mandir
1240 eval ac_val
=\$
$ac_var
1241 # Remove trailing slashes.
1244 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1245 eval $ac_var=\
$ac_val;;
1247 # Be sure to have absolute directory names.
1249 [\\/$
]* | ?
:[\\/]* ) continue;;
1250 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1252 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1255 # There might be people who depend on the old broken behavior: `$host'
1256 # used to hold the argument of --host etc.
1257 # FIXME: To remove some day.
1260 target
=$target_alias
1262 # FIXME: To remove some day.
1263 if test "x$host_alias" != x
; then
1264 if test "x$build_alias" = x
; then
1265 cross_compiling
=maybe
1266 elif test "x$build_alias" != "x$host_alias"; then
1272 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1274 test "$silent" = yes && exec 6>/dev
/null
1277 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1278 ac_ls_di
=`ls -di .` &&
1279 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1280 as_fn_error $?
"working directory cannot be determined"
1281 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1282 as_fn_error $?
"pwd does not report name of working directory"
1285 # Find the source files, if location was not specified.
1286 if test -z "$srcdir"; then
1287 ac_srcdir_defaulted
=yes
1288 # Try the directory containing this script, then the parent directory.
1289 ac_confdir
=`$as_dirname -- "$as_myself" ||
1290 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1291 X"$as_myself" : 'X\(//\)[^/]' \| \
1292 X"$as_myself" : 'X\(//\)$' \| \
1293 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1294 $as_echo X"$as_myself" |
1295 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1313 if test ! -r "$srcdir/$ac_unique_file"; then
1317 ac_srcdir_defaulted
=no
1319 if test ! -r "$srcdir/$ac_unique_file"; then
1320 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1321 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1323 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1325 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1327 # When building in place, set srcdir=.
1328 if test "$ac_abs_confdir" = "$ac_pwd"; then
1331 # Remove unnecessary trailing slashes from srcdir.
1332 # Double slashes in file names in object file debugging info
1333 # mess up M-x gdb in Emacs.
1335 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1337 for ac_var
in $ac_precious_vars; do
1338 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1339 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1340 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1341 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1345 # Report the --help message.
1347 if test "$ac_init_help" = "long"; then
1348 # Omit some internal or obsolete options to make the list less imposing.
1349 # This message is too long to be a string in the A/UX 3.1 sh.
1351 \`configure' configures libgrust version-unused to adapt to many kinds of systems.
1353 Usage: $0 [OPTION]... [VAR=VALUE]...
1355 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1356 VAR=VALUE. See below for descriptions of some of the useful variables.
1358 Defaults for the options are specified in brackets.
1361 -h, --help display this help and exit
1362 --help=short display options specific to this package
1363 --help=recursive display the short help of all the included packages
1364 -V, --version display version information and exit
1365 -q, --quiet, --silent do not print \`checking ...' messages
1366 --cache-file=FILE cache test results in FILE [disabled]
1367 -C, --config-cache alias for \`--cache-file=config.cache'
1368 -n, --no-create do not create output files
1369 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1371 Installation directories:
1372 --prefix=PREFIX install architecture-independent files in PREFIX
1373 [$ac_default_prefix]
1374 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1377 By default, \`make install' will install all the files in
1378 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1379 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1380 for instance \`--prefix=\$HOME'.
1382 For better control, use the options below.
1384 Fine tuning of the installation directories:
1385 --bindir=DIR user executables [EPREFIX/bin]
1386 --sbindir=DIR system admin executables [EPREFIX/sbin]
1387 --libexecdir=DIR program executables [EPREFIX/libexec]
1388 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1389 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1390 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1391 --libdir=DIR object code libraries [EPREFIX/lib]
1392 --includedir=DIR C header files [PREFIX/include]
1393 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1394 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1395 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1396 --infodir=DIR info documentation [DATAROOTDIR/info]
1397 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1398 --mandir=DIR man documentation [DATAROOTDIR/man]
1399 --docdir=DIR documentation root [DATAROOTDIR/doc/libgrust]
1400 --htmldir=DIR html documentation [DOCDIR]
1401 --dvidir=DIR dvi documentation [DOCDIR]
1402 --pdfdir=DIR pdf documentation [DOCDIR]
1403 --psdir=DIR ps documentation [DOCDIR]
1409 --program-prefix=PREFIX prepend PREFIX to installed program names
1410 --program-suffix=SUFFIX append SUFFIX to installed program names
1411 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1414 --build=BUILD configure
for building on BUILD
[guessed
]
1415 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1416 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1420 if test -n "$ac_init_help"; then
1421 case $ac_init_help in
1422 short | recursive
) echo "Configuration of libgrust version-unused:";;
1427 --disable-option-checking ignore unrecognized
--enable/--with options
1428 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1429 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1430 --enable-multilib build many library versions
(default
)
1431 --enable-maintainer-mode
1432 enable make rules and dependencies not useful
(and
1433 sometimes confusing
) to the casual installer
1434 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1435 --disable-silent-rules verbose build output
(undo
: "make V=0")
1436 --enable-dependency-tracking
1437 do not reject slow dependency extractors
1438 --disable-dependency-tracking
1439 speeds up one-time build
1440 --disable-werror disable building with
-Werror
1441 --enable-cet enable Intel CET
in target libraries
[default
=auto
]
1442 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1443 --enable-static[=PKGS
] build static libraries
[default
=yes]
1444 --enable-fast-install[=PKGS
]
1445 optimize
for fast installation
[default
=yes]
1446 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1447 --enable-darwin-at-rpath
1448 install libraries with @rpath
/library-name
, requires
1449 rpaths to be added to executables
1450 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1453 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1454 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1455 --with-toolexeclibdir=DIR
1456 install libraries built with a cross compiler within
1458 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1460 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1461 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1462 --with-gcc-major-version-only
1463 use only GCC major number
in filesystem paths
1465 Some influential environment variables
:
1466 CC C compiler
command
1467 CFLAGS C compiler flags
1468 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1469 nonstandard directory
<lib dir
>
1470 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1471 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1472 you have headers
in a nonstandard directory
<include dir
>
1474 CXX C
++ compiler
command
1475 CXXFLAGS C
++ compiler flags
1476 CCAS assembler compiler
command (defaults to CC
)
1477 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1478 CXXCPP C
++ preprocessor
1480 Use these variables to override the choices made by
`configure' or to help
1481 it to find libraries and programs with nonstandard names/locations.
1483 Report bugs to the package provider.
1488 if test "$ac_init_help" = "recursive"; then
1489 # If there are subdirs, report their specific --help.
1490 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1491 test -d "$ac_dir" ||
1492 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1497 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1499 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1500 # A ".." for each directory in $ac_dir_suffix.
1501 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1502 case $ac_top_builddir_sub in
1503 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1504 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1507 ac_abs_top_builddir=$ac_pwd
1508 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1509 # for backward compatibility:
1510 ac_top_builddir=$ac_top_build_prefix
1513 .) # We are building in place.
1515 ac_top_srcdir=$ac_top_builddir_sub
1516 ac_abs_top_srcdir=$ac_pwd ;;
1517 [\\/]* | ?:[\\/]* ) # Absolute name.
1518 ac_srcdir=$srcdir$ac_dir_suffix;
1519 ac_top_srcdir=$srcdir
1520 ac_abs_top_srcdir=$srcdir ;;
1522 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1523 ac_top_srcdir=$ac_top_build_prefix$srcdir
1524 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1526 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1528 cd "$ac_dir" || { ac_status=$?; continue; }
1529 # Check for guested configure.
1530 if test -f "$ac_srcdir/configure.gnu"; then
1532 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1533 elif test -f "$ac_srcdir/configure"; then
1535 $SHELL "$ac_srcdir/configure" --help=recursive
1537 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1539 cd "$ac_pwd" || { ac_status=$?; break; }
1543 test -n "$ac_init_help" && exit $ac_status
1544 if $ac_init_version; then
1546 libgrust configure version-unused
1547 generated by GNU Autoconf 2.69
1549 Copyright (C) 2012 Free Software Foundation, Inc.
1550 This configure script is free software; the Free Software Foundation
1551 gives unlimited permission to copy, distribute and modify it.
1556 ## ------------------------ ##
1557 ## Autoconf initialization. ##
1558 ## ------------------------ ##
1560 # ac_fn_c_try_compile LINENO
1561 # --------------------------
1562 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1563 ac_fn_c_try_compile ()
1565 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1566 rm -f conftest.$ac_objext
1567 if { { ac_try="$ac_compile"
1569 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1570 *) ac_try_echo
=$ac_try;;
1572 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1573 $as_echo "$ac_try_echo"; } >&5
1574 (eval "$ac_compile") 2>conftest.err
1576 if test -s conftest.err
; then
1577 grep -v '^ *+' conftest.err
>conftest.er1
1578 cat conftest.er1
>&5
1579 mv -f conftest.er1 conftest.err
1581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1582 test $ac_status = 0; } && {
1583 test -z "$ac_c_werror_flag" ||
1584 test ! -s conftest.err
1585 } && test -s conftest.
$ac_objext; then :
1588 $as_echo "$as_me: failed program was:" >&5
1589 sed 's/^/| /' conftest.
$ac_ext >&5
1593 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1594 as_fn_set_status
$ac_retval
1596 } # ac_fn_c_try_compile
1598 # ac_fn_c_try_cpp LINENO
1599 # ----------------------
1600 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1603 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1604 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1606 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1607 *) ac_try_echo=$ac_try;;
1609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1610 $as_echo "$ac_try_echo"; } >&5
1611 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1613 if test -s conftest.err; then
1614 grep -v '^ *+' conftest.err >conftest.er1
1615 cat conftest.er1 >&5
1616 mv -f conftest.er1 conftest.err
1618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1619 test $ac_status = 0; } > conftest.i && {
1620 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1621 test ! -s conftest.err
1625 $as_echo "$as_me: failed program was:" >&5
1626 sed 's/^/| /' conftest.$ac_ext >&5
1630 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1631 as_fn_set_status $ac_retval
1635 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1636 # -------------------------------------------------------
1637 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1638 # the include files in INCLUDES and setting the cache variable VAR
1640 ac_fn_c_check_header_mongrel ()
1642 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1643 if eval \${$3+:} false; then :
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1645 $as_echo_n "checking for $2... " >&6; }
1646 if eval \${$3+:} false; then :
1647 $as_echo_n "(cached) " >&6
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1651 $as_echo "$ac_res" >&6; }
1653 # Is the header compilable?
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1655 $as_echo_n "checking $2 usability... " >&6; }
1656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1657 /* end confdefs.h. */
1661 if ac_fn_c_try_compile "$LINENO"; then :
1662 ac_header_compiler=yes
1664 ac_header_compiler=no
1666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1668 $as_echo "$ac_header_compiler" >&6; }
1670 # Is the header present?
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1672 $as_echo_n "checking $2 presence... " >&6; }
1673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1674 /* end confdefs.h. */
1677 if ac_fn_c_try_cpp "$LINENO"; then :
1678 ac_header_preproc=yes
1680 ac_header_preproc=no
1682 rm -f conftest.err conftest.i conftest.$ac_ext
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1684 $as_echo "$ac_header_preproc" >&6; }
1686 # So? What about this header?
1687 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1690 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1692 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1696 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1698 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1700 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1702 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1704 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1708 $as_echo_n "checking for $2... " >&6; }
1709 if eval \${$3+:} false; then :
1710 $as_echo_n "(cached) " >&6
1712 eval "$3=\$ac_header_compiler"
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1716 $as_echo "$ac_res" >&6; }
1718 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1720 } # ac_fn_c_check_header_mongrel
1722 # ac_fn_c_try_run LINENO
1723 # ----------------------
1724 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1725 # that executables *can* be run.
1728 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1729 if { { ac_try="$ac_link"
1731 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1732 *) ac_try_echo
=$ac_try;;
1734 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1735 $as_echo "$ac_try_echo"; } >&5
1736 (eval "$ac_link") 2>&5
1738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1739 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1740 { { case "(($ac_try" in
1741 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1742 *) ac_try_echo=$ac_try;;
1744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1745 $as_echo "$ac_try_echo"; } >&5
1746 (eval "$ac_try") 2>&5
1748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1749 test $ac_status = 0; }; }; then :
1752 $as_echo "$as_me: program exited with status $ac_status" >&5
1753 $as_echo "$as_me: failed program was:" >&5
1754 sed 's/^/| /' conftest.$ac_ext >&5
1756 ac_retval=$ac_status
1758 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1759 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1760 as_fn_set_status $ac_retval
1764 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1765 # -------------------------------------------------------
1766 # Tests whether HEADER exists and can be compiled using the include files in
1767 # INCLUDES, setting the cache variable VAR accordingly.
1768 ac_fn_c_check_header_compile ()
1770 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1772 $as_echo_n "checking for $2... " >&6; }
1773 if eval \${$3+:} false; then :
1774 $as_echo_n "(cached) " >&6
1776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1777 /* end confdefs.h. */
1781 if ac_fn_c_try_compile "$LINENO"; then :
1786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1790 $as_echo "$ac_res" >&6; }
1791 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1793 } # ac_fn_c_check_header_compile
1795 # ac_fn_cxx_try_compile LINENO
1796 # ----------------------------
1797 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1798 ac_fn_cxx_try_compile ()
1800 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1801 rm -f conftest.$ac_objext
1802 if { { ac_try="$ac_compile"
1804 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1805 *) ac_try_echo
=$ac_try;;
1807 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1808 $as_echo "$ac_try_echo"; } >&5
1809 (eval "$ac_compile") 2>conftest.err
1811 if test -s conftest.err
; then
1812 grep -v '^ *+' conftest.err
>conftest.er1
1813 cat conftest.er1
>&5
1814 mv -f conftest.er1 conftest.err
1816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1817 test $ac_status = 0; } && {
1818 test -z "$ac_cxx_werror_flag" ||
1819 test ! -s conftest.err
1820 } && test -s conftest.
$ac_objext; then :
1823 $as_echo "$as_me: failed program was:" >&5
1824 sed 's/^/| /' conftest.
$ac_ext >&5
1828 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1829 as_fn_set_status
$ac_retval
1831 } # ac_fn_cxx_try_compile
1833 # ac_fn_c_try_link LINENO
1834 # -----------------------
1835 # Try to link conftest.$ac_ext, and return whether this succeeded.
1838 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1839 rm -f conftest.
$ac_objext conftest
$ac_exeext
1840 if { { ac_try
="$ac_link"
1842 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1843 *) ac_try_echo=$ac_try;;
1845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1846 $as_echo "$ac_try_echo"; } >&5
1847 (eval "$ac_link") 2>conftest.err
1849 if test -s conftest.err; then
1850 grep -v '^ *+' conftest.err >conftest.er1
1851 cat conftest.er1 >&5
1852 mv -f conftest.er1 conftest.err
1854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1855 test $ac_status = 0; } && {
1856 test -z "$ac_c_werror_flag" ||
1857 test ! -s conftest.err
1858 } && test -s conftest$ac_exeext && {
1859 test "$cross_compiling" = yes ||
1860 test -x conftest$ac_exeext
1864 $as_echo "$as_me: failed program was:" >&5
1865 sed 's/^/| /' conftest.$ac_ext >&5
1869 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1870 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1871 # interfere with the next link command; also delete a directory that is
1872 # left behind by Apple's compiler. We do this before executing the actions.
1873 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1874 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1875 as_fn_set_status $ac_retval
1877 } # ac_fn_c_try_link
1879 # ac_fn_c_check_func LINENO FUNC VAR
1880 # ----------------------------------
1881 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1882 ac_fn_c_check_func ()
1884 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1886 $as_echo_n "checking for $2... " >&6; }
1887 if eval \${$3+:} false; then :
1888 $as_echo_n "(cached) " >&6
1890 if test x$gcc_no_link = xyes; then
1891 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1894 /* end confdefs.h. */
1895 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1897 #define $2 innocuous_$2
1899 /* System header to define __stub macros and hopefully few prototypes,
1900 which can conflict with char $2 (); below.
1901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1902 <limits.h> exists even on freestanding compilers. */
1905 # include <limits.h>
1907 # include <assert.h>
1912 /* Override any GCC internal prototype to avoid an error.
1913 Use char because int might match the return type of a GCC
1914 builtin and then its argument prototype would still apply. */
1919 /* The GNU C library defines this for functions which it implements
1920 to always fail with ENOSYS. Some functions are actually named
1921 something starting with __ and the normal name is an alias. */
1922 #if defined __stub_$2 || defined __stub___$2
1934 if ac_fn_c_try_link "$LINENO"; then :
1939 rm -f core conftest.err conftest.$ac_objext \
1940 conftest$ac_exeext conftest.$ac_ext
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1944 $as_echo "$ac_res" >&6; }
1945 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1947 } # ac_fn_c_check_func
1949 # ac_fn_cxx_try_cpp LINENO
1950 # ------------------------
1951 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1952 ac_fn_cxx_try_cpp ()
1954 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1955 if { { ac_try="$ac_cpp conftest.$ac_ext"
1957 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1958 *) ac_try_echo
=$ac_try;;
1960 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1961 $as_echo "$ac_try_echo"; } >&5
1962 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1964 if test -s conftest.err
; then
1965 grep -v '^ *+' conftest.err
>conftest.er1
1966 cat conftest.er1
>&5
1967 mv -f conftest.er1 conftest.err
1969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1970 test $ac_status = 0; } > conftest.i
&& {
1971 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1972 test ! -s conftest.err
1976 $as_echo "$as_me: failed program was:" >&5
1977 sed 's/^/| /' conftest.
$ac_ext >&5
1981 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1982 as_fn_set_status
$ac_retval
1984 } # ac_fn_cxx_try_cpp
1986 # ac_fn_cxx_try_link LINENO
1987 # -------------------------
1988 # Try to link conftest.$ac_ext, and return whether this succeeded.
1989 ac_fn_cxx_try_link
()
1991 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1992 rm -f conftest.
$ac_objext conftest
$ac_exeext
1993 if { { ac_try
="$ac_link"
1995 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1996 *) ac_try_echo=$ac_try;;
1998 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1999 $as_echo "$ac_try_echo"; } >&5
2000 (eval "$ac_link") 2>conftest.err
2002 if test -s conftest.err; then
2003 grep -v '^ *+' conftest.err >conftest.er1
2004 cat conftest.er1 >&5
2005 mv -f conftest.er1 conftest.err
2007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2008 test $ac_status = 0; } && {
2009 test -z "$ac_cxx_werror_flag" ||
2010 test ! -s conftest.err
2011 } && test -s conftest$ac_exeext && {
2012 test "$cross_compiling" = yes ||
2013 test -x conftest$ac_exeext
2017 $as_echo "$as_me: failed program was:" >&5
2018 sed 's/^/| /' conftest.$ac_ext >&5
2022 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2023 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2024 # interfere with the next link command; also delete a directory that is
2025 # left behind by Apple's compiler. We do this before executing the actions.
2026 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2027 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2028 as_fn_set_status $ac_retval
2030 } # ac_fn_cxx_try_link
2031 cat >config.log <<_ACEOF
2032 This file contains any messages produced by compilers while
2033 running configure, to aid debugging if configure makes a mistake.
2035 It was created by libgrust $as_me version-unused, which was
2036 generated by GNU Autoconf 2.69. Invocation command line was
2048 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2049 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2050 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2051 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2052 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2054 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2055 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2057 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2058 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2059 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2060 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2061 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2062 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2063 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2071 test -z "$as_dir" && as_dir=.
2072 $as_echo "PATH: $as_dir"
2088 # Keep a trace of the command line.
2089 # Strip out --no-create and --no-recursion so they do not pile up.
2090 # Strip out --silent because we don't want to record it for future runs.
2091 # Also quote any args containing shell meta-characters.
2092 # Make two passes to allow for proper duplicate-argument suppression.
2096 ac_must_keep_next=false
2102 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2103 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2104 | -silent | --silent | --silen | --sile | --sil)
2107 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2110 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2112 as_fn_append ac_configure_args1 " '$ac_arg'"
2113 if test $ac_must_keep_next = true; then
2114 ac_must_keep_next=false # Got value, back to normal.
2117 *=* | --config-cache | -C | -disable-* | --disable-* \
2118 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2119 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2120 | -with-* | --with-* | -without-* | --without-* | --x)
2121 case "$ac_configure_args0 " in
2122 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2125 -* ) ac_must_keep_next=true ;;
2128 as_fn_append ac_configure_args " '$ac_arg'"
2133 { ac_configure_args0=; unset ac_configure_args0;}
2134 { ac_configure_args1=; unset ac_configure_args1;}
2136 # When interrupted or exit'd, cleanup temporary files, and complete
2137 # config.log. We remove comments because anyway the quotes in there
2138 # would cause problems or look ugly.
2139 # WARNING: Use '\'' to represent an apostrophe within the trap.
2140 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2141 trap 'exit_status=$?
2142 # Save into config.log some information that might help in debugging.
2146 $as_echo "## ---------------- ##
2147 ## Cache variables. ##
2148 ## ---------------- ##"
2150 # The following way of writing the cache mishandles newlines in values,
2152 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2153 eval ac_val=\$$ac_var
2157 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2158 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2161 _ | IFS | as_nl) ;; #(
2162 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2163 *) { eval $ac_var=; unset $ac_var;} ;;
2168 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2169 *${as_nl}ac_space=\ *)
2171 "s/'\''/'\''\\\\'\'''\''/g;
2172 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2175 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2182 $as_echo "## ----------------- ##
2183 ## Output variables. ##
2184 ## ----------------- ##"
2186 for ac_var in $ac_subst_vars
2188 eval ac_val=\$$ac_var
2190 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2192 $as_echo "$ac_var='\''$ac_val'\''"
2196 if test -n "$ac_subst_files"; then
2197 $as_echo "## ------------------- ##
2198 ## File substitutions. ##
2199 ## ------------------- ##"
2201 for ac_var in $ac_subst_files
2203 eval ac_val=\$$ac_var
2205 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2207 $as_echo "$ac_var='\''$ac_val'\''"
2212 if test -s confdefs.h; then
2213 $as_echo "## ----------- ##
2220 test "$ac_signal" != 0 &&
2221 $as_echo "$as_me: caught signal $ac_signal"
2222 $as_echo "$as_me: exit $exit_status"
2224 rm -f core *.core core.conftest.* &&
2225 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2228 for ac_signal in 1 2 13 15; do
2229 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2233 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2234 rm -f -r conftest* confdefs.h
2236 $as_echo "/* confdefs.h */" > confdefs.h
2238 # Predefined preprocessor variables.
2240 cat >>confdefs.h <<_ACEOF
2241 #define PACKAGE_NAME "$PACKAGE_NAME"
2244 cat >>confdefs.h <<_ACEOF
2245 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2248 cat >>confdefs.h <<_ACEOF
2249 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2252 cat >>confdefs.h <<_ACEOF
2253 #define PACKAGE_STRING "$PACKAGE_STRING"
2256 cat >>confdefs.h <<_ACEOF
2257 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2260 cat >>confdefs.h <<_ACEOF
2261 #define PACKAGE_URL "$PACKAGE_URL"
2265 # Let the site file select an alternate cache file if it wants to.
2266 # Prefer an explicitly selected file to automatically selected ones.
2269 if test -n "$CONFIG_SITE"; then
2270 # We do not want a PATH search for config.site.
2271 case $CONFIG_SITE in #((
2272 -*) ac_site_file1=./$CONFIG_SITE;;
2273 */*) ac_site_file1=$CONFIG_SITE;;
2274 *) ac_site_file1=./$CONFIG_SITE;;
2276 elif test "x$prefix" != xNONE; then
2277 ac_site_file1=$prefix/share/config.site
2278 ac_site_file2=$prefix/etc/config.site
2280 ac_site_file1=$ac_default_prefix/share/config.site
2281 ac_site_file2=$ac_default_prefix/etc/config.site
2283 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2285 test "x$ac_site_file" = xNONE && continue
2286 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2288 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2289 sed 's/^/| /' "$ac_site_file" >&5
2291 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2293 as_fn_error $? "failed to load site
script $ac_site_file
2294 See \
`config.log' for more details" "$LINENO" 5; }
2298 if test -r "$cache_file"; then
2299 # Some versions of bash will fail to source /dev/null (special files
2300 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2301 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2303 $as_echo "$as_me: loading cache $cache_file" >&6;}
2305 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2306 *) . "./$cache_file";;
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2311 $as_echo "$as_me: creating cache $cache_file" >&6;}
2315 # Check that the precious variables saved in the cache have kept the same
2317 ac_cache_corrupted=false
2318 for ac_var in $ac_precious_vars; do
2319 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2320 eval ac_new_set=\$ac_env_${ac_var}_set
2321 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2322 eval ac_new_val=\$ac_env_${ac_var}_value
2323 case $ac_old_set,$ac_new_set in
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2326 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2327 ac_cache_corrupted=: ;;
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2330 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2331 ac_cache_corrupted=: ;;
2334 if test "x$ac_old_val" != "x$ac_new_val"; then
2335 # differences in whitespace do not lead to failure.
2336 ac_old_val_w=`echo x
$ac_old_val`
2337 ac_new_val_w=`echo x
$ac_new_val`
2338 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2340 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2341 ac_cache_corrupted=:
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2344 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2345 eval $ac_var=\$ac_old_val
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2348 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2350 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2353 # Pass precious variables to config.status.
2354 if test "$ac_new_set" = set; then
2356 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2357 *) ac_arg=$ac_var=$ac_new_val ;;
2359 case " $ac_configure_args " in
2360 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2361 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2365 if $ac_cache_corrupted; then
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2369 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2370 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2372 ## -------------------- ##
2373 ## Main body of script. ##
2374 ## -------------------- ##
2377 ac_cpp='$CPP $CPPFLAGS'
2378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2387 ac_config_files="$ac_config_files Makefile"
2390 if test -n "${with_target_subdir}"; then
2391 # Default to --enable-multilib
2392 # Check whether --enable-multilib was given.
2393 if test "${enable_multilib+set}" = set; then :
2394 enableval=$enable_multilib; case "$enableval" in
2395 yes) multilib=yes ;;
2397 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
2404 # We may get other options which we leave undocumented:
2405 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2406 # See config-ml.in if you want the gory details.
2408 if test "$srcdir" = "."; then
2409 if test "$with_target_subdir" != "."; then
2410 multi_basedir="$srcdir/$with_multisrctop../.."
2412 multi_basedir="$srcdir/$with_multisrctop.."
2415 multi_basedir="$srcdir/.."
2419 # Even if the default multilib is not a cross compilation,
2420 # it may be that some of the other multilibs are.
2421 if test $cross_compiling = no && test $multilib = yes \
2422 && test "x${with_multisubdir}" != x ; then
2423 cross_compiling=maybe
2426 ac_config_commands="$ac_config_commands default-1"
2430 # Do not delete or change the following two lines. For why, see
2431 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2433 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2434 if test -f "$ac_dir/install-sh"; then
2436 ac_install_sh="$ac_aux_dir/install-sh -c"
2438 elif test -f "$ac_dir/install.sh"; then
2440 ac_install_sh="$ac_aux_dir/install.sh -c"
2442 elif test -f "$ac_dir/shtool"; then
2444 ac_install_sh="$ac_aux_dir/shtool install -c"
2448 if test -z "$ac_aux_dir"; then
2449 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2452 # These three variables are undocumented and unsupported,
2453 # and are intended to be withdrawn in a future Autoconf release.
2454 # They can cause serious problems if a builder's source tree is in a directory
2455 # whose full name contains unusual characters.
2456 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2457 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2458 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2461 # Make sure we can run config.sub.
2462 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2463 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2466 $as_echo_n "checking build system type... " >&6; }
2467 if ${ac_cv_build+:} false; then :
2468 $as_echo_n "(cached) " >&6
2470 ac_build_alias=$build_alias
2471 test "x$ac_build_alias" = x &&
2472 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2473 test "x$ac_build_alias" = x &&
2474 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2475 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2476 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2480 $as_echo "$ac_cv_build" >&6; }
2481 case $ac_cv_build in
2483 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2486 ac_save_IFS=$IFS; IFS='-'
2492 # Remember, the first character of IFS is used to create $*,
2493 # except with old shells:
2496 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2500 $as_echo_n "checking host system type... " >&6; }
2501 if ${ac_cv_host+:} false; then :
2502 $as_echo_n "(cached) " >&6
2504 if test "x$host_alias" = x; then
2505 ac_cv_host=$ac_cv_build
2507 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2508 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2513 $as_echo "$ac_cv_host" >&6; }
2516 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2519 ac_save_IFS=$IFS; IFS='-'
2525 # Remember, the first character of IFS is used to create $*,
2526 # except with old shells:
2529 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2533 $as_echo_n "checking target system type... " >&6; }
2534 if ${ac_cv_target+:} false; then :
2535 $as_echo_n "(cached) " >&6
2537 if test "x$target_alias" = x; then
2538 ac_cv_target=$ac_cv_host
2540 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2541 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2546 $as_echo "$ac_cv_target" >&6; }
2547 case $ac_cv_target in
2549 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2551 target=$ac_cv_target
2552 ac_save_IFS=$IFS; IFS='-'
2558 # Remember, the first character of IFS is used to create $*,
2559 # except with old shells:
2562 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2565 # The aliases save the names the user supplied, while $host etc.
2566 # will get canonicalized.
2567 test -n "$target_alias" &&
2568 test "$program_prefix$program_suffix$program_transform_name" = \
2570 program_prefix=${target_alias}-
2572 target_alias=${target_alias-$host_alias}
2575 # Automake should never attempt to rebuild configure
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2578 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2579 # Check whether --enable-maintainer-mode was given.
2580 if test "${enable_maintainer_mode+set}" = set; then :
2581 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2583 USE_MAINTAINER_MODE=no
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2587 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2588 if test $USE_MAINTAINER_MODE = yes; then
2589 MAINTAINER_MODE_TRUE=
2590 MAINTAINER_MODE_FALSE='#'
2592 MAINTAINER_MODE_TRUE='#'
2593 MAINTAINER_MODE_FALSE=
2596 MAINT=$MAINTAINER_MODE_TRUE
2600 am__api_version='1.15'
2602 # Find a good install program. We prefer a C program (faster),
2603 # so one script is as good as another. But avoid the broken or
2604 # incompatible versions:
2605 # SysV /etc/install, /usr/sbin/install
2606 # SunOS /usr/etc/install
2607 # IRIX /sbin/install
2609 # AmigaOS /C/install, which installs bootblocks on floppy discs
2610 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2611 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2612 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2613 # OS/2's system install, which has a completely different semantic
2614 # ./install, which can be erroneously created by make from ./install.sh.
2615 # Reject install programs that cannot install multiple files.
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2617 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2618 if test -z "$INSTALL"; then
2619 if ${ac_cv_path_install+:} false; then :
2620 $as_echo_n "(cached) " >&6
2622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2626 test -z "$as_dir" && as_dir=.
2627 # Account for people who put trailing slashes in PATH elements.
2628 case $as_dir/ in #((
2629 ./ | .// | /[cC]/* | \
2630 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2631 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2634 # OSF1 and SCO ODT 3.0 have their own names for install.
2635 # Don't use installbsd from OSF since it installs stuff as root
2637 for ac_prog in ginstall scoinst install; do
2638 for ac_exec_ext in '' $ac_executable_extensions; do
2639 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2640 if test $ac_prog = install &&
2641 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2642 # AIX install. It has an incompatible calling convention.
2644 elif test $ac_prog = install &&
2645 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2646 # program-specific install script used by HP pwplus--don't use.
2649 rm -rf conftest.one conftest.two conftest.dir
2650 echo one > conftest.one
2651 echo two > conftest.two
2653 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2654 test -s conftest.one && test -s conftest.two &&
2655 test -s conftest.dir/conftest.one &&
2656 test -s conftest.dir/conftest.two
2658 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2671 rm -rf conftest.one conftest.two conftest.dir
2674 if test "${ac_cv_path_install+set}" = set; then
2675 INSTALL=$ac_cv_path_install
2677 # As a last resort, use the slow shell script. Don't cache a
2678 # value for INSTALL within a source directory, because that will
2679 # break other packages using the cache if that directory is
2680 # removed, or if the value is a relative name.
2681 INSTALL=$ac_install_sh
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2685 $as_echo "$INSTALL" >&6; }
2687 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2688 # It thinks the first close brace ends the variable substitution.
2689 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2691 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2693 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2696 $as_echo_n "checking whether build environment is sane... " >&6; }
2697 # Reject unsafe characters in $srcdir or the absolute working directory
2698 # name. Accept space and tab only in the latter.
2702 *[\\\"\#\$\&\'\`$am_lf]*)
2703 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2706 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2707 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2710 # Do 'set' in a subshell so we don't clobber the current shell's
2711 # arguments. Must try -L first in case configure is actually a
2712 # symlink; some systems play weird games with the mod time of symlinks
2713 # (eg FreeBSD returns the mod time of the symlink's containing
2717 for am_try
in 1 2; do
2718 echo "timestamp, slept: $am_has_slept" > conftest.
file
2719 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2720 if test "$*" = "X"; then
2722 set X
`ls -t "$srcdir/configure" conftest.file`
2724 if test "$*" != "X $srcdir/configure conftest.file" \
2725 && test "$*" != "X conftest.file $srcdir/configure"; then
2727 # If neither matched, then we have a broken ls. This can happen
2728 # if, for instance, CONFIG_SHELL is bash and it inherits a
2729 # broken ls alias from the environment. This has actually
2730 # happened. Such a system could not be considered "sane".
2731 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2732 alias in your environment" "$LINENO" 5
2734 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2741 test "$2" = conftest.
file
2747 as_fn_error $?
"newly created file is older than distributed files!
2748 Check your system clock" "$LINENO" 5
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2751 $as_echo "yes" >&6; }
2752 # If we didn't sleep, we still need to ensure time stamps of config.status and
2753 # generated files are strictly newer.
2755 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2762 test "$program_prefix" != NONE
&&
2763 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2764 # Use a double $ so make ignores it.
2765 test "$program_suffix" != NONE
&&
2766 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2767 # Double any \ or $.
2768 # By default was `s,x,x', remove it if useless.
2769 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2770 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2772 # Expand $ac_aux_dir to an absolute path.
2773 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2775 if test x
"${MISSING+set}" != xset
; then
2778 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2780 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2783 # Use eval to expand $SHELL
2784 if eval "$MISSING --is-lightweight"; then
2785 am_missing_run
="$MISSING "
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2789 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2792 if test x
"${install_sh+set}" != xset
; then
2795 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2797 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2801 # Installed binaries are usually stripped using 'strip' when the user
2802 # run "make install-strip". However 'strip' might not be the right
2803 # tool to use in cross-compilation environments, therefore Automake
2804 # will honor the 'STRIP' environment variable to overrule this program.
2805 if test "$cross_compiling" != no
; then
2806 if test -n "$ac_tool_prefix"; then
2807 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2808 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2810 $as_echo_n "checking for $ac_word... " >&6; }
2811 if ${ac_cv_prog_STRIP+:} false
; then :
2812 $as_echo_n "(cached) " >&6
2814 if test -n "$STRIP"; then
2815 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2821 test -z "$as_dir" && as_dir
=.
2822 for ac_exec_ext
in '' $ac_executable_extensions; do
2823 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2824 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2834 STRIP
=$ac_cv_prog_STRIP
2835 if test -n "$STRIP"; then
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2837 $as_echo "$STRIP" >&6; }
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2840 $as_echo "no" >&6; }
2845 if test -z "$ac_cv_prog_STRIP"; then
2847 # Extract the first word of "strip", so it can be a program name with args.
2848 set dummy strip
; ac_word
=$2
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2850 $as_echo_n "checking for $ac_word... " >&6; }
2851 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2852 $as_echo_n "(cached) " >&6
2854 if test -n "$ac_ct_STRIP"; then
2855 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2861 test -z "$as_dir" && as_dir
=.
2862 for ac_exec_ext
in '' $ac_executable_extensions; do
2863 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2864 ac_cv_prog_ac_ct_STRIP
="strip"
2865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2874 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2875 if test -n "$ac_ct_STRIP"; then
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2877 $as_echo "$ac_ct_STRIP" >&6; }
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2880 $as_echo "no" >&6; }
2883 if test "x$ac_ct_STRIP" = x
; then
2886 case $cross_compiling:$ac_tool_warned in
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2890 ac_tool_warned
=yes ;;
2895 STRIP
="$ac_cv_prog_STRIP"
2899 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2902 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2903 if test -z "$MKDIR_P"; then
2904 if ${ac_cv_path_mkdir+:} false
; then :
2905 $as_echo_n "(cached) " >&6
2907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2908 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2911 test -z "$as_dir" && as_dir
=.
2912 for ac_prog
in mkdir gmkdir
; do
2913 for ac_exec_ext
in '' $ac_executable_extensions; do
2914 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2915 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2916 'mkdir (GNU coreutils) '* | \
2917 'mkdir (coreutils) '* | \
2918 'mkdir (fileutils) '4.1*)
2919 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2929 test -d .
/--version && rmdir .
/--version
2930 if test "${ac_cv_path_mkdir+set}" = set; then
2931 MKDIR_P
="$ac_cv_path_mkdir -p"
2933 # As a last resort, use the slow shell script. Don't cache a
2934 # value for MKDIR_P within a source directory, because that will
2935 # break other packages using the cache if that directory is
2936 # removed, or if the value is a relative name.
2937 MKDIR_P
="$ac_install_sh -d"
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2941 $as_echo "$MKDIR_P" >&6; }
2943 for ac_prog
in gawk mawk nawk
awk
2945 # Extract the first word of "$ac_prog", so it can be a program name with args.
2946 set dummy
$ac_prog; ac_word
=$2
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2948 $as_echo_n "checking for $ac_word... " >&6; }
2949 if ${ac_cv_prog_AWK+:} false
; then :
2950 $as_echo_n "(cached) " >&6
2952 if test -n "$AWK"; then
2953 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2959 test -z "$as_dir" && as_dir
=.
2960 for ac_exec_ext
in '' $ac_executable_extensions; do
2961 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2962 ac_cv_prog_AWK
="$ac_prog"
2963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2973 if test -n "$AWK"; then
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2975 $as_echo "$AWK" >&6; }
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2978 $as_echo "no" >&6; }
2982 test -n "$AWK" && break
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2986 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2988 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2989 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2990 $as_echo_n "(cached) " >&6
2992 cat >conftest.
make <<\_ACEOF
2995 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2997 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2998 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3000 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3002 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3006 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3008 $as_echo "yes" >&6; }
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3012 $as_echo "no" >&6; }
3013 SET_MAKE
="MAKE=${MAKE-make}"
3016 rm -rf .tst
2>/dev
/null
3017 mkdir .tst
2>/dev
/null
3018 if test -d .tst
; then
3023 rmdir .tst
2>/dev
/null
3025 # Check whether --enable-silent-rules was given.
3026 if test "${enable_silent_rules+set}" = set; then :
3027 enableval
=$enable_silent_rules;
3030 case $enable_silent_rules in # (((
3031 yes) AM_DEFAULT_VERBOSITY
=0;;
3032 no
) AM_DEFAULT_VERBOSITY
=1;;
3033 *) AM_DEFAULT_VERBOSITY
=1;;
3035 am_make
=${MAKE-make}
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3037 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3038 if ${am_cv_make_support_nested_variables+:} false
; then :
3039 $as_echo_n "(cached) " >&6
3041 if $as_echo 'TRUE=$(BAR$(V))
3047 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3048 am_cv_make_support_nested_variables
=yes
3050 am_cv_make_support_nested_variables
=no
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3054 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3055 if test $am_cv_make_support_nested_variables = yes; then
3057 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3059 AM_V
=$AM_DEFAULT_VERBOSITY
3060 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3064 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3065 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3066 # is not polluted with repeated "-I."
3067 am__isrc
=' -I$(srcdir)'
3068 # test to see if srcdir already configured
3069 if test -f $srcdir/config.status
; then
3070 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3074 # test whether we have cygpath
3075 if test -z "$CYGPATH_W"; then
3076 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3077 CYGPATH_W
='cygpath -w'
3084 # Define the identity of the package.
3086 VERSION
='version-unused'
3089 cat >>confdefs.h
<<_ACEOF
3090 #define PACKAGE "$PACKAGE"
3094 cat >>confdefs.h
<<_ACEOF
3095 #define VERSION "$VERSION"
3098 # Some tools Automake needs.
3100 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3103 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3106 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3109 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3112 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3114 # For better backward compatibility. To be removed once Automake 1.9.x
3115 # dies out for good. For more background, see:
3116 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3117 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3118 mkdir_p
='$(MKDIR_P)'
3120 # We need awk for the "check" target (and possibly the TAP driver). The
3121 # system "awk" is bad on some platforms.
3122 # Always define AMTAR for backward compatibility. Yes, it's still used
3123 # in the wild :-( We should find a proper way to deprecate it ...
3127 # We'll loop over all known methods to create a tar archive until one works.
3128 _am_tools
='gnutar pax cpio none'
3130 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3137 # POSIX will say in a future version that running "rm -f" with no argument
3138 # is OK; and we want to be able to make that assumption in our Makefile
3139 # recipes. So use an aggressive probe to check that the usage we want is
3140 # actually supported "in the wild" to an acceptable degree.
3141 # See automake bug#10828.
3142 # To make any issue more visible, cause the running configure to be aborted
3143 # by default if the 'rm' program in use doesn't match our expectations; the
3144 # user can still override this though.
3145 if rm -f && rm -fr && rm -rf; then : OK
; else
3149 Your 'rm' program seems unable to run without file operands specified
3150 on the command line, even when the '-f' option is present. This is contrary
3151 to the behaviour of most rm programs out there, and not conforming with
3152 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3154 Please tell bug-automake@gnu.org about your system, including the value
3155 of your $PATH and any error possibly output before this message. This
3156 can help us improve future automake versions.
3159 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3160 echo 'Configuration will proceed anyway, since you have set the' >&2
3161 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3165 Aborting the configuration process, to ensure you take notice of the issue.
3167 You can download and install GNU coreutils to get an 'rm' implementation
3168 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3170 If you want to complete the configuration process using your problematic
3171 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3172 to "yes", and re-run configure.
3175 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3180 # Make sure we don't test executables when making cross-tools.
3184 # Add the ability to change LIBTOOL directory
3186 # Check whether --with-toolexeclibdir was given.
3187 if test "${with_toolexeclibdir+set}" = set; then :
3188 withval
=$with_toolexeclibdir; case ${with_toolexeclibdir} in
3192 with_toolexeclibdir
=`echo $with_toolexeclibdir | sed 's,/$,,'`
3196 with_toolexeclibdir
=no
3201 # Use system specific extensions
3202 DEPDIR
="${am__leading_dot}deps"
3204 ac_config_commands
="$ac_config_commands depfiles"
3207 am_make
=${MAKE-make}
3208 cat > confinc
<< 'END'
3210 @
echo this is the am__doit target
3213 # If we don't find an include directive, just comment out the code.
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3215 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3219 # First try GNU make style include.
3220 echo "include confinc" > confmf
3221 # Ignore all kinds of additional output from 'make'.
3222 case `$am_make -s -f confmf 2> /dev/null` in #(
3223 *the\ am__doit\ target
*)
3229 # Now try BSD make style include.
3230 if test "$am__include" = "#"; then
3231 echo '.include "confinc"' > confmf
3232 case `$am_make -s -f confmf 2> /dev/null` in #(
3233 *the\ am__doit\ target
*)
3234 am__include
=.include
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3243 $as_echo "$_am_result" >&6; }
3244 rm -f confinc confmf
3246 # Check whether --enable-dependency-tracking was given.
3247 if test "${enable_dependency_tracking+set}" = set; then :
3248 enableval
=$enable_dependency_tracking;
3251 if test "x$enable_dependency_tracking" != xno
; then
3252 am_depcomp
="$ac_aux_dir/depcomp"
3256 if test "x$enable_dependency_tracking" != xno; then
3266 ac_cpp
='$CPP $CPPFLAGS'
3267 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3268 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3269 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3270 if test -n "$ac_tool_prefix"; then
3271 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3272 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3274 $as_echo_n "checking for $ac_word... " >&6; }
3275 if ${ac_cv_prog_CC+:} false
; then :
3276 $as_echo_n "(cached) " >&6
3278 if test -n "$CC"; then
3279 ac_cv_prog_CC
="$CC" # Let the user override the test.
3281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3285 test -z "$as_dir" && as_dir
=.
3286 for ac_exec_ext
in '' $ac_executable_extensions; do
3287 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3288 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3299 if test -n "$CC"; then
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3301 $as_echo "$CC" >&6; }
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3304 $as_echo "no" >&6; }
3309 if test -z "$ac_cv_prog_CC"; then
3311 # Extract the first word of "gcc", so it can be a program name with args.
3312 set dummy gcc
; ac_word
=$2
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3314 $as_echo_n "checking for $ac_word... " >&6; }
3315 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3316 $as_echo_n "(cached) " >&6
3318 if test -n "$ac_ct_CC"; then
3319 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3325 test -z "$as_dir" && as_dir
=.
3326 for ac_exec_ext
in '' $ac_executable_extensions; do
3327 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3328 ac_cv_prog_ac_ct_CC
="gcc"
3329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3338 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3339 if test -n "$ac_ct_CC"; then
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3341 $as_echo "$ac_ct_CC" >&6; }
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3344 $as_echo "no" >&6; }
3347 if test "x$ac_ct_CC" = x
; then
3350 case $cross_compiling:$ac_tool_warned in
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3353 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3354 ac_tool_warned
=yes ;;
3362 if test -z "$CC"; then
3363 if test -n "$ac_tool_prefix"; then
3364 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3365 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3367 $as_echo_n "checking for $ac_word... " >&6; }
3368 if ${ac_cv_prog_CC+:} false
; then :
3369 $as_echo_n "(cached) " >&6
3371 if test -n "$CC"; then
3372 ac_cv_prog_CC
="$CC" # Let the user override the test.
3374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3378 test -z "$as_dir" && as_dir
=.
3379 for ac_exec_ext
in '' $ac_executable_extensions; do
3380 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3381 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3392 if test -n "$CC"; then
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3394 $as_echo "$CC" >&6; }
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3397 $as_echo "no" >&6; }
3403 if test -z "$CC"; then
3404 # Extract the first word of "cc", so it can be a program name with args.
3405 set dummy cc
; ac_word
=$2
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3407 $as_echo_n "checking for $ac_word... " >&6; }
3408 if ${ac_cv_prog_CC+:} false
; then :
3409 $as_echo_n "(cached) " >&6
3411 if test -n "$CC"; then
3412 ac_cv_prog_CC
="$CC" # Let the user override the test.
3415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3419 test -z "$as_dir" && as_dir
=.
3420 for ac_exec_ext
in '' $ac_executable_extensions; do
3421 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3422 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3423 ac_prog_rejected
=yes
3427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3434 if test $ac_prog_rejected = yes; then
3435 # We found a bogon in the path, so make sure we never use it.
3436 set dummy
$ac_cv_prog_CC
3438 if test $# != 0; then
3439 # We chose a different compiler from the bogus one.
3440 # However, it has the same basename, so the bogon will be chosen
3441 # first if we set CC to just the basename; use the full file name.
3443 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3449 if test -n "$CC"; then
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3451 $as_echo "$CC" >&6; }
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3454 $as_echo "no" >&6; }
3459 if test -z "$CC"; then
3460 if test -n "$ac_tool_prefix"; then
3461 for ac_prog
in cl.exe
3463 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3464 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3466 $as_echo_n "checking for $ac_word... " >&6; }
3467 if ${ac_cv_prog_CC+:} false
; then :
3468 $as_echo_n "(cached) " >&6
3470 if test -n "$CC"; then
3471 ac_cv_prog_CC
="$CC" # Let the user override the test.
3473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3477 test -z "$as_dir" && as_dir
=.
3478 for ac_exec_ext
in '' $ac_executable_extensions; do
3479 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3480 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3491 if test -n "$CC"; then
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3493 $as_echo "$CC" >&6; }
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3496 $as_echo "no" >&6; }
3500 test -n "$CC" && break
3503 if test -z "$CC"; then
3505 for ac_prog
in cl.exe
3507 # Extract the first word of "$ac_prog", so it can be a program name with args.
3508 set dummy
$ac_prog; ac_word
=$2
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3510 $as_echo_n "checking for $ac_word... " >&6; }
3511 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3512 $as_echo_n "(cached) " >&6
3514 if test -n "$ac_ct_CC"; then
3515 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3521 test -z "$as_dir" && as_dir
=.
3522 for ac_exec_ext
in '' $ac_executable_extensions; do
3523 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3524 ac_cv_prog_ac_ct_CC
="$ac_prog"
3525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3534 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3535 if test -n "$ac_ct_CC"; then
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3537 $as_echo "$ac_ct_CC" >&6; }
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3540 $as_echo "no" >&6; }
3544 test -n "$ac_ct_CC" && break
3547 if test "x$ac_ct_CC" = x
; then
3550 case $cross_compiling:$ac_tool_warned in
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3553 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3554 ac_tool_warned
=yes ;;
3563 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3564 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3565 as_fn_error $?
"no acceptable C compiler found in \$PATH
3566 See \`config.log' for more details" "$LINENO" 5; }
3568 # Provide some information about the compiler.
3569 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3572 for ac_option
in --version -v -V -qversion; do
3573 { { ac_try
="$ac_compiler $ac_option >&5"
3575 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3576 *) ac_try_echo=$ac_try;;
3578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3579 $as_echo "$ac_try_echo"; } >&5
3580 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3582 if test -s conftest.err; then
3584 ... rest of stderr output deleted ...
3585 10q' conftest.err >conftest.er1
3586 cat conftest.er1 >&5
3588 rm -f conftest.er1 conftest.err
3589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3590 test $ac_status = 0; }
3593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3594 /* end confdefs.h. */
3599 printf ("hello world\n");
3605 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3606 (eval $ac_link) 2>&5
3608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3609 test $ac_status = 0; }; then :
3614 if test x$gcc_no_link = xyes; then
3615 # Setting cross_compile will disable run tests; it will
3616 # also disable AC_CHECK_FILE but that's generally
3617 # correct if we can't link.
3621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3622 /* end confdefs.h. */
3632 ac_clean_files_save=$ac_clean_files
3633 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3634 # Try to create an executable without -o first, disregard a.out.
3635 # It will help us diagnose broken compilers, and finding out an intuition
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3638 $as_echo_n "checking whether the C compiler works... " >&6; }
3639 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3641 # The possible output files:
3642 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3645 for ac_file in $ac_files
3648 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3649 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3654 if { { ac_try="$ac_link_default"
3656 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3657 *) ac_try_echo
=$ac_try;;
3659 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3660 $as_echo "$ac_try_echo"; } >&5
3661 (eval "$ac_link_default") 2>&5
3663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3664 test $ac_status = 0; }; then :
3665 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3666 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3667 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3668 # so that the user can short-circuit this test for compilers unknown to
3670 for ac_file
in $ac_files ''
3672 test -f "$ac_file" ||
continue
3674 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3677 # We found the default executable, but exeext='' is most
3681 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3683 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3685 # We set ac_cv_exeext here because the later test for it is not
3686 # safe: cross compilers may not add the suffix if given an `-o'
3687 # argument, so we may need to know it at that point already.
3688 # Even if this section looks crufty: it has the advantage of
3695 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3700 if test -z "$ac_file"; then :
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3702 $as_echo "no" >&6; }
3703 $as_echo "$as_me: failed program was:" >&5
3704 sed 's/^/| /' conftest.
$ac_ext >&5
3706 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3707 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3708 as_fn_error
77 "C compiler cannot create executables
3709 See \`config.log' for more details" "$LINENO" 5; }
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3712 $as_echo "yes" >&6; }
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3715 $as_echo_n "checking for C compiler default output file name... " >&6; }
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3717 $as_echo "$ac_file" >&6; }
3718 ac_exeext
=$ac_cv_exeext
3720 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3721 ac_clean_files
=$ac_clean_files_save
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3723 $as_echo_n "checking for suffix of executables... " >&6; }
3724 if { { ac_try
="$ac_link"
3726 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3727 *) ac_try_echo=$ac_try;;
3729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3730 $as_echo "$ac_try_echo"; } >&5
3731 (eval "$ac_link") 2>&5
3733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3734 test $ac_status = 0; }; then :
3735 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3736 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3737 # work properly (i.e., refer to `conftest.exe'), while it won't with
3739 for ac_file
in conftest.exe conftest conftest.
*; do
3740 test -f "$ac_file" ||
continue
3742 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3743 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3749 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3750 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3751 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3752 See \`config.log' for more details" "$LINENO" 5; }
3754 rm -f conftest conftest
$ac_cv_exeext
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3756 $as_echo "$ac_cv_exeext" >&6; }
3758 rm -f conftest.
$ac_ext
3759 EXEEXT
=$ac_cv_exeext
3761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3762 /* end confdefs.h. */
3767 FILE *f = fopen ("conftest.out", "w");
3768 return ferror (f) || fclose (f) != 0;
3774 ac_clean_files
="$ac_clean_files conftest.out"
3775 # Check that the compiler produces executables we can run. If not, either
3776 # the compiler is broken, or we cross compile.
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3778 $as_echo_n "checking whether we are cross compiling... " >&6; }
3779 if test "$cross_compiling" != yes; then
3780 { { ac_try
="$ac_link"
3782 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3783 *) ac_try_echo=$ac_try;;
3785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3786 $as_echo "$ac_try_echo"; } >&5
3787 (eval "$ac_link") 2>&5
3789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3790 test $ac_status = 0; }
3791 if { ac_try='./conftest$ac_cv_exeext'
3792 { { case "(($ac_try" in
3793 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3794 *) ac_try_echo
=$ac_try;;
3796 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3797 $as_echo "$ac_try_echo"; } >&5
3798 (eval "$ac_try") 2>&5
3800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3801 test $ac_status = 0; }; }; then
3804 if test "$cross_compiling" = maybe
; then
3807 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3809 as_fn_error $?
"cannot run C compiled programs.
3810 If you meant to cross compile, use \`--host'.
3811 See \`config.log' for more details" "$LINENO" 5; }
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3816 $as_echo "$cross_compiling" >&6; }
3818 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3819 ac_clean_files
=$ac_clean_files_save
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3822 $as_echo_n "checking for suffix of object files... " >&6; }
3823 if ${ac_cv_objext+:} false
; then :
3824 $as_echo_n "(cached) " >&6
3826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3827 /* end confdefs.h. */
3837 rm -f conftest.o conftest.obj
3838 if { { ac_try
="$ac_compile"
3840 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3841 *) ac_try_echo=$ac_try;;
3843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3844 $as_echo "$ac_try_echo"; } >&5
3845 (eval "$ac_compile") 2>&5
3847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3848 test $ac_status = 0; }; then :
3849 for ac_file in conftest.o conftest.obj conftest.*; do
3850 test -f "$ac_file" || continue;
3852 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3853 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3858 $as_echo "$as_me: failed program was:" >&5
3859 sed 's/^/| /' conftest.$ac_ext >&5
3861 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3862 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3863 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3864 See \
`config.log' for more details" "$LINENO" 5; }
3866 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3869 $as_echo "$ac_cv_objext" >&6; }
3870 OBJEXT=$ac_cv_objext
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3873 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3874 if ${ac_cv_c_compiler_gnu+:} false; then :
3875 $as_echo_n "(cached) " >&6
3877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3878 /* end confdefs.h. */
3891 if ac_fn_c_try_compile "$LINENO"; then :
3896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3897 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3901 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3902 if test $ac_compiler_gnu = yes; then
3907 ac_test_CFLAGS=${CFLAGS+set}
3908 ac_save_CFLAGS=$CFLAGS
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3910 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3911 if ${ac_cv_prog_cc_g+:} false; then :
3912 $as_echo_n "(cached) " >&6
3914 ac_save_c_werror_flag=$ac_c_werror_flag
3915 ac_c_werror_flag=yes
3918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3919 /* end confdefs.h. */
3929 if ac_fn_c_try_compile "$LINENO"; then :
3933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3934 /* end confdefs.h. */
3944 if ac_fn_c_try_compile "$LINENO"; then :
3947 ac_c_werror_flag=$ac_save_c_werror_flag
3949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3950 /* end confdefs.h. */
3960 if ac_fn_c_try_compile "$LINENO"; then :
3963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3968 ac_c_werror_flag=$ac_save_c_werror_flag
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3971 $as_echo "$ac_cv_prog_cc_g" >&6; }
3972 if test "$ac_test_CFLAGS" = set; then
3973 CFLAGS=$ac_save_CFLAGS
3974 elif test $ac_cv_prog_cc_g = yes; then
3975 if test "$GCC" = yes; then
3981 if test "$GCC" = yes; then
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3988 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3989 if ${ac_cv_prog_cc_c89+:} false; then :
3990 $as_echo_n "(cached) " >&6
3992 ac_cv_prog_cc_c89=no
3994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3995 /* end confdefs.h. */
3999 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4000 struct buf { int x; };
4001 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4002 static char *e (p, i)
4008 static char *f (char * (*g) (char **, int), char **p, ...)
4013 s = g (p, va_arg (v,int));
4018 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4019 function prototypes and stuff, but not '\xHH' hex character constants.
4020 These don't provoke an error unfortunately, instead are silently treated
4021 as 'x'. The following induces an error, until -std is added to get
4022 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4023 array size at least. It's necessary to write '\x00'==0 to get something
4024 that's true only with -std. */
4025 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4027 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4028 inside strings and character constants. */
4030 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4032 int test (int i, double x);
4033 struct s1 {int (*f) (int a);};
4034 struct s2 {int (*f) (double a);};
4035 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4041 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4046 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4047 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4049 CC="$ac_save_CC $ac_arg"
4050 if ac_fn_c_try_compile "$LINENO"; then :
4051 ac_cv_prog_cc_c89=$ac_arg
4053 rm -f core conftest.err conftest.$ac_objext
4054 test "x$ac_cv_prog_cc_c89" != "xno" && break
4056 rm -f conftest.$ac_ext
4061 case "x$ac_cv_prog_cc_c89" in
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4064 $as_echo "none needed" >&6; } ;;
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4067 $as_echo "unsupported" >&6; } ;;
4069 CC="$CC $ac_cv_prog_cc_c89"
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4071 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4073 if test "x$ac_cv_prog_cc_c89" != xno; then :
4078 ac_cpp='$CPP $CPPFLAGS'
4079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4084 ac_cpp='$CPP $CPPFLAGS'
4085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4089 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4090 if ${am_cv_prog_cc_c_o+:} false; then :
4091 $as_echo_n "(cached) " >&6
4093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4094 /* end confdefs.h. */
4104 # Make sure it works both with $CC and with simple cc.
4105 # Following AC_PROG_CC_C_O, we do the test twice because some
4106 # compilers refuse to overwrite an existing .o file with -o,
4107 # though they will create one.
4108 am_cv_prog_cc_c_o=yes
4110 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4111 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4114 (exit $ac_status); } \
4115 && test -f conftest2.$ac_objext; then
4118 am_cv_prog_cc_c_o=no
4122 rm -f core conftest*
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4126 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4127 if test "$am_cv_prog_cc_c_o" != yes; then
4128 # Losing compiler, so override with the script.
4129 # FIXME: It is wrong to rewrite CC.
4130 # But if we don't then we get into trouble of one sort or another.
4131 # A longer-term fix would be to have automake use am__CC in this case,
4132 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4133 CC="$am_aux_dir/compile $CC"
4136 ac_cpp='$CPP $CPPFLAGS'
4137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4142 depcc="$CC" am_compiler_list=
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4145 $as_echo_n "checking dependency style of $depcc... " >&6; }
4146 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4147 $as_echo_n "(cached) " >&6
4149 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4150 # We make a subdir and do the tests there. Otherwise we can end up
4151 # making bogus files that we don't know about and never remove. For
4152 # instance it was reported that on HP-UX the gcc test will end up
4153 # making a dummy file named 'D' -- because '-MD' means "put the output
4157 # Copy depcomp to subdir because otherwise we won't find it if we're
4158 # using a relative directory.
4159 cp "$am_depcomp" conftest.dir
4161 # We will build objects and dependencies in a subdirectory because
4162 # it helps to detect inapplicable dependency modes. For instance
4163 # both Tru64's cc and ICC support -MD to output dependencies as a
4164 # side effect of compilation, but ICC will put the dependencies in
4165 # the current directory while Tru64 will put them in the object
4169 am_cv_CC_dependencies_compiler_type=none
4170 if test "$am_compiler_list" = ""; then
4171 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4174 case " $depcc " in #(
4175 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4178 for depmode in $am_compiler_list; do
4179 # Setup a source with many dependencies, because some compilers
4180 # like to wrap large dependency lists on column 80 (with \), and
4181 # we should not choose a depcomp mode which is confused by this.
4183 # We need to recreate these files for each test, as the compiler may
4184 # overwrite some of them when testing with obscure command lines.
4185 # This happens at least with the AIX C compiler.
4187 for i in 1 2 3 4 5 6; do
4188 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4189 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4190 # Solaris 10 /bin/sh.
4191 echo '/* dummy */' > sub/conftst$i.h
4193 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4195 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4196 # mode. It turns out that the SunPro C++ compiler does not properly
4197 # handle '-M -o', and we need to detect this. Also, some Intel
4198 # versions had trouble with output in subdirs.
4199 am__obj=sub/conftest.${OBJEXT-o}
4200 am__minus_obj="-o $am__obj"
4203 # This depmode causes a compiler race in universal mode.
4204 test "$am__universal" = false || continue
4207 # After this tag, mechanisms are not by side-effect, so they'll
4208 # only be used when explicitly requested.
4209 if test "x$enable_dependency_tracking" = xyes; then
4215 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4216 # This compiler won't grok '-c -o', but also, the minuso test has
4217 # not run yet. These depmodes are late enough in the game, and
4218 # so weak that their functioning should not be impacted.
4219 am__obj=conftest.${OBJEXT-o}
4224 if depmode=$depmode \
4225 source=sub/conftest.c object=$am__obj \
4226 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4227 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4228 >/dev/null 2>conftest.err &&
4229 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4230 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4231 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4232 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4233 # icc doesn't choke on unknown options, it will just issue warnings
4234 # or remarks (even with -Werror). So we grep stderr for any message
4235 # that says an option was ignored or not supported.
4236 # When given -MP, icc 7.0 and 7.1 complain thusly:
4237 # icc: Command line warning: ignoring option '-M'; no argument required
4238 # The diagnosis changed in icc 8.0:
4239 # icc: Command line remark: option '-MP' not supported
4240 if (grep 'ignoring option' conftest.err ||
4241 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4242 am_cv_CC_dependencies_compiler_type=$depmode
4251 am_cv_CC_dependencies_compiler_type=none
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4256 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4257 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4260 test "x$enable_dependency_tracking" != xno \
4261 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4263 am__fastdepCC_FALSE='#'
4265 am__fastdepCC_TRUE='#'
4266 am__fastdepCC_FALSE=
4272 ac_cpp='$CPP $CPPFLAGS'
4273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4277 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4278 # On Suns, sometimes $CPP names a directory.
4279 if test -n "$CPP" && test -d "$CPP"; then
4282 if test -z "$CPP"; then
4283 if ${ac_cv_prog_CPP+:} false; then :
4284 $as_echo_n "(cached) " >&6
4286 # Double quotes because CPP needs to be expanded
4287 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4290 for ac_c_preproc_warn_flag in '' yes
4292 # Use a header file that comes with gcc, so configuring glibc
4293 # with a fresh cross-compiler works.
4294 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4295 # <limits.h> exists even on freestanding compilers.
4296 # On the NeXT, cc -E runs the code through the compiler's parser,
4297 # not just through cpp. "Syntax error" is here to catch this case.
4298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4299 /* end confdefs.h. */
4301 # include <limits.h>
4303 # include <assert.h>
4307 if ac_fn_c_try_cpp "$LINENO"; then :
4310 # Broken: fails on valid input.
4313 rm -f conftest.err conftest.i conftest.$ac_ext
4315 # OK, works on sane cases. Now check whether nonexistent headers
4316 # can be detected and how.
4317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4318 /* end confdefs.h. */
4319 #include <ac_nonexistent.h>
4321 if ac_fn_c_try_cpp "$LINENO"; then :
4322 # Broken: success on invalid input.
4325 # Passes both tests.
4329 rm -f conftest.err conftest.i conftest.$ac_ext
4332 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4333 rm -f conftest.i conftest.err conftest.
$ac_ext
4334 if $ac_preproc_ok; then :
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4347 $as_echo "$CPP" >&6; }
4349 for ac_c_preproc_warn_flag
in '' yes
4351 # Use a header file that comes with gcc, so configuring glibc
4352 # with a fresh cross-compiler works.
4353 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4354 # <limits.h> exists even on freestanding compilers.
4355 # On the NeXT, cc -E runs the code through the compiler's parser,
4356 # not just through cpp. "Syntax error" is here to catch this case.
4357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4358 /* end confdefs.h. */
4360 # include <limits.h>
4362 # include <assert.h>
4366 if ac_fn_c_try_cpp
"$LINENO"; then :
4369 # Broken: fails on valid input.
4372 rm -f conftest.err conftest.i conftest.
$ac_ext
4374 # OK, works on sane cases. Now check whether nonexistent headers
4375 # can be detected and how.
4376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4377 /* end confdefs.h. */
4378 #include <ac_nonexistent.h>
4380 if ac_fn_c_try_cpp
"$LINENO"; then :
4381 # Broken: success on invalid input.
4384 # Passes both tests.
4388 rm -f conftest.err conftest.i conftest.
$ac_ext
4391 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4392 rm -f conftest.i conftest.err conftest.
$ac_ext
4393 if $ac_preproc_ok; then :
4396 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4397 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4398 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4399 See \`config.log' for more details" "$LINENO" 5; }
4403 ac_cpp
='$CPP $CPPFLAGS'
4404 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4405 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4406 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4410 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4411 if ${ac_cv_path_GREP+:} false
; then :
4412 $as_echo_n "(cached) " >&6
4414 if test -z "$GREP"; then
4415 ac_path_GREP_found
=false
4416 # Loop through the user's path and test for each of PROGNAME-LIST
4417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4418 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4421 test -z "$as_dir" && as_dir
=.
4422 for ac_prog
in grep ggrep
; do
4423 for ac_exec_ext
in '' $ac_executable_extensions; do
4424 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4425 as_fn_executable_p
"$ac_path_GREP" ||
continue
4426 # Check for GNU ac_path_GREP and select it if it is found.
4427 # Check for GNU $ac_path_GREP
4428 case `"$ac_path_GREP" --version 2>&1` in
4430 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4433 $as_echo_n 0123456789 >"conftest.in"
4436 cat "conftest.in" "conftest.in" >"conftest.tmp"
4437 mv "conftest.tmp" "conftest.in"
4438 cp "conftest.in" "conftest.nl"
4439 $as_echo 'GREP' >> "conftest.nl"
4440 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4441 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4442 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4443 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4444 # Best one so far, save it but keep looking for a better one
4445 ac_cv_path_GREP
="$ac_path_GREP"
4446 ac_path_GREP_max
=$ac_count
4448 # 10*(2^10) chars as input seems more than enough
4449 test $ac_count -gt 10 && break
4451 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4454 $ac_path_GREP_found && break 3
4459 if test -z "$ac_cv_path_GREP"; then
4460 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4463 ac_cv_path_GREP
=$GREP
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4468 $as_echo "$ac_cv_path_GREP" >&6; }
4469 GREP
="$ac_cv_path_GREP"
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4473 $as_echo_n "checking for egrep... " >&6; }
4474 if ${ac_cv_path_EGREP+:} false
; then :
4475 $as_echo_n "(cached) " >&6
4477 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4478 then ac_cv_path_EGREP
="$GREP -E"
4480 if test -z "$EGREP"; then
4481 ac_path_EGREP_found
=false
4482 # Loop through the user's path and test for each of PROGNAME-LIST
4483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4484 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4487 test -z "$as_dir" && as_dir
=.
4488 for ac_prog
in egrep; do
4489 for ac_exec_ext
in '' $ac_executable_extensions; do
4490 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4491 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4492 # Check for GNU ac_path_EGREP and select it if it is found.
4493 # Check for GNU $ac_path_EGREP
4494 case `"$ac_path_EGREP" --version 2>&1` in
4496 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4499 $as_echo_n 0123456789 >"conftest.in"
4502 cat "conftest.in" "conftest.in" >"conftest.tmp"
4503 mv "conftest.tmp" "conftest.in"
4504 cp "conftest.in" "conftest.nl"
4505 $as_echo 'EGREP' >> "conftest.nl"
4506 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4507 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4508 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4509 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4510 # Best one so far, save it but keep looking for a better one
4511 ac_cv_path_EGREP
="$ac_path_EGREP"
4512 ac_path_EGREP_max
=$ac_count
4514 # 10*(2^10) chars as input seems more than enough
4515 test $ac_count -gt 10 && break
4517 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4520 $ac_path_EGREP_found && break 3
4525 if test -z "$ac_cv_path_EGREP"; then
4526 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4529 ac_cv_path_EGREP
=$EGREP
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4535 $as_echo "$ac_cv_path_EGREP" >&6; }
4536 EGREP
="$ac_cv_path_EGREP"
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4540 $as_echo_n "checking for ANSI C header files... " >&6; }
4541 if ${ac_cv_header_stdc+:} false
; then :
4542 $as_echo_n "(cached) " >&6
4544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4545 /* end confdefs.h. */
4559 if ac_fn_c_try_compile
"$LINENO"; then :
4560 ac_cv_header_stdc
=yes
4562 ac_cv_header_stdc
=no
4564 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4566 if test $ac_cv_header_stdc = yes; then
4567 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4569 /* end confdefs.h. */
4573 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4574 $EGREP "memchr" >/dev
/null
2>&1; then :
4577 ac_cv_header_stdc
=no
4583 if test $ac_cv_header_stdc = yes; then
4584 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4586 /* end confdefs.h. */
4590 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4591 $EGREP "free" >/dev
/null
2>&1; then :
4594 ac_cv_header_stdc
=no
4600 if test $ac_cv_header_stdc = yes; then
4601 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4602 if test "$cross_compiling" = yes; then :
4605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4606 /* end confdefs.h. */
4609 #if ((' ' & 0x0FF) == 0x020)
4610 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4611 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4613 # define ISLOWER(c) \
4614 (('a' <= (c) && (c) <= 'i') \
4615 || ('j' <= (c) && (c) <= 'r') \
4616 || ('s' <= (c) && (c) <= 'z'))
4617 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4620 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4625 for (i = 0; i < 256; i++)
4626 if (XOR (islower (i), ISLOWER (i))
4627 || toupper (i) != TOUPPER (i))
4632 if ac_fn_c_try_run
"$LINENO"; then :
4635 ac_cv_header_stdc
=no
4637 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4638 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4644 $as_echo "$ac_cv_header_stdc" >&6; }
4645 if test $ac_cv_header_stdc = yes; then
4647 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4651 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4652 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4653 inttypes.h stdint.h unistd.h
4655 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4656 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4658 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4659 cat >>confdefs.h
<<_ACEOF
4660 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4669 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4670 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4677 if test "$MINIX" = yes; then
4679 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4682 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4685 $as_echo "#define _MINIX 1" >>confdefs.h
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4691 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4692 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4693 $as_echo_n "(cached) " >&6
4695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4696 /* end confdefs.h. */
4698 # define __EXTENSIONS__ 1
4699 $ac_includes_default
4708 if ac_fn_c_try_compile
"$LINENO"; then :
4709 ac_cv_safe_to_define___extensions__
=yes
4711 ac_cv_safe_to_define___extensions__
=no
4713 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4716 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4717 test $ac_cv_safe_to_define___extensions__ = yes &&
4718 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4720 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4722 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4724 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4726 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4731 # Checks for header files.
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4733 $as_echo_n "checking for ANSI C header files... " >&6; }
4734 if ${ac_cv_header_stdc+:} false
; then :
4735 $as_echo_n "(cached) " >&6
4737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4738 /* end confdefs.h. */
4752 if ac_fn_c_try_compile
"$LINENO"; then :
4753 ac_cv_header_stdc
=yes
4755 ac_cv_header_stdc
=no
4757 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4759 if test $ac_cv_header_stdc = yes; then
4760 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4762 /* end confdefs.h. */
4766 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4767 $EGREP "memchr" >/dev
/null
2>&1; then :
4770 ac_cv_header_stdc
=no
4776 if test $ac_cv_header_stdc = yes; then
4777 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4779 /* end confdefs.h. */
4783 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4784 $EGREP "free" >/dev
/null
2>&1; then :
4787 ac_cv_header_stdc
=no
4793 if test $ac_cv_header_stdc = yes; then
4794 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4795 if test "$cross_compiling" = yes; then :
4798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4799 /* end confdefs.h. */
4802 #if ((' ' & 0x0FF) == 0x020)
4803 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4804 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4806 # define ISLOWER(c) \
4807 (('a' <= (c) && (c) <= 'i') \
4808 || ('j' <= (c) && (c) <= 'r') \
4809 || ('s' <= (c) && (c) <= 'z'))
4810 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4813 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4818 for (i = 0; i < 256; i++)
4819 if (XOR (islower (i), ISLOWER (i))
4820 || toupper (i) != TOUPPER (i))
4825 if ac_fn_c_try_run
"$LINENO"; then :
4828 ac_cv_header_stdc
=no
4830 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4831 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4837 $as_echo "$ac_cv_header_stdc" >&6; }
4838 if test $ac_cv_header_stdc = yes; then
4840 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
4845 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
4846 if ${ac_cv_header_sys_wait_h+:} false
; then :
4847 $as_echo_n "(cached) " >&6
4849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4850 /* end confdefs.h. */
4851 #include <sys/types.h>
4852 #include <sys/wait.h>
4854 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4857 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4865 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4870 if ac_fn_c_try_compile
"$LINENO"; then :
4871 ac_cv_header_sys_wait_h
=yes
4873 ac_cv_header_sys_wait_h
=no
4875 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
4878 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
4879 if test $ac_cv_header_sys_wait_h = yes; then
4881 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
4885 for ac_header
in limits.h stddef.h string.h
strings.h stdlib.h \
4886 time.h sys
/stat.h wchar.h
4888 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4889 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4890 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4891 cat >>confdefs.h
<<_ACEOF
4892 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4900 # Check whether --enable-werror was given.
4901 if test "${enable_werror+set}" = set; then :
4902 enableval
=$enable_werror;
4906 # Add CET specific flags if CET is enabled
4907 # Check whether --enable-cet was given.
4908 if test "${enable_cet+set}" = set; then :
4909 enableval
=$enable_cet;
4910 case "$enableval" in
4912 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
4921 $as_echo_n "checking for CET support... " >&6; }
4923 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
4925 i
[34567]86-*-linux* | x86_64-
*-linux*)
4926 case "$enable_cet" in
4928 # Check if target supports multi-byte NOPs
4929 # and if compiler and assembler support CET insn.
4930 cet_save_CFLAGS
="$CFLAGS"
4931 CFLAGS
="$CFLAGS -fcf-protection"
4932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4933 /* end confdefs.h. */
4939 #if !defined(__SSE2__)
4940 #error target does not support multi-byte NOPs
4949 if ac_fn_c_try_compile
"$LINENO"; then :
4954 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4955 CFLAGS
="$cet_save_CFLAGS"
4958 # Check if assembler supports CET.
4959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4960 /* end confdefs.h. */
4970 if ac_fn_c_try_compile
"$LINENO"; then :
4973 as_fn_error $?
"assembler with CET support is required for --enable-cet" "$LINENO" 5
4975 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4983 if test x
$enable_cet = xyes
; then
4984 CET_FLAGS
="-fcf-protection -mshstk"
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4986 $as_echo "yes" >&6; }
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4989 $as_echo "no" >&6; }
4992 XCFLAGS
="$XCFLAGS $CET_FLAGS"
4995 if test -n "$ac_tool_prefix"; then
4996 for ac_prog
in ar lib
"link -lib"
4998 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4999 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5001 $as_echo_n "checking for $ac_word... " >&6; }
5002 if ${ac_cv_prog_AR+:} false
; then :
5003 $as_echo_n "(cached) " >&6
5005 if test -n "$AR"; then
5006 ac_cv_prog_AR
="$AR" # Let the user override the test.
5008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5012 test -z "$as_dir" && as_dir
=.
5013 for ac_exec_ext
in '' $ac_executable_extensions; do
5014 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5015 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5026 if test -n "$AR"; then
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5028 $as_echo "$AR" >&6; }
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5031 $as_echo "no" >&6; }
5035 test -n "$AR" && break
5038 if test -z "$AR"; then
5040 for ac_prog
in ar lib
"link -lib"
5042 # Extract the first word of "$ac_prog", so it can be a program name with args.
5043 set dummy
$ac_prog; ac_word
=$2
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5045 $as_echo_n "checking for $ac_word... " >&6; }
5046 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5047 $as_echo_n "(cached) " >&6
5049 if test -n "$ac_ct_AR"; then
5050 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5056 test -z "$as_dir" && as_dir
=.
5057 for ac_exec_ext
in '' $ac_executable_extensions; do
5058 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5059 ac_cv_prog_ac_ct_AR
="$ac_prog"
5060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5069 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5070 if test -n "$ac_ct_AR"; then
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5072 $as_echo "$ac_ct_AR" >&6; }
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5075 $as_echo "no" >&6; }
5079 test -n "$ac_ct_AR" && break
5082 if test "x$ac_ct_AR" = x
; then
5085 case $cross_compiling:$ac_tool_warned in
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5088 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5089 ac_tool_warned
=yes ;;
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
5098 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
5099 if ${am_cv_ar_interface+:} false
; then :
5100 $as_echo_n "(cached) " >&6
5103 ac_cpp
='$CPP $CPPFLAGS'
5104 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5105 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5106 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5108 am_cv_ar_interface
=ar
5109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5110 /* end confdefs.h. */
5111 int some_variable = 0;
5113 if ac_fn_c_try_compile
"$LINENO"; then :
5114 am_ar_try
='$AR cru libconftest.a conftest.$ac_objext >&5'
5115 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5116 (eval $am_ar_try) 2>&5
5118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5119 test $ac_status = 0; }
5120 if test "$ac_status" -eq 0; then
5121 am_cv_ar_interface
=ar
5123 am_ar_try
='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
5124 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5125 (eval $am_ar_try) 2>&5
5127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5128 test $ac_status = 0; }
5129 if test "$ac_status" -eq 0; then
5130 am_cv_ar_interface
=lib
5132 am_cv_ar_interface
=unknown
5135 rm -f conftest.lib libconftest.a
5138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5140 ac_cpp
='$CPP $CPPFLAGS'
5141 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5142 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5143 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5147 $as_echo "$am_cv_ar_interface" >&6; }
5149 case $am_cv_ar_interface in
5153 # Microsoft lib, so override with the ar-lib wrapper script.
5154 # FIXME: It is wrong to rewrite AR.
5155 # But if we don't then we get into trouble of one sort or another.
5156 # A longer-term fix would be to have automake use am__AR in this case,
5157 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5159 AR
="$am_aux_dir/ar-lib $AR"
5162 as_fn_error $?
"could not determine $AR interface" "$LINENO" 5
5167 ac_cpp
='$CPP $CPPFLAGS'
5168 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5169 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5170 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5171 if test -n "$ac_tool_prefix"; then
5172 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5173 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5175 $as_echo_n "checking for $ac_word... " >&6; }
5176 if ${ac_cv_prog_CC+:} false
; then :
5177 $as_echo_n "(cached) " >&6
5179 if test -n "$CC"; then
5180 ac_cv_prog_CC
="$CC" # Let the user override the test.
5182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5186 test -z "$as_dir" && as_dir
=.
5187 for ac_exec_ext
in '' $ac_executable_extensions; do
5188 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5189 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5200 if test -n "$CC"; then
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5202 $as_echo "$CC" >&6; }
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5205 $as_echo "no" >&6; }
5210 if test -z "$ac_cv_prog_CC"; then
5212 # Extract the first word of "gcc", so it can be a program name with args.
5213 set dummy gcc
; ac_word
=$2
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5215 $as_echo_n "checking for $ac_word... " >&6; }
5216 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5217 $as_echo_n "(cached) " >&6
5219 if test -n "$ac_ct_CC"; then
5220 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5226 test -z "$as_dir" && as_dir
=.
5227 for ac_exec_ext
in '' $ac_executable_extensions; do
5228 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5229 ac_cv_prog_ac_ct_CC
="gcc"
5230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5239 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5240 if test -n "$ac_ct_CC"; then
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5242 $as_echo "$ac_ct_CC" >&6; }
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5245 $as_echo "no" >&6; }
5248 if test "x$ac_ct_CC" = x
; then
5251 case $cross_compiling:$ac_tool_warned in
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5254 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5255 ac_tool_warned
=yes ;;
5263 if test -z "$CC"; then
5264 if test -n "$ac_tool_prefix"; then
5265 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5266 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5268 $as_echo_n "checking for $ac_word... " >&6; }
5269 if ${ac_cv_prog_CC+:} false
; then :
5270 $as_echo_n "(cached) " >&6
5272 if test -n "$CC"; then
5273 ac_cv_prog_CC
="$CC" # Let the user override the test.
5275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5279 test -z "$as_dir" && as_dir
=.
5280 for ac_exec_ext
in '' $ac_executable_extensions; do
5281 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5282 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5293 if test -n "$CC"; then
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5295 $as_echo "$CC" >&6; }
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5298 $as_echo "no" >&6; }
5304 if test -z "$CC"; then
5305 # Extract the first word of "cc", so it can be a program name with args.
5306 set dummy cc
; ac_word
=$2
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5308 $as_echo_n "checking for $ac_word... " >&6; }
5309 if ${ac_cv_prog_CC+:} false
; then :
5310 $as_echo_n "(cached) " >&6
5312 if test -n "$CC"; then
5313 ac_cv_prog_CC
="$CC" # Let the user override the test.
5316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5320 test -z "$as_dir" && as_dir
=.
5321 for ac_exec_ext
in '' $ac_executable_extensions; do
5322 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5323 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5324 ac_prog_rejected
=yes
5328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5335 if test $ac_prog_rejected = yes; then
5336 # We found a bogon in the path, so make sure we never use it.
5337 set dummy
$ac_cv_prog_CC
5339 if test $# != 0; then
5340 # We chose a different compiler from the bogus one.
5341 # However, it has the same basename, so the bogon will be chosen
5342 # first if we set CC to just the basename; use the full file name.
5344 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5350 if test -n "$CC"; then
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5352 $as_echo "$CC" >&6; }
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5355 $as_echo "no" >&6; }
5360 if test -z "$CC"; then
5361 if test -n "$ac_tool_prefix"; then
5362 for ac_prog
in cl.exe
5364 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5365 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5367 $as_echo_n "checking for $ac_word... " >&6; }
5368 if ${ac_cv_prog_CC+:} false
; then :
5369 $as_echo_n "(cached) " >&6
5371 if test -n "$CC"; then
5372 ac_cv_prog_CC
="$CC" # Let the user override the test.
5374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5378 test -z "$as_dir" && as_dir
=.
5379 for ac_exec_ext
in '' $ac_executable_extensions; do
5380 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5381 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5392 if test -n "$CC"; then
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5394 $as_echo "$CC" >&6; }
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5397 $as_echo "no" >&6; }
5401 test -n "$CC" && break
5404 if test -z "$CC"; then
5406 for ac_prog
in cl.exe
5408 # Extract the first word of "$ac_prog", so it can be a program name with args.
5409 set dummy
$ac_prog; ac_word
=$2
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5411 $as_echo_n "checking for $ac_word... " >&6; }
5412 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5413 $as_echo_n "(cached) " >&6
5415 if test -n "$ac_ct_CC"; then
5416 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5422 test -z "$as_dir" && as_dir
=.
5423 for ac_exec_ext
in '' $ac_executable_extensions; do
5424 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5425 ac_cv_prog_ac_ct_CC
="$ac_prog"
5426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5435 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5436 if test -n "$ac_ct_CC"; then
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5438 $as_echo "$ac_ct_CC" >&6; }
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5441 $as_echo "no" >&6; }
5445 test -n "$ac_ct_CC" && break
5448 if test "x$ac_ct_CC" = x
; then
5451 case $cross_compiling:$ac_tool_warned in
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5455 ac_tool_warned
=yes ;;
5464 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5466 as_fn_error $?
"no acceptable C compiler found in \$PATH
5467 See \`config.log' for more details" "$LINENO" 5; }
5469 # Provide some information about the compiler.
5470 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5473 for ac_option
in --version -v -V -qversion; do
5474 { { ac_try
="$ac_compiler $ac_option >&5"
5476 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5477 *) ac_try_echo=$ac_try;;
5479 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5480 $as_echo "$ac_try_echo"; } >&5
5481 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5483 if test -s conftest.err; then
5485 ... rest of stderr output deleted ...
5486 10q' conftest.err >conftest.er1
5487 cat conftest.er1 >&5
5489 rm -f conftest.er1 conftest.err
5490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5491 test $ac_status = 0; }
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5495 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5496 if ${ac_cv_c_compiler_gnu+:} false; then :
5497 $as_echo_n "(cached) " >&6
5499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5500 /* end confdefs.h. */
5513 if ac_fn_c_try_compile "$LINENO"; then :
5518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5519 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5523 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5524 if test $ac_compiler_gnu = yes; then
5529 ac_test_CFLAGS=${CFLAGS+set}
5530 ac_save_CFLAGS=$CFLAGS
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5532 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5533 if ${ac_cv_prog_cc_g+:} false; then :
5534 $as_echo_n "(cached) " >&6
5536 ac_save_c_werror_flag=$ac_c_werror_flag
5537 ac_c_werror_flag=yes
5540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5541 /* end confdefs.h. */
5551 if ac_fn_c_try_compile "$LINENO"; then :
5555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5556 /* end confdefs.h. */
5566 if ac_fn_c_try_compile "$LINENO"; then :
5569 ac_c_werror_flag=$ac_save_c_werror_flag
5571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5572 /* end confdefs.h. */
5582 if ac_fn_c_try_compile "$LINENO"; then :
5585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5590 ac_c_werror_flag=$ac_save_c_werror_flag
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5593 $as_echo "$ac_cv_prog_cc_g" >&6; }
5594 if test "$ac_test_CFLAGS" = set; then
5595 CFLAGS=$ac_save_CFLAGS
5596 elif test $ac_cv_prog_cc_g = yes; then
5597 if test "$GCC" = yes; then
5603 if test "$GCC" = yes; then
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5610 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5611 if ${ac_cv_prog_cc_c89+:} false; then :
5612 $as_echo_n "(cached) " >&6
5614 ac_cv_prog_cc_c89=no
5616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5617 /* end confdefs.h. */
5621 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5622 struct buf { int x; };
5623 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5624 static char *e (p, i)
5630 static char *f (char * (*g) (char **, int), char **p, ...)
5635 s = g (p, va_arg (v,int));
5640 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5641 function prototypes and stuff, but not '\xHH' hex character constants.
5642 These don't provoke an error unfortunately, instead are silently treated
5643 as 'x'. The following induces an error, until -std is added to get
5644 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5645 array size at least. It's necessary to write '\x00'==0 to get something
5646 that's true only with -std. */
5647 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5649 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5650 inside strings and character constants. */
5652 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5654 int test (int i, double x);
5655 struct s1 {int (*f) (int a);};
5656 struct s2 {int (*f) (double a);};
5657 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5663 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5668 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5669 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5671 CC="$ac_save_CC $ac_arg"
5672 if ac_fn_c_try_compile "$LINENO"; then :
5673 ac_cv_prog_cc_c89=$ac_arg
5675 rm -f core conftest.err conftest.$ac_objext
5676 test "x$ac_cv_prog_cc_c89" != "xno" && break
5678 rm -f conftest.$ac_ext
5683 case "x$ac_cv_prog_cc_c89" in
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5686 $as_echo "none needed" >&6; } ;;
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5689 $as_echo "unsupported" >&6; } ;;
5691 CC="$CC $ac_cv_prog_cc_c89"
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5693 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5695 if test "x$ac_cv_prog_cc_c89" != xno; then :
5700 ac_cpp='$CPP $CPPFLAGS'
5701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5706 ac_cpp='$CPP $CPPFLAGS'
5707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5711 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5712 if ${am_cv_prog_cc_c_o+:} false; then :
5713 $as_echo_n "(cached) " >&6
5715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5716 /* end confdefs.h. */
5726 # Make sure it works both with $CC and with simple cc.
5727 # Following AC_PROG_CC_C_O, we do the test twice because some
5728 # compilers refuse to overwrite an existing .o file with -o,
5729 # though they will create one.
5730 am_cv_prog_cc_c_o=yes
5732 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5733 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5736 (exit $ac_status); } \
5737 && test -f conftest2.$ac_objext; then
5740 am_cv_prog_cc_c_o=no
5744 rm -f core conftest*
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5748 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5749 if test "$am_cv_prog_cc_c_o" != yes; then
5750 # Losing compiler, so override with the script.
5751 # FIXME: It is wrong to rewrite CC.
5752 # But if we don't then we get into trouble of one sort or another.
5753 # A longer-term fix would be to have automake use am__CC in this case,
5754 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5755 CC="$am_aux_dir/compile $CC"
5758 ac_cpp='$CPP $CPPFLAGS'
5759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5764 depcc="$CC" am_compiler_list=
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5767 $as_echo_n "checking dependency style of $depcc... " >&6; }
5768 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5769 $as_echo_n "(cached) " >&6
5771 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5772 # We make a subdir and do the tests there. Otherwise we can end up
5773 # making bogus files that we don't know about and never remove. For
5774 # instance it was reported that on HP-UX the gcc test will end up
5775 # making a dummy file named 'D' -- because '-MD' means "put the output
5779 # Copy depcomp to subdir because otherwise we won't find it if we're
5780 # using a relative directory.
5781 cp "$am_depcomp" conftest.dir
5783 # We will build objects and dependencies in a subdirectory because
5784 # it helps to detect inapplicable dependency modes. For instance
5785 # both Tru64's cc and ICC support -MD to output dependencies as a
5786 # side effect of compilation, but ICC will put the dependencies in
5787 # the current directory while Tru64 will put them in the object
5791 am_cv_CC_dependencies_compiler_type=none
5792 if test "$am_compiler_list" = ""; then
5793 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5796 case " $depcc " in #(
5797 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5800 for depmode in $am_compiler_list; do
5801 # Setup a source with many dependencies, because some compilers
5802 # like to wrap large dependency lists on column 80 (with \), and
5803 # we should not choose a depcomp mode which is confused by this.
5805 # We need to recreate these files for each test, as the compiler may
5806 # overwrite some of them when testing with obscure command lines.
5807 # This happens at least with the AIX C compiler.
5809 for i in 1 2 3 4 5 6; do
5810 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5811 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5812 # Solaris 10 /bin/sh.
5813 echo '/* dummy */' > sub/conftst$i.h
5815 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5817 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5818 # mode. It turns out that the SunPro C++ compiler does not properly
5819 # handle '-M -o', and we need to detect this. Also, some Intel
5820 # versions had trouble with output in subdirs.
5821 am__obj=sub/conftest.${OBJEXT-o}
5822 am__minus_obj="-o $am__obj"
5825 # This depmode causes a compiler race in universal mode.
5826 test "$am__universal" = false || continue
5829 # After this tag, mechanisms are not by side-effect, so they'll
5830 # only be used when explicitly requested.
5831 if test "x$enable_dependency_tracking" = xyes; then
5837 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5838 # This compiler won't grok '-c -o', but also, the minuso test has
5839 # not run yet. These depmodes are late enough in the game, and
5840 # so weak that their functioning should not be impacted.
5841 am__obj=conftest.${OBJEXT-o}
5846 if depmode=$depmode \
5847 source=sub/conftest.c object=$am__obj \
5848 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5849 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5850 >/dev/null 2>conftest.err &&
5851 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5852 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5853 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5854 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5855 # icc doesn't choke on unknown options, it will just issue warnings
5856 # or remarks (even with -Werror). So we grep stderr for any message
5857 # that says an option was ignored or not supported.
5858 # When given -MP, icc 7.0 and 7.1 complain thusly:
5859 # icc: Command line warning: ignoring option '-M'; no argument required
5860 # The diagnosis changed in icc 8.0:
5861 # icc: Command line remark: option '-MP' not supported
5862 if (grep 'ignoring option' conftest.err ||
5863 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5864 am_cv_CC_dependencies_compiler_type=$depmode
5873 am_cv_CC_dependencies_compiler_type=none
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5878 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5879 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5882 test "x$enable_dependency_tracking" != xno \
5883 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5885 am__fastdepCC_FALSE='#'
5887 am__fastdepCC_TRUE='#'
5888 am__fastdepCC_FALSE=
5893 ac_cpp='$CXXCPP $CPPFLAGS'
5894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5897 if test -z "$CXX"; then
5898 if test -n "$CCC"; then
5901 if test -n "$ac_tool_prefix"; then
5902 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5904 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5905 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5907 $as_echo_n "checking for $ac_word... " >&6; }
5908 if ${ac_cv_prog_CXX+:} false; then :
5909 $as_echo_n "(cached) " >&6
5911 if test -n "$CXX"; then
5912 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5918 test -z "$as_dir" && as_dir=.
5919 for ac_exec_ext in '' $ac_executable_extensions; do
5920 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5921 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5932 if test -n "$CXX"; then
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5934 $as_echo "$CXX" >&6; }
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5937 $as_echo "no" >&6; }
5941 test -n "$CXX" && break
5944 if test -z "$CXX"; then
5946 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5948 # Extract the first word of "$ac_prog", so it can be a program name with args.
5949 set dummy $ac_prog; ac_word=$2
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5951 $as_echo_n "checking for $ac_word... " >&6; }
5952 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5953 $as_echo_n "(cached) " >&6
5955 if test -n "$ac_ct_CXX"; then
5956 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5962 test -z "$as_dir" && as_dir=.
5963 for ac_exec_ext in '' $ac_executable_extensions; do
5964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5965 ac_cv_prog_ac_ct_CXX="$ac_prog"
5966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5975 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5976 if test -n "$ac_ct_CXX"; then
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5978 $as_echo "$ac_ct_CXX" >&6; }
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5981 $as_echo "no" >&6; }
5985 test -n "$ac_ct_CXX" && break
5988 if test "x$ac_ct_CXX" = x; then
5991 case $cross_compiling:$ac_tool_warned in
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5994 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5995 ac_tool_warned=yes ;;
6003 # Provide some information about the compiler.
6004 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6007 for ac_option in --version -v -V -qversion; do
6008 { { ac_try="$ac_compiler $ac_option >&5"
6010 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6011 *) ac_try_echo
=$ac_try;;
6013 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6014 $as_echo "$ac_try_echo"; } >&5
6015 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6017 if test -s conftest.err
; then
6019 ... rest of stderr output deleted ...
6020 10q' conftest.err
>conftest.er1
6021 cat conftest.er1
>&5
6023 rm -f conftest.er1 conftest.err
6024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6025 test $ac_status = 0; }
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
6029 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
6030 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
6031 $as_echo_n "(cached) " >&6
6033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6034 /* end confdefs.h. */
6047 if ac_fn_cxx_try_compile
"$LINENO"; then :
6052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6053 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6057 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
6058 if test $ac_compiler_gnu = yes; then
6063 ac_test_CXXFLAGS
=${CXXFLAGS+set}
6064 ac_save_CXXFLAGS
=$CXXFLAGS
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6066 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
6067 if ${ac_cv_prog_cxx_g+:} false
; then :
6068 $as_echo_n "(cached) " >&6
6070 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
6071 ac_cxx_werror_flag
=yes
6074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6075 /* end confdefs.h. */
6085 if ac_fn_cxx_try_compile
"$LINENO"; then :
6086 ac_cv_prog_cxx_g
=yes
6089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6090 /* end confdefs.h. */
6100 if ac_fn_cxx_try_compile
"$LINENO"; then :
6103 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
6105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6106 /* end confdefs.h. */
6116 if ac_fn_cxx_try_compile
"$LINENO"; then :
6117 ac_cv_prog_cxx_g
=yes
6119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6123 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6124 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6127 $as_echo "$ac_cv_prog_cxx_g" >&6; }
6128 if test "$ac_test_CXXFLAGS" = set; then
6129 CXXFLAGS
=$ac_save_CXXFLAGS
6130 elif test $ac_cv_prog_cxx_g = yes; then
6131 if test "$GXX" = yes; then
6137 if test "$GXX" = yes; then
6144 ac_cpp
='$CPP $CPPFLAGS'
6145 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6146 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6147 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6149 depcc
="$CXX" am_compiler_list
=
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6152 $as_echo_n "checking dependency style of $depcc... " >&6; }
6153 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
6154 $as_echo_n "(cached) " >&6
6156 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6157 # We make a subdir and do the tests there. Otherwise we can end up
6158 # making bogus files that we don't know about and never remove. For
6159 # instance it was reported that on HP-UX the gcc test will end up
6160 # making a dummy file named 'D' -- because '-MD' means "put the output
6164 # Copy depcomp to subdir because otherwise we won't find it if we're
6165 # using a relative directory.
6166 cp "$am_depcomp" conftest.dir
6168 # We will build objects and dependencies in a subdirectory because
6169 # it helps to detect inapplicable dependency modes. For instance
6170 # both Tru64's cc and ICC support -MD to output dependencies as a
6171 # side effect of compilation, but ICC will put the dependencies in
6172 # the current directory while Tru64 will put them in the object
6176 am_cv_CXX_dependencies_compiler_type
=none
6177 if test "$am_compiler_list" = ""; then
6178 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6181 case " $depcc " in #(
6182 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
6185 for depmode
in $am_compiler_list; do
6186 # Setup a source with many dependencies, because some compilers
6187 # like to wrap large dependency lists on column 80 (with \), and
6188 # we should not choose a depcomp mode which is confused by this.
6190 # We need to recreate these files for each test, as the compiler may
6191 # overwrite some of them when testing with obscure command lines.
6192 # This happens at least with the AIX C compiler.
6194 for i
in 1 2 3 4 5 6; do
6195 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6196 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6197 # Solaris 10 /bin/sh.
6198 echo '/* dummy */' > sub
/conftst
$i.h
6200 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6202 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6203 # mode. It turns out that the SunPro C++ compiler does not properly
6204 # handle '-M -o', and we need to detect this. Also, some Intel
6205 # versions had trouble with output in subdirs.
6206 am__obj
=sub
/conftest.
${OBJEXT-o}
6207 am__minus_obj
="-o $am__obj"
6210 # This depmode causes a compiler race in universal mode.
6211 test "$am__universal" = false ||
continue
6214 # After this tag, mechanisms are not by side-effect, so they'll
6215 # only be used when explicitly requested.
6216 if test "x$enable_dependency_tracking" = xyes
; then
6222 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
6223 # This compiler won't grok '-c -o', but also, the minuso test has
6224 # not run yet. These depmodes are late enough in the game, and
6225 # so weak that their functioning should not be impacted.
6226 am__obj
=conftest.
${OBJEXT-o}
6231 if depmode
=$depmode \
6232 source=sub
/conftest.c object
=$am__obj \
6233 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6234 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6235 >/dev
/null
2>conftest.err
&&
6236 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6237 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6238 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6239 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6240 # icc doesn't choke on unknown options, it will just issue warnings
6241 # or remarks (even with -Werror). So we grep stderr for any message
6242 # that says an option was ignored or not supported.
6243 # When given -MP, icc 7.0 and 7.1 complain thusly:
6244 # icc: Command line warning: ignoring option '-M'; no argument required
6245 # The diagnosis changed in icc 8.0:
6246 # icc: Command line remark: option '-MP' not supported
6247 if (grep 'ignoring option' conftest.err ||
6248 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6249 am_cv_CXX_dependencies_compiler_type
=$depmode
6258 am_cv_CXX_dependencies_compiler_type
=none
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6263 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6264 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6267 test "x$enable_dependency_tracking" != xno \
6268 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6269 am__fastdepCXX_TRUE
=
6270 am__fastdepCXX_FALSE
='#'
6272 am__fastdepCXX_TRUE
='#'
6273 am__fastdepCXX_FALSE
=
6277 # By default we simply use the C compiler to build assembly code.
6279 test "${CCAS+set}" = set || CCAS
=$CC
6280 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
6284 depcc
="$CCAS" am_compiler_list
=
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6287 $as_echo_n "checking dependency style of $depcc... " >&6; }
6288 if ${am_cv_CCAS_dependencies_compiler_type+:} false
; then :
6289 $as_echo_n "(cached) " >&6
6291 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6292 # We make a subdir and do the tests there. Otherwise we can end up
6293 # making bogus files that we don't know about and never remove. For
6294 # instance it was reported that on HP-UX the gcc test will end up
6295 # making a dummy file named 'D' -- because '-MD' means "put the output
6299 # Copy depcomp to subdir because otherwise we won't find it if we're
6300 # using a relative directory.
6301 cp "$am_depcomp" conftest.dir
6303 # We will build objects and dependencies in a subdirectory because
6304 # it helps to detect inapplicable dependency modes. For instance
6305 # both Tru64's cc and ICC support -MD to output dependencies as a
6306 # side effect of compilation, but ICC will put the dependencies in
6307 # the current directory while Tru64 will put them in the object
6311 am_cv_CCAS_dependencies_compiler_type
=none
6312 if test "$am_compiler_list" = ""; then
6313 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6318 for depmode
in $am_compiler_list; do
6319 # Setup a source with many dependencies, because some compilers
6320 # like to wrap large dependency lists on column 80 (with \), and
6321 # we should not choose a depcomp mode which is confused by this.
6323 # We need to recreate these files for each test, as the compiler may
6324 # overwrite some of them when testing with obscure command lines.
6325 # This happens at least with the AIX C compiler.
6327 for i
in 1 2 3 4 5 6; do
6328 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6329 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6330 # Solaris 10 /bin/sh.
6331 echo '/* dummy */' > sub
/conftst
$i.h
6333 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6335 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6336 # mode. It turns out that the SunPro C++ compiler does not properly
6337 # handle '-M -o', and we need to detect this. Also, some Intel
6338 # versions had trouble with output in subdirs.
6339 am__obj
=sub
/conftest.
${OBJEXT-o}
6340 am__minus_obj
="-o $am__obj"
6343 # This depmode causes a compiler race in universal mode.
6344 test "$am__universal" = false ||
continue
6347 # After this tag, mechanisms are not by side-effect, so they'll
6348 # only be used when explicitly requested.
6349 if test "x$enable_dependency_tracking" = xyes
; then
6355 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
6356 # This compiler won't grok '-c -o', but also, the minuso test has
6357 # not run yet. These depmodes are late enough in the game, and
6358 # so weak that their functioning should not be impacted.
6359 am__obj
=conftest.
${OBJEXT-o}
6364 if depmode
=$depmode \
6365 source=sub
/conftest.c object
=$am__obj \
6366 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6367 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6368 >/dev
/null
2>conftest.err
&&
6369 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6370 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6371 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6372 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6373 # icc doesn't choke on unknown options, it will just issue warnings
6374 # or remarks (even with -Werror). So we grep stderr for any message
6375 # that says an option was ignored or not supported.
6376 # When given -MP, icc 7.0 and 7.1 complain thusly:
6377 # icc: Command line warning: ignoring option '-M'; no argument required
6378 # The diagnosis changed in icc 8.0:
6379 # icc: Command line remark: option '-MP' not supported
6380 if (grep 'ignoring option' conftest.err ||
6381 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6382 am_cv_CCAS_dependencies_compiler_type
=$depmode
6391 am_cv_CCAS_dependencies_compiler_type
=none
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
6396 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
6397 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
6400 test "x$enable_dependency_tracking" != xno \
6401 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
6402 am__fastdepCCAS_TRUE
=
6403 am__fastdepCCAS_FALSE
='#'
6405 am__fastdepCCAS_TRUE
='#'
6406 am__fastdepCCAS_FALSE
=
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6411 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6413 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6414 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
6415 $as_echo_n "(cached) " >&6
6417 cat >conftest.
make <<\_ACEOF
6420 @
echo '@@@%%%=$(MAKE)=@@@%%%'
6422 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6423 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6425 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
6427 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
6431 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6433 $as_echo "yes" >&6; }
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6437 $as_echo "no" >&6; }
6438 SET_MAKE
="MAKE=${MAKE-make}"
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6447 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6452 macro_version
='2.2.7a'
6453 macro_revision
='1.3134'
6467 ltmain
="$ac_aux_dir/ltmain.sh"
6469 # Backslashify metacharacters that are still active within
6470 # double-quoted strings.
6471 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6473 # Same as above, but do not quote variable references.
6474 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6476 # Sed substitution to delay expansion of an escaped shell variable in a
6477 # double_quote_subst'ed string.
6478 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6480 # Sed substitution to delay expansion of an escaped single quote.
6481 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6483 # Sed substitution to avoid accidental globbing in evaled expressions
6484 no_glob_subst
='s/\*/\\\*/g'
6486 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6487 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6488 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6491 $as_echo_n "checking how to print strings... " >&6; }
6492 # Test print first, because it will be a builtin if present.
6493 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6494 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6496 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6499 # Use this function as a fallback that always works.
6500 func_fallback_echo ()
6502 eval 'cat <<_LTECHO_EOF
6506 ECHO='func_fallback_echo
'
6509 # func_echo_all arg...
6510 # Invoke $ECHO with all args, space-separated.
6517 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6518 $as_echo "printf" >&6; } ;;
6519 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6520 $as_echo "print -r" >&6; } ;;
6521 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6522 $as_echo "cat" >&6; } ;;
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6539 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6540 if ${ac_cv_path_SED+:} false; then :
6541 $as_echo_n "(cached) " >&6
6543 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6544 for ac_i in 1 2 3 4 5 6 7; do
6545 ac_script="$ac_script$as_nl$ac_script"
6547 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6548 { ac_script=; unset ac_script;}
6549 if test -z "$SED"; then
6550 ac_path_SED_found=false
6551 # Loop through the user's path and
test for each of PROGNAME-LIST
6552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6556 test -z "$as_dir" && as_dir
=.
6557 for ac_prog
in sed gsed
; do
6558 for ac_exec_ext
in '' $ac_executable_extensions; do
6559 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6560 as_fn_executable_p
"$ac_path_SED" ||
continue
6561 # Check for GNU ac_path_SED and select it if it is found.
6562 # Check for GNU $ac_path_SED
6563 case `"$ac_path_SED" --version 2>&1` in
6565 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6568 $as_echo_n 0123456789 >"conftest.in"
6571 cat "conftest.in" "conftest.in" >"conftest.tmp"
6572 mv "conftest.tmp" "conftest.in"
6573 cp "conftest.in" "conftest.nl"
6574 $as_echo '' >> "conftest.nl"
6575 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6576 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6577 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6578 if test $ac_count -gt ${ac_path_SED_max-0}; then
6579 # Best one so far, save it but keep looking for a better one
6580 ac_cv_path_SED
="$ac_path_SED"
6581 ac_path_SED_max
=$ac_count
6583 # 10*(2^10) chars as input seems more than enough
6584 test $ac_count -gt 10 && break
6586 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6589 $ac_path_SED_found && break 3
6594 if test -z "$ac_cv_path_SED"; then
6595 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6603 $as_echo "$ac_cv_path_SED" >&6; }
6604 SED
="$ac_cv_path_SED"
6607 test -z "$SED" && SED
=sed
6608 Xsed
="$SED -e 1s/^X//"
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6621 $as_echo_n "checking for fgrep... " >&6; }
6622 if ${ac_cv_path_FGREP+:} false
; then :
6623 $as_echo_n "(cached) " >&6
6625 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6626 then ac_cv_path_FGREP
="$GREP -F"
6628 if test -z "$FGREP"; then
6629 ac_path_FGREP_found
=false
6630 # Loop through the user's path and test for each of PROGNAME-LIST
6631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6632 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6635 test -z "$as_dir" && as_dir
=.
6636 for ac_prog
in fgrep
; do
6637 for ac_exec_ext
in '' $ac_executable_extensions; do
6638 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6639 as_fn_executable_p
"$ac_path_FGREP" ||
continue
6640 # Check for GNU ac_path_FGREP and select it if it is found.
6641 # Check for GNU $ac_path_FGREP
6642 case `"$ac_path_FGREP" --version 2>&1` in
6644 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6647 $as_echo_n 0123456789 >"conftest.in"
6650 cat "conftest.in" "conftest.in" >"conftest.tmp"
6651 mv "conftest.tmp" "conftest.in"
6652 cp "conftest.in" "conftest.nl"
6653 $as_echo 'FGREP' >> "conftest.nl"
6654 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6655 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6656 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6657 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6658 # Best one so far, save it but keep looking for a better one
6659 ac_cv_path_FGREP
="$ac_path_FGREP"
6660 ac_path_FGREP_max
=$ac_count
6662 # 10*(2^10) chars as input seems more than enough
6663 test $ac_count -gt 10 && break
6665 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6668 $ac_path_FGREP_found && break 3
6673 if test -z "$ac_cv_path_FGREP"; then
6674 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6677 ac_cv_path_FGREP
=$FGREP
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6683 $as_echo "$ac_cv_path_FGREP" >&6; }
6684 FGREP
="$ac_cv_path_FGREP"
6687 test -z "$GREP" && GREP
=grep
6707 # Check whether --with-gnu-ld was given.
6708 if test "${with_gnu_ld+set}" = set; then :
6709 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6715 if test "$GCC" = yes; then
6716 # Check if gcc -print-prog-name=ld gives a path.
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6718 $as_echo_n "checking for ld used by $CC... " >&6; }
6721 # gcc leaves a trailing carriage return which upsets mingw
6722 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6724 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6727 # Accept absolute paths.
6729 re_direlt
='/[^/][^/]*/\.\./'
6730 # Canonicalize the pathname of ld
6731 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6732 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6733 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6735 test -z "$LD" && LD
="$ac_prog"
6738 # If it fails, then pretend we aren't using GCC.
6742 # If it is relative, then search for the first ld in PATH.
6746 elif test "$with_gnu_ld" = yes; then
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6748 $as_echo_n "checking for GNU ld... " >&6; }
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6751 $as_echo_n "checking for non-GNU ld... " >&6; }
6753 if ${lt_cv_path_LD+:} false
; then :
6754 $as_echo_n "(cached) " >&6
6756 if test -z "$LD"; then
6757 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6758 for ac_dir
in $PATH; do
6760 test -z "$ac_dir" && ac_dir
=.
6761 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6762 lt_cv_path_LD
="$ac_dir/$ac_prog"
6763 # Check to see if the program is GNU ld. I'd rather use --version,
6764 # but apparently some variants of GNU ld only accept -v.
6765 # Break only if it was the GNU/non-GNU ld that we prefer.
6766 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6767 *GNU
* |
*'with BFD'*)
6768 test "$with_gnu_ld" != no
&& break
6771 test "$with_gnu_ld" != yes && break
6778 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6783 if test -n "$LD"; then
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6785 $as_echo "$LD" >&6; }
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6788 $as_echo "no" >&6; }
6790 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6792 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6793 if ${lt_cv_prog_gnu_ld+:} false
; then :
6794 $as_echo_n "(cached) " >&6
6796 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6797 case `$LD -v 2>&1 </dev/null` in
6798 *GNU
* |
*'with BFD'*)
6799 lt_cv_prog_gnu_ld
=yes
6802 lt_cv_prog_gnu_ld
=no
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6807 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6808 with_gnu_ld
=$lt_cv_prog_gnu_ld
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6819 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6820 if ${lt_cv_path_NM+:} false
; then :
6821 $as_echo_n "(cached) " >&6
6823 if test -n "$NM"; then
6824 # Let the user override the nm to test.
6825 lt_nm_to_check
="$NM"
6827 lt_nm_to_check
="${ac_tool_prefix}nm"
6828 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6829 lt_nm_to_check
="$lt_nm_to_check nm"
6832 for lt_tmp_nm
in "$lt_nm_to_check"; do
6833 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6834 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6836 test -z "$ac_dir" && ac_dir
=.
6837 # Strip out any user-provided options from the nm to test twice,
6838 # the first time to test to see if nm (rather than its options) has
6839 # an explicit path, the second time to yield a file which can be
6841 tmp_nm_path
="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
6842 case "$tmp_nm_path" in
6843 */*|
*\\*) tmp_nm
="$lt_tmp_nm";;
6844 *) tmp_nm
="$ac_dir/$lt_tmp_nm";;
6846 tmp_nm_to_nm
="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
6847 if test -f "$tmp_nm_to_nm" ||
test -f "$tmp_nm_to_nm$ac_exeext" ; then
6848 # Check to see if the nm accepts a BSD-compat flag.
6849 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6850 # nm: unknown option "B" ignored
6851 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6852 *$tmp_nm*) lt_cv_path_NM
="$tmp_nm -B"
6856 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6858 lt_cv_path_NM
="$tmp_nm -p"
6862 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6863 continue # so that we can try to find one that supports BSD flags
6872 : ${lt_cv_path_NM=no}
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6875 $as_echo "$lt_cv_path_NM" >&6; }
6876 if test "$lt_cv_path_NM" != "no"; then
6879 # Didn't find any BSD compatible name lister, look for dumpbin.
6880 if test -n "$DUMPBIN"; then :
6881 # Let the user override the test.
6883 if test -n "$ac_tool_prefix"; then
6884 for ac_prog
in dumpbin
"link -dump"
6886 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6887 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6889 $as_echo_n "checking for $ac_word... " >&6; }
6890 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6891 $as_echo_n "(cached) " >&6
6893 if test -n "$DUMPBIN"; then
6894 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6900 test -z "$as_dir" && as_dir
=.
6901 for ac_exec_ext
in '' $ac_executable_extensions; do
6902 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6903 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6913 DUMPBIN
=$ac_cv_prog_DUMPBIN
6914 if test -n "$DUMPBIN"; then
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6916 $as_echo "$DUMPBIN" >&6; }
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6919 $as_echo "no" >&6; }
6923 test -n "$DUMPBIN" && break
6926 if test -z "$DUMPBIN"; then
6927 ac_ct_DUMPBIN
=$DUMPBIN
6928 for ac_prog
in dumpbin
"link -dump"
6930 # Extract the first word of "$ac_prog", so it can be a program name with args.
6931 set dummy
$ac_prog; ac_word
=$2
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6933 $as_echo_n "checking for $ac_word... " >&6; }
6934 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6935 $as_echo_n "(cached) " >&6
6937 if test -n "$ac_ct_DUMPBIN"; then
6938 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6944 test -z "$as_dir" && as_dir
=.
6945 for ac_exec_ext
in '' $ac_executable_extensions; do
6946 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6947 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6957 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6958 if test -n "$ac_ct_DUMPBIN"; then
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6960 $as_echo "$ac_ct_DUMPBIN" >&6; }
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6963 $as_echo "no" >&6; }
6967 test -n "$ac_ct_DUMPBIN" && break
6970 if test "x$ac_ct_DUMPBIN" = x
; then
6973 case $cross_compiling:$ac_tool_warned in
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6977 ac_tool_warned
=yes ;;
6979 DUMPBIN
=$ac_ct_DUMPBIN
6983 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6985 DUMPBIN
="$DUMPBIN -symbols"
6993 if test "$DUMPBIN" != ":"; then
6997 test -z "$NM" && NM
=nm
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7005 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7006 if ${lt_cv_nm_interface+:} false
; then :
7007 $as_echo_n "(cached) " >&6
7009 lt_cv_nm_interface
="BSD nm"
7010 echo "int some_variable = 0;" > conftest.
$ac_ext
7011 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7012 (eval "$ac_compile" 2>conftest.err
)
7013 cat conftest.err
>&5
7014 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7015 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
7016 cat conftest.err
>&5
7017 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7018 cat conftest.out
>&5
7019 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
7020 lt_cv_nm_interface
="MS dumpbin"
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7025 $as_echo "$lt_cv_nm_interface" >&6; }
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7028 $as_echo_n "checking whether ln -s works... " >&6; }
7030 if test "$LN_S" = "ln -s"; then
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7032 $as_echo "yes" >&6; }
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7035 $as_echo "no, using $LN_S" >&6; }
7038 # find the maximum length of command line arguments
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7040 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7041 if ${lt_cv_sys_max_cmd_len+:} false
; then :
7042 $as_echo_n "(cached) " >&6
7049 # On DJGPP, this test can blow up pretty badly due to problems in libc
7050 # (any single argument exceeding 2000 bytes causes a buffer overrun
7051 # during glob expansion). Even if it were fixed, the result of this
7052 # check would be larger than it should be.
7053 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
7057 # Under GNU Hurd, this test is not required because there is
7058 # no limit to the length of command line arguments.
7059 # Libtool will interpret -1 as no limit whatsoever
7060 lt_cv_sys_max_cmd_len
=-1;
7063 cygwin
* | mingw
* | cegcc
*)
7064 # On Win9x/ME, this test blows up -- it succeeds, but takes
7065 # about 5 minutes as the teststring grows exponentially.
7066 # Worse, since 9x/ME are not pre-emptively multitasking,
7067 # you end up with a "frozen" computer, even though with patience
7068 # the test eventually succeeds (with a max line length of 256k).
7069 # Instead, let's just punt: use the minimum linelength reported by
7070 # all of the supported platforms: 8192 (on NT/2K/XP).
7071 lt_cv_sys_max_cmd_len
=8192;
7075 # On MiNT this can take a long time and run out of memory.
7076 lt_cv_sys_max_cmd_len
=8192;
7080 # On AmigaOS with pdksh, this test takes hours, literally.
7081 # So we just punt and use a minimum line length of 8192.
7082 lt_cv_sys_max_cmd_len
=8192;
7085 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
7086 # This has been around since 386BSD, at least. Likely further.
7087 if test -x /sbin
/sysctl
; then
7088 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
7089 elif test -x /usr
/sbin
/sysctl
; then
7090 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
7092 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
7094 # And add a safety zone
7095 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7096 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7100 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7101 lt_cv_sys_max_cmd_len
=196608
7105 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7106 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7107 # nice to cause kernel panics so lets avoid the loop below.
7108 # First set a reasonable default.
7109 lt_cv_sys_max_cmd_len
=16384
7111 if test -x /sbin
/sysconfig
; then
7112 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7113 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
7118 lt_cv_sys_max_cmd_len
=102400
7120 sysv5
* | sco5v6
* | sysv4.2uw2
*)
7121 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7122 if test -n "$kargmax"; then
7123 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
7125 lt_cv_sys_max_cmd_len
=32768
7129 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
7130 if test -n "$lt_cv_sys_max_cmd_len"; then
7131 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7132 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7134 # Make teststring a little bigger before we do anything with it.
7135 # a 1K string should be a reasonable start.
7136 for i
in 1 2 3 4 5 6 7 8 ; do
7137 teststring
=$teststring$teststring
7139 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
7140 # If test is not a shell built-in, we'll probably end up computing a
7141 # maximum length that is only half of the actual maximum length, but
7143 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7144 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
7145 test $i != 17 # 1/2 MB should be enough
7148 teststring
=$teststring$teststring
7150 # Only check the string length outside the loop.
7151 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
7153 # Add a significant safety factor because C++ compilers can tack on
7154 # massive amounts of additional arguments before passing them to the
7155 # linker. It appears as though 1/2 is a usable value.
7156 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7163 if test -n $lt_cv_sys_max_cmd_len ; then
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7165 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7168 $as_echo "none" >&6; }
7170 max_cmd_len
=$lt_cv_sys_max_cmd_len
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7182 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7183 # Try some XSI features
7186 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7188 && eval 'test $(( 1 + 1 )) -eq 2 \
7189 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
7192 $as_echo "$xsi_shell" >&6; }
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
7196 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
7198 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
7200 && lt_shell_append=yes
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
7202 $as_echo "$lt_shell_append" >&6; }
7205 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7215 # test EBCDIC or ASCII
7216 case `echo X|tr X '\101'` in
7217 A) # ASCII based system
7218 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7219 lt_SP2NL='tr \040 \012'
7220 lt_NL2SP='tr \015\012 \040\040'
7222 *) # EBCDIC based system
7223 lt_SP2NL='tr \100 \n'
7224 lt_NL2SP='tr \r\n \100\100'
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
7237 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
7238 if ${lt_cv_ld_reload_flag+:} false; then :
7239 $as_echo_n "(cached
) " >&6
7241 lt_cv_ld_reload_flag='-r'
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
7244 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7245 reload_flag=$lt_cv_ld_reload_flag
7246 case $reload_flag in
7248 *) reload_flag=" $reload_flag" ;;
7250 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7253 if test "$GCC" = yes; then
7254 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7256 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7269 if test -n "$ac_tool_prefix"; then
7270 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
7271 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7273 $as_echo_n "checking
for $ac_word...
" >&6; }
7274 if ${ac_cv_prog_OBJDUMP+:} false; then :
7275 $as_echo_n "(cached
) " >&6
7277 if test -n "$OBJDUMP"; then
7278 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7284 test -z "$as_dir" && as_dir=.
7285 for ac_exec_ext in '' $ac_executable_extensions; do
7286 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7287 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
7288 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7297 OBJDUMP=$ac_cv_prog_OBJDUMP
7298 if test -n "$OBJDUMP"; then
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
7300 $as_echo "$OBJDUMP" >&6; }
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7303 $as_echo "no
" >&6; }
7308 if test -z "$ac_cv_prog_OBJDUMP"; then
7309 ac_ct_OBJDUMP=$OBJDUMP
7310 # Extract the first word of "objdump
", so it can be a program name with args.
7311 set dummy objdump; ac_word=$2
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7313 $as_echo_n "checking
for $ac_word...
" >&6; }
7314 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7315 $as_echo_n "(cached
) " >&6
7317 if test -n "$ac_ct_OBJDUMP"; then
7318 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7324 test -z "$as_dir" && as_dir=.
7325 for ac_exec_ext in '' $ac_executable_extensions; do
7326 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7327 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
7328 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7337 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7338 if test -n "$ac_ct_OBJDUMP"; then
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
7340 $as_echo "$ac_ct_OBJDUMP" >&6; }
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7343 $as_echo "no
" >&6; }
7346 if test "x
$ac_ct_OBJDUMP" = x; then
7349 case $cross_compiling:$ac_tool_warned in
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7352 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7353 ac_tool_warned=yes ;;
7355 OBJDUMP=$ac_ct_OBJDUMP
7358 OBJDUMP="$ac_cv_prog_OBJDUMP"
7361 test -z "$OBJDUMP" && OBJDUMP=objdump
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
7372 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
7373 if ${lt_cv_deplibs_check_method+:} false; then :
7374 $as_echo_n "(cached
) " >&6
7376 lt_cv_file_magic_cmd='$MAGIC_CMD'
7377 lt_cv_file_magic_test_file=
7378 lt_cv_deplibs_check_method='unknown'
7379 # Need to set the preceding variable on all platforms that support
7380 # interlibrary dependencies.
7381 # 'none' -- dependencies not supported.
7382 # `unknown' -- same as none, but documents that we really don't know.
7383 # 'pass_all' -- all dependencies passed with no checks.
7384 # 'test_compile' -- check by making test program.
7385 # 'file_magic [[regex]]' -- check by looking for files in library path
7386 # which responds to the $file_magic_cmd with a given extended regex.
7387 # If you have `file' or equivalent on your system and you're not sure
7388 # whether `pass_all' will *always* work, you probably want this one.
7392 lt_cv_deplibs_check_method=pass_all
7396 lt_cv_deplibs_check_method=pass_all
7400 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7401 lt_cv_file_magic_cmd='/usr/bin/file -L'
7402 lt_cv_file_magic_test_file=/shlib/libc.so
7406 # func_win32_libid is a shell function defined in ltmain.sh
7407 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7408 lt_cv_file_magic_cmd='func_win32_libid'
7412 # Base MSYS/MinGW do not provide the 'file' command needed by
7413 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7414 # unless we find 'file', for example because we are cross-compiling.
7415 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7416 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
7417 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7418 lt_cv_file_magic_cmd='func_win32_libid'
7420 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7421 lt_cv_file_magic_cmd='$OBJDUMP -f'
7426 # use the weaker test based on 'objdump'. See mingw*.
7427 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7428 lt_cv_file_magic_cmd='$OBJDUMP -f'
7431 darwin* | rhapsody*)
7432 lt_cv_deplibs_check_method=pass_all
7435 freebsd* | dragonfly*)
7436 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7439 # Not sure whether the presence of OpenBSD here was a mistake.
7440 # Let's accept both of them until this is cleared up.
7441 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7442 lt_cv_file_magic_cmd=/usr/bin/file
7443 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7447 lt_cv_deplibs_check_method=pass_all
7452 lt_cv_deplibs_check_method=pass_all
7456 lt_cv_deplibs_check_method=pass_all
7459 hpux10.20* | hpux11*)
7460 lt_cv_file_magic_cmd=/usr/bin/file
7463 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7464 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7467 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]'
7468 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7471 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7472 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7478 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7479 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7482 irix5* | irix6* | nonstopux*)
7484 *-32|*"-32 ") libmagic=32-bit;;
7485 *-n32|*"-n32 ") libmagic=N32;;
7486 *-64|*"-64 ") libmagic=64-bit;;
7487 *) libmagic=never-match;;
7489 lt_cv_deplibs_check_method=pass_all
7492 # This must be Linux ELF.
7493 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
7494 lt_cv_deplibs_check_method=pass_all
7498 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7499 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7501 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7506 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7507 lt_cv_file_magic_cmd=/usr/bin/file
7508 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7512 lt_cv_deplibs_check_method=pass_all
7516 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7517 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7519 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7523 osf3* | osf4* | osf5*)
7524 lt_cv_deplibs_check_method=pass_all
7528 lt_cv_deplibs_check_method=pass_all
7532 lt_cv_deplibs_check_method=pass_all
7535 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7536 lt_cv_deplibs_check_method=pass_all
7540 case $host_vendor in
7542 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]'
7543 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7546 lt_cv_deplibs_check_method=pass_all
7549 lt_cv_file_magic_cmd='/bin/file'
7550 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7553 lt_cv_file_magic_cmd='/bin/file'
7554 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
7555 lt_cv_file_magic_test_file=/lib/libc.so
7558 lt_cv_deplibs_check_method=pass_all
7561 lt_cv_deplibs_check_method=pass_all
7567 lt_cv_deplibs_check_method=pass_all
7570 # Assume VxWorks cross toolchains are built on Linux, possibly
7571 # as canadian for Windows hosts.
7572 lt_cv_deplibs_check_method=pass_all
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
7578 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7579 file_magic_cmd=$lt_cv_file_magic_cmd
7580 deplibs_check_method=$lt_cv_deplibs_check_method
7581 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7595 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
7596 for plugin in $plugin_names; do
7597 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
7598 if test x$plugin_so = x$plugin; then
7599 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
7601 if test x$plugin_so != x$plugin; then
7602 plugin_option="--plugin $plugin_so"
7607 if test -n "$ac_tool_prefix"; then
7608 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7609 set dummy ${ac_tool_prefix}ar; ac_word=$2
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7611 $as_echo_n "checking
for $ac_word...
" >&6; }
7612 if ${ac_cv_prog_AR+:} false; then :
7613 $as_echo_n "(cached
) " >&6
7615 if test -n "$AR"; then
7616 ac_cv_prog_AR="$AR" # Let the user override the test.
7618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7622 test -z "$as_dir" && as_dir=.
7623 for ac_exec_ext in '' $ac_executable_extensions; do
7624 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7625 ac_cv_prog_AR="${ac_tool_prefix}ar"
7626 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7636 if test -n "$AR"; then
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7638 $as_echo "$AR" >&6; }
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7641 $as_echo "no
" >&6; }
7646 if test -z "$ac_cv_prog_AR"; then
7648 # Extract the first word of "ar", so it can be a program name with args.
7649 set dummy ar; ac_word=$2
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7651 $as_echo_n "checking
for $ac_word...
" >&6; }
7652 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7653 $as_echo_n "(cached
) " >&6
7655 if test -n "$ac_ct_AR"; then
7656 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7662 test -z "$as_dir" && as_dir=.
7663 for ac_exec_ext in '' $ac_executable_extensions; do
7664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7665 ac_cv_prog_ac_ct_AR="ar"
7666 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7675 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7676 if test -n "$ac_ct_AR"; then
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
7678 $as_echo "$ac_ct_AR" >&6; }
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7681 $as_echo "no
" >&6; }
7684 if test "x
$ac_ct_AR" = x; then
7687 case $cross_compiling:$ac_tool_warned in
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7690 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7691 ac_tool_warned=yes ;;
7699 test -z "$AR" && AR=ar
7700 if test -n "$plugin_option"; then
7701 if $AR --help 2>&1 | grep -q "\
--plugin"; then
7703 $AR $plugin_option rc conftest.a conftest.c
7704 if test "$?
" != 0; then
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
7706 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
7708 AR="$AR $plugin_option"
7713 test -z "$AR_FLAGS" && AR_FLAGS=cru
7725 if test -n "$ac_tool_prefix"; then
7726 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7727 set dummy ${ac_tool_prefix}strip; ac_word=$2
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7729 $as_echo_n "checking
for $ac_word...
" >&6; }
7730 if ${ac_cv_prog_STRIP+:} false; then :
7731 $as_echo_n "(cached
) " >&6
7733 if test -n "$STRIP"; then
7734 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7740 test -z "$as_dir" && as_dir=.
7741 for ac_exec_ext in '' $ac_executable_extensions; do
7742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7743 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7744 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7753 STRIP=$ac_cv_prog_STRIP
7754 if test -n "$STRIP"; then
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
7756 $as_echo "$STRIP" >&6; }
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7759 $as_echo "no
" >&6; }
7764 if test -z "$ac_cv_prog_STRIP"; then
7766 # Extract the first word of "strip
", so it can be a program name with args.
7767 set dummy strip; ac_word=$2
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7769 $as_echo_n "checking
for $ac_word...
" >&6; }
7770 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7771 $as_echo_n "(cached
) " >&6
7773 if test -n "$ac_ct_STRIP"; then
7774 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7780 test -z "$as_dir" && as_dir=.
7781 for ac_exec_ext in '' $ac_executable_extensions; do
7782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7783 ac_cv_prog_ac_ct_STRIP="strip
"
7784 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7793 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7794 if test -n "$ac_ct_STRIP"; then
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
7796 $as_echo "$ac_ct_STRIP" >&6; }
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7799 $as_echo "no
" >&6; }
7802 if test "x
$ac_ct_STRIP" = x; then
7805 case $cross_compiling:$ac_tool_warned in
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7808 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7809 ac_tool_warned=yes ;;
7814 STRIP="$ac_cv_prog_STRIP"
7817 test -z "$STRIP" && STRIP=:
7824 if test -n "$ac_tool_prefix"; then
7825 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7826 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7828 $as_echo_n "checking
for $ac_word...
" >&6; }
7829 if ${ac_cv_prog_RANLIB+:} false; then :
7830 $as_echo_n "(cached
) " >&6
7832 if test -n "$RANLIB"; then
7833 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7839 test -z "$as_dir" && as_dir=.
7840 for ac_exec_ext in '' $ac_executable_extensions; do
7841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7842 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7843 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7852 RANLIB=$ac_cv_prog_RANLIB
7853 if test -n "$RANLIB"; then
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7855 $as_echo "$RANLIB" >&6; }
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7858 $as_echo "no
" >&6; }
7863 if test -z "$ac_cv_prog_RANLIB"; then
7864 ac_ct_RANLIB=$RANLIB
7865 # Extract the first word of "ranlib
", so it can be a program name with args.
7866 set dummy ranlib; ac_word=$2
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7868 $as_echo_n "checking
for $ac_word...
" >&6; }
7869 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7870 $as_echo_n "(cached
) " >&6
7872 if test -n "$ac_ct_RANLIB"; then
7873 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7879 test -z "$as_dir" && as_dir=.
7880 for ac_exec_ext in '' $ac_executable_extensions; do
7881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7882 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7883 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7892 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7893 if test -n "$ac_ct_RANLIB"; then
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7895 $as_echo "$ac_ct_RANLIB" >&6; }
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7898 $as_echo "no
" >&6; }
7901 if test "x
$ac_ct_RANLIB" = x; then
7904 case $cross_compiling:$ac_tool_warned in
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7907 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7908 ac_tool_warned=yes ;;
7910 RANLIB=$ac_ct_RANLIB
7913 RANLIB="$ac_cv_prog_RANLIB"
7916 test -z "$RANLIB" && RANLIB=:
7917 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
7918 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
7919 RANLIB="$RANLIB $plugin_option"
7928 # Determine commands to create old-style static archives.
7929 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7930 old_postinstall_cmds='chmod 644 $oldlib'
7931 old_postuninstall_cmds=
7933 if test -n "$RANLIB"; then
7936 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7939 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7942 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7947 lock_old_archive_extraction=yes ;;
7949 lock_old_archive_extraction=no ;;
7990 # If no C compiler was specified, use CC.
7993 # If no C compiler flags were specified, use CFLAGS.
7994 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7996 # Allow CC to be a program name with arguments.
8000 # Check for command to grab the raw symbol name followed by C symbol from nm.
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
8002 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
8003 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8004 $as_echo_n "(cached
) " >&6
8007 # These are sane defaults that work on at least a few old systems.
8008 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8010 # Character class describing NM global symbol codes.
8011 symcode='[BCDEGRST]'
8013 # Regexp to match symbols that can be accessed directly from C.
8014 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8016 # Define system-specific variables.
8021 cygwin* | mingw* | pw32* | cegcc*)
8022 symcode='[ABCDGISTW]'
8025 if test "$host_cpu" = ia64; then
8026 symcode='[ABCDEGRST]'
8030 symcode='[BCDEGRST]'
8033 symcode='[BCDEGQRST]'
8044 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8052 # If we're using GNU nm, then use its standard symbol codes.
8053 case `$NM -V 2>&1` in
8054 *GNU* | *'with BFD'*)
8055 symcode='[ABCDGIRSTW]' ;;
8058 # Transform an extracted symbol line into a proper C declaration.
8059 # Some systems (esp. on ia64) link data and code symbols differently,
8060 # so use this general approach.
8061 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8063 # Transform an extracted symbol line into symbol name and symbol address
8064 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8065 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'"
8067 # Handle CRLF in mingw tool chain
8071 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8075 # Try without a prefix underscore, then with it.
8076 for ac_symprfx in "" "_
"; do
8078 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8079 symxfrm="\\1 $ac_symprfx\\2 \\2"
8081 # Write the raw and C identifiers.
8082 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
8083 # Fake it for dumpbin and say T for any non-static function
8084 # and D for any global variable.
8085 # Also find C++ and __fastcall symbols from MSVC++,
8086 # which start with @ or ?.
8087 lt_cv_sys_global_symbol_pipe="$AWK '"\
8088 " {last_section=section; section=\$ 3};"\
8089 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8090 " \$ 0!~/External *\|/{next};"\
8091 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8092 " {if(hide[section]) next};"\
8093 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8094 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8095 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8096 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8097 " ' prfx
=^
$ac_symprfx"
8099 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8102 # Check to see that the pipe works correctly.
8106 cat > conftest.$ac_ext <<_LT_EOF
8111 void nm_test_func(void);
8112 void nm_test_func(void){}
8116 int main(){nm_test_var='a';nm_test_func();return(0);}
8119 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8120 (eval $ac_compile) 2>&5
8122 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8123 test $ac_status = 0; }; then
8124 # Now try to grab the symbols.
8126 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
8127 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8129 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8130 test $ac_status = 0; } && test -s "$nlist"; then
8131 # Try sorting and uniquifying the output.
8132 if sort "$nlist" | uniq > "$nlist"T; then
8133 mv -f "$nlist"T "$nlist"
8138 # Make sure that we snagged all the symbols we need.
8139 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8140 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8141 cat <<_LT_EOF > conftest.$ac_ext
8147 # Now generate the symbol file.
8148 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8150 cat <<_LT_EOF >> conftest.$ac_ext
8152 /* The mapping between symbol names and symbols. */
8157 lt__PROGRAM__LTX_preloaded_symbols[] =
8159 { "@PROGRAM@
", (void *) 0 },
8161 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8162 cat <<\_LT_EOF >> conftest.$ac_ext
8166 /* This works around a problem in FreeBSD linker */
8167 #ifdef FREEBSD_WORKAROUND
8168 static const void *lt_preloaded_setup() {
8169 return lt__PROGRAM__LTX_preloaded_symbols;
8177 # Now try linking the two files.
8178 mv conftest.$ac_objext conftstm.$ac_objext
8179 lt_save_LIBS="$LIBS"
8180 lt_save_CFLAGS="$CFLAGS"
8181 LIBS="conftstm.
$ac_objext"
8182 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8183 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8184 (eval $ac_link) 2>&5
8186 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8187 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8190 LIBS="$lt_save_LIBS"
8191 CFLAGS="$lt_save_CFLAGS"
8193 echo "cannot
find nm_test_func
in $nlist" >&5
8196 echo "cannot
find nm_test_var
in $nlist" >&5
8199 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
8202 echo "$progname: failed program was
:" >&5
8203 cat conftest.$ac_ext >&5
8205 rm -rf conftest* conftst*
8207 # Do not use the global_symbol_pipe unless it works.
8208 if test "$pipe_works" = yes; then
8211 lt_cv_sys_global_symbol_pipe=
8217 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8218 lt_cv_sys_global_symbol_to_cdecl=
8220 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
8222 $as_echo "failed
" >&6; }
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
8225 $as_echo "ok
" >&6; }
8249 # Check whether --enable-libtool-lock was given.
8250 if test "${enable_libtool_lock+set}" = set; then :
8251 enableval=$enable_libtool_lock;
8254 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
8256 # Some flags need to be propagated to the compiler or linker for good
8260 # Find out which ABI we are using.
8261 echo 'int i;' > conftest.$ac_ext
8262 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8263 (eval $ac_compile) 2>&5
8265 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8266 test $ac_status = 0; }; then
8267 case `/usr/bin/file conftest.$ac_objext` in
8279 # Find out which ABI we are using.
8280 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
8281 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8282 (eval $ac_compile) 2>&5
8284 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8285 test $ac_status = 0; }; then
8286 if test "$lt_cv_prog_gnu_ld" = yes; then
8287 case `/usr/bin/file conftest.$ac_objext` in
8289 LD="${LD-ld} -melf32bsmip"
8292 LD="${LD-ld} -melf32bmipn32"
8295 LD="${LD-ld} -melf64bmip"
8299 case `/usr/bin/file conftest.$ac_objext` in
8315 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8316 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8317 # Find out which ABI we are using.
8318 echo 'int i;' > conftest.$ac_ext
8319 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8320 (eval $ac_compile) 2>&5
8322 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8323 test $ac_status = 0; }; then
8324 case `/usr/bin/file conftest.o` in
8327 x86_64-*kfreebsd*-gnu)
8328 LD="${LD-ld} -m elf_i386_fbsd
"
8331 case `/usr/bin/file conftest.o` in
8333 LD="${LD-ld} -m elf32_x86_64
"
8336 LD="${LD-ld} -m elf_i386
"
8340 powerpc64le-*linux*)
8341 LD="${LD-ld} -m elf32lppclinux
"
8344 LD="${LD-ld} -m elf32ppclinux
"
8347 LD="${LD-ld} -m elf_s390
"
8350 LD="${LD-ld} -m elf32_sparc
"
8356 x86_64-*kfreebsd*-gnu)
8357 LD="${LD-ld} -m elf_x86_64_fbsd
"
8360 LD="${LD-ld} -m elf_x86_64
"
8363 LD="${LD-ld} -m elf64lppc
"
8366 LD="${LD-ld} -m elf64ppc
"
8368 s390*-*linux*|s390*-*tpf*)
8369 LD="${LD-ld} -m elf64_s390
"
8372 LD="${LD-ld} -m elf64_sparc
"
8382 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8383 SAVE_CFLAGS="$CFLAGS"
8384 CFLAGS="$CFLAGS -belf"
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
8386 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
8387 if ${lt_cv_cc_needs_belf+:} false; then :
8388 $as_echo_n "(cached
) " >&6
8391 ac_cpp='$CPP $CPPFLAGS'
8392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8396 if test x$gcc_no_link = xyes; then
8397 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
8399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8400 /* end confdefs.h. */
8410 if ac_fn_c_try_link "$LINENO"; then :
8411 lt_cv_cc_needs_belf=yes
8413 lt_cv_cc_needs_belf=no
8415 rm -f core conftest.err conftest.$ac_objext \
8416 conftest$ac_exeext conftest.$ac_ext
8418 ac_cpp='$CPP $CPPFLAGS'
8419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
8425 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8426 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8427 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8428 CFLAGS="$SAVE_CFLAGS"
8432 # Find out which ABI we are using.
8433 echo 'int i;' > conftest.$ac_ext
8434 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8435 (eval $ac_compile) 2>&5
8437 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8438 test $ac_status = 0; }; then
8439 case `/usr/bin/file conftest.o` in
8441 case $lt_cv_prog_gnu_ld in
8442 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
8444 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8456 need_locks="$enable_libtool_lock"
8460 rhapsody* | darwin*)
8461 if test -n "$ac_tool_prefix"; then
8462 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8463 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8465 $as_echo_n "checking
for $ac_word...
" >&6; }
8466 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8467 $as_echo_n "(cached
) " >&6
8469 if test -n "$DSYMUTIL"; then
8470 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8476 test -z "$as_dir" && as_dir=.
8477 for ac_exec_ext in '' $ac_executable_extensions; do
8478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8479 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8480 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8489 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8490 if test -n "$DSYMUTIL"; then
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8492 $as_echo "$DSYMUTIL" >&6; }
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8495 $as_echo "no
" >&6; }
8500 if test -z "$ac_cv_prog_DSYMUTIL"; then
8501 ac_ct_DSYMUTIL=$DSYMUTIL
8502 # Extract the first word of "dsymutil
", so it can be a program name with args.
8503 set dummy dsymutil; ac_word=$2
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8505 $as_echo_n "checking
for $ac_word...
" >&6; }
8506 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8507 $as_echo_n "(cached
) " >&6
8509 if test -n "$ac_ct_DSYMUTIL"; then
8510 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8516 test -z "$as_dir" && as_dir=.
8517 for ac_exec_ext in '' $ac_executable_extensions; do
8518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8519 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8520 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8529 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8530 if test -n "$ac_ct_DSYMUTIL"; then
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8532 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8535 $as_echo "no
" >&6; }
8538 if test "x
$ac_ct_DSYMUTIL" = x; then
8541 case $cross_compiling:$ac_tool_warned in
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8544 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8545 ac_tool_warned=yes ;;
8547 DSYMUTIL=$ac_ct_DSYMUTIL
8550 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8553 if test -n "$ac_tool_prefix"; then
8554 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8555 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8557 $as_echo_n "checking
for $ac_word...
" >&6; }
8558 if ${ac_cv_prog_NMEDIT+:} false; then :
8559 $as_echo_n "(cached
) " >&6
8561 if test -n "$NMEDIT"; then
8562 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8568 test -z "$as_dir" && as_dir=.
8569 for ac_exec_ext in '' $ac_executable_extensions; do
8570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8571 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8572 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8581 NMEDIT=$ac_cv_prog_NMEDIT
8582 if test -n "$NMEDIT"; then
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8584 $as_echo "$NMEDIT" >&6; }
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8587 $as_echo "no
" >&6; }
8592 if test -z "$ac_cv_prog_NMEDIT"; then
8593 ac_ct_NMEDIT=$NMEDIT
8594 # Extract the first word of "nmedit
", so it can be a program name with args.
8595 set dummy nmedit; ac_word=$2
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8597 $as_echo_n "checking
for $ac_word...
" >&6; }
8598 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8599 $as_echo_n "(cached
) " >&6
8601 if test -n "$ac_ct_NMEDIT"; then
8602 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8608 test -z "$as_dir" && as_dir=.
8609 for ac_exec_ext in '' $ac_executable_extensions; do
8610 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8611 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8612 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8621 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8622 if test -n "$ac_ct_NMEDIT"; then
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8624 $as_echo "$ac_ct_NMEDIT" >&6; }
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8627 $as_echo "no
" >&6; }
8630 if test "x
$ac_ct_NMEDIT" = x; then
8633 case $cross_compiling:$ac_tool_warned in
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8636 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8637 ac_tool_warned=yes ;;
8639 NMEDIT=$ac_ct_NMEDIT
8642 NMEDIT="$ac_cv_prog_NMEDIT"
8645 if test -n "$ac_tool_prefix"; then
8646 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8647 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8649 $as_echo_n "checking
for $ac_word...
" >&6; }
8650 if ${ac_cv_prog_LIPO+:} false; then :
8651 $as_echo_n "(cached
) " >&6
8653 if test -n "$LIPO"; then
8654 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8660 test -z "$as_dir" && as_dir=.
8661 for ac_exec_ext in '' $ac_executable_extensions; do
8662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8663 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8664 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8673 LIPO=$ac_cv_prog_LIPO
8674 if test -n "$LIPO"; then
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8676 $as_echo "$LIPO" >&6; }
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8679 $as_echo "no
" >&6; }
8684 if test -z "$ac_cv_prog_LIPO"; then
8686 # Extract the first word of "lipo
", so it can be a program name with args.
8687 set dummy lipo; ac_word=$2
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8689 $as_echo_n "checking
for $ac_word...
" >&6; }
8690 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8691 $as_echo_n "(cached
) " >&6
8693 if test -n "$ac_ct_LIPO"; then
8694 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8700 test -z "$as_dir" && as_dir=.
8701 for ac_exec_ext in '' $ac_executable_extensions; do
8702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8703 ac_cv_prog_ac_ct_LIPO="lipo
"
8704 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8713 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8714 if test -n "$ac_ct_LIPO"; then
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8716 $as_echo "$ac_ct_LIPO" >&6; }
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8719 $as_echo "no
" >&6; }
8722 if test "x
$ac_ct_LIPO" = x; then
8725 case $cross_compiling:$ac_tool_warned in
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8728 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8729 ac_tool_warned=yes ;;
8734 LIPO="$ac_cv_prog_LIPO"
8737 if test -n "$ac_tool_prefix"; then
8738 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8739 set dummy ${ac_tool_prefix}otool; ac_word=$2
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8741 $as_echo_n "checking
for $ac_word...
" >&6; }
8742 if ${ac_cv_prog_OTOOL+:} false; then :
8743 $as_echo_n "(cached
) " >&6
8745 if test -n "$OTOOL"; then
8746 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8752 test -z "$as_dir" && as_dir=.
8753 for ac_exec_ext in '' $ac_executable_extensions; do
8754 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8755 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8756 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8765 OTOOL=$ac_cv_prog_OTOOL
8766 if test -n "$OTOOL"; then
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8768 $as_echo "$OTOOL" >&6; }
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8771 $as_echo "no
" >&6; }
8776 if test -z "$ac_cv_prog_OTOOL"; then
8778 # Extract the first word of "otool
", so it can be a program name with args.
8779 set dummy otool; ac_word=$2
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8781 $as_echo_n "checking
for $ac_word...
" >&6; }
8782 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8783 $as_echo_n "(cached
) " >&6
8785 if test -n "$ac_ct_OTOOL"; then
8786 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8792 test -z "$as_dir" && as_dir=.
8793 for ac_exec_ext in '' $ac_executable_extensions; do
8794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8795 ac_cv_prog_ac_ct_OTOOL="otool
"
8796 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8805 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8806 if test -n "$ac_ct_OTOOL"; then
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8808 $as_echo "$ac_ct_OTOOL" >&6; }
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8811 $as_echo "no
" >&6; }
8814 if test "x
$ac_ct_OTOOL" = x; then
8817 case $cross_compiling:$ac_tool_warned in
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8820 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8821 ac_tool_warned=yes ;;
8826 OTOOL="$ac_cv_prog_OTOOL"
8829 if test -n "$ac_tool_prefix"; then
8830 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8831 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8833 $as_echo_n "checking
for $ac_word...
" >&6; }
8834 if ${ac_cv_prog_OTOOL64+:} false; then :
8835 $as_echo_n "(cached
) " >&6
8837 if test -n "$OTOOL64"; then
8838 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8844 test -z "$as_dir" && as_dir=.
8845 for ac_exec_ext in '' $ac_executable_extensions; do
8846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8847 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8848 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8857 OTOOL64=$ac_cv_prog_OTOOL64
8858 if test -n "$OTOOL64"; then
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8860 $as_echo "$OTOOL64" >&6; }
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8863 $as_echo "no
" >&6; }
8868 if test -z "$ac_cv_prog_OTOOL64"; then
8869 ac_ct_OTOOL64=$OTOOL64
8870 # Extract the first word of "otool64
", so it can be a program name with args.
8871 set dummy otool64; ac_word=$2
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8873 $as_echo_n "checking
for $ac_word...
" >&6; }
8874 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8875 $as_echo_n "(cached
) " >&6
8877 if test -n "$ac_ct_OTOOL64"; then
8878 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8884 test -z "$as_dir" && as_dir=.
8885 for ac_exec_ext in '' $ac_executable_extensions; do
8886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8887 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8888 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8897 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8898 if test -n "$ac_ct_OTOOL64"; then
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8900 $as_echo "$ac_ct_OTOOL64" >&6; }
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8903 $as_echo "no
" >&6; }
8906 if test "x
$ac_ct_OTOOL64" = x; then
8909 case $cross_compiling:$ac_tool_warned in
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8912 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8913 ac_tool_warned=yes ;;
8915 OTOOL64=$ac_ct_OTOOL64
8918 OTOOL64="$ac_cv_prog_OTOOL64"
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8948 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8949 if ${lt_cv_apple_cc_single_mod+:} false; then :
8950 $as_echo_n "(cached
) " >&6
8952 lt_cv_apple_cc_single_mod=no
8953 if test -z "${LT_MULTI_MODULE}"; then
8954 # By default we will add the -single_module flag. You can override
8955 # by either setting the environment variable LT_MULTI_MODULE
8956 # non-empty at configure time, or by adding -multi_module to the
8958 rm -rf libconftest.dylib*
8959 echo "int foo
(void
){return 1;}" > conftest.c
8960 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8961 -dynamiclib -Wl,-single_module conftest.c
" >&5
8962 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8963 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8965 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8966 lt_cv_apple_cc_single_mod=yes
8968 cat conftest.err >&5
8970 rm -rf libconftest.dylib*
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8975 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8977 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8978 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8979 $as_echo_n "(cached
) " >&6
8981 lt_cv_ld_exported_symbols_list=no
8982 save_LDFLAGS=$LDFLAGS
8983 echo "_main
" > conftest.sym
8984 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8985 if test x$gcc_no_link = xyes; then
8986 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
8988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8989 /* end confdefs.h. */
8999 if ac_fn_c_try_link "$LINENO"; then :
9000 lt_cv_ld_exported_symbols_list=yes
9002 lt_cv_ld_exported_symbols_list=no
9004 rm -f core conftest.err conftest.$ac_objext \
9005 conftest$ac_exeext conftest.$ac_ext
9006 LDFLAGS="$save_LDFLAGS"
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
9010 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
9012 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
9013 if ${lt_cv_ld_force_load+:} false; then :
9014 $as_echo_n "(cached
) " >&6
9016 lt_cv_ld_force_load=no
9017 cat > conftest.c << _LT_EOF
9018 int forced_loaded() { return 2;}
9020 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
9021 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9022 echo "$AR cru libconftest.a conftest.o
" >&5
9023 $AR cru libconftest.a conftest.o 2>&5
9024 cat > conftest.c << _LT_EOF
9025 int main() { return 0;}
9027 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
9028 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9030 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
9031 lt_cv_ld_force_load=yes
9033 cat conftest.err >&5
9035 rm -f conftest.err libconftest.a conftest conftest.c
9036 rm -rf conftest.dSYM
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
9040 $as_echo "$lt_cv_ld_force_load" >&6; }
9041 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
9042 # build without first building modern cctools / linker.
9043 case $host_cpu-$host_os in
9044 *-rhapsody* | *-darwin1.[012])
9045 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9047 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9049 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
9050 # deployment target is forced to an earlier version.
9051 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
9052 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0-9]*)
9055 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9062 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9063 _lt_dar_single_mod='$single_module'
9065 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9066 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9068 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9070 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
9071 _lt_dsymutil='~$DSYMUTIL $lib || :'
9078 for ac_header in dlfcn.h
9080 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
9082 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
9083 cat >>confdefs.h <<_ACEOF
9084 #define HAVE_DLFCN_H 1
9106 # Check whether --enable-shared was given.
9107 if test "${enable_shared+set}" = set; then :
9108 enableval=$enable_shared; p=${PACKAGE-default}
9110 yes) enable_shared=yes ;;
9111 no) enable_shared=no ;;
9114 # Look at the argument we got. We use all the common list separators.
9115 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9116 for pkg in $enableval; do
9118 if test "X
$pkg" = "X
$p"; then
9137 # Check whether --enable-static was given.
9138 if test "${enable_static+set}" = set; then :
9139 enableval=$enable_static; p=${PACKAGE-default}
9141 yes) enable_static=yes ;;
9142 no) enable_static=no ;;
9145 # Look at the argument we got. We use all the common list separators.
9146 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9147 for pkg in $enableval; do
9149 if test "X
$pkg" = "X
$p"; then
9169 # Check whether --with-pic was given.
9170 if test "${with_pic+set}" = set; then :
9171 withval=$with_pic; pic_mode="$withval"
9177 test -z "$pic_mode" && pic_mode=default
9185 # Check whether --enable-fast-install was given.
9186 if test "${enable_fast_install+set}" = set; then :
9187 enableval=$enable_fast_install; p=${PACKAGE-default}
9189 yes) enable_fast_install=yes ;;
9190 no) enable_fast_install=no ;;
9192 enable_fast_install=no
9193 # Look at the argument we got. We use all the common list separators.
9194 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9195 for pkg in $enableval; do
9197 if test "X
$pkg" = "X
$p"; then
9198 enable_fast_install=yes
9205 enable_fast_install=yes
9218 # This can be used to rebuild libtool when needed
9219 LIBTOOL_DEPS="$ltmain"
9221 # Always use our own libtool.
9222 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9249 test -z "$LN_S" && LN_S="ln -s"
9264 if test -n "${ZSH_VERSION+set}" ; then
9265 setopt NO_GLOB_SUBST
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
9269 $as_echo_n "checking
for objdir...
" >&6; }
9270 if ${lt_cv_objdir+:} false; then :
9271 $as_echo_n "(cached
) " >&6
9273 rm -f .libs 2>/dev/null
9274 mkdir .libs 2>/dev/null
9275 if test -d .libs; then
9278 # MS-DOS does not allow filenames that begin with a dot.
9281 rmdir .libs 2>/dev/null
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
9284 $as_echo "$lt_cv_objdir" >&6; }
9285 objdir=$lt_cv_objdir
9291 cat >>confdefs.h <<_ACEOF
9292 #define LT_OBJDIR "$lt_cv_objdir/"
9300 # AIX sometimes has problems with the GCC collect2 program. For some
9301 # reason, if we set the COLLECT_NAMES environment variable, the problems
9302 # vanish in a puff of smoke.
9303 if test "X
${COLLECT_NAMES+set}" != Xset; then
9305 export COLLECT_NAMES
9312 can_build_shared=yes
9314 # All known linkers require a `.a' archive for static linking (except MSVC,
9315 # which needs '.lib').
9318 with_gnu_ld="$lt_cv_prog_gnu_ld"
9321 old_CFLAGS="$CFLAGS"
9323 # Set sane defaults for various variables
9324 test -z "$CC" && CC=cc
9325 test -z "$LTCC" && LTCC=$CC
9326 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9327 test -z "$LD" && LD=ld
9328 test -z "$ac_objext" && ac_objext=o
9330 for cc_temp in $compiler""; do
9332 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9333 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9338 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
9341 # Only perform the check for file, if the check method requires it
9342 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9343 case $deplibs_check_method in
9345 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
9347 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
9348 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9349 $as_echo_n "(cached
) " >&6
9353 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9356 lt_save_MAGIC_CMD="$MAGIC_CMD"
9357 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9358 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9359 for ac_dir in $ac_dummy; do
9361 test -z "$ac_dir" && ac_dir=.
9362 if test -f $ac_dir/${ac_tool_prefix}file; then
9363 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9364 if test -n "$file_magic_test_file"; then
9365 case $deplibs_check_method in
9367 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9368 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9369 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9370 $EGREP "$file_magic_regex" > /dev/null; then
9375 *** Warning: the command libtool uses to detect shared libraries,
9376 *** $file_magic_cmd, produces output that libtool cannot recognize.
9377 *** The result is that libtool may fail to recognize shared libraries
9378 *** as such. This will affect the creation of libtool libraries that
9379 *** depend on shared libraries, but programs linked with such libtool
9380 *** libraries will work regardless of this problem. Nevertheless, you
9381 *** may want to report the problem to your system manager and/or to
9382 *** bug-libtool@gnu.org
9392 MAGIC_CMD="$lt_save_MAGIC_CMD"
9397 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9398 if test -n "$MAGIC_CMD"; then
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9400 $as_echo "$MAGIC_CMD" >&6; }
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9403 $as_echo "no
" >&6; }
9410 if test -z "$lt_cv_path_MAGIC_CMD"; then
9411 if test -n "$ac_tool_prefix"; then
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
9413 $as_echo_n "checking
for file...
" >&6; }
9414 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9415 $as_echo_n "(cached
) " >&6
9419 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9422 lt_save_MAGIC_CMD="$MAGIC_CMD"
9423 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9424 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9425 for ac_dir in $ac_dummy; do
9427 test -z "$ac_dir" && ac_dir=.
9428 if test -f $ac_dir/file; then
9429 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9430 if test -n "$file_magic_test_file"; then
9431 case $deplibs_check_method in
9433 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9434 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9435 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9436 $EGREP "$file_magic_regex" > /dev/null; then
9441 *** Warning: the command libtool uses to detect shared libraries,
9442 *** $file_magic_cmd, produces output that libtool cannot recognize.
9443 *** The result is that libtool may fail to recognize shared libraries
9444 *** as such. This will affect the creation of libtool libraries that
9445 *** depend on shared libraries, but programs linked with such libtool
9446 *** libraries will work regardless of this problem. Nevertheless, you
9447 *** may want to report the problem to your system manager and/or to
9448 *** bug-libtool@gnu.org
9458 MAGIC_CMD="$lt_save_MAGIC_CMD"
9463 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9464 if test -n "$MAGIC_CMD"; then
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9466 $as_echo "$MAGIC_CMD" >&6; }
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9469 $as_echo "no
" >&6; }
9482 # Use C for the default configuration in the libtool script
9486 ac_cpp='$CPP $CPPFLAGS'
9487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9492 # Source file extension for C test sources.
9495 # Object file extension for compiled C test sources.
9499 # Code to be used in simple compile tests
9500 lt_simple_compile_test_code="int some_variable
= 0;"
9502 # Code to be used in simple link tests
9503 lt_simple_link_test_code='int main(){return(0);}'
9511 # If no C compiler was specified, use CC.
9514 # If no C compiler flags were specified, use CFLAGS.
9515 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9517 # Allow CC to be a program name with arguments.
9520 # Save the default compiler, since it gets overwritten when the other
9521 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9522 compiler_DEFAULT=$CC
9524 # save warnings/boilerplate of simple test code
9525 ac_outfile=conftest.$ac_objext
9526 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9527 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9528 _lt_compiler_boilerplate=`cat conftest.err`
9531 ac_outfile=conftest.$ac_objext
9532 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9533 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9534 _lt_linker_boilerplate=`cat conftest.err`
9539 ## There is no encapsulation within the following macros, do not change
9540 ## the running order or otherwise move them around unless you know exactly
9541 ## what you are doing...
9542 if test -n "$compiler"; then
9544 lt_prog_compiler_no_builtin_flag=
9546 if test "$GCC" = yes; then
9547 case $cc_basename in
9549 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9551 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
9555 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
9556 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9557 $as_echo_n "(cached
) " >&6
9559 lt_cv_prog_compiler_rtti_exceptions=no
9560 ac_outfile=conftest.$ac_objext
9561 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9562 lt_compiler_flag="-fno-rtti -fno-exceptions"
9563 # Insert the option either (1) after the last *FLAGS variable, or
9564 # (2) before a word containing "conftest.
", or (3) at the end.
9565 # Note that $ac_compile itself does not contain backslashes and begins
9566 # with a dollar sign (not a hyphen), so the echo should work correctly.
9567 # The option is referenced via a variable to avoid confusing sed.
9568 lt_compile=`echo "$ac_compile" | $SED \
9569 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9570 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9571 -e 's:$: $lt_compiler_flag:'`
9572 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9573 (eval "$lt_compile" 2>conftest.err)
9575 cat conftest.err >&5
9576 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9577 if (exit $ac_status) && test -s "$ac_outfile"; then
9578 # The compiler can only warn and ignore the option if not recognized
9579 # So say no if there are warnings other than the usual output.
9580 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9581 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9582 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9583 lt_cv_prog_compiler_rtti_exceptions=yes
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
9590 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9592 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9593 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9605 lt_prog_compiler_wl=
9606 lt_prog_compiler_pic=
9607 lt_prog_compiler_static=
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
9610 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
9612 if test "$GCC" = yes; then
9613 lt_prog_compiler_wl='-Wl,'
9614 lt_prog_compiler_static='-static'
9618 # All AIX code is PIC.
9619 if test "$host_cpu" = ia64; then
9620 # AIX 5 now supports IA64 processor
9621 lt_prog_compiler_static='-Bstatic'
9623 lt_prog_compiler_pic='-fPIC'
9629 # see comment about AmigaOS4 .so support
9630 lt_prog_compiler_pic='-fPIC'
9633 # FIXME: we need at least 68020 code to build shared libraries, but
9634 # adding the `-m68020' flag to GCC prevents building anything better,
9636 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9641 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9642 # PIC is the default for these OSes.
9645 mingw* | cygwin* | pw32* | os2* | cegcc*)
9646 # This hack is so that the source file can tell whether it is being
9647 # built for inclusion in a dll (and should export symbols for example).
9648 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9649 # (--disable-auto-import) libraries
9650 lt_prog_compiler_pic='-DDLL_EXPORT'
9653 darwin* | rhapsody*)
9654 # PIC is the default on this platform
9655 # Common symbols not allowed in MH_DYLIB files
9656 lt_prog_compiler_pic='-fno-common'
9660 # PIC is the default for Haiku.
9661 # The "-static" flag exists, but is broken.
9662 lt_prog_compiler_static=
9666 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9667 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9668 # sets the default TLS model and affects inlining.
9674 lt_prog_compiler_pic='-fPIC'
9680 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9681 # Instead, we relocate shared libraries at runtime.
9685 # Just because we use GCC doesn't mean we suddenly get shared libraries
9686 # on systems that don't support them.
9687 lt_prog_compiler_can_build_shared=no
9692 # QNX uses GNU C++, but need to define -shared option too, otherwise
9694 lt_prog_compiler_pic='-fPIC -shared'
9698 if test -d /usr/nec; then
9699 lt_prog_compiler_pic=-Kconform_pic
9704 lt_prog_compiler_pic='-fPIC'
9708 case $cc_basename in
9709 nvcc*) # Cuda Compiler Driver 2.2
9710 lt_prog_compiler_wl='-Xlinker '
9711 lt_prog_compiler_pic='-Xcompiler -fPIC'
9715 # PORTME Check for flag to pass linker flags through the system compiler.
9718 lt_prog_compiler_wl='-Wl,'
9719 if test "$host_cpu" = ia64; then
9720 # AIX 5 now supports IA64 processor
9721 lt_prog_compiler_static='-Bstatic'
9723 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9727 mingw* | cygwin* | pw32* | os2* | cegcc*)
9728 # This hack is so that the source file can tell whether it is being
9729 # built for inclusion in a dll (and should export symbols for example).
9730 lt_prog_compiler_pic='-DDLL_EXPORT'
9733 hpux9* | hpux10* | hpux11*)
9734 lt_prog_compiler_wl='-Wl,'
9735 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9742 lt_prog_compiler_pic='+Z'
9745 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9746 lt_prog_compiler_static='${wl}-a ${wl}archive'
9749 irix5* | irix6* | nonstopux*)
9750 lt_prog_compiler_wl='-Wl,'
9751 # PIC (with -KPIC) is the default.
9752 lt_prog_compiler_static='-non_shared'
9755 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9756 case $cc_basename in
9757 # old Intel for x86_64 which still supported -KPIC.
9759 lt_prog_compiler_wl='-Wl,'
9760 lt_prog_compiler_pic='-KPIC'
9761 lt_prog_compiler_static='-static'
9763 # icc used to be incompatible with GCC.
9764 # ICC 10 doesn't accept -KPIC any more.
9766 lt_prog_compiler_wl='-Wl,'
9767 lt_prog_compiler_pic='-fPIC'
9768 lt_prog_compiler_static='-static'
9770 # Lahey Fortran 8.1.
9772 lt_prog_compiler_wl='-Wl,'
9773 lt_prog_compiler_pic='--shared'
9774 lt_prog_compiler_static='--static'
9776 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9777 # Portland Group compilers (*not* the Pentium gcc compiler,
9778 # which looks to be a dead project)
9779 lt_prog_compiler_wl='-Wl,'
9780 lt_prog_compiler_pic='-fpic'
9781 lt_prog_compiler_static='-Bstatic'
9784 lt_prog_compiler_wl='-Wl,'
9785 # All Alpha code is PIC.
9786 lt_prog_compiler_static='-non_shared'
9788 xl* | bgxl* | bgf* | mpixl*)
9789 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9790 lt_prog_compiler_wl='-Wl,'
9791 lt_prog_compiler_pic='-qpic'
9792 lt_prog_compiler_static='-qstaticlink'
9795 case `$CC -V 2>&1 | sed 5q` in
9796 *Sun\ F* | *Sun*Fortran*)
9797 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9798 lt_prog_compiler_pic='-KPIC'
9799 lt_prog_compiler_static='-Bstatic'
9800 lt_prog_compiler_wl=''
9804 lt_prog_compiler_pic='-KPIC'
9805 lt_prog_compiler_static='-Bstatic'
9806 lt_prog_compiler_wl='-Wl,'
9814 lt_prog_compiler_pic='-KPIC'
9815 lt_prog_compiler_static='-Bstatic'
9819 # QNX uses GNU C++, but need to define -shared option too, otherwise
9821 lt_prog_compiler_pic='-fPIC -shared'
9824 osf3* | osf4* | osf5*)
9825 lt_prog_compiler_wl='-Wl,'
9826 # All OSF/1 code is PIC.
9827 lt_prog_compiler_static='-non_shared'
9831 lt_prog_compiler_static='-non_shared'
9835 lt_prog_compiler_pic='-KPIC'
9836 lt_prog_compiler_static='-Bstatic'
9837 case $cc_basename in
9839 lt_prog_compiler_wl='-Qoption ld ';;
9841 lt_prog_compiler_wl='-Wl,';;
9846 lt_prog_compiler_wl='-Qoption ld '
9847 lt_prog_compiler_pic='-PIC'
9848 lt_prog_compiler_static='-Bstatic'
9851 sysv4 | sysv4.2uw2* | sysv4.3*)
9852 lt_prog_compiler_wl='-Wl,'
9853 lt_prog_compiler_pic='-KPIC'
9854 lt_prog_compiler_static='-Bstatic'
9858 if test -d /usr/nec ;then
9859 lt_prog_compiler_pic='-Kconform_pic'
9860 lt_prog_compiler_static='-Bstatic'
9864 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9865 lt_prog_compiler_wl='-Wl,'
9866 lt_prog_compiler_pic='-KPIC'
9867 lt_prog_compiler_static='-Bstatic'
9871 lt_prog_compiler_wl='-Wl,'
9872 lt_prog_compiler_can_build_shared=no
9876 lt_prog_compiler_pic='-pic'
9877 lt_prog_compiler_static='-Bstatic'
9881 lt_prog_compiler_can_build_shared=no
9887 # For platforms which do not support PIC, -DPIC is meaningless:
9889 lt_prog_compiler_pic=
9892 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
9896 $as_echo "$lt_prog_compiler_pic" >&6; }
9904 # Check to make sure the PIC flag actually works.
9906 if test -n "$lt_prog_compiler_pic"; then
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
9908 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
9909 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9910 $as_echo_n "(cached
) " >&6
9912 lt_cv_prog_compiler_pic_works=no
9913 ac_outfile=conftest.$ac_objext
9914 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9915 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9916 # Insert the option either (1) after the last *FLAGS variable, or
9917 # (2) before a word containing "conftest.
", or (3) at the end.
9918 # Note that $ac_compile itself does not contain backslashes and begins
9919 # with a dollar sign (not a hyphen), so the echo should work correctly.
9920 # The option is referenced via a variable to avoid confusing sed.
9921 lt_compile=`echo "$ac_compile" | $SED \
9922 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9923 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9924 -e 's:$: $lt_compiler_flag:'`
9925 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9926 (eval "$lt_compile" 2>conftest.err)
9928 cat conftest.err >&5
9929 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9930 if (exit $ac_status) && test -s "$ac_outfile"; then
9931 # The compiler can only warn and ignore the option if not recognized
9932 # So say no if there are warnings other than the usual output.
9933 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9934 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9935 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9936 lt_cv_prog_compiler_pic_works=yes
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9943 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9945 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9946 case $lt_prog_compiler_pic in
9948 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9951 lt_prog_compiler_pic=
9952 lt_prog_compiler_can_build_shared=no
9963 # Check to make sure the static flag actually works.
9965 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9967 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9968 if ${lt_cv_prog_compiler_static_works+:} false; then :
9969 $as_echo_n "(cached
) " >&6
9971 lt_cv_prog_compiler_static_works=no
9972 save_LDFLAGS="$LDFLAGS"
9973 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9974 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9975 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9976 # The linker can only warn and ignore the option if not recognized
9977 # So say no if there are warnings
9978 if test -s conftest.err; then
9979 # Append any errors to the config.log.
9980 cat conftest.err 1>&5
9981 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9982 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9983 if diff conftest.exp conftest.er2 >/dev/null; then
9984 lt_cv_prog_compiler_static_works=yes
9987 lt_cv_prog_compiler_static_works=yes
9991 LDFLAGS="$save_LDFLAGS"
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9995 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9997 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10000 lt_prog_compiler_static=
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
10010 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
10011 if ${lt_cv_prog_compiler_c_o+:} false; then :
10012 $as_echo_n "(cached
) " >&6
10014 lt_cv_prog_compiler_c_o=no
10015 $RM -r conftest 2>/dev/null
10019 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10021 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
10022 # Insert the option either (1) after the last *FLAGS variable, or
10023 # (2) before a word containing "conftest.
", or (3) at the end.
10024 # Note that $ac_compile itself does not contain backslashes and begins
10025 # with a dollar sign (not a hyphen), so the echo should work correctly.
10026 lt_compile=`echo "$ac_compile" | $SED \
10027 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10028 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10029 -e 's:$: $lt_compiler_flag:'`
10030 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10031 (eval "$lt_compile" 2>out/conftest.err)
10033 cat out/conftest.err >&5
10034 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10035 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10037 # The compiler can only warn and ignore the option if not recognized
10038 # So say no if there are warnings
10039 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10040 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10041 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10042 lt_cv_prog_compiler_c_o=yes
10047 # SGI C++ compiler will create directory out/ii_files/ for
10048 # template instantiation
10049 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10050 $RM out/* && rmdir out
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
10057 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
10065 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
10066 if ${lt_cv_prog_compiler_c_o+:} false; then :
10067 $as_echo_n "(cached
) " >&6
10069 lt_cv_prog_compiler_c_o=no
10070 $RM -r conftest 2>/dev/null
10074 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10076 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
10077 # Insert the option either (1) after the last *FLAGS variable, or
10078 # (2) before a word containing "conftest.
", or (3) at the end.
10079 # Note that $ac_compile itself does not contain backslashes and begins
10080 # with a dollar sign (not a hyphen), so the echo should work correctly.
10081 lt_compile=`echo "$ac_compile" | $SED \
10082 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10083 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10084 -e 's:$: $lt_compiler_flag:'`
10085 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10086 (eval "$lt_compile" 2>out/conftest.err)
10088 cat out/conftest.err >&5
10089 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10090 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10092 # The compiler can only warn and ignore the option if not recognized
10093 # So say no if there are warnings
10094 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10095 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10096 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10097 lt_cv_prog_compiler_c_o=yes
10102 # SGI C++ compiler will create directory out/ii_files/ for
10103 # template instantiation
10104 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10105 $RM out/* && rmdir out
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
10112 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10117 hard_links="nottested
"
10118 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10119 # do not overwrite the value of need_locks provided by the user
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
10121 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
10124 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10126 ln conftest.a conftest.b 2>&5 || hard_links=no
10127 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
10129 $as_echo "$hard_links" >&6; }
10130 if test "$hard_links" = no; then
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
10132 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
10145 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
10148 allow_undefined_flag=
10149 always_export_symbols=no
10151 archive_expsym_cmds=
10152 compiler_needs_object=no
10153 enable_shared_with_static_runtimes=no
10154 export_dynamic_flag_spec=
10155 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10156 hardcode_automatic=no
10158 hardcode_direct_absolute=no
10159 hardcode_libdir_flag_spec=
10160 hardcode_libdir_flag_spec_ld=
10161 hardcode_libdir_separator=
10162 hardcode_minus_L=no
10163 hardcode_shlibpath_var=unsupported
10165 link_all_deplibs=unknown
10167 module_expsym_cmds=
10168 old_archive_from_new_cmds=
10169 old_archive_from_expsyms_cmds=
10170 thread_safe_flag_spec=
10171 whole_archive_flag_spec=
10172 # include_expsyms should be a list of space-separated symbols to be *always*
10173 # included in the symbol list
10175 # exclude_expsyms can be an extended regexp of symbols to exclude
10176 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10177 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10178 # as well as any symbol that contains `d'.
10179 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10180 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10181 # platforms (ab)use it in PIC code, but their linkers get confused if
10182 # the symbol is explicitly referenced. Since portable code cannot
10183 # rely on this symbol name, it's probably fine to never include it in
10184 # preloaded symbol tables.
10185 # Exclude shared library initialization/finalization symbols.
10186 extract_expsyms_cmds=
10189 cygwin* | mingw* | pw32* | cegcc*)
10190 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10191 # When not using gcc, we currently assume that we are using
10192 # Microsoft Visual C++.
10193 if test "$GCC" != yes; then
10198 # we just hope/assume this is gcc and not c89 (= MSVC++)
10208 # On some targets, GNU ld is compatible enough with the native linker
10209 # that we're better off using the native interface for both.
10210 lt_use_gnu_ld_interface=no
10211 if test "$with_gnu_ld" = yes; then
10214 # The AIX port of GNU ld has always aspired to compatibility
10215 # with the native linker. However, as the warning in the GNU ld
10216 # block says, versions before 2.19.5* couldn't really create working
10217 # shared libraries, regardless of the interface used.
10218 case `$LD -v 2>&1` in
10219 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10220 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10221 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10223 lt_use_gnu_ld_interface=yes
10228 lt_use_gnu_ld_interface=yes
10233 if test "$lt_use_gnu_ld_interface" = yes; then
10234 # If archive_cmds runs LD, not CC, wlarc should be empty
10237 # Set some defaults for GNU ld with shared library support. These
10238 # are reset later if shared libraries are not supported. Putting them
10239 # here allows them to be overridden if necessary.
10240 runpath_var=LD_RUN_PATH
10241 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10242 export_dynamic_flag_spec='${wl}--export-dynamic'
10243 # ancient GNU ld didn't support --whole-archive et. al.
10244 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10245 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10247 whole_archive_flag_spec=
10249 supports_anon_versioning=no
10250 case `$LD -v 2>&1` in
10251 *GNU\ gold*) supports_anon_versioning=yes ;;
10252 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10253 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10254 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10255 *\ 2.11.*) ;; # other 2.11 versions
10256 *) supports_anon_versioning=yes ;;
10259 # See if GNU ld supports shared libraries.
10262 # On AIX/PPC, the GNU linker is very broken
10263 if test "$host_cpu" != ia64; then
10267 *** Warning: the GNU linker, at least up to release 2.19, is reported
10268 *** to be unable to reliably create shared libraries on AIX.
10269 *** Therefore, libtool is disabling shared libraries support. If you
10270 *** really care for shared libraries, you may want to install binutils
10271 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10272 *** You will then need to restart the configuration process.
10281 # see comment about AmigaOS4 .so support
10282 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10283 archive_expsym_cmds=''
10286 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)'
10287 hardcode_libdir_flag_spec
='-L$libdir'
10288 hardcode_minus_L
=yes
10294 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10295 allow_undefined_flag
=unsupported
10296 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10297 # support --undefined. This deserves some investigation. FIXME
10298 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10304 cygwin
* | mingw
* | pw32
* | cegcc
*)
10305 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10306 # as there is no search path for DLLs.
10307 hardcode_libdir_flag_spec
='-L$libdir'
10308 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10309 allow_undefined_flag
=unsupported
10310 always_export_symbols
=no
10311 enable_shared_with_static_runtimes
=yes
10312 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10314 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10315 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10316 # If the export-symbols file already is a .def file (1st line
10317 # is EXPORTS), use it as is; otherwise, prepend...
10318 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10319 cp $export_symbols $output_objdir/$soname.def;
10321 echo EXPORTS > $output_objdir/$soname.def;
10322 cat $export_symbols >> $output_objdir/$soname.def;
10324 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10331 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10332 link_all_deplibs
=yes
10337 hardcode_shlibpath_var
=no
10338 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10339 export_dynamic_flag_spec
='${wl}-E'
10340 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10341 # Instead, shared libraries are loaded at an image base (0x10000000 by
10342 # default) and relocated if they conflict, which is a slow very memory
10343 # consuming and fragmenting process. To avoid this, we pick a random,
10344 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10345 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10346 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10347 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'
10350 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
10352 if test "$host_os" = linux-dietlibc
; then
10353 case $cc_basename in
10354 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10357 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10358 && test "$tmp_diet" = no
10360 tmp_addflag
=' $pic_flag'
10361 tmp_sharedflag
='-shared'
10362 case $cc_basename,$host_cpu in
10363 pgcc
*) # Portland Group C compiler
10364 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'
10365 tmp_addflag
=' $pic_flag'
10367 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10368 # Portland Group f77 and f90 compilers
10369 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'
10370 tmp_addflag
=' $pic_flag -Mnomain' ;;
10371 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10372 tmp_addflag
=' -i_dynamic' ;;
10373 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10374 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10375 ifc
* | ifort
*) # Intel Fortran compiler
10376 tmp_addflag
=' -nofor_main' ;;
10377 lf95
*) # Lahey Fortran 8.1
10378 whole_archive_flag_spec
=
10379 tmp_sharedflag
='--shared' ;;
10380 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10381 tmp_sharedflag
='-qmkshrobj'
10383 nvcc
*) # Cuda Compiler Driver 2.2
10384 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'
10385 compiler_needs_object
=yes
10388 case `$CC -V 2>&1 | sed 5q` in
10389 *Sun\ C
*) # Sun C 5.9
10390 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'
10391 compiler_needs_object
=yes
10392 tmp_sharedflag
='-G' ;;
10393 *Sun\ F
*) # Sun Fortran 8.3
10394 tmp_sharedflag
='-G' ;;
10396 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10398 if test "x$supports_anon_versioning" = xyes
; then
10399 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10400 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10401 echo "local: *; };" >> $output_objdir/$libname.ver~
10402 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10405 case $cc_basename in
10406 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10407 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10408 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10409 hardcode_libdir_flag_spec
=
10410 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10411 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10412 if test "x$supports_anon_versioning" = xyes
; then
10413 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10414 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10415 echo "local: *; };" >> $output_objdir/$libname.ver~
10416 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10426 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10427 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10430 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10431 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10436 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10440 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10441 *** create shared libraries on Solaris systems. Therefore, libtool
10442 *** is disabling shared libraries support. We urge you to upgrade GNU
10443 *** binutils to release 2.9.1 or newer. Another option is to modify
10444 *** your PATH or compiler configuration so that the native linker is
10445 *** used, and then restart.
10448 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10449 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10450 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10456 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10457 case `$LD -v 2>&1` in
10458 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10462 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10463 *** reliably create shared libraries on SCO systems. Therefore, libtool
10464 *** is disabling shared libraries support. We urge you to upgrade GNU
10465 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10466 *** your PATH or compiler configuration so that the native linker is
10467 *** used, and then restart.
10472 # For security reasons, it is highly recommended that you always
10473 # use absolute paths for naming shared libraries, and exclude the
10474 # DT_RUNPATH tag from executables and libraries. But doing so
10475 # requires that you compile everything twice, which is a pain.
10476 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10477 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10478 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10479 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10488 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10490 hardcode_direct
=yes
10491 hardcode_shlibpath_var
=no
10495 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10496 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10497 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10504 if test "$ld_shlibs" = no
; then
10506 hardcode_libdir_flag_spec
=
10507 export_dynamic_flag_spec
=
10508 whole_archive_flag_spec
=
10511 # PORTME fill in a description of your system's linker (not GNU ld)
10514 allow_undefined_flag
=unsupported
10515 always_export_symbols
=yes
10516 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'
10517 # Note: this linker hardcodes the directories in LIBPATH if there
10518 # are no directories specified by -L.
10519 hardcode_minus_L
=yes
10520 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10521 # Neither direct hardcoding nor static linking is supported with a
10523 hardcode_direct
=unsupported
10528 if test "$host_cpu" = ia64
; then
10529 # On IA64, the linker does run time linking by default, so we don't
10530 # have to do anything special.
10531 aix_use_runtimelinking
=no
10532 exp_sym_flag
='-Bexport'
10535 # If we're using GNU nm, then we don't want the "-C" option.
10536 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10537 # Also, AIX nm treats weak defined symbols like other global
10538 # defined symbols, whereas GNU nm marks them as "W".
10539 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10540 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'
10542 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'
10544 aix_use_runtimelinking
=no
10546 # Test if we are trying to use run time linking or normal
10547 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10548 # need to do runtime linking.
10549 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10550 for ld_flag
in $LDFLAGS; do
10551 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10552 aix_use_runtimelinking
=yes
10559 exp_sym_flag
='-bexport'
10560 no_entry_flag
='-bnoentry'
10563 # When large executables or shared objects are built, AIX ld can
10564 # have problems creating the table of contents. If linking a library
10565 # or program results in "error TOC overflow" add -mminimal-toc to
10566 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10567 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10570 hardcode_direct
=yes
10571 hardcode_direct_absolute
=yes
10572 hardcode_libdir_separator
=':'
10573 link_all_deplibs
=yes
10574 file_list_spec
='${wl}-f,'
10576 if test "$GCC" = yes; then
10577 case $host_os in aix4.
[012]|aix4.
[012].
*)
10578 # We only want to do this on AIX 4.2 and lower, the check
10579 # below for broken collect2 doesn't work under 4.3+
10580 collect2name
=`${CC} -print-prog-name=collect2`
10581 if test -f "$collect2name" &&
10582 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10584 # We have reworked collect2
10587 # We have old collect2
10588 hardcode_direct
=unsupported
10589 # It fails to find uninstalled libraries when the uninstalled
10590 # path is not listed in the libpath. Setting hardcode_minus_L
10591 # to unsupported forces relinking
10592 hardcode_minus_L
=yes
10593 hardcode_libdir_flag_spec
='-L$libdir'
10594 hardcode_libdir_separator
=
10598 shared_flag
='-shared'
10599 if test "$aix_use_runtimelinking" = yes; then
10600 shared_flag
="$shared_flag "'${wl}-G'
10604 if test "$host_cpu" = ia64
; then
10605 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10606 # chokes on -Wl,-G. The following line is correct:
10609 if test "$aix_use_runtimelinking" = yes; then
10610 shared_flag
='${wl}-G'
10612 shared_flag
='${wl}-bM:SRE'
10617 export_dynamic_flag_spec
='${wl}-bexpall'
10618 # It seems that -bexpall does not export symbols beginning with
10619 # underscore (_), so it is better to generate a list of symbols to export.
10620 always_export_symbols
=yes
10621 if test "$aix_use_runtimelinking" = yes; then
10622 # Warning - without using the other runtime loading flags (-brtl),
10623 # -berok will link without error, but may produce a broken library.
10624 allow_undefined_flag
='-berok'
10625 # Determine the default libpath from the value encoded in an
10626 # empty executable.
10627 if test x
$gcc_no_link = xyes
; then
10628 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10631 /* end confdefs.h. */
10641 if ac_fn_c_try_link
"$LINENO"; then :
10643 lt_aix_libpath_sed
='
10644 /Import File Strings/,/^$/ {
10650 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10651 # Check for a 64-bit object if we didn't find anything.
10652 if test -z "$aix_libpath"; then
10653 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10656 rm -f core conftest.err conftest.
$ac_objext \
10657 conftest
$ac_exeext conftest.
$ac_ext
10658 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10660 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10661 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"
10663 if test "$host_cpu" = ia64
; then
10664 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10665 allow_undefined_flag
="-z nodefs"
10666 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"
10668 # Determine the default libpath from the value encoded in an
10669 # empty executable.
10670 if test x
$gcc_no_link = xyes
; then
10671 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10674 /* end confdefs.h. */
10684 if ac_fn_c_try_link
"$LINENO"; then :
10686 lt_aix_libpath_sed
='
10687 /Import File Strings/,/^$/ {
10693 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10694 # Check for a 64-bit object if we didn't find anything.
10695 if test -z "$aix_libpath"; then
10696 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10699 rm -f core conftest.err conftest.
$ac_objext \
10700 conftest
$ac_exeext conftest.
$ac_ext
10701 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10703 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10704 # Warning - without using the other run time loading flags,
10705 # -berok will link without error, but may produce a broken library.
10706 no_undefined_flag
=' ${wl}-bernotok'
10707 allow_undefined_flag
=' ${wl}-berok'
10708 if test "$with_gnu_ld" = yes; then
10709 # We only use this code for GNU lds that support --whole-archive.
10710 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10712 # Exported symbols can be pulled into shared objects from archives
10713 whole_archive_flag_spec
='$convenience'
10715 archive_cmds_need_lc
=yes
10716 # This is similar to how AIX traditionally builds its shared libraries.
10717 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'
10725 # see comment about AmigaOS4 .so support
10726 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10727 archive_expsym_cmds
=''
10730 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)'
10731 hardcode_libdir_flag_spec
='-L$libdir'
10732 hardcode_minus_L
=yes
10738 export_dynamic_flag_spec
=-rdynamic
10741 cygwin
* | mingw
* | pw32
* | cegcc
*)
10742 # When not using gcc, we currently assume that we are using
10743 # Microsoft Visual C++.
10744 # hardcode_libdir_flag_spec is actually meaningless, as there is
10745 # no search path for DLLs.
10746 hardcode_libdir_flag_spec
=' '
10747 allow_undefined_flag
=unsupported
10748 # Tell ltmain to make .lib files, not .a files.
10750 # Tell ltmain to make .dll files, not .so files.
10752 # FIXME: Setting linknames here is a bad hack.
10753 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10754 # The linker will automatically build a .lib file if we build a DLL.
10755 old_archive_from_new_cmds
='true'
10756 # FIXME: Should let the user specify the lib program.
10757 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10758 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10759 enable_shared_with_static_runtimes
=yes
10762 darwin
* | rhapsody
*)
10766 # Publish an arg to allow the user to select that Darwin host (and target)
10767 # libraries should be given install-names like @rpath/libfoo.dylib. This
10768 # requires that the user of the library then adds an 'rpath' to the DSO that
10770 # NOTE: there are defaults below, for systems that support rpaths. The person
10771 # configuring can override the defaults for any system version that supports
10772 # them - they are, however, forced off for system versions without support.
10773 # Check whether --enable-darwin-at-rpath was given.
10774 if test "${enable_darwin_at_rpath+set}" = set; then :
10775 enableval
=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
10776 # This is not supported before macOS 10.5 / Darwin9.
10777 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
10778 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
10780 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
10781 enable_darwin_at_rpath
=no
10786 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
10787 # As above, before 10.5 / Darwin9 this does not work.
10788 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
10789 enable_darwin_at_rpath
=no
10792 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
10793 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
10794 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
10795 UNSET
,darwin1
[5-9]*|UNSET
,darwin2
*|
10.1[1-9][,.
]*|
1[1-9].
*[,.
]* )
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
10797 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
10798 enable_darwin_at_rpath
=yes
10800 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
10801 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
10808 archive_cmds_need_lc
=no
10810 hardcode_automatic
=yes
10811 hardcode_shlibpath_var
=unsupported
10812 if test "$lt_cv_ld_force_load" = "yes"; then
10813 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\"`'
10815 whole_archive_flag_spec
=''
10817 link_all_deplibs
=yes
10818 allow_undefined_flag
="$_lt_dar_allow_undefined"
10819 case $cc_basename in
10820 ifort
*) _lt_dar_can_shared
=yes ;;
10821 *) _lt_dar_can_shared
=$GCC ;;
10823 if test "$_lt_dar_can_shared" = "yes"; then
10824 output_verbose_link_cmd
=func_echo_all
10825 _lt_install_name
='\$rpath/\$soname'
10826 if test "x$enable_darwin_at_rpath" = "xyes"; then
10827 _lt_install_name
='@rpath/\$soname'
10829 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
10830 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10831 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 ${_lt_install_name} \$verstring ${_lt_dar_export_syms}${_lt_dsymutil}"
10832 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}"
10841 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10842 hardcode_libdir_flag_spec
='-L$libdir'
10843 hardcode_shlibpath_var
=no
10846 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10847 # support. Future versions do this automatically, but an explicit c++rt0.o
10848 # does not break anything, and helps significantly (at the cost of a little
10851 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10852 hardcode_libdir_flag_spec
='-R$libdir'
10853 hardcode_direct
=yes
10854 hardcode_shlibpath_var
=no
10857 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10859 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10860 hardcode_direct
=yes
10861 hardcode_minus_L
=yes
10862 hardcode_shlibpath_var
=no
10865 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10866 freebsd
* | dragonfly
*)
10867 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10868 hardcode_libdir_flag_spec
='-R$libdir'
10869 hardcode_direct
=yes
10870 hardcode_shlibpath_var
=no
10874 if test "$GCC" = yes; then
10875 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'
10877 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'
10879 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10880 hardcode_libdir_separator
=:
10881 hardcode_direct
=yes
10883 # hardcode_minus_L: Not really in the search PATH,
10884 # but as the default location of the library.
10885 hardcode_minus_L
=yes
10886 export_dynamic_flag_spec
='${wl}-E'
10890 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10891 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10893 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10895 if test "$with_gnu_ld" = no
; then
10896 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10897 hardcode_libdir_flag_spec_ld
='+b $libdir'
10898 hardcode_libdir_separator
=:
10899 hardcode_direct
=yes
10900 hardcode_direct_absolute
=yes
10901 export_dynamic_flag_spec
='${wl}-E'
10902 # hardcode_minus_L: Not really in the search PATH,
10903 # but as the default location of the library.
10904 hardcode_minus_L
=yes
10909 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10912 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10915 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10918 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10924 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10927 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10931 # Older versions of the 11.00 compiler do not understand -b yet
10932 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10934 $as_echo_n "checking if $CC understands -b... " >&6; }
10935 if ${lt_cv_prog_compiler__b+:} false
; then :
10936 $as_echo_n "(cached) " >&6
10938 lt_cv_prog_compiler__b
=no
10939 save_LDFLAGS
="$LDFLAGS"
10940 LDFLAGS
="$LDFLAGS -b"
10941 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10942 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10943 # The linker can only warn and ignore the option if not recognized
10944 # So say no if there are warnings
10945 if test -s conftest.err
; then
10946 # Append any errors to the config.log.
10947 cat conftest.err
1>&5
10948 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10949 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10950 if diff conftest.exp conftest.er2
>/dev
/null
; then
10951 lt_cv_prog_compiler__b
=yes
10954 lt_cv_prog_compiler__b
=yes
10958 LDFLAGS
="$save_LDFLAGS"
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10962 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10964 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10965 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10967 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10973 if test "$with_gnu_ld" = no
; then
10974 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10975 hardcode_libdir_separator
=:
10980 hardcode_shlibpath_var
=no
10983 hardcode_direct
=yes
10984 hardcode_direct_absolute
=yes
10985 export_dynamic_flag_spec
='${wl}-E'
10987 # hardcode_minus_L: Not really in the search PATH,
10988 # but as the default location of the library.
10989 hardcode_minus_L
=yes
10995 irix5
* | irix6
* | nonstopux
*)
10996 if test "$GCC" = yes; then
10997 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'
10998 # Try to use the -exported_symbol ld option, if it does not
10999 # work, assume that -exports_file does not work either and
11000 # implicitly export all symbols.
11001 save_LDFLAGS
="$LDFLAGS"
11002 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11003 if test x
$gcc_no_link = xyes
; then
11004 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11007 /* end confdefs.h. */
11010 if ac_fn_c_try_link
"$LINENO"; then :
11011 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'
11014 rm -f core conftest.err conftest.
$ac_objext \
11015 conftest
$ac_exeext conftest.
$ac_ext
11016 LDFLAGS
="$save_LDFLAGS"
11018 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'
11019 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'
11021 archive_cmds_need_lc
='no'
11022 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11023 hardcode_libdir_separator
=:
11025 link_all_deplibs
=yes
11029 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11030 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11032 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11034 hardcode_libdir_flag_spec
='-R$libdir'
11035 hardcode_direct
=yes
11036 hardcode_shlibpath_var
=no
11040 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11041 hardcode_direct
=yes
11042 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11043 hardcode_libdir_separator
=:
11044 hardcode_shlibpath_var
=no
11051 if test -f /usr
/libexec
/ld.so
; then
11052 hardcode_direct
=yes
11053 hardcode_shlibpath_var
=no
11054 hardcode_direct_absolute
=yes
11055 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11056 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11057 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11058 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11059 export_dynamic_flag_spec
='${wl}-E'
11062 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11063 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11064 hardcode_libdir_flag_spec
='-R$libdir'
11067 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11068 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11078 hardcode_libdir_flag_spec
='-L$libdir'
11079 hardcode_minus_L
=yes
11080 allow_undefined_flag
=unsupported
11081 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'
11082 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11086 if test "$GCC" = yes; then
11087 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11088 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'
11090 allow_undefined_flag
=' -expect_unresolved \*'
11091 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'
11093 archive_cmds_need_lc
='no'
11094 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11095 hardcode_libdir_separator
=:
11098 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11099 if test "$GCC" = yes; then
11100 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11101 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'
11102 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11104 allow_undefined_flag
=' -expect_unresolved \*'
11105 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'
11106 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~
11107 $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'
11109 # Both c and cxx compiler support -rpath directly
11110 hardcode_libdir_flag_spec
='-rpath $libdir'
11112 archive_cmds_need_lc
='no'
11113 hardcode_libdir_separator
=:
11117 no_undefined_flag
=' -z defs'
11118 if test "$GCC" = yes; then
11120 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11121 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11122 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11124 case `$CC -V 2>&1` in
11127 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11128 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11129 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11133 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11134 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11135 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11139 hardcode_libdir_flag_spec
='-R$libdir'
11140 hardcode_shlibpath_var
=no
11142 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11144 # The compiler driver will combine and reorder linker options,
11145 # but understands `-z linker_flag'. GCC discards it without `$wl',
11146 # but is careful enough not to reorder.
11147 # Supported since Solaris 2.6 (maybe 2.5.1?)
11148 if test "$GCC" = yes; then
11149 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11151 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11155 link_all_deplibs
=yes
11159 if test "x$host_vendor" = xsequent
; then
11160 # Use $CC to link under sequent, because it throws in some extra .o
11161 # files that make .init and .fini sections work.
11162 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11164 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11166 hardcode_libdir_flag_spec
='-L$libdir'
11167 hardcode_direct
=yes
11168 hardcode_minus_L
=yes
11169 hardcode_shlibpath_var
=no
11173 case $host_vendor in
11175 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11176 hardcode_direct
=yes # is this really true???
11179 ## LD is ld it makes a PLAMLIB
11180 ## CC just makes a GrossModule.
11181 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11182 reload_cmds
='$CC -r -o $output$reload_objs'
11186 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11187 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11190 runpath_var
='LD_RUN_PATH'
11191 hardcode_shlibpath_var
=no
11195 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11196 hardcode_shlibpath_var
=no
11197 export_dynamic_flag_spec
='-Bexport'
11201 if test -d /usr
/nec
; then
11202 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11203 hardcode_shlibpath_var
=no
11204 runpath_var
=LD_RUN_PATH
11205 hardcode_runpath_var
=yes
11210 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11211 no_undefined_flag
='${wl}-z,text'
11212 archive_cmds_need_lc
=no
11213 hardcode_shlibpath_var
=no
11214 runpath_var
='LD_RUN_PATH'
11216 if test "$GCC" = yes; then
11217 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11218 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11220 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11221 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11225 sysv5
* | sco3.2v5
* | sco5v6
*)
11226 # Note: We can NOT use -z defs as we might desire, because we do not
11227 # link with -lc, and that would cause any symbols used from libc to
11228 # always be unresolved, which means just about no library would
11229 # ever link correctly. If we're not using GNU ld we use -z text
11230 # though, which does catch some bad symbols but isn't as heavy-handed
11232 no_undefined_flag
='${wl}-z,text'
11233 allow_undefined_flag
='${wl}-z,nodefs'
11234 archive_cmds_need_lc
=no
11235 hardcode_shlibpath_var
=no
11236 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11237 hardcode_libdir_separator
=':'
11238 link_all_deplibs
=yes
11239 export_dynamic_flag_spec
='${wl}-Bexport'
11240 runpath_var
='LD_RUN_PATH'
11242 if test "$GCC" = yes; then
11243 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11244 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11246 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11247 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11252 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11253 hardcode_libdir_flag_spec
='-L$libdir'
11254 hardcode_shlibpath_var
=no
11262 if test x
$host_vendor = xsni
; then
11264 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11265 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11272 $as_echo "$ld_shlibs" >&6; }
11273 test "$ld_shlibs" = no
&& can_build_shared
=no
11275 with_gnu_ld
=$with_gnu_ld
11292 # Do we need to explicitly link libc?
11294 case "x$archive_cmds_need_lc" in
11296 # Assume -lc should be added
11297 archive_cmds_need_lc
=yes
11299 if test "$enable_shared" = yes && test "$GCC" = yes; then
11300 case $archive_cmds in
11302 # FIXME: we may have to deal with multi-command sequences.
11305 # Test whether the compiler implicitly links with -lc since on some
11306 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11307 # to ld, don't add -lc before -lgcc.
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11309 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11310 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11311 $as_echo_n "(cached) " >&6
11314 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11316 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11317 (eval $ac_compile) 2>&5
11319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11320 test $ac_status = 0; } 2>conftest.err
; then
11323 libobjs
=conftest.
$ac_objext
11325 wl
=$lt_prog_compiler_wl
11326 pic_flag
=$lt_prog_compiler_pic
11332 lt_save_allow_undefined_flag
=$allow_undefined_flag
11333 allow_undefined_flag
=
11334 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11335 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11338 test $ac_status = 0; }
11340 lt_cv_archive_cmds_need_lc
=no
11342 lt_cv_archive_cmds_need_lc
=yes
11344 allow_undefined_flag
=$lt_save_allow_undefined_flag
11346 cat conftest.err
1>&5
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11352 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11353 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11517 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11519 if test "$GCC" = yes; then
11521 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11522 *) lt_awk_arg
="/^libraries:/" ;;
11525 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11526 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11528 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11529 case $lt_search_path_spec in
11531 # if the path contains ";" then we assume it to be the separator
11532 # otherwise default to the standard path separator (i.e. ":") - it is
11533 # assumed that no part of a normal pathname contains ";" but that should
11534 # okay in the real world where ";" in dirpaths is itself problematic.
11535 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11538 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11541 # Ok, now we have the path, separated by spaces, we can step through it
11542 # and add multilib dir if necessary.
11543 lt_tmp_lt_search_path_spec
=
11544 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11545 for lt_sys_path
in $lt_search_path_spec; do
11546 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11547 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11549 test -d "$lt_sys_path" && \
11550 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11553 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11554 BEGIN {RS=" "; FS="/|\n";} {
11557 for (lt_i = NF; lt_i > 0; lt_i--) {
11558 if ($lt_i != "" && $lt_i != ".") {
11559 if ($lt_i == "..") {
11562 if (lt_count == 0) {
11563 lt_foo="/" $lt_i lt_foo;
11570 if (lt_foo != "") { lt_freq[lt_foo]++; }
11571 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11573 # AWK program above erroneously prepends '/' to C:/dos/paths
11576 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11577 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11579 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11581 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11583 library_names_spec
=
11584 libname_spec
='lib$name'
11588 postuninstall_cmds
=
11592 shlibpath_overrides_runpath
=unknown
11594 dynamic_linker
="$host_os ld.so"
11595 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11596 need_lib_prefix
=unknown
11597 hardcode_into_libs
=no
11599 # when you set need_version to no, make sure it does not cause -set_version
11600 # flags to be left without arguments
11601 need_version
=unknown
11606 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11607 shlibpath_var
=LIBPATH
11609 # AIX 3 has no versioning support, so we append a major version to the name.
11610 soname_spec
='${libname}${release}${shared_ext}$major'
11617 hardcode_into_libs
=yes
11618 if test "$host_cpu" = ia64
; then
11619 # AIX 5 supports IA64
11620 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11621 shlibpath_var
=LD_LIBRARY_PATH
11623 # With GCC up to 2.95.x, collect2 would create an import file
11624 # for dependence libraries. The import file would start with
11625 # the line `#! .'. This would cause the generated library to
11626 # depend on `.', always an invalid library. This was fixed in
11627 # development snapshots of GCC prior to 3.0.
11629 aix4 | aix4.
[01] | aix4.
[01].
*)
11630 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11632 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11635 can_build_shared
=no
11639 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11640 # soname into executable. Probably we can add versioning support to
11641 # collect2, so additional links can be useful in future.
11642 if test "$aix_use_runtimelinking" = yes; then
11643 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11644 # instead of lib<name>.a to let people know that these are not
11645 # typical AIX shared libraries.
11646 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11648 # We preserve .a as extension for shared libraries through AIX4.2
11649 # and later when we are not doing run time linking.
11650 library_names_spec
='${libname}${release}.a $libname.a'
11651 soname_spec
='${libname}${release}${shared_ext}$major'
11653 shlibpath_var
=LIBPATH
11660 # Since July 2007 AmigaOS4 officially supports .so libraries.
11661 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11662 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11665 library_names_spec
='$libname.ixlibrary $libname.a'
11666 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11667 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'
11673 library_names_spec
='${libname}${shared_ext}'
11674 dynamic_linker
="$host_os ld.so"
11675 shlibpath_var
=LIBRARY_PATH
11681 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11682 soname_spec
='${libname}${release}${shared_ext}$major'
11683 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11684 shlibpath_var
=LD_LIBRARY_PATH
11685 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11686 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11687 # the default ld.so.conf also contains /usr/contrib/lib and
11688 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11689 # libtool to hard-code these into programs
11692 cygwin
* | mingw
* | pw32
* | cegcc
*)
11693 version_type
=windows
11698 case $GCC,$host_os in
11699 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11700 library_names_spec
='$libname.dll.a'
11701 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11702 postinstall_cmds
='base_file=`basename \${file}`~
11703 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11704 dldir=$destdir/`dirname \$dlpath`~
11705 test -d \$dldir || mkdir -p \$dldir~
11706 $install_prog $dir/$dlname \$dldir/$dlname~
11707 chmod a+x \$dldir/$dlname~
11708 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11709 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11711 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11712 dlpath=$dir/\$dldll~
11714 shlibpath_overrides_runpath
=yes
11718 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11719 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11721 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11724 # MinGW DLLs use traditional 'lib' prefix
11725 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11728 # pw32 DLLs use 'pw' prefix rather than 'lib'
11729 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11735 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11738 dynamic_linker
='Win32 ld.exe'
11739 # FIXME: first we should search . and the directory the executable is in
11743 darwin
* | rhapsody
*)
11744 dynamic_linker
="$host_os dyld"
11745 version_type
=darwin
11748 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11749 soname_spec
='${libname}${release}${major}$shared_ext'
11750 shlibpath_overrides_runpath
=yes
11751 shlibpath_var
=DYLD_LIBRARY_PATH
11752 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11754 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11755 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11762 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11763 soname_spec
='${libname}${release}${shared_ext}$major'
11764 shlibpath_var
=LD_LIBRARY_PATH
11767 freebsd
* | dragonfly
*)
11768 # DragonFly does not have aout. When/if they implement a new
11769 # versioning mechanism, adjust this.
11770 if test -x /usr
/bin
/objformat
; then
11771 objformat
=`/usr/bin/objformat`
11774 freebsd
[23].
*) objformat
=aout
;;
11775 *) objformat
=elf
;;
11778 version_type
=freebsd-
$objformat
11779 case $version_type in
11781 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11786 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11790 shlibpath_var
=LD_LIBRARY_PATH
11793 shlibpath_overrides_runpath
=yes
11795 freebsd3.
[01]* | freebsdelf3.
[01]*)
11796 shlibpath_overrides_runpath
=yes
11797 hardcode_into_libs
=yes
11799 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11800 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11801 shlibpath_overrides_runpath
=no
11802 hardcode_into_libs
=yes
11804 *) # from 4.6 on, and DragonFly
11805 shlibpath_overrides_runpath
=yes
11806 hardcode_into_libs
=yes
11815 dynamic_linker
="$host_os runtime_loader"
11816 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11817 soname_spec
='${libname}${release}${shared_ext}$major'
11818 shlibpath_var
=LIBRARY_PATH
11819 shlibpath_overrides_runpath
=yes
11820 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11821 hardcode_into_libs
=yes
11824 hpux9
* | hpux10
* | hpux11
*)
11825 # Give a soname corresponding to the major version so that dld.sl refuses to
11826 # link against other versions.
11833 hardcode_into_libs
=yes
11834 dynamic_linker
="$host_os dld.so"
11835 shlibpath_var
=LD_LIBRARY_PATH
11836 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11837 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11838 soname_spec
='${libname}${release}${shared_ext}$major'
11839 if test "X$HPUX_IA64_MODE" = X32
; then
11840 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11842 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11844 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11848 hardcode_into_libs
=yes
11849 dynamic_linker
="$host_os dld.sl"
11850 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11851 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11852 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11853 soname_spec
='${libname}${release}${shared_ext}$major'
11854 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11855 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11859 dynamic_linker
="$host_os dld.sl"
11860 shlibpath_var
=SHLIB_PATH
11861 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11862 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11863 soname_spec
='${libname}${release}${shared_ext}$major'
11866 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11867 postinstall_cmds
='chmod 555 $lib'
11868 # or fails outright, so override atomically:
11869 install_override_mode
=555
11876 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11877 soname_spec
='${libname}${release}${shared_ext}$major'
11878 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11879 shlibpath_var
=LD_LIBRARY_PATH
11880 shlibpath_overrides_runpath
=no
11881 hardcode_into_libs
=yes
11884 irix5
* | irix6
* | nonstopux
*)
11886 nonstopux
*) version_type
=nonstopux
;;
11888 if test "$lt_cv_prog_gnu_ld" = yes; then
11896 soname_spec
='${libname}${release}${shared_ext}$major'
11897 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11899 irix5
* | nonstopux
*)
11900 libsuff
= shlibsuff
=
11903 case $LD in # libtool.m4 will add one of these switches to LD
11904 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11905 libsuff
= shlibsuff
= libmagic
=32-bit;;
11906 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11907 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11908 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11909 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11910 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11914 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11915 shlibpath_overrides_runpath
=no
11916 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11917 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11918 hardcode_into_libs
=yes
11921 # No shared lib support for Linux oldld, aout, or coff.
11922 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11926 # This must be Linux ELF.
11928 # uclinux* changes (here and below) have been submitted to the libtool
11929 # project, but have not yet been accepted: they are GCC-local changes
11930 # for the time being. (See
11931 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11932 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
11936 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11937 soname_spec
='${libname}${release}${shared_ext}$major'
11938 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11939 shlibpath_var
=LD_LIBRARY_PATH
11940 shlibpath_overrides_runpath
=no
11942 # Some binutils ld are patched to set DT_RUNPATH
11943 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11944 $as_echo_n "(cached) " >&6
11946 lt_cv_shlibpath_overrides_runpath
=no
11947 save_LDFLAGS
=$LDFLAGS
11948 save_libdir
=$libdir
11949 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11950 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11951 if test x
$gcc_no_link = xyes
; then
11952 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11955 /* end confdefs.h. */
11965 if ac_fn_c_try_link
"$LINENO"; then :
11966 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11967 lt_cv_shlibpath_overrides_runpath
=yes
11970 rm -f core conftest.err conftest.
$ac_objext \
11971 conftest
$ac_exeext conftest.
$ac_ext
11972 LDFLAGS
=$save_LDFLAGS
11973 libdir
=$save_libdir
11977 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11979 # This implies no fast_install, which is unacceptable.
11980 # Some rework will be needed to allow for fast_install
11981 # before this can be enabled.
11982 hardcode_into_libs
=yes
11984 # Append ld.so.conf contents to the search path
11985 if test -f /etc
/ld.so.conf
; then
11986 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' ' '`
11987 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11990 # We used to test for /lib/ld.so.1 and disable shared libraries on
11991 # powerpc, because MkLinux only supported shared libraries with the
11992 # GNU dynamic linker. Since this was broken with cross compilers,
11993 # most powerpc-linux boxes support dynamic linking these days and
11994 # people can always --disable-shared, the test was removed, and we
11995 # assume the GNU/Linux dynamic linker is in use.
11996 dynamic_linker
='GNU/Linux ld.so'
12003 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12004 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12005 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12006 dynamic_linker
='NetBSD (a.out) ld.so'
12008 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12009 soname_spec
='${libname}${release}${shared_ext}$major'
12010 dynamic_linker
='NetBSD ld.elf_so'
12012 shlibpath_var
=LD_LIBRARY_PATH
12013 shlibpath_overrides_runpath
=yes
12014 hardcode_into_libs
=yes
12019 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12020 shlibpath_var
=LD_LIBRARY_PATH
12021 shlibpath_overrides_runpath
=yes
12028 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12029 soname_spec
='${libname}${release}${shared_ext}$major'
12030 shlibpath_var
=LD_LIBRARY_PATH
12031 shlibpath_overrides_runpath
=no
12032 hardcode_into_libs
=yes
12033 dynamic_linker
='ldqnx.so'
12038 sys_lib_dlsearch_path_spec
="/usr/lib"
12040 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12042 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12043 *) need_version
=no
;;
12045 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12046 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12047 shlibpath_var
=LD_LIBRARY_PATH
12048 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12050 openbsd2.
[89] | openbsd2.
[89].
*)
12051 shlibpath_overrides_runpath
=no
12054 shlibpath_overrides_runpath
=yes
12058 shlibpath_overrides_runpath
=yes
12063 libname_spec
='$name'
12066 library_names_spec
='$libname${shared_ext} $libname.a'
12067 dynamic_linker
='OS/2 ld.exe'
12068 shlibpath_var
=LIBPATH
12071 osf3
* | osf4
* | osf5
*)
12075 soname_spec
='${libname}${release}${shared_ext}$major'
12076 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12077 shlibpath_var
=LD_LIBRARY_PATH
12078 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12079 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12090 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12091 soname_spec
='${libname}${release}${shared_ext}$major'
12092 shlibpath_var
=LD_LIBRARY_PATH
12093 shlibpath_overrides_runpath
=yes
12094 hardcode_into_libs
=yes
12095 # ldd complains unless libraries are executable
12096 postinstall_cmds
='chmod +x $lib'
12101 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12102 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12103 shlibpath_var
=LD_LIBRARY_PATH
12104 shlibpath_overrides_runpath
=yes
12105 if test "$with_gnu_ld" = yes; then
12113 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12114 soname_spec
='${libname}${release}${shared_ext}$major'
12115 shlibpath_var
=LD_LIBRARY_PATH
12116 case $host_vendor in
12118 shlibpath_overrides_runpath
=no
12120 runpath_var
=LD_RUN_PATH
12128 shlibpath_overrides_runpath
=no
12129 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12135 if test -d /usr
/nec
;then
12137 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12138 soname_spec
='$libname${shared_ext}.$major'
12139 shlibpath_var
=LD_LIBRARY_PATH
12143 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12144 version_type
=freebsd-elf
12147 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12148 soname_spec
='${libname}${release}${shared_ext}$major'
12149 shlibpath_var
=LD_LIBRARY_PATH
12150 shlibpath_overrides_runpath
=yes
12151 hardcode_into_libs
=yes
12152 if test "$with_gnu_ld" = yes; then
12153 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12155 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12158 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12162 sys_lib_dlsearch_path_spec
='/usr/lib'
12166 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12170 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12171 shlibpath_var
=LD_LIBRARY_PATH
12172 shlibpath_overrides_runpath
=no
12173 hardcode_into_libs
=yes
12178 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12179 soname_spec
='${libname}${release}${shared_ext}$major'
12180 shlibpath_var
=LD_LIBRARY_PATH
12183 # Shared libraries for VwWorks, >= 7 only at this stage
12184 # and (fpic) still incompatible with "large" code models
12185 # in a few configurations. Only for RTP mode in any case,
12186 # and upon explicit request at configure time.
12189 case ${with_multisubdir}-${enable_shared} in
12196 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12197 soname_spec
='${libname}${release}${shared_ext}$major'
12198 dynamic_linker
="$host_os module_loader"
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12207 $as_echo "$dynamic_linker" >&6; }
12208 test "$dynamic_linker" = no
&& can_build_shared
=no
12210 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12211 if test "$GCC" = yes; then
12212 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12215 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12216 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12218 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12219 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12314 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12316 if test -n "$hardcode_libdir_flag_spec" ||
12317 test -n "$runpath_var" ||
12318 test "X$hardcode_automatic" = "Xyes" ; then
12320 # We can hardcode non-existent directories.
12321 if test "$hardcode_direct" != no
&&
12322 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12323 # have to relink, otherwise we might link with an installed library
12324 # when we should be linking with a yet-to-be-installed one
12325 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12326 test "$hardcode_minus_L" != no
; then
12327 # Linking always hardcodes the temporary library directory.
12328 hardcode_action
=relink
12330 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12331 hardcode_action
=immediate
12334 # We cannot hardcode anything, or else we can only hardcode existing
12336 hardcode_action
=unsupported
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12339 $as_echo "$hardcode_action" >&6; }
12341 if test "$hardcode_action" = relink ||
12342 test "$inherit_rpath" = yes; then
12343 # Fast installation is not supported
12344 enable_fast_install
=no
12345 elif test "$shlibpath_overrides_runpath" = yes ||
12346 test "$enable_shared" = no
; then
12347 # Fast installation is not necessary
12348 enable_fast_install
=needless
12356 if test "x$enable_dlopen" != xyes
; then
12357 enable_dlopen
=unknown
12358 enable_dlopen_self
=unknown
12359 enable_dlopen_self_static
=unknown
12366 lt_cv_dlopen
="load_add_on"
12368 lt_cv_dlopen_self
=yes
12371 mingw
* | pw32
* | cegcc
*)
12372 lt_cv_dlopen
="LoadLibrary"
12377 lt_cv_dlopen
="dlopen"
12382 # if libdl is installed we need to link against it
12383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12384 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12385 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12386 $as_echo_n "(cached) " >&6
12388 ac_check_lib_save_LIBS
=$LIBS
12390 if test x
$gcc_no_link = xyes
; then
12391 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12394 /* end confdefs.h. */
12396 /* Override any GCC internal prototype to avoid an error.
12397 Use char because int might match the return type of a GCC
12398 builtin and then its argument prototype would still apply. */
12411 if ac_fn_c_try_link
"$LINENO"; then :
12412 ac_cv_lib_dl_dlopen
=yes
12414 ac_cv_lib_dl_dlopen
=no
12416 rm -f core conftest.err conftest.
$ac_objext \
12417 conftest
$ac_exeext conftest.
$ac_ext
12418 LIBS
=$ac_check_lib_save_LIBS
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12421 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12422 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12423 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12426 lt_cv_dlopen
="dyld"
12428 lt_cv_dlopen_self
=yes
12435 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12436 if test "x$ac_cv_func_shl_load" = xyes
; then :
12437 lt_cv_dlopen
="shl_load"
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12440 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12441 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12442 $as_echo_n "(cached) " >&6
12444 ac_check_lib_save_LIBS
=$LIBS
12446 if test x
$gcc_no_link = xyes
; then
12447 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12450 /* end confdefs.h. */
12452 /* Override any GCC internal prototype to avoid an error.
12453 Use char because int might match the return type of a GCC
12454 builtin and then its argument prototype would still apply. */
12462 return shl_load ();
12467 if ac_fn_c_try_link
"$LINENO"; then :
12468 ac_cv_lib_dld_shl_load
=yes
12470 ac_cv_lib_dld_shl_load
=no
12472 rm -f core conftest.err conftest.
$ac_objext \
12473 conftest
$ac_exeext conftest.
$ac_ext
12474 LIBS
=$ac_check_lib_save_LIBS
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12477 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12478 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12479 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12481 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12482 if test "x$ac_cv_func_dlopen" = xyes
; then :
12483 lt_cv_dlopen
="dlopen"
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12486 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12487 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12488 $as_echo_n "(cached) " >&6
12490 ac_check_lib_save_LIBS
=$LIBS
12492 if test x
$gcc_no_link = xyes
; then
12493 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12496 /* end confdefs.h. */
12498 /* Override any GCC internal prototype to avoid an error.
12499 Use char because int might match the return type of a GCC
12500 builtin and then its argument prototype would still apply. */
12513 if ac_fn_c_try_link
"$LINENO"; then :
12514 ac_cv_lib_dl_dlopen
=yes
12516 ac_cv_lib_dl_dlopen
=no
12518 rm -f core conftest.err conftest.
$ac_objext \
12519 conftest
$ac_exeext conftest.
$ac_ext
12520 LIBS
=$ac_check_lib_save_LIBS
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12523 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12524 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12525 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12528 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12529 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12530 $as_echo_n "(cached) " >&6
12532 ac_check_lib_save_LIBS
=$LIBS
12533 LIBS
="-lsvld $LIBS"
12534 if test x
$gcc_no_link = xyes
; then
12535 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12538 /* end confdefs.h. */
12540 /* Override any GCC internal prototype to avoid an error.
12541 Use char because int might match the return type of a GCC
12542 builtin and then its argument prototype would still apply. */
12555 if ac_fn_c_try_link
"$LINENO"; then :
12556 ac_cv_lib_svld_dlopen
=yes
12558 ac_cv_lib_svld_dlopen
=no
12560 rm -f core conftest.err conftest.
$ac_objext \
12561 conftest
$ac_exeext conftest.
$ac_ext
12562 LIBS
=$ac_check_lib_save_LIBS
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12565 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12566 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12567 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12570 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12571 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12572 $as_echo_n "(cached) " >&6
12574 ac_check_lib_save_LIBS
=$LIBS
12576 if test x
$gcc_no_link = xyes
; then
12577 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12580 /* end confdefs.h. */
12582 /* Override any GCC internal prototype to avoid an error.
12583 Use char because int might match the return type of a GCC
12584 builtin and then its argument prototype would still apply. */
12592 return dld_link ();
12597 if ac_fn_c_try_link
"$LINENO"; then :
12598 ac_cv_lib_dld_dld_link
=yes
12600 ac_cv_lib_dld_dld_link
=no
12602 rm -f core conftest.err conftest.
$ac_objext \
12603 conftest
$ac_exeext conftest.
$ac_ext
12604 LIBS
=$ac_check_lib_save_LIBS
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12607 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12608 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12609 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12630 if test "x$lt_cv_dlopen" != xno
; then
12636 case $lt_cv_dlopen in
12638 save_CPPFLAGS
="$CPPFLAGS"
12639 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12641 save_LDFLAGS
="$LDFLAGS"
12642 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12645 LIBS
="$lt_cv_dlopen_libs $LIBS"
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12648 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12649 if ${lt_cv_dlopen_self+:} false
; then :
12650 $as_echo_n "(cached) " >&6
12652 if test "$cross_compiling" = yes; then :
12653 lt_cv_dlopen_self
=cross
12655 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12656 lt_status
=$lt_dlunknown
12657 cat > conftest.
$ac_ext <<_LT_EOF
12658 #line 12658 "configure"
12659 #include "confdefs.h"
12668 # define LT_DLGLOBAL RTLD_GLOBAL
12671 # define LT_DLGLOBAL DL_GLOBAL
12673 # define LT_DLGLOBAL 0
12677 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12678 find out it does not work in some platform. */
12679 #ifndef LT_DLLAZY_OR_NOW
12681 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12684 # define LT_DLLAZY_OR_NOW DL_LAZY
12687 # define LT_DLLAZY_OR_NOW RTLD_NOW
12690 # define LT_DLLAZY_OR_NOW DL_NOW
12692 # define LT_DLLAZY_OR_NOW 0
12699 /* When -fvisbility=hidden is used, assume the code has been annotated
12700 correspondingly for the symbols needed. */
12701 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12702 void fnord () __attribute__((visibility("default")));
12705 void fnord () { int i=42; }
12708 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12709 int status = $lt_dlunknown;
12713 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12716 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12717 else puts (dlerror ());
12719 /* dlclose (self); */
12727 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12728 (eval $ac_link) 2>&5
12730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12731 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12732 (.
/conftest
; exit; ) >&5 2>/dev
/null
12734 case x
$lt_status in
12735 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12736 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12737 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12740 # compilation failed
12741 lt_cv_dlopen_self
=no
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12749 $as_echo "$lt_cv_dlopen_self" >&6; }
12751 if test "x$lt_cv_dlopen_self" = xyes
; then
12752 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12754 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12755 if ${lt_cv_dlopen_self_static+:} false
; then :
12756 $as_echo_n "(cached) " >&6
12758 if test "$cross_compiling" = yes; then :
12759 lt_cv_dlopen_self_static
=cross
12761 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12762 lt_status
=$lt_dlunknown
12763 cat > conftest.
$ac_ext <<_LT_EOF
12764 #line 12764 "configure"
12765 #include "confdefs.h"
12774 # define LT_DLGLOBAL RTLD_GLOBAL
12777 # define LT_DLGLOBAL DL_GLOBAL
12779 # define LT_DLGLOBAL 0
12783 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12784 find out it does not work in some platform. */
12785 #ifndef LT_DLLAZY_OR_NOW
12787 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12790 # define LT_DLLAZY_OR_NOW DL_LAZY
12793 # define LT_DLLAZY_OR_NOW RTLD_NOW
12796 # define LT_DLLAZY_OR_NOW DL_NOW
12798 # define LT_DLLAZY_OR_NOW 0
12805 /* When -fvisbility=hidden is used, assume the code has been annotated
12806 correspondingly for the symbols needed. */
12807 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12808 void fnord () __attribute__((visibility("default")));
12811 void fnord () { int i=42; }
12814 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12815 int status = $lt_dlunknown;
12819 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12822 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12823 else puts (dlerror ());
12825 /* dlclose (self); */
12833 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12834 (eval $ac_link) 2>&5
12836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12837 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12838 (.
/conftest
; exit; ) >&5 2>/dev
/null
12840 case x
$lt_status in
12841 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12842 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12843 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12846 # compilation failed
12847 lt_cv_dlopen_self_static
=no
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12855 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12858 CPPFLAGS
="$save_CPPFLAGS"
12859 LDFLAGS
="$save_LDFLAGS"
12864 case $lt_cv_dlopen_self in
12865 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12866 *) enable_dlopen_self
=unknown
;;
12869 case $lt_cv_dlopen_self_static in
12870 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12871 *) enable_dlopen_self_static
=unknown
;;
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12894 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12895 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12896 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12897 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12899 $as_echo "yes" >&6; }
12901 # FIXME - insert some real tests, host_os isn't really good enough
12904 if test -n "$STRIP" ; then
12905 striplib
="$STRIP -x"
12906 old_striplib
="$STRIP -S"
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12908 $as_echo "yes" >&6; }
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12911 $as_echo "no" >&6; }
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12916 $as_echo "no" >&6; }
12932 # Report which library types will actually be built
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12934 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12936 $as_echo "$can_build_shared" >&6; }
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12939 $as_echo_n "checking whether to build shared libraries... " >&6; }
12940 test "$can_build_shared" = "no" && enable_shared
=no
12942 # On AIX, shared libraries and static libraries use the same namespace, and
12943 # are all built from PIC.
12946 test "$enable_shared" = yes && enable_static
=no
12947 if test -n "$RANLIB"; then
12948 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12949 postinstall_cmds
='$RANLIB $lib'
12954 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12955 test "$enable_shared" = yes && enable_static
=no
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12960 $as_echo "$enable_shared" >&6; }
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12963 $as_echo_n "checking whether to build static libraries... " >&6; }
12964 # Make sure either enable_shared or enable_static is yes.
12965 test "$enable_shared" = yes || enable_static
=yes
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12967 $as_echo "$enable_static" >&6; }
12974 ac_cpp
='$CPP $CPPFLAGS'
12975 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12976 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12977 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12981 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12982 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12983 (test "X$CXX" != "Xg++"))) ; then
12985 ac_cpp
='$CXXCPP $CPPFLAGS'
12986 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12987 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12988 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12990 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12991 if test -z "$CXXCPP"; then
12992 if ${ac_cv_prog_CXXCPP+:} false
; then :
12993 $as_echo_n "(cached) " >&6
12995 # Double quotes because CXXCPP needs to be expanded
12996 for CXXCPP
in "$CXX -E" "/lib/cpp"
12998 ac_preproc_ok
=false
12999 for ac_cxx_preproc_warn_flag
in '' yes
13001 # Use a header file that comes with gcc, so configuring glibc
13002 # with a fresh cross-compiler works.
13003 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13004 # <limits.h> exists even on freestanding compilers.
13005 # On the NeXT, cc -E runs the code through the compiler's parser,
13006 # not just through cpp. "Syntax error" is here to catch this case.
13007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13008 /* end confdefs.h. */
13010 # include <limits.h>
13012 # include <assert.h>
13016 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13019 # Broken: fails on valid input.
13022 rm -f conftest.err conftest.i conftest.
$ac_ext
13024 # OK, works on sane cases. Now check whether nonexistent headers
13025 # can be detected and how.
13026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13027 /* end confdefs.h. */
13028 #include <ac_nonexistent.h>
13030 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13031 # Broken: success on invalid input.
13034 # Passes both tests.
13038 rm -f conftest.err conftest.i conftest.
$ac_ext
13041 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13042 rm -f conftest.i conftest.err conftest.
$ac_ext
13043 if $ac_preproc_ok; then :
13048 ac_cv_prog_CXXCPP
=$CXXCPP
13051 CXXCPP
=$ac_cv_prog_CXXCPP
13053 ac_cv_prog_CXXCPP
=$CXXCPP
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13056 $as_echo "$CXXCPP" >&6; }
13057 ac_preproc_ok
=false
13058 for ac_cxx_preproc_warn_flag
in '' yes
13060 # Use a header file that comes with gcc, so configuring glibc
13061 # with a fresh cross-compiler works.
13062 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13063 # <limits.h> exists even on freestanding compilers.
13064 # On the NeXT, cc -E runs the code through the compiler's parser,
13065 # not just through cpp. "Syntax error" is here to catch this case.
13066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13067 /* end confdefs.h. */
13069 # include <limits.h>
13071 # include <assert.h>
13075 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13078 # Broken: fails on valid input.
13081 rm -f conftest.err conftest.i conftest.
$ac_ext
13083 # OK, works on sane cases. Now check whether nonexistent headers
13084 # can be detected and how.
13085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13086 /* end confdefs.h. */
13087 #include <ac_nonexistent.h>
13089 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13090 # Broken: success on invalid input.
13093 # Passes both tests.
13097 rm -f conftest.err conftest.i conftest.
$ac_ext
13100 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13101 rm -f conftest.i conftest.err conftest.
$ac_ext
13102 if $ac_preproc_ok; then :
13105 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13107 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
13108 See \`config.log' for more details" "$LINENO" 5; }
13112 ac_cpp
='$CPP $CPPFLAGS'
13113 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13114 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13115 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13118 _lt_caught_CXX_error
=yes
13122 ac_cpp
='$CXXCPP $CPPFLAGS'
13123 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13124 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13125 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13127 archive_cmds_need_lc_CXX
=no
13128 allow_undefined_flag_CXX
=
13129 always_export_symbols_CXX
=no
13130 archive_expsym_cmds_CXX
=
13131 compiler_needs_object_CXX
=no
13132 export_dynamic_flag_spec_CXX
=
13133 hardcode_direct_CXX
=no
13134 hardcode_direct_absolute_CXX
=no
13135 hardcode_libdir_flag_spec_CXX
=
13136 hardcode_libdir_flag_spec_ld_CXX
=
13137 hardcode_libdir_separator_CXX
=
13138 hardcode_minus_L_CXX
=no
13139 hardcode_shlibpath_var_CXX
=unsupported
13140 hardcode_automatic_CXX
=no
13141 inherit_rpath_CXX
=no
13143 module_expsym_cmds_CXX
=
13144 link_all_deplibs_CXX
=unknown
13145 old_archive_cmds_CXX
=$old_archive_cmds
13146 reload_flag_CXX
=$reload_flag
13147 reload_cmds_CXX
=$reload_cmds
13148 no_undefined_flag_CXX
=
13149 whole_archive_flag_spec_CXX
=
13150 enable_shared_with_static_runtimes_CXX
=no
13152 # Source file extension for C++ test sources.
13155 # Object file extension for compiled C++ test sources.
13159 # No sense in running all these tests if we already determined that
13160 # the CXX compiler isn't working. Some variables (like enable_shared)
13161 # are currently assumed to apply to all compilers on this platform,
13162 # and will be corrupted by setting them based on a non-working compiler.
13163 if test "$_lt_caught_CXX_error" != yes; then
13164 # Code to be used in simple compile tests
13165 lt_simple_compile_test_code
="int some_variable = 0;"
13167 # Code to be used in simple link tests
13168 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13170 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13177 # If no C compiler was specified, use CC.
13180 # If no C compiler flags were specified, use CFLAGS.
13181 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13183 # Allow CC to be a program name with arguments.
13187 # save warnings/boilerplate of simple test code
13188 ac_outfile
=conftest.
$ac_objext
13189 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13190 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13191 _lt_compiler_boilerplate
=`cat conftest.err`
13194 ac_outfile
=conftest.
$ac_objext
13195 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13196 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13197 _lt_linker_boilerplate
=`cat conftest.err`
13201 # Allow CC to be a program name with arguments.
13206 lt_save_with_gnu_ld
=$with_gnu_ld
13207 lt_save_path_LD
=$lt_cv_path_LD
13208 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13209 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13211 $as_unset lt_cv_prog_gnu_ld
13213 if test -n "${lt_cv_path_LDCXX+set}"; then
13214 lt_cv_path_LD
=$lt_cv_path_LDCXX
13216 $as_unset lt_cv_path_LD
13218 test -z "${LDCXX+set}" || LD
=$LDCXX
13222 for cc_temp
in $compiler""; do
13224 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13225 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13230 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13233 if test -n "$compiler"; then
13234 # We don't want -fno-exception when compiling C++ code, so set the
13235 # no_builtin_flag separately
13236 if test "$GXX" = yes; then
13237 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13239 lt_prog_compiler_no_builtin_flag_CXX
=
13242 if test "$GXX" = yes; then
13243 # Set up default GNU C++ configuration
13247 # Check whether --with-gnu-ld was given.
13248 if test "${with_gnu_ld+set}" = set; then :
13249 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13255 if test "$GCC" = yes; then
13256 # Check if gcc -print-prog-name=ld gives a path.
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13258 $as_echo_n "checking for ld used by $CC... " >&6; }
13261 # gcc leaves a trailing carriage return which upsets mingw
13262 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13264 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13267 # Accept absolute paths.
13269 re_direlt
='/[^/][^/]*/\.\./'
13270 # Canonicalize the pathname of ld
13271 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13272 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13273 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13275 test -z "$LD" && LD
="$ac_prog"
13278 # If it fails, then pretend we aren't using GCC.
13282 # If it is relative, then search for the first ld in PATH.
13283 with_gnu_ld
=unknown
13286 elif test "$with_gnu_ld" = yes; then
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13288 $as_echo_n "checking for GNU ld... " >&6; }
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13291 $as_echo_n "checking for non-GNU ld... " >&6; }
13293 if ${lt_cv_path_LD+:} false
; then :
13294 $as_echo_n "(cached) " >&6
13296 if test -z "$LD"; then
13297 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13298 for ac_dir
in $PATH; do
13300 test -z "$ac_dir" && ac_dir
=.
13301 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13302 lt_cv_path_LD
="$ac_dir/$ac_prog"
13303 # Check to see if the program is GNU ld. I'd rather use --version,
13304 # but apparently some variants of GNU ld only accept -v.
13305 # Break only if it was the GNU/non-GNU ld that we prefer.
13306 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13307 *GNU
* |
*'with BFD'*)
13308 test "$with_gnu_ld" != no
&& break
13311 test "$with_gnu_ld" != yes && break
13318 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13322 LD
="$lt_cv_path_LD"
13323 if test -n "$LD"; then
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13325 $as_echo "$LD" >&6; }
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13328 $as_echo "no" >&6; }
13330 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13332 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13333 if ${lt_cv_prog_gnu_ld+:} false
; then :
13334 $as_echo_n "(cached) " >&6
13336 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13337 case `$LD -v 2>&1 </dev/null` in
13338 *GNU
* |
*'with BFD'*)
13339 lt_cv_prog_gnu_ld
=yes
13342 lt_cv_prog_gnu_ld
=no
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13347 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13348 with_gnu_ld
=$lt_cv_prog_gnu_ld
13356 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13357 # archiving commands below assume that GNU ld is being used.
13358 if test "$with_gnu_ld" = yes; then
13359 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13360 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'
13362 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13363 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13365 # If archive_cmds runs LD, not CC, wlarc should be empty
13366 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13367 # investigate it a little bit more. (MM)
13370 # ancient GNU ld didn't support --whole-archive et. al.
13371 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13372 $GREP 'no-whole-archive' > /dev
/null
; then
13373 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13375 whole_archive_flag_spec_CXX
=
13381 # A generic and very simple default shared library creation
13382 # command for GNU C++ for the case where it uses the native
13383 # linker, instead of GNU ld. If possible, this setting should
13384 # overridden to take advantage of the native linker features on
13385 # the platform it is being used on.
13386 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13389 # Commands to make compiler produce verbose output that lists
13390 # what "hidden" libraries, object files and flags are used when
13391 # linking a shared library.
13392 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13400 # PORTME: fill in a description of your system's C++ link characteristics
13401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13402 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13406 # FIXME: insert proper C++ library support
13410 if test "$host_cpu" = ia64
; then
13411 # On IA64, the linker does run time linking by default, so we don't
13412 # have to do anything special.
13413 aix_use_runtimelinking
=no
13414 exp_sym_flag
='-Bexport'
13417 aix_use_runtimelinking
=no
13419 # Test if we are trying to use run time linking or normal
13420 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13421 # need to do runtime linking.
13422 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13423 for ld_flag
in $LDFLAGS; do
13426 aix_use_runtimelinking
=yes
13434 exp_sym_flag
='-bexport'
13435 no_entry_flag
='-bnoentry'
13438 # When large executables or shared objects are built, AIX ld can
13439 # have problems creating the table of contents. If linking a library
13440 # or program results in "error TOC overflow" add -mminimal-toc to
13441 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13442 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13444 archive_cmds_CXX
=''
13445 hardcode_direct_CXX
=yes
13446 hardcode_direct_absolute_CXX
=yes
13447 hardcode_libdir_separator_CXX
=':'
13448 link_all_deplibs_CXX
=yes
13449 file_list_spec_CXX
='${wl}-f,'
13451 if test "$GXX" = yes; then
13452 case $host_os in aix4.
[012]|aix4.
[012].
*)
13453 # We only want to do this on AIX 4.2 and lower, the check
13454 # below for broken collect2 doesn't work under 4.3+
13455 collect2name
=`${CC} -print-prog-name=collect2`
13456 if test -f "$collect2name" &&
13457 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13459 # We have reworked collect2
13462 # We have old collect2
13463 hardcode_direct_CXX
=unsupported
13464 # It fails to find uninstalled libraries when the uninstalled
13465 # path is not listed in the libpath. Setting hardcode_minus_L
13466 # to unsupported forces relinking
13467 hardcode_minus_L_CXX
=yes
13468 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13469 hardcode_libdir_separator_CXX
=
13472 shared_flag
='-shared'
13473 if test "$aix_use_runtimelinking" = yes; then
13474 shared_flag
="$shared_flag "'${wl}-G'
13478 if test "$host_cpu" = ia64
; then
13479 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13480 # chokes on -Wl,-G. The following line is correct:
13483 if test "$aix_use_runtimelinking" = yes; then
13484 shared_flag
='${wl}-G'
13486 shared_flag
='${wl}-bM:SRE'
13491 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13492 # It seems that -bexpall does not export symbols beginning with
13493 # underscore (_), so it is better to generate a list of symbols to
13495 always_export_symbols_CXX
=yes
13496 if test "$aix_use_runtimelinking" = yes; then
13497 # Warning - without using the other runtime loading flags (-brtl),
13498 # -berok will link without error, but may produce a broken library.
13499 allow_undefined_flag_CXX
='-berok'
13500 # Determine the default libpath from the value encoded in an empty
13502 if test x
$gcc_no_link = xyes
; then
13503 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13506 /* end confdefs.h. */
13516 if ac_fn_cxx_try_link
"$LINENO"; then :
13518 lt_aix_libpath_sed
='
13519 /Import File Strings/,/^$/ {
13525 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13526 # Check for a 64-bit object if we didn't find anything.
13527 if test -z "$aix_libpath"; then
13528 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13531 rm -f core conftest.err conftest.
$ac_objext \
13532 conftest
$ac_exeext conftest.
$ac_ext
13533 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13535 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13537 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"
13539 if test "$host_cpu" = ia64
; then
13540 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13541 allow_undefined_flag_CXX
="-z nodefs"
13542 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"
13544 # Determine the default libpath from the value encoded in an
13545 # empty executable.
13546 if test x
$gcc_no_link = xyes
; then
13547 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13550 /* end confdefs.h. */
13560 if ac_fn_cxx_try_link
"$LINENO"; then :
13562 lt_aix_libpath_sed
='
13563 /Import File Strings/,/^$/ {
13569 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13570 # Check for a 64-bit object if we didn't find anything.
13571 if test -z "$aix_libpath"; then
13572 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13575 rm -f core conftest.err conftest.
$ac_objext \
13576 conftest
$ac_exeext conftest.
$ac_ext
13577 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13579 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13580 # Warning - without using the other run time loading flags,
13581 # -berok will link without error, but may produce a broken library.
13582 no_undefined_flag_CXX
=' ${wl}-bernotok'
13583 allow_undefined_flag_CXX
=' ${wl}-berok'
13584 if test "$with_gnu_ld" = yes; then
13585 # We only use this code for GNU lds that support --whole-archive.
13586 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13588 # Exported symbols can be pulled into shared objects from archives
13589 whole_archive_flag_spec_CXX
='$convenience'
13591 archive_cmds_need_lc_CXX
=yes
13592 # This is similar to how AIX traditionally builds its shared
13594 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'
13600 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13601 allow_undefined_flag_CXX
=unsupported
13602 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13603 # support --undefined. This deserves some investigation. FIXME
13604 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13611 case $cc_basename in
13613 # FIXME: insert proper C++ library support
13619 cygwin
* | mingw
* | pw32
* | cegcc
*)
13620 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13621 # as there is no search path for DLLs.
13622 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13623 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13624 allow_undefined_flag_CXX
=unsupported
13625 always_export_symbols_CXX
=no
13626 enable_shared_with_static_runtimes_CXX
=yes
13628 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13629 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'
13630 # If the export-symbols file already is a .def file (1st line
13631 # is EXPORTS), use it as is; otherwise, prepend...
13632 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13633 cp $export_symbols $output_objdir/$soname.def;
13635 echo EXPORTS > $output_objdir/$soname.def;
13636 cat $export_symbols >> $output_objdir/$soname.def;
13638 $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'
13643 darwin
* | rhapsody
*)
13647 # Publish an arg to allow the user to select that Darwin host (and target)
13648 # libraries should be given install-names like @rpath/libfoo.dylib. This
13649 # requires that the user of the library then adds an 'rpath' to the DSO that
13651 # NOTE: there are defaults below, for systems that support rpaths. The person
13652 # configuring can override the defaults for any system version that supports
13653 # them - they are, however, forced off for system versions without support.
13654 # Check whether --enable-darwin-at-rpath was given.
13655 if test "${enable_darwin_at_rpath+set}" = set; then :
13656 enableval
=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
13657 # This is not supported before macOS 10.5 / Darwin9.
13658 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
13659 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
13661 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
13662 enable_darwin_at_rpath
=no
13667 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
13668 # As above, before 10.5 / Darwin9 this does not work.
13669 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
13670 enable_darwin_at_rpath
=no
13673 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
13674 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
13675 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
13676 UNSET
,darwin1
[5-9]*|UNSET
,darwin2
*|
10.1[1-9][,.
]*|
1[1-9].
*[,.
]* )
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
13678 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
13679 enable_darwin_at_rpath
=yes
13681 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
13682 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
13689 archive_cmds_need_lc_CXX
=no
13690 hardcode_direct_CXX
=no
13691 hardcode_automatic_CXX
=yes
13692 hardcode_shlibpath_var_CXX
=unsupported
13693 if test "$lt_cv_ld_force_load" = "yes"; then
13694 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\"`'
13696 whole_archive_flag_spec_CXX
=''
13698 link_all_deplibs_CXX
=yes
13699 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13700 case $cc_basename in
13701 ifort
*) _lt_dar_can_shared
=yes ;;
13702 *) _lt_dar_can_shared
=$GCC ;;
13704 if test "$_lt_dar_can_shared" = "yes"; then
13705 output_verbose_link_cmd
=func_echo_all
13706 _lt_install_name
='\$rpath/\$soname'
13707 if test "x$enable_darwin_at_rpath" = "xyes"; then
13708 _lt_install_name
='@rpath/\$soname'
13710 archive_cmds_CXX
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
13711 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13712 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 ${_lt_install_name} \$verstring ${_lt_dar_export_syms}${_lt_dsymutil}"
13713 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}"
13714 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13715 _lt_install_name
='\$rpath/\$soname'
13716 if test "x$enable_darwin_at_rpath" = "xyes"; then
13717 _lt_install_name
='@rpath/\$soname'
13719 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 ${_lt_install_name} \$verstring${_lt_dsymutil}"
13720 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}"
13730 case $cc_basename in
13732 # FIXME: insert proper C++ library support
13736 # Green Hills C++ Compiler
13737 # FIXME: insert proper C++ library support
13741 # FIXME: insert proper C++ library support
13748 # C++ shared libraries reported to be fairly broken before
13754 archive_cmds_need_lc_CXX
=no
13757 freebsd
* | dragonfly
*)
13758 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13767 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13768 link_all_deplibs_CXX
=yes
13772 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13773 hardcode_libdir_separator_CXX
=:
13774 export_dynamic_flag_spec_CXX
='${wl}-E'
13775 hardcode_direct_CXX
=yes
13776 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13777 # but as the default
13778 # location of the library.
13780 case $cc_basename in
13782 # FIXME: insert proper C++ library support
13786 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'
13787 # Commands to make compiler produce verbose output that lists
13788 # what "hidden" libraries, object files and flags are used when
13789 # linking a shared library.
13791 # There doesn't appear to be a way to prevent this compiler from
13792 # explicitly linking system object files so we need to strip them
13793 # from the output so that they don't get included in the library
13795 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"'
13798 if test "$GXX" = yes; then
13799 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'
13801 # FIXME: insert proper C++ library support
13809 if test $with_gnu_ld = no
; then
13810 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13811 hardcode_libdir_separator_CXX
=:
13817 export_dynamic_flag_spec_CXX
='${wl}-E'
13823 hardcode_direct_CXX
=no
13824 hardcode_shlibpath_var_CXX
=no
13827 hardcode_direct_CXX
=yes
13828 hardcode_direct_absolute_CXX
=yes
13829 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13830 # but as the default
13831 # location of the library.
13835 case $cc_basename in
13837 # FIXME: insert proper C++ library support
13843 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13846 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13849 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13852 # Commands to make compiler produce verbose output that lists
13853 # what "hidden" libraries, object files and flags are used when
13854 # linking a shared library.
13856 # There doesn't appear to be a way to prevent this compiler from
13857 # explicitly linking system object files so we need to strip them
13858 # from the output so that they don't get included in the library
13860 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"'
13863 if test "$GXX" = yes; then
13864 if test $with_gnu_ld = no
; then
13867 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13870 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13873 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'
13878 # FIXME: insert proper C++ library support
13886 hardcode_direct_CXX
=no
13887 hardcode_shlibpath_var_CXX
=no
13888 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13889 export_dynamic_flag_spec_CXX
='${wl}-E'
13890 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13891 # Instead, shared libraries are loaded at an image base (0x10000000 by
13892 # default) and relocated if they conflict, which is a slow very memory
13893 # consuming and fragmenting process. To avoid this, we pick a random,
13894 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13895 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13896 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'
13897 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'
13900 case $cc_basename in
13903 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'
13905 # Archives containing C++ object files must be created using
13906 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13907 # necessary to make sure instantiated templates are included
13909 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13912 if test "$GXX" = yes; then
13913 if test "$with_gnu_ld" = no
; then
13914 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'
13916 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'
13919 link_all_deplibs_CXX
=yes
13922 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13923 hardcode_libdir_separator_CXX
=:
13924 inherit_rpath_CXX
=yes
13927 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13928 case $cc_basename in
13930 # Kuck and Associates, Inc. (KAI) C++ Compiler
13932 # KCC will only create a shared library if the output file
13933 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13934 # to its proper name (with version) after linking.
13935 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'
13936 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'
13937 # Commands to make compiler produce verbose output that lists
13938 # what "hidden" libraries, object files and flags are used when
13939 # linking a shared library.
13941 # There doesn't appear to be a way to prevent this compiler from
13942 # explicitly linking system object files so we need to strip them
13943 # from the output so that they don't get included in the library
13945 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"'
13947 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13948 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13950 # Archives containing C++ object files must be created using
13951 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13952 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13957 # version 8.0 and above of icpc choke on multiply defined symbols
13958 # if we add $predep_objects and $postdep_objects, however 7.1 and
13959 # earlier do not add the objects themselves.
13960 case `$CC -V 2>&1` in
13962 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13963 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'
13965 *) # Version 8.0 or newer
13968 ia64
*) tmp_idyn
=' -i_dynamic';;
13970 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13971 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'
13974 archive_cmds_need_lc_CXX
=no
13975 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13976 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13977 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13980 # Portland Group C++ compiler
13982 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13983 prelink_cmds_CXX
='tpldir=Template.dir~
13985 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13986 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13987 old_archive_cmds_CXX
='tpldir=Template.dir~
13989 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13990 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13992 archive_cmds_CXX
='tpldir=Template.dir~
13994 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13995 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13996 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13998 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13999 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
14001 *) # Version 6 and above use weak symbols
14002 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14003 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'
14007 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
14008 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14009 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'
14013 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14014 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'
14016 runpath_var
=LD_RUN_PATH
14017 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14018 hardcode_libdir_separator_CXX
=:
14020 # Commands to make compiler produce verbose output that lists
14021 # what "hidden" libraries, object files and flags are used when
14022 # linking a shared library.
14024 # There doesn't appear to be a way to prevent this compiler from
14025 # explicitly linking system object files so we need to strip them
14026 # from the output so that they don't get included in the library
14028 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'
14030 xl
* | mpixl
* | bgxl
*)
14031 # IBM XL 8.0 on PPC, with GNU ld
14032 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14033 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14034 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14035 if test "x$supports_anon_versioning" = xyes
; then
14036 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
14037 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14038 echo "local: *; };" >> $output_objdir/$libname.ver~
14039 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14043 case `$CC -V 2>&1 | sed 5q` in
14046 no_undefined_flag_CXX
=' -zdefs'
14047 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14048 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'
14049 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14050 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'
14051 compiler_needs_object_CXX
=yes
14053 # Not sure whether something based on
14054 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14056 output_verbose_link_cmd
='func_echo_all'
14058 # Archives containing C++ object files must be created using
14059 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14060 # necessary to make sure instantiated templates are included
14062 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14070 # FIXME: insert proper C++ library support
14075 # FIXME: insert proper C++ library support
14080 case $cc_basename in
14082 # FIXME: insert proper C++ library support
14086 # FIXME: insert proper C++ library support
14093 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14094 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14096 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14097 hardcode_direct_CXX
=yes
14098 hardcode_shlibpath_var_CXX
=no
14100 # Workaround some broken pre-1.5 toolchains
14101 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14109 # C++ shared libraries are fairly broken
14114 if test -f /usr
/libexec
/ld.so
; then
14115 hardcode_direct_CXX
=yes
14116 hardcode_shlibpath_var_CXX
=no
14117 hardcode_direct_absolute_CXX
=yes
14118 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14119 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14120 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14121 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14122 export_dynamic_flag_spec_CXX
='${wl}-E'
14123 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14125 output_verbose_link_cmd
=func_echo_all
14131 osf3
* | osf4
* | osf5
*)
14132 case $cc_basename in
14134 # Kuck and Associates, Inc. (KAI) C++ Compiler
14136 # KCC will only create a shared library if the output file
14137 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14138 # to its proper name (with version) after linking.
14139 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'
14141 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14142 hardcode_libdir_separator_CXX
=:
14144 # Archives containing C++ object files must be created using
14145 # the KAI C++ compiler.
14147 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14148 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14152 # Rational C++ 2.4.1
14153 # FIXME: insert proper C++ library support
14159 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14160 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'
14161 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14164 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14165 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'
14166 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14167 echo "-hidden">> $lib.exp~
14168 $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~
14170 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14174 hardcode_libdir_separator_CXX
=:
14176 # Commands to make compiler produce verbose output that lists
14177 # what "hidden" libraries, object files and flags are used when
14178 # linking a shared library.
14180 # There doesn't appear to be a way to prevent this compiler from
14181 # explicitly linking system object files so we need to strip them
14182 # from the output so that they don't get included in the library
14184 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"'
14187 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14188 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14191 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'
14194 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'
14198 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14199 hardcode_libdir_separator_CXX
=:
14201 # Commands to make compiler produce verbose output that lists
14202 # what "hidden" libraries, object files and flags are used when
14203 # linking a shared library.
14204 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14207 # FIXME: insert proper C++ library support
14215 # FIXME: insert proper C++ library support
14220 case $cc_basename in
14223 # FIXME: insert proper C++ library support
14228 # FIXME: insert proper C++ library support
14232 # FIXME: insert proper C++ library support
14239 case $cc_basename in
14241 # Sun C++ 4.2, 5.x and Centerline C++
14242 archive_cmds_need_lc_CXX
=yes
14243 no_undefined_flag_CXX
=' -zdefs'
14244 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14245 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14246 $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'
14248 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14249 hardcode_shlibpath_var_CXX
=no
14251 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14253 # The compiler driver will combine and reorder linker options,
14254 # but understands `-z linker_flag'.
14255 # Supported since Solaris 2.6 (maybe 2.5.1?)
14256 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14259 link_all_deplibs_CXX
=yes
14261 output_verbose_link_cmd
='func_echo_all'
14263 # Archives containing C++ object files must be created using
14264 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14265 # necessary to make sure instantiated templates are included
14267 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14270 # Green Hills C++ Compiler
14271 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14273 # The C++ compiler must be used to create the archive.
14274 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14277 # GNU C++ compiler with Solaris linker
14278 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14279 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14280 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14281 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14282 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14283 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14285 # Commands to make compiler produce verbose output that lists
14286 # what "hidden" libraries, object files and flags are used when
14287 # linking a shared library.
14288 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14290 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14292 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14293 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14294 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14296 # Commands to make compiler produce verbose output that lists
14297 # what "hidden" libraries, object files and flags are used when
14298 # linking a shared library.
14299 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14302 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14304 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14306 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14314 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14315 no_undefined_flag_CXX
='${wl}-z,text'
14316 archive_cmds_need_lc_CXX
=no
14317 hardcode_shlibpath_var_CXX
=no
14318 runpath_var
='LD_RUN_PATH'
14320 case $cc_basename in
14322 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14323 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14326 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14327 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14332 sysv5
* | sco3.2v5
* | sco5v6
*)
14333 # Note: We can NOT use -z defs as we might desire, because we do not
14334 # link with -lc, and that would cause any symbols used from libc to
14335 # always be unresolved, which means just about no library would
14336 # ever link correctly. If we're not using GNU ld we use -z text
14337 # though, which does catch some bad symbols but isn't as heavy-handed
14339 no_undefined_flag_CXX
='${wl}-z,text'
14340 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14341 archive_cmds_need_lc_CXX
=no
14342 hardcode_shlibpath_var_CXX
=no
14343 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14344 hardcode_libdir_separator_CXX
=':'
14345 link_all_deplibs_CXX
=yes
14346 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14347 runpath_var
='LD_RUN_PATH'
14349 case $cc_basename in
14351 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14352 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14353 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14354 '"$old_archive_cmds_CXX"
14355 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14356 '"$reload_cmds_CXX"
14359 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14360 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14366 case $cc_basename in
14368 # NonStop-UX NCC 3.20
14369 # FIXME: insert proper C++ library support
14373 # FIXME: insert proper C++ library support
14380 # For VxWorks ports, we assume the use of a GNU linker with
14381 # standard elf conventions.
14386 # FIXME: insert proper C++ library support
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14392 $as_echo "$ld_shlibs_CXX" >&6; }
14393 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14399 ## There is no encapsulation within the following macros, do not change
14400 ## the running order or otherwise move them around unless you know exactly
14401 ## what you are doing...
14402 # Dependencies to place before and after the object being linked:
14403 predep_objects_CXX
=
14404 postdep_objects_CXX
=
14407 compiler_lib_search_path_CXX
=
14409 cat > conftest.
$ac_ext <<_LT_EOF
14413 Foo (void) { a = 0; }
14419 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14420 (eval $ac_compile) 2>&5
14422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14423 test $ac_status = 0; }; then
14424 # Parse the compiler output and extract the necessary
14425 # objects, libraries and library flags.
14427 # Sentinel used to keep track of whether or not we are before
14428 # the conftest object file.
14429 pre_test_object_deps_done
=no
14431 for p
in `eval "$output_verbose_link_cmd"`; do
14435 # Some compilers place space between "-{L,R}" and the path.
14436 # Remove the space.
14437 if test $p = "-L" ||
14438 test $p = "-R"; then
14445 if test "$pre_test_object_deps_done" = no
; then
14448 # Internal compiler library paths should come after those
14449 # provided the user. The postdeps already come after the
14450 # user supplied libs so there is no need to process them.
14451 if test -z "$compiler_lib_search_path_CXX"; then
14452 compiler_lib_search_path_CXX
="${prev}${p}"
14454 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14457 # The "-l" case would never come before the object being
14458 # linked, so don't bother handling this case.
14461 if test -z "$postdeps_CXX"; then
14462 postdeps_CXX
="${prev}${p}"
14464 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14470 # This assumes that the test object file only shows up
14471 # once in the compiler output.
14472 if test "$p" = "conftest.$objext"; then
14473 pre_test_object_deps_done
=yes
14477 if test "$pre_test_object_deps_done" = no
; then
14478 if test -z "$predep_objects_CXX"; then
14479 predep_objects_CXX
="$p"
14481 predep_objects_CXX
="$predep_objects_CXX $p"
14484 if test -z "$postdep_objects_CXX"; then
14485 postdep_objects_CXX
="$p"
14487 postdep_objects_CXX
="$postdep_objects_CXX $p"
14492 *) ;; # Ignore the rest.
14500 echo "libtool.m4: error: problem compiling CXX test program"
14503 $RM -f confest.
$objext
14505 # PORTME: override above test on systems where it is broken
14508 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14509 # hack all around it, let's just trust "g++" to DTRT.
14510 predep_objects_CXX
=
14511 postdep_objects_CXX
=
14516 case `$CC -V 2>&1 | sed 5q` in
14520 # The more standards-conforming stlport4 library is
14521 # incompatible with the Cstd library. Avoid specifying
14522 # it if it's in CXXFLAGS. Ignore libCrun as
14523 # -library=stlport4 depends on it.
14524 case " $CXX $CXXFLAGS " in
14525 *" -library=stlport4 "*)
14526 solaris_use_stlport4
=yes
14530 if test "$solaris_use_stlport4" != yes; then
14531 postdeps_CXX
='-library=Cstd -library=Crun'
14538 case $cc_basename in
14540 # The more standards-conforming stlport4 library is
14541 # incompatible with the Cstd library. Avoid specifying
14542 # it if it's in CXXFLAGS. Ignore libCrun as
14543 # -library=stlport4 depends on it.
14544 case " $CXX $CXXFLAGS " in
14545 *" -library=stlport4 "*)
14546 solaris_use_stlport4
=yes
14550 # Adding this requires a known-good setup of shared libraries for
14551 # Sun compiler versions before 5.6, else PIC objects from an old
14552 # archive will be linked into the output, leading to subtle bugs.
14553 if test "$solaris_use_stlport4" != yes; then
14554 postdeps_CXX
='-library=Cstd -library=Crun'
14562 case " $postdeps_CXX " in
14563 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14565 compiler_lib_search_dirs_CXX
=
14566 if test -n "${compiler_lib_search_path_CXX}"; then
14567 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14600 lt_prog_compiler_wl_CXX
=
14601 lt_prog_compiler_pic_CXX
=
14602 lt_prog_compiler_static_CXX
=
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14605 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14607 # C++ specific cases for pic, static, wl, etc.
14608 if test "$GXX" = yes; then
14609 lt_prog_compiler_wl_CXX
='-Wl,'
14610 lt_prog_compiler_static_CXX
='-static'
14614 # All AIX code is PIC.
14615 if test "$host_cpu" = ia64
; then
14616 # AIX 5 now supports IA64 processor
14617 lt_prog_compiler_static_CXX
='-Bstatic'
14619 lt_prog_compiler_pic_CXX
='-fPIC'
14625 # see comment about AmigaOS4 .so support
14626 lt_prog_compiler_pic_CXX
='-fPIC'
14629 # FIXME: we need at least 68020 code to build shared libraries, but
14630 # adding the `-m68020' flag to GCC prevents building anything better,
14632 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14637 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14638 # PIC is the default for these OSes.
14640 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14641 # This hack is so that the source file can tell whether it is being
14642 # built for inclusion in a dll (and should export symbols for example).
14643 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14644 # (--disable-auto-import) libraries
14645 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14647 darwin
* | rhapsody
*)
14648 # PIC is the default on this platform
14649 # Common symbols not allowed in MH_DYLIB files
14650 lt_prog_compiler_pic_CXX
='-fno-common'
14653 # DJGPP does not support shared libraries at all
14654 lt_prog_compiler_pic_CXX
=
14657 # PIC is the default for Haiku.
14658 # The "-static" flag exists, but is broken.
14659 lt_prog_compiler_static_CXX
=
14662 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14663 # Instead, we relocate shared libraries at runtime.
14666 if test -d /usr
/nec
; then
14667 lt_prog_compiler_pic_CXX
=-Kconform_pic
14671 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14672 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14673 # sets the default TLS model and affects inlining.
14678 lt_prog_compiler_pic_CXX
='-fPIC'
14683 # QNX uses GNU C++, but need to define -shared option too, otherwise
14684 # it will coredump.
14685 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14688 lt_prog_compiler_pic_CXX
='-fPIC'
14694 # All AIX code is PIC.
14695 if test "$host_cpu" = ia64
; then
14696 # AIX 5 now supports IA64 processor
14697 lt_prog_compiler_static_CXX
='-Bstatic'
14699 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14703 case $cc_basename in
14705 # Green Hills C++ Compiler
14706 # _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"
14711 case $cc_basename in
14713 lt_prog_compiler_pic_CXX
='-KPIC'
14716 # Green Hills C++ Compiler
14717 lt_prog_compiler_pic_CXX
='-pic'
14723 freebsd
* | dragonfly
*)
14724 # FreeBSD uses GNU C++
14726 hpux9
* | hpux10
* | hpux11
*)
14727 case $cc_basename in
14729 lt_prog_compiler_wl_CXX
='-Wl,'
14730 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14731 if test "$host_cpu" != ia64
; then
14732 lt_prog_compiler_pic_CXX
='+Z'
14736 lt_prog_compiler_wl_CXX
='-Wl,'
14737 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14743 lt_prog_compiler_pic_CXX
='+Z'
14752 # This is c89, which is MS Visual C++ (no shared libs)
14753 # Anyone wants to do a port?
14755 irix5
* | irix6
* | nonstopux
*)
14756 case $cc_basename in
14758 lt_prog_compiler_wl_CXX
='-Wl,'
14759 lt_prog_compiler_static_CXX
='-non_shared'
14760 # CC pic flag -KPIC is the default.
14766 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14767 case $cc_basename in
14770 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14771 lt_prog_compiler_pic_CXX
='-fPIC'
14774 # old Intel C++ for x86_64 which still supported -KPIC.
14775 lt_prog_compiler_wl_CXX
='-Wl,'
14776 lt_prog_compiler_pic_CXX
='-KPIC'
14777 lt_prog_compiler_static_CXX
='-static'
14780 # Intel C++, used to be incompatible with GCC.
14781 # ICC 10 doesn't accept -KPIC any more.
14782 lt_prog_compiler_wl_CXX
='-Wl,'
14783 lt_prog_compiler_pic_CXX
='-fPIC'
14784 lt_prog_compiler_static_CXX
='-static'
14787 # Portland Group C++ compiler
14788 lt_prog_compiler_wl_CXX
='-Wl,'
14789 lt_prog_compiler_pic_CXX
='-fpic'
14790 lt_prog_compiler_static_CXX
='-Bstatic'
14794 # Make sure the PIC flag is empty. It appears that all Alpha
14795 # Linux and Compaq Tru64 Unix objects are PIC.
14796 lt_prog_compiler_pic_CXX
=
14797 lt_prog_compiler_static_CXX
='-non_shared'
14799 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14800 # IBM XL 8.0, 9.0 on PPC and BlueGene
14801 lt_prog_compiler_wl_CXX
='-Wl,'
14802 lt_prog_compiler_pic_CXX
='-qpic'
14803 lt_prog_compiler_static_CXX
='-qstaticlink'
14806 case `$CC -V 2>&1 | sed 5q` in
14809 lt_prog_compiler_pic_CXX
='-KPIC'
14810 lt_prog_compiler_static_CXX
='-Bstatic'
14811 lt_prog_compiler_wl_CXX
='-Qoption ld '
14822 case $cc_basename in
14824 lt_prog_compiler_pic_CXX
='-W c,exportall'
14833 # QNX uses GNU C++, but need to define -shared option too, otherwise
14834 # it will coredump.
14835 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14837 osf3
* | osf4
* | osf5
*)
14838 case $cc_basename in
14840 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14843 # Rational C++ 2.4.1
14844 lt_prog_compiler_pic_CXX
='-pic'
14847 # Digital/Compaq C++
14848 lt_prog_compiler_wl_CXX
='-Wl,'
14849 # Make sure the PIC flag is empty. It appears that all Alpha
14850 # Linux and Compaq Tru64 Unix objects are PIC.
14851 lt_prog_compiler_pic_CXX
=
14852 lt_prog_compiler_static_CXX
='-non_shared'
14861 case $cc_basename in
14863 # Sun C++ 4.2, 5.x and Centerline C++
14864 lt_prog_compiler_pic_CXX
='-KPIC'
14865 lt_prog_compiler_static_CXX
='-Bstatic'
14866 lt_prog_compiler_wl_CXX
='-Qoption ld '
14869 # Green Hills C++ Compiler
14870 lt_prog_compiler_pic_CXX
='-PIC'
14877 case $cc_basename in
14880 lt_prog_compiler_pic_CXX
='-pic'
14881 lt_prog_compiler_static_CXX
='-Bstatic'
14885 lt_prog_compiler_pic_CXX
='-pic'
14891 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14892 case $cc_basename in
14894 lt_prog_compiler_wl_CXX
='-Wl,'
14895 lt_prog_compiler_pic_CXX
='-KPIC'
14896 lt_prog_compiler_static_CXX
='-Bstatic'
14901 case $cc_basename in
14903 # NonStop-UX NCC 3.20
14904 lt_prog_compiler_pic_CXX
='-KPIC'
14913 lt_prog_compiler_can_build_shared_CXX
=no
14919 # For platforms which do not support PIC, -DPIC is meaningless:
14921 lt_prog_compiler_pic_CXX
=
14924 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14928 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14933 # Check to make sure the PIC flag actually works.
14935 if test -n "$lt_prog_compiler_pic_CXX"; then
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14937 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14938 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14939 $as_echo_n "(cached) " >&6
14941 lt_cv_prog_compiler_pic_works_CXX
=no
14942 ac_outfile
=conftest.
$ac_objext
14943 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14944 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14945 # Insert the option either (1) after the last *FLAGS variable, or
14946 # (2) before a word containing "conftest.", or (3) at the end.
14947 # Note that $ac_compile itself does not contain backslashes and begins
14948 # with a dollar sign (not a hyphen), so the echo should work correctly.
14949 # The option is referenced via a variable to avoid confusing sed.
14950 lt_compile
=`echo "$ac_compile" | $SED \
14951 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14952 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14953 -e 's:$: $lt_compiler_flag:'`
14954 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14955 (eval "$lt_compile" 2>conftest.err
)
14957 cat conftest.err
>&5
14958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14959 if (exit $ac_status) && test -s "$ac_outfile"; then
14960 # The compiler can only warn and ignore the option if not recognized
14961 # So say no if there are warnings other than the usual output.
14962 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14963 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14964 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14965 lt_cv_prog_compiler_pic_works_CXX
=yes
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14972 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14974 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14975 case $lt_prog_compiler_pic_CXX in
14977 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14980 lt_prog_compiler_pic_CXX
=
14981 lt_prog_compiler_can_build_shared_CXX
=no
14989 # Check to make sure the static flag actually works.
14991 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14993 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14994 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14995 $as_echo_n "(cached) " >&6
14997 lt_cv_prog_compiler_static_works_CXX
=no
14998 save_LDFLAGS
="$LDFLAGS"
14999 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15000 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15001 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15002 # The linker can only warn and ignore the option if not recognized
15003 # So say no if there are warnings
15004 if test -s conftest.err
; then
15005 # Append any errors to the config.log.
15006 cat conftest.err
1>&5
15007 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
15008 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15009 if diff conftest.exp conftest.er2
>/dev
/null
; then
15010 lt_cv_prog_compiler_static_works_CXX
=yes
15013 lt_cv_prog_compiler_static_works_CXX
=yes
15017 LDFLAGS
="$save_LDFLAGS"
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15021 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15023 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
15026 lt_prog_compiler_static_CXX
=
15032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15033 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15034 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15035 $as_echo_n "(cached) " >&6
15037 lt_cv_prog_compiler_c_o_CXX
=no
15038 $RM -r conftest
2>/dev
/null
15042 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15044 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15045 # Insert the option either (1) after the last *FLAGS variable, or
15046 # (2) before a word containing "conftest.", or (3) at the end.
15047 # Note that $ac_compile itself does not contain backslashes and begins
15048 # with a dollar sign (not a hyphen), so the echo should work correctly.
15049 lt_compile
=`echo "$ac_compile" | $SED \
15050 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15051 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15052 -e 's:$: $lt_compiler_flag:'`
15053 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15054 (eval "$lt_compile" 2>out
/conftest.err
)
15056 cat out
/conftest.err
>&5
15057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15058 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15060 # The compiler can only warn and ignore the option if not recognized
15061 # So say no if there are warnings
15062 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15063 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15064 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15065 lt_cv_prog_compiler_c_o_CXX
=yes
15070 # SGI C++ compiler will create directory out/ii_files/ for
15071 # template instantiation
15072 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15073 $RM out
/* && rmdir out
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15080 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15085 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15086 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15087 $as_echo_n "(cached) " >&6
15089 lt_cv_prog_compiler_c_o_CXX
=no
15090 $RM -r conftest
2>/dev
/null
15094 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15096 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15097 # Insert the option either (1) after the last *FLAGS variable, or
15098 # (2) before a word containing "conftest.", or (3) at the end.
15099 # Note that $ac_compile itself does not contain backslashes and begins
15100 # with a dollar sign (not a hyphen), so the echo should work correctly.
15101 lt_compile
=`echo "$ac_compile" | $SED \
15102 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15103 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15104 -e 's:$: $lt_compiler_flag:'`
15105 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15106 (eval "$lt_compile" 2>out
/conftest.err
)
15108 cat out
/conftest.err
>&5
15109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15110 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15112 # The compiler can only warn and ignore the option if not recognized
15113 # So say no if there are warnings
15114 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15115 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15116 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15117 lt_cv_prog_compiler_c_o_CXX
=yes
15122 # SGI C++ compiler will create directory out/ii_files/ for
15123 # template instantiation
15124 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15125 $RM out
/* && rmdir out
15131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15132 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15137 hard_links
="nottested"
15138 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
15139 # do not overwrite the value of need_locks provided by the user
15140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15141 $as_echo_n "checking if we can lock with hard links... " >&6; }
15144 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15146 ln conftest.a conftest.b
2>&5 || hard_links
=no
15147 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15149 $as_echo "$hard_links" >&6; }
15150 if test "$hard_links" = no
; then
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15152 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15162 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15164 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15167 # If we're using GNU nm, then we don't want the "-C" option.
15168 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15169 # Also, AIX nm treats weak defined symbols like other global defined
15170 # symbols, whereas GNU nm marks them as "W".
15171 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
15172 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'
15174 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'
15178 export_symbols_cmds_CXX
="$ltdll_cmds"
15180 cygwin
* | mingw
* | cegcc
*)
15181 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'
15184 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15187 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15190 $as_echo "$ld_shlibs_CXX" >&6; }
15191 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15193 with_gnu_ld_CXX
=$with_gnu_ld
15201 # Do we need to explicitly link libc?
15203 case "x$archive_cmds_need_lc_CXX" in
15205 # Assume -lc should be added
15206 archive_cmds_need_lc_CXX
=yes
15208 if test "$enable_shared" = yes && test "$GCC" = yes; then
15209 case $archive_cmds_CXX in
15211 # FIXME: we may have to deal with multi-command sequences.
15214 # Test whether the compiler implicitly links with -lc since on some
15215 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15216 # to ld, don't add -lc before -lgcc.
15217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15218 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15219 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
15220 $as_echo_n "(cached) " >&6
15223 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15225 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15226 (eval $ac_compile) 2>&5
15228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15229 test $ac_status = 0; } 2>conftest.err
; then
15232 libobjs
=conftest.
$ac_objext
15234 wl
=$lt_prog_compiler_wl_CXX
15235 pic_flag
=$lt_prog_compiler_pic_CXX
15241 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15242 allow_undefined_flag_CXX
=
15243 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15244 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15247 test $ac_status = 0; }
15249 lt_cv_archive_cmds_need_lc_CXX
=no
15251 lt_cv_archive_cmds_need_lc_CXX
=yes
15253 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15255 cat conftest.err
1>&5
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15261 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15262 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15333 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15335 library_names_spec
=
15336 libname_spec
='lib$name'
15340 postuninstall_cmds
=
15344 shlibpath_overrides_runpath
=unknown
15346 dynamic_linker
="$host_os ld.so"
15347 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15348 need_lib_prefix
=unknown
15349 hardcode_into_libs
=no
15351 # when you set need_version to no, make sure it does not cause -set_version
15352 # flags to be left without arguments
15353 need_version
=unknown
15358 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15359 shlibpath_var
=LIBPATH
15361 # AIX 3 has no versioning support, so we append a major version to the name.
15362 soname_spec
='${libname}${release}${shared_ext}$major'
15369 hardcode_into_libs
=yes
15370 if test "$host_cpu" = ia64
; then
15371 # AIX 5 supports IA64
15372 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15373 shlibpath_var
=LD_LIBRARY_PATH
15375 # With GCC up to 2.95.x, collect2 would create an import file
15376 # for dependence libraries. The import file would start with
15377 # the line `#! .'. This would cause the generated library to
15378 # depend on `.', always an invalid library. This was fixed in
15379 # development snapshots of GCC prior to 3.0.
15381 aix4 | aix4.
[01] | aix4.
[01].
*)
15382 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15384 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15387 can_build_shared
=no
15391 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15392 # soname into executable. Probably we can add versioning support to
15393 # collect2, so additional links can be useful in future.
15394 if test "$aix_use_runtimelinking" = yes; then
15395 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15396 # instead of lib<name>.a to let people know that these are not
15397 # typical AIX shared libraries.
15398 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15400 # We preserve .a as extension for shared libraries through AIX4.2
15401 # and later when we are not doing run time linking.
15402 library_names_spec
='${libname}${release}.a $libname.a'
15403 soname_spec
='${libname}${release}${shared_ext}$major'
15405 shlibpath_var
=LIBPATH
15412 # Since July 2007 AmigaOS4 officially supports .so libraries.
15413 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15414 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15417 library_names_spec
='$libname.ixlibrary $libname.a'
15418 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15419 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'
15425 library_names_spec
='${libname}${shared_ext}'
15426 dynamic_linker
="$host_os ld.so"
15427 shlibpath_var
=LIBRARY_PATH
15433 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15434 soname_spec
='${libname}${release}${shared_ext}$major'
15435 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15436 shlibpath_var
=LD_LIBRARY_PATH
15437 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15438 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15439 # the default ld.so.conf also contains /usr/contrib/lib and
15440 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15441 # libtool to hard-code these into programs
15444 cygwin
* | mingw
* | pw32
* | cegcc
*)
15445 version_type
=windows
15450 case $GCC,$host_os in
15451 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15452 library_names_spec
='$libname.dll.a'
15453 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15454 postinstall_cmds
='base_file=`basename \${file}`~
15455 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15456 dldir=$destdir/`dirname \$dlpath`~
15457 test -d \$dldir || mkdir -p \$dldir~
15458 $install_prog $dir/$dlname \$dldir/$dlname~
15459 chmod a+x \$dldir/$dlname~
15460 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15461 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15463 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15464 dlpath=$dir/\$dldll~
15466 shlibpath_overrides_runpath
=yes
15470 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15471 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15475 # MinGW DLLs use traditional 'lib' prefix
15476 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15479 # pw32 DLLs use 'pw' prefix rather than 'lib'
15480 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15486 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15489 dynamic_linker
='Win32 ld.exe'
15490 # FIXME: first we should search . and the directory the executable is in
15494 darwin
* | rhapsody
*)
15495 dynamic_linker
="$host_os dyld"
15496 version_type
=darwin
15499 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15500 soname_spec
='${libname}${release}${major}$shared_ext'
15501 shlibpath_overrides_runpath
=yes
15502 shlibpath_var
=DYLD_LIBRARY_PATH
15503 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15505 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15512 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15513 soname_spec
='${libname}${release}${shared_ext}$major'
15514 shlibpath_var
=LD_LIBRARY_PATH
15517 freebsd
* | dragonfly
*)
15518 # DragonFly does not have aout. When/if they implement a new
15519 # versioning mechanism, adjust this.
15520 if test -x /usr
/bin
/objformat
; then
15521 objformat
=`/usr/bin/objformat`
15524 freebsd
[23].
*) objformat
=aout
;;
15525 *) objformat
=elf
;;
15528 version_type
=freebsd-
$objformat
15529 case $version_type in
15531 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15536 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15540 shlibpath_var
=LD_LIBRARY_PATH
15543 shlibpath_overrides_runpath
=yes
15545 freebsd3.
[01]* | freebsdelf3.
[01]*)
15546 shlibpath_overrides_runpath
=yes
15547 hardcode_into_libs
=yes
15549 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15550 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15551 shlibpath_overrides_runpath
=no
15552 hardcode_into_libs
=yes
15554 *) # from 4.6 on, and DragonFly
15555 shlibpath_overrides_runpath
=yes
15556 hardcode_into_libs
=yes
15565 dynamic_linker
="$host_os runtime_loader"
15566 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15567 soname_spec
='${libname}${release}${shared_ext}$major'
15568 shlibpath_var
=LIBRARY_PATH
15569 shlibpath_overrides_runpath
=yes
15570 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15571 hardcode_into_libs
=yes
15574 hpux9
* | hpux10
* | hpux11
*)
15575 # Give a soname corresponding to the major version so that dld.sl refuses to
15576 # link against other versions.
15583 hardcode_into_libs
=yes
15584 dynamic_linker
="$host_os dld.so"
15585 shlibpath_var
=LD_LIBRARY_PATH
15586 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15587 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15588 soname_spec
='${libname}${release}${shared_ext}$major'
15589 if test "X$HPUX_IA64_MODE" = X32
; then
15590 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15592 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15594 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15598 hardcode_into_libs
=yes
15599 dynamic_linker
="$host_os dld.sl"
15600 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15601 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15602 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15603 soname_spec
='${libname}${release}${shared_ext}$major'
15604 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15605 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15609 dynamic_linker
="$host_os dld.sl"
15610 shlibpath_var
=SHLIB_PATH
15611 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15612 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15613 soname_spec
='${libname}${release}${shared_ext}$major'
15616 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15617 postinstall_cmds
='chmod 555 $lib'
15618 # or fails outright, so override atomically:
15619 install_override_mode
=555
15626 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15627 soname_spec
='${libname}${release}${shared_ext}$major'
15628 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15629 shlibpath_var
=LD_LIBRARY_PATH
15630 shlibpath_overrides_runpath
=no
15631 hardcode_into_libs
=yes
15634 irix5
* | irix6
* | nonstopux
*)
15636 nonstopux
*) version_type
=nonstopux
;;
15638 if test "$lt_cv_prog_gnu_ld" = yes; then
15646 soname_spec
='${libname}${release}${shared_ext}$major'
15647 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15649 irix5
* | nonstopux
*)
15650 libsuff
= shlibsuff
=
15653 case $LD in # libtool.m4 will add one of these switches to LD
15654 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15655 libsuff
= shlibsuff
= libmagic
=32-bit;;
15656 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15657 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15658 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15659 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15660 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15664 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15665 shlibpath_overrides_runpath
=no
15666 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15667 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15668 hardcode_into_libs
=yes
15671 # No shared lib support for Linux oldld, aout, or coff.
15672 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15676 # This must be Linux ELF.
15678 # uclinux* changes (here and below) have been submitted to the libtool
15679 # project, but have not yet been accepted: they are GCC-local changes
15680 # for the time being. (See
15681 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15682 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
15686 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15687 soname_spec
='${libname}${release}${shared_ext}$major'
15688 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15689 shlibpath_var
=LD_LIBRARY_PATH
15690 shlibpath_overrides_runpath
=no
15692 # Some binutils ld are patched to set DT_RUNPATH
15693 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15694 $as_echo_n "(cached) " >&6
15696 lt_cv_shlibpath_overrides_runpath
=no
15697 save_LDFLAGS
=$LDFLAGS
15698 save_libdir
=$libdir
15699 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15700 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15701 if test x
$gcc_no_link = xyes
; then
15702 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15705 /* end confdefs.h. */
15715 if ac_fn_cxx_try_link
"$LINENO"; then :
15716 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15717 lt_cv_shlibpath_overrides_runpath
=yes
15720 rm -f core conftest.err conftest.
$ac_objext \
15721 conftest
$ac_exeext conftest.
$ac_ext
15722 LDFLAGS
=$save_LDFLAGS
15723 libdir
=$save_libdir
15727 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15729 # This implies no fast_install, which is unacceptable.
15730 # Some rework will be needed to allow for fast_install
15731 # before this can be enabled.
15732 hardcode_into_libs
=yes
15734 # Append ld.so.conf contents to the search path
15735 if test -f /etc
/ld.so.conf
; then
15736 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' ' '`
15737 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15740 # We used to test for /lib/ld.so.1 and disable shared libraries on
15741 # powerpc, because MkLinux only supported shared libraries with the
15742 # GNU dynamic linker. Since this was broken with cross compilers,
15743 # most powerpc-linux boxes support dynamic linking these days and
15744 # people can always --disable-shared, the test was removed, and we
15745 # assume the GNU/Linux dynamic linker is in use.
15746 dynamic_linker
='GNU/Linux ld.so'
15753 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15754 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15755 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15756 dynamic_linker
='NetBSD (a.out) ld.so'
15758 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15759 soname_spec
='${libname}${release}${shared_ext}$major'
15760 dynamic_linker
='NetBSD ld.elf_so'
15762 shlibpath_var
=LD_LIBRARY_PATH
15763 shlibpath_overrides_runpath
=yes
15764 hardcode_into_libs
=yes
15769 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15770 shlibpath_var
=LD_LIBRARY_PATH
15771 shlibpath_overrides_runpath
=yes
15778 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15779 soname_spec
='${libname}${release}${shared_ext}$major'
15780 shlibpath_var
=LD_LIBRARY_PATH
15781 shlibpath_overrides_runpath
=no
15782 hardcode_into_libs
=yes
15783 dynamic_linker
='ldqnx.so'
15788 sys_lib_dlsearch_path_spec
="/usr/lib"
15790 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15792 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15793 *) need_version
=no
;;
15795 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15796 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15797 shlibpath_var
=LD_LIBRARY_PATH
15798 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15800 openbsd2.
[89] | openbsd2.
[89].
*)
15801 shlibpath_overrides_runpath
=no
15804 shlibpath_overrides_runpath
=yes
15808 shlibpath_overrides_runpath
=yes
15813 libname_spec
='$name'
15816 library_names_spec
='$libname${shared_ext} $libname.a'
15817 dynamic_linker
='OS/2 ld.exe'
15818 shlibpath_var
=LIBPATH
15821 osf3
* | osf4
* | osf5
*)
15825 soname_spec
='${libname}${release}${shared_ext}$major'
15826 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15827 shlibpath_var
=LD_LIBRARY_PATH
15828 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15829 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15840 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15841 soname_spec
='${libname}${release}${shared_ext}$major'
15842 shlibpath_var
=LD_LIBRARY_PATH
15843 shlibpath_overrides_runpath
=yes
15844 hardcode_into_libs
=yes
15845 # ldd complains unless libraries are executable
15846 postinstall_cmds
='chmod +x $lib'
15851 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15852 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15853 shlibpath_var
=LD_LIBRARY_PATH
15854 shlibpath_overrides_runpath
=yes
15855 if test "$with_gnu_ld" = yes; then
15863 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15864 soname_spec
='${libname}${release}${shared_ext}$major'
15865 shlibpath_var
=LD_LIBRARY_PATH
15866 case $host_vendor in
15868 shlibpath_overrides_runpath
=no
15870 runpath_var
=LD_RUN_PATH
15878 shlibpath_overrides_runpath
=no
15879 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15885 if test -d /usr
/nec
;then
15887 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15888 soname_spec
='$libname${shared_ext}.$major'
15889 shlibpath_var
=LD_LIBRARY_PATH
15893 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15894 version_type
=freebsd-elf
15897 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15898 soname_spec
='${libname}${release}${shared_ext}$major'
15899 shlibpath_var
=LD_LIBRARY_PATH
15900 shlibpath_overrides_runpath
=yes
15901 hardcode_into_libs
=yes
15902 if test "$with_gnu_ld" = yes; then
15903 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15905 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15908 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15912 sys_lib_dlsearch_path_spec
='/usr/lib'
15916 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15920 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15921 shlibpath_var
=LD_LIBRARY_PATH
15922 shlibpath_overrides_runpath
=no
15923 hardcode_into_libs
=yes
15928 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15929 soname_spec
='${libname}${release}${shared_ext}$major'
15930 shlibpath_var
=LD_LIBRARY_PATH
15933 # Shared libraries for VwWorks, >= 7 only at this stage
15934 # and (fpic) still incompatible with "large" code models
15935 # in a few configurations. Only for RTP mode in any case,
15936 # and upon explicit request at configure time.
15939 case ${with_multisubdir}-${enable_shared} in
15946 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15947 soname_spec
='${libname}${release}${shared_ext}$major'
15948 dynamic_linker
="$host_os module_loader"
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15957 $as_echo "$dynamic_linker" >&6; }
15958 test "$dynamic_linker" = no
&& can_build_shared
=no
15960 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15961 if test "$GCC" = yes; then
15962 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15965 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15966 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15968 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15969 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16010 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16011 hardcode_action_CXX
=
16012 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16013 test -n "$runpath_var_CXX" ||
16014 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16016 # We can hardcode non-existent directories.
16017 if test "$hardcode_direct_CXX" != no
&&
16018 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16019 # have to relink, otherwise we might link with an installed library
16020 # when we should be linking with a yet-to-be-installed one
16021 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16022 test "$hardcode_minus_L_CXX" != no
; then
16023 # Linking always hardcodes the temporary library directory.
16024 hardcode_action_CXX
=relink
16026 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16027 hardcode_action_CXX
=immediate
16030 # We cannot hardcode anything, or else we can only hardcode existing
16032 hardcode_action_CXX
=unsupported
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16035 $as_echo "$hardcode_action_CXX" >&6; }
16037 if test "$hardcode_action_CXX" = relink ||
16038 test "$inherit_rpath_CXX" = yes; then
16039 # Fast installation is not supported
16040 enable_fast_install
=no
16041 elif test "$shlibpath_overrides_runpath" = yes ||
16042 test "$enable_shared" = no
; then
16043 # Fast installation is not necessary
16044 enable_fast_install
=needless
16053 fi # test -n "$compiler"
16059 with_gnu_ld
=$lt_save_with_gnu_ld
16060 lt_cv_path_LDCXX
=$lt_cv_path_LD
16061 lt_cv_path_LD
=$lt_save_path_LD
16062 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16063 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16064 fi # test "$_lt_caught_CXX_error" != yes
16067 ac_cpp
='$CPP $CPPFLAGS'
16068 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16069 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16070 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16084 ac_config_commands
="$ac_config_commands libtool"
16089 # Only expand once:
16093 # target_noncanonical variables...
16095 case ${build_alias} in
16096 "") build_noncanonical
=${build} ;;
16097 *) build_noncanonical
=${build_alias} ;;
16100 case ${host_alias} in
16101 "") host_noncanonical
=${build_noncanonical} ;;
16102 *) host_noncanonical
=${host_alias} ;;
16107 case ${target_alias} in
16108 "") target_noncanonical
=${host_noncanonical} ;;
16109 *) target_noncanonical
=${target_alias} ;;
16115 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
16116 # have matching libraries, they should use host libraries: Makefile.tpl
16117 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
16118 # However, they still use the build modules, because the corresponding
16119 # host modules (e.g. bison) are only built for the host when bootstrap
16121 # - build_subdir is where we find build modules, and never changes.
16122 # - build_libsubdir is where we find build libraries, and can be overridden.
16124 # Prefix 'build-' so this never conflicts with target_subdir.
16125 build_subdir
="build-${build_noncanonical}"
16127 # Check whether --with-build-libsubdir was given.
16128 if test "${with_build_libsubdir+set}" = set; then :
16129 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
16131 build_libsubdir
="$build_subdir"
16134 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
16135 if ( test $srcdir = .
&& test -d gcc
) \
16136 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
16137 host_subdir
="host-${host_noncanonical}"
16142 target_subdir
=${target_noncanonical}
16145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
16146 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
16147 # Check whether --enable-version-specific-runtime-libs was given.
16148 if test "${enable_version_specific_runtime_libs+set}" = set; then :
16149 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
16150 yes) version_specific_libs
=yes ;;
16151 no
) version_specific_libs
=no
;;
16152 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
16155 version_specific_libs
=no
16158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
16159 $as_echo "$version_specific_libs" >&6; }
16164 # Calculate toolexeclibdir
16165 # Also toolexecdir, though it's only used in toolexeclibdir
16166 case ${version_specific_libs} in
16168 # Need the gcc compiler version to know where to install libraries
16169 # and header files if --enable-version-specific-runtime-libs option
16171 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
16172 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
16175 if test -n "$with_cross_host" &&
16176 test x
"$with_cross_host" != x
"no"; then
16177 # Install a library built with a cross compiler in tooldir, not libdir.
16178 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
16179 toolexeclibdir
='$(toolexecdir)/lib'
16181 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
16182 toolexeclibdir
='$(libdir)'
16184 multi_os_directory
=`$CC -print-multi-os-directory`
16185 case $multi_os_directory in
16186 .
) ;; # Avoid trailing /.
16187 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
16196 ac_config_files
="$ac_config_files libproc_macro_internal/Makefile"
16200 get_gcc_base_ver
="cat"
16202 # Check whether --with-gcc-major-version-only was given.
16203 if test "${with_gcc_major_version_only+set}" = set; then :
16204 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
16205 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
16213 { $as_echo "$as_me:${as_lineno-$LINENO}: libgrust has been configured." >&5
16214 $as_echo "$as_me: libgrust has been configured." >&6;}
16216 cat >confcache
<<\_ACEOF
16217 # This file is a shell script that caches the results of configure
16218 # tests run on this system so they can be shared between configure
16219 # scripts and configure runs, see configure's option --config-cache.
16220 # It is not useful on other systems. If it contains results you don't
16221 # want to keep, you may remove or edit it.
16223 # config.status only pays attention to the cache file if you give it
16224 # the --recheck option to rerun configure.
16226 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16227 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16228 # following values.
16232 # The following way of writing the cache mishandles newlines in values,
16233 # but we know of no workaround that is simple, portable, and efficient.
16234 # So, we kill variables containing newlines.
16235 # Ultrix sh set writes to stderr and can't be redirected directly,
16236 # and sets the high bit in the cache file unless we assign to the vars.
16238 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16239 eval ac_val
=\$
$ac_var
16243 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16244 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16247 _ | IFS | as_nl
) ;; #(
16248 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16249 *) { eval $ac_var=; unset $ac_var;} ;;
16255 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16256 *${as_nl}ac_space
=\
*)
16257 # `set' does not quote correctly, so add quotes: double-quote
16258 # substitution turns \\\\ into \\, and sed turns \\ into \.
16261 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16264 # `set' quotes correctly as required by POSIX, so do not add quotes.
16265 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16274 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16276 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16278 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16279 if test -w "$cache_file"; then
16280 if test "x$cache_file" != "x/dev/null"; then
16281 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16282 $as_echo "$as_me: updating cache $cache_file" >&6;}
16283 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16284 cat confcache
>"$cache_file"
16286 case $cache_file in #(
16288 mv -f confcache
"$cache_file"$$
&&
16289 mv -f "$cache_file"$$
"$cache_file" ;; #(
16291 mv -f confcache
"$cache_file" ;;
16296 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16297 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16302 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16303 # Let make expand exec_prefix.
16304 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16306 # Transform confdefs.h into DEFS.
16307 # Protect against shell expansion while executing Makefile rules.
16308 # Protect against Makefile macro expansion.
16310 # If the first sed substitution is executed (which looks for macros that
16311 # take arguments), then branch to the quote section. Otherwise,
16312 # look for a macro that doesn't take arguments.
16322 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
16324 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
16328 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
16341 DEFS
=`sed -n "$ac_script" confdefs.h`
16347 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16348 # 1. Remove the extension, and $U if already installed.
16349 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16350 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16351 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16352 # will be set to the directory where LIBOBJS objects are built.
16353 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16354 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16356 LIBOBJS
=$ac_libobjs
16358 LTLIBOBJS
=$ac_ltlibobjs
16361 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16362 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
16363 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16366 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16367 if test -n "$am_sleep_pid"; then
16368 # Hide warnings about reused PIDs.
16369 wait $am_sleep_pid 2>/dev
/null
16371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16372 $as_echo "done" >&6; }
16373 if test -n "$EXEEXT"; then
16375 am__EXEEXT_FALSE
='#'
16377 am__EXEEXT_TRUE
='#'
16381 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16382 as_fn_error $?
"conditional \"AMDEP\" was never defined.
16383 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16385 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16386 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
16387 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16389 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16390 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
16391 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16393 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16394 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
16395 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16397 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
16398 as_fn_error $?
"conditional \"am__fastdepCCAS\" was never defined.
16399 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16402 : "${CONFIG_STATUS=./config.status}"
16404 ac_clean_files_save
=$ac_clean_files
16405 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16407 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16409 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16411 # Generated by $as_me.
16412 # Run this file to recreate the current configuration.
16413 # Compiler output produced by configure, useful for debugging
16414 # configure, is in config.log if it exists.
16417 ac_cs_recheck=false
16420 SHELL=\${CONFIG_SHELL-$SHELL}
16423 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16424 ## -------------------- ##
16425 ## M4sh Initialization. ##
16426 ## -------------------- ##
16428 # Be more Bourne compatible
16429 DUALCASE
=1; export DUALCASE
# for MKS sh
16430 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16433 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16434 # is contrary to our usage. Disable this feature.
16435 alias -g '${1+"$@"}'='"$@"'
16436 setopt NO_GLOB_SUBST
16438 case `(set -o) 2>/dev/null` in #(
16450 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16451 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16452 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16453 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16454 # Prefer a ksh shell builtin over an external printf program on Solaris,
16455 # but without wasting forks for bash or zsh.
16456 if test -z "$BASH_VERSION$ZSH_VERSION" \
16457 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16458 as_echo='print
-r --'
16459 as_echo_n='print
-rn --'
16460 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16461 as_echo='printf %s
\n'
16462 as_echo_n='printf %s
'
16464 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16465 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16466 as_echo_n='/usr
/ucb
/echo -n'
16468 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16469 as_echo_n_body='eval
16473 expr "X$arg" : "X\\(.*\\)$as_nl";
16474 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16476 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16478 export as_echo_n_body
16479 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16481 export as_echo_body
16482 as_echo='sh
-c $as_echo_body as_echo
'
16485 # The user is always right.
16486 if test "${PATH_SEPARATOR+set}" != set; then
16488 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16489 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16496 # We need space, tab and new line, in precisely that order. Quoting is
16497 # there to prevent editors from complaining about space-tab.
16498 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16499 # splitting by setting IFS to empty value.)
16502 # Find who we are. Look in the path if we contain no directory separator.
16505 *[\\/]* ) as_myself=$0 ;;
16506 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16507 for as_dir in $PATH
16510 test -z "$as_dir" && as_dir=.
16511 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16517 # We did not find ourselves, most probably we were run as `sh COMMAND'
16518 # in which case we are not to be found in the path.
16519 if test "x$as_myself" = x
; then
16522 if test ! -f "$as_myself"; then
16523 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16527 # Unset variables that we do not need and which cause bugs (e.g. in
16528 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16529 # suppresses any "Segmentation fault" message there. '((' could
16530 # trigger a bug in pdksh 5.2.14.
16531 for as_var
in BASH_ENV ENV MAIL MAILPATH
16532 do eval test x\
${$as_var+set} = xset \
16533 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16546 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16549 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16550 # ----------------------------------------
16551 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16552 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16553 # script with STATUS, using 1 if that was 0.
16556 as_status
=$1; test $as_status -eq 0 && as_status
=1
16558 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16559 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16561 $as_echo "$as_me: error: $2" >&2
16562 as_fn_exit
$as_status
16566 # as_fn_set_status STATUS
16567 # -----------------------
16568 # Set $? to STATUS, without forking.
16569 as_fn_set_status
()
16572 } # as_fn_set_status
16574 # as_fn_exit STATUS
16575 # -----------------
16576 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16580 as_fn_set_status
$1
16586 # Portably unset VAR.
16589 { eval $1=; unset $1;}
16591 as_unset
=as_fn_unset
16592 # as_fn_append VAR VALUE
16593 # ----------------------
16594 # Append the text in VALUE to the end of the definition contained in VAR. Take
16595 # advantage of any shell optimizations that allow amortized linear growth over
16596 # repeated appends, instead of the typical quadratic growth present in naive
16598 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16599 eval 'as_fn_append ()
16610 # as_fn_arith ARG...
16611 # ------------------
16612 # Perform arithmetic evaluation on the ARGs, and store the result in the
16613 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16614 # must be portable across $(()) and expr.
16615 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16616 eval 'as_fn_arith ()
16623 as_val
=`expr "$@" || test $? -eq 1`
16628 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16629 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16635 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16636 as_basename
=basename
16641 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16647 as_me
=`$as_basename -- "$0" ||
16648 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16649 X"$0" : 'X\(//\)$' \| \
16650 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16652 sed '/^.*\/\([^/][^/]*\)\/*$/{
16666 # Avoid depending upon Character Ranges.
16667 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16668 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16669 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16670 as_cr_digits
='0123456789'
16671 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16673 ECHO_C
= ECHO_N
= ECHO_T
=
16674 case `echo -n x` in #(((((
16676 case `echo 'xy\c'` in
16677 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16679 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16686 rm -f conf$$ conf$$.exe conf$$.
file
16687 if test -d conf$$.dir
; then
16688 rm -f conf$$.dir
/conf$$.
file
16691 mkdir conf$$.dir
2>/dev
/null
16693 if (echo >conf$$.
file) 2>/dev
/null
; then
16694 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16696 # ... but there are two gotchas:
16697 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16698 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16699 # In both cases, we have to default to `cp -pR'.
16700 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16702 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16710 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16711 rmdir conf$$.dir
2>/dev
/null
16716 # Create "$as_dir" as a directory, including parents if necessary.
16721 -*) as_dir
=.
/$as_dir;;
16723 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16727 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16728 *) as_qdir
=$as_dir;;
16730 as_dirs
="'$as_qdir' $as_dirs"
16731 as_dir
=`$as_dirname -- "$as_dir" ||
16732 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16733 X"$as_dir" : 'X\(//\)[^/]' \| \
16734 X"$as_dir" : 'X\(//\)$' \| \
16735 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16736 $as_echo X"$as_dir" |
16737 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16741 /^X\(\/\/\)[^/].*/{
16754 test -d "$as_dir" && break
16756 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16757 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16761 if mkdir
-p .
2>/dev
/null
; then
16762 as_mkdir_p
='mkdir -p "$as_dir"'
16764 test -d .
/-p && rmdir .
/-p
16769 # as_fn_executable_p FILE
16770 # -----------------------
16771 # Test if FILE is an executable regular file.
16772 as_fn_executable_p
()
16774 test -f "$1" && test -x "$1"
16775 } # as_fn_executable_p
16776 as_test_x
='test -x'
16777 as_executable_p
=as_fn_executable_p
16779 # Sed expression to map a string onto a valid CPP name.
16780 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16782 # Sed expression to map a string onto a valid variable name.
16783 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16787 ## ----------------------------------- ##
16788 ## Main body of $CONFIG_STATUS script. ##
16789 ## ----------------------------------- ##
16791 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16794 # Save the log message, to keep $0 and so on meaningful, and to
16795 # report actual input values of CONFIG_FILES etc. instead of their
16796 # values after options handling.
16798 This file was extended by libgrust $as_me version-unused, which was
16799 generated by GNU Autoconf 2.69. Invocation command line was
16801 CONFIG_FILES = $CONFIG_FILES
16802 CONFIG_HEADERS = $CONFIG_HEADERS
16803 CONFIG_LINKS = $CONFIG_LINKS
16804 CONFIG_COMMANDS = $CONFIG_COMMANDS
16807 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16812 case $ac_config_files in *"
16813 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16818 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16819 # Files that config.status was made for.
16820 config_files="$ac_config_files"
16821 config_commands="$ac_config_commands"
16825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16827 \`$as_me' instantiates files and other configuration actions
16828 from templates according to the current configuration. Unless the files
16829 and actions are specified as TAGs, all are instantiated by default.
16831 Usage: $0 [OPTION]... [TAG]...
16833 -h, --help print this help, then exit
16834 -V, --version print version number and configuration settings, then exit
16835 --config print configuration, then exit
16836 -q, --quiet, --silent
16837 do not print progress messages
16838 -d, --debug don't remove temporary files
16839 --recheck update $as_me by reconfiguring in the same conditions
16840 --file=FILE[:TEMPLATE]
16841 instantiate the configuration file FILE
16843 Configuration files:
16846 Configuration commands:
16849 Report bugs to the package provider."
16852 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16853 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16855 libgrust config.status version-unused
16856 configured by $0, generated by GNU Autoconf 2.69,
16857 with options \\"\$ac_cs_config\\"
16859 Copyright (C) 2012 Free Software Foundation, Inc.
16860 This config.status script is free software; the Free Software Foundation
16861 gives unlimited permission to copy, distribute and modify it."
16868 test -n "\$AWK" || AWK=awk
16871 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16872 # The default lists apply if the user does not specify any file.
16878 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16879 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16883 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16895 # Handling of the options.
16896 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16898 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16899 $as_echo "$ac_cs_version"; exit ;;
16900 --config |
--confi |
--conf |
--con |
--co |
--c )
16901 $as_echo "$ac_cs_config"; exit ;;
16902 --debug |
--debu |
--deb |
--de |
--d |
-d )
16904 --file |
--fil |
--fi |
--f )
16907 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16908 '') as_fn_error $?
"missing file argument" ;;
16910 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16911 ac_need_defaults
=false
;;
16912 --he |
--h |
--help |
--hel |
-h )
16913 $as_echo "$ac_cs_usage"; exit ;;
16914 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16915 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16918 # This is an error.
16919 -*) as_fn_error $?
"unrecognized option: \`$1'
16920 Try \`$0 --help' for more information." ;;
16922 *) as_fn_append ac_config_targets
" $1"
16923 ac_need_defaults
=false
;;
16929 ac_configure_extra_args
=
16931 if $ac_cs_silent; then
16933 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16937 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16938 if \$ac_cs_recheck; then
16939 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16941 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16942 CONFIG_SHELL='$SHELL'
16943 export CONFIG_SHELL
16948 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16952 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16953 ## Running $as_me. ##
16959 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16967 with_multisubdir="$with_multisubdir"
16968 with_multisrctop="$with_multisrctop"
16969 with_target_subdir="$with_target_subdir"
16970 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16971 multi_basedir="$multi_basedir"
16972 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16975 GFORTRAN="$GFORTRAN"
16977 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16980 # The HP-UX ksh and POSIX shell print the target directory to stdout
16981 # if CDPATH is set.
16982 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16984 sed_quote_subst='$sed_quote_subst'
16985 double_quote_subst='$double_quote_subst'
16986 delay_variable_subst='$delay_variable_subst'
16987 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16988 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16989 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16990 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16991 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16992 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16993 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16994 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16995 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16996 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16997 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16998 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16999 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17000 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17001 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17002 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17003 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17004 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17005 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17006 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17007 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17008 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17009 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17010 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17011 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17012 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17013 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17014 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17015 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17016 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17017 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17018 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17019 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17020 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17021 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17022 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17023 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17024 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17025 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17026 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17027 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17028 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17029 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17030 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17031 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17032 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17033 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17034 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17035 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"`'
17036 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17037 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17038 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17039 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17040 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17041 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17042 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17043 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17044 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17045 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17046 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17047 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17048 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17049 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17050 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17051 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17052 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17053 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17054 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17055 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17056 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17057 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17058 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17059 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17060 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17061 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17062 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17063 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17064 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17065 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17066 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17067 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17068 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17069 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17070 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17071 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17072 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17073 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17074 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17075 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17076 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
17077 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17078 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17079 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17080 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17081 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17082 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17083 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17084 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17085 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17086 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17087 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17088 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17089 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17090 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17091 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17092 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17093 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17094 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17095 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17096 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17097 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17098 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17099 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17100 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17101 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17102 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17103 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17104 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17105 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17106 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17107 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17108 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17109 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17110 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17111 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17112 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17113 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17114 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17115 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17116 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17117 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17118 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17119 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17120 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17121 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17122 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17123 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17124 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17125 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17126 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17127 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17128 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17129 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17130 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17131 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17132 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17133 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17134 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17135 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17136 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17137 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17138 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17139 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
17140 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17141 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17142 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17143 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17144 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17145 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17146 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17147 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17148 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
17149 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17150 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17151 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17152 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17153 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17154 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17155 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17156 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17157 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17158 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17159 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17160 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17161 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17164 LTCFLAGS='$LTCFLAGS'
17165 compiler='$compiler_DEFAULT'
17167 # A function that is used when there is no print builtin or printf.
17168 func_fallback_echo ()
17170 eval 'cat <<_LTECHO_EOF
17175 # Quote evaled strings.
17189 deplibs_check_method \
17198 lt_cv_sys_global_symbol_pipe \
17199 lt_cv_sys_global_symbol_to_cdecl \
17200 lt_cv_sys_global_symbol_to_c_name_address \
17201 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17202 lt_prog_compiler_no_builtin_flag \
17203 lt_prog_compiler_wl \
17204 lt_prog_compiler_pic \
17205 lt_prog_compiler_static \
17206 lt_cv_prog_compiler_c_o \
17214 export_dynamic_flag_spec \
17215 whole_archive_flag_spec \
17216 compiler_needs_object \
17218 allow_undefined_flag \
17219 no_undefined_flag \
17220 hardcode_libdir_flag_spec \
17221 hardcode_libdir_flag_spec_ld \
17222 hardcode_libdir_separator \
17227 variables_saved_for_relink \
17229 library_names_spec \
17231 install_override_mode \
17235 compiler_lib_search_dirs \
17240 compiler_lib_search_path \
17244 lt_prog_compiler_no_builtin_flag_CXX \
17245 lt_prog_compiler_wl_CXX \
17246 lt_prog_compiler_pic_CXX \
17247 lt_prog_compiler_static_CXX \
17248 lt_cv_prog_compiler_c_o_CXX \
17249 export_dynamic_flag_spec_CXX \
17250 whole_archive_flag_spec_CXX \
17251 compiler_needs_object_CXX \
17253 allow_undefined_flag_CXX \
17254 no_undefined_flag_CXX \
17255 hardcode_libdir_flag_spec_CXX \
17256 hardcode_libdir_flag_spec_ld_CXX \
17257 hardcode_libdir_separator_CXX \
17258 fix_srcfile_path_CXX \
17259 exclude_expsyms_CXX \
17260 include_expsyms_CXX \
17261 file_list_spec_CXX \
17262 compiler_lib_search_dirs_CXX \
17263 predep_objects_CXX \
17264 postdep_objects_CXX \
17267 compiler_lib_search_path_CXX; do
17268 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17269 *[\\\\\\\`\\"\\\$]*)
17270 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17273 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17278 # Double-quote double-evaled strings.
17279 for var in reload_cmds \
17280 old_postinstall_cmds \
17281 old_postuninstall_cmds \
17283 extract_expsyms_cmds \
17284 old_archive_from_new_cmds \
17285 old_archive_from_expsyms_cmds \
17287 archive_expsym_cmds \
17289 module_expsym_cmds \
17290 export_symbols_cmds \
17293 postuninstall_cmds \
17295 sys_lib_search_path_spec \
17296 sys_lib_dlsearch_path_spec \
17298 old_archive_cmds_CXX \
17299 old_archive_from_new_cmds_CXX \
17300 old_archive_from_expsyms_cmds_CXX \
17302 archive_expsym_cmds_CXX \
17304 module_expsym_cmds_CXX \
17305 export_symbols_cmds_CXX \
17306 prelink_cmds_CXX; do
17307 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17308 *[\\\\\\\`\\"\\\$]*)
17309 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17312 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17317 ac_aux_dir='$ac_aux_dir'
17318 xsi_shell='$xsi_shell'
17319 lt_shell_append='$lt_shell_append'
17321 # See if we are running on zsh, and set the options which allow our
17322 # commands through without removal of \ escapes INIT.
17323 if test -n "\${ZSH_VERSION+set}" ; then
17324 setopt NO_GLOB_SUBST
17330 TIMESTAMP='$TIMESTAMP'
17341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17343 # Handling of arguments.
17344 for ac_config_target
in $ac_config_targets
17346 case $ac_config_target in
17347 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17348 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
17349 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17350 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17351 "libproc_macro_internal/Makefile") CONFIG_FILES
="$CONFIG_FILES libproc_macro_internal/Makefile" ;;
17353 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17358 # If the user did not use the arguments to specify the items to instantiate,
17359 # then the envvar interface is used. Set only those that are not.
17360 # We use the long form for the default assignment because of an extremely
17361 # bizarre bug on SunOS 4.1.3.
17362 if $ac_need_defaults; then
17363 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17364 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17367 # Have a temporary directory for convenience. Make it in the build tree
17368 # simply because there is no reason against having it here, and in addition,
17369 # creating and moving files from /tmp can sometimes cause problems.
17370 # Hook for its removal unless debugging.
17371 # Note that there is a small window in which the directory will not be cleaned:
17372 # after its creation but before its name has been assigned to `$tmp'.
17376 trap 'exit_status=$?
17377 : "${ac_tmp:=$tmp}"
17378 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17380 trap 'as_fn_exit 1' 1 2 13 15
17382 # Create a (secure) tmp directory for tmp files.
17385 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17389 tmp
=.
/conf$$
-$RANDOM
17390 (umask 077 && mkdir
"$tmp")
17391 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
17394 # Set up the scripts for CONFIG_FILES section.
17395 # No need to generate them if there are no CONFIG_FILES.
17396 # This happens for instance with `./config.status config.h'.
17397 if test -n "$CONFIG_FILES"; then
17400 ac_cr
=`echo X | tr X '\015'`
17401 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17402 # But we know of no other shell where ac_cr would be empty at this
17403 # point, so we can use a bashism as a fallback.
17404 if test "x$ac_cr" = x
; then
17405 eval ac_cr
=\$
\'\\r
\'
17407 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17408 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17411 ac_cs_awk_cr
=$ac_cr
17414 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17419 echo "cat >conf$$subs.awk <<_ACEOF" &&
17420 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17422 } >conf$$subs.sh ||
17423 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17424 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17426 for ac_last_try in false false false false false :; do
17427 . ./conf$$subs.sh ||
17428 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17430 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17431 if test $ac_delim_n = $ac_delim_num; then
17433 elif $ac_last_try; then
17434 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17436 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17439 rm -f conf$$subs.sh
17441 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17442 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
17446 s/^/S["/; s
/!.
*/"]=/
17456 s/\(.\{148\}\)..*/\1/
17458 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17463 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17470 s/\(.\{148\}\)..*/\1/
17472 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17476 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17481 ' <conf$$subs.awk | sed '
17486 ' >>$CONFIG_STATUS || ac_write_fail=1
17487 rm -f conf$$subs.awk
17488 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17490 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17491 for (key in S) S_is_set[key] = 1
17497 nfields = split(line, field, "@
")
17499 len = length(field[1])
17500 for (i = 2; i < nfields; i++) {
17502 keylen = length(key)
17503 if (S_is_set[key]) {
17505 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17506 len += length(value) + length(field[++i])
17517 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17518 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17519 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17522 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17523 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17526 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17527 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17528 # trailing colons and then remove the whole line if VPATH becomes empty
17529 # (actually we leave an empty line to preserve line numbers).
17530 if test "x
$srcdir" = x.; then
17531 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17549 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17550 fi # test -n "$CONFIG_FILES"
17553 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
17558 :[FHLC]) ac_mode=$ac_tag; continue;;
17560 case $ac_mode$ac_tag in
17562 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
17563 :[FH]-) ac_tag=-:-;;
17564 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17581 -) ac_f="$ac_tmp/stdin";;
17582 *) # Look for the file first in the build tree, then in the source tree
17583 # (if the path is not absolute). The absolute path cannot be DOS-style,
17584 # because $ac_f cannot contain `:'.
17588 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17590 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17592 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
17593 as_fn_append ac_file_inputs " '$ac_f'"
17596 # Let's still pretend it is `configure' which instantiates (i.e., don't
17597 # use $as_me), people would be surprised to read:
17598 # /* config.h. Generated by config.status. */
17599 configure_input='Generated from '`
17600 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17602 if test x"$ac_file" != x-; then
17603 configure_input="$ac_file.
$configure_input"
17604 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
17605 $as_echo "$as_me: creating
$ac_file" >&6;}
17607 # Neutralize special characters interpreted by sed in replacement strings.
17608 case $configure_input in #(
17609 *\&* | *\|* | *\\* )
17610 ac_sed_conf_input=`$as_echo "$configure_input" |
17611 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17612 *) ac_sed_conf_input=$configure_input;;
17616 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
17617 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
17622 ac_dir=`$as_dirname -- "$ac_file" ||
17623 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17624 X"$ac_file" : 'X\(//\)[^/]' \| \
17625 X"$ac_file" : 'X\(//\)$' \| \
17626 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17627 $as_echo X"$ac_file" |
17628 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17632 /^X\(\/\/\)[^/].*/{
17645 as_dir="$ac_dir"; as_fn_mkdir_p
17649 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17651 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17652 # A "..
" for each directory in $ac_dir_suffix.
17653 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17654 case $ac_top_builddir_sub in
17655 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17656 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17659 ac_abs_top_builddir=$ac_pwd
17660 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17661 # for backward compatibility:
17662 ac_top_builddir=$ac_top_build_prefix
17665 .) # We are building in place.
17667 ac_top_srcdir=$ac_top_builddir_sub
17668 ac_abs_top_srcdir=$ac_pwd ;;
17669 [\\/]* | ?:[\\/]* ) # Absolute name.
17670 ac_srcdir=$srcdir$ac_dir_suffix;
17671 ac_top_srcdir=$srcdir
17672 ac_abs_top_srcdir=$srcdir ;;
17673 *) # Relative name.
17674 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17675 ac_top_srcdir=$ac_top_build_prefix$srcdir
17676 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17678 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17688 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17689 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17691 ac_MKDIR_P=$MKDIR_P
17693 [\\/$]* | ?:[\\/]* ) ;;
17694 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17698 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17699 # If the template does not know about datarootdir, expand it.
17700 # FIXME: This hack should be removed a few years after 2.60.
17701 ac_datarootdir_hack=; ac_datarootdir_seen=
17712 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
17713 *datarootdir*) ac_datarootdir_seen=yes;;
17714 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
17716 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
17718 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17719 ac_datarootdir_hack='
17720 s&@datadir@&$datadir&g
17721 s&@docdir@&$docdir&g
17722 s&@infodir@&$infodir&g
17723 s&@localedir@&$localedir&g
17724 s&@mandir@&$mandir&g
17725 s&\\\${datarootdir}&$datarootdir&g' ;;
17729 # Neutralize VPATH when `$srcdir' = `.'.
17730 # Shell code in configure.ac might set extrasub.
17731 # FIXME: do we really want to maintain this feature?
17732 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17733 ac_sed_extra="$ac_vpsub
17736 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17738 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17739 s|@configure_input@|
$ac_sed_conf_input|
;t t
17740 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17741 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17742 s
&@srcdir@
&$ac_srcdir&;t t
17743 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17744 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17745 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17746 s
&@builddir@
&$ac_builddir&;t t
17747 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17748 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17749 s
&@INSTALL@
&$ac_INSTALL&;t t
17750 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17751 $ac_datarootdir_hack
17753 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
17754 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17756 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17757 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17758 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17759 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17761 which seems to be undefined. Please make sure it is defined" >&5
17762 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17763 which seems to be undefined. Please make sure it is defined" >&2;}
17765 rm -f "$ac_tmp/stdin"
17767 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17768 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17770 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17774 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17775 $as_echo "$as_me: executing $ac_file commands" >&6;}
17780 case $ac_file$ac_mode in
17782 # Only add multilib support code if we just rebuilt the top-level
17784 case " $CONFIG_FILES " in
17786 ac_file=Makefile . ${multi_basedir}/config-ml.in
17789 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17790 # Older Autoconf quotes --file arguments for eval, but not when files
17791 # are listed without --file. Let's play safe and only
enable the
eval
17792 # if we detect the quoting.
17793 case $CONFIG_FILES in
17794 *\'*) eval set x
"$CONFIG_FILES" ;;
17795 *) set x
$CONFIG_FILES ;;
17800 # Strip MF so we end up with the name of the file.
17801 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17802 # Check whether this is an Automake generated Makefile or not.
17803 # We used to match only the files named 'Makefile.in', but
17804 # some people rename them; so instead we look at the file content.
17805 # Grep'ing the first line is not enough: some people post-process
17806 # each Makefile.in and add a new line on top of each file to say so.
17807 # Grep'ing the whole file is not good either: AIX grep has a line
17808 # limit of 2048, but all sed's we know have understand at least 4000.
17809 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17810 dirpart
=`$as_dirname -- "$mf" ||
17811 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17812 X"$mf" : 'X\(//\)[^/]' \| \
17813 X"$mf" : 'X\(//\)$' \| \
17814 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17816 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17820 /^X\(\/\/\)[^/].*/{
17836 # Extract the definition of DEPDIR, am__include, and am__quote
17837 # from the Makefile without running 'make'.
17838 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17839 test -z "$DEPDIR" && continue
17840 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17841 test -z "$am__include" && continue
17842 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17843 # Find all dependency output files, they are included files with
17844 # $(DEPDIR) in their names. We invoke sed twice because it is the
17845 # simplest approach to changing $(DEPDIR) to its actual value in the
17847 for file in `sed -n "
17848 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17849 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17850 # Make sure the directory exists.
17851 test -f "$dirpart/$file" && continue
17852 fdir
=`$as_dirname -- "$file" ||
17853 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17854 X"$file" : 'X\(//\)[^/]' \| \
17855 X"$file" : 'X\(//\)$' \| \
17856 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17857 $as_echo X"$file" |
17858 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17862 /^X\(\/\/\)[^/].*/{
17875 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17876 # echo "creating $dirpart/$file"
17877 echo '# dummy' > "$dirpart/$file"
17884 # See if we are running on zsh, and set the options which allow our
17885 # commands through without removal of \ escapes.
17886 if test -n "${ZSH_VERSION+set}" ; then
17887 setopt NO_GLOB_SUBST
17890 cfgfile
="${ofile}T"
17891 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17894 cat <<_LT_EOF >> "$cfgfile"
17897 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17898 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17899 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17900 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17902 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17903 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17904 # Written by Gordon Matzigkeit, 1996
17906 # This file is part of GNU Libtool.
17908 # GNU Libtool is free software; you can redistribute it and/or
17909 # modify it under the terms of the GNU General Public License as
17910 # published by the Free Software Foundation; either version 2 of
17911 # the License, or (at your option) any later version.
17913 # As a special exception to the GNU General Public License,
17914 # if you distribute this file as part of a program or library that
17915 # is built using GNU Libtool, you may include this file under the
17916 # same distribution terms that you use for the rest of that program.
17918 # GNU Libtool is distributed in the hope that it will be useful,
17919 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17920 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17921 # GNU General Public License for more details.
17923 # You should have received a copy of the GNU General Public License
17924 # along with GNU Libtool; see the file COPYING. If not, a copy
17925 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17926 # obtained by writing to the Free Software Foundation, Inc.,
17927 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17930 # The names of the tagged configurations supported by this script.
17931 available_tags="CXX "
17933 # ### BEGIN LIBTOOL CONFIG
17935 # Which release of libtool.m4 was used?
17936 macro_version=$macro_version
17937 macro_revision=$macro_revision
17939 # Whether or not to build shared libraries.
17940 build_libtool_libs=$enable_shared
17942 # Whether or not to build static libraries.
17943 build_old_libs=$enable_static
17945 # What type of objects to build.
17948 # Whether or not to optimize for fast installation.
17949 fast_install=$enable_fast_install
17951 # Shell to use when invoking shell scripts.
17954 # An echo program that protects backslashes.
17958 host_alias=$host_alias
17962 # The build system.
17963 build_alias=$build_alias
17967 # A sed program that does not truncate output.
17970 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17971 Xsed="\$SED -e 1s/^X//"
17973 # A grep program that handles long lines.
17979 # A literal string matcher.
17982 # A BSD- or MS-compatible name lister.
17985 # Whether we need soft or hard links.
17988 # What is the maximum length of a command?
17989 max_cmd_len=$max_cmd_len
17991 # Object file suffix (normally "o").
17994 # Executable file suffix (normally "").
17997 # whether the shell understands "unset".
18000 # turn spaces into newlines.
18003 # turn newlines into spaces.
18006 # An object symbol dumper.
18007 OBJDUMP=$lt_OBJDUMP
18009 # Method to check whether dependent libraries are shared objects.
18010 deplibs_check_method=$lt_deplibs_check_method
18012 # Command to use when deplibs_check_method == "file_magic".
18013 file_magic_cmd=$lt_file_magic_cmd
18017 AR_FLAGS=$lt_AR_FLAGS
18019 # A symbol stripping program.
18022 # Commands used to install an old-style archive.
18024 old_postinstall_cmds=$lt_old_postinstall_cmds
18025 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18027 # Whether to use a lock for old archive extraction.
18028 lock_old_archive_extraction=$lock_old_archive_extraction
18033 # LTCC compiler flags.
18034 LTCFLAGS=$lt_CFLAGS
18036 # Take the output of nm and produce a listing of raw symbols and C names.
18037 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18039 # Transform the output of nm in a proper C declaration.
18040 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18042 # Transform the output of nm in a C name address pair.
18043 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18045 # Transform the output of nm in a C name address pair when lib prefix is needed.
18046 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18048 # The name of the directory that contains temporary libtool files.
18051 # Used to examine libraries when file_magic_cmd begins with "file".
18052 MAGIC_CMD=$MAGIC_CMD
18054 # Must we lock files when doing compilation?
18055 need_locks=$lt_need_locks
18057 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18058 DSYMUTIL=$lt_DSYMUTIL
18060 # Tool to change global to local symbols on Mac OS X.
18063 # Tool to manipulate fat objects and archives on Mac OS X.
18066 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18069 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18070 OTOOL64=$lt_OTOOL64
18072 # Old archive suffix (normally "a").
18075 # Shared library suffix (normally ".so").
18076 shrext_cmds=$lt_shrext_cmds
18078 # The commands to extract the exported symbol list from a shared archive.
18079 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18081 # Variables whose values should be saved in libtool wrapper scripts and
18082 # restored at link time.
18083 variables_saved_for_relink=$lt_variables_saved_for_relink
18085 # Do we need the "lib" prefix for modules?
18086 need_lib_prefix=$need_lib_prefix
18088 # Do we need a version for libraries?
18089 need_version=$need_version
18091 # Library versioning type.
18092 version_type=$version_type
18094 # Shared library runtime path variable.
18095 runpath_var=$runpath_var
18097 # Shared library path variable.
18098 shlibpath_var=$shlibpath_var
18100 # Is shlibpath searched before the hard-coded library search path?
18101 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18103 # Format of library name prefix.
18104 libname_spec=$lt_libname_spec
18106 # List of archive names. First name is the real one, the rest are links.
18107 # The last name is the one that the linker finds with -lNAME
18108 library_names_spec=$lt_library_names_spec
18110 # The coded name of the library, if different from the real name.
18111 soname_spec=$lt_soname_spec
18113 # Permission mode override for installation of shared libraries.
18114 install_override_mode=$lt_install_override_mode
18116 # Command to use after installation of a shared archive.
18117 postinstall_cmds=$lt_postinstall_cmds
18119 # Command to use after uninstallation of a shared archive.
18120 postuninstall_cmds=$lt_postuninstall_cmds
18122 # Commands used to finish a libtool library installation in a directory.
18123 finish_cmds=$lt_finish_cmds
18125 # As "finish_cmds", except a single script fragment to be evaled but
18127 finish_eval=$lt_finish_eval
18129 # Whether we should hardcode library paths into libraries.
18130 hardcode_into_libs=$hardcode_into_libs
18132 # Compile-time system search path for libraries.
18133 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18135 # Run-time system search path for libraries.
18136 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18138 # Whether dlopen is supported.
18139 dlopen_support=$enable_dlopen
18141 # Whether dlopen of programs is supported.
18142 dlopen_self=$enable_dlopen_self
18144 # Whether dlopen of statically linked programs is supported.
18145 dlopen_self_static=$enable_dlopen_self_static
18147 # Commands to strip libraries.
18148 old_striplib=$lt_old_striplib
18149 striplib=$lt_striplib
18152 # The linker used to build libraries.
18155 # How to create reloadable object files.
18156 reload_flag=$lt_reload_flag
18157 reload_cmds=$lt_reload_cmds
18159 # Commands used to build an old-style archive.
18160 old_archive_cmds=$lt_old_archive_cmds
18162 # A language specific compiler.
18165 # Is the compiler the GNU compiler?
18168 # Compiler flag to turn off builtin functions.
18169 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18171 # How to pass a linker flag through the compiler.
18172 wl=$lt_lt_prog_compiler_wl
18174 # Additional compiler flags for building library objects.
18175 pic_flag=$lt_lt_prog_compiler_pic
18177 # Compiler flag to prevent dynamic linking.
18178 link_static_flag=$lt_lt_prog_compiler_static
18180 # Does compiler simultaneously support -c and -o options?
18181 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18183 # Whether or not to add -lc for building shared libraries.
18184 build_libtool_need_lc=$archive_cmds_need_lc
18186 # Whether or not to disallow shared libs when runtime libs are static.
18187 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18189 # Compiler flag to allow reflexive dlopens.
18190 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18192 # Compiler flag to generate shared objects directly from archives.
18193 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18195 # Whether the compiler copes with passing no objects directly.
18196 compiler_needs_object=$lt_compiler_needs_object
18198 # Create an old-style archive from a shared archive.
18199 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18201 # Create a temporary old-style archive to link instead of a shared archive.
18202 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18204 # Commands used to build a shared archive.
18205 archive_cmds=$lt_archive_cmds
18206 archive_expsym_cmds=$lt_archive_expsym_cmds
18208 # Commands used to build a loadable module if different from building
18209 # a shared archive.
18210 module_cmds=$lt_module_cmds
18211 module_expsym_cmds=$lt_module_expsym_cmds
18213 # Whether we are building with GNU ld or not.
18214 with_gnu_ld=$lt_with_gnu_ld
18216 # Flag that allows shared libraries with undefined symbols to be built.
18217 allow_undefined_flag=$lt_allow_undefined_flag
18219 # Flag that enforces no undefined symbols.
18220 no_undefined_flag=$lt_no_undefined_flag
18222 # Flag to hardcode \$libdir into a binary during linking.
18223 # This must work even if \$libdir does not exist
18224 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18226 # If ld is used when linking, flag to hardcode \$libdir into a binary
18227 # during linking. This must work even if \$libdir does not exist.
18228 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18230 # Whether we need a single "-rpath" flag with a separated argument.
18231 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18233 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18234 # DIR into the resulting binary.
18235 hardcode_direct=$hardcode_direct
18237 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18238 # DIR into the resulting binary and the resulting library dependency is
18239 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18240 # library is relocated.
18241 hardcode_direct_absolute=$hardcode_direct_absolute
18243 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18244 # into the resulting binary.
18245 hardcode_minus_L=$hardcode_minus_L
18247 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18248 # into the resulting binary.
18249 hardcode_shlibpath_var=$hardcode_shlibpath_var
18251 # Set to "yes" if building a shared library automatically hardcodes DIR
18252 # into the library and all subsequent libraries and executables linked
18254 hardcode_automatic=$hardcode_automatic
18256 # Set to yes if linker adds runtime paths of dependent libraries
18257 # to runtime path list.
18258 inherit_rpath=$inherit_rpath
18260 # Whether libtool must link a program against all its dependency libraries.
18261 link_all_deplibs=$link_all_deplibs
18263 # Fix the shell variable \$srcfile for the compiler.
18264 fix_srcfile_path=$lt_fix_srcfile_path
18266 # Set to "yes" if exported symbols are required.
18267 always_export_symbols=$always_export_symbols
18269 # The commands to list exported symbols.
18270 export_symbols_cmds=$lt_export_symbols_cmds
18272 # Symbols that should not be listed in the preloaded symbols.
18273 exclude_expsyms=$lt_exclude_expsyms
18275 # Symbols that must always be exported.
18276 include_expsyms=$lt_include_expsyms
18278 # Commands necessary for linking programs (against libraries) with templates.
18279 prelink_cmds=$lt_prelink_cmds
18281 # Specify filename containing input files.
18282 file_list_spec=$lt_file_list_spec
18284 # How to hardcode a shared library path into an executable.
18285 hardcode_action=$hardcode_action
18287 # The directories searched by this compiler when creating a shared library.
18288 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18290 # Dependencies to place before and after the objects being linked to
18291 # create a shared library.
18292 predep_objects=$lt_predep_objects
18293 postdep_objects=$lt_postdep_objects
18294 predeps=$lt_predeps
18295 postdeps=$lt_postdeps
18297 # The library search path used internally by the compiler when linking
18298 # a shared library.
18299 compiler_lib_search_path=$lt_compiler_lib_search_path
18301 # ### END LIBTOOL CONFIG
18307 cat <<\_LT_EOF
>> "$cfgfile"
18308 # AIX sometimes has problems with the GCC collect2 program. For some
18309 # reason, if we set the COLLECT_NAMES environment variable, the problems
18310 # vanish in a puff of smoke.
18311 if test "X${COLLECT_NAMES+set}" != Xset
; then
18313 export COLLECT_NAMES
18320 ltmain
="$ac_aux_dir/ltmain.sh"
18323 # We use sed instead of cat because bash on DJGPP gets confused if
18324 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18325 # text mode, it properly converts lines to CR/LF. This bash problem
18326 # is reportedly fixed, but why not run on old versions too?
18327 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18328 ||
(rm -f "$cfgfile"; exit 1)
18332 cat << \_LT_EOF
>> "$cfgfile"
18334 # func_dirname file append nondir_replacement
18335 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18336 # otherwise set result to NONDIR_REPLACEMENT.
18340 */*) func_dirname_result
="${1%/*}${2}" ;;
18341 * ) func_dirname_result
="${3}" ;;
18345 # func_basename file
18348 func_basename_result
="${1##*/}"
18351 # func_dirname_and_basename file append nondir_replacement
18352 # perform func_basename and func_dirname in a single function
18354 # dirname: Compute the dirname of FILE. If nonempty,
18355 # add APPEND to the result, otherwise set result
18356 # to NONDIR_REPLACEMENT.
18357 # value returned in "$func_dirname_result"
18358 # basename: Compute filename of FILE.
18359 # value retuned in "$func_basename_result"
18360 # Implementation must be kept synchronized with func_dirname
18361 # and func_basename. For efficiency, we do not delegate to
18362 # those functions but instead duplicate the functionality here.
18363 func_dirname_and_basename
()
18366 */*) func_dirname_result
="${1%/*}${2}" ;;
18367 * ) func_dirname_result
="${3}" ;;
18369 func_basename_result
="${1##*/}"
18372 # func_stripname prefix suffix name
18373 # strip PREFIX and SUFFIX off of NAME.
18374 # PREFIX and SUFFIX must not contain globbing or regex special
18375 # characters, hashes, percent signs, but SUFFIX may contain a leading
18376 # dot (in which case that matches only a dot).
18379 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18380 # positional parameters, so assign one to ordinary parameter first.
18381 func_stripname_result
=${3}
18382 func_stripname_result
=${func_stripname_result#"${1}"}
18383 func_stripname_result
=${func_stripname_result%"${2}"}
18389 func_opt_split_opt
=${1%%=*}
18390 func_opt_split_arg
=${1#*=}
18397 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
18398 *) func_lo2o_result
=${1} ;;
18402 # func_xform libobj-or-source
18405 func_xform_result
=${1%.*}.lo
18408 # func_arith arithmetic-term...
18411 func_arith_result
=$
(( $
* ))
18415 # STRING may not start with a hyphen.
18418 func_len_result
=${#1}
18423 *) # Bourne compatible functions.
18424 cat << \_LT_EOF
>> "$cfgfile"
18426 # func_dirname file append nondir_replacement
18427 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18428 # otherwise set result to NONDIR_REPLACEMENT.
18431 # Extract subdirectory from the argument.
18432 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
18433 if test "X$func_dirname_result" = "X${1}"; then
18434 func_dirname_result
="${3}"
18436 func_dirname_result
="$func_dirname_result${2}"
18440 # func_basename file
18443 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
18447 # func_stripname prefix suffix name
18448 # strip PREFIX and SUFFIX off of NAME.
18449 # PREFIX and SUFFIX must not contain globbing or regex special
18450 # characters, hashes, percent signs, but SUFFIX may contain a leading
18451 # dot (in which case that matches only a dot).
18452 # func_strip_suffix prefix name
18456 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
18457 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
18462 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18463 my_sed_long_arg
='1s/^-[^=]*=//'
18468 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
18469 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
18475 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
18478 # func_xform libobj-or-source
18481 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
18484 # func_arith arithmetic-term...
18487 func_arith_result
=`expr "$@"`
18491 # STRING may not start with a hyphen.
18494 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18500 case $lt_shell_append in
18502 cat << \_LT_EOF
>> "$cfgfile"
18504 # func_append var value
18505 # Append VALUE to the end of shell variable VAR.
18513 cat << \_LT_EOF
>> "$cfgfile"
18515 # func_append var value
18516 # Append VALUE to the end of shell variable VAR.
18527 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18528 ||
(rm -f "$cfgfile"; exit 1)
18530 mv -f "$cfgfile" "$ofile" ||
18531 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18535 cat <<_LT_EOF >> "$ofile"
18537 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18539 # The linker used to build libraries.
18542 # How to create reloadable object files.
18543 reload_flag=$lt_reload_flag_CXX
18544 reload_cmds=$lt_reload_cmds_CXX
18546 # Commands used to build an old-style archive.
18547 old_archive_cmds=$lt_old_archive_cmds_CXX
18549 # A language specific compiler.
18550 CC=$lt_compiler_CXX
18552 # Is the compiler the GNU compiler?
18555 # Compiler flag to turn off builtin functions.
18556 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18558 # How to pass a linker flag through the compiler.
18559 wl=$lt_lt_prog_compiler_wl_CXX
18561 # Additional compiler flags for building library objects.
18562 pic_flag=$lt_lt_prog_compiler_pic_CXX
18564 # Compiler flag to prevent dynamic linking.
18565 link_static_flag=$lt_lt_prog_compiler_static_CXX
18567 # Does compiler simultaneously support -c and -o options?
18568 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18570 # Whether or not to add -lc for building shared libraries.
18571 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18573 # Whether or not to disallow shared libs when runtime libs are static.
18574 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18576 # Compiler flag to allow reflexive dlopens.
18577 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18579 # Compiler flag to generate shared objects directly from archives.
18580 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18582 # Whether the compiler copes with passing no objects directly.
18583 compiler_needs_object=$lt_compiler_needs_object_CXX
18585 # Create an old-style archive from a shared archive.
18586 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18588 # Create a temporary old-style archive to link instead of a shared archive.
18589 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18591 # Commands used to build a shared archive.
18592 archive_cmds=$lt_archive_cmds_CXX
18593 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18595 # Commands used to build a loadable module if different from building
18596 # a shared archive.
18597 module_cmds=$lt_module_cmds_CXX
18598 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18600 # Whether we are building with GNU ld or not.
18601 with_gnu_ld=$lt_with_gnu_ld_CXX
18603 # Flag that allows shared libraries with undefined symbols to be built.
18604 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18606 # Flag that enforces no undefined symbols.
18607 no_undefined_flag=$lt_no_undefined_flag_CXX
18609 # Flag to hardcode \$libdir into a binary during linking.
18610 # This must work even if \$libdir does not exist
18611 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18613 # If ld is used when linking, flag to hardcode \$libdir into a binary
18614 # during linking. This must work even if \$libdir does not exist.
18615 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18617 # Whether we need a single "-rpath" flag with a separated argument.
18618 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18620 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18621 # DIR into the resulting binary.
18622 hardcode_direct=$hardcode_direct_CXX
18624 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18625 # DIR into the resulting binary and the resulting library dependency is
18626 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18627 # library is relocated.
18628 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18630 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18631 # into the resulting binary.
18632 hardcode_minus_L=$hardcode_minus_L_CXX
18634 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18635 # into the resulting binary.
18636 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18638 # Set to "yes" if building a shared library automatically hardcodes DIR
18639 # into the library and all subsequent libraries and executables linked
18641 hardcode_automatic=$hardcode_automatic_CXX
18643 # Set to yes if linker adds runtime paths of dependent libraries
18644 # to runtime path list.
18645 inherit_rpath=$inherit_rpath_CXX
18647 # Whether libtool must link a program against all its dependency libraries.
18648 link_all_deplibs=$link_all_deplibs_CXX
18650 # Fix the shell variable \$srcfile for the compiler.
18651 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18653 # Set to "yes" if exported symbols are required.
18654 always_export_symbols=$always_export_symbols_CXX
18656 # The commands to list exported symbols.
18657 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18659 # Symbols that should not be listed in the preloaded symbols.
18660 exclude_expsyms=$lt_exclude_expsyms_CXX
18662 # Symbols that must always be exported.
18663 include_expsyms=$lt_include_expsyms_CXX
18665 # Commands necessary for linking programs (against libraries) with templates.
18666 prelink_cmds=$lt_prelink_cmds_CXX
18668 # Specify filename containing input files.
18669 file_list_spec=$lt_file_list_spec_CXX
18671 # How to hardcode a shared library path into an executable.
18672 hardcode_action=$hardcode_action_CXX
18674 # The directories searched by this compiler when creating a shared library.
18675 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18677 # Dependencies to place before and after the objects being linked to
18678 # create a shared library.
18679 predep_objects=$lt_predep_objects_CXX
18680 postdep_objects=$lt_postdep_objects_CXX
18681 predeps=$lt_predeps_CXX
18682 postdeps=$lt_postdeps_CXX
18684 # The library search path used internally by the compiler when linking
18685 # a shared library.
18686 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18688 # ### END LIBTOOL TAG CONFIG: CXX
18692 "libproc_macro_internal/Makefile":F
) cat > vpsed$$
<< \_EOF
18693 s
!`test -f '$<' || echo '$(srcdir)/'`!!
18695 sed -f vpsed$$
$ac_file > tmp$$
18698 echo 'MULTISUBDIR =' >> $ac_file
18700 { ml_norecursion
=; unset ml_norecursion
;}
18709 ac_clean_files
=$ac_clean_files_save
18711 test $ac_write_fail = 0 ||
18712 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18715 # configure is writing to config.log, and then calls config.status.
18716 # config.status does its own redirection, appending to config.log.
18717 # Unfortunately, on DOS this fails, as config.log is still kept open
18718 # by configure, so config.status won't be able to write to it; its
18719 # output is simply discarded. So we exec the FD to /dev/null,
18720 # effectively closing config.log, so it can be properly (re)opened and
18721 # appended to by config.status. When coming back to configure, we
18722 # need to make the FD available again.
18723 if test "$no_create" != yes; then
18725 ac_config_status_args
=
18726 test "$silent" = yes &&
18727 ac_config_status_args
="$ac_config_status_args --quiet"
18729 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18731 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18732 # would make configure fail if this is the last instruction.
18733 $ac_cs_success || as_fn_exit
1
18735 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18737 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}