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 # Default to --enable-multilib
2391 # Check whether --enable-multilib was given.
2392 if test "${enable_multilib+set}" = set; then :
2393 enableval=$enable_multilib; case "$enableval" in
2394 yes) multilib=yes ;;
2396 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
2403 # We may get other options which we leave undocumented:
2404 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2405 # See config-ml.in if you want the gory details.
2407 if test "$srcdir" = "."; then
2408 if test "$with_target_subdir" != "."; then
2409 multi_basedir="$srcdir/$with_multisrctop../.."
2411 multi_basedir="$srcdir/$with_multisrctop.."
2414 multi_basedir="$srcdir/.."
2418 # Even if the default multilib is not a cross compilation,
2419 # it may be that some of the other multilibs are.
2420 if test $cross_compiling = no && test $multilib = yes \
2421 && test "x${with_multisubdir}" != x ; then
2422 cross_compiling=maybe
2425 ac_config_commands="$ac_config_commands default-1"
2428 # Do not delete or change the following two lines. For why, see
2429 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2431 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2432 if test -f "$ac_dir/install-sh"; then
2434 ac_install_sh="$ac_aux_dir/install-sh -c"
2436 elif test -f "$ac_dir/install.sh"; then
2438 ac_install_sh="$ac_aux_dir/install.sh -c"
2440 elif test -f "$ac_dir/shtool"; then
2442 ac_install_sh="$ac_aux_dir/shtool install -c"
2446 if test -z "$ac_aux_dir"; then
2447 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2450 # These three variables are undocumented and unsupported,
2451 # and are intended to be withdrawn in a future Autoconf release.
2452 # They can cause serious problems if a builder's source tree is in a directory
2453 # whose full name contains unusual characters.
2454 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2455 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2456 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2459 # Make sure we can run config.sub.
2460 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2461 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2464 $as_echo_n "checking build system type... " >&6; }
2465 if ${ac_cv_build+:} false; then :
2466 $as_echo_n "(cached) " >&6
2468 ac_build_alias=$build_alias
2469 test "x$ac_build_alias" = x &&
2470 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2471 test "x$ac_build_alias" = x &&
2472 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2473 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2474 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2478 $as_echo "$ac_cv_build" >&6; }
2479 case $ac_cv_build in
2481 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2484 ac_save_IFS=$IFS; IFS='-'
2490 # Remember, the first character of IFS is used to create $*,
2491 # except with old shells:
2494 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2498 $as_echo_n "checking host system type... " >&6; }
2499 if ${ac_cv_host+:} false; then :
2500 $as_echo_n "(cached) " >&6
2502 if test "x$host_alias" = x; then
2503 ac_cv_host=$ac_cv_build
2505 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2506 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2511 $as_echo "$ac_cv_host" >&6; }
2514 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2517 ac_save_IFS=$IFS; IFS='-'
2523 # Remember, the first character of IFS is used to create $*,
2524 # except with old shells:
2527 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2531 $as_echo_n "checking target system type... " >&6; }
2532 if ${ac_cv_target+:} false; then :
2533 $as_echo_n "(cached) " >&6
2535 if test "x$target_alias" = x; then
2536 ac_cv_target=$ac_cv_host
2538 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2539 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2544 $as_echo "$ac_cv_target" >&6; }
2545 case $ac_cv_target in
2547 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2549 target=$ac_cv_target
2550 ac_save_IFS=$IFS; IFS='-'
2556 # Remember, the first character of IFS is used to create $*,
2557 # except with old shells:
2560 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2563 # The aliases save the names the user supplied, while $host etc.
2564 # will get canonicalized.
2565 test -n "$target_alias" &&
2566 test "$program_prefix$program_suffix$program_transform_name" = \
2568 program_prefix=${target_alias}-
2570 target_alias=${target_alias-$host_alias}
2573 # Automake should never attempt to rebuild configure
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2576 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2577 # Check whether --enable-maintainer-mode was given.
2578 if test "${enable_maintainer_mode+set}" = set; then :
2579 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2581 USE_MAINTAINER_MODE=no
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2585 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2586 if test $USE_MAINTAINER_MODE = yes; then
2587 MAINTAINER_MODE_TRUE=
2588 MAINTAINER_MODE_FALSE='#'
2590 MAINTAINER_MODE_TRUE='#'
2591 MAINTAINER_MODE_FALSE=
2594 MAINT=$MAINTAINER_MODE_TRUE
2598 am__api_version='1.15'
2600 # Find a good install program. We prefer a C program (faster),
2601 # so one script is as good as another. But avoid the broken or
2602 # incompatible versions:
2603 # SysV /etc/install, /usr/sbin/install
2604 # SunOS /usr/etc/install
2605 # IRIX /sbin/install
2607 # AmigaOS /C/install, which installs bootblocks on floppy discs
2608 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2609 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2610 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2611 # OS/2's system install, which has a completely different semantic
2612 # ./install, which can be erroneously created by make from ./install.sh.
2613 # Reject install programs that cannot install multiple files.
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2615 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2616 if test -z "$INSTALL"; then
2617 if ${ac_cv_path_install+:} false; then :
2618 $as_echo_n "(cached) " >&6
2620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2624 test -z "$as_dir" && as_dir=.
2625 # Account for people who put trailing slashes in PATH elements.
2626 case $as_dir/ in #((
2627 ./ | .// | /[cC]/* | \
2628 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2629 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2632 # OSF1 and SCO ODT 3.0 have their own names for install.
2633 # Don't use installbsd from OSF since it installs stuff as root
2635 for ac_prog in ginstall scoinst install; do
2636 for ac_exec_ext in '' $ac_executable_extensions; do
2637 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2638 if test $ac_prog = install &&
2639 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2640 # AIX install. It has an incompatible calling convention.
2642 elif test $ac_prog = install &&
2643 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2644 # program-specific install script used by HP pwplus--don't use.
2647 rm -rf conftest.one conftest.two conftest.dir
2648 echo one > conftest.one
2649 echo two > conftest.two
2651 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2652 test -s conftest.one && test -s conftest.two &&
2653 test -s conftest.dir/conftest.one &&
2654 test -s conftest.dir/conftest.two
2656 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2669 rm -rf conftest.one conftest.two conftest.dir
2672 if test "${ac_cv_path_install+set}" = set; then
2673 INSTALL=$ac_cv_path_install
2675 # As a last resort, use the slow shell script. Don't cache a
2676 # value for INSTALL within a source directory, because that will
2677 # break other packages using the cache if that directory is
2678 # removed, or if the value is a relative name.
2679 INSTALL=$ac_install_sh
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2683 $as_echo "$INSTALL" >&6; }
2685 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2686 # It thinks the first close brace ends the variable substitution.
2687 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2689 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2691 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2694 $as_echo_n "checking whether build environment is sane... " >&6; }
2695 # Reject unsafe characters in $srcdir or the absolute working directory
2696 # name. Accept space and tab only in the latter.
2700 *[\\\"\#\$\&\'\`$am_lf]*)
2701 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2704 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2705 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2708 # Do 'set' in a subshell so we don't clobber the current shell's
2709 # arguments. Must try -L first in case configure is actually a
2710 # symlink; some systems play weird games with the mod time of symlinks
2711 # (eg FreeBSD returns the mod time of the symlink's containing
2715 for am_try
in 1 2; do
2716 echo "timestamp, slept: $am_has_slept" > conftest.
file
2717 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2718 if test "$*" = "X"; then
2720 set X
`ls -t "$srcdir/configure" conftest.file`
2722 if test "$*" != "X $srcdir/configure conftest.file" \
2723 && test "$*" != "X conftest.file $srcdir/configure"; then
2725 # If neither matched, then we have a broken ls. This can happen
2726 # if, for instance, CONFIG_SHELL is bash and it inherits a
2727 # broken ls alias from the environment. This has actually
2728 # happened. Such a system could not be considered "sane".
2729 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2730 alias in your environment" "$LINENO" 5
2732 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2739 test "$2" = conftest.
file
2745 as_fn_error $?
"newly created file is older than distributed files!
2746 Check your system clock" "$LINENO" 5
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2749 $as_echo "yes" >&6; }
2750 # If we didn't sleep, we still need to ensure time stamps of config.status and
2751 # generated files are strictly newer.
2753 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2760 test "$program_prefix" != NONE
&&
2761 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2762 # Use a double $ so make ignores it.
2763 test "$program_suffix" != NONE
&&
2764 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2765 # Double any \ or $.
2766 # By default was `s,x,x', remove it if useless.
2767 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2768 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2770 # Expand $ac_aux_dir to an absolute path.
2771 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2773 if test x
"${MISSING+set}" != xset
; then
2776 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2778 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2781 # Use eval to expand $SHELL
2782 if eval "$MISSING --is-lightweight"; then
2783 am_missing_run
="$MISSING "
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2787 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2790 if test x
"${install_sh+set}" != xset
; then
2793 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2795 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2799 # Installed binaries are usually stripped using 'strip' when the user
2800 # run "make install-strip". However 'strip' might not be the right
2801 # tool to use in cross-compilation environments, therefore Automake
2802 # will honor the 'STRIP' environment variable to overrule this program.
2803 if test "$cross_compiling" != no
; then
2804 if test -n "$ac_tool_prefix"; then
2805 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2806 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2808 $as_echo_n "checking for $ac_word... " >&6; }
2809 if ${ac_cv_prog_STRIP+:} false
; then :
2810 $as_echo_n "(cached) " >&6
2812 if test -n "$STRIP"; then
2813 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2819 test -z "$as_dir" && as_dir
=.
2820 for ac_exec_ext
in '' $ac_executable_extensions; do
2821 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2822 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2832 STRIP
=$ac_cv_prog_STRIP
2833 if test -n "$STRIP"; then
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2835 $as_echo "$STRIP" >&6; }
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2838 $as_echo "no" >&6; }
2843 if test -z "$ac_cv_prog_STRIP"; then
2845 # Extract the first word of "strip", so it can be a program name with args.
2846 set dummy strip
; ac_word
=$2
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2848 $as_echo_n "checking for $ac_word... " >&6; }
2849 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2850 $as_echo_n "(cached) " >&6
2852 if test -n "$ac_ct_STRIP"; then
2853 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2859 test -z "$as_dir" && as_dir
=.
2860 for ac_exec_ext
in '' $ac_executable_extensions; do
2861 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2862 ac_cv_prog_ac_ct_STRIP
="strip"
2863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2872 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2873 if test -n "$ac_ct_STRIP"; then
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2875 $as_echo "$ac_ct_STRIP" >&6; }
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2878 $as_echo "no" >&6; }
2881 if test "x$ac_ct_STRIP" = x
; then
2884 case $cross_compiling:$ac_tool_warned in
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2887 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2888 ac_tool_warned
=yes ;;
2893 STRIP
="$ac_cv_prog_STRIP"
2897 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2900 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2901 if test -z "$MKDIR_P"; then
2902 if ${ac_cv_path_mkdir+:} false
; then :
2903 $as_echo_n "(cached) " >&6
2905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2906 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2909 test -z "$as_dir" && as_dir
=.
2910 for ac_prog
in mkdir gmkdir
; do
2911 for ac_exec_ext
in '' $ac_executable_extensions; do
2912 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2913 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2914 'mkdir (GNU coreutils) '* | \
2915 'mkdir (coreutils) '* | \
2916 'mkdir (fileutils) '4.1*)
2917 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2927 test -d .
/--version && rmdir .
/--version
2928 if test "${ac_cv_path_mkdir+set}" = set; then
2929 MKDIR_P
="$ac_cv_path_mkdir -p"
2931 # As a last resort, use the slow shell script. Don't cache a
2932 # value for MKDIR_P within a source directory, because that will
2933 # break other packages using the cache if that directory is
2934 # removed, or if the value is a relative name.
2935 MKDIR_P
="$ac_install_sh -d"
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2939 $as_echo "$MKDIR_P" >&6; }
2941 for ac_prog
in gawk mawk nawk
awk
2943 # Extract the first word of "$ac_prog", so it can be a program name with args.
2944 set dummy
$ac_prog; ac_word
=$2
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2946 $as_echo_n "checking for $ac_word... " >&6; }
2947 if ${ac_cv_prog_AWK+:} false
; then :
2948 $as_echo_n "(cached) " >&6
2950 if test -n "$AWK"; then
2951 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2957 test -z "$as_dir" && as_dir
=.
2958 for ac_exec_ext
in '' $ac_executable_extensions; do
2959 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2960 ac_cv_prog_AWK
="$ac_prog"
2961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2971 if test -n "$AWK"; then
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2973 $as_echo "$AWK" >&6; }
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2976 $as_echo "no" >&6; }
2980 test -n "$AWK" && break
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2984 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2986 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2987 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2988 $as_echo_n "(cached) " >&6
2990 cat >conftest.
make <<\_ACEOF
2993 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2995 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2996 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2998 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3000 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3004 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3006 $as_echo "yes" >&6; }
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3010 $as_echo "no" >&6; }
3011 SET_MAKE
="MAKE=${MAKE-make}"
3014 rm -rf .tst
2>/dev
/null
3015 mkdir .tst
2>/dev
/null
3016 if test -d .tst
; then
3021 rmdir .tst
2>/dev
/null
3023 # Check whether --enable-silent-rules was given.
3024 if test "${enable_silent_rules+set}" = set; then :
3025 enableval
=$enable_silent_rules;
3028 case $enable_silent_rules in # (((
3029 yes) AM_DEFAULT_VERBOSITY
=0;;
3030 no
) AM_DEFAULT_VERBOSITY
=1;;
3031 *) AM_DEFAULT_VERBOSITY
=1;;
3033 am_make
=${MAKE-make}
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3035 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3036 if ${am_cv_make_support_nested_variables+:} false
; then :
3037 $as_echo_n "(cached) " >&6
3039 if $as_echo 'TRUE=$(BAR$(V))
3045 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3046 am_cv_make_support_nested_variables
=yes
3048 am_cv_make_support_nested_variables
=no
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3052 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3053 if test $am_cv_make_support_nested_variables = yes; then
3055 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3057 AM_V
=$AM_DEFAULT_VERBOSITY
3058 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3062 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3063 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3064 # is not polluted with repeated "-I."
3065 am__isrc
=' -I$(srcdir)'
3066 # test to see if srcdir already configured
3067 if test -f $srcdir/config.status
; then
3068 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3072 # test whether we have cygpath
3073 if test -z "$CYGPATH_W"; then
3074 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3075 CYGPATH_W
='cygpath -w'
3082 # Define the identity of the package.
3084 VERSION
='version-unused'
3087 cat >>confdefs.h
<<_ACEOF
3088 #define PACKAGE "$PACKAGE"
3092 cat >>confdefs.h
<<_ACEOF
3093 #define VERSION "$VERSION"
3096 # Some tools Automake needs.
3098 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3101 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3104 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3107 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3110 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3112 # For better backward compatibility. To be removed once Automake 1.9.x
3113 # dies out for good. For more background, see:
3114 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3115 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3116 mkdir_p
='$(MKDIR_P)'
3118 # We need awk for the "check" target (and possibly the TAP driver). The
3119 # system "awk" is bad on some platforms.
3120 # Always define AMTAR for backward compatibility. Yes, it's still used
3121 # in the wild :-( We should find a proper way to deprecate it ...
3125 # We'll loop over all known methods to create a tar archive until one works.
3126 _am_tools
='gnutar pax cpio none'
3128 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3135 # POSIX will say in a future version that running "rm -f" with no argument
3136 # is OK; and we want to be able to make that assumption in our Makefile
3137 # recipes. So use an aggressive probe to check that the usage we want is
3138 # actually supported "in the wild" to an acceptable degree.
3139 # See automake bug#10828.
3140 # To make any issue more visible, cause the running configure to be aborted
3141 # by default if the 'rm' program in use doesn't match our expectations; the
3142 # user can still override this though.
3143 if rm -f && rm -fr && rm -rf; then : OK
; else
3147 Your 'rm' program seems unable to run without file operands specified
3148 on the command line, even when the '-f' option is present. This is contrary
3149 to the behaviour of most rm programs out there, and not conforming with
3150 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3152 Please tell bug-automake@gnu.org about your system, including the value
3153 of your $PATH and any error possibly output before this message. This
3154 can help us improve future automake versions.
3157 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3158 echo 'Configuration will proceed anyway, since you have set the' >&2
3159 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3163 Aborting the configuration process, to ensure you take notice of the issue.
3165 You can download and install GNU coreutils to get an 'rm' implementation
3166 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3168 If you want to complete the configuration process using your problematic
3169 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3170 to "yes", and re-run configure.
3173 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3178 # Make sure we don't test executables when making cross-tools.
3182 # Add the ability to change LIBTOOL directory
3184 # Check whether --with-toolexeclibdir was given.
3185 if test "${with_toolexeclibdir+set}" = set; then :
3186 withval
=$with_toolexeclibdir; case ${with_toolexeclibdir} in
3190 with_toolexeclibdir
=`echo $with_toolexeclibdir | sed 's,/$,,'`
3194 with_toolexeclibdir
=no
3199 # Use system specific extensions
3200 DEPDIR
="${am__leading_dot}deps"
3202 ac_config_commands
="$ac_config_commands depfiles"
3205 am_make
=${MAKE-make}
3206 cat > confinc
<< 'END'
3208 @
echo this is the am__doit target
3211 # If we don't find an include directive, just comment out the code.
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3213 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3217 # First try GNU make style include.
3218 echo "include confinc" > confmf
3219 # Ignore all kinds of additional output from 'make'.
3220 case `$am_make -s -f confmf 2> /dev/null` in #(
3221 *the\ am__doit\ target
*)
3227 # Now try BSD make style include.
3228 if test "$am__include" = "#"; then
3229 echo '.include "confinc"' > confmf
3230 case `$am_make -s -f confmf 2> /dev/null` in #(
3231 *the\ am__doit\ target
*)
3232 am__include
=.include
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3241 $as_echo "$_am_result" >&6; }
3242 rm -f confinc confmf
3244 # Check whether --enable-dependency-tracking was given.
3245 if test "${enable_dependency_tracking+set}" = set; then :
3246 enableval
=$enable_dependency_tracking;
3249 if test "x$enable_dependency_tracking" != xno
; then
3250 am_depcomp
="$ac_aux_dir/depcomp"
3254 if test "x$enable_dependency_tracking" != xno; then
3264 ac_cpp
='$CPP $CPPFLAGS'
3265 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3266 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3267 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3268 if test -n "$ac_tool_prefix"; then
3269 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3270 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3272 $as_echo_n "checking for $ac_word... " >&6; }
3273 if ${ac_cv_prog_CC+:} false
; then :
3274 $as_echo_n "(cached) " >&6
3276 if test -n "$CC"; then
3277 ac_cv_prog_CC
="$CC" # Let the user override the test.
3279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3283 test -z "$as_dir" && as_dir
=.
3284 for ac_exec_ext
in '' $ac_executable_extensions; do
3285 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3286 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3297 if test -n "$CC"; then
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3299 $as_echo "$CC" >&6; }
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3302 $as_echo "no" >&6; }
3307 if test -z "$ac_cv_prog_CC"; then
3309 # Extract the first word of "gcc", so it can be a program name with args.
3310 set dummy gcc
; ac_word
=$2
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3312 $as_echo_n "checking for $ac_word... " >&6; }
3313 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3314 $as_echo_n "(cached) " >&6
3316 if test -n "$ac_ct_CC"; then
3317 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3323 test -z "$as_dir" && as_dir
=.
3324 for ac_exec_ext
in '' $ac_executable_extensions; do
3325 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3326 ac_cv_prog_ac_ct_CC
="gcc"
3327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3336 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3337 if test -n "$ac_ct_CC"; then
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3339 $as_echo "$ac_ct_CC" >&6; }
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3342 $as_echo "no" >&6; }
3345 if test "x$ac_ct_CC" = x
; then
3348 case $cross_compiling:$ac_tool_warned in
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3351 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3352 ac_tool_warned
=yes ;;
3360 if test -z "$CC"; then
3361 if test -n "$ac_tool_prefix"; then
3362 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3363 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3365 $as_echo_n "checking for $ac_word... " >&6; }
3366 if ${ac_cv_prog_CC+:} false
; then :
3367 $as_echo_n "(cached) " >&6
3369 if test -n "$CC"; then
3370 ac_cv_prog_CC
="$CC" # Let the user override the test.
3372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3376 test -z "$as_dir" && as_dir
=.
3377 for ac_exec_ext
in '' $ac_executable_extensions; do
3378 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3379 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3390 if test -n "$CC"; then
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3392 $as_echo "$CC" >&6; }
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3395 $as_echo "no" >&6; }
3401 if test -z "$CC"; then
3402 # Extract the first word of "cc", so it can be a program name with args.
3403 set dummy cc
; ac_word
=$2
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3405 $as_echo_n "checking for $ac_word... " >&6; }
3406 if ${ac_cv_prog_CC+:} false
; then :
3407 $as_echo_n "(cached) " >&6
3409 if test -n "$CC"; then
3410 ac_cv_prog_CC
="$CC" # Let the user override the test.
3413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3417 test -z "$as_dir" && as_dir
=.
3418 for ac_exec_ext
in '' $ac_executable_extensions; do
3419 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3420 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3421 ac_prog_rejected
=yes
3425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3432 if test $ac_prog_rejected = yes; then
3433 # We found a bogon in the path, so make sure we never use it.
3434 set dummy
$ac_cv_prog_CC
3436 if test $# != 0; then
3437 # We chose a different compiler from the bogus one.
3438 # However, it has the same basename, so the bogon will be chosen
3439 # first if we set CC to just the basename; use the full file name.
3441 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3447 if test -n "$CC"; then
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3449 $as_echo "$CC" >&6; }
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3452 $as_echo "no" >&6; }
3457 if test -z "$CC"; then
3458 if test -n "$ac_tool_prefix"; then
3459 for ac_prog
in cl.exe
3461 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3462 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3464 $as_echo_n "checking for $ac_word... " >&6; }
3465 if ${ac_cv_prog_CC+:} false
; then :
3466 $as_echo_n "(cached) " >&6
3468 if test -n "$CC"; then
3469 ac_cv_prog_CC
="$CC" # Let the user override the test.
3471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3475 test -z "$as_dir" && as_dir
=.
3476 for ac_exec_ext
in '' $ac_executable_extensions; do
3477 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3478 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3489 if test -n "$CC"; then
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3491 $as_echo "$CC" >&6; }
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3494 $as_echo "no" >&6; }
3498 test -n "$CC" && break
3501 if test -z "$CC"; then
3503 for ac_prog
in cl.exe
3505 # Extract the first word of "$ac_prog", so it can be a program name with args.
3506 set dummy
$ac_prog; ac_word
=$2
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3508 $as_echo_n "checking for $ac_word... " >&6; }
3509 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3510 $as_echo_n "(cached) " >&6
3512 if test -n "$ac_ct_CC"; then
3513 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3519 test -z "$as_dir" && as_dir
=.
3520 for ac_exec_ext
in '' $ac_executable_extensions; do
3521 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3522 ac_cv_prog_ac_ct_CC
="$ac_prog"
3523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3532 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3533 if test -n "$ac_ct_CC"; then
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3535 $as_echo "$ac_ct_CC" >&6; }
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3538 $as_echo "no" >&6; }
3542 test -n "$ac_ct_CC" && break
3545 if test "x$ac_ct_CC" = x
; then
3548 case $cross_compiling:$ac_tool_warned in
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3551 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3552 ac_tool_warned
=yes ;;
3561 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3562 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3563 as_fn_error $?
"no acceptable C compiler found in \$PATH
3564 See \`config.log' for more details" "$LINENO" 5; }
3566 # Provide some information about the compiler.
3567 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3570 for ac_option
in --version -v -V -qversion; do
3571 { { ac_try
="$ac_compiler $ac_option >&5"
3573 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3574 *) ac_try_echo=$ac_try;;
3576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3577 $as_echo "$ac_try_echo"; } >&5
3578 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3580 if test -s conftest.err; then
3582 ... rest of stderr output deleted ...
3583 10q' conftest.err >conftest.er1
3584 cat conftest.er1 >&5
3586 rm -f conftest.er1 conftest.err
3587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3588 test $ac_status = 0; }
3591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3592 /* end confdefs.h. */
3597 printf ("hello world\n");
3603 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3604 (eval $ac_link) 2>&5
3606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3607 test $ac_status = 0; }; then :
3612 if test x$gcc_no_link = xyes; then
3613 # Setting cross_compile will disable run tests; it will
3614 # also disable AC_CHECK_FILE but that's generally
3615 # correct if we can't link.
3619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3620 /* end confdefs.h. */
3630 ac_clean_files_save=$ac_clean_files
3631 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3632 # Try to create an executable without -o first, disregard a.out.
3633 # It will help us diagnose broken compilers, and finding out an intuition
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3636 $as_echo_n "checking whether the C compiler works... " >&6; }
3637 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3639 # The possible output files:
3640 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3643 for ac_file in $ac_files
3646 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3647 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3652 if { { ac_try="$ac_link_default"
3654 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3655 *) ac_try_echo
=$ac_try;;
3657 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3658 $as_echo "$ac_try_echo"; } >&5
3659 (eval "$ac_link_default") 2>&5
3661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3662 test $ac_status = 0; }; then :
3663 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3664 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3665 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3666 # so that the user can short-circuit this test for compilers unknown to
3668 for ac_file
in $ac_files ''
3670 test -f "$ac_file" ||
continue
3672 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3675 # We found the default executable, but exeext='' is most
3679 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3681 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3683 # We set ac_cv_exeext here because the later test for it is not
3684 # safe: cross compilers may not add the suffix if given an `-o'
3685 # argument, so we may need to know it at that point already.
3686 # Even if this section looks crufty: it has the advantage of
3693 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3698 if test -z "$ac_file"; then :
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3700 $as_echo "no" >&6; }
3701 $as_echo "$as_me: failed program was:" >&5
3702 sed 's/^/| /' conftest.
$ac_ext >&5
3704 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3705 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3706 as_fn_error
77 "C compiler cannot create executables
3707 See \`config.log' for more details" "$LINENO" 5; }
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3710 $as_echo "yes" >&6; }
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3713 $as_echo_n "checking for C compiler default output file name... " >&6; }
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3715 $as_echo "$ac_file" >&6; }
3716 ac_exeext
=$ac_cv_exeext
3718 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3719 ac_clean_files
=$ac_clean_files_save
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3721 $as_echo_n "checking for suffix of executables... " >&6; }
3722 if { { ac_try
="$ac_link"
3724 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3725 *) ac_try_echo=$ac_try;;
3727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3728 $as_echo "$ac_try_echo"; } >&5
3729 (eval "$ac_link") 2>&5
3731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3732 test $ac_status = 0; }; then :
3733 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3734 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3735 # work properly (i.e., refer to `conftest.exe'), while it won't with
3737 for ac_file
in conftest.exe conftest conftest.
*; do
3738 test -f "$ac_file" ||
continue
3740 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3741 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3747 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3748 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3749 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3750 See \`config.log' for more details" "$LINENO" 5; }
3752 rm -f conftest conftest
$ac_cv_exeext
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3754 $as_echo "$ac_cv_exeext" >&6; }
3756 rm -f conftest.
$ac_ext
3757 EXEEXT
=$ac_cv_exeext
3759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3760 /* end confdefs.h. */
3765 FILE *f = fopen ("conftest.out", "w");
3766 return ferror (f) || fclose (f) != 0;
3772 ac_clean_files
="$ac_clean_files conftest.out"
3773 # Check that the compiler produces executables we can run. If not, either
3774 # the compiler is broken, or we cross compile.
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3776 $as_echo_n "checking whether we are cross compiling... " >&6; }
3777 if test "$cross_compiling" != yes; then
3778 { { ac_try
="$ac_link"
3780 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3781 *) ac_try_echo=$ac_try;;
3783 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3784 $as_echo "$ac_try_echo"; } >&5
3785 (eval "$ac_link") 2>&5
3787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3788 test $ac_status = 0; }
3789 if { ac_try='./conftest$ac_cv_exeext'
3790 { { case "(($ac_try" in
3791 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3792 *) ac_try_echo
=$ac_try;;
3794 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3795 $as_echo "$ac_try_echo"; } >&5
3796 (eval "$ac_try") 2>&5
3798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3799 test $ac_status = 0; }; }; then
3802 if test "$cross_compiling" = maybe
; then
3805 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3806 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3807 as_fn_error $?
"cannot run C compiled programs.
3808 If you meant to cross compile, use \`--host'.
3809 See \`config.log' for more details" "$LINENO" 5; }
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3814 $as_echo "$cross_compiling" >&6; }
3816 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3817 ac_clean_files
=$ac_clean_files_save
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3820 $as_echo_n "checking for suffix of object files... " >&6; }
3821 if ${ac_cv_objext+:} false
; then :
3822 $as_echo_n "(cached) " >&6
3824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3825 /* end confdefs.h. */
3835 rm -f conftest.o conftest.obj
3836 if { { ac_try
="$ac_compile"
3838 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3839 *) ac_try_echo=$ac_try;;
3841 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3842 $as_echo "$ac_try_echo"; } >&5
3843 (eval "$ac_compile") 2>&5
3845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3846 test $ac_status = 0; }; then :
3847 for ac_file in conftest.o conftest.obj conftest.*; do
3848 test -f "$ac_file" || continue;
3850 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3851 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3856 $as_echo "$as_me: failed program was:" >&5
3857 sed 's/^/| /' conftest.$ac_ext >&5
3859 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3860 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3861 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3862 See \
`config.log' for more details" "$LINENO" 5; }
3864 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3867 $as_echo "$ac_cv_objext" >&6; }
3868 OBJEXT=$ac_cv_objext
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3871 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3872 if ${ac_cv_c_compiler_gnu+:} false; then :
3873 $as_echo_n "(cached) " >&6
3875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3876 /* end confdefs.h. */
3889 if ac_fn_c_try_compile "$LINENO"; then :
3894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3895 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3899 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3900 if test $ac_compiler_gnu = yes; then
3905 ac_test_CFLAGS=${CFLAGS+set}
3906 ac_save_CFLAGS=$CFLAGS
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3908 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3909 if ${ac_cv_prog_cc_g+:} false; then :
3910 $as_echo_n "(cached) " >&6
3912 ac_save_c_werror_flag=$ac_c_werror_flag
3913 ac_c_werror_flag=yes
3916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3917 /* end confdefs.h. */
3927 if ac_fn_c_try_compile "$LINENO"; then :
3931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3932 /* end confdefs.h. */
3942 if ac_fn_c_try_compile "$LINENO"; then :
3945 ac_c_werror_flag=$ac_save_c_werror_flag
3947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3948 /* end confdefs.h. */
3958 if ac_fn_c_try_compile "$LINENO"; then :
3961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3966 ac_c_werror_flag=$ac_save_c_werror_flag
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3969 $as_echo "$ac_cv_prog_cc_g" >&6; }
3970 if test "$ac_test_CFLAGS" = set; then
3971 CFLAGS=$ac_save_CFLAGS
3972 elif test $ac_cv_prog_cc_g = yes; then
3973 if test "$GCC" = yes; then
3979 if test "$GCC" = yes; then
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3986 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3987 if ${ac_cv_prog_cc_c89+:} false; then :
3988 $as_echo_n "(cached) " >&6
3990 ac_cv_prog_cc_c89=no
3992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3993 /* end confdefs.h. */
3997 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3998 struct buf { int x; };
3999 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4000 static char *e (p, i)
4006 static char *f (char * (*g) (char **, int), char **p, ...)
4011 s = g (p, va_arg (v,int));
4016 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4017 function prototypes and stuff, but not '\xHH' hex character constants.
4018 These don't provoke an error unfortunately, instead are silently treated
4019 as 'x'. The following induces an error, until -std is added to get
4020 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4021 array size at least. It's necessary to write '\x00'==0 to get something
4022 that's true only with -std. */
4023 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4025 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4026 inside strings and character constants. */
4028 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4030 int test (int i, double x);
4031 struct s1 {int (*f) (int a);};
4032 struct s2 {int (*f) (double a);};
4033 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4039 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4044 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4045 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4047 CC="$ac_save_CC $ac_arg"
4048 if ac_fn_c_try_compile "$LINENO"; then :
4049 ac_cv_prog_cc_c89=$ac_arg
4051 rm -f core conftest.err conftest.$ac_objext
4052 test "x$ac_cv_prog_cc_c89" != "xno" && break
4054 rm -f conftest.$ac_ext
4059 case "x$ac_cv_prog_cc_c89" in
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4062 $as_echo "none needed" >&6; } ;;
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4065 $as_echo "unsupported" >&6; } ;;
4067 CC="$CC $ac_cv_prog_cc_c89"
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4069 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4071 if test "x$ac_cv_prog_cc_c89" != xno; then :
4076 ac_cpp='$CPP $CPPFLAGS'
4077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4082 ac_cpp='$CPP $CPPFLAGS'
4083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4087 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4088 if ${am_cv_prog_cc_c_o+:} false; then :
4089 $as_echo_n "(cached) " >&6
4091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4092 /* end confdefs.h. */
4102 # Make sure it works both with $CC and with simple cc.
4103 # Following AC_PROG_CC_C_O, we do the test twice because some
4104 # compilers refuse to overwrite an existing .o file with -o,
4105 # though they will create one.
4106 am_cv_prog_cc_c_o=yes
4108 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4109 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4112 (exit $ac_status); } \
4113 && test -f conftest2.$ac_objext; then
4116 am_cv_prog_cc_c_o=no
4120 rm -f core conftest*
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4124 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4125 if test "$am_cv_prog_cc_c_o" != yes; then
4126 # Losing compiler, so override with the script.
4127 # FIXME: It is wrong to rewrite CC.
4128 # But if we don't then we get into trouble of one sort or another.
4129 # A longer-term fix would be to have automake use am__CC in this case,
4130 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4131 CC="$am_aux_dir/compile $CC"
4134 ac_cpp='$CPP $CPPFLAGS'
4135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4140 depcc="$CC" am_compiler_list=
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4143 $as_echo_n "checking dependency style of $depcc... " >&6; }
4144 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4145 $as_echo_n "(cached) " >&6
4147 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4148 # We make a subdir and do the tests there. Otherwise we can end up
4149 # making bogus files that we don't know about and never remove. For
4150 # instance it was reported that on HP-UX the gcc test will end up
4151 # making a dummy file named 'D' -- because '-MD' means "put the output
4155 # Copy depcomp to subdir because otherwise we won't find it if we're
4156 # using a relative directory.
4157 cp "$am_depcomp" conftest.dir
4159 # We will build objects and dependencies in a subdirectory because
4160 # it helps to detect inapplicable dependency modes. For instance
4161 # both Tru64's cc and ICC support -MD to output dependencies as a
4162 # side effect of compilation, but ICC will put the dependencies in
4163 # the current directory while Tru64 will put them in the object
4167 am_cv_CC_dependencies_compiler_type=none
4168 if test "$am_compiler_list" = ""; then
4169 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4172 case " $depcc " in #(
4173 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4176 for depmode in $am_compiler_list; do
4177 # Setup a source with many dependencies, because some compilers
4178 # like to wrap large dependency lists on column 80 (with \), and
4179 # we should not choose a depcomp mode which is confused by this.
4181 # We need to recreate these files for each test, as the compiler may
4182 # overwrite some of them when testing with obscure command lines.
4183 # This happens at least with the AIX C compiler.
4185 for i in 1 2 3 4 5 6; do
4186 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4187 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4188 # Solaris 10 /bin/sh.
4189 echo '/* dummy */' > sub/conftst$i.h
4191 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4193 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4194 # mode. It turns out that the SunPro C++ compiler does not properly
4195 # handle '-M -o', and we need to detect this. Also, some Intel
4196 # versions had trouble with output in subdirs.
4197 am__obj=sub/conftest.${OBJEXT-o}
4198 am__minus_obj="-o $am__obj"
4201 # This depmode causes a compiler race in universal mode.
4202 test "$am__universal" = false || continue
4205 # After this tag, mechanisms are not by side-effect, so they'll
4206 # only be used when explicitly requested.
4207 if test "x$enable_dependency_tracking" = xyes; then
4213 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4214 # This compiler won't grok '-c -o', but also, the minuso test has
4215 # not run yet. These depmodes are late enough in the game, and
4216 # so weak that their functioning should not be impacted.
4217 am__obj=conftest.${OBJEXT-o}
4222 if depmode=$depmode \
4223 source=sub/conftest.c object=$am__obj \
4224 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4225 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4226 >/dev/null 2>conftest.err &&
4227 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4228 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4229 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4230 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4231 # icc doesn't choke on unknown options, it will just issue warnings
4232 # or remarks (even with -Werror). So we grep stderr for any message
4233 # that says an option was ignored or not supported.
4234 # When given -MP, icc 7.0 and 7.1 complain thusly:
4235 # icc: Command line warning: ignoring option '-M'; no argument required
4236 # The diagnosis changed in icc 8.0:
4237 # icc: Command line remark: option '-MP' not supported
4238 if (grep 'ignoring option' conftest.err ||
4239 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4240 am_cv_CC_dependencies_compiler_type=$depmode
4249 am_cv_CC_dependencies_compiler_type=none
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4254 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4255 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4258 test "x$enable_dependency_tracking" != xno \
4259 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4261 am__fastdepCC_FALSE='#'
4263 am__fastdepCC_TRUE='#'
4264 am__fastdepCC_FALSE=
4270 ac_cpp='$CPP $CPPFLAGS'
4271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4275 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4276 # On Suns, sometimes $CPP names a directory.
4277 if test -n "$CPP" && test -d "$CPP"; then
4280 if test -z "$CPP"; then
4281 if ${ac_cv_prog_CPP+:} false; then :
4282 $as_echo_n "(cached) " >&6
4284 # Double quotes because CPP needs to be expanded
4285 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4288 for ac_c_preproc_warn_flag in '' yes
4290 # Use a header file that comes with gcc, so configuring glibc
4291 # with a fresh cross-compiler works.
4292 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4293 # <limits.h> exists even on freestanding compilers.
4294 # On the NeXT, cc -E runs the code through the compiler's parser,
4295 # not just through cpp. "Syntax error" is here to catch this case.
4296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4297 /* end confdefs.h. */
4299 # include <limits.h>
4301 # include <assert.h>
4305 if ac_fn_c_try_cpp "$LINENO"; then :
4308 # Broken: fails on valid input.
4311 rm -f conftest.err conftest.i conftest.$ac_ext
4313 # OK, works on sane cases. Now check whether nonexistent headers
4314 # can be detected and how.
4315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4316 /* end confdefs.h. */
4317 #include <ac_nonexistent.h>
4319 if ac_fn_c_try_cpp "$LINENO"; then :
4320 # Broken: success on invalid input.
4323 # Passes both tests.
4327 rm -f conftest.err conftest.i conftest.$ac_ext
4330 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4331 rm -f conftest.i conftest.err conftest.
$ac_ext
4332 if $ac_preproc_ok; then :
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4345 $as_echo "$CPP" >&6; }
4347 for ac_c_preproc_warn_flag
in '' yes
4349 # Use a header file that comes with gcc, so configuring glibc
4350 # with a fresh cross-compiler works.
4351 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4352 # <limits.h> exists even on freestanding compilers.
4353 # On the NeXT, cc -E runs the code through the compiler's parser,
4354 # not just through cpp. "Syntax error" is here to catch this case.
4355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4356 /* end confdefs.h. */
4358 # include <limits.h>
4360 # include <assert.h>
4364 if ac_fn_c_try_cpp
"$LINENO"; then :
4367 # Broken: fails on valid input.
4370 rm -f conftest.err conftest.i conftest.
$ac_ext
4372 # OK, works on sane cases. Now check whether nonexistent headers
4373 # can be detected and how.
4374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4375 /* end confdefs.h. */
4376 #include <ac_nonexistent.h>
4378 if ac_fn_c_try_cpp
"$LINENO"; then :
4379 # Broken: success on invalid input.
4382 # Passes both tests.
4386 rm -f conftest.err conftest.i conftest.
$ac_ext
4389 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4390 rm -f conftest.i conftest.err conftest.
$ac_ext
4391 if $ac_preproc_ok; then :
4394 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4395 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4396 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4397 See \`config.log' for more details" "$LINENO" 5; }
4401 ac_cpp
='$CPP $CPPFLAGS'
4402 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4403 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4404 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4408 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4409 if ${ac_cv_path_GREP+:} false
; then :
4410 $as_echo_n "(cached) " >&6
4412 if test -z "$GREP"; then
4413 ac_path_GREP_found
=false
4414 # Loop through the user's path and test for each of PROGNAME-LIST
4415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4416 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4419 test -z "$as_dir" && as_dir
=.
4420 for ac_prog
in grep ggrep
; do
4421 for ac_exec_ext
in '' $ac_executable_extensions; do
4422 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4423 as_fn_executable_p
"$ac_path_GREP" ||
continue
4424 # Check for GNU ac_path_GREP and select it if it is found.
4425 # Check for GNU $ac_path_GREP
4426 case `"$ac_path_GREP" --version 2>&1` in
4428 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4431 $as_echo_n 0123456789 >"conftest.in"
4434 cat "conftest.in" "conftest.in" >"conftest.tmp"
4435 mv "conftest.tmp" "conftest.in"
4436 cp "conftest.in" "conftest.nl"
4437 $as_echo 'GREP' >> "conftest.nl"
4438 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4439 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4440 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4441 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4442 # Best one so far, save it but keep looking for a better one
4443 ac_cv_path_GREP
="$ac_path_GREP"
4444 ac_path_GREP_max
=$ac_count
4446 # 10*(2^10) chars as input seems more than enough
4447 test $ac_count -gt 10 && break
4449 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4452 $ac_path_GREP_found && break 3
4457 if test -z "$ac_cv_path_GREP"; then
4458 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4461 ac_cv_path_GREP
=$GREP
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4466 $as_echo "$ac_cv_path_GREP" >&6; }
4467 GREP
="$ac_cv_path_GREP"
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4471 $as_echo_n "checking for egrep... " >&6; }
4472 if ${ac_cv_path_EGREP+:} false
; then :
4473 $as_echo_n "(cached) " >&6
4475 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4476 then ac_cv_path_EGREP
="$GREP -E"
4478 if test -z "$EGREP"; then
4479 ac_path_EGREP_found
=false
4480 # Loop through the user's path and test for each of PROGNAME-LIST
4481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4482 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4485 test -z "$as_dir" && as_dir
=.
4486 for ac_prog
in egrep; do
4487 for ac_exec_ext
in '' $ac_executable_extensions; do
4488 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4489 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4490 # Check for GNU ac_path_EGREP and select it if it is found.
4491 # Check for GNU $ac_path_EGREP
4492 case `"$ac_path_EGREP" --version 2>&1` in
4494 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4497 $as_echo_n 0123456789 >"conftest.in"
4500 cat "conftest.in" "conftest.in" >"conftest.tmp"
4501 mv "conftest.tmp" "conftest.in"
4502 cp "conftest.in" "conftest.nl"
4503 $as_echo 'EGREP' >> "conftest.nl"
4504 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4505 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4506 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4507 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4508 # Best one so far, save it but keep looking for a better one
4509 ac_cv_path_EGREP
="$ac_path_EGREP"
4510 ac_path_EGREP_max
=$ac_count
4512 # 10*(2^10) chars as input seems more than enough
4513 test $ac_count -gt 10 && break
4515 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4518 $ac_path_EGREP_found && break 3
4523 if test -z "$ac_cv_path_EGREP"; then
4524 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4527 ac_cv_path_EGREP
=$EGREP
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4533 $as_echo "$ac_cv_path_EGREP" >&6; }
4534 EGREP
="$ac_cv_path_EGREP"
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4538 $as_echo_n "checking for ANSI C header files... " >&6; }
4539 if ${ac_cv_header_stdc+:} false
; then :
4540 $as_echo_n "(cached) " >&6
4542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4543 /* end confdefs.h. */
4557 if ac_fn_c_try_compile
"$LINENO"; then :
4558 ac_cv_header_stdc
=yes
4560 ac_cv_header_stdc
=no
4562 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4564 if test $ac_cv_header_stdc = yes; then
4565 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4567 /* end confdefs.h. */
4571 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4572 $EGREP "memchr" >/dev
/null
2>&1; then :
4575 ac_cv_header_stdc
=no
4581 if test $ac_cv_header_stdc = yes; then
4582 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4584 /* end confdefs.h. */
4588 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4589 $EGREP "free" >/dev
/null
2>&1; then :
4592 ac_cv_header_stdc
=no
4598 if test $ac_cv_header_stdc = yes; then
4599 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4600 if test "$cross_compiling" = yes; then :
4603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4604 /* end confdefs.h. */
4607 #if ((' ' & 0x0FF) == 0x020)
4608 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4609 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4611 # define ISLOWER(c) \
4612 (('a' <= (c) && (c) <= 'i') \
4613 || ('j' <= (c) && (c) <= 'r') \
4614 || ('s' <= (c) && (c) <= 'z'))
4615 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4618 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4623 for (i = 0; i < 256; i++)
4624 if (XOR (islower (i), ISLOWER (i))
4625 || toupper (i) != TOUPPER (i))
4630 if ac_fn_c_try_run
"$LINENO"; then :
4633 ac_cv_header_stdc
=no
4635 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4636 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4642 $as_echo "$ac_cv_header_stdc" >&6; }
4643 if test $ac_cv_header_stdc = yes; then
4645 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4649 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4650 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4651 inttypes.h stdint.h unistd.h
4653 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4654 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4656 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4657 cat >>confdefs.h
<<_ACEOF
4658 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4667 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4668 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4675 if test "$MINIX" = yes; then
4677 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4680 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4683 $as_echo "#define _MINIX 1" >>confdefs.h
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4689 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4690 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4691 $as_echo_n "(cached) " >&6
4693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4694 /* end confdefs.h. */
4696 # define __EXTENSIONS__ 1
4697 $ac_includes_default
4706 if ac_fn_c_try_compile
"$LINENO"; then :
4707 ac_cv_safe_to_define___extensions__
=yes
4709 ac_cv_safe_to_define___extensions__
=no
4711 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4714 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4715 test $ac_cv_safe_to_define___extensions__ = yes &&
4716 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4718 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4720 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4722 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4724 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4729 # Checks for header files.
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4731 $as_echo_n "checking for ANSI C header files... " >&6; }
4732 if ${ac_cv_header_stdc+:} false
; then :
4733 $as_echo_n "(cached) " >&6
4735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4736 /* end confdefs.h. */
4750 if ac_fn_c_try_compile
"$LINENO"; then :
4751 ac_cv_header_stdc
=yes
4753 ac_cv_header_stdc
=no
4755 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4757 if test $ac_cv_header_stdc = yes; then
4758 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4760 /* end confdefs.h. */
4764 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4765 $EGREP "memchr" >/dev
/null
2>&1; then :
4768 ac_cv_header_stdc
=no
4774 if test $ac_cv_header_stdc = yes; then
4775 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4777 /* end confdefs.h. */
4781 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4782 $EGREP "free" >/dev
/null
2>&1; then :
4785 ac_cv_header_stdc
=no
4791 if test $ac_cv_header_stdc = yes; then
4792 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4793 if test "$cross_compiling" = yes; then :
4796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4797 /* end confdefs.h. */
4800 #if ((' ' & 0x0FF) == 0x020)
4801 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4802 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4804 # define ISLOWER(c) \
4805 (('a' <= (c) && (c) <= 'i') \
4806 || ('j' <= (c) && (c) <= 'r') \
4807 || ('s' <= (c) && (c) <= 'z'))
4808 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4811 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4816 for (i = 0; i < 256; i++)
4817 if (XOR (islower (i), ISLOWER (i))
4818 || toupper (i) != TOUPPER (i))
4823 if ac_fn_c_try_run
"$LINENO"; then :
4826 ac_cv_header_stdc
=no
4828 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4829 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4835 $as_echo "$ac_cv_header_stdc" >&6; }
4836 if test $ac_cv_header_stdc = yes; then
4838 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
4843 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
4844 if ${ac_cv_header_sys_wait_h+:} false
; then :
4845 $as_echo_n "(cached) " >&6
4847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4848 /* end confdefs.h. */
4849 #include <sys/types.h>
4850 #include <sys/wait.h>
4852 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4855 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4863 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4868 if ac_fn_c_try_compile
"$LINENO"; then :
4869 ac_cv_header_sys_wait_h
=yes
4871 ac_cv_header_sys_wait_h
=no
4873 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
4876 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
4877 if test $ac_cv_header_sys_wait_h = yes; then
4879 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
4883 for ac_header
in limits.h stddef.h string.h
strings.h stdlib.h \
4884 time.h sys
/stat.h wchar.h
4886 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4887 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4888 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4889 cat >>confdefs.h
<<_ACEOF
4890 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4898 # Check whether --enable-werror was given.
4899 if test "${enable_werror+set}" = set; then :
4900 enableval
=$enable_werror;
4904 # Add CET specific flags if CET is enabled
4905 # Check whether --enable-cet was given.
4906 if test "${enable_cet+set}" = set; then :
4907 enableval
=$enable_cet;
4908 case "$enableval" in
4910 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
4919 $as_echo_n "checking for CET support... " >&6; }
4921 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
4923 i
[34567]86-*-linux* | x86_64-
*-linux*)
4924 case "$enable_cet" in
4926 # Check if target supports multi-byte NOPs
4927 # and if compiler and assembler support CET insn.
4928 cet_save_CFLAGS
="$CFLAGS"
4929 CFLAGS
="$CFLAGS -fcf-protection"
4930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4931 /* end confdefs.h. */
4937 #if !defined(__SSE2__)
4938 #error target does not support multi-byte NOPs
4947 if ac_fn_c_try_compile
"$LINENO"; then :
4952 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4953 CFLAGS
="$cet_save_CFLAGS"
4956 # Check if assembler supports CET.
4957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4958 /* end confdefs.h. */
4968 if ac_fn_c_try_compile
"$LINENO"; then :
4971 as_fn_error $?
"assembler with CET support is required for --enable-cet" "$LINENO" 5
4973 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4981 if test x
$enable_cet = xyes
; then
4982 CET_FLAGS
="-fcf-protection -mshstk"
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4984 $as_echo "yes" >&6; }
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4987 $as_echo "no" >&6; }
4990 XCFLAGS
="$XCFLAGS $CET_FLAGS"
4993 if test -n "$ac_tool_prefix"; then
4994 for ac_prog
in ar lib
"link -lib"
4996 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4997 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4999 $as_echo_n "checking for $ac_word... " >&6; }
5000 if ${ac_cv_prog_AR+:} false
; then :
5001 $as_echo_n "(cached) " >&6
5003 if test -n "$AR"; then
5004 ac_cv_prog_AR
="$AR" # Let the user override the test.
5006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5010 test -z "$as_dir" && as_dir
=.
5011 for ac_exec_ext
in '' $ac_executable_extensions; do
5012 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5013 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5024 if test -n "$AR"; then
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5026 $as_echo "$AR" >&6; }
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5029 $as_echo "no" >&6; }
5033 test -n "$AR" && break
5036 if test -z "$AR"; then
5038 for ac_prog
in ar lib
"link -lib"
5040 # Extract the first word of "$ac_prog", so it can be a program name with args.
5041 set dummy
$ac_prog; ac_word
=$2
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5043 $as_echo_n "checking for $ac_word... " >&6; }
5044 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5045 $as_echo_n "(cached) " >&6
5047 if test -n "$ac_ct_AR"; then
5048 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5054 test -z "$as_dir" && as_dir
=.
5055 for ac_exec_ext
in '' $ac_executable_extensions; do
5056 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5057 ac_cv_prog_ac_ct_AR
="$ac_prog"
5058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5067 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5068 if test -n "$ac_ct_AR"; then
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5070 $as_echo "$ac_ct_AR" >&6; }
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5073 $as_echo "no" >&6; }
5077 test -n "$ac_ct_AR" && break
5080 if test "x$ac_ct_AR" = x
; then
5083 case $cross_compiling:$ac_tool_warned in
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5086 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5087 ac_tool_warned
=yes ;;
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
5096 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
5097 if ${am_cv_ar_interface+:} false
; then :
5098 $as_echo_n "(cached) " >&6
5101 ac_cpp
='$CPP $CPPFLAGS'
5102 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5103 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5104 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5106 am_cv_ar_interface
=ar
5107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5108 /* end confdefs.h. */
5109 int some_variable = 0;
5111 if ac_fn_c_try_compile
"$LINENO"; then :
5112 am_ar_try
='$AR cru libconftest.a conftest.$ac_objext >&5'
5113 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5114 (eval $am_ar_try) 2>&5
5116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5117 test $ac_status = 0; }
5118 if test "$ac_status" -eq 0; then
5119 am_cv_ar_interface
=ar
5121 am_ar_try
='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
5122 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5123 (eval $am_ar_try) 2>&5
5125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5126 test $ac_status = 0; }
5127 if test "$ac_status" -eq 0; then
5128 am_cv_ar_interface
=lib
5130 am_cv_ar_interface
=unknown
5133 rm -f conftest.lib libconftest.a
5136 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5138 ac_cpp
='$CPP $CPPFLAGS'
5139 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5140 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5141 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5145 $as_echo "$am_cv_ar_interface" >&6; }
5147 case $am_cv_ar_interface in
5151 # Microsoft lib, so override with the ar-lib wrapper script.
5152 # FIXME: It is wrong to rewrite AR.
5153 # But if we don't then we get into trouble of one sort or another.
5154 # A longer-term fix would be to have automake use am__AR in this case,
5155 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5157 AR
="$am_aux_dir/ar-lib $AR"
5160 as_fn_error $?
"could not determine $AR interface" "$LINENO" 5
5165 ac_cpp
='$CPP $CPPFLAGS'
5166 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5167 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5168 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5169 if test -n "$ac_tool_prefix"; then
5170 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5171 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5173 $as_echo_n "checking for $ac_word... " >&6; }
5174 if ${ac_cv_prog_CC+:} false
; then :
5175 $as_echo_n "(cached) " >&6
5177 if test -n "$CC"; then
5178 ac_cv_prog_CC
="$CC" # Let the user override the test.
5180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5184 test -z "$as_dir" && as_dir
=.
5185 for ac_exec_ext
in '' $ac_executable_extensions; do
5186 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5187 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5198 if test -n "$CC"; then
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5200 $as_echo "$CC" >&6; }
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5203 $as_echo "no" >&6; }
5208 if test -z "$ac_cv_prog_CC"; then
5210 # Extract the first word of "gcc", so it can be a program name with args.
5211 set dummy gcc
; ac_word
=$2
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5213 $as_echo_n "checking for $ac_word... " >&6; }
5214 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5215 $as_echo_n "(cached) " >&6
5217 if test -n "$ac_ct_CC"; then
5218 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5224 test -z "$as_dir" && as_dir
=.
5225 for ac_exec_ext
in '' $ac_executable_extensions; do
5226 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5227 ac_cv_prog_ac_ct_CC
="gcc"
5228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5237 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5238 if test -n "$ac_ct_CC"; then
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5240 $as_echo "$ac_ct_CC" >&6; }
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5243 $as_echo "no" >&6; }
5246 if test "x$ac_ct_CC" = x
; then
5249 case $cross_compiling:$ac_tool_warned in
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5252 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5253 ac_tool_warned
=yes ;;
5261 if test -z "$CC"; then
5262 if test -n "$ac_tool_prefix"; then
5263 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5264 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5266 $as_echo_n "checking for $ac_word... " >&6; }
5267 if ${ac_cv_prog_CC+:} false
; then :
5268 $as_echo_n "(cached) " >&6
5270 if test -n "$CC"; then
5271 ac_cv_prog_CC
="$CC" # Let the user override the test.
5273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5277 test -z "$as_dir" && as_dir
=.
5278 for ac_exec_ext
in '' $ac_executable_extensions; do
5279 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5280 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5291 if test -n "$CC"; then
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5293 $as_echo "$CC" >&6; }
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5296 $as_echo "no" >&6; }
5302 if test -z "$CC"; then
5303 # Extract the first word of "cc", so it can be a program name with args.
5304 set dummy cc
; ac_word
=$2
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5306 $as_echo_n "checking for $ac_word... " >&6; }
5307 if ${ac_cv_prog_CC+:} false
; then :
5308 $as_echo_n "(cached) " >&6
5310 if test -n "$CC"; then
5311 ac_cv_prog_CC
="$CC" # Let the user override the test.
5314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5318 test -z "$as_dir" && as_dir
=.
5319 for ac_exec_ext
in '' $ac_executable_extensions; do
5320 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5321 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5322 ac_prog_rejected
=yes
5326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5333 if test $ac_prog_rejected = yes; then
5334 # We found a bogon in the path, so make sure we never use it.
5335 set dummy
$ac_cv_prog_CC
5337 if test $# != 0; then
5338 # We chose a different compiler from the bogus one.
5339 # However, it has the same basename, so the bogon will be chosen
5340 # first if we set CC to just the basename; use the full file name.
5342 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5348 if test -n "$CC"; then
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5350 $as_echo "$CC" >&6; }
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5353 $as_echo "no" >&6; }
5358 if test -z "$CC"; then
5359 if test -n "$ac_tool_prefix"; then
5360 for ac_prog
in cl.exe
5362 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5363 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5365 $as_echo_n "checking for $ac_word... " >&6; }
5366 if ${ac_cv_prog_CC+:} false
; then :
5367 $as_echo_n "(cached) " >&6
5369 if test -n "$CC"; then
5370 ac_cv_prog_CC
="$CC" # Let the user override the test.
5372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5376 test -z "$as_dir" && as_dir
=.
5377 for ac_exec_ext
in '' $ac_executable_extensions; do
5378 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5379 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5390 if test -n "$CC"; then
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5392 $as_echo "$CC" >&6; }
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5395 $as_echo "no" >&6; }
5399 test -n "$CC" && break
5402 if test -z "$CC"; then
5404 for ac_prog
in cl.exe
5406 # Extract the first word of "$ac_prog", so it can be a program name with args.
5407 set dummy
$ac_prog; ac_word
=$2
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5409 $as_echo_n "checking for $ac_word... " >&6; }
5410 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5411 $as_echo_n "(cached) " >&6
5413 if test -n "$ac_ct_CC"; then
5414 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5420 test -z "$as_dir" && as_dir
=.
5421 for ac_exec_ext
in '' $ac_executable_extensions; do
5422 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5423 ac_cv_prog_ac_ct_CC
="$ac_prog"
5424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5433 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5434 if test -n "$ac_ct_CC"; then
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5436 $as_echo "$ac_ct_CC" >&6; }
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5439 $as_echo "no" >&6; }
5443 test -n "$ac_ct_CC" && break
5446 if test "x$ac_ct_CC" = x
; then
5449 case $cross_compiling:$ac_tool_warned in
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5452 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5453 ac_tool_warned
=yes ;;
5462 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5463 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5464 as_fn_error $?
"no acceptable C compiler found in \$PATH
5465 See \`config.log' for more details" "$LINENO" 5; }
5467 # Provide some information about the compiler.
5468 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5471 for ac_option
in --version -v -V -qversion; do
5472 { { ac_try
="$ac_compiler $ac_option >&5"
5474 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5475 *) ac_try_echo=$ac_try;;
5477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5478 $as_echo "$ac_try_echo"; } >&5
5479 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5481 if test -s conftest.err; then
5483 ... rest of stderr output deleted ...
5484 10q' conftest.err >conftest.er1
5485 cat conftest.er1 >&5
5487 rm -f conftest.er1 conftest.err
5488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5489 test $ac_status = 0; }
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5493 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5494 if ${ac_cv_c_compiler_gnu+:} false; then :
5495 $as_echo_n "(cached) " >&6
5497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5498 /* end confdefs.h. */
5511 if ac_fn_c_try_compile "$LINENO"; then :
5516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5517 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5521 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5522 if test $ac_compiler_gnu = yes; then
5527 ac_test_CFLAGS=${CFLAGS+set}
5528 ac_save_CFLAGS=$CFLAGS
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5530 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5531 if ${ac_cv_prog_cc_g+:} false; then :
5532 $as_echo_n "(cached) " >&6
5534 ac_save_c_werror_flag=$ac_c_werror_flag
5535 ac_c_werror_flag=yes
5538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5539 /* end confdefs.h. */
5549 if ac_fn_c_try_compile "$LINENO"; then :
5553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5554 /* end confdefs.h. */
5564 if ac_fn_c_try_compile "$LINENO"; then :
5567 ac_c_werror_flag=$ac_save_c_werror_flag
5569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5570 /* end confdefs.h. */
5580 if ac_fn_c_try_compile "$LINENO"; then :
5583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5588 ac_c_werror_flag=$ac_save_c_werror_flag
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5591 $as_echo "$ac_cv_prog_cc_g" >&6; }
5592 if test "$ac_test_CFLAGS" = set; then
5593 CFLAGS=$ac_save_CFLAGS
5594 elif test $ac_cv_prog_cc_g = yes; then
5595 if test "$GCC" = yes; then
5601 if test "$GCC" = yes; then
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5608 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5609 if ${ac_cv_prog_cc_c89+:} false; then :
5610 $as_echo_n "(cached) " >&6
5612 ac_cv_prog_cc_c89=no
5614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5615 /* end confdefs.h. */
5619 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5620 struct buf { int x; };
5621 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5622 static char *e (p, i)
5628 static char *f (char * (*g) (char **, int), char **p, ...)
5633 s = g (p, va_arg (v,int));
5638 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5639 function prototypes and stuff, but not '\xHH' hex character constants.
5640 These don't provoke an error unfortunately, instead are silently treated
5641 as 'x'. The following induces an error, until -std is added to get
5642 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5643 array size at least. It's necessary to write '\x00'==0 to get something
5644 that's true only with -std. */
5645 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5647 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5648 inside strings and character constants. */
5650 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5652 int test (int i, double x);
5653 struct s1 {int (*f) (int a);};
5654 struct s2 {int (*f) (double a);};
5655 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5661 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5666 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5667 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5669 CC="$ac_save_CC $ac_arg"
5670 if ac_fn_c_try_compile "$LINENO"; then :
5671 ac_cv_prog_cc_c89=$ac_arg
5673 rm -f core conftest.err conftest.$ac_objext
5674 test "x$ac_cv_prog_cc_c89" != "xno" && break
5676 rm -f conftest.$ac_ext
5681 case "x$ac_cv_prog_cc_c89" in
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5684 $as_echo "none needed" >&6; } ;;
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5687 $as_echo "unsupported" >&6; } ;;
5689 CC="$CC $ac_cv_prog_cc_c89"
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5691 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5693 if test "x$ac_cv_prog_cc_c89" != xno; then :
5698 ac_cpp='$CPP $CPPFLAGS'
5699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5704 ac_cpp='$CPP $CPPFLAGS'
5705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5709 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5710 if ${am_cv_prog_cc_c_o+:} false; then :
5711 $as_echo_n "(cached) " >&6
5713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5714 /* end confdefs.h. */
5724 # Make sure it works both with $CC and with simple cc.
5725 # Following AC_PROG_CC_C_O, we do the test twice because some
5726 # compilers refuse to overwrite an existing .o file with -o,
5727 # though they will create one.
5728 am_cv_prog_cc_c_o=yes
5730 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5731 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5734 (exit $ac_status); } \
5735 && test -f conftest2.$ac_objext; then
5738 am_cv_prog_cc_c_o=no
5742 rm -f core conftest*
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5746 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5747 if test "$am_cv_prog_cc_c_o" != yes; then
5748 # Losing compiler, so override with the script.
5749 # FIXME: It is wrong to rewrite CC.
5750 # But if we don't then we get into trouble of one sort or another.
5751 # A longer-term fix would be to have automake use am__CC in this case,
5752 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5753 CC="$am_aux_dir/compile $CC"
5756 ac_cpp='$CPP $CPPFLAGS'
5757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5762 depcc="$CC" am_compiler_list=
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5765 $as_echo_n "checking dependency style of $depcc... " >&6; }
5766 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5767 $as_echo_n "(cached) " >&6
5769 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5770 # We make a subdir and do the tests there. Otherwise we can end up
5771 # making bogus files that we don't know about and never remove. For
5772 # instance it was reported that on HP-UX the gcc test will end up
5773 # making a dummy file named 'D' -- because '-MD' means "put the output
5777 # Copy depcomp to subdir because otherwise we won't find it if we're
5778 # using a relative directory.
5779 cp "$am_depcomp" conftest.dir
5781 # We will build objects and dependencies in a subdirectory because
5782 # it helps to detect inapplicable dependency modes. For instance
5783 # both Tru64's cc and ICC support -MD to output dependencies as a
5784 # side effect of compilation, but ICC will put the dependencies in
5785 # the current directory while Tru64 will put them in the object
5789 am_cv_CC_dependencies_compiler_type=none
5790 if test "$am_compiler_list" = ""; then
5791 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5794 case " $depcc " in #(
5795 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5798 for depmode in $am_compiler_list; do
5799 # Setup a source with many dependencies, because some compilers
5800 # like to wrap large dependency lists on column 80 (with \), and
5801 # we should not choose a depcomp mode which is confused by this.
5803 # We need to recreate these files for each test, as the compiler may
5804 # overwrite some of them when testing with obscure command lines.
5805 # This happens at least with the AIX C compiler.
5807 for i in 1 2 3 4 5 6; do
5808 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5809 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5810 # Solaris 10 /bin/sh.
5811 echo '/* dummy */' > sub/conftst$i.h
5813 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5815 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5816 # mode. It turns out that the SunPro C++ compiler does not properly
5817 # handle '-M -o', and we need to detect this. Also, some Intel
5818 # versions had trouble with output in subdirs.
5819 am__obj=sub/conftest.${OBJEXT-o}
5820 am__minus_obj="-o $am__obj"
5823 # This depmode causes a compiler race in universal mode.
5824 test "$am__universal" = false || continue
5827 # After this tag, mechanisms are not by side-effect, so they'll
5828 # only be used when explicitly requested.
5829 if test "x$enable_dependency_tracking" = xyes; then
5835 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5836 # This compiler won't grok '-c -o', but also, the minuso test has
5837 # not run yet. These depmodes are late enough in the game, and
5838 # so weak that their functioning should not be impacted.
5839 am__obj=conftest.${OBJEXT-o}
5844 if depmode=$depmode \
5845 source=sub/conftest.c object=$am__obj \
5846 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5847 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5848 >/dev/null 2>conftest.err &&
5849 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5850 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5851 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5852 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5853 # icc doesn't choke on unknown options, it will just issue warnings
5854 # or remarks (even with -Werror). So we grep stderr for any message
5855 # that says an option was ignored or not supported.
5856 # When given -MP, icc 7.0 and 7.1 complain thusly:
5857 # icc: Command line warning: ignoring option '-M'; no argument required
5858 # The diagnosis changed in icc 8.0:
5859 # icc: Command line remark: option '-MP' not supported
5860 if (grep 'ignoring option' conftest.err ||
5861 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5862 am_cv_CC_dependencies_compiler_type=$depmode
5871 am_cv_CC_dependencies_compiler_type=none
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5876 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5877 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5880 test "x$enable_dependency_tracking" != xno \
5881 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5883 am__fastdepCC_FALSE='#'
5885 am__fastdepCC_TRUE='#'
5886 am__fastdepCC_FALSE=
5891 ac_cpp='$CXXCPP $CPPFLAGS'
5892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5895 if test -z "$CXX"; then
5896 if test -n "$CCC"; then
5899 if test -n "$ac_tool_prefix"; then
5900 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5902 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5903 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5905 $as_echo_n "checking for $ac_word... " >&6; }
5906 if ${ac_cv_prog_CXX+:} false; then :
5907 $as_echo_n "(cached) " >&6
5909 if test -n "$CXX"; then
5910 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5916 test -z "$as_dir" && as_dir=.
5917 for ac_exec_ext in '' $ac_executable_extensions; do
5918 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5919 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5930 if test -n "$CXX"; then
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5932 $as_echo "$CXX" >&6; }
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5935 $as_echo "no" >&6; }
5939 test -n "$CXX" && break
5942 if test -z "$CXX"; then
5944 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5946 # Extract the first word of "$ac_prog", so it can be a program name with args.
5947 set dummy $ac_prog; ac_word=$2
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5949 $as_echo_n "checking for $ac_word... " >&6; }
5950 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5951 $as_echo_n "(cached) " >&6
5953 if test -n "$ac_ct_CXX"; then
5954 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5960 test -z "$as_dir" && as_dir=.
5961 for ac_exec_ext in '' $ac_executable_extensions; do
5962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5963 ac_cv_prog_ac_ct_CXX="$ac_prog"
5964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5973 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5974 if test -n "$ac_ct_CXX"; then
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5976 $as_echo "$ac_ct_CXX" >&6; }
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5979 $as_echo "no" >&6; }
5983 test -n "$ac_ct_CXX" && break
5986 if test "x$ac_ct_CXX" = x; then
5989 case $cross_compiling:$ac_tool_warned in
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5992 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5993 ac_tool_warned=yes ;;
6001 # Provide some information about the compiler.
6002 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6005 for ac_option in --version -v -V -qversion; do
6006 { { ac_try="$ac_compiler $ac_option >&5"
6008 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6009 *) ac_try_echo
=$ac_try;;
6011 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6012 $as_echo "$ac_try_echo"; } >&5
6013 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6015 if test -s conftest.err
; then
6017 ... rest of stderr output deleted ...
6018 10q' conftest.err
>conftest.er1
6019 cat conftest.er1
>&5
6021 rm -f conftest.er1 conftest.err
6022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6023 test $ac_status = 0; }
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
6027 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
6028 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
6029 $as_echo_n "(cached) " >&6
6031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6032 /* end confdefs.h. */
6045 if ac_fn_cxx_try_compile
"$LINENO"; then :
6050 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6051 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6055 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
6056 if test $ac_compiler_gnu = yes; then
6061 ac_test_CXXFLAGS
=${CXXFLAGS+set}
6062 ac_save_CXXFLAGS
=$CXXFLAGS
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6064 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
6065 if ${ac_cv_prog_cxx_g+:} false
; then :
6066 $as_echo_n "(cached) " >&6
6068 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
6069 ac_cxx_werror_flag
=yes
6072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6073 /* end confdefs.h. */
6083 if ac_fn_cxx_try_compile
"$LINENO"; then :
6084 ac_cv_prog_cxx_g
=yes
6087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6088 /* end confdefs.h. */
6098 if ac_fn_cxx_try_compile
"$LINENO"; then :
6101 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
6103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6104 /* end confdefs.h. */
6114 if ac_fn_cxx_try_compile
"$LINENO"; then :
6115 ac_cv_prog_cxx_g
=yes
6117 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6122 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6125 $as_echo "$ac_cv_prog_cxx_g" >&6; }
6126 if test "$ac_test_CXXFLAGS" = set; then
6127 CXXFLAGS
=$ac_save_CXXFLAGS
6128 elif test $ac_cv_prog_cxx_g = yes; then
6129 if test "$GXX" = yes; then
6135 if test "$GXX" = yes; then
6142 ac_cpp
='$CPP $CPPFLAGS'
6143 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6144 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6145 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6147 depcc
="$CXX" am_compiler_list
=
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6150 $as_echo_n "checking dependency style of $depcc... " >&6; }
6151 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
6152 $as_echo_n "(cached) " >&6
6154 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6155 # We make a subdir and do the tests there. Otherwise we can end up
6156 # making bogus files that we don't know about and never remove. For
6157 # instance it was reported that on HP-UX the gcc test will end up
6158 # making a dummy file named 'D' -- because '-MD' means "put the output
6162 # Copy depcomp to subdir because otherwise we won't find it if we're
6163 # using a relative directory.
6164 cp "$am_depcomp" conftest.dir
6166 # We will build objects and dependencies in a subdirectory because
6167 # it helps to detect inapplicable dependency modes. For instance
6168 # both Tru64's cc and ICC support -MD to output dependencies as a
6169 # side effect of compilation, but ICC will put the dependencies in
6170 # the current directory while Tru64 will put them in the object
6174 am_cv_CXX_dependencies_compiler_type
=none
6175 if test "$am_compiler_list" = ""; then
6176 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6179 case " $depcc " in #(
6180 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
6183 for depmode
in $am_compiler_list; do
6184 # Setup a source with many dependencies, because some compilers
6185 # like to wrap large dependency lists on column 80 (with \), and
6186 # we should not choose a depcomp mode which is confused by this.
6188 # We need to recreate these files for each test, as the compiler may
6189 # overwrite some of them when testing with obscure command lines.
6190 # This happens at least with the AIX C compiler.
6192 for i
in 1 2 3 4 5 6; do
6193 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6194 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6195 # Solaris 10 /bin/sh.
6196 echo '/* dummy */' > sub
/conftst
$i.h
6198 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6200 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6201 # mode. It turns out that the SunPro C++ compiler does not properly
6202 # handle '-M -o', and we need to detect this. Also, some Intel
6203 # versions had trouble with output in subdirs.
6204 am__obj
=sub
/conftest.
${OBJEXT-o}
6205 am__minus_obj
="-o $am__obj"
6208 # This depmode causes a compiler race in universal mode.
6209 test "$am__universal" = false ||
continue
6212 # After this tag, mechanisms are not by side-effect, so they'll
6213 # only be used when explicitly requested.
6214 if test "x$enable_dependency_tracking" = xyes
; then
6220 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
6221 # This compiler won't grok '-c -o', but also, the minuso test has
6222 # not run yet. These depmodes are late enough in the game, and
6223 # so weak that their functioning should not be impacted.
6224 am__obj
=conftest.
${OBJEXT-o}
6229 if depmode
=$depmode \
6230 source=sub
/conftest.c object
=$am__obj \
6231 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6232 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6233 >/dev
/null
2>conftest.err
&&
6234 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6235 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6236 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6237 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6238 # icc doesn't choke on unknown options, it will just issue warnings
6239 # or remarks (even with -Werror). So we grep stderr for any message
6240 # that says an option was ignored or not supported.
6241 # When given -MP, icc 7.0 and 7.1 complain thusly:
6242 # icc: Command line warning: ignoring option '-M'; no argument required
6243 # The diagnosis changed in icc 8.0:
6244 # icc: Command line remark: option '-MP' not supported
6245 if (grep 'ignoring option' conftest.err ||
6246 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6247 am_cv_CXX_dependencies_compiler_type
=$depmode
6256 am_cv_CXX_dependencies_compiler_type
=none
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6261 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6262 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6265 test "x$enable_dependency_tracking" != xno \
6266 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6267 am__fastdepCXX_TRUE
=
6268 am__fastdepCXX_FALSE
='#'
6270 am__fastdepCXX_TRUE
='#'
6271 am__fastdepCXX_FALSE
=
6275 # By default we simply use the C compiler to build assembly code.
6277 test "${CCAS+set}" = set || CCAS
=$CC
6278 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
6282 depcc
="$CCAS" am_compiler_list
=
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6285 $as_echo_n "checking dependency style of $depcc... " >&6; }
6286 if ${am_cv_CCAS_dependencies_compiler_type+:} false
; then :
6287 $as_echo_n "(cached) " >&6
6289 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6290 # We make a subdir and do the tests there. Otherwise we can end up
6291 # making bogus files that we don't know about and never remove. For
6292 # instance it was reported that on HP-UX the gcc test will end up
6293 # making a dummy file named 'D' -- because '-MD' means "put the output
6297 # Copy depcomp to subdir because otherwise we won't find it if we're
6298 # using a relative directory.
6299 cp "$am_depcomp" conftest.dir
6301 # We will build objects and dependencies in a subdirectory because
6302 # it helps to detect inapplicable dependency modes. For instance
6303 # both Tru64's cc and ICC support -MD to output dependencies as a
6304 # side effect of compilation, but ICC will put the dependencies in
6305 # the current directory while Tru64 will put them in the object
6309 am_cv_CCAS_dependencies_compiler_type
=none
6310 if test "$am_compiler_list" = ""; then
6311 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6316 for depmode
in $am_compiler_list; do
6317 # Setup a source with many dependencies, because some compilers
6318 # like to wrap large dependency lists on column 80 (with \), and
6319 # we should not choose a depcomp mode which is confused by this.
6321 # We need to recreate these files for each test, as the compiler may
6322 # overwrite some of them when testing with obscure command lines.
6323 # This happens at least with the AIX C compiler.
6325 for i
in 1 2 3 4 5 6; do
6326 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6327 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6328 # Solaris 10 /bin/sh.
6329 echo '/* dummy */' > sub
/conftst
$i.h
6331 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6333 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6334 # mode. It turns out that the SunPro C++ compiler does not properly
6335 # handle '-M -o', and we need to detect this. Also, some Intel
6336 # versions had trouble with output in subdirs.
6337 am__obj
=sub
/conftest.
${OBJEXT-o}
6338 am__minus_obj
="-o $am__obj"
6341 # This depmode causes a compiler race in universal mode.
6342 test "$am__universal" = false ||
continue
6345 # After this tag, mechanisms are not by side-effect, so they'll
6346 # only be used when explicitly requested.
6347 if test "x$enable_dependency_tracking" = xyes
; then
6353 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
6354 # This compiler won't grok '-c -o', but also, the minuso test has
6355 # not run yet. These depmodes are late enough in the game, and
6356 # so weak that their functioning should not be impacted.
6357 am__obj
=conftest.
${OBJEXT-o}
6362 if depmode
=$depmode \
6363 source=sub
/conftest.c object
=$am__obj \
6364 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6365 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6366 >/dev
/null
2>conftest.err
&&
6367 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6368 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6369 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6370 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6371 # icc doesn't choke on unknown options, it will just issue warnings
6372 # or remarks (even with -Werror). So we grep stderr for any message
6373 # that says an option was ignored or not supported.
6374 # When given -MP, icc 7.0 and 7.1 complain thusly:
6375 # icc: Command line warning: ignoring option '-M'; no argument required
6376 # The diagnosis changed in icc 8.0:
6377 # icc: Command line remark: option '-MP' not supported
6378 if (grep 'ignoring option' conftest.err ||
6379 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6380 am_cv_CCAS_dependencies_compiler_type
=$depmode
6389 am_cv_CCAS_dependencies_compiler_type
=none
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
6394 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
6395 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
6398 test "x$enable_dependency_tracking" != xno \
6399 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
6400 am__fastdepCCAS_TRUE
=
6401 am__fastdepCCAS_FALSE
='#'
6403 am__fastdepCCAS_TRUE
='#'
6404 am__fastdepCCAS_FALSE
=
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6409 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6411 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6412 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
6413 $as_echo_n "(cached) " >&6
6415 cat >conftest.
make <<\_ACEOF
6418 @
echo '@@@%%%=$(MAKE)=@@@%%%'
6420 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6421 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6423 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
6425 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
6429 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6431 $as_echo "yes" >&6; }
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6435 $as_echo "no" >&6; }
6436 SET_MAKE
="MAKE=${MAKE-make}"
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6445 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6450 macro_version
='2.2.7a'
6451 macro_revision
='1.3134'
6465 ltmain
="$ac_aux_dir/ltmain.sh"
6467 # Backslashify metacharacters that are still active within
6468 # double-quoted strings.
6469 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6471 # Same as above, but do not quote variable references.
6472 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6474 # Sed substitution to delay expansion of an escaped shell variable in a
6475 # double_quote_subst'ed string.
6476 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6478 # Sed substitution to delay expansion of an escaped single quote.
6479 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6481 # Sed substitution to avoid accidental globbing in evaled expressions
6482 no_glob_subst
='s/\*/\\\*/g'
6484 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6485 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6486 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6489 $as_echo_n "checking how to print strings... " >&6; }
6490 # Test print first, because it will be a builtin if present.
6491 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6492 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6494 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6497 # Use this function as a fallback that always works.
6498 func_fallback_echo ()
6500 eval 'cat <<_LTECHO_EOF
6504 ECHO='func_fallback_echo
'
6507 # func_echo_all arg...
6508 # Invoke $ECHO with all args, space-separated.
6515 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6516 $as_echo "printf" >&6; } ;;
6517 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6518 $as_echo "print -r" >&6; } ;;
6519 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6520 $as_echo "cat" >&6; } ;;
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6537 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6538 if ${ac_cv_path_SED+:} false; then :
6539 $as_echo_n "(cached) " >&6
6541 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6542 for ac_i in 1 2 3 4 5 6 7; do
6543 ac_script="$ac_script$as_nl$ac_script"
6545 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6546 { ac_script=; unset ac_script;}
6547 if test -z "$SED"; then
6548 ac_path_SED_found=false
6549 # Loop through the user's path and
test for each of PROGNAME-LIST
6550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6554 test -z "$as_dir" && as_dir
=.
6555 for ac_prog
in sed gsed
; do
6556 for ac_exec_ext
in '' $ac_executable_extensions; do
6557 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6558 as_fn_executable_p
"$ac_path_SED" ||
continue
6559 # Check for GNU ac_path_SED and select it if it is found.
6560 # Check for GNU $ac_path_SED
6561 case `"$ac_path_SED" --version 2>&1` in
6563 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6566 $as_echo_n 0123456789 >"conftest.in"
6569 cat "conftest.in" "conftest.in" >"conftest.tmp"
6570 mv "conftest.tmp" "conftest.in"
6571 cp "conftest.in" "conftest.nl"
6572 $as_echo '' >> "conftest.nl"
6573 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6574 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6575 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6576 if test $ac_count -gt ${ac_path_SED_max-0}; then
6577 # Best one so far, save it but keep looking for a better one
6578 ac_cv_path_SED
="$ac_path_SED"
6579 ac_path_SED_max
=$ac_count
6581 # 10*(2^10) chars as input seems more than enough
6582 test $ac_count -gt 10 && break
6584 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6587 $ac_path_SED_found && break 3
6592 if test -z "$ac_cv_path_SED"; then
6593 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6601 $as_echo "$ac_cv_path_SED" >&6; }
6602 SED
="$ac_cv_path_SED"
6605 test -z "$SED" && SED
=sed
6606 Xsed
="$SED -e 1s/^X//"
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6619 $as_echo_n "checking for fgrep... " >&6; }
6620 if ${ac_cv_path_FGREP+:} false
; then :
6621 $as_echo_n "(cached) " >&6
6623 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6624 then ac_cv_path_FGREP
="$GREP -F"
6626 if test -z "$FGREP"; then
6627 ac_path_FGREP_found
=false
6628 # Loop through the user's path and test for each of PROGNAME-LIST
6629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6630 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6633 test -z "$as_dir" && as_dir
=.
6634 for ac_prog
in fgrep
; do
6635 for ac_exec_ext
in '' $ac_executable_extensions; do
6636 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6637 as_fn_executable_p
"$ac_path_FGREP" ||
continue
6638 # Check for GNU ac_path_FGREP and select it if it is found.
6639 # Check for GNU $ac_path_FGREP
6640 case `"$ac_path_FGREP" --version 2>&1` in
6642 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6645 $as_echo_n 0123456789 >"conftest.in"
6648 cat "conftest.in" "conftest.in" >"conftest.tmp"
6649 mv "conftest.tmp" "conftest.in"
6650 cp "conftest.in" "conftest.nl"
6651 $as_echo 'FGREP' >> "conftest.nl"
6652 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6653 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6654 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6655 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6656 # Best one so far, save it but keep looking for a better one
6657 ac_cv_path_FGREP
="$ac_path_FGREP"
6658 ac_path_FGREP_max
=$ac_count
6660 # 10*(2^10) chars as input seems more than enough
6661 test $ac_count -gt 10 && break
6663 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6666 $ac_path_FGREP_found && break 3
6671 if test -z "$ac_cv_path_FGREP"; then
6672 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6675 ac_cv_path_FGREP
=$FGREP
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6681 $as_echo "$ac_cv_path_FGREP" >&6; }
6682 FGREP
="$ac_cv_path_FGREP"
6685 test -z "$GREP" && GREP
=grep
6705 # Check whether --with-gnu-ld was given.
6706 if test "${with_gnu_ld+set}" = set; then :
6707 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6713 if test "$GCC" = yes; then
6714 # Check if gcc -print-prog-name=ld gives a path.
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6716 $as_echo_n "checking for ld used by $CC... " >&6; }
6719 # gcc leaves a trailing carriage return which upsets mingw
6720 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6722 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6725 # Accept absolute paths.
6727 re_direlt
='/[^/][^/]*/\.\./'
6728 # Canonicalize the pathname of ld
6729 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6730 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6731 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6733 test -z "$LD" && LD
="$ac_prog"
6736 # If it fails, then pretend we aren't using GCC.
6740 # If it is relative, then search for the first ld in PATH.
6744 elif test "$with_gnu_ld" = yes; then
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6746 $as_echo_n "checking for GNU ld... " >&6; }
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6749 $as_echo_n "checking for non-GNU ld... " >&6; }
6751 if ${lt_cv_path_LD+:} false
; then :
6752 $as_echo_n "(cached) " >&6
6754 if test -z "$LD"; then
6755 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6756 for ac_dir
in $PATH; do
6758 test -z "$ac_dir" && ac_dir
=.
6759 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6760 lt_cv_path_LD
="$ac_dir/$ac_prog"
6761 # Check to see if the program is GNU ld. I'd rather use --version,
6762 # but apparently some variants of GNU ld only accept -v.
6763 # Break only if it was the GNU/non-GNU ld that we prefer.
6764 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6765 *GNU
* |
*'with BFD'*)
6766 test "$with_gnu_ld" != no
&& break
6769 test "$with_gnu_ld" != yes && break
6776 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6781 if test -n "$LD"; then
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6783 $as_echo "$LD" >&6; }
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6786 $as_echo "no" >&6; }
6788 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6790 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6791 if ${lt_cv_prog_gnu_ld+:} false
; then :
6792 $as_echo_n "(cached) " >&6
6794 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6795 case `$LD -v 2>&1 </dev/null` in
6796 *GNU
* |
*'with BFD'*)
6797 lt_cv_prog_gnu_ld
=yes
6800 lt_cv_prog_gnu_ld
=no
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6805 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6806 with_gnu_ld
=$lt_cv_prog_gnu_ld
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6817 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6818 if ${lt_cv_path_NM+:} false
; then :
6819 $as_echo_n "(cached) " >&6
6821 if test -n "$NM"; then
6822 # Let the user override the nm to test.
6823 lt_nm_to_check
="$NM"
6825 lt_nm_to_check
="${ac_tool_prefix}nm"
6826 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6827 lt_nm_to_check
="$lt_nm_to_check nm"
6830 for lt_tmp_nm
in "$lt_nm_to_check"; do
6831 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6832 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6834 test -z "$ac_dir" && ac_dir
=.
6835 # Strip out any user-provided options from the nm to test twice,
6836 # the first time to test to see if nm (rather than its options) has
6837 # an explicit path, the second time to yield a file which can be
6839 tmp_nm_path
="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
6840 case "$tmp_nm_path" in
6841 */*|
*\\*) tmp_nm
="$lt_tmp_nm";;
6842 *) tmp_nm
="$ac_dir/$lt_tmp_nm";;
6844 tmp_nm_to_nm
="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
6845 if test -f "$tmp_nm_to_nm" ||
test -f "$tmp_nm_to_nm$ac_exeext" ; then
6846 # Check to see if the nm accepts a BSD-compat flag.
6847 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6848 # nm: unknown option "B" ignored
6849 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6850 *$tmp_nm*) lt_cv_path_NM
="$tmp_nm -B"
6854 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6856 lt_cv_path_NM
="$tmp_nm -p"
6860 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6861 continue # so that we can try to find one that supports BSD flags
6870 : ${lt_cv_path_NM=no}
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6873 $as_echo "$lt_cv_path_NM" >&6; }
6874 if test "$lt_cv_path_NM" != "no"; then
6877 # Didn't find any BSD compatible name lister, look for dumpbin.
6878 if test -n "$DUMPBIN"; then :
6879 # Let the user override the test.
6881 if test -n "$ac_tool_prefix"; then
6882 for ac_prog
in dumpbin
"link -dump"
6884 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6885 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6887 $as_echo_n "checking for $ac_word... " >&6; }
6888 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6889 $as_echo_n "(cached) " >&6
6891 if test -n "$DUMPBIN"; then
6892 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6898 test -z "$as_dir" && as_dir
=.
6899 for ac_exec_ext
in '' $ac_executable_extensions; do
6900 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6901 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6911 DUMPBIN
=$ac_cv_prog_DUMPBIN
6912 if test -n "$DUMPBIN"; then
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6914 $as_echo "$DUMPBIN" >&6; }
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6917 $as_echo "no" >&6; }
6921 test -n "$DUMPBIN" && break
6924 if test -z "$DUMPBIN"; then
6925 ac_ct_DUMPBIN
=$DUMPBIN
6926 for ac_prog
in dumpbin
"link -dump"
6928 # Extract the first word of "$ac_prog", so it can be a program name with args.
6929 set dummy
$ac_prog; ac_word
=$2
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6931 $as_echo_n "checking for $ac_word... " >&6; }
6932 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6933 $as_echo_n "(cached) " >&6
6935 if test -n "$ac_ct_DUMPBIN"; then
6936 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6942 test -z "$as_dir" && as_dir
=.
6943 for ac_exec_ext
in '' $ac_executable_extensions; do
6944 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6945 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6955 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6956 if test -n "$ac_ct_DUMPBIN"; then
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6958 $as_echo "$ac_ct_DUMPBIN" >&6; }
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6961 $as_echo "no" >&6; }
6965 test -n "$ac_ct_DUMPBIN" && break
6968 if test "x$ac_ct_DUMPBIN" = x
; then
6971 case $cross_compiling:$ac_tool_warned in
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6974 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6975 ac_tool_warned
=yes ;;
6977 DUMPBIN
=$ac_ct_DUMPBIN
6981 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6983 DUMPBIN
="$DUMPBIN -symbols"
6991 if test "$DUMPBIN" != ":"; then
6995 test -z "$NM" && NM
=nm
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7003 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7004 if ${lt_cv_nm_interface+:} false
; then :
7005 $as_echo_n "(cached) " >&6
7007 lt_cv_nm_interface
="BSD nm"
7008 echo "int some_variable = 0;" > conftest.
$ac_ext
7009 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7010 (eval "$ac_compile" 2>conftest.err
)
7011 cat conftest.err
>&5
7012 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7013 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
7014 cat conftest.err
>&5
7015 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7016 cat conftest.out
>&5
7017 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
7018 lt_cv_nm_interface
="MS dumpbin"
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7023 $as_echo "$lt_cv_nm_interface" >&6; }
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7026 $as_echo_n "checking whether ln -s works... " >&6; }
7028 if test "$LN_S" = "ln -s"; then
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7030 $as_echo "yes" >&6; }
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7033 $as_echo "no, using $LN_S" >&6; }
7036 # find the maximum length of command line arguments
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7038 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7039 if ${lt_cv_sys_max_cmd_len+:} false
; then :
7040 $as_echo_n "(cached) " >&6
7047 # On DJGPP, this test can blow up pretty badly due to problems in libc
7048 # (any single argument exceeding 2000 bytes causes a buffer overrun
7049 # during glob expansion). Even if it were fixed, the result of this
7050 # check would be larger than it should be.
7051 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
7055 # Under GNU Hurd, this test is not required because there is
7056 # no limit to the length of command line arguments.
7057 # Libtool will interpret -1 as no limit whatsoever
7058 lt_cv_sys_max_cmd_len
=-1;
7061 cygwin
* | mingw
* | cegcc
*)
7062 # On Win9x/ME, this test blows up -- it succeeds, but takes
7063 # about 5 minutes as the teststring grows exponentially.
7064 # Worse, since 9x/ME are not pre-emptively multitasking,
7065 # you end up with a "frozen" computer, even though with patience
7066 # the test eventually succeeds (with a max line length of 256k).
7067 # Instead, let's just punt: use the minimum linelength reported by
7068 # all of the supported platforms: 8192 (on NT/2K/XP).
7069 lt_cv_sys_max_cmd_len
=8192;
7073 # On MiNT this can take a long time and run out of memory.
7074 lt_cv_sys_max_cmd_len
=8192;
7078 # On AmigaOS with pdksh, this test takes hours, literally.
7079 # So we just punt and use a minimum line length of 8192.
7080 lt_cv_sys_max_cmd_len
=8192;
7083 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
7084 # This has been around since 386BSD, at least. Likely further.
7085 if test -x /sbin
/sysctl
; then
7086 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
7087 elif test -x /usr
/sbin
/sysctl
; then
7088 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
7090 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
7092 # And add a safety zone
7093 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7094 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7098 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7099 lt_cv_sys_max_cmd_len
=196608
7103 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7104 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7105 # nice to cause kernel panics so lets avoid the loop below.
7106 # First set a reasonable default.
7107 lt_cv_sys_max_cmd_len
=16384
7109 if test -x /sbin
/sysconfig
; then
7110 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7111 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
7116 lt_cv_sys_max_cmd_len
=102400
7118 sysv5
* | sco5v6
* | sysv4.2uw2
*)
7119 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7120 if test -n "$kargmax"; then
7121 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
7123 lt_cv_sys_max_cmd_len
=32768
7127 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
7128 if test -n "$lt_cv_sys_max_cmd_len"; then
7129 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7130 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7132 # Make teststring a little bigger before we do anything with it.
7133 # a 1K string should be a reasonable start.
7134 for i
in 1 2 3 4 5 6 7 8 ; do
7135 teststring
=$teststring$teststring
7137 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
7138 # If test is not a shell built-in, we'll probably end up computing a
7139 # maximum length that is only half of the actual maximum length, but
7141 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7142 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
7143 test $i != 17 # 1/2 MB should be enough
7146 teststring
=$teststring$teststring
7148 # Only check the string length outside the loop.
7149 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
7151 # Add a significant safety factor because C++ compilers can tack on
7152 # massive amounts of additional arguments before passing them to the
7153 # linker. It appears as though 1/2 is a usable value.
7154 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7161 if test -n $lt_cv_sys_max_cmd_len ; then
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7163 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7166 $as_echo "none" >&6; }
7168 max_cmd_len
=$lt_cv_sys_max_cmd_len
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7180 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7181 # Try some XSI features
7184 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7186 && eval 'test $(( 1 + 1 )) -eq 2 \
7187 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
7190 $as_echo "$xsi_shell" >&6; }
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
7194 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
7196 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
7198 && lt_shell_append=yes
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
7200 $as_echo "$lt_shell_append" >&6; }
7203 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7213 # test EBCDIC or ASCII
7214 case `echo X|tr X '\101'` in
7215 A) # ASCII based system
7216 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7217 lt_SP2NL='tr \040 \012'
7218 lt_NL2SP='tr \015\012 \040\040'
7220 *) # EBCDIC based system
7221 lt_SP2NL='tr \100 \n'
7222 lt_NL2SP='tr \r\n \100\100'
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
7235 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
7236 if ${lt_cv_ld_reload_flag+:} false; then :
7237 $as_echo_n "(cached
) " >&6
7239 lt_cv_ld_reload_flag='-r'
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
7242 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7243 reload_flag=$lt_cv_ld_reload_flag
7244 case $reload_flag in
7246 *) reload_flag=" $reload_flag" ;;
7248 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7251 if test "$GCC" = yes; then
7252 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7254 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7267 if test -n "$ac_tool_prefix"; then
7268 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
7269 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7271 $as_echo_n "checking
for $ac_word...
" >&6; }
7272 if ${ac_cv_prog_OBJDUMP+:} false; then :
7273 $as_echo_n "(cached
) " >&6
7275 if test -n "$OBJDUMP"; then
7276 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7282 test -z "$as_dir" && as_dir=.
7283 for ac_exec_ext in '' $ac_executable_extensions; do
7284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7285 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
7286 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7295 OBJDUMP=$ac_cv_prog_OBJDUMP
7296 if test -n "$OBJDUMP"; then
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
7298 $as_echo "$OBJDUMP" >&6; }
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7301 $as_echo "no
" >&6; }
7306 if test -z "$ac_cv_prog_OBJDUMP"; then
7307 ac_ct_OBJDUMP=$OBJDUMP
7308 # Extract the first word of "objdump
", so it can be a program name with args.
7309 set dummy objdump; ac_word=$2
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7311 $as_echo_n "checking
for $ac_word...
" >&6; }
7312 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7313 $as_echo_n "(cached
) " >&6
7315 if test -n "$ac_ct_OBJDUMP"; then
7316 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7322 test -z "$as_dir" && as_dir=.
7323 for ac_exec_ext in '' $ac_executable_extensions; do
7324 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7325 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
7326 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7335 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7336 if test -n "$ac_ct_OBJDUMP"; then
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
7338 $as_echo "$ac_ct_OBJDUMP" >&6; }
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7341 $as_echo "no
" >&6; }
7344 if test "x
$ac_ct_OBJDUMP" = x; then
7347 case $cross_compiling:$ac_tool_warned in
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7350 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7351 ac_tool_warned=yes ;;
7353 OBJDUMP=$ac_ct_OBJDUMP
7356 OBJDUMP="$ac_cv_prog_OBJDUMP"
7359 test -z "$OBJDUMP" && OBJDUMP=objdump
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
7370 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
7371 if ${lt_cv_deplibs_check_method+:} false; then :
7372 $as_echo_n "(cached
) " >&6
7374 lt_cv_file_magic_cmd='$MAGIC_CMD'
7375 lt_cv_file_magic_test_file=
7376 lt_cv_deplibs_check_method='unknown'
7377 # Need to set the preceding variable on all platforms that support
7378 # interlibrary dependencies.
7379 # 'none' -- dependencies not supported.
7380 # `unknown' -- same as none, but documents that we really don't know.
7381 # 'pass_all' -- all dependencies passed with no checks.
7382 # 'test_compile' -- check by making test program.
7383 # 'file_magic [[regex]]' -- check by looking for files in library path
7384 # which responds to the $file_magic_cmd with a given extended regex.
7385 # If you have `file' or equivalent on your system and you're not sure
7386 # whether `pass_all' will *always* work, you probably want this one.
7390 lt_cv_deplibs_check_method=pass_all
7394 lt_cv_deplibs_check_method=pass_all
7398 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7399 lt_cv_file_magic_cmd='/usr/bin/file -L'
7400 lt_cv_file_magic_test_file=/shlib/libc.so
7404 # func_win32_libid is a shell function defined in ltmain.sh
7405 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7406 lt_cv_file_magic_cmd='func_win32_libid'
7410 # Base MSYS/MinGW do not provide the 'file' command needed by
7411 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7412 # unless we find 'file', for example because we are cross-compiling.
7413 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7414 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
7415 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7416 lt_cv_file_magic_cmd='func_win32_libid'
7418 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7419 lt_cv_file_magic_cmd='$OBJDUMP -f'
7424 # use the weaker test based on 'objdump'. See mingw*.
7425 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7426 lt_cv_file_magic_cmd='$OBJDUMP -f'
7429 darwin* | rhapsody*)
7430 lt_cv_deplibs_check_method=pass_all
7433 freebsd* | dragonfly*)
7434 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7437 # Not sure whether the presence of OpenBSD here was a mistake.
7438 # Let's accept both of them until this is cleared up.
7439 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7440 lt_cv_file_magic_cmd=/usr/bin/file
7441 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7445 lt_cv_deplibs_check_method=pass_all
7450 lt_cv_deplibs_check_method=pass_all
7454 lt_cv_deplibs_check_method=pass_all
7457 hpux10.20* | hpux11*)
7458 lt_cv_file_magic_cmd=/usr/bin/file
7461 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7462 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7465 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]'
7466 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7469 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7470 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7476 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7477 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7480 irix5* | irix6* | nonstopux*)
7482 *-32|*"-32 ") libmagic=32-bit;;
7483 *-n32|*"-n32 ") libmagic=N32;;
7484 *-64|*"-64 ") libmagic=64-bit;;
7485 *) libmagic=never-match;;
7487 lt_cv_deplibs_check_method=pass_all
7490 # This must be Linux ELF.
7491 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
7492 lt_cv_deplibs_check_method=pass_all
7496 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7497 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7499 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7504 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7505 lt_cv_file_magic_cmd=/usr/bin/file
7506 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7510 lt_cv_deplibs_check_method=pass_all
7514 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7515 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7517 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7521 osf3* | osf4* | osf5*)
7522 lt_cv_deplibs_check_method=pass_all
7526 lt_cv_deplibs_check_method=pass_all
7530 lt_cv_deplibs_check_method=pass_all
7533 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7534 lt_cv_deplibs_check_method=pass_all
7538 case $host_vendor in
7540 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]'
7541 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7544 lt_cv_deplibs_check_method=pass_all
7547 lt_cv_file_magic_cmd='/bin/file'
7548 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7551 lt_cv_file_magic_cmd='/bin/file'
7552 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
7553 lt_cv_file_magic_test_file=/lib/libc.so
7556 lt_cv_deplibs_check_method=pass_all
7559 lt_cv_deplibs_check_method=pass_all
7565 lt_cv_deplibs_check_method=pass_all
7568 # Assume VxWorks cross toolchains are built on Linux, possibly
7569 # as canadian for Windows hosts.
7570 lt_cv_deplibs_check_method=pass_all
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
7576 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7577 file_magic_cmd=$lt_cv_file_magic_cmd
7578 deplibs_check_method=$lt_cv_deplibs_check_method
7579 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7593 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
7594 for plugin in $plugin_names; do
7595 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
7596 if test x$plugin_so = x$plugin; then
7597 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
7599 if test x$plugin_so != x$plugin; then
7600 plugin_option="--plugin $plugin_so"
7605 if test -n "$ac_tool_prefix"; then
7606 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7607 set dummy ${ac_tool_prefix}ar; ac_word=$2
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7609 $as_echo_n "checking
for $ac_word...
" >&6; }
7610 if ${ac_cv_prog_AR+:} false; then :
7611 $as_echo_n "(cached
) " >&6
7613 if test -n "$AR"; then
7614 ac_cv_prog_AR="$AR" # Let the user override the test.
7616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7620 test -z "$as_dir" && as_dir=.
7621 for ac_exec_ext in '' $ac_executable_extensions; do
7622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7623 ac_cv_prog_AR="${ac_tool_prefix}ar"
7624 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7634 if test -n "$AR"; then
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7636 $as_echo "$AR" >&6; }
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7639 $as_echo "no
" >&6; }
7644 if test -z "$ac_cv_prog_AR"; then
7646 # Extract the first word of "ar", so it can be a program name with args.
7647 set dummy ar; ac_word=$2
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7649 $as_echo_n "checking
for $ac_word...
" >&6; }
7650 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7651 $as_echo_n "(cached
) " >&6
7653 if test -n "$ac_ct_AR"; then
7654 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7660 test -z "$as_dir" && as_dir=.
7661 for ac_exec_ext in '' $ac_executable_extensions; do
7662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7663 ac_cv_prog_ac_ct_AR="ar"
7664 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7673 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7674 if test -n "$ac_ct_AR"; then
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
7676 $as_echo "$ac_ct_AR" >&6; }
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7679 $as_echo "no
" >&6; }
7682 if test "x
$ac_ct_AR" = x; then
7685 case $cross_compiling:$ac_tool_warned in
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7688 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7689 ac_tool_warned=yes ;;
7697 test -z "$AR" && AR=ar
7698 if test -n "$plugin_option"; then
7699 if $AR --help 2>&1 | grep -q "\
--plugin"; then
7701 $AR $plugin_option rc conftest.a conftest.c
7702 if test "$?
" != 0; then
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
7704 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
7706 AR="$AR $plugin_option"
7711 test -z "$AR_FLAGS" && AR_FLAGS=cru
7723 if test -n "$ac_tool_prefix"; then
7724 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7725 set dummy ${ac_tool_prefix}strip; ac_word=$2
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7727 $as_echo_n "checking
for $ac_word...
" >&6; }
7728 if ${ac_cv_prog_STRIP+:} false; then :
7729 $as_echo_n "(cached
) " >&6
7731 if test -n "$STRIP"; then
7732 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7738 test -z "$as_dir" && as_dir=.
7739 for ac_exec_ext in '' $ac_executable_extensions; do
7740 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7741 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7742 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7751 STRIP=$ac_cv_prog_STRIP
7752 if test -n "$STRIP"; then
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
7754 $as_echo "$STRIP" >&6; }
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7757 $as_echo "no
" >&6; }
7762 if test -z "$ac_cv_prog_STRIP"; then
7764 # Extract the first word of "strip
", so it can be a program name with args.
7765 set dummy strip; ac_word=$2
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7767 $as_echo_n "checking
for $ac_word...
" >&6; }
7768 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7769 $as_echo_n "(cached
) " >&6
7771 if test -n "$ac_ct_STRIP"; then
7772 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7778 test -z "$as_dir" && as_dir=.
7779 for ac_exec_ext in '' $ac_executable_extensions; do
7780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7781 ac_cv_prog_ac_ct_STRIP="strip
"
7782 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7791 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7792 if test -n "$ac_ct_STRIP"; then
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
7794 $as_echo "$ac_ct_STRIP" >&6; }
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7797 $as_echo "no
" >&6; }
7800 if test "x
$ac_ct_STRIP" = x; then
7803 case $cross_compiling:$ac_tool_warned in
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7806 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7807 ac_tool_warned=yes ;;
7812 STRIP="$ac_cv_prog_STRIP"
7815 test -z "$STRIP" && STRIP=:
7822 if test -n "$ac_tool_prefix"; then
7823 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7824 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7826 $as_echo_n "checking
for $ac_word...
" >&6; }
7827 if ${ac_cv_prog_RANLIB+:} false; then :
7828 $as_echo_n "(cached
) " >&6
7830 if test -n "$RANLIB"; then
7831 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7837 test -z "$as_dir" && as_dir=.
7838 for ac_exec_ext in '' $ac_executable_extensions; do
7839 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7840 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7841 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7850 RANLIB=$ac_cv_prog_RANLIB
7851 if test -n "$RANLIB"; then
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7853 $as_echo "$RANLIB" >&6; }
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7856 $as_echo "no
" >&6; }
7861 if test -z "$ac_cv_prog_RANLIB"; then
7862 ac_ct_RANLIB=$RANLIB
7863 # Extract the first word of "ranlib
", so it can be a program name with args.
7864 set dummy ranlib; ac_word=$2
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7866 $as_echo_n "checking
for $ac_word...
" >&6; }
7867 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7868 $as_echo_n "(cached
) " >&6
7870 if test -n "$ac_ct_RANLIB"; then
7871 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7877 test -z "$as_dir" && as_dir=.
7878 for ac_exec_ext in '' $ac_executable_extensions; do
7879 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7880 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7881 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7890 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7891 if test -n "$ac_ct_RANLIB"; then
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7893 $as_echo "$ac_ct_RANLIB" >&6; }
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7896 $as_echo "no
" >&6; }
7899 if test "x
$ac_ct_RANLIB" = x; then
7902 case $cross_compiling:$ac_tool_warned in
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7905 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7906 ac_tool_warned=yes ;;
7908 RANLIB=$ac_ct_RANLIB
7911 RANLIB="$ac_cv_prog_RANLIB"
7914 test -z "$RANLIB" && RANLIB=:
7915 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
7916 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
7917 RANLIB="$RANLIB $plugin_option"
7926 # Determine commands to create old-style static archives.
7927 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7928 old_postinstall_cmds='chmod 644 $oldlib'
7929 old_postuninstall_cmds=
7931 if test -n "$RANLIB"; then
7934 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7937 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7940 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7945 lock_old_archive_extraction=yes ;;
7947 lock_old_archive_extraction=no ;;
7988 # If no C compiler was specified, use CC.
7991 # If no C compiler flags were specified, use CFLAGS.
7992 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7994 # Allow CC to be a program name with arguments.
7998 # Check for command to grab the raw symbol name followed by C symbol from nm.
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
8000 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
8001 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8002 $as_echo_n "(cached
) " >&6
8005 # These are sane defaults that work on at least a few old systems.
8006 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8008 # Character class describing NM global symbol codes.
8009 symcode='[BCDEGRST]'
8011 # Regexp to match symbols that can be accessed directly from C.
8012 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8014 # Define system-specific variables.
8019 cygwin* | mingw* | pw32* | cegcc*)
8020 symcode='[ABCDGISTW]'
8023 if test "$host_cpu" = ia64; then
8024 symcode='[ABCDEGRST]'
8028 symcode='[BCDEGRST]'
8031 symcode='[BCDEGQRST]'
8042 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8050 # If we're using GNU nm, then use its standard symbol codes.
8051 case `$NM -V 2>&1` in
8052 *GNU* | *'with BFD'*)
8053 symcode='[ABCDGIRSTW]' ;;
8056 # Transform an extracted symbol line into a proper C declaration.
8057 # Some systems (esp. on ia64) link data and code symbols differently,
8058 # so use this general approach.
8059 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8061 # Transform an extracted symbol line into symbol name and symbol address
8062 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8063 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'"
8065 # Handle CRLF in mingw tool chain
8069 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8073 # Try without a prefix underscore, then with it.
8074 for ac_symprfx in "" "_
"; do
8076 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8077 symxfrm="\\1 $ac_symprfx\\2 \\2"
8079 # Write the raw and C identifiers.
8080 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
8081 # Fake it for dumpbin and say T for any non-static function
8082 # and D for any global variable.
8083 # Also find C++ and __fastcall symbols from MSVC++,
8084 # which start with @ or ?.
8085 lt_cv_sys_global_symbol_pipe="$AWK '"\
8086 " {last_section=section; section=\$ 3};"\
8087 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8088 " \$ 0!~/External *\|/{next};"\
8089 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8090 " {if(hide[section]) next};"\
8091 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8092 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8093 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8094 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8095 " ' prfx
=^
$ac_symprfx"
8097 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8100 # Check to see that the pipe works correctly.
8104 cat > conftest.$ac_ext <<_LT_EOF
8109 void nm_test_func(void);
8110 void nm_test_func(void){}
8114 int main(){nm_test_var='a';nm_test_func();return(0);}
8117 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8118 (eval $ac_compile) 2>&5
8120 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8121 test $ac_status = 0; }; then
8122 # Now try to grab the symbols.
8124 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
8125 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8127 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8128 test $ac_status = 0; } && test -s "$nlist"; then
8129 # Try sorting and uniquifying the output.
8130 if sort "$nlist" | uniq > "$nlist"T; then
8131 mv -f "$nlist"T "$nlist"
8136 # Make sure that we snagged all the symbols we need.
8137 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8138 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8139 cat <<_LT_EOF > conftest.$ac_ext
8145 # Now generate the symbol file.
8146 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8148 cat <<_LT_EOF >> conftest.$ac_ext
8150 /* The mapping between symbol names and symbols. */
8155 lt__PROGRAM__LTX_preloaded_symbols[] =
8157 { "@PROGRAM@
", (void *) 0 },
8159 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8160 cat <<\_LT_EOF >> conftest.$ac_ext
8164 /* This works around a problem in FreeBSD linker */
8165 #ifdef FREEBSD_WORKAROUND
8166 static const void *lt_preloaded_setup() {
8167 return lt__PROGRAM__LTX_preloaded_symbols;
8175 # Now try linking the two files.
8176 mv conftest.$ac_objext conftstm.$ac_objext
8177 lt_save_LIBS="$LIBS"
8178 lt_save_CFLAGS="$CFLAGS"
8179 LIBS="conftstm.
$ac_objext"
8180 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8181 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8182 (eval $ac_link) 2>&5
8184 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8185 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8188 LIBS="$lt_save_LIBS"
8189 CFLAGS="$lt_save_CFLAGS"
8191 echo "cannot
find nm_test_func
in $nlist" >&5
8194 echo "cannot
find nm_test_var
in $nlist" >&5
8197 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
8200 echo "$progname: failed program was
:" >&5
8201 cat conftest.$ac_ext >&5
8203 rm -rf conftest* conftst*
8205 # Do not use the global_symbol_pipe unless it works.
8206 if test "$pipe_works" = yes; then
8209 lt_cv_sys_global_symbol_pipe=
8215 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8216 lt_cv_sys_global_symbol_to_cdecl=
8218 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
8220 $as_echo "failed
" >&6; }
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
8223 $as_echo "ok
" >&6; }
8247 # Check whether --enable-libtool-lock was given.
8248 if test "${enable_libtool_lock+set}" = set; then :
8249 enableval=$enable_libtool_lock;
8252 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
8254 # Some flags need to be propagated to the compiler or linker for good
8258 # Find out which ABI we are using.
8259 echo 'int i;' > conftest.$ac_ext
8260 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8261 (eval $ac_compile) 2>&5
8263 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8264 test $ac_status = 0; }; then
8265 case `/usr/bin/file conftest.$ac_objext` in
8277 # Find out which ABI we are using.
8278 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
8279 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8280 (eval $ac_compile) 2>&5
8282 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8283 test $ac_status = 0; }; then
8284 if test "$lt_cv_prog_gnu_ld" = yes; then
8285 case `/usr/bin/file conftest.$ac_objext` in
8287 LD="${LD-ld} -melf32bsmip"
8290 LD="${LD-ld} -melf32bmipn32"
8293 LD="${LD-ld} -melf64bmip"
8297 case `/usr/bin/file conftest.$ac_objext` in
8313 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8314 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8315 # Find out which ABI we are using.
8316 echo 'int i;' > conftest.$ac_ext
8317 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8318 (eval $ac_compile) 2>&5
8320 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8321 test $ac_status = 0; }; then
8322 case `/usr/bin/file conftest.o` in
8325 x86_64-*kfreebsd*-gnu)
8326 LD="${LD-ld} -m elf_i386_fbsd
"
8329 case `/usr/bin/file conftest.o` in
8331 LD="${LD-ld} -m elf32_x86_64
"
8334 LD="${LD-ld} -m elf_i386
"
8338 powerpc64le-*linux*)
8339 LD="${LD-ld} -m elf32lppclinux
"
8342 LD="${LD-ld} -m elf32ppclinux
"
8345 LD="${LD-ld} -m elf_s390
"
8348 LD="${LD-ld} -m elf32_sparc
"
8354 x86_64-*kfreebsd*-gnu)
8355 LD="${LD-ld} -m elf_x86_64_fbsd
"
8358 LD="${LD-ld} -m elf_x86_64
"
8361 LD="${LD-ld} -m elf64lppc
"
8364 LD="${LD-ld} -m elf64ppc
"
8366 s390*-*linux*|s390*-*tpf*)
8367 LD="${LD-ld} -m elf64_s390
"
8370 LD="${LD-ld} -m elf64_sparc
"
8380 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8381 SAVE_CFLAGS="$CFLAGS"
8382 CFLAGS="$CFLAGS -belf"
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
8384 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
8385 if ${lt_cv_cc_needs_belf+:} false; then :
8386 $as_echo_n "(cached
) " >&6
8389 ac_cpp='$CPP $CPPFLAGS'
8390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8394 if test x$gcc_no_link = xyes; then
8395 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
8397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8398 /* end confdefs.h. */
8408 if ac_fn_c_try_link "$LINENO"; then :
8409 lt_cv_cc_needs_belf=yes
8411 lt_cv_cc_needs_belf=no
8413 rm -f core conftest.err conftest.$ac_objext \
8414 conftest$ac_exeext conftest.$ac_ext
8416 ac_cpp='$CPP $CPPFLAGS'
8417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
8423 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8424 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8425 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8426 CFLAGS="$SAVE_CFLAGS"
8430 # Find out which ABI we are using.
8431 echo 'int i;' > conftest.$ac_ext
8432 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8433 (eval $ac_compile) 2>&5
8435 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8436 test $ac_status = 0; }; then
8437 case `/usr/bin/file conftest.o` in
8439 case $lt_cv_prog_gnu_ld in
8440 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
8442 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8454 need_locks="$enable_libtool_lock"
8458 rhapsody* | darwin*)
8459 if test -n "$ac_tool_prefix"; then
8460 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8461 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8463 $as_echo_n "checking
for $ac_word...
" >&6; }
8464 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8465 $as_echo_n "(cached
) " >&6
8467 if test -n "$DSYMUTIL"; then
8468 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8474 test -z "$as_dir" && as_dir=.
8475 for ac_exec_ext in '' $ac_executable_extensions; do
8476 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8477 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8478 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8487 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8488 if test -n "$DSYMUTIL"; then
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8490 $as_echo "$DSYMUTIL" >&6; }
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8493 $as_echo "no
" >&6; }
8498 if test -z "$ac_cv_prog_DSYMUTIL"; then
8499 ac_ct_DSYMUTIL=$DSYMUTIL
8500 # Extract the first word of "dsymutil
", so it can be a program name with args.
8501 set dummy dsymutil; ac_word=$2
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8503 $as_echo_n "checking
for $ac_word...
" >&6; }
8504 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8505 $as_echo_n "(cached
) " >&6
8507 if test -n "$ac_ct_DSYMUTIL"; then
8508 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8514 test -z "$as_dir" && as_dir=.
8515 for ac_exec_ext in '' $ac_executable_extensions; do
8516 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8517 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8518 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8527 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8528 if test -n "$ac_ct_DSYMUTIL"; then
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8530 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8533 $as_echo "no
" >&6; }
8536 if test "x
$ac_ct_DSYMUTIL" = x; then
8539 case $cross_compiling:$ac_tool_warned in
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8542 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8543 ac_tool_warned=yes ;;
8545 DSYMUTIL=$ac_ct_DSYMUTIL
8548 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8551 if test -n "$ac_tool_prefix"; then
8552 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8553 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8555 $as_echo_n "checking
for $ac_word...
" >&6; }
8556 if ${ac_cv_prog_NMEDIT+:} false; then :
8557 $as_echo_n "(cached
) " >&6
8559 if test -n "$NMEDIT"; then
8560 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8566 test -z "$as_dir" && as_dir=.
8567 for ac_exec_ext in '' $ac_executable_extensions; do
8568 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8569 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8570 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8579 NMEDIT=$ac_cv_prog_NMEDIT
8580 if test -n "$NMEDIT"; then
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8582 $as_echo "$NMEDIT" >&6; }
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8585 $as_echo "no
" >&6; }
8590 if test -z "$ac_cv_prog_NMEDIT"; then
8591 ac_ct_NMEDIT=$NMEDIT
8592 # Extract the first word of "nmedit
", so it can be a program name with args.
8593 set dummy nmedit; ac_word=$2
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8595 $as_echo_n "checking
for $ac_word...
" >&6; }
8596 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8597 $as_echo_n "(cached
) " >&6
8599 if test -n "$ac_ct_NMEDIT"; then
8600 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8606 test -z "$as_dir" && as_dir=.
8607 for ac_exec_ext in '' $ac_executable_extensions; do
8608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8609 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8610 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8619 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8620 if test -n "$ac_ct_NMEDIT"; then
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8622 $as_echo "$ac_ct_NMEDIT" >&6; }
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8625 $as_echo "no
" >&6; }
8628 if test "x
$ac_ct_NMEDIT" = x; then
8631 case $cross_compiling:$ac_tool_warned in
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8634 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8635 ac_tool_warned=yes ;;
8637 NMEDIT=$ac_ct_NMEDIT
8640 NMEDIT="$ac_cv_prog_NMEDIT"
8643 if test -n "$ac_tool_prefix"; then
8644 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8645 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8647 $as_echo_n "checking
for $ac_word...
" >&6; }
8648 if ${ac_cv_prog_LIPO+:} false; then :
8649 $as_echo_n "(cached
) " >&6
8651 if test -n "$LIPO"; then
8652 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8658 test -z "$as_dir" && as_dir=.
8659 for ac_exec_ext in '' $ac_executable_extensions; do
8660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8661 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8662 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8671 LIPO=$ac_cv_prog_LIPO
8672 if test -n "$LIPO"; then
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8674 $as_echo "$LIPO" >&6; }
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8677 $as_echo "no
" >&6; }
8682 if test -z "$ac_cv_prog_LIPO"; then
8684 # Extract the first word of "lipo
", so it can be a program name with args.
8685 set dummy lipo; ac_word=$2
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8687 $as_echo_n "checking
for $ac_word...
" >&6; }
8688 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8689 $as_echo_n "(cached
) " >&6
8691 if test -n "$ac_ct_LIPO"; then
8692 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8698 test -z "$as_dir" && as_dir=.
8699 for ac_exec_ext in '' $ac_executable_extensions; do
8700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8701 ac_cv_prog_ac_ct_LIPO="lipo
"
8702 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8711 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8712 if test -n "$ac_ct_LIPO"; then
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8714 $as_echo "$ac_ct_LIPO" >&6; }
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8717 $as_echo "no
" >&6; }
8720 if test "x
$ac_ct_LIPO" = x; then
8723 case $cross_compiling:$ac_tool_warned in
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8726 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8727 ac_tool_warned=yes ;;
8732 LIPO="$ac_cv_prog_LIPO"
8735 if test -n "$ac_tool_prefix"; then
8736 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8737 set dummy ${ac_tool_prefix}otool; ac_word=$2
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8739 $as_echo_n "checking
for $ac_word...
" >&6; }
8740 if ${ac_cv_prog_OTOOL+:} false; then :
8741 $as_echo_n "(cached
) " >&6
8743 if test -n "$OTOOL"; then
8744 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8750 test -z "$as_dir" && as_dir=.
8751 for ac_exec_ext in '' $ac_executable_extensions; do
8752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8753 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8754 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8763 OTOOL=$ac_cv_prog_OTOOL
8764 if test -n "$OTOOL"; then
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8766 $as_echo "$OTOOL" >&6; }
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8769 $as_echo "no
" >&6; }
8774 if test -z "$ac_cv_prog_OTOOL"; then
8776 # Extract the first word of "otool
", so it can be a program name with args.
8777 set dummy otool; ac_word=$2
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8779 $as_echo_n "checking
for $ac_word...
" >&6; }
8780 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8781 $as_echo_n "(cached
) " >&6
8783 if test -n "$ac_ct_OTOOL"; then
8784 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8790 test -z "$as_dir" && as_dir=.
8791 for ac_exec_ext in '' $ac_executable_extensions; do
8792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8793 ac_cv_prog_ac_ct_OTOOL="otool
"
8794 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8803 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8804 if test -n "$ac_ct_OTOOL"; then
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8806 $as_echo "$ac_ct_OTOOL" >&6; }
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8809 $as_echo "no
" >&6; }
8812 if test "x
$ac_ct_OTOOL" = x; then
8815 case $cross_compiling:$ac_tool_warned in
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8818 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8819 ac_tool_warned=yes ;;
8824 OTOOL="$ac_cv_prog_OTOOL"
8827 if test -n "$ac_tool_prefix"; then
8828 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8829 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8831 $as_echo_n "checking
for $ac_word...
" >&6; }
8832 if ${ac_cv_prog_OTOOL64+:} false; then :
8833 $as_echo_n "(cached
) " >&6
8835 if test -n "$OTOOL64"; then
8836 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8842 test -z "$as_dir" && as_dir=.
8843 for ac_exec_ext in '' $ac_executable_extensions; do
8844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8845 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8846 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8855 OTOOL64=$ac_cv_prog_OTOOL64
8856 if test -n "$OTOOL64"; then
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8858 $as_echo "$OTOOL64" >&6; }
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8861 $as_echo "no
" >&6; }
8866 if test -z "$ac_cv_prog_OTOOL64"; then
8867 ac_ct_OTOOL64=$OTOOL64
8868 # Extract the first word of "otool64
", so it can be a program name with args.
8869 set dummy otool64; ac_word=$2
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8871 $as_echo_n "checking
for $ac_word...
" >&6; }
8872 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8873 $as_echo_n "(cached
) " >&6
8875 if test -n "$ac_ct_OTOOL64"; then
8876 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8882 test -z "$as_dir" && as_dir=.
8883 for ac_exec_ext in '' $ac_executable_extensions; do
8884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8885 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8886 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8895 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8896 if test -n "$ac_ct_OTOOL64"; then
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8898 $as_echo "$ac_ct_OTOOL64" >&6; }
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8901 $as_echo "no
" >&6; }
8904 if test "x
$ac_ct_OTOOL64" = x; then
8907 case $cross_compiling:$ac_tool_warned in
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8910 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8911 ac_tool_warned=yes ;;
8913 OTOOL64=$ac_ct_OTOOL64
8916 OTOOL64="$ac_cv_prog_OTOOL64"
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8946 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8947 if ${lt_cv_apple_cc_single_mod+:} false; then :
8948 $as_echo_n "(cached
) " >&6
8950 lt_cv_apple_cc_single_mod=no
8951 if test -z "${LT_MULTI_MODULE}"; then
8952 # By default we will add the -single_module flag. You can override
8953 # by either setting the environment variable LT_MULTI_MODULE
8954 # non-empty at configure time, or by adding -multi_module to the
8956 rm -rf libconftest.dylib*
8957 echo "int foo
(void
){return 1;}" > conftest.c
8958 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8959 -dynamiclib -Wl,-single_module conftest.c
" >&5
8960 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8961 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8963 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8964 lt_cv_apple_cc_single_mod=yes
8966 cat conftest.err >&5
8968 rm -rf libconftest.dylib*
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8973 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8975 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8976 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8977 $as_echo_n "(cached
) " >&6
8979 lt_cv_ld_exported_symbols_list=no
8980 save_LDFLAGS=$LDFLAGS
8981 echo "_main
" > conftest.sym
8982 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8983 if test x$gcc_no_link = xyes; then
8984 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
8986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8987 /* end confdefs.h. */
8997 if ac_fn_c_try_link "$LINENO"; then :
8998 lt_cv_ld_exported_symbols_list=yes
9000 lt_cv_ld_exported_symbols_list=no
9002 rm -f core conftest.err conftest.$ac_objext \
9003 conftest$ac_exeext conftest.$ac_ext
9004 LDFLAGS="$save_LDFLAGS"
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
9008 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
9010 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
9011 if ${lt_cv_ld_force_load+:} false; then :
9012 $as_echo_n "(cached
) " >&6
9014 lt_cv_ld_force_load=no
9015 cat > conftest.c << _LT_EOF
9016 int forced_loaded() { return 2;}
9018 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
9019 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9020 echo "$AR cru libconftest.a conftest.o
" >&5
9021 $AR cru libconftest.a conftest.o 2>&5
9022 cat > conftest.c << _LT_EOF
9023 int main() { return 0;}
9025 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
9026 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9028 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
9029 lt_cv_ld_force_load=yes
9031 cat conftest.err >&5
9033 rm -f conftest.err libconftest.a conftest conftest.c
9034 rm -rf conftest.dSYM
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
9038 $as_echo "$lt_cv_ld_force_load" >&6; }
9039 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
9040 # build without first building modern cctools / linker.
9041 case $host_cpu-$host_os in
9042 *-rhapsody* | *-darwin1.[012])
9043 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9045 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9047 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
9048 # deployment target is forced to an earlier version.
9049 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
9050 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0-9]*)
9053 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9060 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9061 _lt_dar_single_mod='$single_module'
9063 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9064 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9066 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9068 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
9069 _lt_dsymutil='~$DSYMUTIL $lib || :'
9076 for ac_header in dlfcn.h
9078 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
9080 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
9081 cat >>confdefs.h <<_ACEOF
9082 #define HAVE_DLFCN_H 1
9104 # Check whether --enable-shared was given.
9105 if test "${enable_shared+set}" = set; then :
9106 enableval=$enable_shared; p=${PACKAGE-default}
9108 yes) enable_shared=yes ;;
9109 no) enable_shared=no ;;
9112 # Look at the argument we got. We use all the common list separators.
9113 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9114 for pkg in $enableval; do
9116 if test "X
$pkg" = "X
$p"; then
9135 # Check whether --enable-static was given.
9136 if test "${enable_static+set}" = set; then :
9137 enableval=$enable_static; p=${PACKAGE-default}
9139 yes) enable_static=yes ;;
9140 no) enable_static=no ;;
9143 # Look at the argument we got. We use all the common list separators.
9144 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9145 for pkg in $enableval; do
9147 if test "X
$pkg" = "X
$p"; then
9167 # Check whether --with-pic was given.
9168 if test "${with_pic+set}" = set; then :
9169 withval=$with_pic; pic_mode="$withval"
9175 test -z "$pic_mode" && pic_mode=default
9183 # Check whether --enable-fast-install was given.
9184 if test "${enable_fast_install+set}" = set; then :
9185 enableval=$enable_fast_install; p=${PACKAGE-default}
9187 yes) enable_fast_install=yes ;;
9188 no) enable_fast_install=no ;;
9190 enable_fast_install=no
9191 # Look at the argument we got. We use all the common list separators.
9192 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9193 for pkg in $enableval; do
9195 if test "X
$pkg" = "X
$p"; then
9196 enable_fast_install=yes
9203 enable_fast_install=yes
9216 # This can be used to rebuild libtool when needed
9217 LIBTOOL_DEPS="$ltmain"
9219 # Always use our own libtool.
9220 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9247 test -z "$LN_S" && LN_S="ln -s"
9262 if test -n "${ZSH_VERSION+set}" ; then
9263 setopt NO_GLOB_SUBST
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
9267 $as_echo_n "checking
for objdir...
" >&6; }
9268 if ${lt_cv_objdir+:} false; then :
9269 $as_echo_n "(cached
) " >&6
9271 rm -f .libs 2>/dev/null
9272 mkdir .libs 2>/dev/null
9273 if test -d .libs; then
9276 # MS-DOS does not allow filenames that begin with a dot.
9279 rmdir .libs 2>/dev/null
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
9282 $as_echo "$lt_cv_objdir" >&6; }
9283 objdir=$lt_cv_objdir
9289 cat >>confdefs.h <<_ACEOF
9290 #define LT_OBJDIR "$lt_cv_objdir/"
9298 # AIX sometimes has problems with the GCC collect2 program. For some
9299 # reason, if we set the COLLECT_NAMES environment variable, the problems
9300 # vanish in a puff of smoke.
9301 if test "X
${COLLECT_NAMES+set}" != Xset; then
9303 export COLLECT_NAMES
9310 can_build_shared=yes
9312 # All known linkers require a `.a' archive for static linking (except MSVC,
9313 # which needs '.lib').
9316 with_gnu_ld="$lt_cv_prog_gnu_ld"
9319 old_CFLAGS="$CFLAGS"
9321 # Set sane defaults for various variables
9322 test -z "$CC" && CC=cc
9323 test -z "$LTCC" && LTCC=$CC
9324 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9325 test -z "$LD" && LD=ld
9326 test -z "$ac_objext" && ac_objext=o
9328 for cc_temp in $compiler""; do
9330 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9331 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9336 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
9339 # Only perform the check for file, if the check method requires it
9340 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9341 case $deplibs_check_method in
9343 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
9345 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
9346 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9347 $as_echo_n "(cached
) " >&6
9351 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9354 lt_save_MAGIC_CMD="$MAGIC_CMD"
9355 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9356 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9357 for ac_dir in $ac_dummy; do
9359 test -z "$ac_dir" && ac_dir=.
9360 if test -f $ac_dir/${ac_tool_prefix}file; then
9361 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9362 if test -n "$file_magic_test_file"; then
9363 case $deplibs_check_method in
9365 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9366 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9367 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9368 $EGREP "$file_magic_regex" > /dev/null; then
9373 *** Warning: the command libtool uses to detect shared libraries,
9374 *** $file_magic_cmd, produces output that libtool cannot recognize.
9375 *** The result is that libtool may fail to recognize shared libraries
9376 *** as such. This will affect the creation of libtool libraries that
9377 *** depend on shared libraries, but programs linked with such libtool
9378 *** libraries will work regardless of this problem. Nevertheless, you
9379 *** may want to report the problem to your system manager and/or to
9380 *** bug-libtool@gnu.org
9390 MAGIC_CMD="$lt_save_MAGIC_CMD"
9395 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9396 if test -n "$MAGIC_CMD"; then
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9398 $as_echo "$MAGIC_CMD" >&6; }
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9401 $as_echo "no
" >&6; }
9408 if test -z "$lt_cv_path_MAGIC_CMD"; then
9409 if test -n "$ac_tool_prefix"; then
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
9411 $as_echo_n "checking
for file...
" >&6; }
9412 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9413 $as_echo_n "(cached
) " >&6
9417 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9420 lt_save_MAGIC_CMD="$MAGIC_CMD"
9421 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9422 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9423 for ac_dir in $ac_dummy; do
9425 test -z "$ac_dir" && ac_dir=.
9426 if test -f $ac_dir/file; then
9427 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9428 if test -n "$file_magic_test_file"; then
9429 case $deplibs_check_method in
9431 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9432 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9433 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9434 $EGREP "$file_magic_regex" > /dev/null; then
9439 *** Warning: the command libtool uses to detect shared libraries,
9440 *** $file_magic_cmd, produces output that libtool cannot recognize.
9441 *** The result is that libtool may fail to recognize shared libraries
9442 *** as such. This will affect the creation of libtool libraries that
9443 *** depend on shared libraries, but programs linked with such libtool
9444 *** libraries will work regardless of this problem. Nevertheless, you
9445 *** may want to report the problem to your system manager and/or to
9446 *** bug-libtool@gnu.org
9456 MAGIC_CMD="$lt_save_MAGIC_CMD"
9461 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9462 if test -n "$MAGIC_CMD"; then
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9464 $as_echo "$MAGIC_CMD" >&6; }
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9467 $as_echo "no
" >&6; }
9480 # Use C for the default configuration in the libtool script
9484 ac_cpp='$CPP $CPPFLAGS'
9485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9490 # Source file extension for C test sources.
9493 # Object file extension for compiled C test sources.
9497 # Code to be used in simple compile tests
9498 lt_simple_compile_test_code="int some_variable
= 0;"
9500 # Code to be used in simple link tests
9501 lt_simple_link_test_code='int main(){return(0);}'
9509 # If no C compiler was specified, use CC.
9512 # If no C compiler flags were specified, use CFLAGS.
9513 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9515 # Allow CC to be a program name with arguments.
9518 # Save the default compiler, since it gets overwritten when the other
9519 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9520 compiler_DEFAULT=$CC
9522 # save warnings/boilerplate of simple test code
9523 ac_outfile=conftest.$ac_objext
9524 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9525 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9526 _lt_compiler_boilerplate=`cat conftest.err`
9529 ac_outfile=conftest.$ac_objext
9530 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9531 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9532 _lt_linker_boilerplate=`cat conftest.err`
9537 ## There is no encapsulation within the following macros, do not change
9538 ## the running order or otherwise move them around unless you know exactly
9539 ## what you are doing...
9540 if test -n "$compiler"; then
9542 lt_prog_compiler_no_builtin_flag=
9544 if test "$GCC" = yes; then
9545 case $cc_basename in
9547 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9549 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
9553 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
9554 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9555 $as_echo_n "(cached
) " >&6
9557 lt_cv_prog_compiler_rtti_exceptions=no
9558 ac_outfile=conftest.$ac_objext
9559 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9560 lt_compiler_flag="-fno-rtti -fno-exceptions"
9561 # Insert the option either (1) after the last *FLAGS variable, or
9562 # (2) before a word containing "conftest.
", or (3) at the end.
9563 # Note that $ac_compile itself does not contain backslashes and begins
9564 # with a dollar sign (not a hyphen), so the echo should work correctly.
9565 # The option is referenced via a variable to avoid confusing sed.
9566 lt_compile=`echo "$ac_compile" | $SED \
9567 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9568 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9569 -e 's:$: $lt_compiler_flag:'`
9570 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9571 (eval "$lt_compile" 2>conftest.err)
9573 cat conftest.err >&5
9574 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9575 if (exit $ac_status) && test -s "$ac_outfile"; then
9576 # The compiler can only warn and ignore the option if not recognized
9577 # So say no if there are warnings other than the usual output.
9578 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9579 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9580 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9581 lt_cv_prog_compiler_rtti_exceptions=yes
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
9588 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9590 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9591 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9603 lt_prog_compiler_wl=
9604 lt_prog_compiler_pic=
9605 lt_prog_compiler_static=
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
9608 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
9610 if test "$GCC" = yes; then
9611 lt_prog_compiler_wl='-Wl,'
9612 lt_prog_compiler_static='-static'
9616 # All AIX code is PIC.
9617 if test "$host_cpu" = ia64; then
9618 # AIX 5 now supports IA64 processor
9619 lt_prog_compiler_static='-Bstatic'
9621 lt_prog_compiler_pic='-fPIC'
9627 # see comment about AmigaOS4 .so support
9628 lt_prog_compiler_pic='-fPIC'
9631 # FIXME: we need at least 68020 code to build shared libraries, but
9632 # adding the `-m68020' flag to GCC prevents building anything better,
9634 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9639 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9640 # PIC is the default for these OSes.
9643 mingw* | cygwin* | pw32* | os2* | cegcc*)
9644 # This hack is so that the source file can tell whether it is being
9645 # built for inclusion in a dll (and should export symbols for example).
9646 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9647 # (--disable-auto-import) libraries
9648 lt_prog_compiler_pic='-DDLL_EXPORT'
9651 darwin* | rhapsody*)
9652 # PIC is the default on this platform
9653 # Common symbols not allowed in MH_DYLIB files
9654 lt_prog_compiler_pic='-fno-common'
9658 # PIC is the default for Haiku.
9659 # The "-static" flag exists, but is broken.
9660 lt_prog_compiler_static=
9664 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9665 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9666 # sets the default TLS model and affects inlining.
9672 lt_prog_compiler_pic='-fPIC'
9678 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9679 # Instead, we relocate shared libraries at runtime.
9683 # Just because we use GCC doesn't mean we suddenly get shared libraries
9684 # on systems that don't support them.
9685 lt_prog_compiler_can_build_shared=no
9690 # QNX uses GNU C++, but need to define -shared option too, otherwise
9692 lt_prog_compiler_pic='-fPIC -shared'
9696 if test -d /usr/nec; then
9697 lt_prog_compiler_pic=-Kconform_pic
9702 lt_prog_compiler_pic='-fPIC'
9706 case $cc_basename in
9707 nvcc*) # Cuda Compiler Driver 2.2
9708 lt_prog_compiler_wl='-Xlinker '
9709 lt_prog_compiler_pic='-Xcompiler -fPIC'
9713 # PORTME Check for flag to pass linker flags through the system compiler.
9716 lt_prog_compiler_wl='-Wl,'
9717 if test "$host_cpu" = ia64; then
9718 # AIX 5 now supports IA64 processor
9719 lt_prog_compiler_static='-Bstatic'
9721 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9725 mingw* | cygwin* | pw32* | os2* | cegcc*)
9726 # This hack is so that the source file can tell whether it is being
9727 # built for inclusion in a dll (and should export symbols for example).
9728 lt_prog_compiler_pic='-DDLL_EXPORT'
9731 hpux9* | hpux10* | hpux11*)
9732 lt_prog_compiler_wl='-Wl,'
9733 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9740 lt_prog_compiler_pic='+Z'
9743 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9744 lt_prog_compiler_static='${wl}-a ${wl}archive'
9747 irix5* | irix6* | nonstopux*)
9748 lt_prog_compiler_wl='-Wl,'
9749 # PIC (with -KPIC) is the default.
9750 lt_prog_compiler_static='-non_shared'
9753 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9754 case $cc_basename in
9755 # old Intel for x86_64 which still supported -KPIC.
9757 lt_prog_compiler_wl='-Wl,'
9758 lt_prog_compiler_pic='-KPIC'
9759 lt_prog_compiler_static='-static'
9761 # icc used to be incompatible with GCC.
9762 # ICC 10 doesn't accept -KPIC any more.
9764 lt_prog_compiler_wl='-Wl,'
9765 lt_prog_compiler_pic='-fPIC'
9766 lt_prog_compiler_static='-static'
9768 # Lahey Fortran 8.1.
9770 lt_prog_compiler_wl='-Wl,'
9771 lt_prog_compiler_pic='--shared'
9772 lt_prog_compiler_static='--static'
9774 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9775 # Portland Group compilers (*not* the Pentium gcc compiler,
9776 # which looks to be a dead project)
9777 lt_prog_compiler_wl='-Wl,'
9778 lt_prog_compiler_pic='-fpic'
9779 lt_prog_compiler_static='-Bstatic'
9782 lt_prog_compiler_wl='-Wl,'
9783 # All Alpha code is PIC.
9784 lt_prog_compiler_static='-non_shared'
9786 xl* | bgxl* | bgf* | mpixl*)
9787 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9788 lt_prog_compiler_wl='-Wl,'
9789 lt_prog_compiler_pic='-qpic'
9790 lt_prog_compiler_static='-qstaticlink'
9793 case `$CC -V 2>&1 | sed 5q` in
9794 *Sun\ F* | *Sun*Fortran*)
9795 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9796 lt_prog_compiler_pic='-KPIC'
9797 lt_prog_compiler_static='-Bstatic'
9798 lt_prog_compiler_wl=''
9802 lt_prog_compiler_pic='-KPIC'
9803 lt_prog_compiler_static='-Bstatic'
9804 lt_prog_compiler_wl='-Wl,'
9812 lt_prog_compiler_pic='-KPIC'
9813 lt_prog_compiler_static='-Bstatic'
9817 # QNX uses GNU C++, but need to define -shared option too, otherwise
9819 lt_prog_compiler_pic='-fPIC -shared'
9822 osf3* | osf4* | osf5*)
9823 lt_prog_compiler_wl='-Wl,'
9824 # All OSF/1 code is PIC.
9825 lt_prog_compiler_static='-non_shared'
9829 lt_prog_compiler_static='-non_shared'
9833 lt_prog_compiler_pic='-KPIC'
9834 lt_prog_compiler_static='-Bstatic'
9835 case $cc_basename in
9837 lt_prog_compiler_wl='-Qoption ld ';;
9839 lt_prog_compiler_wl='-Wl,';;
9844 lt_prog_compiler_wl='-Qoption ld '
9845 lt_prog_compiler_pic='-PIC'
9846 lt_prog_compiler_static='-Bstatic'
9849 sysv4 | sysv4.2uw2* | sysv4.3*)
9850 lt_prog_compiler_wl='-Wl,'
9851 lt_prog_compiler_pic='-KPIC'
9852 lt_prog_compiler_static='-Bstatic'
9856 if test -d /usr/nec ;then
9857 lt_prog_compiler_pic='-Kconform_pic'
9858 lt_prog_compiler_static='-Bstatic'
9862 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9863 lt_prog_compiler_wl='-Wl,'
9864 lt_prog_compiler_pic='-KPIC'
9865 lt_prog_compiler_static='-Bstatic'
9869 lt_prog_compiler_wl='-Wl,'
9870 lt_prog_compiler_can_build_shared=no
9874 lt_prog_compiler_pic='-pic'
9875 lt_prog_compiler_static='-Bstatic'
9879 lt_prog_compiler_can_build_shared=no
9885 # For platforms which do not support PIC, -DPIC is meaningless:
9887 lt_prog_compiler_pic=
9890 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
9894 $as_echo "$lt_prog_compiler_pic" >&6; }
9902 # Check to make sure the PIC flag actually works.
9904 if test -n "$lt_prog_compiler_pic"; then
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
9906 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
9907 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9908 $as_echo_n "(cached
) " >&6
9910 lt_cv_prog_compiler_pic_works=no
9911 ac_outfile=conftest.$ac_objext
9912 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9913 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9914 # Insert the option either (1) after the last *FLAGS variable, or
9915 # (2) before a word containing "conftest.
", or (3) at the end.
9916 # Note that $ac_compile itself does not contain backslashes and begins
9917 # with a dollar sign (not a hyphen), so the echo should work correctly.
9918 # The option is referenced via a variable to avoid confusing sed.
9919 lt_compile=`echo "$ac_compile" | $SED \
9920 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9921 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9922 -e 's:$: $lt_compiler_flag:'`
9923 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9924 (eval "$lt_compile" 2>conftest.err)
9926 cat conftest.err >&5
9927 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9928 if (exit $ac_status) && test -s "$ac_outfile"; then
9929 # The compiler can only warn and ignore the option if not recognized
9930 # So say no if there are warnings other than the usual output.
9931 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9932 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9933 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9934 lt_cv_prog_compiler_pic_works=yes
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9941 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9943 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9944 case $lt_prog_compiler_pic in
9946 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9949 lt_prog_compiler_pic=
9950 lt_prog_compiler_can_build_shared=no
9961 # Check to make sure the static flag actually works.
9963 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9965 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9966 if ${lt_cv_prog_compiler_static_works+:} false; then :
9967 $as_echo_n "(cached
) " >&6
9969 lt_cv_prog_compiler_static_works=no
9970 save_LDFLAGS="$LDFLAGS"
9971 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9972 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9973 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9974 # The linker can only warn and ignore the option if not recognized
9975 # So say no if there are warnings
9976 if test -s conftest.err; then
9977 # Append any errors to the config.log.
9978 cat conftest.err 1>&5
9979 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9980 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9981 if diff conftest.exp conftest.er2 >/dev/null; then
9982 lt_cv_prog_compiler_static_works=yes
9985 lt_cv_prog_compiler_static_works=yes
9989 LDFLAGS="$save_LDFLAGS"
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9993 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9995 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9998 lt_prog_compiler_static=
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
10008 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
10009 if ${lt_cv_prog_compiler_c_o+:} false; then :
10010 $as_echo_n "(cached
) " >&6
10012 lt_cv_prog_compiler_c_o=no
10013 $RM -r conftest 2>/dev/null
10017 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10019 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
10020 # Insert the option either (1) after the last *FLAGS variable, or
10021 # (2) before a word containing "conftest.
", or (3) at the end.
10022 # Note that $ac_compile itself does not contain backslashes and begins
10023 # with a dollar sign (not a hyphen), so the echo should work correctly.
10024 lt_compile=`echo "$ac_compile" | $SED \
10025 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10026 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10027 -e 's:$: $lt_compiler_flag:'`
10028 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10029 (eval "$lt_compile" 2>out/conftest.err)
10031 cat out/conftest.err >&5
10032 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10033 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10035 # The compiler can only warn and ignore the option if not recognized
10036 # So say no if there are warnings
10037 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10038 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10039 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10040 lt_cv_prog_compiler_c_o=yes
10045 # SGI C++ compiler will create directory out/ii_files/ for
10046 # template instantiation
10047 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10048 $RM out/* && rmdir out
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
10055 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
10063 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
10064 if ${lt_cv_prog_compiler_c_o+:} false; then :
10065 $as_echo_n "(cached
) " >&6
10067 lt_cv_prog_compiler_c_o=no
10068 $RM -r conftest 2>/dev/null
10072 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10074 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
10075 # Insert the option either (1) after the last *FLAGS variable, or
10076 # (2) before a word containing "conftest.
", or (3) at the end.
10077 # Note that $ac_compile itself does not contain backslashes and begins
10078 # with a dollar sign (not a hyphen), so the echo should work correctly.
10079 lt_compile=`echo "$ac_compile" | $SED \
10080 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10081 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10082 -e 's:$: $lt_compiler_flag:'`
10083 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10084 (eval "$lt_compile" 2>out/conftest.err)
10086 cat out/conftest.err >&5
10087 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10088 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10090 # The compiler can only warn and ignore the option if not recognized
10091 # So say no if there are warnings
10092 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10093 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10094 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10095 lt_cv_prog_compiler_c_o=yes
10100 # SGI C++ compiler will create directory out/ii_files/ for
10101 # template instantiation
10102 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10103 $RM out/* && rmdir out
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
10110 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10115 hard_links="nottested
"
10116 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10117 # do not overwrite the value of need_locks provided by the user
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
10119 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
10122 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10124 ln conftest.a conftest.b 2>&5 || hard_links=no
10125 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
10127 $as_echo "$hard_links" >&6; }
10128 if test "$hard_links" = no; then
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
10130 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
10143 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
10146 allow_undefined_flag=
10147 always_export_symbols=no
10149 archive_expsym_cmds=
10150 compiler_needs_object=no
10151 enable_shared_with_static_runtimes=no
10152 export_dynamic_flag_spec=
10153 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10154 hardcode_automatic=no
10156 hardcode_direct_absolute=no
10157 hardcode_libdir_flag_spec=
10158 hardcode_libdir_flag_spec_ld=
10159 hardcode_libdir_separator=
10160 hardcode_minus_L=no
10161 hardcode_shlibpath_var=unsupported
10163 link_all_deplibs=unknown
10165 module_expsym_cmds=
10166 old_archive_from_new_cmds=
10167 old_archive_from_expsyms_cmds=
10168 thread_safe_flag_spec=
10169 whole_archive_flag_spec=
10170 # include_expsyms should be a list of space-separated symbols to be *always*
10171 # included in the symbol list
10173 # exclude_expsyms can be an extended regexp of symbols to exclude
10174 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10175 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10176 # as well as any symbol that contains `d'.
10177 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10178 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10179 # platforms (ab)use it in PIC code, but their linkers get confused if
10180 # the symbol is explicitly referenced. Since portable code cannot
10181 # rely on this symbol name, it's probably fine to never include it in
10182 # preloaded symbol tables.
10183 # Exclude shared library initialization/finalization symbols.
10184 extract_expsyms_cmds=
10187 cygwin* | mingw* | pw32* | cegcc*)
10188 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10189 # When not using gcc, we currently assume that we are using
10190 # Microsoft Visual C++.
10191 if test "$GCC" != yes; then
10196 # we just hope/assume this is gcc and not c89 (= MSVC++)
10206 # On some targets, GNU ld is compatible enough with the native linker
10207 # that we're better off using the native interface for both.
10208 lt_use_gnu_ld_interface=no
10209 if test "$with_gnu_ld" = yes; then
10212 # The AIX port of GNU ld has always aspired to compatibility
10213 # with the native linker. However, as the warning in the GNU ld
10214 # block says, versions before 2.19.5* couldn't really create working
10215 # shared libraries, regardless of the interface used.
10216 case `$LD -v 2>&1` in
10217 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10218 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10219 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10221 lt_use_gnu_ld_interface=yes
10226 lt_use_gnu_ld_interface=yes
10231 if test "$lt_use_gnu_ld_interface" = yes; then
10232 # If archive_cmds runs LD, not CC, wlarc should be empty
10235 # Set some defaults for GNU ld with shared library support. These
10236 # are reset later if shared libraries are not supported. Putting them
10237 # here allows them to be overridden if necessary.
10238 runpath_var=LD_RUN_PATH
10239 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10240 export_dynamic_flag_spec='${wl}--export-dynamic'
10241 # ancient GNU ld didn't support --whole-archive et. al.
10242 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10243 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10245 whole_archive_flag_spec=
10247 supports_anon_versioning=no
10248 case `$LD -v 2>&1` in
10249 *GNU\ gold*) supports_anon_versioning=yes ;;
10250 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10251 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10252 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10253 *\ 2.11.*) ;; # other 2.11 versions
10254 *) supports_anon_versioning=yes ;;
10257 # See if GNU ld supports shared libraries.
10260 # On AIX/PPC, the GNU linker is very broken
10261 if test "$host_cpu" != ia64; then
10265 *** Warning: the GNU linker, at least up to release 2.19, is reported
10266 *** to be unable to reliably create shared libraries on AIX.
10267 *** Therefore, libtool is disabling shared libraries support. If you
10268 *** really care for shared libraries, you may want to install binutils
10269 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10270 *** You will then need to restart the configuration process.
10279 # see comment about AmigaOS4 .so support
10280 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10281 archive_expsym_cmds=''
10284 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)'
10285 hardcode_libdir_flag_spec
='-L$libdir'
10286 hardcode_minus_L
=yes
10292 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10293 allow_undefined_flag
=unsupported
10294 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10295 # support --undefined. This deserves some investigation. FIXME
10296 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10302 cygwin
* | mingw
* | pw32
* | cegcc
*)
10303 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10304 # as there is no search path for DLLs.
10305 hardcode_libdir_flag_spec
='-L$libdir'
10306 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10307 allow_undefined_flag
=unsupported
10308 always_export_symbols
=no
10309 enable_shared_with_static_runtimes
=yes
10310 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10312 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10313 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10314 # If the export-symbols file already is a .def file (1st line
10315 # is EXPORTS), use it as is; otherwise, prepend...
10316 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10317 cp $export_symbols $output_objdir/$soname.def;
10319 echo EXPORTS > $output_objdir/$soname.def;
10320 cat $export_symbols >> $output_objdir/$soname.def;
10322 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10329 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10330 link_all_deplibs
=yes
10335 hardcode_shlibpath_var
=no
10336 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10337 export_dynamic_flag_spec
='${wl}-E'
10338 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10339 # Instead, shared libraries are loaded at an image base (0x10000000 by
10340 # default) and relocated if they conflict, which is a slow very memory
10341 # consuming and fragmenting process. To avoid this, we pick a random,
10342 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10343 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10344 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10345 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'
10348 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
10350 if test "$host_os" = linux-dietlibc
; then
10351 case $cc_basename in
10352 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10355 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10356 && test "$tmp_diet" = no
10358 tmp_addflag
=' $pic_flag'
10359 tmp_sharedflag
='-shared'
10360 case $cc_basename,$host_cpu in
10361 pgcc
*) # Portland Group C compiler
10362 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'
10363 tmp_addflag
=' $pic_flag'
10365 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10366 # Portland Group f77 and f90 compilers
10367 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'
10368 tmp_addflag
=' $pic_flag -Mnomain' ;;
10369 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10370 tmp_addflag
=' -i_dynamic' ;;
10371 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10372 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10373 ifc
* | ifort
*) # Intel Fortran compiler
10374 tmp_addflag
=' -nofor_main' ;;
10375 lf95
*) # Lahey Fortran 8.1
10376 whole_archive_flag_spec
=
10377 tmp_sharedflag
='--shared' ;;
10378 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10379 tmp_sharedflag
='-qmkshrobj'
10381 nvcc
*) # Cuda Compiler Driver 2.2
10382 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'
10383 compiler_needs_object
=yes
10386 case `$CC -V 2>&1 | sed 5q` in
10387 *Sun\ C
*) # Sun C 5.9
10388 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'
10389 compiler_needs_object
=yes
10390 tmp_sharedflag
='-G' ;;
10391 *Sun\ F
*) # Sun Fortran 8.3
10392 tmp_sharedflag
='-G' ;;
10394 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10396 if test "x$supports_anon_versioning" = xyes
; then
10397 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10398 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10399 echo "local: *; };" >> $output_objdir/$libname.ver~
10400 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10403 case $cc_basename in
10404 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10405 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10406 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10407 hardcode_libdir_flag_spec
=
10408 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10409 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10410 if test "x$supports_anon_versioning" = xyes
; then
10411 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10412 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10413 echo "local: *; };" >> $output_objdir/$libname.ver~
10414 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10424 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10425 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10428 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10429 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10434 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10438 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10439 *** create shared libraries on Solaris systems. Therefore, libtool
10440 *** is disabling shared libraries support. We urge you to upgrade GNU
10441 *** binutils to release 2.9.1 or newer. Another option is to modify
10442 *** your PATH or compiler configuration so that the native linker is
10443 *** used, and then restart.
10446 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10447 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10448 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10454 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10455 case `$LD -v 2>&1` in
10456 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10460 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10461 *** reliably create shared libraries on SCO systems. Therefore, libtool
10462 *** is disabling shared libraries support. We urge you to upgrade GNU
10463 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10464 *** your PATH or compiler configuration so that the native linker is
10465 *** used, and then restart.
10470 # For security reasons, it is highly recommended that you always
10471 # use absolute paths for naming shared libraries, and exclude the
10472 # DT_RUNPATH tag from executables and libraries. But doing so
10473 # requires that you compile everything twice, which is a pain.
10474 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10475 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10476 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10477 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10486 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10488 hardcode_direct
=yes
10489 hardcode_shlibpath_var
=no
10493 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10494 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10495 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10502 if test "$ld_shlibs" = no
; then
10504 hardcode_libdir_flag_spec
=
10505 export_dynamic_flag_spec
=
10506 whole_archive_flag_spec
=
10509 # PORTME fill in a description of your system's linker (not GNU ld)
10512 allow_undefined_flag
=unsupported
10513 always_export_symbols
=yes
10514 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'
10515 # Note: this linker hardcodes the directories in LIBPATH if there
10516 # are no directories specified by -L.
10517 hardcode_minus_L
=yes
10518 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10519 # Neither direct hardcoding nor static linking is supported with a
10521 hardcode_direct
=unsupported
10526 if test "$host_cpu" = ia64
; then
10527 # On IA64, the linker does run time linking by default, so we don't
10528 # have to do anything special.
10529 aix_use_runtimelinking
=no
10530 exp_sym_flag
='-Bexport'
10533 # If we're using GNU nm, then we don't want the "-C" option.
10534 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10535 # Also, AIX nm treats weak defined symbols like other global
10536 # defined symbols, whereas GNU nm marks them as "W".
10537 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10538 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'
10540 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'
10542 aix_use_runtimelinking
=no
10544 # Test if we are trying to use run time linking or normal
10545 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10546 # need to do runtime linking.
10547 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10548 for ld_flag
in $LDFLAGS; do
10549 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10550 aix_use_runtimelinking
=yes
10557 exp_sym_flag
='-bexport'
10558 no_entry_flag
='-bnoentry'
10561 # When large executables or shared objects are built, AIX ld can
10562 # have problems creating the table of contents. If linking a library
10563 # or program results in "error TOC overflow" add -mminimal-toc to
10564 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10565 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10568 hardcode_direct
=yes
10569 hardcode_direct_absolute
=yes
10570 hardcode_libdir_separator
=':'
10571 link_all_deplibs
=yes
10572 file_list_spec
='${wl}-f,'
10574 if test "$GCC" = yes; then
10575 case $host_os in aix4.
[012]|aix4.
[012].
*)
10576 # We only want to do this on AIX 4.2 and lower, the check
10577 # below for broken collect2 doesn't work under 4.3+
10578 collect2name
=`${CC} -print-prog-name=collect2`
10579 if test -f "$collect2name" &&
10580 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10582 # We have reworked collect2
10585 # We have old collect2
10586 hardcode_direct
=unsupported
10587 # It fails to find uninstalled libraries when the uninstalled
10588 # path is not listed in the libpath. Setting hardcode_minus_L
10589 # to unsupported forces relinking
10590 hardcode_minus_L
=yes
10591 hardcode_libdir_flag_spec
='-L$libdir'
10592 hardcode_libdir_separator
=
10596 shared_flag
='-shared'
10597 if test "$aix_use_runtimelinking" = yes; then
10598 shared_flag
="$shared_flag "'${wl}-G'
10602 if test "$host_cpu" = ia64
; then
10603 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10604 # chokes on -Wl,-G. The following line is correct:
10607 if test "$aix_use_runtimelinking" = yes; then
10608 shared_flag
='${wl}-G'
10610 shared_flag
='${wl}-bM:SRE'
10615 export_dynamic_flag_spec
='${wl}-bexpall'
10616 # It seems that -bexpall does not export symbols beginning with
10617 # underscore (_), so it is better to generate a list of symbols to export.
10618 always_export_symbols
=yes
10619 if test "$aix_use_runtimelinking" = yes; then
10620 # Warning - without using the other runtime loading flags (-brtl),
10621 # -berok will link without error, but may produce a broken library.
10622 allow_undefined_flag
='-berok'
10623 # Determine the default libpath from the value encoded in an
10624 # empty executable.
10625 if test x
$gcc_no_link = xyes
; then
10626 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10629 /* end confdefs.h. */
10639 if ac_fn_c_try_link
"$LINENO"; then :
10641 lt_aix_libpath_sed
='
10642 /Import File Strings/,/^$/ {
10648 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10649 # Check for a 64-bit object if we didn't find anything.
10650 if test -z "$aix_libpath"; then
10651 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10654 rm -f core conftest.err conftest.
$ac_objext \
10655 conftest
$ac_exeext conftest.
$ac_ext
10656 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10658 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10659 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"
10661 if test "$host_cpu" = ia64
; then
10662 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10663 allow_undefined_flag
="-z nodefs"
10664 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"
10666 # Determine the default libpath from the value encoded in an
10667 # empty executable.
10668 if test x
$gcc_no_link = xyes
; then
10669 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10672 /* end confdefs.h. */
10682 if ac_fn_c_try_link
"$LINENO"; then :
10684 lt_aix_libpath_sed
='
10685 /Import File Strings/,/^$/ {
10691 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10692 # Check for a 64-bit object if we didn't find anything.
10693 if test -z "$aix_libpath"; then
10694 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10697 rm -f core conftest.err conftest.
$ac_objext \
10698 conftest
$ac_exeext conftest.
$ac_ext
10699 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10701 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10702 # Warning - without using the other run time loading flags,
10703 # -berok will link without error, but may produce a broken library.
10704 no_undefined_flag
=' ${wl}-bernotok'
10705 allow_undefined_flag
=' ${wl}-berok'
10706 if test "$with_gnu_ld" = yes; then
10707 # We only use this code for GNU lds that support --whole-archive.
10708 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10710 # Exported symbols can be pulled into shared objects from archives
10711 whole_archive_flag_spec
='$convenience'
10713 archive_cmds_need_lc
=yes
10714 # This is similar to how AIX traditionally builds its shared libraries.
10715 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'
10723 # see comment about AmigaOS4 .so support
10724 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10725 archive_expsym_cmds
=''
10728 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)'
10729 hardcode_libdir_flag_spec
='-L$libdir'
10730 hardcode_minus_L
=yes
10736 export_dynamic_flag_spec
=-rdynamic
10739 cygwin
* | mingw
* | pw32
* | cegcc
*)
10740 # When not using gcc, we currently assume that we are using
10741 # Microsoft Visual C++.
10742 # hardcode_libdir_flag_spec is actually meaningless, as there is
10743 # no search path for DLLs.
10744 hardcode_libdir_flag_spec
=' '
10745 allow_undefined_flag
=unsupported
10746 # Tell ltmain to make .lib files, not .a files.
10748 # Tell ltmain to make .dll files, not .so files.
10750 # FIXME: Setting linknames here is a bad hack.
10751 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10752 # The linker will automatically build a .lib file if we build a DLL.
10753 old_archive_from_new_cmds
='true'
10754 # FIXME: Should let the user specify the lib program.
10755 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10756 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10757 enable_shared_with_static_runtimes
=yes
10760 darwin
* | rhapsody
*)
10764 # Publish an arg to allow the user to select that Darwin host (and target)
10765 # libraries should be given install-names like @rpath/libfoo.dylib. This
10766 # requires that the user of the library then adds an 'rpath' to the DSO that
10768 # NOTE: there are defaults below, for systems that support rpaths. The person
10769 # configuring can override the defaults for any system version that supports
10770 # them - they are, however, forced off for system versions without support.
10771 # Check whether --enable-darwin-at-rpath was given.
10772 if test "${enable_darwin_at_rpath+set}" = set; then :
10773 enableval
=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
10774 # This is not supported before macOS 10.5 / Darwin9.
10775 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
10776 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
10778 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
10779 enable_darwin_at_rpath
=no
10784 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
10785 # As above, before 10.5 / Darwin9 this does not work.
10786 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
10787 enable_darwin_at_rpath
=no
10790 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
10791 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
10792 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
10793 UNSET
,darwin1
[5-9]*|UNSET
,darwin2
*|
10.1[1-9][,.
]*|
1[1-9].
*[,.
]* )
10794 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
10795 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
10796 enable_darwin_at_rpath
=yes
10798 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
10799 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
10806 archive_cmds_need_lc
=no
10808 hardcode_automatic
=yes
10809 hardcode_shlibpath_var
=unsupported
10810 if test "$lt_cv_ld_force_load" = "yes"; then
10811 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\"`'
10813 whole_archive_flag_spec
=''
10815 link_all_deplibs
=yes
10816 allow_undefined_flag
="$_lt_dar_allow_undefined"
10817 case $cc_basename in
10818 ifort
*) _lt_dar_can_shared
=yes ;;
10819 *) _lt_dar_can_shared
=$GCC ;;
10821 if test "$_lt_dar_can_shared" = "yes"; then
10822 output_verbose_link_cmd
=func_echo_all
10823 _lt_install_name
='\$rpath/\$soname'
10824 if test "x$enable_darwin_at_rpath" = "xyes"; then
10825 _lt_install_name
='@rpath/\$soname'
10827 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
10828 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10829 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}"
10830 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}"
10839 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10840 hardcode_libdir_flag_spec
='-L$libdir'
10841 hardcode_shlibpath_var
=no
10844 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10845 # support. Future versions do this automatically, but an explicit c++rt0.o
10846 # does not break anything, and helps significantly (at the cost of a little
10849 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10850 hardcode_libdir_flag_spec
='-R$libdir'
10851 hardcode_direct
=yes
10852 hardcode_shlibpath_var
=no
10855 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10857 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10858 hardcode_direct
=yes
10859 hardcode_minus_L
=yes
10860 hardcode_shlibpath_var
=no
10863 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10864 freebsd
* | dragonfly
*)
10865 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10866 hardcode_libdir_flag_spec
='-R$libdir'
10867 hardcode_direct
=yes
10868 hardcode_shlibpath_var
=no
10872 if test "$GCC" = yes; then
10873 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'
10875 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'
10877 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10878 hardcode_libdir_separator
=:
10879 hardcode_direct
=yes
10881 # hardcode_minus_L: Not really in the search PATH,
10882 # but as the default location of the library.
10883 hardcode_minus_L
=yes
10884 export_dynamic_flag_spec
='${wl}-E'
10888 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10889 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10891 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10893 if test "$with_gnu_ld" = no
; then
10894 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10895 hardcode_libdir_flag_spec_ld
='+b $libdir'
10896 hardcode_libdir_separator
=:
10897 hardcode_direct
=yes
10898 hardcode_direct_absolute
=yes
10899 export_dynamic_flag_spec
='${wl}-E'
10900 # hardcode_minus_L: Not really in the search PATH,
10901 # but as the default location of the library.
10902 hardcode_minus_L
=yes
10907 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10910 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10913 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10916 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10922 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10925 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10929 # Older versions of the 11.00 compiler do not understand -b yet
10930 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10932 $as_echo_n "checking if $CC understands -b... " >&6; }
10933 if ${lt_cv_prog_compiler__b+:} false
; then :
10934 $as_echo_n "(cached) " >&6
10936 lt_cv_prog_compiler__b
=no
10937 save_LDFLAGS
="$LDFLAGS"
10938 LDFLAGS
="$LDFLAGS -b"
10939 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10940 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10941 # The linker can only warn and ignore the option if not recognized
10942 # So say no if there are warnings
10943 if test -s conftest.err
; then
10944 # Append any errors to the config.log.
10945 cat conftest.err
1>&5
10946 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10947 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10948 if diff conftest.exp conftest.er2
>/dev
/null
; then
10949 lt_cv_prog_compiler__b
=yes
10952 lt_cv_prog_compiler__b
=yes
10956 LDFLAGS
="$save_LDFLAGS"
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10960 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10962 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10963 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10965 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10971 if test "$with_gnu_ld" = no
; then
10972 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10973 hardcode_libdir_separator
=:
10978 hardcode_shlibpath_var
=no
10981 hardcode_direct
=yes
10982 hardcode_direct_absolute
=yes
10983 export_dynamic_flag_spec
='${wl}-E'
10985 # hardcode_minus_L: Not really in the search PATH,
10986 # but as the default location of the library.
10987 hardcode_minus_L
=yes
10993 irix5
* | irix6
* | nonstopux
*)
10994 if test "$GCC" = yes; then
10995 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'
10996 # Try to use the -exported_symbol ld option, if it does not
10997 # work, assume that -exports_file does not work either and
10998 # implicitly export all symbols.
10999 save_LDFLAGS
="$LDFLAGS"
11000 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11001 if test x
$gcc_no_link = xyes
; then
11002 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11005 /* end confdefs.h. */
11008 if ac_fn_c_try_link
"$LINENO"; then :
11009 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'
11012 rm -f core conftest.err conftest.
$ac_objext \
11013 conftest
$ac_exeext conftest.
$ac_ext
11014 LDFLAGS
="$save_LDFLAGS"
11016 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'
11017 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'
11019 archive_cmds_need_lc
='no'
11020 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11021 hardcode_libdir_separator
=:
11023 link_all_deplibs
=yes
11027 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11028 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11030 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11032 hardcode_libdir_flag_spec
='-R$libdir'
11033 hardcode_direct
=yes
11034 hardcode_shlibpath_var
=no
11038 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11039 hardcode_direct
=yes
11040 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11041 hardcode_libdir_separator
=:
11042 hardcode_shlibpath_var
=no
11049 if test -f /usr
/libexec
/ld.so
; then
11050 hardcode_direct
=yes
11051 hardcode_shlibpath_var
=no
11052 hardcode_direct_absolute
=yes
11053 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11054 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11055 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11056 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11057 export_dynamic_flag_spec
='${wl}-E'
11060 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11061 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11062 hardcode_libdir_flag_spec
='-R$libdir'
11065 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11066 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11076 hardcode_libdir_flag_spec
='-L$libdir'
11077 hardcode_minus_L
=yes
11078 allow_undefined_flag
=unsupported
11079 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'
11080 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11084 if test "$GCC" = yes; then
11085 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11086 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'
11088 allow_undefined_flag
=' -expect_unresolved \*'
11089 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'
11091 archive_cmds_need_lc
='no'
11092 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11093 hardcode_libdir_separator
=:
11096 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11097 if test "$GCC" = yes; then
11098 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11099 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'
11100 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11102 allow_undefined_flag
=' -expect_unresolved \*'
11103 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'
11104 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~
11105 $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'
11107 # Both c and cxx compiler support -rpath directly
11108 hardcode_libdir_flag_spec
='-rpath $libdir'
11110 archive_cmds_need_lc
='no'
11111 hardcode_libdir_separator
=:
11115 no_undefined_flag
=' -z defs'
11116 if test "$GCC" = yes; then
11118 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11119 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11120 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11122 case `$CC -V 2>&1` in
11125 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11126 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11127 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11131 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11132 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11133 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11137 hardcode_libdir_flag_spec
='-R$libdir'
11138 hardcode_shlibpath_var
=no
11140 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11142 # The compiler driver will combine and reorder linker options,
11143 # but understands `-z linker_flag'. GCC discards it without `$wl',
11144 # but is careful enough not to reorder.
11145 # Supported since Solaris 2.6 (maybe 2.5.1?)
11146 if test "$GCC" = yes; then
11147 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11149 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11153 link_all_deplibs
=yes
11157 if test "x$host_vendor" = xsequent
; then
11158 # Use $CC to link under sequent, because it throws in some extra .o
11159 # files that make .init and .fini sections work.
11160 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11162 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11164 hardcode_libdir_flag_spec
='-L$libdir'
11165 hardcode_direct
=yes
11166 hardcode_minus_L
=yes
11167 hardcode_shlibpath_var
=no
11171 case $host_vendor in
11173 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11174 hardcode_direct
=yes # is this really true???
11177 ## LD is ld it makes a PLAMLIB
11178 ## CC just makes a GrossModule.
11179 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11180 reload_cmds
='$CC -r -o $output$reload_objs'
11184 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11185 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11188 runpath_var
='LD_RUN_PATH'
11189 hardcode_shlibpath_var
=no
11193 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11194 hardcode_shlibpath_var
=no
11195 export_dynamic_flag_spec
='-Bexport'
11199 if test -d /usr
/nec
; then
11200 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11201 hardcode_shlibpath_var
=no
11202 runpath_var
=LD_RUN_PATH
11203 hardcode_runpath_var
=yes
11208 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11209 no_undefined_flag
='${wl}-z,text'
11210 archive_cmds_need_lc
=no
11211 hardcode_shlibpath_var
=no
11212 runpath_var
='LD_RUN_PATH'
11214 if test "$GCC" = yes; then
11215 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11216 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11218 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11219 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11223 sysv5
* | sco3.2v5
* | sco5v6
*)
11224 # Note: We can NOT use -z defs as we might desire, because we do not
11225 # link with -lc, and that would cause any symbols used from libc to
11226 # always be unresolved, which means just about no library would
11227 # ever link correctly. If we're not using GNU ld we use -z text
11228 # though, which does catch some bad symbols but isn't as heavy-handed
11230 no_undefined_flag
='${wl}-z,text'
11231 allow_undefined_flag
='${wl}-z,nodefs'
11232 archive_cmds_need_lc
=no
11233 hardcode_shlibpath_var
=no
11234 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11235 hardcode_libdir_separator
=':'
11236 link_all_deplibs
=yes
11237 export_dynamic_flag_spec
='${wl}-Bexport'
11238 runpath_var
='LD_RUN_PATH'
11240 if test "$GCC" = yes; then
11241 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11242 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11244 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11245 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11250 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11251 hardcode_libdir_flag_spec
='-L$libdir'
11252 hardcode_shlibpath_var
=no
11260 if test x
$host_vendor = xsni
; then
11262 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11263 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11270 $as_echo "$ld_shlibs" >&6; }
11271 test "$ld_shlibs" = no
&& can_build_shared
=no
11273 with_gnu_ld
=$with_gnu_ld
11290 # Do we need to explicitly link libc?
11292 case "x$archive_cmds_need_lc" in
11294 # Assume -lc should be added
11295 archive_cmds_need_lc
=yes
11297 if test "$enable_shared" = yes && test "$GCC" = yes; then
11298 case $archive_cmds in
11300 # FIXME: we may have to deal with multi-command sequences.
11303 # Test whether the compiler implicitly links with -lc since on some
11304 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11305 # to ld, don't add -lc before -lgcc.
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11307 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11308 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11309 $as_echo_n "(cached) " >&6
11312 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11314 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11315 (eval $ac_compile) 2>&5
11317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11318 test $ac_status = 0; } 2>conftest.err
; then
11321 libobjs
=conftest.
$ac_objext
11323 wl
=$lt_prog_compiler_wl
11324 pic_flag
=$lt_prog_compiler_pic
11330 lt_save_allow_undefined_flag
=$allow_undefined_flag
11331 allow_undefined_flag
=
11332 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11333 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11336 test $ac_status = 0; }
11338 lt_cv_archive_cmds_need_lc
=no
11340 lt_cv_archive_cmds_need_lc
=yes
11342 allow_undefined_flag
=$lt_save_allow_undefined_flag
11344 cat conftest.err
1>&5
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11350 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11351 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11515 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11517 if test "$GCC" = yes; then
11519 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11520 *) lt_awk_arg
="/^libraries:/" ;;
11523 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11524 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11526 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11527 case $lt_search_path_spec in
11529 # if the path contains ";" then we assume it to be the separator
11530 # otherwise default to the standard path separator (i.e. ":") - it is
11531 # assumed that no part of a normal pathname contains ";" but that should
11532 # okay in the real world where ";" in dirpaths is itself problematic.
11533 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11536 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11539 # Ok, now we have the path, separated by spaces, we can step through it
11540 # and add multilib dir if necessary.
11541 lt_tmp_lt_search_path_spec
=
11542 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11543 for lt_sys_path
in $lt_search_path_spec; do
11544 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11545 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11547 test -d "$lt_sys_path" && \
11548 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11551 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11552 BEGIN {RS=" "; FS="/|\n";} {
11555 for (lt_i = NF; lt_i > 0; lt_i--) {
11556 if ($lt_i != "" && $lt_i != ".") {
11557 if ($lt_i == "..") {
11560 if (lt_count == 0) {
11561 lt_foo="/" $lt_i lt_foo;
11568 if (lt_foo != "") { lt_freq[lt_foo]++; }
11569 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11571 # AWK program above erroneously prepends '/' to C:/dos/paths
11574 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11575 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11577 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11579 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11581 library_names_spec
=
11582 libname_spec
='lib$name'
11586 postuninstall_cmds
=
11590 shlibpath_overrides_runpath
=unknown
11592 dynamic_linker
="$host_os ld.so"
11593 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11594 need_lib_prefix
=unknown
11595 hardcode_into_libs
=no
11597 # when you set need_version to no, make sure it does not cause -set_version
11598 # flags to be left without arguments
11599 need_version
=unknown
11604 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11605 shlibpath_var
=LIBPATH
11607 # AIX 3 has no versioning support, so we append a major version to the name.
11608 soname_spec
='${libname}${release}${shared_ext}$major'
11615 hardcode_into_libs
=yes
11616 if test "$host_cpu" = ia64
; then
11617 # AIX 5 supports IA64
11618 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11619 shlibpath_var
=LD_LIBRARY_PATH
11621 # With GCC up to 2.95.x, collect2 would create an import file
11622 # for dependence libraries. The import file would start with
11623 # the line `#! .'. This would cause the generated library to
11624 # depend on `.', always an invalid library. This was fixed in
11625 # development snapshots of GCC prior to 3.0.
11627 aix4 | aix4.
[01] | aix4.
[01].
*)
11628 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11630 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11633 can_build_shared
=no
11637 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11638 # soname into executable. Probably we can add versioning support to
11639 # collect2, so additional links can be useful in future.
11640 if test "$aix_use_runtimelinking" = yes; then
11641 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11642 # instead of lib<name>.a to let people know that these are not
11643 # typical AIX shared libraries.
11644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11646 # We preserve .a as extension for shared libraries through AIX4.2
11647 # and later when we are not doing run time linking.
11648 library_names_spec
='${libname}${release}.a $libname.a'
11649 soname_spec
='${libname}${release}${shared_ext}$major'
11651 shlibpath_var
=LIBPATH
11658 # Since July 2007 AmigaOS4 officially supports .so libraries.
11659 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11660 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11663 library_names_spec
='$libname.ixlibrary $libname.a'
11664 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11665 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'
11671 library_names_spec
='${libname}${shared_ext}'
11672 dynamic_linker
="$host_os ld.so"
11673 shlibpath_var
=LIBRARY_PATH
11679 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11680 soname_spec
='${libname}${release}${shared_ext}$major'
11681 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11682 shlibpath_var
=LD_LIBRARY_PATH
11683 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11684 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11685 # the default ld.so.conf also contains /usr/contrib/lib and
11686 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11687 # libtool to hard-code these into programs
11690 cygwin
* | mingw
* | pw32
* | cegcc
*)
11691 version_type
=windows
11696 case $GCC,$host_os in
11697 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11698 library_names_spec
='$libname.dll.a'
11699 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11700 postinstall_cmds
='base_file=`basename \${file}`~
11701 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11702 dldir=$destdir/`dirname \$dlpath`~
11703 test -d \$dldir || mkdir -p \$dldir~
11704 $install_prog $dir/$dlname \$dldir/$dlname~
11705 chmod a+x \$dldir/$dlname~
11706 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11707 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11709 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11710 dlpath=$dir/\$dldll~
11712 shlibpath_overrides_runpath
=yes
11716 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11717 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11719 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11722 # MinGW DLLs use traditional 'lib' prefix
11723 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11726 # pw32 DLLs use 'pw' prefix rather than 'lib'
11727 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11733 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11736 dynamic_linker
='Win32 ld.exe'
11737 # FIXME: first we should search . and the directory the executable is in
11741 darwin
* | rhapsody
*)
11742 dynamic_linker
="$host_os dyld"
11743 version_type
=darwin
11746 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11747 soname_spec
='${libname}${release}${major}$shared_ext'
11748 shlibpath_overrides_runpath
=yes
11749 shlibpath_var
=DYLD_LIBRARY_PATH
11750 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11752 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11753 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11760 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11761 soname_spec
='${libname}${release}${shared_ext}$major'
11762 shlibpath_var
=LD_LIBRARY_PATH
11765 freebsd
* | dragonfly
*)
11766 # DragonFly does not have aout. When/if they implement a new
11767 # versioning mechanism, adjust this.
11768 if test -x /usr
/bin
/objformat
; then
11769 objformat
=`/usr/bin/objformat`
11772 freebsd
[23].
*) objformat
=aout
;;
11773 *) objformat
=elf
;;
11776 version_type
=freebsd-
$objformat
11777 case $version_type in
11779 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11784 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11788 shlibpath_var
=LD_LIBRARY_PATH
11791 shlibpath_overrides_runpath
=yes
11793 freebsd3.
[01]* | freebsdelf3.
[01]*)
11794 shlibpath_overrides_runpath
=yes
11795 hardcode_into_libs
=yes
11797 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11798 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11799 shlibpath_overrides_runpath
=no
11800 hardcode_into_libs
=yes
11802 *) # from 4.6 on, and DragonFly
11803 shlibpath_overrides_runpath
=yes
11804 hardcode_into_libs
=yes
11813 dynamic_linker
="$host_os runtime_loader"
11814 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11815 soname_spec
='${libname}${release}${shared_ext}$major'
11816 shlibpath_var
=LIBRARY_PATH
11817 shlibpath_overrides_runpath
=yes
11818 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11819 hardcode_into_libs
=yes
11822 hpux9
* | hpux10
* | hpux11
*)
11823 # Give a soname corresponding to the major version so that dld.sl refuses to
11824 # link against other versions.
11831 hardcode_into_libs
=yes
11832 dynamic_linker
="$host_os dld.so"
11833 shlibpath_var
=LD_LIBRARY_PATH
11834 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11835 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11836 soname_spec
='${libname}${release}${shared_ext}$major'
11837 if test "X$HPUX_IA64_MODE" = X32
; then
11838 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11840 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11842 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11846 hardcode_into_libs
=yes
11847 dynamic_linker
="$host_os dld.sl"
11848 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11849 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11850 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11851 soname_spec
='${libname}${release}${shared_ext}$major'
11852 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11853 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11857 dynamic_linker
="$host_os dld.sl"
11858 shlibpath_var
=SHLIB_PATH
11859 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11860 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11861 soname_spec
='${libname}${release}${shared_ext}$major'
11864 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11865 postinstall_cmds
='chmod 555 $lib'
11866 # or fails outright, so override atomically:
11867 install_override_mode
=555
11874 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11875 soname_spec
='${libname}${release}${shared_ext}$major'
11876 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11877 shlibpath_var
=LD_LIBRARY_PATH
11878 shlibpath_overrides_runpath
=no
11879 hardcode_into_libs
=yes
11882 irix5
* | irix6
* | nonstopux
*)
11884 nonstopux
*) version_type
=nonstopux
;;
11886 if test "$lt_cv_prog_gnu_ld" = yes; then
11894 soname_spec
='${libname}${release}${shared_ext}$major'
11895 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11897 irix5
* | nonstopux
*)
11898 libsuff
= shlibsuff
=
11901 case $LD in # libtool.m4 will add one of these switches to LD
11902 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11903 libsuff
= shlibsuff
= libmagic
=32-bit;;
11904 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11905 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11906 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11907 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11908 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11912 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11913 shlibpath_overrides_runpath
=no
11914 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11915 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11916 hardcode_into_libs
=yes
11919 # No shared lib support for Linux oldld, aout, or coff.
11920 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11924 # This must be Linux ELF.
11926 # uclinux* changes (here and below) have been submitted to the libtool
11927 # project, but have not yet been accepted: they are GCC-local changes
11928 # for the time being. (See
11929 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11930 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
11934 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11935 soname_spec
='${libname}${release}${shared_ext}$major'
11936 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11937 shlibpath_var
=LD_LIBRARY_PATH
11938 shlibpath_overrides_runpath
=no
11940 # Some binutils ld are patched to set DT_RUNPATH
11941 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11942 $as_echo_n "(cached) " >&6
11944 lt_cv_shlibpath_overrides_runpath
=no
11945 save_LDFLAGS
=$LDFLAGS
11946 save_libdir
=$libdir
11947 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11948 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11949 if test x
$gcc_no_link = xyes
; then
11950 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11953 /* end confdefs.h. */
11963 if ac_fn_c_try_link
"$LINENO"; then :
11964 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11965 lt_cv_shlibpath_overrides_runpath
=yes
11968 rm -f core conftest.err conftest.
$ac_objext \
11969 conftest
$ac_exeext conftest.
$ac_ext
11970 LDFLAGS
=$save_LDFLAGS
11971 libdir
=$save_libdir
11975 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11977 # This implies no fast_install, which is unacceptable.
11978 # Some rework will be needed to allow for fast_install
11979 # before this can be enabled.
11980 hardcode_into_libs
=yes
11982 # Append ld.so.conf contents to the search path
11983 if test -f /etc
/ld.so.conf
; then
11984 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' ' '`
11985 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11988 # We used to test for /lib/ld.so.1 and disable shared libraries on
11989 # powerpc, because MkLinux only supported shared libraries with the
11990 # GNU dynamic linker. Since this was broken with cross compilers,
11991 # most powerpc-linux boxes support dynamic linking these days and
11992 # people can always --disable-shared, the test was removed, and we
11993 # assume the GNU/Linux dynamic linker is in use.
11994 dynamic_linker
='GNU/Linux ld.so'
12001 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12002 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12003 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12004 dynamic_linker
='NetBSD (a.out) ld.so'
12006 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12007 soname_spec
='${libname}${release}${shared_ext}$major'
12008 dynamic_linker
='NetBSD ld.elf_so'
12010 shlibpath_var
=LD_LIBRARY_PATH
12011 shlibpath_overrides_runpath
=yes
12012 hardcode_into_libs
=yes
12017 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12018 shlibpath_var
=LD_LIBRARY_PATH
12019 shlibpath_overrides_runpath
=yes
12026 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12027 soname_spec
='${libname}${release}${shared_ext}$major'
12028 shlibpath_var
=LD_LIBRARY_PATH
12029 shlibpath_overrides_runpath
=no
12030 hardcode_into_libs
=yes
12031 dynamic_linker
='ldqnx.so'
12036 sys_lib_dlsearch_path_spec
="/usr/lib"
12038 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12040 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12041 *) need_version
=no
;;
12043 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12044 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12045 shlibpath_var
=LD_LIBRARY_PATH
12046 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12048 openbsd2.
[89] | openbsd2.
[89].
*)
12049 shlibpath_overrides_runpath
=no
12052 shlibpath_overrides_runpath
=yes
12056 shlibpath_overrides_runpath
=yes
12061 libname_spec
='$name'
12064 library_names_spec
='$libname${shared_ext} $libname.a'
12065 dynamic_linker
='OS/2 ld.exe'
12066 shlibpath_var
=LIBPATH
12069 osf3
* | osf4
* | osf5
*)
12073 soname_spec
='${libname}${release}${shared_ext}$major'
12074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12075 shlibpath_var
=LD_LIBRARY_PATH
12076 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12077 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12088 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12089 soname_spec
='${libname}${release}${shared_ext}$major'
12090 shlibpath_var
=LD_LIBRARY_PATH
12091 shlibpath_overrides_runpath
=yes
12092 hardcode_into_libs
=yes
12093 # ldd complains unless libraries are executable
12094 postinstall_cmds
='chmod +x $lib'
12099 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12100 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12101 shlibpath_var
=LD_LIBRARY_PATH
12102 shlibpath_overrides_runpath
=yes
12103 if test "$with_gnu_ld" = yes; then
12111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12112 soname_spec
='${libname}${release}${shared_ext}$major'
12113 shlibpath_var
=LD_LIBRARY_PATH
12114 case $host_vendor in
12116 shlibpath_overrides_runpath
=no
12118 runpath_var
=LD_RUN_PATH
12126 shlibpath_overrides_runpath
=no
12127 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12133 if test -d /usr
/nec
;then
12135 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12136 soname_spec
='$libname${shared_ext}.$major'
12137 shlibpath_var
=LD_LIBRARY_PATH
12141 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12142 version_type
=freebsd-elf
12145 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12146 soname_spec
='${libname}${release}${shared_ext}$major'
12147 shlibpath_var
=LD_LIBRARY_PATH
12148 shlibpath_overrides_runpath
=yes
12149 hardcode_into_libs
=yes
12150 if test "$with_gnu_ld" = yes; then
12151 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12153 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12156 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12160 sys_lib_dlsearch_path_spec
='/usr/lib'
12164 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12168 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12169 shlibpath_var
=LD_LIBRARY_PATH
12170 shlibpath_overrides_runpath
=no
12171 hardcode_into_libs
=yes
12176 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12177 soname_spec
='${libname}${release}${shared_ext}$major'
12178 shlibpath_var
=LD_LIBRARY_PATH
12181 # Shared libraries for VwWorks, >= 7 only at this stage
12182 # and (fpic) still incompatible with "large" code models
12183 # in a few configurations. Only for RTP mode in any case,
12184 # and upon explicit request at configure time.
12187 case ${with_multisubdir}-${enable_shared} in
12194 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12195 soname_spec
='${libname}${release}${shared_ext}$major'
12196 dynamic_linker
="$host_os module_loader"
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12205 $as_echo "$dynamic_linker" >&6; }
12206 test "$dynamic_linker" = no
&& can_build_shared
=no
12208 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12209 if test "$GCC" = yes; then
12210 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12213 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12214 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12216 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12217 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12312 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12314 if test -n "$hardcode_libdir_flag_spec" ||
12315 test -n "$runpath_var" ||
12316 test "X$hardcode_automatic" = "Xyes" ; then
12318 # We can hardcode non-existent directories.
12319 if test "$hardcode_direct" != no
&&
12320 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12321 # have to relink, otherwise we might link with an installed library
12322 # when we should be linking with a yet-to-be-installed one
12323 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12324 test "$hardcode_minus_L" != no
; then
12325 # Linking always hardcodes the temporary library directory.
12326 hardcode_action
=relink
12328 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12329 hardcode_action
=immediate
12332 # We cannot hardcode anything, or else we can only hardcode existing
12334 hardcode_action
=unsupported
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12337 $as_echo "$hardcode_action" >&6; }
12339 if test "$hardcode_action" = relink ||
12340 test "$inherit_rpath" = yes; then
12341 # Fast installation is not supported
12342 enable_fast_install
=no
12343 elif test "$shlibpath_overrides_runpath" = yes ||
12344 test "$enable_shared" = no
; then
12345 # Fast installation is not necessary
12346 enable_fast_install
=needless
12354 if test "x$enable_dlopen" != xyes
; then
12355 enable_dlopen
=unknown
12356 enable_dlopen_self
=unknown
12357 enable_dlopen_self_static
=unknown
12364 lt_cv_dlopen
="load_add_on"
12366 lt_cv_dlopen_self
=yes
12369 mingw
* | pw32
* | cegcc
*)
12370 lt_cv_dlopen
="LoadLibrary"
12375 lt_cv_dlopen
="dlopen"
12380 # if libdl is installed we need to link against it
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12382 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12383 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12384 $as_echo_n "(cached) " >&6
12386 ac_check_lib_save_LIBS
=$LIBS
12388 if test x
$gcc_no_link = xyes
; then
12389 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12392 /* end confdefs.h. */
12394 /* Override any GCC internal prototype to avoid an error.
12395 Use char because int might match the return type of a GCC
12396 builtin and then its argument prototype would still apply. */
12409 if ac_fn_c_try_link
"$LINENO"; then :
12410 ac_cv_lib_dl_dlopen
=yes
12412 ac_cv_lib_dl_dlopen
=no
12414 rm -f core conftest.err conftest.
$ac_objext \
12415 conftest
$ac_exeext conftest.
$ac_ext
12416 LIBS
=$ac_check_lib_save_LIBS
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12419 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12420 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12421 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12424 lt_cv_dlopen
="dyld"
12426 lt_cv_dlopen_self
=yes
12433 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12434 if test "x$ac_cv_func_shl_load" = xyes
; then :
12435 lt_cv_dlopen
="shl_load"
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12438 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12439 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12440 $as_echo_n "(cached) " >&6
12442 ac_check_lib_save_LIBS
=$LIBS
12444 if test x
$gcc_no_link = xyes
; then
12445 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12448 /* end confdefs.h. */
12450 /* Override any GCC internal prototype to avoid an error.
12451 Use char because int might match the return type of a GCC
12452 builtin and then its argument prototype would still apply. */
12460 return shl_load ();
12465 if ac_fn_c_try_link
"$LINENO"; then :
12466 ac_cv_lib_dld_shl_load
=yes
12468 ac_cv_lib_dld_shl_load
=no
12470 rm -f core conftest.err conftest.
$ac_objext \
12471 conftest
$ac_exeext conftest.
$ac_ext
12472 LIBS
=$ac_check_lib_save_LIBS
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12475 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12476 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12477 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12479 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12480 if test "x$ac_cv_func_dlopen" = xyes
; then :
12481 lt_cv_dlopen
="dlopen"
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12484 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12485 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12486 $as_echo_n "(cached) " >&6
12488 ac_check_lib_save_LIBS
=$LIBS
12490 if test x
$gcc_no_link = xyes
; then
12491 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12494 /* end confdefs.h. */
12496 /* Override any GCC internal prototype to avoid an error.
12497 Use char because int might match the return type of a GCC
12498 builtin and then its argument prototype would still apply. */
12511 if ac_fn_c_try_link
"$LINENO"; then :
12512 ac_cv_lib_dl_dlopen
=yes
12514 ac_cv_lib_dl_dlopen
=no
12516 rm -f core conftest.err conftest.
$ac_objext \
12517 conftest
$ac_exeext conftest.
$ac_ext
12518 LIBS
=$ac_check_lib_save_LIBS
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12521 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12522 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12523 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12526 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12527 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12528 $as_echo_n "(cached) " >&6
12530 ac_check_lib_save_LIBS
=$LIBS
12531 LIBS
="-lsvld $LIBS"
12532 if test x
$gcc_no_link = xyes
; then
12533 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12536 /* end confdefs.h. */
12538 /* Override any GCC internal prototype to avoid an error.
12539 Use char because int might match the return type of a GCC
12540 builtin and then its argument prototype would still apply. */
12553 if ac_fn_c_try_link
"$LINENO"; then :
12554 ac_cv_lib_svld_dlopen
=yes
12556 ac_cv_lib_svld_dlopen
=no
12558 rm -f core conftest.err conftest.
$ac_objext \
12559 conftest
$ac_exeext conftest.
$ac_ext
12560 LIBS
=$ac_check_lib_save_LIBS
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12563 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12564 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12565 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12568 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12569 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12570 $as_echo_n "(cached) " >&6
12572 ac_check_lib_save_LIBS
=$LIBS
12574 if test x
$gcc_no_link = xyes
; then
12575 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12578 /* end confdefs.h. */
12580 /* Override any GCC internal prototype to avoid an error.
12581 Use char because int might match the return type of a GCC
12582 builtin and then its argument prototype would still apply. */
12590 return dld_link ();
12595 if ac_fn_c_try_link
"$LINENO"; then :
12596 ac_cv_lib_dld_dld_link
=yes
12598 ac_cv_lib_dld_dld_link
=no
12600 rm -f core conftest.err conftest.
$ac_objext \
12601 conftest
$ac_exeext conftest.
$ac_ext
12602 LIBS
=$ac_check_lib_save_LIBS
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12605 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12606 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12607 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12628 if test "x$lt_cv_dlopen" != xno
; then
12634 case $lt_cv_dlopen in
12636 save_CPPFLAGS
="$CPPFLAGS"
12637 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12639 save_LDFLAGS
="$LDFLAGS"
12640 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12643 LIBS
="$lt_cv_dlopen_libs $LIBS"
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12646 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12647 if ${lt_cv_dlopen_self+:} false
; then :
12648 $as_echo_n "(cached) " >&6
12650 if test "$cross_compiling" = yes; then :
12651 lt_cv_dlopen_self
=cross
12653 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12654 lt_status
=$lt_dlunknown
12655 cat > conftest.
$ac_ext <<_LT_EOF
12656 #line 12656 "configure"
12657 #include "confdefs.h"
12666 # define LT_DLGLOBAL RTLD_GLOBAL
12669 # define LT_DLGLOBAL DL_GLOBAL
12671 # define LT_DLGLOBAL 0
12675 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12676 find out it does not work in some platform. */
12677 #ifndef LT_DLLAZY_OR_NOW
12679 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12682 # define LT_DLLAZY_OR_NOW DL_LAZY
12685 # define LT_DLLAZY_OR_NOW RTLD_NOW
12688 # define LT_DLLAZY_OR_NOW DL_NOW
12690 # define LT_DLLAZY_OR_NOW 0
12697 /* When -fvisbility=hidden is used, assume the code has been annotated
12698 correspondingly for the symbols needed. */
12699 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12700 void fnord () __attribute__((visibility("default")));
12703 void fnord () { int i=42; }
12706 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12707 int status = $lt_dlunknown;
12711 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12714 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12715 else puts (dlerror ());
12717 /* dlclose (self); */
12725 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12726 (eval $ac_link) 2>&5
12728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12729 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12730 (.
/conftest
; exit; ) >&5 2>/dev
/null
12732 case x
$lt_status in
12733 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12734 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12735 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12738 # compilation failed
12739 lt_cv_dlopen_self
=no
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12747 $as_echo "$lt_cv_dlopen_self" >&6; }
12749 if test "x$lt_cv_dlopen_self" = xyes
; then
12750 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12752 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12753 if ${lt_cv_dlopen_self_static+:} false
; then :
12754 $as_echo_n "(cached) " >&6
12756 if test "$cross_compiling" = yes; then :
12757 lt_cv_dlopen_self_static
=cross
12759 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12760 lt_status
=$lt_dlunknown
12761 cat > conftest.
$ac_ext <<_LT_EOF
12762 #line 12762 "configure"
12763 #include "confdefs.h"
12772 # define LT_DLGLOBAL RTLD_GLOBAL
12775 # define LT_DLGLOBAL DL_GLOBAL
12777 # define LT_DLGLOBAL 0
12781 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12782 find out it does not work in some platform. */
12783 #ifndef LT_DLLAZY_OR_NOW
12785 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12788 # define LT_DLLAZY_OR_NOW DL_LAZY
12791 # define LT_DLLAZY_OR_NOW RTLD_NOW
12794 # define LT_DLLAZY_OR_NOW DL_NOW
12796 # define LT_DLLAZY_OR_NOW 0
12803 /* When -fvisbility=hidden is used, assume the code has been annotated
12804 correspondingly for the symbols needed. */
12805 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12806 void fnord () __attribute__((visibility("default")));
12809 void fnord () { int i=42; }
12812 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12813 int status = $lt_dlunknown;
12817 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12820 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12821 else puts (dlerror ());
12823 /* dlclose (self); */
12831 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12832 (eval $ac_link) 2>&5
12834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12835 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12836 (.
/conftest
; exit; ) >&5 2>/dev
/null
12838 case x
$lt_status in
12839 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12840 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12841 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12844 # compilation failed
12845 lt_cv_dlopen_self_static
=no
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12853 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12856 CPPFLAGS
="$save_CPPFLAGS"
12857 LDFLAGS
="$save_LDFLAGS"
12862 case $lt_cv_dlopen_self in
12863 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12864 *) enable_dlopen_self
=unknown
;;
12867 case $lt_cv_dlopen_self_static in
12868 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12869 *) enable_dlopen_self_static
=unknown
;;
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12892 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12893 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12894 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12895 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12897 $as_echo "yes" >&6; }
12899 # FIXME - insert some real tests, host_os isn't really good enough
12902 if test -n "$STRIP" ; then
12903 striplib
="$STRIP -x"
12904 old_striplib
="$STRIP -S"
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12906 $as_echo "yes" >&6; }
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12909 $as_echo "no" >&6; }
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12914 $as_echo "no" >&6; }
12930 # Report which library types will actually be built
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12932 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12934 $as_echo "$can_build_shared" >&6; }
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12937 $as_echo_n "checking whether to build shared libraries... " >&6; }
12938 test "$can_build_shared" = "no" && enable_shared
=no
12940 # On AIX, shared libraries and static libraries use the same namespace, and
12941 # are all built from PIC.
12944 test "$enable_shared" = yes && enable_static
=no
12945 if test -n "$RANLIB"; then
12946 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12947 postinstall_cmds
='$RANLIB $lib'
12952 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12953 test "$enable_shared" = yes && enable_static
=no
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12958 $as_echo "$enable_shared" >&6; }
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12961 $as_echo_n "checking whether to build static libraries... " >&6; }
12962 # Make sure either enable_shared or enable_static is yes.
12963 test "$enable_shared" = yes || enable_static
=yes
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12965 $as_echo "$enable_static" >&6; }
12972 ac_cpp
='$CPP $CPPFLAGS'
12973 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12974 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12975 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12979 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12980 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12981 (test "X$CXX" != "Xg++"))) ; then
12983 ac_cpp
='$CXXCPP $CPPFLAGS'
12984 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12985 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12986 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12988 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12989 if test -z "$CXXCPP"; then
12990 if ${ac_cv_prog_CXXCPP+:} false
; then :
12991 $as_echo_n "(cached) " >&6
12993 # Double quotes because CXXCPP needs to be expanded
12994 for CXXCPP
in "$CXX -E" "/lib/cpp"
12996 ac_preproc_ok
=false
12997 for ac_cxx_preproc_warn_flag
in '' yes
12999 # Use a header file that comes with gcc, so configuring glibc
13000 # with a fresh cross-compiler works.
13001 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13002 # <limits.h> exists even on freestanding compilers.
13003 # On the NeXT, cc -E runs the code through the compiler's parser,
13004 # not just through cpp. "Syntax error" is here to catch this case.
13005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13006 /* end confdefs.h. */
13008 # include <limits.h>
13010 # include <assert.h>
13014 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13017 # Broken: fails on valid input.
13020 rm -f conftest.err conftest.i conftest.
$ac_ext
13022 # OK, works on sane cases. Now check whether nonexistent headers
13023 # can be detected and how.
13024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13025 /* end confdefs.h. */
13026 #include <ac_nonexistent.h>
13028 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13029 # Broken: success on invalid input.
13032 # Passes both tests.
13036 rm -f conftest.err conftest.i conftest.
$ac_ext
13039 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13040 rm -f conftest.i conftest.err conftest.
$ac_ext
13041 if $ac_preproc_ok; then :
13046 ac_cv_prog_CXXCPP
=$CXXCPP
13049 CXXCPP
=$ac_cv_prog_CXXCPP
13051 ac_cv_prog_CXXCPP
=$CXXCPP
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13054 $as_echo "$CXXCPP" >&6; }
13055 ac_preproc_ok
=false
13056 for ac_cxx_preproc_warn_flag
in '' yes
13058 # Use a header file that comes with gcc, so configuring glibc
13059 # with a fresh cross-compiler works.
13060 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13061 # <limits.h> exists even on freestanding compilers.
13062 # On the NeXT, cc -E runs the code through the compiler's parser,
13063 # not just through cpp. "Syntax error" is here to catch this case.
13064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13065 /* end confdefs.h. */
13067 # include <limits.h>
13069 # include <assert.h>
13073 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13076 # Broken: fails on valid input.
13079 rm -f conftest.err conftest.i conftest.
$ac_ext
13081 # OK, works on sane cases. Now check whether nonexistent headers
13082 # can be detected and how.
13083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13084 /* end confdefs.h. */
13085 #include <ac_nonexistent.h>
13087 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13088 # Broken: success on invalid input.
13091 # Passes both tests.
13095 rm -f conftest.err conftest.i conftest.
$ac_ext
13098 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13099 rm -f conftest.i conftest.err conftest.
$ac_ext
13100 if $ac_preproc_ok; then :
13103 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13104 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13105 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
13106 See \`config.log' for more details" "$LINENO" 5; }
13110 ac_cpp
='$CPP $CPPFLAGS'
13111 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13112 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13113 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13116 _lt_caught_CXX_error
=yes
13120 ac_cpp
='$CXXCPP $CPPFLAGS'
13121 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13122 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13123 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13125 archive_cmds_need_lc_CXX
=no
13126 allow_undefined_flag_CXX
=
13127 always_export_symbols_CXX
=no
13128 archive_expsym_cmds_CXX
=
13129 compiler_needs_object_CXX
=no
13130 export_dynamic_flag_spec_CXX
=
13131 hardcode_direct_CXX
=no
13132 hardcode_direct_absolute_CXX
=no
13133 hardcode_libdir_flag_spec_CXX
=
13134 hardcode_libdir_flag_spec_ld_CXX
=
13135 hardcode_libdir_separator_CXX
=
13136 hardcode_minus_L_CXX
=no
13137 hardcode_shlibpath_var_CXX
=unsupported
13138 hardcode_automatic_CXX
=no
13139 inherit_rpath_CXX
=no
13141 module_expsym_cmds_CXX
=
13142 link_all_deplibs_CXX
=unknown
13143 old_archive_cmds_CXX
=$old_archive_cmds
13144 reload_flag_CXX
=$reload_flag
13145 reload_cmds_CXX
=$reload_cmds
13146 no_undefined_flag_CXX
=
13147 whole_archive_flag_spec_CXX
=
13148 enable_shared_with_static_runtimes_CXX
=no
13150 # Source file extension for C++ test sources.
13153 # Object file extension for compiled C++ test sources.
13157 # No sense in running all these tests if we already determined that
13158 # the CXX compiler isn't working. Some variables (like enable_shared)
13159 # are currently assumed to apply to all compilers on this platform,
13160 # and will be corrupted by setting them based on a non-working compiler.
13161 if test "$_lt_caught_CXX_error" != yes; then
13162 # Code to be used in simple compile tests
13163 lt_simple_compile_test_code
="int some_variable = 0;"
13165 # Code to be used in simple link tests
13166 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13168 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13175 # If no C compiler was specified, use CC.
13178 # If no C compiler flags were specified, use CFLAGS.
13179 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13181 # Allow CC to be a program name with arguments.
13185 # save warnings/boilerplate of simple test code
13186 ac_outfile
=conftest.
$ac_objext
13187 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13188 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13189 _lt_compiler_boilerplate
=`cat conftest.err`
13192 ac_outfile
=conftest.
$ac_objext
13193 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13194 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13195 _lt_linker_boilerplate
=`cat conftest.err`
13199 # Allow CC to be a program name with arguments.
13204 lt_save_with_gnu_ld
=$with_gnu_ld
13205 lt_save_path_LD
=$lt_cv_path_LD
13206 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13207 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13209 $as_unset lt_cv_prog_gnu_ld
13211 if test -n "${lt_cv_path_LDCXX+set}"; then
13212 lt_cv_path_LD
=$lt_cv_path_LDCXX
13214 $as_unset lt_cv_path_LD
13216 test -z "${LDCXX+set}" || LD
=$LDCXX
13220 for cc_temp
in $compiler""; do
13222 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13223 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13228 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13231 if test -n "$compiler"; then
13232 # We don't want -fno-exception when compiling C++ code, so set the
13233 # no_builtin_flag separately
13234 if test "$GXX" = yes; then
13235 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13237 lt_prog_compiler_no_builtin_flag_CXX
=
13240 if test "$GXX" = yes; then
13241 # Set up default GNU C++ configuration
13245 # Check whether --with-gnu-ld was given.
13246 if test "${with_gnu_ld+set}" = set; then :
13247 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13253 if test "$GCC" = yes; then
13254 # Check if gcc -print-prog-name=ld gives a path.
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13256 $as_echo_n "checking for ld used by $CC... " >&6; }
13259 # gcc leaves a trailing carriage return which upsets mingw
13260 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13262 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13265 # Accept absolute paths.
13267 re_direlt
='/[^/][^/]*/\.\./'
13268 # Canonicalize the pathname of ld
13269 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13270 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13271 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13273 test -z "$LD" && LD
="$ac_prog"
13276 # If it fails, then pretend we aren't using GCC.
13280 # If it is relative, then search for the first ld in PATH.
13281 with_gnu_ld
=unknown
13284 elif test "$with_gnu_ld" = yes; then
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13286 $as_echo_n "checking for GNU ld... " >&6; }
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13289 $as_echo_n "checking for non-GNU ld... " >&6; }
13291 if ${lt_cv_path_LD+:} false
; then :
13292 $as_echo_n "(cached) " >&6
13294 if test -z "$LD"; then
13295 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13296 for ac_dir
in $PATH; do
13298 test -z "$ac_dir" && ac_dir
=.
13299 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13300 lt_cv_path_LD
="$ac_dir/$ac_prog"
13301 # Check to see if the program is GNU ld. I'd rather use --version,
13302 # but apparently some variants of GNU ld only accept -v.
13303 # Break only if it was the GNU/non-GNU ld that we prefer.
13304 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13305 *GNU
* |
*'with BFD'*)
13306 test "$with_gnu_ld" != no
&& break
13309 test "$with_gnu_ld" != yes && break
13316 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13320 LD
="$lt_cv_path_LD"
13321 if test -n "$LD"; then
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13323 $as_echo "$LD" >&6; }
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13326 $as_echo "no" >&6; }
13328 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13330 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13331 if ${lt_cv_prog_gnu_ld+:} false
; then :
13332 $as_echo_n "(cached) " >&6
13334 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13335 case `$LD -v 2>&1 </dev/null` in
13336 *GNU
* |
*'with BFD'*)
13337 lt_cv_prog_gnu_ld
=yes
13340 lt_cv_prog_gnu_ld
=no
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13345 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13346 with_gnu_ld
=$lt_cv_prog_gnu_ld
13354 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13355 # archiving commands below assume that GNU ld is being used.
13356 if test "$with_gnu_ld" = yes; then
13357 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13358 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'
13360 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13361 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13363 # If archive_cmds runs LD, not CC, wlarc should be empty
13364 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13365 # investigate it a little bit more. (MM)
13368 # ancient GNU ld didn't support --whole-archive et. al.
13369 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13370 $GREP 'no-whole-archive' > /dev
/null
; then
13371 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13373 whole_archive_flag_spec_CXX
=
13379 # A generic and very simple default shared library creation
13380 # command for GNU C++ for the case where it uses the native
13381 # linker, instead of GNU ld. If possible, this setting should
13382 # overridden to take advantage of the native linker features on
13383 # the platform it is being used on.
13384 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13387 # Commands to make compiler produce verbose output that lists
13388 # what "hidden" libraries, object files and flags are used when
13389 # linking a shared library.
13390 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13398 # PORTME: fill in a description of your system's C++ link characteristics
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13400 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13404 # FIXME: insert proper C++ library support
13408 if test "$host_cpu" = ia64
; then
13409 # On IA64, the linker does run time linking by default, so we don't
13410 # have to do anything special.
13411 aix_use_runtimelinking
=no
13412 exp_sym_flag
='-Bexport'
13415 aix_use_runtimelinking
=no
13417 # Test if we are trying to use run time linking or normal
13418 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13419 # need to do runtime linking.
13420 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13421 for ld_flag
in $LDFLAGS; do
13424 aix_use_runtimelinking
=yes
13432 exp_sym_flag
='-bexport'
13433 no_entry_flag
='-bnoentry'
13436 # When large executables or shared objects are built, AIX ld can
13437 # have problems creating the table of contents. If linking a library
13438 # or program results in "error TOC overflow" add -mminimal-toc to
13439 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13440 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13442 archive_cmds_CXX
=''
13443 hardcode_direct_CXX
=yes
13444 hardcode_direct_absolute_CXX
=yes
13445 hardcode_libdir_separator_CXX
=':'
13446 link_all_deplibs_CXX
=yes
13447 file_list_spec_CXX
='${wl}-f,'
13449 if test "$GXX" = yes; then
13450 case $host_os in aix4.
[012]|aix4.
[012].
*)
13451 # We only want to do this on AIX 4.2 and lower, the check
13452 # below for broken collect2 doesn't work under 4.3+
13453 collect2name
=`${CC} -print-prog-name=collect2`
13454 if test -f "$collect2name" &&
13455 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13457 # We have reworked collect2
13460 # We have old collect2
13461 hardcode_direct_CXX
=unsupported
13462 # It fails to find uninstalled libraries when the uninstalled
13463 # path is not listed in the libpath. Setting hardcode_minus_L
13464 # to unsupported forces relinking
13465 hardcode_minus_L_CXX
=yes
13466 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13467 hardcode_libdir_separator_CXX
=
13470 shared_flag
='-shared'
13471 if test "$aix_use_runtimelinking" = yes; then
13472 shared_flag
="$shared_flag "'${wl}-G'
13476 if test "$host_cpu" = ia64
; then
13477 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13478 # chokes on -Wl,-G. The following line is correct:
13481 if test "$aix_use_runtimelinking" = yes; then
13482 shared_flag
='${wl}-G'
13484 shared_flag
='${wl}-bM:SRE'
13489 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13490 # It seems that -bexpall does not export symbols beginning with
13491 # underscore (_), so it is better to generate a list of symbols to
13493 always_export_symbols_CXX
=yes
13494 if test "$aix_use_runtimelinking" = yes; then
13495 # Warning - without using the other runtime loading flags (-brtl),
13496 # -berok will link without error, but may produce a broken library.
13497 allow_undefined_flag_CXX
='-berok'
13498 # Determine the default libpath from the value encoded in an empty
13500 if test x
$gcc_no_link = xyes
; then
13501 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13504 /* end confdefs.h. */
13514 if ac_fn_cxx_try_link
"$LINENO"; then :
13516 lt_aix_libpath_sed
='
13517 /Import File Strings/,/^$/ {
13523 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13524 # Check for a 64-bit object if we didn't find anything.
13525 if test -z "$aix_libpath"; then
13526 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13529 rm -f core conftest.err conftest.
$ac_objext \
13530 conftest
$ac_exeext conftest.
$ac_ext
13531 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13533 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13535 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"
13537 if test "$host_cpu" = ia64
; then
13538 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13539 allow_undefined_flag_CXX
="-z nodefs"
13540 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"
13542 # Determine the default libpath from the value encoded in an
13543 # empty executable.
13544 if test x
$gcc_no_link = xyes
; then
13545 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13548 /* end confdefs.h. */
13558 if ac_fn_cxx_try_link
"$LINENO"; then :
13560 lt_aix_libpath_sed
='
13561 /Import File Strings/,/^$/ {
13567 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13568 # Check for a 64-bit object if we didn't find anything.
13569 if test -z "$aix_libpath"; then
13570 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13573 rm -f core conftest.err conftest.
$ac_objext \
13574 conftest
$ac_exeext conftest.
$ac_ext
13575 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13577 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13578 # Warning - without using the other run time loading flags,
13579 # -berok will link without error, but may produce a broken library.
13580 no_undefined_flag_CXX
=' ${wl}-bernotok'
13581 allow_undefined_flag_CXX
=' ${wl}-berok'
13582 if test "$with_gnu_ld" = yes; then
13583 # We only use this code for GNU lds that support --whole-archive.
13584 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13586 # Exported symbols can be pulled into shared objects from archives
13587 whole_archive_flag_spec_CXX
='$convenience'
13589 archive_cmds_need_lc_CXX
=yes
13590 # This is similar to how AIX traditionally builds its shared
13592 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'
13598 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13599 allow_undefined_flag_CXX
=unsupported
13600 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13601 # support --undefined. This deserves some investigation. FIXME
13602 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13609 case $cc_basename in
13611 # FIXME: insert proper C++ library support
13617 cygwin
* | mingw
* | pw32
* | cegcc
*)
13618 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13619 # as there is no search path for DLLs.
13620 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13621 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13622 allow_undefined_flag_CXX
=unsupported
13623 always_export_symbols_CXX
=no
13624 enable_shared_with_static_runtimes_CXX
=yes
13626 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13627 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'
13628 # If the export-symbols file already is a .def file (1st line
13629 # is EXPORTS), use it as is; otherwise, prepend...
13630 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13631 cp $export_symbols $output_objdir/$soname.def;
13633 echo EXPORTS > $output_objdir/$soname.def;
13634 cat $export_symbols >> $output_objdir/$soname.def;
13636 $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'
13641 darwin
* | rhapsody
*)
13645 # Publish an arg to allow the user to select that Darwin host (and target)
13646 # libraries should be given install-names like @rpath/libfoo.dylib. This
13647 # requires that the user of the library then adds an 'rpath' to the DSO that
13649 # NOTE: there are defaults below, for systems that support rpaths. The person
13650 # configuring can override the defaults for any system version that supports
13651 # them - they are, however, forced off for system versions without support.
13652 # Check whether --enable-darwin-at-rpath was given.
13653 if test "${enable_darwin_at_rpath+set}" = set; then :
13654 enableval
=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
13655 # This is not supported before macOS 10.5 / Darwin9.
13656 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
13657 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
13659 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
13660 enable_darwin_at_rpath
=no
13665 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
13666 # As above, before 10.5 / Darwin9 this does not work.
13667 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
13668 enable_darwin_at_rpath
=no
13671 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
13672 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
13673 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
13674 UNSET
,darwin1
[5-9]*|UNSET
,darwin2
*|
10.1[1-9][,.
]*|
1[1-9].
*[,.
]* )
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
13676 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
13677 enable_darwin_at_rpath
=yes
13679 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
13680 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
13687 archive_cmds_need_lc_CXX
=no
13688 hardcode_direct_CXX
=no
13689 hardcode_automatic_CXX
=yes
13690 hardcode_shlibpath_var_CXX
=unsupported
13691 if test "$lt_cv_ld_force_load" = "yes"; then
13692 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\"`'
13694 whole_archive_flag_spec_CXX
=''
13696 link_all_deplibs_CXX
=yes
13697 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13698 case $cc_basename in
13699 ifort
*) _lt_dar_can_shared
=yes ;;
13700 *) _lt_dar_can_shared
=$GCC ;;
13702 if test "$_lt_dar_can_shared" = "yes"; then
13703 output_verbose_link_cmd
=func_echo_all
13704 _lt_install_name
='\$rpath/\$soname'
13705 if test "x$enable_darwin_at_rpath" = "xyes"; then
13706 _lt_install_name
='@rpath/\$soname'
13708 archive_cmds_CXX
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
13709 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13710 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}"
13711 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}"
13712 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13713 _lt_install_name
='\$rpath/\$soname'
13714 if test "x$enable_darwin_at_rpath" = "xyes"; then
13715 _lt_install_name
='@rpath/\$soname'
13717 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}"
13718 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}"
13728 case $cc_basename in
13730 # FIXME: insert proper C++ library support
13734 # Green Hills C++ Compiler
13735 # FIXME: insert proper C++ library support
13739 # FIXME: insert proper C++ library support
13746 # C++ shared libraries reported to be fairly broken before
13752 archive_cmds_need_lc_CXX
=no
13755 freebsd
* | dragonfly
*)
13756 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13765 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13766 link_all_deplibs_CXX
=yes
13770 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13771 hardcode_libdir_separator_CXX
=:
13772 export_dynamic_flag_spec_CXX
='${wl}-E'
13773 hardcode_direct_CXX
=yes
13774 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13775 # but as the default
13776 # location of the library.
13778 case $cc_basename in
13780 # FIXME: insert proper C++ library support
13784 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'
13785 # Commands to make compiler produce verbose output that lists
13786 # what "hidden" libraries, object files and flags are used when
13787 # linking a shared library.
13789 # There doesn't appear to be a way to prevent this compiler from
13790 # explicitly linking system object files so we need to strip them
13791 # from the output so that they don't get included in the library
13793 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"'
13796 if test "$GXX" = yes; then
13797 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'
13799 # FIXME: insert proper C++ library support
13807 if test $with_gnu_ld = no
; then
13808 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13809 hardcode_libdir_separator_CXX
=:
13815 export_dynamic_flag_spec_CXX
='${wl}-E'
13821 hardcode_direct_CXX
=no
13822 hardcode_shlibpath_var_CXX
=no
13825 hardcode_direct_CXX
=yes
13826 hardcode_direct_absolute_CXX
=yes
13827 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13828 # but as the default
13829 # location of the library.
13833 case $cc_basename in
13835 # FIXME: insert proper C++ library support
13841 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13844 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13847 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13850 # Commands to make compiler produce verbose output that lists
13851 # what "hidden" libraries, object files and flags are used when
13852 # linking a shared library.
13854 # There doesn't appear to be a way to prevent this compiler from
13855 # explicitly linking system object files so we need to strip them
13856 # from the output so that they don't get included in the library
13858 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"'
13861 if test "$GXX" = yes; then
13862 if test $with_gnu_ld = no
; then
13865 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13868 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13871 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'
13876 # FIXME: insert proper C++ library support
13884 hardcode_direct_CXX
=no
13885 hardcode_shlibpath_var_CXX
=no
13886 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13887 export_dynamic_flag_spec_CXX
='${wl}-E'
13888 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13889 # Instead, shared libraries are loaded at an image base (0x10000000 by
13890 # default) and relocated if they conflict, which is a slow very memory
13891 # consuming and fragmenting process. To avoid this, we pick a random,
13892 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13893 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13894 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'
13895 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'
13898 case $cc_basename in
13901 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'
13903 # Archives containing C++ object files must be created using
13904 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13905 # necessary to make sure instantiated templates are included
13907 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13910 if test "$GXX" = yes; then
13911 if test "$with_gnu_ld" = no
; then
13912 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'
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"` -o $lib'
13917 link_all_deplibs_CXX
=yes
13920 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13921 hardcode_libdir_separator_CXX
=:
13922 inherit_rpath_CXX
=yes
13925 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13926 case $cc_basename in
13928 # Kuck and Associates, Inc. (KAI) C++ Compiler
13930 # KCC will only create a shared library if the output file
13931 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13932 # to its proper name (with version) after linking.
13933 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'
13934 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'
13935 # Commands to make compiler produce verbose output that lists
13936 # what "hidden" libraries, object files and flags are used when
13937 # linking a shared library.
13939 # There doesn't appear to be a way to prevent this compiler from
13940 # explicitly linking system object files so we need to strip them
13941 # from the output so that they don't get included in the library
13943 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"'
13945 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13946 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13948 # Archives containing C++ object files must be created using
13949 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13950 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13955 # version 8.0 and above of icpc choke on multiply defined symbols
13956 # if we add $predep_objects and $postdep_objects, however 7.1 and
13957 # earlier do not add the objects themselves.
13958 case `$CC -V 2>&1` in
13960 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13961 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'
13963 *) # Version 8.0 or newer
13966 ia64
*) tmp_idyn
=' -i_dynamic';;
13968 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13969 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'
13972 archive_cmds_need_lc_CXX
=no
13973 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13974 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13975 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13978 # Portland Group C++ compiler
13980 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13981 prelink_cmds_CXX
='tpldir=Template.dir~
13983 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13984 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13985 old_archive_cmds_CXX
='tpldir=Template.dir~
13987 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13988 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13990 archive_cmds_CXX
='tpldir=Template.dir~
13992 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13993 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13994 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13996 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13997 $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'
13999 *) # Version 6 and above use weak symbols
14000 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14001 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'
14005 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
14006 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14007 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'
14011 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14012 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'
14014 runpath_var
=LD_RUN_PATH
14015 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14016 hardcode_libdir_separator_CXX
=:
14018 # Commands to make compiler produce verbose output that lists
14019 # what "hidden" libraries, object files and flags are used when
14020 # linking a shared library.
14022 # There doesn't appear to be a way to prevent this compiler from
14023 # explicitly linking system object files so we need to strip them
14024 # from the output so that they don't get included in the library
14026 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'
14028 xl
* | mpixl
* | bgxl
*)
14029 # IBM XL 8.0 on PPC, with GNU ld
14030 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14031 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14032 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14033 if test "x$supports_anon_versioning" = xyes
; then
14034 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
14035 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14036 echo "local: *; };" >> $output_objdir/$libname.ver~
14037 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14041 case `$CC -V 2>&1 | sed 5q` in
14044 no_undefined_flag_CXX
=' -zdefs'
14045 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14046 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'
14047 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14048 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'
14049 compiler_needs_object_CXX
=yes
14051 # Not sure whether something based on
14052 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14054 output_verbose_link_cmd
='func_echo_all'
14056 # Archives containing C++ object files must be created using
14057 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14058 # necessary to make sure instantiated templates are included
14060 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14068 # FIXME: insert proper C++ library support
14073 # FIXME: insert proper C++ library support
14078 case $cc_basename in
14080 # FIXME: insert proper C++ library support
14084 # FIXME: insert proper C++ library support
14091 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14092 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14094 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14095 hardcode_direct_CXX
=yes
14096 hardcode_shlibpath_var_CXX
=no
14098 # Workaround some broken pre-1.5 toolchains
14099 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14107 # C++ shared libraries are fairly broken
14112 if test -f /usr
/libexec
/ld.so
; then
14113 hardcode_direct_CXX
=yes
14114 hardcode_shlibpath_var_CXX
=no
14115 hardcode_direct_absolute_CXX
=yes
14116 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14117 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14118 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14119 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14120 export_dynamic_flag_spec_CXX
='${wl}-E'
14121 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14123 output_verbose_link_cmd
=func_echo_all
14129 osf3
* | osf4
* | osf5
*)
14130 case $cc_basename in
14132 # Kuck and Associates, Inc. (KAI) C++ Compiler
14134 # KCC will only create a shared library if the output file
14135 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14136 # to its proper name (with version) after linking.
14137 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'
14139 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14140 hardcode_libdir_separator_CXX
=:
14142 # Archives containing C++ object files must be created using
14143 # the KAI C++ compiler.
14145 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14146 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14150 # Rational C++ 2.4.1
14151 # FIXME: insert proper C++ library support
14157 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14158 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'
14159 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14162 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14163 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'
14164 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14165 echo "-hidden">> $lib.exp~
14166 $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~
14168 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14172 hardcode_libdir_separator_CXX
=:
14174 # Commands to make compiler produce verbose output that lists
14175 # what "hidden" libraries, object files and flags are used when
14176 # linking a shared library.
14178 # There doesn't appear to be a way to prevent this compiler from
14179 # explicitly linking system object files so we need to strip them
14180 # from the output so that they don't get included in the library
14182 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"'
14185 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14186 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14189 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'
14192 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'
14196 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14197 hardcode_libdir_separator_CXX
=:
14199 # Commands to make compiler produce verbose output that lists
14200 # what "hidden" libraries, object files and flags are used when
14201 # linking a shared library.
14202 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14205 # FIXME: insert proper C++ library support
14213 # FIXME: insert proper C++ library support
14218 case $cc_basename in
14221 # FIXME: insert proper C++ library support
14226 # FIXME: insert proper C++ library support
14230 # FIXME: insert proper C++ library support
14237 case $cc_basename in
14239 # Sun C++ 4.2, 5.x and Centerline C++
14240 archive_cmds_need_lc_CXX
=yes
14241 no_undefined_flag_CXX
=' -zdefs'
14242 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14243 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14244 $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'
14246 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14247 hardcode_shlibpath_var_CXX
=no
14249 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14251 # The compiler driver will combine and reorder linker options,
14252 # but understands `-z linker_flag'.
14253 # Supported since Solaris 2.6 (maybe 2.5.1?)
14254 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14257 link_all_deplibs_CXX
=yes
14259 output_verbose_link_cmd
='func_echo_all'
14261 # Archives containing C++ object files must be created using
14262 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14263 # necessary to make sure instantiated templates are included
14265 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14268 # Green Hills C++ Compiler
14269 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14271 # The C++ compiler must be used to create the archive.
14272 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14275 # GNU C++ compiler with Solaris linker
14276 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14277 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14278 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14279 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14280 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14281 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14283 # Commands to make compiler produce verbose output that lists
14284 # what "hidden" libraries, object files and flags are used when
14285 # linking a shared library.
14286 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14288 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14290 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14291 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14292 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14294 # Commands to make compiler produce verbose output that lists
14295 # what "hidden" libraries, object files and flags are used when
14296 # linking a shared library.
14297 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14300 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14302 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14304 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14312 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14313 no_undefined_flag_CXX
='${wl}-z,text'
14314 archive_cmds_need_lc_CXX
=no
14315 hardcode_shlibpath_var_CXX
=no
14316 runpath_var
='LD_RUN_PATH'
14318 case $cc_basename in
14320 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14321 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14324 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14325 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14330 sysv5
* | sco3.2v5
* | sco5v6
*)
14331 # Note: We can NOT use -z defs as we might desire, because we do not
14332 # link with -lc, and that would cause any symbols used from libc to
14333 # always be unresolved, which means just about no library would
14334 # ever link correctly. If we're not using GNU ld we use -z text
14335 # though, which does catch some bad symbols but isn't as heavy-handed
14337 no_undefined_flag_CXX
='${wl}-z,text'
14338 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14339 archive_cmds_need_lc_CXX
=no
14340 hardcode_shlibpath_var_CXX
=no
14341 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14342 hardcode_libdir_separator_CXX
=':'
14343 link_all_deplibs_CXX
=yes
14344 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14345 runpath_var
='LD_RUN_PATH'
14347 case $cc_basename in
14349 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14350 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14351 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14352 '"$old_archive_cmds_CXX"
14353 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14354 '"$reload_cmds_CXX"
14357 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14358 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14364 case $cc_basename in
14366 # NonStop-UX NCC 3.20
14367 # FIXME: insert proper C++ library support
14371 # FIXME: insert proper C++ library support
14378 # For VxWorks ports, we assume the use of a GNU linker with
14379 # standard elf conventions.
14384 # FIXME: insert proper C++ library support
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14390 $as_echo "$ld_shlibs_CXX" >&6; }
14391 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14397 ## There is no encapsulation within the following macros, do not change
14398 ## the running order or otherwise move them around unless you know exactly
14399 ## what you are doing...
14400 # Dependencies to place before and after the object being linked:
14401 predep_objects_CXX
=
14402 postdep_objects_CXX
=
14405 compiler_lib_search_path_CXX
=
14407 cat > conftest.
$ac_ext <<_LT_EOF
14411 Foo (void) { a = 0; }
14417 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14418 (eval $ac_compile) 2>&5
14420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14421 test $ac_status = 0; }; then
14422 # Parse the compiler output and extract the necessary
14423 # objects, libraries and library flags.
14425 # Sentinel used to keep track of whether or not we are before
14426 # the conftest object file.
14427 pre_test_object_deps_done
=no
14429 for p
in `eval "$output_verbose_link_cmd"`; do
14433 # Some compilers place space between "-{L,R}" and the path.
14434 # Remove the space.
14435 if test $p = "-L" ||
14436 test $p = "-R"; then
14443 if test "$pre_test_object_deps_done" = no
; then
14446 # Internal compiler library paths should come after those
14447 # provided the user. The postdeps already come after the
14448 # user supplied libs so there is no need to process them.
14449 if test -z "$compiler_lib_search_path_CXX"; then
14450 compiler_lib_search_path_CXX
="${prev}${p}"
14452 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14455 # The "-l" case would never come before the object being
14456 # linked, so don't bother handling this case.
14459 if test -z "$postdeps_CXX"; then
14460 postdeps_CXX
="${prev}${p}"
14462 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14468 # This assumes that the test object file only shows up
14469 # once in the compiler output.
14470 if test "$p" = "conftest.$objext"; then
14471 pre_test_object_deps_done
=yes
14475 if test "$pre_test_object_deps_done" = no
; then
14476 if test -z "$predep_objects_CXX"; then
14477 predep_objects_CXX
="$p"
14479 predep_objects_CXX
="$predep_objects_CXX $p"
14482 if test -z "$postdep_objects_CXX"; then
14483 postdep_objects_CXX
="$p"
14485 postdep_objects_CXX
="$postdep_objects_CXX $p"
14490 *) ;; # Ignore the rest.
14498 echo "libtool.m4: error: problem compiling CXX test program"
14501 $RM -f confest.
$objext
14503 # PORTME: override above test on systems where it is broken
14506 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14507 # hack all around it, let's just trust "g++" to DTRT.
14508 predep_objects_CXX
=
14509 postdep_objects_CXX
=
14514 case `$CC -V 2>&1 | sed 5q` in
14518 # The more standards-conforming stlport4 library is
14519 # incompatible with the Cstd library. Avoid specifying
14520 # it if it's in CXXFLAGS. Ignore libCrun as
14521 # -library=stlport4 depends on it.
14522 case " $CXX $CXXFLAGS " in
14523 *" -library=stlport4 "*)
14524 solaris_use_stlport4
=yes
14528 if test "$solaris_use_stlport4" != yes; then
14529 postdeps_CXX
='-library=Cstd -library=Crun'
14536 case $cc_basename in
14538 # The more standards-conforming stlport4 library is
14539 # incompatible with the Cstd library. Avoid specifying
14540 # it if it's in CXXFLAGS. Ignore libCrun as
14541 # -library=stlport4 depends on it.
14542 case " $CXX $CXXFLAGS " in
14543 *" -library=stlport4 "*)
14544 solaris_use_stlport4
=yes
14548 # Adding this requires a known-good setup of shared libraries for
14549 # Sun compiler versions before 5.6, else PIC objects from an old
14550 # archive will be linked into the output, leading to subtle bugs.
14551 if test "$solaris_use_stlport4" != yes; then
14552 postdeps_CXX
='-library=Cstd -library=Crun'
14560 case " $postdeps_CXX " in
14561 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14563 compiler_lib_search_dirs_CXX
=
14564 if test -n "${compiler_lib_search_path_CXX}"; then
14565 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14598 lt_prog_compiler_wl_CXX
=
14599 lt_prog_compiler_pic_CXX
=
14600 lt_prog_compiler_static_CXX
=
14602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14603 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14605 # C++ specific cases for pic, static, wl, etc.
14606 if test "$GXX" = yes; then
14607 lt_prog_compiler_wl_CXX
='-Wl,'
14608 lt_prog_compiler_static_CXX
='-static'
14612 # All AIX code is PIC.
14613 if test "$host_cpu" = ia64
; then
14614 # AIX 5 now supports IA64 processor
14615 lt_prog_compiler_static_CXX
='-Bstatic'
14617 lt_prog_compiler_pic_CXX
='-fPIC'
14623 # see comment about AmigaOS4 .so support
14624 lt_prog_compiler_pic_CXX
='-fPIC'
14627 # FIXME: we need at least 68020 code to build shared libraries, but
14628 # adding the `-m68020' flag to GCC prevents building anything better,
14630 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14635 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14636 # PIC is the default for these OSes.
14638 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14639 # This hack is so that the source file can tell whether it is being
14640 # built for inclusion in a dll (and should export symbols for example).
14641 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14642 # (--disable-auto-import) libraries
14643 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14645 darwin
* | rhapsody
*)
14646 # PIC is the default on this platform
14647 # Common symbols not allowed in MH_DYLIB files
14648 lt_prog_compiler_pic_CXX
='-fno-common'
14651 # DJGPP does not support shared libraries at all
14652 lt_prog_compiler_pic_CXX
=
14655 # PIC is the default for Haiku.
14656 # The "-static" flag exists, but is broken.
14657 lt_prog_compiler_static_CXX
=
14660 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14661 # Instead, we relocate shared libraries at runtime.
14664 if test -d /usr
/nec
; then
14665 lt_prog_compiler_pic_CXX
=-Kconform_pic
14669 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14670 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14671 # sets the default TLS model and affects inlining.
14676 lt_prog_compiler_pic_CXX
='-fPIC'
14681 # QNX uses GNU C++, but need to define -shared option too, otherwise
14682 # it will coredump.
14683 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14686 lt_prog_compiler_pic_CXX
='-fPIC'
14692 # All AIX code is PIC.
14693 if test "$host_cpu" = ia64
; then
14694 # AIX 5 now supports IA64 processor
14695 lt_prog_compiler_static_CXX
='-Bstatic'
14697 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14701 case $cc_basename in
14703 # Green Hills C++ Compiler
14704 # _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"
14709 case $cc_basename in
14711 lt_prog_compiler_pic_CXX
='-KPIC'
14714 # Green Hills C++ Compiler
14715 lt_prog_compiler_pic_CXX
='-pic'
14721 freebsd
* | dragonfly
*)
14722 # FreeBSD uses GNU C++
14724 hpux9
* | hpux10
* | hpux11
*)
14725 case $cc_basename in
14727 lt_prog_compiler_wl_CXX
='-Wl,'
14728 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14729 if test "$host_cpu" != ia64
; then
14730 lt_prog_compiler_pic_CXX
='+Z'
14734 lt_prog_compiler_wl_CXX
='-Wl,'
14735 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14741 lt_prog_compiler_pic_CXX
='+Z'
14750 # This is c89, which is MS Visual C++ (no shared libs)
14751 # Anyone wants to do a port?
14753 irix5
* | irix6
* | nonstopux
*)
14754 case $cc_basename in
14756 lt_prog_compiler_wl_CXX
='-Wl,'
14757 lt_prog_compiler_static_CXX
='-non_shared'
14758 # CC pic flag -KPIC is the default.
14764 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14765 case $cc_basename in
14768 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14769 lt_prog_compiler_pic_CXX
='-fPIC'
14772 # old Intel C++ for x86_64 which still supported -KPIC.
14773 lt_prog_compiler_wl_CXX
='-Wl,'
14774 lt_prog_compiler_pic_CXX
='-KPIC'
14775 lt_prog_compiler_static_CXX
='-static'
14778 # Intel C++, used to be incompatible with GCC.
14779 # ICC 10 doesn't accept -KPIC any more.
14780 lt_prog_compiler_wl_CXX
='-Wl,'
14781 lt_prog_compiler_pic_CXX
='-fPIC'
14782 lt_prog_compiler_static_CXX
='-static'
14785 # Portland Group C++ compiler
14786 lt_prog_compiler_wl_CXX
='-Wl,'
14787 lt_prog_compiler_pic_CXX
='-fpic'
14788 lt_prog_compiler_static_CXX
='-Bstatic'
14792 # Make sure the PIC flag is empty. It appears that all Alpha
14793 # Linux and Compaq Tru64 Unix objects are PIC.
14794 lt_prog_compiler_pic_CXX
=
14795 lt_prog_compiler_static_CXX
='-non_shared'
14797 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14798 # IBM XL 8.0, 9.0 on PPC and BlueGene
14799 lt_prog_compiler_wl_CXX
='-Wl,'
14800 lt_prog_compiler_pic_CXX
='-qpic'
14801 lt_prog_compiler_static_CXX
='-qstaticlink'
14804 case `$CC -V 2>&1 | sed 5q` in
14807 lt_prog_compiler_pic_CXX
='-KPIC'
14808 lt_prog_compiler_static_CXX
='-Bstatic'
14809 lt_prog_compiler_wl_CXX
='-Qoption ld '
14820 case $cc_basename in
14822 lt_prog_compiler_pic_CXX
='-W c,exportall'
14831 # QNX uses GNU C++, but need to define -shared option too, otherwise
14832 # it will coredump.
14833 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14835 osf3
* | osf4
* | osf5
*)
14836 case $cc_basename in
14838 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14841 # Rational C++ 2.4.1
14842 lt_prog_compiler_pic_CXX
='-pic'
14845 # Digital/Compaq C++
14846 lt_prog_compiler_wl_CXX
='-Wl,'
14847 # Make sure the PIC flag is empty. It appears that all Alpha
14848 # Linux and Compaq Tru64 Unix objects are PIC.
14849 lt_prog_compiler_pic_CXX
=
14850 lt_prog_compiler_static_CXX
='-non_shared'
14859 case $cc_basename in
14861 # Sun C++ 4.2, 5.x and Centerline C++
14862 lt_prog_compiler_pic_CXX
='-KPIC'
14863 lt_prog_compiler_static_CXX
='-Bstatic'
14864 lt_prog_compiler_wl_CXX
='-Qoption ld '
14867 # Green Hills C++ Compiler
14868 lt_prog_compiler_pic_CXX
='-PIC'
14875 case $cc_basename in
14878 lt_prog_compiler_pic_CXX
='-pic'
14879 lt_prog_compiler_static_CXX
='-Bstatic'
14883 lt_prog_compiler_pic_CXX
='-pic'
14889 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14890 case $cc_basename in
14892 lt_prog_compiler_wl_CXX
='-Wl,'
14893 lt_prog_compiler_pic_CXX
='-KPIC'
14894 lt_prog_compiler_static_CXX
='-Bstatic'
14899 case $cc_basename in
14901 # NonStop-UX NCC 3.20
14902 lt_prog_compiler_pic_CXX
='-KPIC'
14911 lt_prog_compiler_can_build_shared_CXX
=no
14917 # For platforms which do not support PIC, -DPIC is meaningless:
14919 lt_prog_compiler_pic_CXX
=
14922 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14926 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14931 # Check to make sure the PIC flag actually works.
14933 if test -n "$lt_prog_compiler_pic_CXX"; then
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14935 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14936 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14937 $as_echo_n "(cached) " >&6
14939 lt_cv_prog_compiler_pic_works_CXX
=no
14940 ac_outfile
=conftest.
$ac_objext
14941 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14942 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14943 # Insert the option either (1) after the last *FLAGS variable, or
14944 # (2) before a word containing "conftest.", or (3) at the end.
14945 # Note that $ac_compile itself does not contain backslashes and begins
14946 # with a dollar sign (not a hyphen), so the echo should work correctly.
14947 # The option is referenced via a variable to avoid confusing sed.
14948 lt_compile
=`echo "$ac_compile" | $SED \
14949 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14950 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14951 -e 's:$: $lt_compiler_flag:'`
14952 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14953 (eval "$lt_compile" 2>conftest.err
)
14955 cat conftest.err
>&5
14956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14957 if (exit $ac_status) && test -s "$ac_outfile"; then
14958 # The compiler can only warn and ignore the option if not recognized
14959 # So say no if there are warnings other than the usual output.
14960 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14961 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14962 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14963 lt_cv_prog_compiler_pic_works_CXX
=yes
14969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14970 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14972 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14973 case $lt_prog_compiler_pic_CXX in
14975 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14978 lt_prog_compiler_pic_CXX
=
14979 lt_prog_compiler_can_build_shared_CXX
=no
14987 # Check to make sure the static flag actually works.
14989 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14991 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14992 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14993 $as_echo_n "(cached) " >&6
14995 lt_cv_prog_compiler_static_works_CXX
=no
14996 save_LDFLAGS
="$LDFLAGS"
14997 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14998 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14999 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15000 # The linker can only warn and ignore the option if not recognized
15001 # So say no if there are warnings
15002 if test -s conftest.err
; then
15003 # Append any errors to the config.log.
15004 cat conftest.err
1>&5
15005 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
15006 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15007 if diff conftest.exp conftest.er2
>/dev
/null
; then
15008 lt_cv_prog_compiler_static_works_CXX
=yes
15011 lt_cv_prog_compiler_static_works_CXX
=yes
15015 LDFLAGS
="$save_LDFLAGS"
15018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15019 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15021 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
15024 lt_prog_compiler_static_CXX
=
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15031 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15032 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15033 $as_echo_n "(cached) " >&6
15035 lt_cv_prog_compiler_c_o_CXX
=no
15036 $RM -r conftest
2>/dev
/null
15040 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15042 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15043 # Insert the option either (1) after the last *FLAGS variable, or
15044 # (2) before a word containing "conftest.", or (3) at the end.
15045 # Note that $ac_compile itself does not contain backslashes and begins
15046 # with a dollar sign (not a hyphen), so the echo should work correctly.
15047 lt_compile
=`echo "$ac_compile" | $SED \
15048 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15049 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15050 -e 's:$: $lt_compiler_flag:'`
15051 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15052 (eval "$lt_compile" 2>out
/conftest.err
)
15054 cat out
/conftest.err
>&5
15055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15058 # The compiler can only warn and ignore the option if not recognized
15059 # So say no if there are warnings
15060 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15061 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15062 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15063 lt_cv_prog_compiler_c_o_CXX
=yes
15068 # SGI C++ compiler will create directory out/ii_files/ for
15069 # template instantiation
15070 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15071 $RM out
/* && rmdir out
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15078 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15083 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15084 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15085 $as_echo_n "(cached) " >&6
15087 lt_cv_prog_compiler_c_o_CXX
=no
15088 $RM -r conftest
2>/dev
/null
15092 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15094 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15095 # Insert the option either (1) after the last *FLAGS variable, or
15096 # (2) before a word containing "conftest.", or (3) at the end.
15097 # Note that $ac_compile itself does not contain backslashes and begins
15098 # with a dollar sign (not a hyphen), so the echo should work correctly.
15099 lt_compile
=`echo "$ac_compile" | $SED \
15100 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15101 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15102 -e 's:$: $lt_compiler_flag:'`
15103 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15104 (eval "$lt_compile" 2>out
/conftest.err
)
15106 cat out
/conftest.err
>&5
15107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15108 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15110 # The compiler can only warn and ignore the option if not recognized
15111 # So say no if there are warnings
15112 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15113 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15114 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15115 lt_cv_prog_compiler_c_o_CXX
=yes
15120 # SGI C++ compiler will create directory out/ii_files/ for
15121 # template instantiation
15122 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15123 $RM out
/* && rmdir out
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15130 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15135 hard_links
="nottested"
15136 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
15137 # do not overwrite the value of need_locks provided by the user
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15139 $as_echo_n "checking if we can lock with hard links... " >&6; }
15142 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15144 ln conftest.a conftest.b
2>&5 || hard_links
=no
15145 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15147 $as_echo "$hard_links" >&6; }
15148 if test "$hard_links" = no
; then
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15150 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15160 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15162 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15165 # If we're using GNU nm, then we don't want the "-C" option.
15166 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15167 # Also, AIX nm treats weak defined symbols like other global defined
15168 # symbols, whereas GNU nm marks them as "W".
15169 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
15170 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'
15172 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'
15176 export_symbols_cmds_CXX
="$ltdll_cmds"
15178 cygwin
* | mingw
* | cegcc
*)
15179 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'
15182 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15185 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15188 $as_echo "$ld_shlibs_CXX" >&6; }
15189 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15191 with_gnu_ld_CXX
=$with_gnu_ld
15199 # Do we need to explicitly link libc?
15201 case "x$archive_cmds_need_lc_CXX" in
15203 # Assume -lc should be added
15204 archive_cmds_need_lc_CXX
=yes
15206 if test "$enable_shared" = yes && test "$GCC" = yes; then
15207 case $archive_cmds_CXX in
15209 # FIXME: we may have to deal with multi-command sequences.
15212 # Test whether the compiler implicitly links with -lc since on some
15213 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15214 # to ld, don't add -lc before -lgcc.
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15216 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15217 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
15218 $as_echo_n "(cached) " >&6
15221 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15223 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15224 (eval $ac_compile) 2>&5
15226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15227 test $ac_status = 0; } 2>conftest.err
; then
15230 libobjs
=conftest.
$ac_objext
15232 wl
=$lt_prog_compiler_wl_CXX
15233 pic_flag
=$lt_prog_compiler_pic_CXX
15239 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15240 allow_undefined_flag_CXX
=
15241 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15242 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15245 test $ac_status = 0; }
15247 lt_cv_archive_cmds_need_lc_CXX
=no
15249 lt_cv_archive_cmds_need_lc_CXX
=yes
15251 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15253 cat conftest.err
1>&5
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15259 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15260 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15331 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15333 library_names_spec
=
15334 libname_spec
='lib$name'
15338 postuninstall_cmds
=
15342 shlibpath_overrides_runpath
=unknown
15344 dynamic_linker
="$host_os ld.so"
15345 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15346 need_lib_prefix
=unknown
15347 hardcode_into_libs
=no
15349 # when you set need_version to no, make sure it does not cause -set_version
15350 # flags to be left without arguments
15351 need_version
=unknown
15356 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15357 shlibpath_var
=LIBPATH
15359 # AIX 3 has no versioning support, so we append a major version to the name.
15360 soname_spec
='${libname}${release}${shared_ext}$major'
15367 hardcode_into_libs
=yes
15368 if test "$host_cpu" = ia64
; then
15369 # AIX 5 supports IA64
15370 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15371 shlibpath_var
=LD_LIBRARY_PATH
15373 # With GCC up to 2.95.x, collect2 would create an import file
15374 # for dependence libraries. The import file would start with
15375 # the line `#! .'. This would cause the generated library to
15376 # depend on `.', always an invalid library. This was fixed in
15377 # development snapshots of GCC prior to 3.0.
15379 aix4 | aix4.
[01] | aix4.
[01].
*)
15380 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15382 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15385 can_build_shared
=no
15389 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15390 # soname into executable. Probably we can add versioning support to
15391 # collect2, so additional links can be useful in future.
15392 if test "$aix_use_runtimelinking" = yes; then
15393 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15394 # instead of lib<name>.a to let people know that these are not
15395 # typical AIX shared libraries.
15396 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15398 # We preserve .a as extension for shared libraries through AIX4.2
15399 # and later when we are not doing run time linking.
15400 library_names_spec
='${libname}${release}.a $libname.a'
15401 soname_spec
='${libname}${release}${shared_ext}$major'
15403 shlibpath_var
=LIBPATH
15410 # Since July 2007 AmigaOS4 officially supports .so libraries.
15411 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15412 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15415 library_names_spec
='$libname.ixlibrary $libname.a'
15416 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15417 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'
15423 library_names_spec
='${libname}${shared_ext}'
15424 dynamic_linker
="$host_os ld.so"
15425 shlibpath_var
=LIBRARY_PATH
15431 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15432 soname_spec
='${libname}${release}${shared_ext}$major'
15433 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15434 shlibpath_var
=LD_LIBRARY_PATH
15435 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15436 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15437 # the default ld.so.conf also contains /usr/contrib/lib and
15438 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15439 # libtool to hard-code these into programs
15442 cygwin
* | mingw
* | pw32
* | cegcc
*)
15443 version_type
=windows
15448 case $GCC,$host_os in
15449 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15450 library_names_spec
='$libname.dll.a'
15451 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15452 postinstall_cmds
='base_file=`basename \${file}`~
15453 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15454 dldir=$destdir/`dirname \$dlpath`~
15455 test -d \$dldir || mkdir -p \$dldir~
15456 $install_prog $dir/$dlname \$dldir/$dlname~
15457 chmod a+x \$dldir/$dlname~
15458 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15459 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15461 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15462 dlpath=$dir/\$dldll~
15464 shlibpath_overrides_runpath
=yes
15468 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15469 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15473 # MinGW DLLs use traditional 'lib' prefix
15474 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15477 # pw32 DLLs use 'pw' prefix rather than 'lib'
15478 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15484 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15487 dynamic_linker
='Win32 ld.exe'
15488 # FIXME: first we should search . and the directory the executable is in
15492 darwin
* | rhapsody
*)
15493 dynamic_linker
="$host_os dyld"
15494 version_type
=darwin
15497 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15498 soname_spec
='${libname}${release}${major}$shared_ext'
15499 shlibpath_overrides_runpath
=yes
15500 shlibpath_var
=DYLD_LIBRARY_PATH
15501 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15503 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15510 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15511 soname_spec
='${libname}${release}${shared_ext}$major'
15512 shlibpath_var
=LD_LIBRARY_PATH
15515 freebsd
* | dragonfly
*)
15516 # DragonFly does not have aout. When/if they implement a new
15517 # versioning mechanism, adjust this.
15518 if test -x /usr
/bin
/objformat
; then
15519 objformat
=`/usr/bin/objformat`
15522 freebsd
[23].
*) objformat
=aout
;;
15523 *) objformat
=elf
;;
15526 version_type
=freebsd-
$objformat
15527 case $version_type in
15529 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15534 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15538 shlibpath_var
=LD_LIBRARY_PATH
15541 shlibpath_overrides_runpath
=yes
15543 freebsd3.
[01]* | freebsdelf3.
[01]*)
15544 shlibpath_overrides_runpath
=yes
15545 hardcode_into_libs
=yes
15547 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15548 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15549 shlibpath_overrides_runpath
=no
15550 hardcode_into_libs
=yes
15552 *) # from 4.6 on, and DragonFly
15553 shlibpath_overrides_runpath
=yes
15554 hardcode_into_libs
=yes
15563 dynamic_linker
="$host_os runtime_loader"
15564 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15565 soname_spec
='${libname}${release}${shared_ext}$major'
15566 shlibpath_var
=LIBRARY_PATH
15567 shlibpath_overrides_runpath
=yes
15568 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15569 hardcode_into_libs
=yes
15572 hpux9
* | hpux10
* | hpux11
*)
15573 # Give a soname corresponding to the major version so that dld.sl refuses to
15574 # link against other versions.
15581 hardcode_into_libs
=yes
15582 dynamic_linker
="$host_os dld.so"
15583 shlibpath_var
=LD_LIBRARY_PATH
15584 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15585 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15586 soname_spec
='${libname}${release}${shared_ext}$major'
15587 if test "X$HPUX_IA64_MODE" = X32
; then
15588 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15590 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15592 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15596 hardcode_into_libs
=yes
15597 dynamic_linker
="$host_os dld.sl"
15598 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15599 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15600 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15601 soname_spec
='${libname}${release}${shared_ext}$major'
15602 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15603 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15607 dynamic_linker
="$host_os dld.sl"
15608 shlibpath_var
=SHLIB_PATH
15609 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15610 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15611 soname_spec
='${libname}${release}${shared_ext}$major'
15614 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15615 postinstall_cmds
='chmod 555 $lib'
15616 # or fails outright, so override atomically:
15617 install_override_mode
=555
15624 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15625 soname_spec
='${libname}${release}${shared_ext}$major'
15626 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15627 shlibpath_var
=LD_LIBRARY_PATH
15628 shlibpath_overrides_runpath
=no
15629 hardcode_into_libs
=yes
15632 irix5
* | irix6
* | nonstopux
*)
15634 nonstopux
*) version_type
=nonstopux
;;
15636 if test "$lt_cv_prog_gnu_ld" = yes; then
15644 soname_spec
='${libname}${release}${shared_ext}$major'
15645 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15647 irix5
* | nonstopux
*)
15648 libsuff
= shlibsuff
=
15651 case $LD in # libtool.m4 will add one of these switches to LD
15652 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15653 libsuff
= shlibsuff
= libmagic
=32-bit;;
15654 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15655 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15656 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15657 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15658 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15662 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15663 shlibpath_overrides_runpath
=no
15664 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15665 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15666 hardcode_into_libs
=yes
15669 # No shared lib support for Linux oldld, aout, or coff.
15670 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15674 # This must be Linux ELF.
15676 # uclinux* changes (here and below) have been submitted to the libtool
15677 # project, but have not yet been accepted: they are GCC-local changes
15678 # for the time being. (See
15679 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15680 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
15684 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15685 soname_spec
='${libname}${release}${shared_ext}$major'
15686 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15687 shlibpath_var
=LD_LIBRARY_PATH
15688 shlibpath_overrides_runpath
=no
15690 # Some binutils ld are patched to set DT_RUNPATH
15691 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15692 $as_echo_n "(cached) " >&6
15694 lt_cv_shlibpath_overrides_runpath
=no
15695 save_LDFLAGS
=$LDFLAGS
15696 save_libdir
=$libdir
15697 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15698 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15699 if test x
$gcc_no_link = xyes
; then
15700 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15703 /* end confdefs.h. */
15713 if ac_fn_cxx_try_link
"$LINENO"; then :
15714 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15715 lt_cv_shlibpath_overrides_runpath
=yes
15718 rm -f core conftest.err conftest.
$ac_objext \
15719 conftest
$ac_exeext conftest.
$ac_ext
15720 LDFLAGS
=$save_LDFLAGS
15721 libdir
=$save_libdir
15725 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15727 # This implies no fast_install, which is unacceptable.
15728 # Some rework will be needed to allow for fast_install
15729 # before this can be enabled.
15730 hardcode_into_libs
=yes
15732 # Append ld.so.conf contents to the search path
15733 if test -f /etc
/ld.so.conf
; then
15734 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' ' '`
15735 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15738 # We used to test for /lib/ld.so.1 and disable shared libraries on
15739 # powerpc, because MkLinux only supported shared libraries with the
15740 # GNU dynamic linker. Since this was broken with cross compilers,
15741 # most powerpc-linux boxes support dynamic linking these days and
15742 # people can always --disable-shared, the test was removed, and we
15743 # assume the GNU/Linux dynamic linker is in use.
15744 dynamic_linker
='GNU/Linux ld.so'
15751 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15752 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15753 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15754 dynamic_linker
='NetBSD (a.out) ld.so'
15756 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15757 soname_spec
='${libname}${release}${shared_ext}$major'
15758 dynamic_linker
='NetBSD ld.elf_so'
15760 shlibpath_var
=LD_LIBRARY_PATH
15761 shlibpath_overrides_runpath
=yes
15762 hardcode_into_libs
=yes
15767 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15768 shlibpath_var
=LD_LIBRARY_PATH
15769 shlibpath_overrides_runpath
=yes
15776 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15777 soname_spec
='${libname}${release}${shared_ext}$major'
15778 shlibpath_var
=LD_LIBRARY_PATH
15779 shlibpath_overrides_runpath
=no
15780 hardcode_into_libs
=yes
15781 dynamic_linker
='ldqnx.so'
15786 sys_lib_dlsearch_path_spec
="/usr/lib"
15788 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15790 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15791 *) need_version
=no
;;
15793 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15794 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15795 shlibpath_var
=LD_LIBRARY_PATH
15796 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15798 openbsd2.
[89] | openbsd2.
[89].
*)
15799 shlibpath_overrides_runpath
=no
15802 shlibpath_overrides_runpath
=yes
15806 shlibpath_overrides_runpath
=yes
15811 libname_spec
='$name'
15814 library_names_spec
='$libname${shared_ext} $libname.a'
15815 dynamic_linker
='OS/2 ld.exe'
15816 shlibpath_var
=LIBPATH
15819 osf3
* | osf4
* | osf5
*)
15823 soname_spec
='${libname}${release}${shared_ext}$major'
15824 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15825 shlibpath_var
=LD_LIBRARY_PATH
15826 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15827 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15838 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15839 soname_spec
='${libname}${release}${shared_ext}$major'
15840 shlibpath_var
=LD_LIBRARY_PATH
15841 shlibpath_overrides_runpath
=yes
15842 hardcode_into_libs
=yes
15843 # ldd complains unless libraries are executable
15844 postinstall_cmds
='chmod +x $lib'
15849 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15850 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15851 shlibpath_var
=LD_LIBRARY_PATH
15852 shlibpath_overrides_runpath
=yes
15853 if test "$with_gnu_ld" = yes; then
15861 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15862 soname_spec
='${libname}${release}${shared_ext}$major'
15863 shlibpath_var
=LD_LIBRARY_PATH
15864 case $host_vendor in
15866 shlibpath_overrides_runpath
=no
15868 runpath_var
=LD_RUN_PATH
15876 shlibpath_overrides_runpath
=no
15877 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15883 if test -d /usr
/nec
;then
15885 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15886 soname_spec
='$libname${shared_ext}.$major'
15887 shlibpath_var
=LD_LIBRARY_PATH
15891 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15892 version_type
=freebsd-elf
15895 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15896 soname_spec
='${libname}${release}${shared_ext}$major'
15897 shlibpath_var
=LD_LIBRARY_PATH
15898 shlibpath_overrides_runpath
=yes
15899 hardcode_into_libs
=yes
15900 if test "$with_gnu_ld" = yes; then
15901 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15903 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15906 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15910 sys_lib_dlsearch_path_spec
='/usr/lib'
15914 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15918 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15919 shlibpath_var
=LD_LIBRARY_PATH
15920 shlibpath_overrides_runpath
=no
15921 hardcode_into_libs
=yes
15926 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15927 soname_spec
='${libname}${release}${shared_ext}$major'
15928 shlibpath_var
=LD_LIBRARY_PATH
15931 # Shared libraries for VwWorks, >= 7 only at this stage
15932 # and (fpic) still incompatible with "large" code models
15933 # in a few configurations. Only for RTP mode in any case,
15934 # and upon explicit request at configure time.
15937 case ${with_multisubdir}-${enable_shared} in
15944 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15945 soname_spec
='${libname}${release}${shared_ext}$major'
15946 dynamic_linker
="$host_os module_loader"
15954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15955 $as_echo "$dynamic_linker" >&6; }
15956 test "$dynamic_linker" = no
&& can_build_shared
=no
15958 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15959 if test "$GCC" = yes; then
15960 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15963 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15964 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15966 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15967 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16008 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16009 hardcode_action_CXX
=
16010 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16011 test -n "$runpath_var_CXX" ||
16012 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16014 # We can hardcode non-existent directories.
16015 if test "$hardcode_direct_CXX" != no
&&
16016 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16017 # have to relink, otherwise we might link with an installed library
16018 # when we should be linking with a yet-to-be-installed one
16019 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16020 test "$hardcode_minus_L_CXX" != no
; then
16021 # Linking always hardcodes the temporary library directory.
16022 hardcode_action_CXX
=relink
16024 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16025 hardcode_action_CXX
=immediate
16028 # We cannot hardcode anything, or else we can only hardcode existing
16030 hardcode_action_CXX
=unsupported
16032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16033 $as_echo "$hardcode_action_CXX" >&6; }
16035 if test "$hardcode_action_CXX" = relink ||
16036 test "$inherit_rpath_CXX" = yes; then
16037 # Fast installation is not supported
16038 enable_fast_install
=no
16039 elif test "$shlibpath_overrides_runpath" = yes ||
16040 test "$enable_shared" = no
; then
16041 # Fast installation is not necessary
16042 enable_fast_install
=needless
16051 fi # test -n "$compiler"
16057 with_gnu_ld
=$lt_save_with_gnu_ld
16058 lt_cv_path_LDCXX
=$lt_cv_path_LD
16059 lt_cv_path_LD
=$lt_save_path_LD
16060 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16061 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16062 fi # test "$_lt_caught_CXX_error" != yes
16065 ac_cpp
='$CPP $CPPFLAGS'
16066 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16067 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16068 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16082 ac_config_commands
="$ac_config_commands libtool"
16087 # Only expand once:
16091 # target_noncanonical variables...
16093 case ${build_alias} in
16094 "") build_noncanonical
=${build} ;;
16095 *) build_noncanonical
=${build_alias} ;;
16098 case ${host_alias} in
16099 "") host_noncanonical
=${build_noncanonical} ;;
16100 *) host_noncanonical
=${host_alias} ;;
16105 case ${target_alias} in
16106 "") target_noncanonical
=${host_noncanonical} ;;
16107 *) target_noncanonical
=${target_alias} ;;
16113 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
16114 # have matching libraries, they should use host libraries: Makefile.tpl
16115 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
16116 # However, they still use the build modules, because the corresponding
16117 # host modules (e.g. bison) are only built for the host when bootstrap
16119 # - build_subdir is where we find build modules, and never changes.
16120 # - build_libsubdir is where we find build libraries, and can be overridden.
16122 # Prefix 'build-' so this never conflicts with target_subdir.
16123 build_subdir
="build-${build_noncanonical}"
16125 # Check whether --with-build-libsubdir was given.
16126 if test "${with_build_libsubdir+set}" = set; then :
16127 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
16129 build_libsubdir
="$build_subdir"
16132 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
16133 if ( test $srcdir = .
&& test -d gcc
) \
16134 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
16135 host_subdir
="host-${host_noncanonical}"
16140 target_subdir
=${target_noncanonical}
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
16144 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
16145 # Check whether --enable-version-specific-runtime-libs was given.
16146 if test "${enable_version_specific_runtime_libs+set}" = set; then :
16147 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
16148 yes) version_specific_libs
=yes ;;
16149 no
) version_specific_libs
=no
;;
16150 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
16153 version_specific_libs
=no
16156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
16157 $as_echo "$version_specific_libs" >&6; }
16162 # Calculate toolexeclibdir
16163 # Also toolexecdir, though it's only used in toolexeclibdir
16164 case ${version_specific_libs} in
16166 # Need the gcc compiler version to know where to install libraries
16167 # and header files if --enable-version-specific-runtime-libs option
16169 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
16170 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
16173 if test -n "$with_cross_host" &&
16174 test x
"$with_cross_host" != x
"no"; then
16175 # Install a library built with a cross compiler in tooldir, not libdir.
16176 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
16177 toolexeclibdir
='$(toolexecdir)/lib'
16179 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
16180 toolexeclibdir
='$(libdir)'
16182 multi_os_directory
=`$CC -print-multi-os-directory`
16183 case $multi_os_directory in
16184 .
) ;; # Avoid trailing /.
16185 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
16194 ac_config_files
="$ac_config_files libproc_macro/Makefile"
16198 get_gcc_base_ver
="cat"
16200 # Check whether --with-gcc-major-version-only was given.
16201 if test "${with_gcc_major_version_only+set}" = set; then :
16202 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
16203 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
16211 { $as_echo "$as_me:${as_lineno-$LINENO}: libgrust has been configured." >&5
16212 $as_echo "$as_me: libgrust has been configured." >&6;}
16214 cat >confcache
<<\_ACEOF
16215 # This file is a shell script that caches the results of configure
16216 # tests run on this system so they can be shared between configure
16217 # scripts and configure runs, see configure's option --config-cache.
16218 # It is not useful on other systems. If it contains results you don't
16219 # want to keep, you may remove or edit it.
16221 # config.status only pays attention to the cache file if you give it
16222 # the --recheck option to rerun configure.
16224 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16225 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16226 # following values.
16230 # The following way of writing the cache mishandles newlines in values,
16231 # but we know of no workaround that is simple, portable, and efficient.
16232 # So, we kill variables containing newlines.
16233 # Ultrix sh set writes to stderr and can't be redirected directly,
16234 # and sets the high bit in the cache file unless we assign to the vars.
16236 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16237 eval ac_val
=\$
$ac_var
16241 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16242 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16245 _ | IFS | as_nl
) ;; #(
16246 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16247 *) { eval $ac_var=; unset $ac_var;} ;;
16253 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16254 *${as_nl}ac_space
=\
*)
16255 # `set' does not quote correctly, so add quotes: double-quote
16256 # substitution turns \\\\ into \\, and sed turns \\ into \.
16259 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16262 # `set' quotes correctly as required by POSIX, so do not add quotes.
16263 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16272 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16274 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16276 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16277 if test -w "$cache_file"; then
16278 if test "x$cache_file" != "x/dev/null"; then
16279 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16280 $as_echo "$as_me: updating cache $cache_file" >&6;}
16281 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16282 cat confcache
>"$cache_file"
16284 case $cache_file in #(
16286 mv -f confcache
"$cache_file"$$
&&
16287 mv -f "$cache_file"$$
"$cache_file" ;; #(
16289 mv -f confcache
"$cache_file" ;;
16294 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16295 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16300 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16301 # Let make expand exec_prefix.
16302 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16304 # Transform confdefs.h into DEFS.
16305 # Protect against shell expansion while executing Makefile rules.
16306 # Protect against Makefile macro expansion.
16308 # If the first sed substitution is executed (which looks for macros that
16309 # take arguments), then branch to the quote section. Otherwise,
16310 # look for a macro that doesn't take arguments.
16320 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
16322 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
16326 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
16339 DEFS
=`sed -n "$ac_script" confdefs.h`
16345 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16346 # 1. Remove the extension, and $U if already installed.
16347 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16348 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16349 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16350 # will be set to the directory where LIBOBJS objects are built.
16351 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16352 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16354 LIBOBJS
=$ac_libobjs
16356 LTLIBOBJS
=$ac_ltlibobjs
16359 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16360 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
16361 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16364 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16365 if test -n "$am_sleep_pid"; then
16366 # Hide warnings about reused PIDs.
16367 wait $am_sleep_pid 2>/dev
/null
16369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16370 $as_echo "done" >&6; }
16371 if test -n "$EXEEXT"; then
16373 am__EXEEXT_FALSE
='#'
16375 am__EXEEXT_TRUE
='#'
16379 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16380 as_fn_error $?
"conditional \"AMDEP\" was never defined.
16381 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16383 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16384 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
16385 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16387 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16388 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
16389 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16391 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16392 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
16393 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16395 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
16396 as_fn_error $?
"conditional \"am__fastdepCCAS\" was never defined.
16397 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16400 : "${CONFIG_STATUS=./config.status}"
16402 ac_clean_files_save
=$ac_clean_files
16403 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16405 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16407 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16409 # Generated by $as_me.
16410 # Run this file to recreate the current configuration.
16411 # Compiler output produced by configure, useful for debugging
16412 # configure, is in config.log if it exists.
16415 ac_cs_recheck=false
16418 SHELL=\${CONFIG_SHELL-$SHELL}
16421 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16422 ## -------------------- ##
16423 ## M4sh Initialization. ##
16424 ## -------------------- ##
16426 # Be more Bourne compatible
16427 DUALCASE
=1; export DUALCASE
# for MKS sh
16428 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16431 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16432 # is contrary to our usage. Disable this feature.
16433 alias -g '${1+"$@"}'='"$@"'
16434 setopt NO_GLOB_SUBST
16436 case `(set -o) 2>/dev/null` in #(
16448 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16449 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16450 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16451 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16452 # Prefer a ksh shell builtin over an external printf program on Solaris,
16453 # but without wasting forks for bash or zsh.
16454 if test -z "$BASH_VERSION$ZSH_VERSION" \
16455 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16456 as_echo='print
-r --'
16457 as_echo_n='print
-rn --'
16458 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16459 as_echo='printf %s
\n'
16460 as_echo_n='printf %s
'
16462 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16463 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16464 as_echo_n='/usr
/ucb
/echo -n'
16466 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16467 as_echo_n_body='eval
16471 expr "X$arg" : "X\\(.*\\)$as_nl";
16472 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16474 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16476 export as_echo_n_body
16477 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16479 export as_echo_body
16480 as_echo='sh
-c $as_echo_body as_echo
'
16483 # The user is always right.
16484 if test "${PATH_SEPARATOR+set}" != set; then
16486 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16487 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16494 # We need space, tab and new line, in precisely that order. Quoting is
16495 # there to prevent editors from complaining about space-tab.
16496 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16497 # splitting by setting IFS to empty value.)
16500 # Find who we are. Look in the path if we contain no directory separator.
16503 *[\\/]* ) as_myself=$0 ;;
16504 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16505 for as_dir in $PATH
16508 test -z "$as_dir" && as_dir=.
16509 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16515 # We did not find ourselves, most probably we were run as `sh COMMAND'
16516 # in which case we are not to be found in the path.
16517 if test "x$as_myself" = x
; then
16520 if test ! -f "$as_myself"; then
16521 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16525 # Unset variables that we do not need and which cause bugs (e.g. in
16526 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16527 # suppresses any "Segmentation fault" message there. '((' could
16528 # trigger a bug in pdksh 5.2.14.
16529 for as_var
in BASH_ENV ENV MAIL MAILPATH
16530 do eval test x\
${$as_var+set} = xset \
16531 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16544 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16547 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16548 # ----------------------------------------
16549 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16550 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16551 # script with STATUS, using 1 if that was 0.
16554 as_status
=$1; test $as_status -eq 0 && as_status
=1
16556 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16557 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16559 $as_echo "$as_me: error: $2" >&2
16560 as_fn_exit
$as_status
16564 # as_fn_set_status STATUS
16565 # -----------------------
16566 # Set $? to STATUS, without forking.
16567 as_fn_set_status
()
16570 } # as_fn_set_status
16572 # as_fn_exit STATUS
16573 # -----------------
16574 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16578 as_fn_set_status
$1
16584 # Portably unset VAR.
16587 { eval $1=; unset $1;}
16589 as_unset
=as_fn_unset
16590 # as_fn_append VAR VALUE
16591 # ----------------------
16592 # Append the text in VALUE to the end of the definition contained in VAR. Take
16593 # advantage of any shell optimizations that allow amortized linear growth over
16594 # repeated appends, instead of the typical quadratic growth present in naive
16596 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16597 eval 'as_fn_append ()
16608 # as_fn_arith ARG...
16609 # ------------------
16610 # Perform arithmetic evaluation on the ARGs, and store the result in the
16611 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16612 # must be portable across $(()) and expr.
16613 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16614 eval 'as_fn_arith ()
16621 as_val
=`expr "$@" || test $? -eq 1`
16626 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16627 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16633 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16634 as_basename
=basename
16639 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16645 as_me
=`$as_basename -- "$0" ||
16646 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16647 X"$0" : 'X\(//\)$' \| \
16648 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16650 sed '/^.*\/\([^/][^/]*\)\/*$/{
16664 # Avoid depending upon Character Ranges.
16665 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16666 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16667 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16668 as_cr_digits
='0123456789'
16669 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16671 ECHO_C
= ECHO_N
= ECHO_T
=
16672 case `echo -n x` in #(((((
16674 case `echo 'xy\c'` in
16675 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16677 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16684 rm -f conf$$ conf$$.exe conf$$.
file
16685 if test -d conf$$.dir
; then
16686 rm -f conf$$.dir
/conf$$.
file
16689 mkdir conf$$.dir
2>/dev
/null
16691 if (echo >conf$$.
file) 2>/dev
/null
; then
16692 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16694 # ... but there are two gotchas:
16695 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16696 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16697 # In both cases, we have to default to `cp -pR'.
16698 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16700 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16708 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16709 rmdir conf$$.dir
2>/dev
/null
16714 # Create "$as_dir" as a directory, including parents if necessary.
16719 -*) as_dir
=.
/$as_dir;;
16721 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16725 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16726 *) as_qdir
=$as_dir;;
16728 as_dirs
="'$as_qdir' $as_dirs"
16729 as_dir
=`$as_dirname -- "$as_dir" ||
16730 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16731 X"$as_dir" : 'X\(//\)[^/]' \| \
16732 X"$as_dir" : 'X\(//\)$' \| \
16733 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16734 $as_echo X"$as_dir" |
16735 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16739 /^X\(\/\/\)[^/].*/{
16752 test -d "$as_dir" && break
16754 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16755 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16759 if mkdir
-p .
2>/dev
/null
; then
16760 as_mkdir_p
='mkdir -p "$as_dir"'
16762 test -d .
/-p && rmdir .
/-p
16767 # as_fn_executable_p FILE
16768 # -----------------------
16769 # Test if FILE is an executable regular file.
16770 as_fn_executable_p
()
16772 test -f "$1" && test -x "$1"
16773 } # as_fn_executable_p
16774 as_test_x
='test -x'
16775 as_executable_p
=as_fn_executable_p
16777 # Sed expression to map a string onto a valid CPP name.
16778 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16780 # Sed expression to map a string onto a valid variable name.
16781 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16785 ## ----------------------------------- ##
16786 ## Main body of $CONFIG_STATUS script. ##
16787 ## ----------------------------------- ##
16789 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16791 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16792 # Save the log message, to keep $0 and so on meaningful, and to
16793 # report actual input values of CONFIG_FILES etc. instead of their
16794 # values after options handling.
16796 This file was extended by libgrust $as_me version-unused, which was
16797 generated by GNU Autoconf 2.69. Invocation command line was
16799 CONFIG_FILES = $CONFIG_FILES
16800 CONFIG_HEADERS = $CONFIG_HEADERS
16801 CONFIG_LINKS = $CONFIG_LINKS
16802 CONFIG_COMMANDS = $CONFIG_COMMANDS
16805 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16810 case $ac_config_files in *"
16811 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16816 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16817 # Files that config.status was made for.
16818 config_files="$ac_config_files"
16819 config_commands="$ac_config_commands"
16823 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16825 \`$as_me' instantiates files and other configuration actions
16826 from templates according to the current configuration. Unless the files
16827 and actions are specified as TAGs, all are instantiated by default.
16829 Usage: $0 [OPTION]... [TAG]...
16831 -h, --help print this help, then exit
16832 -V, --version print version number and configuration settings, then exit
16833 --config print configuration, then exit
16834 -q, --quiet, --silent
16835 do not print progress messages
16836 -d, --debug don't remove temporary files
16837 --recheck update $as_me by reconfiguring in the same conditions
16838 --file=FILE[:TEMPLATE]
16839 instantiate the configuration file FILE
16841 Configuration files:
16844 Configuration commands:
16847 Report bugs to the package provider."
16850 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16851 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16853 libgrust config.status version-unused
16854 configured by $0, generated by GNU Autoconf 2.69,
16855 with options \\"\$ac_cs_config\\"
16857 Copyright (C) 2012 Free Software Foundation, Inc.
16858 This config.status script is free software; the Free Software Foundation
16859 gives unlimited permission to copy, distribute and modify it."
16866 test -n "\$AWK" || AWK=awk
16869 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16870 # The default lists apply if the user does not specify any file.
16876 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16877 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16881 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16893 # Handling of the options.
16894 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16896 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16897 $as_echo "$ac_cs_version"; exit ;;
16898 --config |
--confi |
--conf |
--con |
--co |
--c )
16899 $as_echo "$ac_cs_config"; exit ;;
16900 --debug |
--debu |
--deb |
--de |
--d |
-d )
16902 --file |
--fil |
--fi |
--f )
16905 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16906 '') as_fn_error $?
"missing file argument" ;;
16908 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16909 ac_need_defaults
=false
;;
16910 --he |
--h |
--help |
--hel |
-h )
16911 $as_echo "$ac_cs_usage"; exit ;;
16912 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16913 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16916 # This is an error.
16917 -*) as_fn_error $?
"unrecognized option: \`$1'
16918 Try \`$0 --help' for more information." ;;
16920 *) as_fn_append ac_config_targets
" $1"
16921 ac_need_defaults
=false
;;
16927 ac_configure_extra_args
=
16929 if $ac_cs_silent; then
16931 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16935 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16936 if \$ac_cs_recheck; then
16937 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16939 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16940 CONFIG_SHELL='$SHELL'
16941 export CONFIG_SHELL
16946 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16950 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16951 ## Running $as_me. ##
16957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16965 with_multisubdir="$with_multisubdir"
16966 with_multisrctop="$with_multisrctop"
16967 with_target_subdir="$with_target_subdir"
16968 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16969 multi_basedir="$multi_basedir"
16970 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16973 GFORTRAN="$GFORTRAN"
16975 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16978 # The HP-UX ksh and POSIX shell print the target directory to stdout
16979 # if CDPATH is set.
16980 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16982 sed_quote_subst='$sed_quote_subst'
16983 double_quote_subst='$double_quote_subst'
16984 delay_variable_subst='$delay_variable_subst'
16985 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16986 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16987 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16988 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16989 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16990 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16991 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16992 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16993 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16994 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16995 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16996 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16997 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16998 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16999 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17000 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17001 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17002 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17003 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17004 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17005 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17006 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17007 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17008 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17009 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17010 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17011 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17012 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17013 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17014 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17015 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17016 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17017 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17018 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17019 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17020 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17021 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17022 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17023 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17024 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17025 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17026 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17027 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17028 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17029 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17030 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17031 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17032 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17033 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"`'
17034 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17035 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17036 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17037 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17038 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17039 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17040 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17041 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17042 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17043 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17044 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17045 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17046 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17047 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17048 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17049 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17050 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17051 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17052 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17053 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17054 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17055 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17056 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17057 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17058 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17059 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17060 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17061 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17062 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17063 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17064 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17065 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17066 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17067 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17068 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17069 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17070 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17071 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17072 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17073 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17074 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
17075 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17076 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17077 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17078 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17079 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17080 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17081 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17082 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17083 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17084 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17085 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17086 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17087 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17088 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17089 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17090 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17091 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17092 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17093 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17094 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17095 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17096 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17097 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17098 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17099 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17100 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17101 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17102 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17103 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17104 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17105 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17106 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17107 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17108 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17109 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17110 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17111 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17112 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17113 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17114 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17115 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17116 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17117 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17118 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17119 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17120 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17121 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17122 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17123 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17124 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17125 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17126 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17127 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17128 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17129 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17130 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17131 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17132 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17133 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17134 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17135 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17136 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17137 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
17138 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17139 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17140 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17141 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17142 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17143 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17144 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17145 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17146 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
17147 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17148 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17149 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17150 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17151 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17152 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17153 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17154 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17155 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17156 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17157 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17158 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17159 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17162 LTCFLAGS='$LTCFLAGS'
17163 compiler='$compiler_DEFAULT'
17165 # A function that is used when there is no print builtin or printf.
17166 func_fallback_echo ()
17168 eval 'cat <<_LTECHO_EOF
17173 # Quote evaled strings.
17187 deplibs_check_method \
17196 lt_cv_sys_global_symbol_pipe \
17197 lt_cv_sys_global_symbol_to_cdecl \
17198 lt_cv_sys_global_symbol_to_c_name_address \
17199 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17200 lt_prog_compiler_no_builtin_flag \
17201 lt_prog_compiler_wl \
17202 lt_prog_compiler_pic \
17203 lt_prog_compiler_static \
17204 lt_cv_prog_compiler_c_o \
17212 export_dynamic_flag_spec \
17213 whole_archive_flag_spec \
17214 compiler_needs_object \
17216 allow_undefined_flag \
17217 no_undefined_flag \
17218 hardcode_libdir_flag_spec \
17219 hardcode_libdir_flag_spec_ld \
17220 hardcode_libdir_separator \
17225 variables_saved_for_relink \
17227 library_names_spec \
17229 install_override_mode \
17233 compiler_lib_search_dirs \
17238 compiler_lib_search_path \
17242 lt_prog_compiler_no_builtin_flag_CXX \
17243 lt_prog_compiler_wl_CXX \
17244 lt_prog_compiler_pic_CXX \
17245 lt_prog_compiler_static_CXX \
17246 lt_cv_prog_compiler_c_o_CXX \
17247 export_dynamic_flag_spec_CXX \
17248 whole_archive_flag_spec_CXX \
17249 compiler_needs_object_CXX \
17251 allow_undefined_flag_CXX \
17252 no_undefined_flag_CXX \
17253 hardcode_libdir_flag_spec_CXX \
17254 hardcode_libdir_flag_spec_ld_CXX \
17255 hardcode_libdir_separator_CXX \
17256 fix_srcfile_path_CXX \
17257 exclude_expsyms_CXX \
17258 include_expsyms_CXX \
17259 file_list_spec_CXX \
17260 compiler_lib_search_dirs_CXX \
17261 predep_objects_CXX \
17262 postdep_objects_CXX \
17265 compiler_lib_search_path_CXX; do
17266 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17267 *[\\\\\\\`\\"\\\$]*)
17268 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17271 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17276 # Double-quote double-evaled strings.
17277 for var in reload_cmds \
17278 old_postinstall_cmds \
17279 old_postuninstall_cmds \
17281 extract_expsyms_cmds \
17282 old_archive_from_new_cmds \
17283 old_archive_from_expsyms_cmds \
17285 archive_expsym_cmds \
17287 module_expsym_cmds \
17288 export_symbols_cmds \
17291 postuninstall_cmds \
17293 sys_lib_search_path_spec \
17294 sys_lib_dlsearch_path_spec \
17296 old_archive_cmds_CXX \
17297 old_archive_from_new_cmds_CXX \
17298 old_archive_from_expsyms_cmds_CXX \
17300 archive_expsym_cmds_CXX \
17302 module_expsym_cmds_CXX \
17303 export_symbols_cmds_CXX \
17304 prelink_cmds_CXX; do
17305 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17306 *[\\\\\\\`\\"\\\$]*)
17307 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17310 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17315 ac_aux_dir='$ac_aux_dir'
17316 xsi_shell='$xsi_shell'
17317 lt_shell_append='$lt_shell_append'
17319 # See if we are running on zsh, and set the options which allow our
17320 # commands through without removal of \ escapes INIT.
17321 if test -n "\${ZSH_VERSION+set}" ; then
17322 setopt NO_GLOB_SUBST
17328 TIMESTAMP='$TIMESTAMP'
17339 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17341 # Handling of arguments.
17342 for ac_config_target
in $ac_config_targets
17344 case $ac_config_target in
17345 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17346 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
17347 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17348 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17349 "libproc_macro/Makefile") CONFIG_FILES
="$CONFIG_FILES libproc_macro/Makefile" ;;
17351 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17356 # If the user did not use the arguments to specify the items to instantiate,
17357 # then the envvar interface is used. Set only those that are not.
17358 # We use the long form for the default assignment because of an extremely
17359 # bizarre bug on SunOS 4.1.3.
17360 if $ac_need_defaults; then
17361 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17362 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17365 # Have a temporary directory for convenience. Make it in the build tree
17366 # simply because there is no reason against having it here, and in addition,
17367 # creating and moving files from /tmp can sometimes cause problems.
17368 # Hook for its removal unless debugging.
17369 # Note that there is a small window in which the directory will not be cleaned:
17370 # after its creation but before its name has been assigned to `$tmp'.
17374 trap 'exit_status=$?
17375 : "${ac_tmp:=$tmp}"
17376 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17378 trap 'as_fn_exit 1' 1 2 13 15
17380 # Create a (secure) tmp directory for tmp files.
17383 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17387 tmp
=.
/conf$$
-$RANDOM
17388 (umask 077 && mkdir
"$tmp")
17389 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
17392 # Set up the scripts for CONFIG_FILES section.
17393 # No need to generate them if there are no CONFIG_FILES.
17394 # This happens for instance with `./config.status config.h'.
17395 if test -n "$CONFIG_FILES"; then
17398 ac_cr
=`echo X | tr X '\015'`
17399 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17400 # But we know of no other shell where ac_cr would be empty at this
17401 # point, so we can use a bashism as a fallback.
17402 if test "x$ac_cr" = x
; then
17403 eval ac_cr
=\$
\'\\r
\'
17405 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17406 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17409 ac_cs_awk_cr
=$ac_cr
17412 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17417 echo "cat >conf$$subs.awk <<_ACEOF" &&
17418 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17420 } >conf$$subs.sh ||
17421 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17422 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17424 for ac_last_try in false false false false false :; do
17425 . ./conf$$subs.sh ||
17426 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17428 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17429 if test $ac_delim_n = $ac_delim_num; then
17431 elif $ac_last_try; then
17432 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17434 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17437 rm -f conf$$subs.sh
17439 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17440 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
17444 s/^/S["/; s
/!.
*/"]=/
17454 s/\(.\{148\}\)..*/\1/
17456 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17461 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17468 s/\(.\{148\}\)..*/\1/
17470 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17474 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17479 ' <conf$$subs.awk | sed '
17484 ' >>$CONFIG_STATUS || ac_write_fail=1
17485 rm -f conf$$subs.awk
17486 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17488 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17489 for (key in S) S_is_set[key] = 1
17495 nfields = split(line, field, "@
")
17497 len = length(field[1])
17498 for (i = 2; i < nfields; i++) {
17500 keylen = length(key)
17501 if (S_is_set[key]) {
17503 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17504 len += length(value) + length(field[++i])
17515 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17516 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17517 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17520 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17521 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17524 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17525 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17526 # trailing colons and then remove the whole line if VPATH becomes empty
17527 # (actually we leave an empty line to preserve line numbers).
17528 if test "x
$srcdir" = x.; then
17529 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17547 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17548 fi # test -n "$CONFIG_FILES"
17551 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
17556 :[FHLC]) ac_mode=$ac_tag; continue;;
17558 case $ac_mode$ac_tag in
17560 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
17561 :[FH]-) ac_tag=-:-;;
17562 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17579 -) ac_f="$ac_tmp/stdin";;
17580 *) # Look for the file first in the build tree, then in the source tree
17581 # (if the path is not absolute). The absolute path cannot be DOS-style,
17582 # because $ac_f cannot contain `:'.
17586 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17588 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17590 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
17591 as_fn_append ac_file_inputs " '$ac_f'"
17594 # Let's still pretend it is `configure' which instantiates (i.e., don't
17595 # use $as_me), people would be surprised to read:
17596 # /* config.h. Generated by config.status. */
17597 configure_input='Generated from '`
17598 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17600 if test x"$ac_file" != x-; then
17601 configure_input="$ac_file.
$configure_input"
17602 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
17603 $as_echo "$as_me: creating
$ac_file" >&6;}
17605 # Neutralize special characters interpreted by sed in replacement strings.
17606 case $configure_input in #(
17607 *\&* | *\|* | *\\* )
17608 ac_sed_conf_input=`$as_echo "$configure_input" |
17609 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17610 *) ac_sed_conf_input=$configure_input;;
17614 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
17615 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
17620 ac_dir=`$as_dirname -- "$ac_file" ||
17621 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17622 X"$ac_file" : 'X\(//\)[^/]' \| \
17623 X"$ac_file" : 'X\(//\)$' \| \
17624 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17625 $as_echo X"$ac_file" |
17626 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17630 /^X\(\/\/\)[^/].*/{
17643 as_dir="$ac_dir"; as_fn_mkdir_p
17647 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17649 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17650 # A "..
" for each directory in $ac_dir_suffix.
17651 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17652 case $ac_top_builddir_sub in
17653 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17654 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17657 ac_abs_top_builddir=$ac_pwd
17658 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17659 # for backward compatibility:
17660 ac_top_builddir=$ac_top_build_prefix
17663 .) # We are building in place.
17665 ac_top_srcdir=$ac_top_builddir_sub
17666 ac_abs_top_srcdir=$ac_pwd ;;
17667 [\\/]* | ?:[\\/]* ) # Absolute name.
17668 ac_srcdir=$srcdir$ac_dir_suffix;
17669 ac_top_srcdir=$srcdir
17670 ac_abs_top_srcdir=$srcdir ;;
17671 *) # Relative name.
17672 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17673 ac_top_srcdir=$ac_top_build_prefix$srcdir
17674 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17676 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17686 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17687 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17689 ac_MKDIR_P=$MKDIR_P
17691 [\\/$]* | ?:[\\/]* ) ;;
17692 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17697 # If the template does not know about datarootdir, expand it.
17698 # FIXME: This hack should be removed a few years after 2.60.
17699 ac_datarootdir_hack=; ac_datarootdir_seen=
17710 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
17711 *datarootdir*) ac_datarootdir_seen=yes;;
17712 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
17714 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
17716 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17717 ac_datarootdir_hack='
17718 s&@datadir@&$datadir&g
17719 s&@docdir@&$docdir&g
17720 s&@infodir@&$infodir&g
17721 s&@localedir@&$localedir&g
17722 s&@mandir@&$mandir&g
17723 s&\\\${datarootdir}&$datarootdir&g' ;;
17727 # Neutralize VPATH when `$srcdir' = `.'.
17728 # Shell code in configure.ac might set extrasub.
17729 # FIXME: do we really want to maintain this feature?
17730 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17731 ac_sed_extra="$ac_vpsub
17734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17736 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17737 s|@configure_input@|
$ac_sed_conf_input|
;t t
17738 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17739 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17740 s
&@srcdir@
&$ac_srcdir&;t t
17741 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17742 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17743 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17744 s
&@builddir@
&$ac_builddir&;t t
17745 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17746 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17747 s
&@INSTALL@
&$ac_INSTALL&;t t
17748 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17749 $ac_datarootdir_hack
17751 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
17752 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17754 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17755 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17756 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17757 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17759 which seems to be undefined. Please make sure it is defined" >&5
17760 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17761 which seems to be undefined. Please make sure it is defined" >&2;}
17763 rm -f "$ac_tmp/stdin"
17765 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17766 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17768 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17772 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17773 $as_echo "$as_me: executing $ac_file commands" >&6;}
17778 case $ac_file$ac_mode in
17780 # Only add multilib support code if we just rebuilt the top-level
17782 case " $CONFIG_FILES " in
17784 ac_file=Makefile . ${multi_basedir}/config-ml.in
17787 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17788 # Older Autoconf quotes --file arguments for eval, but not when files
17789 # are listed without --file. Let's play safe and only
enable the
eval
17790 # if we detect the quoting.
17791 case $CONFIG_FILES in
17792 *\'*) eval set x
"$CONFIG_FILES" ;;
17793 *) set x
$CONFIG_FILES ;;
17798 # Strip MF so we end up with the name of the file.
17799 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17800 # Check whether this is an Automake generated Makefile or not.
17801 # We used to match only the files named 'Makefile.in', but
17802 # some people rename them; so instead we look at the file content.
17803 # Grep'ing the first line is not enough: some people post-process
17804 # each Makefile.in and add a new line on top of each file to say so.
17805 # Grep'ing the whole file is not good either: AIX grep has a line
17806 # limit of 2048, but all sed's we know have understand at least 4000.
17807 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17808 dirpart
=`$as_dirname -- "$mf" ||
17809 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17810 X"$mf" : 'X\(//\)[^/]' \| \
17811 X"$mf" : 'X\(//\)$' \| \
17812 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17814 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17818 /^X\(\/\/\)[^/].*/{
17834 # Extract the definition of DEPDIR, am__include, and am__quote
17835 # from the Makefile without running 'make'.
17836 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17837 test -z "$DEPDIR" && continue
17838 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17839 test -z "$am__include" && continue
17840 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17841 # Find all dependency output files, they are included files with
17842 # $(DEPDIR) in their names. We invoke sed twice because it is the
17843 # simplest approach to changing $(DEPDIR) to its actual value in the
17845 for file in `sed -n "
17846 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17847 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17848 # Make sure the directory exists.
17849 test -f "$dirpart/$file" && continue
17850 fdir
=`$as_dirname -- "$file" ||
17851 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17852 X"$file" : 'X\(//\)[^/]' \| \
17853 X"$file" : 'X\(//\)$' \| \
17854 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17855 $as_echo X"$file" |
17856 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17860 /^X\(\/\/\)[^/].*/{
17873 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17874 # echo "creating $dirpart/$file"
17875 echo '# dummy' > "$dirpart/$file"
17882 # See if we are running on zsh, and set the options which allow our
17883 # commands through without removal of \ escapes.
17884 if test -n "${ZSH_VERSION+set}" ; then
17885 setopt NO_GLOB_SUBST
17888 cfgfile
="${ofile}T"
17889 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17892 cat <<_LT_EOF >> "$cfgfile"
17895 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17896 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17897 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17898 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17900 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17901 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17902 # Written by Gordon Matzigkeit, 1996
17904 # This file is part of GNU Libtool.
17906 # GNU Libtool is free software; you can redistribute it and/or
17907 # modify it under the terms of the GNU General Public License as
17908 # published by the Free Software Foundation; either version 2 of
17909 # the License, or (at your option) any later version.
17911 # As a special exception to the GNU General Public License,
17912 # if you distribute this file as part of a program or library that
17913 # is built using GNU Libtool, you may include this file under the
17914 # same distribution terms that you use for the rest of that program.
17916 # GNU Libtool is distributed in the hope that it will be useful,
17917 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17918 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17919 # GNU General Public License for more details.
17921 # You should have received a copy of the GNU General Public License
17922 # along with GNU Libtool; see the file COPYING. If not, a copy
17923 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17924 # obtained by writing to the Free Software Foundation, Inc.,
17925 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17928 # The names of the tagged configurations supported by this script.
17929 available_tags="CXX "
17931 # ### BEGIN LIBTOOL CONFIG
17933 # Which release of libtool.m4 was used?
17934 macro_version=$macro_version
17935 macro_revision=$macro_revision
17937 # Whether or not to build shared libraries.
17938 build_libtool_libs=$enable_shared
17940 # Whether or not to build static libraries.
17941 build_old_libs=$enable_static
17943 # What type of objects to build.
17946 # Whether or not to optimize for fast installation.
17947 fast_install=$enable_fast_install
17949 # Shell to use when invoking shell scripts.
17952 # An echo program that protects backslashes.
17956 host_alias=$host_alias
17960 # The build system.
17961 build_alias=$build_alias
17965 # A sed program that does not truncate output.
17968 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17969 Xsed="\$SED -e 1s/^X//"
17971 # A grep program that handles long lines.
17977 # A literal string matcher.
17980 # A BSD- or MS-compatible name lister.
17983 # Whether we need soft or hard links.
17986 # What is the maximum length of a command?
17987 max_cmd_len=$max_cmd_len
17989 # Object file suffix (normally "o").
17992 # Executable file suffix (normally "").
17995 # whether the shell understands "unset".
17998 # turn spaces into newlines.
18001 # turn newlines into spaces.
18004 # An object symbol dumper.
18005 OBJDUMP=$lt_OBJDUMP
18007 # Method to check whether dependent libraries are shared objects.
18008 deplibs_check_method=$lt_deplibs_check_method
18010 # Command to use when deplibs_check_method == "file_magic".
18011 file_magic_cmd=$lt_file_magic_cmd
18015 AR_FLAGS=$lt_AR_FLAGS
18017 # A symbol stripping program.
18020 # Commands used to install an old-style archive.
18022 old_postinstall_cmds=$lt_old_postinstall_cmds
18023 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18025 # Whether to use a lock for old archive extraction.
18026 lock_old_archive_extraction=$lock_old_archive_extraction
18031 # LTCC compiler flags.
18032 LTCFLAGS=$lt_CFLAGS
18034 # Take the output of nm and produce a listing of raw symbols and C names.
18035 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18037 # Transform the output of nm in a proper C declaration.
18038 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18040 # Transform the output of nm in a C name address pair.
18041 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18043 # Transform the output of nm in a C name address pair when lib prefix is needed.
18044 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18046 # The name of the directory that contains temporary libtool files.
18049 # Used to examine libraries when file_magic_cmd begins with "file".
18050 MAGIC_CMD=$MAGIC_CMD
18052 # Must we lock files when doing compilation?
18053 need_locks=$lt_need_locks
18055 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18056 DSYMUTIL=$lt_DSYMUTIL
18058 # Tool to change global to local symbols on Mac OS X.
18061 # Tool to manipulate fat objects and archives on Mac OS X.
18064 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18067 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18068 OTOOL64=$lt_OTOOL64
18070 # Old archive suffix (normally "a").
18073 # Shared library suffix (normally ".so").
18074 shrext_cmds=$lt_shrext_cmds
18076 # The commands to extract the exported symbol list from a shared archive.
18077 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18079 # Variables whose values should be saved in libtool wrapper scripts and
18080 # restored at link time.
18081 variables_saved_for_relink=$lt_variables_saved_for_relink
18083 # Do we need the "lib" prefix for modules?
18084 need_lib_prefix=$need_lib_prefix
18086 # Do we need a version for libraries?
18087 need_version=$need_version
18089 # Library versioning type.
18090 version_type=$version_type
18092 # Shared library runtime path variable.
18093 runpath_var=$runpath_var
18095 # Shared library path variable.
18096 shlibpath_var=$shlibpath_var
18098 # Is shlibpath searched before the hard-coded library search path?
18099 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18101 # Format of library name prefix.
18102 libname_spec=$lt_libname_spec
18104 # List of archive names. First name is the real one, the rest are links.
18105 # The last name is the one that the linker finds with -lNAME
18106 library_names_spec=$lt_library_names_spec
18108 # The coded name of the library, if different from the real name.
18109 soname_spec=$lt_soname_spec
18111 # Permission mode override for installation of shared libraries.
18112 install_override_mode=$lt_install_override_mode
18114 # Command to use after installation of a shared archive.
18115 postinstall_cmds=$lt_postinstall_cmds
18117 # Command to use after uninstallation of a shared archive.
18118 postuninstall_cmds=$lt_postuninstall_cmds
18120 # Commands used to finish a libtool library installation in a directory.
18121 finish_cmds=$lt_finish_cmds
18123 # As "finish_cmds", except a single script fragment to be evaled but
18125 finish_eval=$lt_finish_eval
18127 # Whether we should hardcode library paths into libraries.
18128 hardcode_into_libs=$hardcode_into_libs
18130 # Compile-time system search path for libraries.
18131 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18133 # Run-time system search path for libraries.
18134 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18136 # Whether dlopen is supported.
18137 dlopen_support=$enable_dlopen
18139 # Whether dlopen of programs is supported.
18140 dlopen_self=$enable_dlopen_self
18142 # Whether dlopen of statically linked programs is supported.
18143 dlopen_self_static=$enable_dlopen_self_static
18145 # Commands to strip libraries.
18146 old_striplib=$lt_old_striplib
18147 striplib=$lt_striplib
18150 # The linker used to build libraries.
18153 # How to create reloadable object files.
18154 reload_flag=$lt_reload_flag
18155 reload_cmds=$lt_reload_cmds
18157 # Commands used to build an old-style archive.
18158 old_archive_cmds=$lt_old_archive_cmds
18160 # A language specific compiler.
18163 # Is the compiler the GNU compiler?
18166 # Compiler flag to turn off builtin functions.
18167 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18169 # How to pass a linker flag through the compiler.
18170 wl=$lt_lt_prog_compiler_wl
18172 # Additional compiler flags for building library objects.
18173 pic_flag=$lt_lt_prog_compiler_pic
18175 # Compiler flag to prevent dynamic linking.
18176 link_static_flag=$lt_lt_prog_compiler_static
18178 # Does compiler simultaneously support -c and -o options?
18179 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18181 # Whether or not to add -lc for building shared libraries.
18182 build_libtool_need_lc=$archive_cmds_need_lc
18184 # Whether or not to disallow shared libs when runtime libs are static.
18185 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18187 # Compiler flag to allow reflexive dlopens.
18188 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18190 # Compiler flag to generate shared objects directly from archives.
18191 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18193 # Whether the compiler copes with passing no objects directly.
18194 compiler_needs_object=$lt_compiler_needs_object
18196 # Create an old-style archive from a shared archive.
18197 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18199 # Create a temporary old-style archive to link instead of a shared archive.
18200 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18202 # Commands used to build a shared archive.
18203 archive_cmds=$lt_archive_cmds
18204 archive_expsym_cmds=$lt_archive_expsym_cmds
18206 # Commands used to build a loadable module if different from building
18207 # a shared archive.
18208 module_cmds=$lt_module_cmds
18209 module_expsym_cmds=$lt_module_expsym_cmds
18211 # Whether we are building with GNU ld or not.
18212 with_gnu_ld=$lt_with_gnu_ld
18214 # Flag that allows shared libraries with undefined symbols to be built.
18215 allow_undefined_flag=$lt_allow_undefined_flag
18217 # Flag that enforces no undefined symbols.
18218 no_undefined_flag=$lt_no_undefined_flag
18220 # Flag to hardcode \$libdir into a binary during linking.
18221 # This must work even if \$libdir does not exist
18222 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18224 # If ld is used when linking, flag to hardcode \$libdir into a binary
18225 # during linking. This must work even if \$libdir does not exist.
18226 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18228 # Whether we need a single "-rpath" flag with a separated argument.
18229 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18231 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18232 # DIR into the resulting binary.
18233 hardcode_direct=$hardcode_direct
18235 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18236 # DIR into the resulting binary and the resulting library dependency is
18237 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18238 # library is relocated.
18239 hardcode_direct_absolute=$hardcode_direct_absolute
18241 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18242 # into the resulting binary.
18243 hardcode_minus_L=$hardcode_minus_L
18245 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18246 # into the resulting binary.
18247 hardcode_shlibpath_var=$hardcode_shlibpath_var
18249 # Set to "yes" if building a shared library automatically hardcodes DIR
18250 # into the library and all subsequent libraries and executables linked
18252 hardcode_automatic=$hardcode_automatic
18254 # Set to yes if linker adds runtime paths of dependent libraries
18255 # to runtime path list.
18256 inherit_rpath=$inherit_rpath
18258 # Whether libtool must link a program against all its dependency libraries.
18259 link_all_deplibs=$link_all_deplibs
18261 # Fix the shell variable \$srcfile for the compiler.
18262 fix_srcfile_path=$lt_fix_srcfile_path
18264 # Set to "yes" if exported symbols are required.
18265 always_export_symbols=$always_export_symbols
18267 # The commands to list exported symbols.
18268 export_symbols_cmds=$lt_export_symbols_cmds
18270 # Symbols that should not be listed in the preloaded symbols.
18271 exclude_expsyms=$lt_exclude_expsyms
18273 # Symbols that must always be exported.
18274 include_expsyms=$lt_include_expsyms
18276 # Commands necessary for linking programs (against libraries) with templates.
18277 prelink_cmds=$lt_prelink_cmds
18279 # Specify filename containing input files.
18280 file_list_spec=$lt_file_list_spec
18282 # How to hardcode a shared library path into an executable.
18283 hardcode_action=$hardcode_action
18285 # The directories searched by this compiler when creating a shared library.
18286 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18288 # Dependencies to place before and after the objects being linked to
18289 # create a shared library.
18290 predep_objects=$lt_predep_objects
18291 postdep_objects=$lt_postdep_objects
18292 predeps=$lt_predeps
18293 postdeps=$lt_postdeps
18295 # The library search path used internally by the compiler when linking
18296 # a shared library.
18297 compiler_lib_search_path=$lt_compiler_lib_search_path
18299 # ### END LIBTOOL CONFIG
18305 cat <<\_LT_EOF
>> "$cfgfile"
18306 # AIX sometimes has problems with the GCC collect2 program. For some
18307 # reason, if we set the COLLECT_NAMES environment variable, the problems
18308 # vanish in a puff of smoke.
18309 if test "X${COLLECT_NAMES+set}" != Xset
; then
18311 export COLLECT_NAMES
18318 ltmain
="$ac_aux_dir/ltmain.sh"
18321 # We use sed instead of cat because bash on DJGPP gets confused if
18322 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18323 # text mode, it properly converts lines to CR/LF. This bash problem
18324 # is reportedly fixed, but why not run on old versions too?
18325 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18326 ||
(rm -f "$cfgfile"; exit 1)
18330 cat << \_LT_EOF
>> "$cfgfile"
18332 # func_dirname file append nondir_replacement
18333 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18334 # otherwise set result to NONDIR_REPLACEMENT.
18338 */*) func_dirname_result
="${1%/*}${2}" ;;
18339 * ) func_dirname_result
="${3}" ;;
18343 # func_basename file
18346 func_basename_result
="${1##*/}"
18349 # func_dirname_and_basename file append nondir_replacement
18350 # perform func_basename and func_dirname in a single function
18352 # dirname: Compute the dirname of FILE. If nonempty,
18353 # add APPEND to the result, otherwise set result
18354 # to NONDIR_REPLACEMENT.
18355 # value returned in "$func_dirname_result"
18356 # basename: Compute filename of FILE.
18357 # value retuned in "$func_basename_result"
18358 # Implementation must be kept synchronized with func_dirname
18359 # and func_basename. For efficiency, we do not delegate to
18360 # those functions but instead duplicate the functionality here.
18361 func_dirname_and_basename
()
18364 */*) func_dirname_result
="${1%/*}${2}" ;;
18365 * ) func_dirname_result
="${3}" ;;
18367 func_basename_result
="${1##*/}"
18370 # func_stripname prefix suffix name
18371 # strip PREFIX and SUFFIX off of NAME.
18372 # PREFIX and SUFFIX must not contain globbing or regex special
18373 # characters, hashes, percent signs, but SUFFIX may contain a leading
18374 # dot (in which case that matches only a dot).
18377 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18378 # positional parameters, so assign one to ordinary parameter first.
18379 func_stripname_result
=${3}
18380 func_stripname_result
=${func_stripname_result#"${1}"}
18381 func_stripname_result
=${func_stripname_result%"${2}"}
18387 func_opt_split_opt
=${1%%=*}
18388 func_opt_split_arg
=${1#*=}
18395 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
18396 *) func_lo2o_result
=${1} ;;
18400 # func_xform libobj-or-source
18403 func_xform_result
=${1%.*}.lo
18406 # func_arith arithmetic-term...
18409 func_arith_result
=$
(( $
* ))
18413 # STRING may not start with a hyphen.
18416 func_len_result
=${#1}
18421 *) # Bourne compatible functions.
18422 cat << \_LT_EOF
>> "$cfgfile"
18424 # func_dirname file append nondir_replacement
18425 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18426 # otherwise set result to NONDIR_REPLACEMENT.
18429 # Extract subdirectory from the argument.
18430 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
18431 if test "X$func_dirname_result" = "X${1}"; then
18432 func_dirname_result
="${3}"
18434 func_dirname_result
="$func_dirname_result${2}"
18438 # func_basename file
18441 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
18445 # func_stripname prefix suffix name
18446 # strip PREFIX and SUFFIX off of NAME.
18447 # PREFIX and SUFFIX must not contain globbing or regex special
18448 # characters, hashes, percent signs, but SUFFIX may contain a leading
18449 # dot (in which case that matches only a dot).
18450 # func_strip_suffix prefix name
18454 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
18455 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
18460 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18461 my_sed_long_arg
='1s/^-[^=]*=//'
18466 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
18467 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
18473 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
18476 # func_xform libobj-or-source
18479 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
18482 # func_arith arithmetic-term...
18485 func_arith_result
=`expr "$@"`
18489 # STRING may not start with a hyphen.
18492 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18498 case $lt_shell_append in
18500 cat << \_LT_EOF
>> "$cfgfile"
18502 # func_append var value
18503 # Append VALUE to the end of shell variable VAR.
18511 cat << \_LT_EOF
>> "$cfgfile"
18513 # func_append var value
18514 # Append VALUE to the end of shell variable VAR.
18525 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18526 ||
(rm -f "$cfgfile"; exit 1)
18528 mv -f "$cfgfile" "$ofile" ||
18529 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18533 cat <<_LT_EOF >> "$ofile"
18535 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18537 # The linker used to build libraries.
18540 # How to create reloadable object files.
18541 reload_flag=$lt_reload_flag_CXX
18542 reload_cmds=$lt_reload_cmds_CXX
18544 # Commands used to build an old-style archive.
18545 old_archive_cmds=$lt_old_archive_cmds_CXX
18547 # A language specific compiler.
18548 CC=$lt_compiler_CXX
18550 # Is the compiler the GNU compiler?
18553 # Compiler flag to turn off builtin functions.
18554 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18556 # How to pass a linker flag through the compiler.
18557 wl=$lt_lt_prog_compiler_wl_CXX
18559 # Additional compiler flags for building library objects.
18560 pic_flag=$lt_lt_prog_compiler_pic_CXX
18562 # Compiler flag to prevent dynamic linking.
18563 link_static_flag=$lt_lt_prog_compiler_static_CXX
18565 # Does compiler simultaneously support -c and -o options?
18566 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18568 # Whether or not to add -lc for building shared libraries.
18569 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18571 # Whether or not to disallow shared libs when runtime libs are static.
18572 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18574 # Compiler flag to allow reflexive dlopens.
18575 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18577 # Compiler flag to generate shared objects directly from archives.
18578 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18580 # Whether the compiler copes with passing no objects directly.
18581 compiler_needs_object=$lt_compiler_needs_object_CXX
18583 # Create an old-style archive from a shared archive.
18584 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18586 # Create a temporary old-style archive to link instead of a shared archive.
18587 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18589 # Commands used to build a shared archive.
18590 archive_cmds=$lt_archive_cmds_CXX
18591 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18593 # Commands used to build a loadable module if different from building
18594 # a shared archive.
18595 module_cmds=$lt_module_cmds_CXX
18596 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18598 # Whether we are building with GNU ld or not.
18599 with_gnu_ld=$lt_with_gnu_ld_CXX
18601 # Flag that allows shared libraries with undefined symbols to be built.
18602 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18604 # Flag that enforces no undefined symbols.
18605 no_undefined_flag=$lt_no_undefined_flag_CXX
18607 # Flag to hardcode \$libdir into a binary during linking.
18608 # This must work even if \$libdir does not exist
18609 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18611 # If ld is used when linking, flag to hardcode \$libdir into a binary
18612 # during linking. This must work even if \$libdir does not exist.
18613 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18615 # Whether we need a single "-rpath" flag with a separated argument.
18616 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18618 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18619 # DIR into the resulting binary.
18620 hardcode_direct=$hardcode_direct_CXX
18622 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18623 # DIR into the resulting binary and the resulting library dependency is
18624 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18625 # library is relocated.
18626 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18628 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18629 # into the resulting binary.
18630 hardcode_minus_L=$hardcode_minus_L_CXX
18632 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18633 # into the resulting binary.
18634 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18636 # Set to "yes" if building a shared library automatically hardcodes DIR
18637 # into the library and all subsequent libraries and executables linked
18639 hardcode_automatic=$hardcode_automatic_CXX
18641 # Set to yes if linker adds runtime paths of dependent libraries
18642 # to runtime path list.
18643 inherit_rpath=$inherit_rpath_CXX
18645 # Whether libtool must link a program against all its dependency libraries.
18646 link_all_deplibs=$link_all_deplibs_CXX
18648 # Fix the shell variable \$srcfile for the compiler.
18649 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18651 # Set to "yes" if exported symbols are required.
18652 always_export_symbols=$always_export_symbols_CXX
18654 # The commands to list exported symbols.
18655 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18657 # Symbols that should not be listed in the preloaded symbols.
18658 exclude_expsyms=$lt_exclude_expsyms_CXX
18660 # Symbols that must always be exported.
18661 include_expsyms=$lt_include_expsyms_CXX
18663 # Commands necessary for linking programs (against libraries) with templates.
18664 prelink_cmds=$lt_prelink_cmds_CXX
18666 # Specify filename containing input files.
18667 file_list_spec=$lt_file_list_spec_CXX
18669 # How to hardcode a shared library path into an executable.
18670 hardcode_action=$hardcode_action_CXX
18672 # The directories searched by this compiler when creating a shared library.
18673 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18675 # Dependencies to place before and after the objects being linked to
18676 # create a shared library.
18677 predep_objects=$lt_predep_objects_CXX
18678 postdep_objects=$lt_postdep_objects_CXX
18679 predeps=$lt_predeps_CXX
18680 postdeps=$lt_postdeps_CXX
18682 # The library search path used internally by the compiler when linking
18683 # a shared library.
18684 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18686 # ### END LIBTOOL TAG CONFIG: CXX
18690 "libproc_macro/Makefile":F
) cat > vpsed$$
<< \_EOF
18691 s
!`test -f '$<' || echo '$(srcdir)/'`!!
18693 sed -f vpsed$$
$ac_file > tmp$$
18696 echo 'MULTISUBDIR =' >> $ac_file
18698 { ml_norecursion
=; unset ml_norecursion
;}
18707 ac_clean_files
=$ac_clean_files_save
18709 test $ac_write_fail = 0 ||
18710 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18713 # configure is writing to config.log, and then calls config.status.
18714 # config.status does its own redirection, appending to config.log.
18715 # Unfortunately, on DOS this fails, as config.log is still kept open
18716 # by configure, so config.status won't be able to write to it; its
18717 # output is simply discarded. So we exec the FD to /dev/null,
18718 # effectively closing config.log, so it can be properly (re)opened and
18719 # appended to by config.status. When coming back to configure, we
18720 # need to make the FD available again.
18721 if test "$no_create" != yes; then
18723 ac_config_status_args
=
18724 test "$silent" = yes &&
18725 ac_config_status_args
="$ac_config_status_args --quiet"
18727 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18729 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18730 # would make configure fail if this is the last instruction.
18731 $ac_cs_success || as_fn_exit
1
18733 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18735 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}