2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libcc1 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
='libcc1'
589 PACKAGE_TARNAME
='libcc1'
590 PACKAGE_VERSION
='version-unused'
591 PACKAGE_STRING
='libcc1 version-unused'
595 ac_unique_file
="libcc1.cc"
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
638 DARWIN_DYNAMIC_LOOKUP_FALSE
639 DARWIN_DYNAMIC_LOOKUP_TRUE
644 CONFIG_STATUS_DEPENDENCIES
673 MAINTAINER_MODE_FALSE
697 INSTALL_STRIP_PROGRAM
766 program_transform_name
779 enable_option_checking
781 enable_dependency_tracking
783 enable_maintainer_mode
791 with_gcc_major_version_only
795 ac_precious_vars
='build_alias
811 # Initialize some variables set by options.
813 ac_init_version
=false
814 ac_unrecognized_opts
=
816 # The variables have the same names as the options, with
817 # dashes changed to underlines.
825 program_transform_name
=s
,x
,x
,
833 # Installation directory options.
834 # These are left unexpanded so users can "make install exec_prefix=/foo"
835 # and all the variables that are supposed to be based on exec_prefix
836 # by default will actually change.
837 # Use braces instead of parens because sh, perl, etc. also accept them.
838 # (The list follows the same order as the GNU Coding Standards.)
839 bindir
='${exec_prefix}/bin'
840 sbindir
='${exec_prefix}/sbin'
841 libexecdir
='${exec_prefix}/libexec'
842 datarootdir
='${prefix}/share'
843 datadir
='${datarootdir}'
844 sysconfdir
='${prefix}/etc'
845 sharedstatedir
='${prefix}/com'
846 localstatedir
='${prefix}/var'
847 includedir
='${prefix}/include'
848 oldincludedir
='/usr/include'
849 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
850 infodir
='${datarootdir}/info'
855 libdir
='${exec_prefix}/lib'
856 localedir
='${datarootdir}/locale'
857 mandir
='${datarootdir}/man'
863 # If the previous option needs an argument, assign it.
864 if test -n "$ac_prev"; then
865 eval $ac_prev=\
$ac_option
871 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
876 # Accept the important Cygnus configure options, so we can diagnose typos.
878 case $ac_dashdash$ac_option in
882 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
884 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
887 -build |
--build |
--buil |
--bui |
--bu)
888 ac_prev
=build_alias
;;
889 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
890 build_alias
=$ac_optarg ;;
892 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
893 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
894 ac_prev
=cache_file
;;
895 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
896 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
897 cache_file
=$ac_optarg ;;
900 cache_file
=config.cache
;;
902 -datadir |
--datadir |
--datadi |
--datad)
904 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
905 datadir
=$ac_optarg ;;
907 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
908 |
--dataroo |
--dataro |
--datar)
909 ac_prev
=datarootdir
;;
910 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
911 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
912 datarootdir
=$ac_optarg ;;
914 -disable-* |
--disable-*)
915 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
916 # Reject names that are not valid shell variable names.
917 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
918 as_fn_error $?
"invalid feature name: $ac_useropt"
919 ac_useropt_orig
=$ac_useropt
920 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
921 case $ac_user_opts in
925 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
926 ac_unrecognized_sep
=', ';;
928 eval enable_
$ac_useropt=no
;;
930 -docdir |
--docdir |
--docdi |
--doc |
--do)
932 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
935 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
937 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
940 -enable-* |
--enable-*)
941 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
942 # Reject names that are not valid shell variable names.
943 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
944 as_fn_error $?
"invalid feature name: $ac_useropt"
945 ac_useropt_orig
=$ac_useropt
946 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
947 case $ac_user_opts in
951 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
952 ac_unrecognized_sep
=', ';;
954 eval enable_
$ac_useropt=\
$ac_optarg ;;
956 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
957 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
958 |
--exec |
--exe |
--ex)
959 ac_prev
=exec_prefix
;;
960 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
961 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
962 |
--exec=* |
--exe=* |
--ex=*)
963 exec_prefix
=$ac_optarg ;;
965 -gas |
--gas |
--ga |
--g)
966 # Obsolete; use --with-gas.
969 -help |
--help |
--hel |
--he |
-h)
971 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
972 ac_init_help
=recursive
;;
973 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
974 ac_init_help
=short
;;
976 -host |
--host |
--hos |
--ho)
977 ac_prev
=host_alias
;;
978 -host=* |
--host=* |
--hos=* |
--ho=*)
979 host_alias
=$ac_optarg ;;
981 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
983 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
985 htmldir
=$ac_optarg ;;
987 -includedir |
--includedir |
--includedi |
--included |
--include \
988 |
--includ |
--inclu |
--incl |
--inc)
989 ac_prev
=includedir
;;
990 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
991 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
992 includedir
=$ac_optarg ;;
994 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
996 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
997 infodir
=$ac_optarg ;;
999 -libdir |
--libdir |
--libdi |
--libd)
1001 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1002 libdir
=$ac_optarg ;;
1004 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1005 |
--libexe |
--libex |
--libe)
1006 ac_prev
=libexecdir
;;
1007 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1008 |
--libexe=* |
--libex=* |
--libe=*)
1009 libexecdir
=$ac_optarg ;;
1011 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1012 ac_prev
=localedir
;;
1013 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1014 localedir
=$ac_optarg ;;
1016 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1017 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1018 ac_prev
=localstatedir
;;
1019 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1020 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1021 localstatedir
=$ac_optarg ;;
1023 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1025 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1026 mandir
=$ac_optarg ;;
1028 -nfp |
--nfp |
--nf)
1029 # Obsolete; use --without-fp.
1032 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1033 |
--no-cr |
--no-c |
-n)
1036 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1037 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1040 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1041 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1042 |
--oldin |
--oldi |
--old |
--ol |
--o)
1043 ac_prev
=oldincludedir
;;
1044 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1045 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1046 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1047 oldincludedir
=$ac_optarg ;;
1049 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1051 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1052 prefix
=$ac_optarg ;;
1054 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1055 |
--program-pre |
--program-pr |
--program-p)
1056 ac_prev
=program_prefix
;;
1057 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1058 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1059 program_prefix
=$ac_optarg ;;
1061 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1062 |
--program-suf |
--program-su |
--program-s)
1063 ac_prev
=program_suffix
;;
1064 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1065 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1066 program_suffix
=$ac_optarg ;;
1068 -program-transform-name |
--program-transform-name \
1069 |
--program-transform-nam |
--program-transform-na \
1070 |
--program-transform-n |
--program-transform- \
1071 |
--program-transform |
--program-transfor \
1072 |
--program-transfo |
--program-transf \
1073 |
--program-trans |
--program-tran \
1074 |
--progr-tra |
--program-tr |
--program-t)
1075 ac_prev
=program_transform_name
;;
1076 -program-transform-name=* |
--program-transform-name=* \
1077 |
--program-transform-nam=* |
--program-transform-na=* \
1078 |
--program-transform-n=* |
--program-transform-=* \
1079 |
--program-transform=* |
--program-transfor=* \
1080 |
--program-transfo=* |
--program-transf=* \
1081 |
--program-trans=* |
--program-tran=* \
1082 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1083 program_transform_name
=$ac_optarg ;;
1085 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1087 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1088 pdfdir
=$ac_optarg ;;
1090 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1092 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1095 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1096 |
-silent |
--silent |
--silen |
--sile |
--sil)
1099 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1101 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1103 sbindir
=$ac_optarg ;;
1105 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1106 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1107 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1109 ac_prev
=sharedstatedir
;;
1110 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1111 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1112 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1114 sharedstatedir
=$ac_optarg ;;
1116 -site |
--site |
--sit)
1118 -site=* |
--site=* |
--sit=*)
1121 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1123 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1124 srcdir
=$ac_optarg ;;
1126 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1127 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1128 ac_prev
=sysconfdir
;;
1129 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1130 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1131 sysconfdir
=$ac_optarg ;;
1133 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1134 ac_prev
=target_alias
;;
1135 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1136 target_alias
=$ac_optarg ;;
1138 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1141 -version |
--version |
--versio |
--versi |
--vers |
-V)
1142 ac_init_version
=: ;;
1145 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1146 # Reject names that are not valid shell variable names.
1147 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1148 as_fn_error $?
"invalid package name: $ac_useropt"
1149 ac_useropt_orig
=$ac_useropt
1150 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1151 case $ac_user_opts in
1155 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1156 ac_unrecognized_sep
=', ';;
1158 eval with_
$ac_useropt=\
$ac_optarg ;;
1160 -without-* |
--without-*)
1161 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1162 # Reject names that are not valid shell variable names.
1163 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1164 as_fn_error $?
"invalid package name: $ac_useropt"
1165 ac_useropt_orig
=$ac_useropt
1166 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1167 case $ac_user_opts in
1171 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1172 ac_unrecognized_sep
=', ';;
1174 eval with_
$ac_useropt=no
;;
1177 # Obsolete; use --with-x.
1180 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1181 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1182 ac_prev
=x_includes
;;
1183 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1184 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1185 x_includes
=$ac_optarg ;;
1187 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1188 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1189 ac_prev
=x_libraries
;;
1190 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1191 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1192 x_libraries
=$ac_optarg ;;
1194 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1195 Try \`$0 --help' for more information"
1199 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1200 # Reject names that are not valid shell variable names.
1201 case $ac_envvar in #(
1202 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1203 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1205 eval $ac_envvar=\
$ac_optarg
1206 export $ac_envvar ;;
1209 # FIXME: should be removed in autoconf 3.0.
1210 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1211 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1212 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1213 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1219 if test -n "$ac_prev"; then
1220 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1221 as_fn_error $?
"missing argument to $ac_option"
1224 if test -n "$ac_unrecognized_opts"; then
1225 case $enable_option_checking in
1227 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1228 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1232 # Check all directory arguments for consistency.
1233 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1234 datadir sysconfdir sharedstatedir localstatedir includedir \
1235 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1236 libdir localedir mandir
1238 eval ac_val
=\$
$ac_var
1239 # Remove trailing slashes.
1242 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1243 eval $ac_var=\
$ac_val;;
1245 # Be sure to have absolute directory names.
1247 [\\/$
]* | ?
:[\\/]* ) continue;;
1248 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1250 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1253 # There might be people who depend on the old broken behavior: `$host'
1254 # used to hold the argument of --host etc.
1255 # FIXME: To remove some day.
1258 target
=$target_alias
1260 # FIXME: To remove some day.
1261 if test "x$host_alias" != x
; then
1262 if test "x$build_alias" = x
; then
1263 cross_compiling
=maybe
1264 elif test "x$build_alias" != "x$host_alias"; then
1270 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1272 test "$silent" = yes && exec 6>/dev
/null
1275 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1276 ac_ls_di
=`ls -di .` &&
1277 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1278 as_fn_error $?
"working directory cannot be determined"
1279 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1280 as_fn_error $?
"pwd does not report name of working directory"
1283 # Find the source files, if location was not specified.
1284 if test -z "$srcdir"; then
1285 ac_srcdir_defaulted
=yes
1286 # Try the directory containing this script, then the parent directory.
1287 ac_confdir
=`$as_dirname -- "$as_myself" ||
1288 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1289 X"$as_myself" : 'X\(//\)[^/]' \| \
1290 X"$as_myself" : 'X\(//\)$' \| \
1291 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1292 $as_echo X"$as_myself" |
1293 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1311 if test ! -r "$srcdir/$ac_unique_file"; then
1315 ac_srcdir_defaulted
=no
1317 if test ! -r "$srcdir/$ac_unique_file"; then
1318 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1319 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1321 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1323 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1325 # When building in place, set srcdir=.
1326 if test "$ac_abs_confdir" = "$ac_pwd"; then
1329 # Remove unnecessary trailing slashes from srcdir.
1330 # Double slashes in file names in object file debugging info
1331 # mess up M-x gdb in Emacs.
1333 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1335 for ac_var
in $ac_precious_vars; do
1336 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1337 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1338 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1339 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1343 # Report the --help message.
1345 if test "$ac_init_help" = "long"; then
1346 # Omit some internal or obsolete options to make the list less imposing.
1347 # This message is too long to be a string in the A/UX 3.1 sh.
1349 \`configure' configures libcc1 version-unused to adapt to many kinds of systems.
1351 Usage: $0 [OPTION]... [VAR=VALUE]...
1353 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1354 VAR=VALUE. See below for descriptions of some of the useful variables.
1356 Defaults for the options are specified in brackets.
1359 -h, --help display this help and exit
1360 --help=short display options specific to this package
1361 --help=recursive display the short help of all the included packages
1362 -V, --version display version information and exit
1363 -q, --quiet, --silent do not print \`checking ...' messages
1364 --cache-file=FILE cache test results in FILE [disabled]
1365 -C, --config-cache alias for \`--cache-file=config.cache'
1366 -n, --no-create do not create output files
1367 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1369 Installation directories:
1370 --prefix=PREFIX install architecture-independent files in PREFIX
1371 [$ac_default_prefix]
1372 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1375 By default, \`make install' will install all the files in
1376 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1377 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1378 for instance \`--prefix=\$HOME'.
1380 For better control, use the options below.
1382 Fine tuning of the installation directories:
1383 --bindir=DIR user executables [EPREFIX/bin]
1384 --sbindir=DIR system admin executables [EPREFIX/sbin]
1385 --libexecdir=DIR program executables [EPREFIX/libexec]
1386 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1387 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1388 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1389 --libdir=DIR object code libraries [EPREFIX/lib]
1390 --includedir=DIR C header files [PREFIX/include]
1391 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1392 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1393 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1394 --infodir=DIR info documentation [DATAROOTDIR/info]
1395 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1396 --mandir=DIR man documentation [DATAROOTDIR/man]
1397 --docdir=DIR documentation root [DATAROOTDIR/doc/libcc1]
1398 --htmldir=DIR html documentation [DOCDIR]
1399 --dvidir=DIR dvi documentation [DOCDIR]
1400 --pdfdir=DIR pdf documentation [DOCDIR]
1401 --psdir=DIR ps documentation [DOCDIR]
1407 --program-prefix=PREFIX prepend PREFIX to installed program names
1408 --program-suffix=SUFFIX append SUFFIX to installed program names
1409 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1412 --build=BUILD configure
for building on BUILD
[guessed
]
1413 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1414 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1418 if test -n "$ac_init_help"; then
1419 case $ac_init_help in
1420 short | recursive
) echo "Configuration of libcc1 version-unused:";;
1425 --disable-option-checking ignore unrecognized
--enable/--with options
1426 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1427 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1428 --enable-dependency-tracking
1429 do not reject slow dependency extractors
1430 --disable-dependency-tracking
1431 speeds up one-time build
1432 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1433 --disable-silent-rules verbose build output
(undo
: "make V=0")
1434 --enable-maintainer-mode
1435 enable make rules and dependencies not useful
(and
1436 sometimes confusing
) to the casual installer
1437 --enable-static[=PKGS
] build static libraries
[default
=no
]
1438 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1439 --enable-fast-install[=PKGS
]
1440 optimize
for fast installation
[default
=yes]
1441 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1442 --enable-cet enable Intel CET
in host libraries
[default
=auto
]
1443 --enable-werror-always enable -Werror despite compiler version
1444 --enable-plugin enable plugin support
1447 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1448 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1449 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1450 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1452 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1453 --with-gcc-major-version-only
1454 use only GCC major number
in filesystem paths
1456 Some influential environment variables
:
1457 CC C compiler
command
1458 CFLAGS C compiler flags
1459 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1460 nonstandard directory
<lib dir
>
1461 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1462 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1463 you have headers
in a nonstandard directory
<include dir
>
1465 CXX C
++ compiler
command
1466 CXXFLAGS C
++ compiler flags
1467 CXXCPP C
++ preprocessor
1468 GMPINC How to
find GMP include files
1470 Use these variables to override the choices made by
`configure' or to help
1471 it to find libraries and programs with nonstandard names/locations.
1473 Report bugs to the package provider.
1478 if test "$ac_init_help" = "recursive"; then
1479 # If there are subdirs, report their specific --help.
1480 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1481 test -d "$ac_dir" ||
1482 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1487 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1489 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1490 # A ".." for each directory in $ac_dir_suffix.
1491 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1492 case $ac_top_builddir_sub in
1493 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1494 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1497 ac_abs_top_builddir=$ac_pwd
1498 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1499 # for backward compatibility:
1500 ac_top_builddir=$ac_top_build_prefix
1503 .) # We are building in place.
1505 ac_top_srcdir=$ac_top_builddir_sub
1506 ac_abs_top_srcdir=$ac_pwd ;;
1507 [\\/]* | ?:[\\/]* ) # Absolute name.
1508 ac_srcdir=$srcdir$ac_dir_suffix;
1509 ac_top_srcdir=$srcdir
1510 ac_abs_top_srcdir=$srcdir ;;
1512 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1513 ac_top_srcdir=$ac_top_build_prefix$srcdir
1514 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1516 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1518 cd "$ac_dir" || { ac_status=$?; continue; }
1519 # Check for guested configure.
1520 if test -f "$ac_srcdir/configure.gnu"; then
1522 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1523 elif test -f "$ac_srcdir/configure"; then
1525 $SHELL "$ac_srcdir/configure" --help=recursive
1527 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1529 cd "$ac_pwd" || { ac_status=$?; break; }
1533 test -n "$ac_init_help" && exit $ac_status
1534 if $ac_init_version; then
1536 libcc1 configure version-unused
1537 generated by GNU Autoconf 2.69
1539 Copyright (C) 2012 Free Software Foundation, Inc.
1540 This configure script is free software; the Free Software Foundation
1541 gives unlimited permission to copy, distribute and modify it.
1546 ## ------------------------ ##
1547 ## Autoconf initialization. ##
1548 ## ------------------------ ##
1550 # ac_fn_c_try_compile LINENO
1551 # --------------------------
1552 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1553 ac_fn_c_try_compile ()
1555 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1556 rm -f conftest.$ac_objext
1557 if { { ac_try="$ac_compile"
1559 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1560 *) ac_try_echo
=$ac_try;;
1562 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1563 $as_echo "$ac_try_echo"; } >&5
1564 (eval "$ac_compile") 2>conftest.err
1566 if test -s conftest.err
; then
1567 grep -v '^ *+' conftest.err
>conftest.er1
1568 cat conftest.er1
>&5
1569 mv -f conftest.er1 conftest.err
1571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1572 test $ac_status = 0; } && {
1573 test -z "$ac_c_werror_flag" ||
1574 test ! -s conftest.err
1575 } && test -s conftest.
$ac_objext; then :
1578 $as_echo "$as_me: failed program was:" >&5
1579 sed 's/^/| /' conftest.
$ac_ext >&5
1583 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1584 as_fn_set_status
$ac_retval
1586 } # ac_fn_c_try_compile
1588 # ac_fn_c_try_cpp LINENO
1589 # ----------------------
1590 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1593 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1594 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1596 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1597 *) ac_try_echo=$ac_try;;
1599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1600 $as_echo "$ac_try_echo"; } >&5
1601 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1603 if test -s conftest.err; then
1604 grep -v '^ *+' conftest.err >conftest.er1
1605 cat conftest.er1 >&5
1606 mv -f conftest.er1 conftest.err
1608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1609 test $ac_status = 0; } > conftest.i && {
1610 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1611 test ! -s conftest.err
1615 $as_echo "$as_me: failed program was:" >&5
1616 sed 's/^/| /' conftest.$ac_ext >&5
1620 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1621 as_fn_set_status $ac_retval
1625 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1626 # -------------------------------------------------------
1627 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1628 # the include files in INCLUDES and setting the cache variable VAR
1630 ac_fn_c_check_header_mongrel ()
1632 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1633 if eval \${$3+:} false; then :
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1635 $as_echo_n "checking for $2... " >&6; }
1636 if eval \${$3+:} false; then :
1637 $as_echo_n "(cached) " >&6
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1641 $as_echo "$ac_res" >&6; }
1643 # Is the header compilable?
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1645 $as_echo_n "checking $2 usability... " >&6; }
1646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1647 /* end confdefs.h. */
1651 if ac_fn_c_try_compile "$LINENO"; then :
1652 ac_header_compiler=yes
1654 ac_header_compiler=no
1656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1658 $as_echo "$ac_header_compiler" >&6; }
1660 # Is the header present?
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1662 $as_echo_n "checking $2 presence... " >&6; }
1663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1664 /* end confdefs.h. */
1667 if ac_fn_c_try_cpp "$LINENO"; then :
1668 ac_header_preproc=yes
1670 ac_header_preproc=no
1672 rm -f conftest.err conftest.i conftest.$ac_ext
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1674 $as_echo "$ac_header_preproc" >&6; }
1676 # So? What about this header?
1677 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1680 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1682 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1686 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1688 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1690 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1692 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1694 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1698 $as_echo_n "checking for $2... " >&6; }
1699 if eval \${$3+:} false; then :
1700 $as_echo_n "(cached) " >&6
1702 eval "$3=\$ac_header_compiler"
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1706 $as_echo "$ac_res" >&6; }
1708 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1710 } # ac_fn_c_check_header_mongrel
1712 # ac_fn_c_try_run LINENO
1713 # ----------------------
1714 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1715 # that executables *can* be run.
1718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719 if { { ac_try="$ac_link"
1721 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1722 *) ac_try_echo
=$ac_try;;
1724 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726 (eval "$ac_link") 2>&5
1728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1729 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1730 { { case "(($ac_try" in
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_try") 2>&5
1738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1739 test $ac_status = 0; }; }; then :
1742 $as_echo "$as_me: program exited with status $ac_status" >&5
1743 $as_echo "$as_me: failed program was:" >&5
1744 sed 's/^/| /' conftest.$ac_ext >&5
1746 ac_retval=$ac_status
1748 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1749 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1750 as_fn_set_status $ac_retval
1754 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1755 # -------------------------------------------------------
1756 # Tests whether HEADER exists and can be compiled using the include files in
1757 # INCLUDES, setting the cache variable VAR accordingly.
1758 ac_fn_c_check_header_compile ()
1760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1762 $as_echo_n "checking for $2... " >&6; }
1763 if eval \${$3+:} false; then :
1764 $as_echo_n "(cached) " >&6
1766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1767 /* end confdefs.h. */
1771 if ac_fn_c_try_compile "$LINENO"; then :
1776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1780 $as_echo "$ac_res" >&6; }
1781 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1783 } # ac_fn_c_check_header_compile
1785 # ac_fn_c_try_link LINENO
1786 # -----------------------
1787 # Try to link conftest.$ac_ext, and return whether this succeeded.
1790 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1791 rm -f conftest.$ac_objext conftest$ac_exeext
1792 if { { ac_try="$ac_link"
1794 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1795 *) ac_try_echo
=$ac_try;;
1797 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1798 $as_echo "$ac_try_echo"; } >&5
1799 (eval "$ac_link") 2>conftest.err
1801 if test -s conftest.err
; then
1802 grep -v '^ *+' conftest.err
>conftest.er1
1803 cat conftest.er1
>&5
1804 mv -f conftest.er1 conftest.err
1806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1807 test $ac_status = 0; } && {
1808 test -z "$ac_c_werror_flag" ||
1809 test ! -s conftest.err
1810 } && test -s conftest
$ac_exeext && {
1811 test "$cross_compiling" = yes ||
1812 test -x conftest
$ac_exeext
1816 $as_echo "$as_me: failed program was:" >&5
1817 sed 's/^/| /' conftest.
$ac_ext >&5
1821 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1822 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1823 # interfere with the next link command; also delete a directory that is
1824 # left behind by Apple's compiler. We do this before executing the actions.
1825 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1826 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1827 as_fn_set_status
$ac_retval
1829 } # ac_fn_c_try_link
1831 # ac_fn_c_check_func LINENO FUNC VAR
1832 # ----------------------------------
1833 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1834 ac_fn_c_check_func
()
1836 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1838 $as_echo_n "checking for $2... " >&6; }
1839 if eval \
${$3+:} false
; then :
1840 $as_echo_n "(cached) " >&6
1842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1843 /* end confdefs.h. */
1844 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1846 #define $2 innocuous_$2
1848 /* System header to define __stub macros and hopefully few prototypes,
1849 which can conflict with char $2 (); below.
1850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1851 <limits.h> exists even on freestanding compilers. */
1854 # include <limits.h>
1856 # include <assert.h>
1861 /* Override any GCC internal prototype to avoid an error.
1862 Use char because int might match the return type of a GCC
1863 builtin and then its argument prototype would still apply. */
1868 /* The GNU C library defines this for functions which it implements
1869 to always fail with ENOSYS. Some functions are actually named
1870 something starting with __ and the normal name is an alias. */
1871 #if defined __stub_$2 || defined __stub___$2
1883 if ac_fn_c_try_link
"$LINENO"; then :
1888 rm -f core conftest.err conftest.
$ac_objext \
1889 conftest
$ac_exeext conftest.
$ac_ext
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1893 $as_echo "$ac_res" >&6; }
1894 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1896 } # ac_fn_c_check_func
1898 # ac_fn_cxx_try_compile LINENO
1899 # ----------------------------
1900 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1901 ac_fn_cxx_try_compile
()
1903 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1904 rm -f conftest.
$ac_objext
1905 if { { ac_try
="$ac_compile"
1907 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1908 *) ac_try_echo=$ac_try;;
1910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1911 $as_echo "$ac_try_echo"; } >&5
1912 (eval "$ac_compile") 2>conftest.err
1914 if test -s conftest.err; then
1915 grep -v '^ *+' conftest.err >conftest.er1
1916 cat conftest.er1 >&5
1917 mv -f conftest.er1 conftest.err
1919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1920 test $ac_status = 0; } && {
1921 test -z "$ac_cxx_werror_flag" ||
1922 test ! -s conftest.err
1923 } && test -s conftest.$ac_objext; then :
1926 $as_echo "$as_me: failed program was:" >&5
1927 sed 's/^/| /' conftest.$ac_ext >&5
1931 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1932 as_fn_set_status $ac_retval
1934 } # ac_fn_cxx_try_compile
1936 # ac_fn_cxx_try_cpp LINENO
1937 # ------------------------
1938 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1939 ac_fn_cxx_try_cpp ()
1941 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1942 if { { ac_try="$ac_cpp conftest.$ac_ext"
1944 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1945 *) ac_try_echo
=$ac_try;;
1947 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1948 $as_echo "$ac_try_echo"; } >&5
1949 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1951 if test -s conftest.err
; then
1952 grep -v '^ *+' conftest.err
>conftest.er1
1953 cat conftest.er1
>&5
1954 mv -f conftest.er1 conftest.err
1956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1957 test $ac_status = 0; } > conftest.i
&& {
1958 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1959 test ! -s conftest.err
1963 $as_echo "$as_me: failed program was:" >&5
1964 sed 's/^/| /' conftest.
$ac_ext >&5
1968 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1969 as_fn_set_status
$ac_retval
1971 } # ac_fn_cxx_try_cpp
1973 # ac_fn_cxx_try_link LINENO
1974 # -------------------------
1975 # Try to link conftest.$ac_ext, and return whether this succeeded.
1976 ac_fn_cxx_try_link
()
1978 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1979 rm -f conftest.
$ac_objext conftest
$ac_exeext
1980 if { { ac_try
="$ac_link"
1982 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1983 *) ac_try_echo=$ac_try;;
1985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1986 $as_echo "$ac_try_echo"; } >&5
1987 (eval "$ac_link") 2>conftest.err
1989 if test -s conftest.err; then
1990 grep -v '^ *+' conftest.err >conftest.er1
1991 cat conftest.er1 >&5
1992 mv -f conftest.er1 conftest.err
1994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1995 test $ac_status = 0; } && {
1996 test -z "$ac_cxx_werror_flag" ||
1997 test ! -s conftest.err
1998 } && test -s conftest$ac_exeext && {
1999 test "$cross_compiling" = yes ||
2000 test -x conftest$ac_exeext
2004 $as_echo "$as_me: failed program was:" >&5
2005 sed 's/^/| /' conftest.$ac_ext >&5
2009 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2010 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2011 # interfere with the next link command; also delete a directory that is
2012 # left behind by Apple's compiler. We do this before executing the actions.
2013 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2014 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2015 as_fn_set_status $ac_retval
2017 } # ac_fn_cxx_try_link
2019 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2020 # ---------------------------------------------
2021 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2023 ac_fn_c_check_decl ()
2025 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2026 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2027 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2029 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2030 if eval \${$3+:} false; then :
2031 $as_echo_n "(cached) " >&6
2033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2034 /* end confdefs.h. */
2039 #ifndef $as_decl_name
2041 (void) $as_decl_use;
2043 (void) $as_decl_name;
2051 if ac_fn_c_try_compile "$LINENO"; then :
2056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2060 $as_echo "$ac_res" >&6; }
2061 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2063 } # ac_fn_c_check_decl
2064 cat >config.log <<_ACEOF
2065 This file contains any messages produced by compilers while
2066 running configure, to aid debugging if configure makes a mistake.
2068 It was created by libcc1 $as_me version-unused, which was
2069 generated by GNU Autoconf 2.69. Invocation command line was
2081 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2082 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2083 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2084 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2085 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2087 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2088 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2090 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2091 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2092 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2093 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2094 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2095 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2096 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2104 test -z "$as_dir" && as_dir=.
2105 $as_echo "PATH: $as_dir"
2121 # Keep a trace of the command line.
2122 # Strip out --no-create and --no-recursion so they do not pile up.
2123 # Strip out --silent because we don't want to record it for future runs.
2124 # Also quote any args containing shell meta-characters.
2125 # Make two passes to allow for proper duplicate-argument suppression.
2129 ac_must_keep_next=false
2135 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2136 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2137 | -silent | --silent | --silen | --sile | --sil)
2140 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2143 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2145 as_fn_append ac_configure_args1 " '$ac_arg'"
2146 if test $ac_must_keep_next = true; then
2147 ac_must_keep_next=false # Got value, back to normal.
2150 *=* | --config-cache | -C | -disable-* | --disable-* \
2151 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2152 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2153 | -with-* | --with-* | -without-* | --without-* | --x)
2154 case "$ac_configure_args0 " in
2155 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2158 -* ) ac_must_keep_next=true ;;
2161 as_fn_append ac_configure_args " '$ac_arg'"
2166 { ac_configure_args0=; unset ac_configure_args0;}
2167 { ac_configure_args1=; unset ac_configure_args1;}
2169 # When interrupted or exit'd, cleanup temporary files, and complete
2170 # config.log. We remove comments because anyway the quotes in there
2171 # would cause problems or look ugly.
2172 # WARNING: Use '\'' to represent an apostrophe within the trap.
2173 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2174 trap 'exit_status=$?
2175 # Save into config.log some information that might help in debugging.
2179 $as_echo "## ---------------- ##
2180 ## Cache variables. ##
2181 ## ---------------- ##"
2183 # The following way of writing the cache mishandles newlines in values,
2185 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2186 eval ac_val=\$$ac_var
2190 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2191 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2194 _ | IFS | as_nl) ;; #(
2195 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2196 *) { eval $ac_var=; unset $ac_var;} ;;
2201 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2202 *${as_nl}ac_space=\ *)
2204 "s/'\''/'\''\\\\'\'''\''/g;
2205 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2208 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2215 $as_echo "## ----------------- ##
2216 ## Output variables. ##
2217 ## ----------------- ##"
2219 for ac_var in $ac_subst_vars
2221 eval ac_val=\$$ac_var
2223 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2225 $as_echo "$ac_var='\''$ac_val'\''"
2229 if test -n "$ac_subst_files"; then
2230 $as_echo "## ------------------- ##
2231 ## File substitutions. ##
2232 ## ------------------- ##"
2234 for ac_var in $ac_subst_files
2236 eval ac_val=\$$ac_var
2238 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2240 $as_echo "$ac_var='\''$ac_val'\''"
2245 if test -s confdefs.h; then
2246 $as_echo "## ----------- ##
2253 test "$ac_signal" != 0 &&
2254 $as_echo "$as_me: caught signal $ac_signal"
2255 $as_echo "$as_me: exit $exit_status"
2257 rm -f core *.core core.conftest.* &&
2258 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2261 for ac_signal in 1 2 13 15; do
2262 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2266 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2267 rm -f -r conftest* confdefs.h
2269 $as_echo "/* confdefs.h */" > confdefs.h
2271 # Predefined preprocessor variables.
2273 cat >>confdefs.h <<_ACEOF
2274 #define PACKAGE_NAME "$PACKAGE_NAME"
2277 cat >>confdefs.h <<_ACEOF
2278 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2281 cat >>confdefs.h <<_ACEOF
2282 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2285 cat >>confdefs.h <<_ACEOF
2286 #define PACKAGE_STRING "$PACKAGE_STRING"
2289 cat >>confdefs.h <<_ACEOF
2290 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2293 cat >>confdefs.h <<_ACEOF
2294 #define PACKAGE_URL "$PACKAGE_URL"
2298 # Let the site file select an alternate cache file if it wants to.
2299 # Prefer an explicitly selected file to automatically selected ones.
2302 if test -n "$CONFIG_SITE"; then
2303 # We do not want a PATH search for config.site.
2304 case $CONFIG_SITE in #((
2305 -*) ac_site_file1=./$CONFIG_SITE;;
2306 */*) ac_site_file1=$CONFIG_SITE;;
2307 *) ac_site_file1=./$CONFIG_SITE;;
2309 elif test "x$prefix" != xNONE; then
2310 ac_site_file1=$prefix/share/config.site
2311 ac_site_file2=$prefix/etc/config.site
2313 ac_site_file1=$ac_default_prefix/share/config.site
2314 ac_site_file2=$ac_default_prefix/etc/config.site
2316 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2318 test "x$ac_site_file" = xNONE && continue
2319 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2321 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2322 sed 's/^/| /' "$ac_site_file" >&5
2324 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2326 as_fn_error $? "failed to load site
script $ac_site_file
2327 See \
`config.log' for more details" "$LINENO" 5; }
2331 if test -r "$cache_file"; then
2332 # Some versions of bash will fail to source /dev/null (special files
2333 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2334 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2336 $as_echo "$as_me: loading cache $cache_file" >&6;}
2338 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2339 *) . "./$cache_file";;
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2344 $as_echo "$as_me: creating cache $cache_file" >&6;}
2348 # Check that the precious variables saved in the cache have kept the same
2350 ac_cache_corrupted=false
2351 for ac_var in $ac_precious_vars; do
2352 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2353 eval ac_new_set=\$ac_env_${ac_var}_set
2354 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2355 eval ac_new_val=\$ac_env_${ac_var}_value
2356 case $ac_old_set,$ac_new_set in
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2359 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2360 ac_cache_corrupted=: ;;
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2363 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2364 ac_cache_corrupted=: ;;
2367 if test "x$ac_old_val" != "x$ac_new_val"; then
2368 # differences in whitespace do not lead to failure.
2369 ac_old_val_w=`echo x
$ac_old_val`
2370 ac_new_val_w=`echo x
$ac_new_val`
2371 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2373 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2374 ac_cache_corrupted=:
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2377 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2378 eval $ac_var=\$ac_old_val
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2381 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2383 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2386 # Pass precious variables to config.status.
2387 if test "$ac_new_set" = set; then
2389 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2390 *) ac_arg=$ac_var=$ac_new_val ;;
2392 case " $ac_configure_args " in
2393 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2394 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2398 if $ac_cache_corrupted; then
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2402 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2403 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2405 ## -------------------- ##
2406 ## Main body of script. ##
2407 ## -------------------- ##
2410 ac_cpp='$CPP $CPPFLAGS'
2411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2420 ac_config_headers="$ac_config_headers cc1plugin-config.h"
2424 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2425 if test -f "$ac_dir/install-sh"; then
2427 ac_install_sh="$ac_aux_dir/install-sh -c"
2429 elif test -f "$ac_dir/install.sh"; then
2431 ac_install_sh="$ac_aux_dir/install.sh -c"
2433 elif test -f "$ac_dir/shtool"; then
2435 ac_install_sh="$ac_aux_dir/shtool install -c"
2439 if test -z "$ac_aux_dir"; then
2440 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2443 # These three variables are undocumented and unsupported,
2444 # and are intended to be withdrawn in a future Autoconf release.
2445 # They can cause serious problems if a builder's source tree is in a directory
2446 # whose full name contains unusual characters.
2447 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2448 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2449 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2452 # Make sure we can run config.sub.
2453 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2454 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2457 $as_echo_n "checking build system type... " >&6; }
2458 if ${ac_cv_build+:} false; then :
2459 $as_echo_n "(cached) " >&6
2461 ac_build_alias=$build_alias
2462 test "x$ac_build_alias" = x &&
2463 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2464 test "x$ac_build_alias" = x &&
2465 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2466 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2467 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2471 $as_echo "$ac_cv_build" >&6; }
2472 case $ac_cv_build in
2474 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2477 ac_save_IFS=$IFS; IFS='-'
2483 # Remember, the first character of IFS is used to create $*,
2484 # except with old shells:
2487 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2491 $as_echo_n "checking host system type... " >&6; }
2492 if ${ac_cv_host+:} false; then :
2493 $as_echo_n "(cached) " >&6
2495 if test "x$host_alias" = x; then
2496 ac_cv_host=$ac_cv_build
2498 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2499 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2504 $as_echo "$ac_cv_host" >&6; }
2507 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2510 ac_save_IFS=$IFS; IFS='-'
2516 # Remember, the first character of IFS is used to create $*,
2517 # except with old shells:
2520 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2524 $as_echo_n "checking target system type... " >&6; }
2525 if ${ac_cv_target+:} false; then :
2526 $as_echo_n "(cached) " >&6
2528 if test "x$target_alias" = x; then
2529 ac_cv_target=$ac_cv_host
2531 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2532 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2537 $as_echo "$ac_cv_target" >&6; }
2538 case $ac_cv_target in
2540 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2542 target=$ac_cv_target
2543 ac_save_IFS=$IFS; IFS='-'
2549 # Remember, the first character of IFS is used to create $*,
2550 # except with old shells:
2553 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2556 # The aliases save the names the user supplied, while $host etc.
2557 # will get canonicalized.
2558 test -n "$target_alias" &&
2559 test "$program_prefix$program_suffix$program_transform_name" = \
2561 program_prefix=${target_alias}-
2563 # Expand $ac_aux_dir to an absolute path.
2564 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2567 ac_cpp='$CPP $CPPFLAGS'
2568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2571 if test -n "$ac_tool_prefix"; then
2572 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2573 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2575 $as_echo_n "checking for $ac_word... " >&6; }
2576 if ${ac_cv_prog_CC+:} false; then :
2577 $as_echo_n "(cached) " >&6
2579 if test -n "$CC"; then
2580 ac_cv_prog_CC="$CC" # Let the user override the test.
2582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2586 test -z "$as_dir" && as_dir=.
2587 for ac_exec_ext in '' $ac_executable_extensions; do
2588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2589 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2600 if test -n "$CC"; then
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2602 $as_echo "$CC" >&6; }
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2605 $as_echo "no" >&6; }
2610 if test -z "$ac_cv_prog_CC"; then
2612 # Extract the first word of "gcc", so it can be a program name with args.
2613 set dummy gcc; ac_word=$2
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2615 $as_echo_n "checking for $ac_word... " >&6; }
2616 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2617 $as_echo_n "(cached) " >&6
2619 if test -n "$ac_ct_CC"; then
2620 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2626 test -z "$as_dir" && as_dir=.
2627 for ac_exec_ext in '' $ac_executable_extensions; do
2628 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2629 ac_cv_prog_ac_ct_CC="gcc"
2630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2639 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2640 if test -n "$ac_ct_CC"; then
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2642 $as_echo "$ac_ct_CC" >&6; }
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2645 $as_echo "no" >&6; }
2648 if test "x$ac_ct_CC" = x; then
2651 case $cross_compiling:$ac_tool_warned in
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2654 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2655 ac_tool_warned=yes ;;
2663 if test -z "$CC"; then
2664 if test -n "$ac_tool_prefix"; then
2665 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2666 set dummy ${ac_tool_prefix}cc; ac_word=$2
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2668 $as_echo_n "checking for $ac_word... " >&6; }
2669 if ${ac_cv_prog_CC+:} false; then :
2670 $as_echo_n "(cached) " >&6
2672 if test -n "$CC"; then
2673 ac_cv_prog_CC="$CC" # Let the user override the test.
2675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2679 test -z "$as_dir" && as_dir=.
2680 for ac_exec_ext in '' $ac_executable_extensions; do
2681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2682 ac_cv_prog_CC="${ac_tool_prefix}cc"
2683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2693 if test -n "$CC"; then
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2695 $as_echo "$CC" >&6; }
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2698 $as_echo "no" >&6; }
2704 if test -z "$CC"; then
2705 # Extract the first word of "cc", so it can be a program name with args.
2706 set dummy cc; ac_word=$2
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2708 $as_echo_n "checking for $ac_word... " >&6; }
2709 if ${ac_cv_prog_CC+:} false; then :
2710 $as_echo_n "(cached) " >&6
2712 if test -n "$CC"; then
2713 ac_cv_prog_CC="$CC" # Let the user override the test.
2716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2720 test -z "$as_dir" && as_dir=.
2721 for ac_exec_ext in '' $ac_executable_extensions; do
2722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2723 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2724 ac_prog_rejected=yes
2728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2735 if test $ac_prog_rejected = yes; then
2736 # We found a bogon in the path, so make sure we never use it.
2737 set dummy $ac_cv_prog_CC
2739 if test $# != 0; then
2740 # We chose a different compiler from the bogus one.
2741 # However, it has the same basename, so the bogon will be chosen
2742 # first if we set CC to just the basename; use the full file name.
2744 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2750 if test -n "$CC"; then
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2752 $as_echo "$CC" >&6; }
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2755 $as_echo "no" >&6; }
2760 if test -z "$CC"; then
2761 if test -n "$ac_tool_prefix"; then
2762 for ac_prog in cl.exe
2764 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2765 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2767 $as_echo_n "checking for $ac_word... " >&6; }
2768 if ${ac_cv_prog_CC+:} false; then :
2769 $as_echo_n "(cached) " >&6
2771 if test -n "$CC"; then
2772 ac_cv_prog_CC="$CC" # Let the user override the test.
2774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2778 test -z "$as_dir" && as_dir=.
2779 for ac_exec_ext in '' $ac_executable_extensions; do
2780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2781 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2792 if test -n "$CC"; then
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2794 $as_echo "$CC" >&6; }
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2797 $as_echo "no" >&6; }
2801 test -n "$CC" && break
2804 if test -z "$CC"; then
2806 for ac_prog in cl.exe
2808 # Extract the first word of "$ac_prog", so it can be a program name with args.
2809 set dummy $ac_prog; ac_word=$2
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2811 $as_echo_n "checking for $ac_word... " >&6; }
2812 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2813 $as_echo_n "(cached) " >&6
2815 if test -n "$ac_ct_CC"; then
2816 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2822 test -z "$as_dir" && as_dir=.
2823 for ac_exec_ext in '' $ac_executable_extensions; do
2824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2825 ac_cv_prog_ac_ct_CC="$ac_prog"
2826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2835 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2836 if test -n "$ac_ct_CC"; then
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2838 $as_echo "$ac_ct_CC" >&6; }
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2841 $as_echo "no" >&6; }
2845 test -n "$ac_ct_CC" && break
2848 if test "x$ac_ct_CC" = x; then
2851 case $cross_compiling:$ac_tool_warned in
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2854 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2855 ac_tool_warned=yes ;;
2864 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2865 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2866 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2867 See \
`config.log' for more details" "$LINENO" 5; }
2869 # Provide some information about the compiler.
2870 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2873 for ac_option in --version -v -V -qversion; do
2874 { { ac_try="$ac_compiler $ac_option >&5"
2876 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2877 *) ac_try_echo
=$ac_try;;
2879 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2880 $as_echo "$ac_try_echo"; } >&5
2881 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2883 if test -s conftest.err
; then
2885 ... rest of stderr output deleted ...
2886 10q' conftest.err
>conftest.er1
2887 cat conftest.er1
>&5
2889 rm -f conftest.er1 conftest.err
2890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2891 test $ac_status = 0; }
2894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2895 /* end confdefs.h. */
2905 ac_clean_files_save
=$ac_clean_files
2906 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2907 # Try to create an executable without -o first, disregard a.out.
2908 # It will help us diagnose broken compilers, and finding out an intuition
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2911 $as_echo_n "checking whether the C compiler works... " >&6; }
2912 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2914 # The possible output files:
2915 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2918 for ac_file
in $ac_files
2921 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2922 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2927 if { { ac_try
="$ac_link_default"
2929 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2930 *) ac_try_echo=$ac_try;;
2932 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2933 $as_echo "$ac_try_echo"; } >&5
2934 (eval "$ac_link_default") 2>&5
2936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2937 test $ac_status = 0; }; then :
2938 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2939 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2940 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2941 # so that the user can short-circuit this test for compilers unknown to
2943 for ac_file in $ac_files ''
2945 test -f "$ac_file" || continue
2947 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2950 # We found the default executable, but exeext='' is most
2954 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2956 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2958 # We set ac_cv_exeext here because the later test for it is not
2959 # safe: cross compilers may not add the suffix if given an `-o'
2960 # argument, so we may need to know it at that point already.
2961 # Even if this section looks crufty: it has the advantage of
2968 test "$ac_cv_exeext" = no && ac_cv_exeext=
2973 if test -z "$ac_file"; then :
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2975 $as_echo "no" >&6; }
2976 $as_echo "$as_me: failed program was:" >&5
2977 sed 's
/^
/|
/' conftest.$ac_ext >&5
2979 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2980 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2981 as_fn_error 77 "C compiler cannot create executables
2982 See \`config.log
' for more details" "$LINENO" 5; }
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2985 $as_echo "yes" >&6; }
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2988 $as_echo_n "checking for C compiler default output file name... " >&6; }
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2990 $as_echo "$ac_file" >&6; }
2991 ac_exeext=$ac_cv_exeext
2993 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2994 ac_clean_files=$ac_clean_files_save
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2996 $as_echo_n "checking for suffix of executables... " >&6; }
2997 if { { ac_try="$ac_link"
2999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3000 *) ac_try_echo=$ac_try;;
3002 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3003 $as_echo "$ac_try_echo"; } >&5
3004 (eval "$ac_link") 2>&5
3006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3007 test $ac_status = 0; }; then :
3008 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3009 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3010 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3012 for ac_file
in conftest.exe conftest conftest.
*; do
3013 test -f "$ac_file" ||
continue
3015 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3016 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3022 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3024 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3025 See \`config.log' for more details" "$LINENO" 5; }
3027 rm -f conftest conftest
$ac_cv_exeext
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3029 $as_echo "$ac_cv_exeext" >&6; }
3031 rm -f conftest.
$ac_ext
3032 EXEEXT
=$ac_cv_exeext
3034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3035 /* end confdefs.h. */
3040 FILE *f = fopen ("conftest.out", "w");
3041 return ferror (f) || fclose (f) != 0;
3047 ac_clean_files
="$ac_clean_files conftest.out"
3048 # Check that the compiler produces executables we can run. If not, either
3049 # the compiler is broken, or we cross compile.
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3051 $as_echo_n "checking whether we are cross compiling... " >&6; }
3052 if test "$cross_compiling" != yes; then
3053 { { ac_try
="$ac_link"
3055 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3056 *) ac_try_echo=$ac_try;;
3058 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3059 $as_echo "$ac_try_echo"; } >&5
3060 (eval "$ac_link") 2>&5
3062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3063 test $ac_status = 0; }
3064 if { ac_try='./conftest$ac_cv_exeext'
3065 { { case "(($ac_try" in
3066 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3067 *) ac_try_echo
=$ac_try;;
3069 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3070 $as_echo "$ac_try_echo"; } >&5
3071 (eval "$ac_try") 2>&5
3073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3074 test $ac_status = 0; }; }; then
3077 if test "$cross_compiling" = maybe
; then
3080 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3082 as_fn_error $?
"cannot run C compiled programs.
3083 If you meant to cross compile, use \`--host'.
3084 See \`config.log' for more details" "$LINENO" 5; }
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3089 $as_echo "$cross_compiling" >&6; }
3091 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3092 ac_clean_files
=$ac_clean_files_save
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3094 $as_echo_n "checking for suffix of object files... " >&6; }
3095 if ${ac_cv_objext+:} false
; then :
3096 $as_echo_n "(cached) " >&6
3098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3099 /* end confdefs.h. */
3109 rm -f conftest.o conftest.obj
3110 if { { ac_try
="$ac_compile"
3112 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3113 *) ac_try_echo=$ac_try;;
3115 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3116 $as_echo "$ac_try_echo"; } >&5
3117 (eval "$ac_compile") 2>&5
3119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3120 test $ac_status = 0; }; then :
3121 for ac_file in conftest.o conftest.obj conftest.*; do
3122 test -f "$ac_file" || continue;
3124 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3125 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3130 $as_echo "$as_me: failed program was:" >&5
3131 sed 's/^/| /' conftest.$ac_ext >&5
3133 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3134 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3135 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3136 See \
`config.log' for more details" "$LINENO" 5; }
3138 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3141 $as_echo "$ac_cv_objext" >&6; }
3142 OBJEXT=$ac_cv_objext
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3145 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3146 if ${ac_cv_c_compiler_gnu+:} false; then :
3147 $as_echo_n "(cached) " >&6
3149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3150 /* end confdefs.h. */
3163 if ac_fn_c_try_compile "$LINENO"; then :
3168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3169 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3173 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3174 if test $ac_compiler_gnu = yes; then
3179 ac_test_CFLAGS=${CFLAGS+set}
3180 ac_save_CFLAGS=$CFLAGS
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3182 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3183 if ${ac_cv_prog_cc_g+:} false; then :
3184 $as_echo_n "(cached) " >&6
3186 ac_save_c_werror_flag=$ac_c_werror_flag
3187 ac_c_werror_flag=yes
3190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3191 /* end confdefs.h. */
3201 if ac_fn_c_try_compile "$LINENO"; then :
3205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3206 /* end confdefs.h. */
3216 if ac_fn_c_try_compile "$LINENO"; then :
3219 ac_c_werror_flag=$ac_save_c_werror_flag
3221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3222 /* end confdefs.h. */
3232 if ac_fn_c_try_compile "$LINENO"; then :
3235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3240 ac_c_werror_flag=$ac_save_c_werror_flag
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3243 $as_echo "$ac_cv_prog_cc_g" >&6; }
3244 if test "$ac_test_CFLAGS" = set; then
3245 CFLAGS=$ac_save_CFLAGS
3246 elif test $ac_cv_prog_cc_g = yes; then
3247 if test "$GCC" = yes; then
3253 if test "$GCC" = yes; then
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3260 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3261 if ${ac_cv_prog_cc_c89+:} false; then :
3262 $as_echo_n "(cached) " >&6
3264 ac_cv_prog_cc_c89=no
3266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3267 /* end confdefs.h. */
3271 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3272 struct buf { int x; };
3273 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3274 static char *e (p, i)
3280 static char *f (char * (*g) (char **, int), char **p, ...)
3285 s = g (p, va_arg (v,int));
3290 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3291 function prototypes and stuff, but not '\xHH' hex character constants.
3292 These don't provoke an error unfortunately, instead are silently treated
3293 as 'x'. The following induces an error, until -std is added to get
3294 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3295 array size at least. It's necessary to write '\x00'==0 to get something
3296 that's true only with -std. */
3297 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3299 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3300 inside strings and character constants. */
3302 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3304 int test (int i, double x);
3305 struct s1 {int (*f) (int a);};
3306 struct s2 {int (*f) (double a);};
3307 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3313 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3318 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3319 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3321 CC="$ac_save_CC $ac_arg"
3322 if ac_fn_c_try_compile "$LINENO"; then :
3323 ac_cv_prog_cc_c89=$ac_arg
3325 rm -f core conftest.err conftest.$ac_objext
3326 test "x$ac_cv_prog_cc_c89" != "xno" && break
3328 rm -f conftest.$ac_ext
3333 case "x$ac_cv_prog_cc_c89" in
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3336 $as_echo "none needed" >&6; } ;;
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3339 $as_echo "unsupported" >&6; } ;;
3341 CC="$CC $ac_cv_prog_cc_c89"
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3343 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3345 if test "x$ac_cv_prog_cc_c89" != xno; then :
3350 ac_cpp='$CPP $CPPFLAGS'
3351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3356 ac_cpp='$CPP $CPPFLAGS'
3357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3361 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3362 if ${am_cv_prog_cc_c_o+:} false; then :
3363 $as_echo_n "(cached) " >&6
3365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3366 /* end confdefs.h. */
3376 # Make sure it works both with $CC and with simple cc.
3377 # Following AC_PROG_CC_C_O, we do the test twice because some
3378 # compilers refuse to overwrite an existing .o file with -o,
3379 # though they will create one.
3380 am_cv_prog_cc_c_o=yes
3382 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3383 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3386 (exit $ac_status); } \
3387 && test -f conftest2.$ac_objext; then
3390 am_cv_prog_cc_c_o=no
3394 rm -f core conftest*
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3398 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3399 if test "$am_cv_prog_cc_c_o" != yes; then
3400 # Losing compiler, so override with the script.
3401 # FIXME: It is wrong to rewrite CC.
3402 # But if we don't then we get into trouble of one sort or another.
3403 # A longer-term fix would be to have automake use am__CC in this case,
3404 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3405 CC="$am_aux_dir/compile $CC"
3408 ac_cpp='$CPP $CPPFLAGS'
3409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3416 ac_cpp='$CPP $CPPFLAGS'
3417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3421 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3422 # On Suns, sometimes $CPP names a directory.
3423 if test -n "$CPP" && test -d "$CPP"; then
3426 if test -z "$CPP"; then
3427 if ${ac_cv_prog_CPP+:} false; then :
3428 $as_echo_n "(cached) " >&6
3430 # Double quotes because CPP needs to be expanded
3431 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3434 for ac_c_preproc_warn_flag in '' yes
3436 # Use a header file that comes with gcc, so configuring glibc
3437 # with a fresh cross-compiler works.
3438 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3439 # <limits.h> exists even on freestanding compilers.
3440 # On the NeXT, cc -E runs the code through the compiler's parser,
3441 # not just through cpp. "Syntax error" is here to catch this case.
3442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3443 /* end confdefs.h. */
3445 # include <limits.h>
3447 # include <assert.h>
3451 if ac_fn_c_try_cpp "$LINENO"; then :
3454 # Broken: fails on valid input.
3457 rm -f conftest.err conftest.i conftest.$ac_ext
3459 # OK, works on sane cases. Now check whether nonexistent headers
3460 # can be detected and how.
3461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3462 /* end confdefs.h. */
3463 #include <ac_nonexistent.h>
3465 if ac_fn_c_try_cpp "$LINENO"; then :
3466 # Broken: success on invalid input.
3469 # Passes both tests.
3473 rm -f conftest.err conftest.i conftest.$ac_ext
3476 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3477 rm -f conftest.i conftest.err conftest.
$ac_ext
3478 if $ac_preproc_ok; then :
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3491 $as_echo "$CPP" >&6; }
3493 for ac_c_preproc_warn_flag
in '' yes
3495 # Use a header file that comes with gcc, so configuring glibc
3496 # with a fresh cross-compiler works.
3497 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3498 # <limits.h> exists even on freestanding compilers.
3499 # On the NeXT, cc -E runs the code through the compiler's parser,
3500 # not just through cpp. "Syntax error" is here to catch this case.
3501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3502 /* end confdefs.h. */
3504 # include <limits.h>
3506 # include <assert.h>
3510 if ac_fn_c_try_cpp
"$LINENO"; then :
3513 # Broken: fails on valid input.
3516 rm -f conftest.err conftest.i conftest.
$ac_ext
3518 # OK, works on sane cases. Now check whether nonexistent headers
3519 # can be detected and how.
3520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3521 /* end confdefs.h. */
3522 #include <ac_nonexistent.h>
3524 if ac_fn_c_try_cpp
"$LINENO"; then :
3525 # Broken: success on invalid input.
3528 # Passes both tests.
3532 rm -f conftest.err conftest.i conftest.
$ac_ext
3535 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3536 rm -f conftest.i conftest.err conftest.
$ac_ext
3537 if $ac_preproc_ok; then :
3540 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3541 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3542 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3543 See \`config.log' for more details" "$LINENO" 5; }
3547 ac_cpp
='$CPP $CPPFLAGS'
3548 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3549 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3550 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3554 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3555 if ${ac_cv_path_GREP+:} false
; then :
3556 $as_echo_n "(cached) " >&6
3558 if test -z "$GREP"; then
3559 ac_path_GREP_found
=false
3560 # Loop through the user's path and test for each of PROGNAME-LIST
3561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3562 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3565 test -z "$as_dir" && as_dir
=.
3566 for ac_prog
in grep ggrep
; do
3567 for ac_exec_ext
in '' $ac_executable_extensions; do
3568 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3569 as_fn_executable_p
"$ac_path_GREP" ||
continue
3570 # Check for GNU ac_path_GREP and select it if it is found.
3571 # Check for GNU $ac_path_GREP
3572 case `"$ac_path_GREP" --version 2>&1` in
3574 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3577 $as_echo_n 0123456789 >"conftest.in"
3580 cat "conftest.in" "conftest.in" >"conftest.tmp"
3581 mv "conftest.tmp" "conftest.in"
3582 cp "conftest.in" "conftest.nl"
3583 $as_echo 'GREP' >> "conftest.nl"
3584 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3585 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3586 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3587 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3588 # Best one so far, save it but keep looking for a better one
3589 ac_cv_path_GREP
="$ac_path_GREP"
3590 ac_path_GREP_max
=$ac_count
3592 # 10*(2^10) chars as input seems more than enough
3593 test $ac_count -gt 10 && break
3595 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3598 $ac_path_GREP_found && break 3
3603 if test -z "$ac_cv_path_GREP"; then
3604 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3607 ac_cv_path_GREP
=$GREP
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3612 $as_echo "$ac_cv_path_GREP" >&6; }
3613 GREP
="$ac_cv_path_GREP"
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3617 $as_echo_n "checking for egrep... " >&6; }
3618 if ${ac_cv_path_EGREP+:} false
; then :
3619 $as_echo_n "(cached) " >&6
3621 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3622 then ac_cv_path_EGREP
="$GREP -E"
3624 if test -z "$EGREP"; then
3625 ac_path_EGREP_found
=false
3626 # Loop through the user's path and test for each of PROGNAME-LIST
3627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3628 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3631 test -z "$as_dir" && as_dir
=.
3632 for ac_prog
in egrep; do
3633 for ac_exec_ext
in '' $ac_executable_extensions; do
3634 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3635 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3636 # Check for GNU ac_path_EGREP and select it if it is found.
3637 # Check for GNU $ac_path_EGREP
3638 case `"$ac_path_EGREP" --version 2>&1` in
3640 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3643 $as_echo_n 0123456789 >"conftest.in"
3646 cat "conftest.in" "conftest.in" >"conftest.tmp"
3647 mv "conftest.tmp" "conftest.in"
3648 cp "conftest.in" "conftest.nl"
3649 $as_echo 'EGREP' >> "conftest.nl"
3650 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3651 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3652 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3653 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3654 # Best one so far, save it but keep looking for a better one
3655 ac_cv_path_EGREP
="$ac_path_EGREP"
3656 ac_path_EGREP_max
=$ac_count
3658 # 10*(2^10) chars as input seems more than enough
3659 test $ac_count -gt 10 && break
3661 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3664 $ac_path_EGREP_found && break 3
3669 if test -z "$ac_cv_path_EGREP"; then
3670 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3673 ac_cv_path_EGREP
=$EGREP
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3679 $as_echo "$ac_cv_path_EGREP" >&6; }
3680 EGREP
="$ac_cv_path_EGREP"
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3684 $as_echo_n "checking for ANSI C header files... " >&6; }
3685 if ${ac_cv_header_stdc+:} false
; then :
3686 $as_echo_n "(cached) " >&6
3688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3689 /* end confdefs.h. */
3703 if ac_fn_c_try_compile
"$LINENO"; then :
3704 ac_cv_header_stdc
=yes
3706 ac_cv_header_stdc
=no
3708 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3710 if test $ac_cv_header_stdc = yes; then
3711 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3713 /* end confdefs.h. */
3717 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3718 $EGREP "memchr" >/dev
/null
2>&1; then :
3721 ac_cv_header_stdc
=no
3727 if test $ac_cv_header_stdc = yes; then
3728 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3730 /* end confdefs.h. */
3734 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3735 $EGREP "free" >/dev
/null
2>&1; then :
3738 ac_cv_header_stdc
=no
3744 if test $ac_cv_header_stdc = yes; then
3745 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3746 if test "$cross_compiling" = yes; then :
3749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3750 /* end confdefs.h. */
3753 #if ((' ' & 0x0FF) == 0x020)
3754 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3755 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3757 # define ISLOWER(c) \
3758 (('a' <= (c) && (c) <= 'i') \
3759 || ('j' <= (c) && (c) <= 'r') \
3760 || ('s' <= (c) && (c) <= 'z'))
3761 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3764 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3769 for (i = 0; i < 256; i++)
3770 if (XOR (islower (i), ISLOWER (i))
3771 || toupper (i) != TOUPPER (i))
3776 if ac_fn_c_try_run
"$LINENO"; then :
3779 ac_cv_header_stdc
=no
3781 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3782 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3788 $as_echo "$ac_cv_header_stdc" >&6; }
3789 if test $ac_cv_header_stdc = yes; then
3791 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3795 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3796 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3797 inttypes.h stdint.h unistd.h
3799 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3800 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3802 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3803 cat >>confdefs.h
<<_ACEOF
3804 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3813 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3814 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3821 if test "$MINIX" = yes; then
3823 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3826 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3829 $as_echo "#define _MINIX 1" >>confdefs.h
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3835 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3836 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3837 $as_echo_n "(cached) " >&6
3839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3840 /* end confdefs.h. */
3842 # define __EXTENSIONS__ 1
3843 $ac_includes_default
3852 if ac_fn_c_try_compile
"$LINENO"; then :
3853 ac_cv_safe_to_define___extensions__
=yes
3855 ac_cv_safe_to_define___extensions__
=no
3857 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3860 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3861 test $ac_cv_safe_to_define___extensions__ = yes &&
3862 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3864 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3866 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3868 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3870 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3873 # Determine the noncanonical target name, for directory use.
3874 case ${build_alias} in
3875 "") build_noncanonical
=${build} ;;
3876 *) build_noncanonical
=${build_alias} ;;
3879 case ${host_alias} in
3880 "") host_noncanonical
=${build_noncanonical} ;;
3881 *) host_noncanonical
=${host_alias} ;;
3884 case ${target_alias} in
3885 "") target_noncanonical
=${host_noncanonical} ;;
3886 *) target_noncanonical
=${target_alias} ;;
3892 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
3893 # have matching libraries, they should use host libraries: Makefile.tpl
3894 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
3895 # However, they still use the build modules, because the corresponding
3896 # host modules (e.g. bison) are only built for the host when bootstrap
3898 # - build_subdir is where we find build modules, and never changes.
3899 # - build_libsubdir is where we find build libraries, and can be overridden.
3901 # Prefix 'build-' so this never conflicts with target_subdir.
3902 build_subdir
="build-${build_noncanonical}"
3904 # Check whether --with-build-libsubdir was given.
3905 if test "${with_build_libsubdir+set}" = set; then :
3906 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
3908 build_libsubdir
="$build_subdir"
3911 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
3912 if ( test $srcdir = .
&& test -d gcc
) \
3913 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
3914 host_subdir
="host-${host_noncanonical}"
3919 target_subdir
=${target_noncanonical}
3922 # 1.11.1: Require that version of automake.
3923 # foreign: Don't require README, INSTALL, NEWS, etc.
3924 # no-define: Don't define PACKAGE and VERSION.
3925 # -Wall: Issue all automake warnings.
3926 # -Wno-portability: Don't warn about constructs supported by GNU make.
3927 # (because GCC requires GNU make anyhow).
3928 am__api_version
='1.15'
3930 # Find a good install program. We prefer a C program (faster),
3931 # so one script is as good as another. But avoid the broken or
3932 # incompatible versions:
3933 # SysV /etc/install, /usr/sbin/install
3934 # SunOS /usr/etc/install
3935 # IRIX /sbin/install
3937 # AmigaOS /C/install, which installs bootblocks on floppy discs
3938 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3939 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3940 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3941 # OS/2's system install, which has a completely different semantic
3942 # ./install, which can be erroneously created by make from ./install.sh.
3943 # Reject install programs that cannot install multiple files.
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3945 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3946 if test -z "$INSTALL"; then
3947 if ${ac_cv_path_install+:} false
; then :
3948 $as_echo_n "(cached) " >&6
3950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3954 test -z "$as_dir" && as_dir
=.
3955 # Account for people who put trailing slashes in PATH elements.
3956 case $as_dir/ in #((
3957 .
/ | .
// |
/[cC
]/* | \
3958 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3959 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3962 # OSF1 and SCO ODT 3.0 have their own names for install.
3963 # Don't use installbsd from OSF since it installs stuff as root
3965 for ac_prog
in ginstall scoinst
install; do
3966 for ac_exec_ext
in '' $ac_executable_extensions; do
3967 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3968 if test $ac_prog = install &&
3969 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3970 # AIX install. It has an incompatible calling convention.
3972 elif test $ac_prog = install &&
3973 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3974 # program-specific install script used by HP pwplus--don't use.
3977 rm -rf conftest.one conftest.two conftest.dir
3978 echo one
> conftest.one
3979 echo two
> conftest.two
3981 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3982 test -s conftest.one
&& test -s conftest.two
&&
3983 test -s conftest.dir
/conftest.one
&&
3984 test -s conftest.dir
/conftest.two
3986 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3999 rm -rf conftest.one conftest.two conftest.dir
4002 if test "${ac_cv_path_install+set}" = set; then
4003 INSTALL
=$ac_cv_path_install
4005 # As a last resort, use the slow shell script. Don't cache a
4006 # value for INSTALL within a source directory, because that will
4007 # break other packages using the cache if that directory is
4008 # removed, or if the value is a relative name.
4009 INSTALL
=$ac_install_sh
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4013 $as_echo "$INSTALL" >&6; }
4015 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4016 # It thinks the first close brace ends the variable substitution.
4017 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4019 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4021 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4024 $as_echo_n "checking whether build environment is sane... " >&6; }
4025 # Reject unsafe characters in $srcdir or the absolute working directory
4026 # name. Accept space and tab only in the latter.
4030 *[\\\"\
#\$\&\'\`$am_lf]*)
4031 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4034 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4035 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4038 # Do 'set' in a subshell so we don't clobber the current shell's
4039 # arguments. Must try -L first in case configure is actually a
4040 # symlink; some systems play weird games with the mod time of symlinks
4041 # (eg FreeBSD returns the mod time of the symlink's containing
4045 for am_try
in 1 2; do
4046 echo "timestamp, slept: $am_has_slept" > conftest.
file
4047 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4048 if test "$*" = "X"; then
4050 set X
`ls -t "$srcdir/configure" conftest.file`
4052 if test "$*" != "X $srcdir/configure conftest.file" \
4053 && test "$*" != "X conftest.file $srcdir/configure"; then
4055 # If neither matched, then we have a broken ls. This can happen
4056 # if, for instance, CONFIG_SHELL is bash and it inherits a
4057 # broken ls alias from the environment. This has actually
4058 # happened. Such a system could not be considered "sane".
4059 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4060 alias in your environment" "$LINENO" 5
4062 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
4069 test "$2" = conftest.
file
4075 as_fn_error $?
"newly created file is older than distributed files!
4076 Check your system clock" "$LINENO" 5
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4079 $as_echo "yes" >&6; }
4080 # If we didn't sleep, we still need to ensure time stamps of config.status and
4081 # generated files are strictly newer.
4083 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
4090 test "$program_prefix" != NONE
&&
4091 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4092 # Use a double $ so make ignores it.
4093 test "$program_suffix" != NONE
&&
4094 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4095 # Double any \ or $.
4096 # By default was `s,x,x', remove it if useless.
4097 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4098 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4100 if test x
"${MISSING+set}" != xset
; then
4103 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4105 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4108 # Use eval to expand $SHELL
4109 if eval "$MISSING --is-lightweight"; then
4110 am_missing_run
="$MISSING "
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4114 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4117 if test x
"${install_sh+set}" != xset
; then
4120 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4122 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4126 # Installed binaries are usually stripped using 'strip' when the user
4127 # run "make install-strip". However 'strip' might not be the right
4128 # tool to use in cross-compilation environments, therefore Automake
4129 # will honor the 'STRIP' environment variable to overrule this program.
4130 if test "$cross_compiling" != no
; then
4131 if test -n "$ac_tool_prefix"; then
4132 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4133 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4135 $as_echo_n "checking for $ac_word... " >&6; }
4136 if ${ac_cv_prog_STRIP+:} false
; then :
4137 $as_echo_n "(cached) " >&6
4139 if test -n "$STRIP"; then
4140 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4146 test -z "$as_dir" && as_dir
=.
4147 for ac_exec_ext
in '' $ac_executable_extensions; do
4148 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4149 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4159 STRIP
=$ac_cv_prog_STRIP
4160 if test -n "$STRIP"; then
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4162 $as_echo "$STRIP" >&6; }
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4165 $as_echo "no" >&6; }
4170 if test -z "$ac_cv_prog_STRIP"; then
4172 # Extract the first word of "strip", so it can be a program name with args.
4173 set dummy strip
; ac_word
=$2
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4175 $as_echo_n "checking for $ac_word... " >&6; }
4176 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4177 $as_echo_n "(cached) " >&6
4179 if test -n "$ac_ct_STRIP"; then
4180 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4186 test -z "$as_dir" && as_dir
=.
4187 for ac_exec_ext
in '' $ac_executable_extensions; do
4188 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4189 ac_cv_prog_ac_ct_STRIP
="strip"
4190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4199 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4200 if test -n "$ac_ct_STRIP"; then
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4202 $as_echo "$ac_ct_STRIP" >&6; }
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4205 $as_echo "no" >&6; }
4208 if test "x$ac_ct_STRIP" = x
; then
4211 case $cross_compiling:$ac_tool_warned in
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4215 ac_tool_warned
=yes ;;
4220 STRIP
="$ac_cv_prog_STRIP"
4224 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4227 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4228 if test -z "$MKDIR_P"; then
4229 if ${ac_cv_path_mkdir+:} false
; then :
4230 $as_echo_n "(cached) " >&6
4232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4233 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4236 test -z "$as_dir" && as_dir
=.
4237 for ac_prog
in mkdir gmkdir
; do
4238 for ac_exec_ext
in '' $ac_executable_extensions; do
4239 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
4240 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4241 'mkdir (GNU coreutils) '* | \
4242 'mkdir (coreutils) '* | \
4243 'mkdir (fileutils) '4.1*)
4244 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4254 test -d .
/--version && rmdir .
/--version
4255 if test "${ac_cv_path_mkdir+set}" = set; then
4256 MKDIR_P
="$ac_cv_path_mkdir -p"
4258 # As a last resort, use the slow shell script. Don't cache a
4259 # value for MKDIR_P within a source directory, because that will
4260 # break other packages using the cache if that directory is
4261 # removed, or if the value is a relative name.
4262 MKDIR_P
="$ac_install_sh -d"
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4266 $as_echo "$MKDIR_P" >&6; }
4268 for ac_prog
in gawk mawk nawk
awk
4270 # Extract the first word of "$ac_prog", so it can be a program name with args.
4271 set dummy
$ac_prog; ac_word
=$2
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4273 $as_echo_n "checking for $ac_word... " >&6; }
4274 if ${ac_cv_prog_AWK+:} false
; then :
4275 $as_echo_n "(cached) " >&6
4277 if test -n "$AWK"; then
4278 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4284 test -z "$as_dir" && as_dir
=.
4285 for ac_exec_ext
in '' $ac_executable_extensions; do
4286 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4287 ac_cv_prog_AWK
="$ac_prog"
4288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4298 if test -n "$AWK"; then
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4300 $as_echo "$AWK" >&6; }
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4303 $as_echo "no" >&6; }
4307 test -n "$AWK" && break
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4311 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4313 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4314 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4315 $as_echo_n "(cached) " >&6
4317 cat >conftest.
make <<\_ACEOF
4320 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4322 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4323 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4325 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4327 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4331 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4333 $as_echo "yes" >&6; }
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4337 $as_echo "no" >&6; }
4338 SET_MAKE
="MAKE=${MAKE-make}"
4341 rm -rf .tst
2>/dev
/null
4342 mkdir .tst
2>/dev
/null
4343 if test -d .tst
; then
4348 rmdir .tst
2>/dev
/null
4350 DEPDIR
="${am__leading_dot}deps"
4352 ac_config_commands
="$ac_config_commands depfiles"
4355 am_make
=${MAKE-make}
4356 cat > confinc
<< 'END'
4358 @
echo this is the am__doit target
4361 # If we don't find an include directive, just comment out the code.
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4363 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4367 # First try GNU make style include.
4368 echo "include confinc" > confmf
4369 # Ignore all kinds of additional output from 'make'.
4370 case `$am_make -s -f confmf 2> /dev/null` in #(
4371 *the\ am__doit\ target
*)
4377 # Now try BSD make style include.
4378 if test "$am__include" = "#"; then
4379 echo '.include "confinc"' > confmf
4380 case `$am_make -s -f confmf 2> /dev/null` in #(
4381 *the\ am__doit\ target
*)
4382 am__include
=.include
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4391 $as_echo "$_am_result" >&6; }
4392 rm -f confinc confmf
4394 # Check whether --enable-dependency-tracking was given.
4395 if test "${enable_dependency_tracking+set}" = set; then :
4396 enableval
=$enable_dependency_tracking;
4399 if test "x$enable_dependency_tracking" != xno
; then
4400 am_depcomp
="$ac_aux_dir/depcomp"
4404 if test "x$enable_dependency_tracking" != xno; then
4413 # Check whether --enable-silent-rules was given.
4414 if test "${enable_silent_rules+set}" = set; then :
4415 enableval
=$enable_silent_rules;
4418 case $enable_silent_rules in # (((
4419 yes) AM_DEFAULT_VERBOSITY
=0;;
4420 no
) AM_DEFAULT_VERBOSITY
=1;;
4421 *) AM_DEFAULT_VERBOSITY
=1;;
4423 am_make
=${MAKE-make}
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4425 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4426 if ${am_cv_make_support_nested_variables+:} false
; then :
4427 $as_echo_n "(cached) " >&6
4429 if $as_echo 'TRUE=$(BAR$(V))
4435 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4436 am_cv_make_support_nested_variables
=yes
4438 am_cv_make_support_nested_variables
=no
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4442 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4443 if test $am_cv_make_support_nested_variables = yes; then
4445 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4447 AM_V
=$AM_DEFAULT_VERBOSITY
4448 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4452 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4453 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4454 # is not polluted with repeated "-I."
4455 am__isrc
=' -I$(srcdir)'
4456 # test to see if srcdir already configured
4457 if test -f $srcdir/config.status
; then
4458 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4462 # test whether we have cygpath
4463 if test -z "$CYGPATH_W"; then
4464 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4465 CYGPATH_W
='cygpath -w'
4472 # Define the identity of the package.
4474 VERSION
='version-unused'
4477 # Some tools Automake needs.
4479 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4482 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4485 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4488 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4491 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4493 # For better backward compatibility. To be removed once Automake 1.9.x
4494 # dies out for good. For more background, see:
4495 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4496 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4497 mkdir_p
='$(MKDIR_P)'
4499 # We need awk for the "check" target (and possibly the TAP driver). The
4500 # system "awk" is bad on some platforms.
4501 # Always define AMTAR for backward compatibility. Yes, it's still used
4502 # in the wild :-( We should find a proper way to deprecate it ...
4506 # We'll loop over all known methods to create a tar archive until one works.
4507 _am_tools
='gnutar pax cpio none'
4509 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4515 depcc
="$CC" am_compiler_list
=
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4518 $as_echo_n "checking dependency style of $depcc... " >&6; }
4519 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4520 $as_echo_n "(cached) " >&6
4522 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4523 # We make a subdir and do the tests there. Otherwise we can end up
4524 # making bogus files that we don't know about and never remove. For
4525 # instance it was reported that on HP-UX the gcc test will end up
4526 # making a dummy file named 'D' -- because '-MD' means "put the output
4530 # Copy depcomp to subdir because otherwise we won't find it if we're
4531 # using a relative directory.
4532 cp "$am_depcomp" conftest.dir
4534 # We will build objects and dependencies in a subdirectory because
4535 # it helps to detect inapplicable dependency modes. For instance
4536 # both Tru64's cc and ICC support -MD to output dependencies as a
4537 # side effect of compilation, but ICC will put the dependencies in
4538 # the current directory while Tru64 will put them in the object
4542 am_cv_CC_dependencies_compiler_type
=none
4543 if test "$am_compiler_list" = ""; then
4544 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4547 case " $depcc " in #(
4548 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4551 for depmode
in $am_compiler_list; do
4552 # Setup a source with many dependencies, because some compilers
4553 # like to wrap large dependency lists on column 80 (with \), and
4554 # we should not choose a depcomp mode which is confused by this.
4556 # We need to recreate these files for each test, as the compiler may
4557 # overwrite some of them when testing with obscure command lines.
4558 # This happens at least with the AIX C compiler.
4560 for i
in 1 2 3 4 5 6; do
4561 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4562 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4563 # Solaris 10 /bin/sh.
4564 echo '/* dummy */' > sub
/conftst
$i.h
4566 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4568 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4569 # mode. It turns out that the SunPro C++ compiler does not properly
4570 # handle '-M -o', and we need to detect this. Also, some Intel
4571 # versions had trouble with output in subdirs.
4572 am__obj
=sub
/conftest.
${OBJEXT-o}
4573 am__minus_obj
="-o $am__obj"
4576 # This depmode causes a compiler race in universal mode.
4577 test "$am__universal" = false ||
continue
4580 # After this tag, mechanisms are not by side-effect, so they'll
4581 # only be used when explicitly requested.
4582 if test "x$enable_dependency_tracking" = xyes
; then
4588 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4589 # This compiler won't grok '-c -o', but also, the minuso test has
4590 # not run yet. These depmodes are late enough in the game, and
4591 # so weak that their functioning should not be impacted.
4592 am__obj
=conftest.
${OBJEXT-o}
4597 if depmode
=$depmode \
4598 source=sub
/conftest.c object
=$am__obj \
4599 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4600 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4601 >/dev
/null
2>conftest.err
&&
4602 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4603 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4604 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4605 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4606 # icc doesn't choke on unknown options, it will just issue warnings
4607 # or remarks (even with -Werror). So we grep stderr for any message
4608 # that says an option was ignored or not supported.
4609 # When given -MP, icc 7.0 and 7.1 complain thusly:
4610 # icc: Command line warning: ignoring option '-M'; no argument required
4611 # The diagnosis changed in icc 8.0:
4612 # icc: Command line remark: option '-MP' not supported
4613 if (grep 'ignoring option' conftest.err ||
4614 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4615 am_cv_CC_dependencies_compiler_type
=$depmode
4624 am_cv_CC_dependencies_compiler_type
=none
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4629 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4630 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4633 test "x$enable_dependency_tracking" != xno \
4634 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4636 am__fastdepCC_FALSE
='#'
4638 am__fastdepCC_TRUE
='#'
4639 am__fastdepCC_FALSE
=
4644 # POSIX will say in a future version that running "rm -f" with no argument
4645 # is OK; and we want to be able to make that assumption in our Makefile
4646 # recipes. So use an aggressive probe to check that the usage we want is
4647 # actually supported "in the wild" to an acceptable degree.
4648 # See automake bug#10828.
4649 # To make any issue more visible, cause the running configure to be aborted
4650 # by default if the 'rm' program in use doesn't match our expectations; the
4651 # user can still override this though.
4652 if rm -f && rm -fr && rm -rf; then : OK
; else
4656 Your 'rm' program seems unable to run without file operands specified
4657 on the command line, even when the '-f' option is present. This is contrary
4658 to the behaviour of most rm programs out there, and not conforming with
4659 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4661 Please tell bug-automake@gnu.org about your system, including the value
4662 of your $PATH and any error possibly output before this message. This
4663 can help us improve future automake versions.
4666 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4667 echo 'Configuration will proceed anyway, since you have set the' >&2
4668 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4672 Aborting the configuration process, to ensure you take notice of the issue.
4674 You can download and install GNU coreutils to get an 'rm' implementation
4675 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4677 If you want to complete the configuration process using your problematic
4678 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4679 to "yes", and re-run configure.
4682 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4688 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4689 # Check whether --enable-maintainer-mode was given.
4690 if test "${enable_maintainer_mode+set}" = set; then :
4691 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4693 USE_MAINTAINER_MODE
=no
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4697 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4698 if test $USE_MAINTAINER_MODE = yes; then
4699 MAINTAINER_MODE_TRUE
=
4700 MAINTAINER_MODE_FALSE
='#'
4702 MAINTAINER_MODE_TRUE
='#'
4703 MAINTAINER_MODE_FALSE
=
4706 MAINT
=$MAINTAINER_MODE_TRUE
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4713 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4718 macro_version
='2.2.7a'
4719 macro_revision
='1.3134'
4733 ltmain
="$ac_aux_dir/ltmain.sh"
4735 # Backslashify metacharacters that are still active within
4736 # double-quoted strings.
4737 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4739 # Same as above, but do not quote variable references.
4740 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4742 # Sed substitution to delay expansion of an escaped shell variable in a
4743 # double_quote_subst'ed string.
4744 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4746 # Sed substitution to delay expansion of an escaped single quote.
4747 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4749 # Sed substitution to avoid accidental globbing in evaled expressions
4750 no_glob_subst
='s/\*/\\\*/g'
4752 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4753 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4754 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4757 $as_echo_n "checking how to print strings... " >&6; }
4758 # Test print first, because it will be a builtin if present.
4759 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4760 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4762 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4765 # Use this function as a fallback that always works.
4766 func_fallback_echo ()
4768 eval 'cat <<_LTECHO_EOF
4772 ECHO='func_fallback_echo
'
4775 # func_echo_all arg...
4776 # Invoke $ECHO with all args, space-separated.
4783 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4784 $as_echo "printf" >&6; } ;;
4785 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4786 $as_echo "print -r" >&6; } ;;
4787 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4788 $as_echo "cat" >&6; } ;;
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4805 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4806 if ${ac_cv_path_SED+:} false; then :
4807 $as_echo_n "(cached) " >&6
4809 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4810 for ac_i in 1 2 3 4 5 6 7; do
4811 ac_script="$ac_script$as_nl$ac_script"
4813 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4814 { ac_script=; unset ac_script;}
4815 if test -z "$SED"; then
4816 ac_path_SED_found=false
4817 # Loop through the user's path and
test for each of PROGNAME-LIST
4818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4822 test -z "$as_dir" && as_dir
=.
4823 for ac_prog
in sed gsed
; do
4824 for ac_exec_ext
in '' $ac_executable_extensions; do
4825 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4826 as_fn_executable_p
"$ac_path_SED" ||
continue
4827 # Check for GNU ac_path_SED and select it if it is found.
4828 # Check for GNU $ac_path_SED
4829 case `"$ac_path_SED" --version 2>&1` in
4831 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4834 $as_echo_n 0123456789 >"conftest.in"
4837 cat "conftest.in" "conftest.in" >"conftest.tmp"
4838 mv "conftest.tmp" "conftest.in"
4839 cp "conftest.in" "conftest.nl"
4840 $as_echo '' >> "conftest.nl"
4841 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4842 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4843 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4844 if test $ac_count -gt ${ac_path_SED_max-0}; then
4845 # Best one so far, save it but keep looking for a better one
4846 ac_cv_path_SED
="$ac_path_SED"
4847 ac_path_SED_max
=$ac_count
4849 # 10*(2^10) chars as input seems more than enough
4850 test $ac_count -gt 10 && break
4852 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4855 $ac_path_SED_found && break 3
4860 if test -z "$ac_cv_path_SED"; then
4861 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4869 $as_echo "$ac_cv_path_SED" >&6; }
4870 SED
="$ac_cv_path_SED"
4873 test -z "$SED" && SED
=sed
4874 Xsed
="$SED -e 1s/^X//"
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4887 $as_echo_n "checking for fgrep... " >&6; }
4888 if ${ac_cv_path_FGREP+:} false
; then :
4889 $as_echo_n "(cached) " >&6
4891 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4892 then ac_cv_path_FGREP
="$GREP -F"
4894 if test -z "$FGREP"; then
4895 ac_path_FGREP_found
=false
4896 # Loop through the user's path and test for each of PROGNAME-LIST
4897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4898 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4901 test -z "$as_dir" && as_dir
=.
4902 for ac_prog
in fgrep
; do
4903 for ac_exec_ext
in '' $ac_executable_extensions; do
4904 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4905 as_fn_executable_p
"$ac_path_FGREP" ||
continue
4906 # Check for GNU ac_path_FGREP and select it if it is found.
4907 # Check for GNU $ac_path_FGREP
4908 case `"$ac_path_FGREP" --version 2>&1` in
4910 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4913 $as_echo_n 0123456789 >"conftest.in"
4916 cat "conftest.in" "conftest.in" >"conftest.tmp"
4917 mv "conftest.tmp" "conftest.in"
4918 cp "conftest.in" "conftest.nl"
4919 $as_echo 'FGREP' >> "conftest.nl"
4920 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4921 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4922 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4923 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4924 # Best one so far, save it but keep looking for a better one
4925 ac_cv_path_FGREP
="$ac_path_FGREP"
4926 ac_path_FGREP_max
=$ac_count
4928 # 10*(2^10) chars as input seems more than enough
4929 test $ac_count -gt 10 && break
4931 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4934 $ac_path_FGREP_found && break 3
4939 if test -z "$ac_cv_path_FGREP"; then
4940 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4943 ac_cv_path_FGREP
=$FGREP
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4949 $as_echo "$ac_cv_path_FGREP" >&6; }
4950 FGREP
="$ac_cv_path_FGREP"
4953 test -z "$GREP" && GREP
=grep
4973 # Check whether --with-gnu-ld was given.
4974 if test "${with_gnu_ld+set}" = set; then :
4975 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4981 if test "$GCC" = yes; then
4982 # Check if gcc -print-prog-name=ld gives a path.
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4984 $as_echo_n "checking for ld used by $CC... " >&6; }
4987 # gcc leaves a trailing carriage return which upsets mingw
4988 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4990 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4993 # Accept absolute paths.
4995 re_direlt
='/[^/][^/]*/\.\./'
4996 # Canonicalize the pathname of ld
4997 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4998 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4999 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5001 test -z "$LD" && LD
="$ac_prog"
5004 # If it fails, then pretend we aren't using GCC.
5008 # If it is relative, then search for the first ld in PATH.
5012 elif test "$with_gnu_ld" = yes; then
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5014 $as_echo_n "checking for GNU ld... " >&6; }
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5017 $as_echo_n "checking for non-GNU ld... " >&6; }
5019 if ${lt_cv_path_LD+:} false
; then :
5020 $as_echo_n "(cached) " >&6
5022 if test -z "$LD"; then
5023 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5024 for ac_dir
in $PATH; do
5026 test -z "$ac_dir" && ac_dir
=.
5027 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5028 lt_cv_path_LD
="$ac_dir/$ac_prog"
5029 # Check to see if the program is GNU ld. I'd rather use --version,
5030 # but apparently some variants of GNU ld only accept -v.
5031 # Break only if it was the GNU/non-GNU ld that we prefer.
5032 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5033 *GNU
* |
*'with BFD'*)
5034 test "$with_gnu_ld" != no
&& break
5037 test "$with_gnu_ld" != yes && break
5044 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5049 if test -n "$LD"; then
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5051 $as_echo "$LD" >&6; }
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5054 $as_echo "no" >&6; }
5056 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5058 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5059 if ${lt_cv_prog_gnu_ld+:} false
; then :
5060 $as_echo_n "(cached) " >&6
5062 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5063 case `$LD -v 2>&1 </dev/null` in
5064 *GNU
* |
*'with BFD'*)
5065 lt_cv_prog_gnu_ld
=yes
5068 lt_cv_prog_gnu_ld
=no
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5073 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5074 with_gnu_ld
=$lt_cv_prog_gnu_ld
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5085 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5086 if ${lt_cv_path_NM+:} false
; then :
5087 $as_echo_n "(cached) " >&6
5089 if test -n "$NM"; then
5090 # Let the user override the nm to test.
5091 lt_nm_to_check
="$NM"
5093 lt_nm_to_check
="${ac_tool_prefix}nm"
5094 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5095 lt_nm_to_check
="$lt_nm_to_check nm"
5098 for lt_tmp_nm
in "$lt_nm_to_check"; do
5099 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5100 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5102 test -z "$ac_dir" && ac_dir
=.
5103 # Strip out any user-provided options from the nm to test twice,
5104 # the first time to test to see if nm (rather than its options) has
5105 # an explicit path, the second time to yield a file which can be
5107 tmp_nm_path
="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
5108 case "$tmp_nm_path" in
5109 */*|
*\\*) tmp_nm
="$lt_tmp_nm";;
5110 *) tmp_nm
="$ac_dir/$lt_tmp_nm";;
5112 tmp_nm_to_nm
="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
5113 if test -f "$tmp_nm_to_nm" ||
test -f "$tmp_nm_to_nm$ac_exeext" ; then
5114 # Check to see if the nm accepts a BSD-compat flag.
5115 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5116 # nm: unknown option "B" ignored
5117 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5118 *$tmp_nm*) lt_cv_path_NM
="$tmp_nm -B"
5122 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5124 lt_cv_path_NM
="$tmp_nm -p"
5128 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5129 continue # so that we can try to find one that supports BSD flags
5138 : ${lt_cv_path_NM=no}
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5141 $as_echo "$lt_cv_path_NM" >&6; }
5142 if test "$lt_cv_path_NM" != "no"; then
5145 # Didn't find any BSD compatible name lister, look for dumpbin.
5146 if test -n "$DUMPBIN"; then :
5147 # Let the user override the test.
5149 if test -n "$ac_tool_prefix"; then
5150 for ac_prog
in dumpbin
"link -dump"
5152 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5153 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5155 $as_echo_n "checking for $ac_word... " >&6; }
5156 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5157 $as_echo_n "(cached) " >&6
5159 if test -n "$DUMPBIN"; then
5160 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5166 test -z "$as_dir" && as_dir
=.
5167 for ac_exec_ext
in '' $ac_executable_extensions; do
5168 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5169 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5179 DUMPBIN
=$ac_cv_prog_DUMPBIN
5180 if test -n "$DUMPBIN"; then
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5182 $as_echo "$DUMPBIN" >&6; }
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5185 $as_echo "no" >&6; }
5189 test -n "$DUMPBIN" && break
5192 if test -z "$DUMPBIN"; then
5193 ac_ct_DUMPBIN
=$DUMPBIN
5194 for ac_prog
in dumpbin
"link -dump"
5196 # Extract the first word of "$ac_prog", so it can be a program name with args.
5197 set dummy
$ac_prog; ac_word
=$2
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5199 $as_echo_n "checking for $ac_word... " >&6; }
5200 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5201 $as_echo_n "(cached) " >&6
5203 if test -n "$ac_ct_DUMPBIN"; then
5204 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5210 test -z "$as_dir" && as_dir
=.
5211 for ac_exec_ext
in '' $ac_executable_extensions; do
5212 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5213 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5223 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5224 if test -n "$ac_ct_DUMPBIN"; then
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5226 $as_echo "$ac_ct_DUMPBIN" >&6; }
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5229 $as_echo "no" >&6; }
5233 test -n "$ac_ct_DUMPBIN" && break
5236 if test "x$ac_ct_DUMPBIN" = x
; then
5239 case $cross_compiling:$ac_tool_warned in
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5242 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5243 ac_tool_warned
=yes ;;
5245 DUMPBIN
=$ac_ct_DUMPBIN
5249 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5251 DUMPBIN
="$DUMPBIN -symbols"
5259 if test "$DUMPBIN" != ":"; then
5263 test -z "$NM" && NM
=nm
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5271 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5272 if ${lt_cv_nm_interface+:} false
; then :
5273 $as_echo_n "(cached) " >&6
5275 lt_cv_nm_interface
="BSD nm"
5276 echo "int some_variable = 0;" > conftest.
$ac_ext
5277 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5278 (eval "$ac_compile" 2>conftest.err
)
5279 cat conftest.err
>&5
5280 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5281 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5282 cat conftest.err
>&5
5283 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5284 cat conftest.out
>&5
5285 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5286 lt_cv_nm_interface
="MS dumpbin"
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5291 $as_echo "$lt_cv_nm_interface" >&6; }
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5294 $as_echo_n "checking whether ln -s works... " >&6; }
5296 if test "$LN_S" = "ln -s"; then
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5298 $as_echo "yes" >&6; }
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5301 $as_echo "no, using $LN_S" >&6; }
5304 # find the maximum length of command line arguments
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5306 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5307 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5308 $as_echo_n "(cached) " >&6
5315 # On DJGPP, this test can blow up pretty badly due to problems in libc
5316 # (any single argument exceeding 2000 bytes causes a buffer overrun
5317 # during glob expansion). Even if it were fixed, the result of this
5318 # check would be larger than it should be.
5319 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5323 # Under GNU Hurd, this test is not required because there is
5324 # no limit to the length of command line arguments.
5325 # Libtool will interpret -1 as no limit whatsoever
5326 lt_cv_sys_max_cmd_len
=-1;
5329 cygwin
* | mingw
* | cegcc
*)
5330 # On Win9x/ME, this test blows up -- it succeeds, but takes
5331 # about 5 minutes as the teststring grows exponentially.
5332 # Worse, since 9x/ME are not pre-emptively multitasking,
5333 # you end up with a "frozen" computer, even though with patience
5334 # the test eventually succeeds (with a max line length of 256k).
5335 # Instead, let's just punt: use the minimum linelength reported by
5336 # all of the supported platforms: 8192 (on NT/2K/XP).
5337 lt_cv_sys_max_cmd_len
=8192;
5341 # On MiNT this can take a long time and run out of memory.
5342 lt_cv_sys_max_cmd_len
=8192;
5346 # On AmigaOS with pdksh, this test takes hours, literally.
5347 # So we just punt and use a minimum line length of 8192.
5348 lt_cv_sys_max_cmd_len
=8192;
5351 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5352 # This has been around since 386BSD, at least. Likely further.
5353 if test -x /sbin
/sysctl
; then
5354 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5355 elif test -x /usr
/sbin
/sysctl
; then
5356 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5358 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5360 # And add a safety zone
5361 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5362 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5366 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5367 lt_cv_sys_max_cmd_len
=196608
5371 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5372 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5373 # nice to cause kernel panics so lets avoid the loop below.
5374 # First set a reasonable default.
5375 lt_cv_sys_max_cmd_len
=16384
5377 if test -x /sbin
/sysconfig
; then
5378 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5379 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5384 lt_cv_sys_max_cmd_len
=102400
5386 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5387 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5388 if test -n "$kargmax"; then
5389 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5391 lt_cv_sys_max_cmd_len
=32768
5395 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5396 if test -n "$lt_cv_sys_max_cmd_len"; then
5397 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5398 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5400 # Make teststring a little bigger before we do anything with it.
5401 # a 1K string should be a reasonable start.
5402 for i
in 1 2 3 4 5 6 7 8 ; do
5403 teststring
=$teststring$teststring
5405 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5406 # If test is not a shell built-in, we'll probably end up computing a
5407 # maximum length that is only half of the actual maximum length, but
5409 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5410 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5411 test $i != 17 # 1/2 MB should be enough
5414 teststring
=$teststring$teststring
5416 # Only check the string length outside the loop.
5417 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5419 # Add a significant safety factor because C++ compilers can tack on
5420 # massive amounts of additional arguments before passing them to the
5421 # linker. It appears as though 1/2 is a usable value.
5422 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5429 if test -n $lt_cv_sys_max_cmd_len ; then
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5431 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5434 $as_echo "none" >&6; }
5436 max_cmd_len
=$lt_cv_sys_max_cmd_len
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5448 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5449 # Try some XSI features
5452 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5454 && eval 'test $(( 1 + 1 )) -eq 2 \
5455 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5458 $as_echo "$xsi_shell" >&6; }
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5462 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5464 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5466 && lt_shell_append=yes
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5468 $as_echo "$lt_shell_append" >&6; }
5471 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5481 # test EBCDIC or ASCII
5482 case `echo X|tr X '\101'` in
5483 A) # ASCII based system
5484 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5485 lt_SP2NL='tr \040 \012'
5486 lt_NL2SP='tr \015\012 \040\040'
5488 *) # EBCDIC based system
5489 lt_SP2NL='tr \100 \n'
5490 lt_NL2SP='tr \r\n \100\100'
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5503 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5504 if ${lt_cv_ld_reload_flag+:} false; then :
5505 $as_echo_n "(cached
) " >&6
5507 lt_cv_ld_reload_flag='-r'
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5510 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5511 reload_flag=$lt_cv_ld_reload_flag
5512 case $reload_flag in
5514 *) reload_flag=" $reload_flag" ;;
5516 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5519 if test "$GCC" = yes; then
5520 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5522 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5535 if test -n "$ac_tool_prefix"; then
5536 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5537 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5539 $as_echo_n "checking
for $ac_word...
" >&6; }
5540 if ${ac_cv_prog_OBJDUMP+:} false; then :
5541 $as_echo_n "(cached
) " >&6
5543 if test -n "$OBJDUMP"; then
5544 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5550 test -z "$as_dir" && as_dir=.
5551 for ac_exec_ext in '' $ac_executable_extensions; do
5552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5553 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5554 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5563 OBJDUMP=$ac_cv_prog_OBJDUMP
5564 if test -n "$OBJDUMP"; then
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5566 $as_echo "$OBJDUMP" >&6; }
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5569 $as_echo "no
" >&6; }
5574 if test -z "$ac_cv_prog_OBJDUMP"; then
5575 ac_ct_OBJDUMP=$OBJDUMP
5576 # Extract the first word of "objdump
", so it can be a program name with args.
5577 set dummy objdump; ac_word=$2
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5579 $as_echo_n "checking
for $ac_word...
" >&6; }
5580 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5581 $as_echo_n "(cached
) " >&6
5583 if test -n "$ac_ct_OBJDUMP"; then
5584 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5590 test -z "$as_dir" && as_dir=.
5591 for ac_exec_ext in '' $ac_executable_extensions; do
5592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5593 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5594 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5603 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5604 if test -n "$ac_ct_OBJDUMP"; then
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5606 $as_echo "$ac_ct_OBJDUMP" >&6; }
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5609 $as_echo "no
" >&6; }
5612 if test "x
$ac_ct_OBJDUMP" = x; then
5615 case $cross_compiling:$ac_tool_warned in
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5618 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5619 ac_tool_warned=yes ;;
5621 OBJDUMP=$ac_ct_OBJDUMP
5624 OBJDUMP="$ac_cv_prog_OBJDUMP"
5627 test -z "$OBJDUMP" && OBJDUMP=objdump
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5638 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5639 if ${lt_cv_deplibs_check_method+:} false; then :
5640 $as_echo_n "(cached
) " >&6
5642 lt_cv_file_magic_cmd='$MAGIC_CMD'
5643 lt_cv_file_magic_test_file=
5644 lt_cv_deplibs_check_method='unknown'
5645 # Need to set the preceding variable on all platforms that support
5646 # interlibrary dependencies.
5647 # 'none' -- dependencies not supported.
5648 # `unknown' -- same as none, but documents that we really don't know.
5649 # 'pass_all' -- all dependencies passed with no checks.
5650 # 'test_compile' -- check by making test program.
5651 # 'file_magic [[regex]]' -- check by looking for files in library path
5652 # which responds to the $file_magic_cmd with a given extended regex.
5653 # If you have `file' or equivalent on your system and you're not sure
5654 # whether `pass_all' will *always* work, you probably want this one.
5658 lt_cv_deplibs_check_method=pass_all
5662 lt_cv_deplibs_check_method=pass_all
5666 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5667 lt_cv_file_magic_cmd='/usr/bin/file -L'
5668 lt_cv_file_magic_test_file=/shlib/libc.so
5672 # func_win32_libid is a shell function defined in ltmain.sh
5673 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5674 lt_cv_file_magic_cmd='func_win32_libid'
5678 # Base MSYS/MinGW do not provide the 'file' command needed by
5679 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5680 # unless we find 'file', for example because we are cross-compiling.
5681 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5682 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5683 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5684 lt_cv_file_magic_cmd='func_win32_libid'
5686 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5687 lt_cv_file_magic_cmd='$OBJDUMP -f'
5692 # use the weaker test based on 'objdump'. See mingw*.
5693 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5694 lt_cv_file_magic_cmd='$OBJDUMP -f'
5697 darwin* | rhapsody*)
5698 lt_cv_deplibs_check_method=pass_all
5701 freebsd* | dragonfly*)
5702 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5705 # Not sure whether the presence of OpenBSD here was a mistake.
5706 # Let's accept both of them until this is cleared up.
5707 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5708 lt_cv_file_magic_cmd=/usr/bin/file
5709 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5713 lt_cv_deplibs_check_method=pass_all
5718 lt_cv_deplibs_check_method=pass_all
5722 lt_cv_deplibs_check_method=pass_all
5725 hpux10.20* | hpux11*)
5726 lt_cv_file_magic_cmd=/usr/bin/file
5729 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5730 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5733 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]'
5734 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5737 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5738 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5744 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5745 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5748 irix5* | irix6* | nonstopux*)
5750 *-32|*"-32 ") libmagic=32-bit;;
5751 *-n32|*"-n32 ") libmagic=N32;;
5752 *-64|*"-64 ") libmagic=64-bit;;
5753 *) libmagic=never-match;;
5755 lt_cv_deplibs_check_method=pass_all
5758 # This must be Linux ELF.
5759 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
5760 lt_cv_deplibs_check_method=pass_all
5764 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5765 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5767 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5772 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5773 lt_cv_file_magic_cmd=/usr/bin/file
5774 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5778 lt_cv_deplibs_check_method=pass_all
5782 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5783 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5785 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5789 osf3* | osf4* | osf5*)
5790 lt_cv_deplibs_check_method=pass_all
5794 lt_cv_deplibs_check_method=pass_all
5798 lt_cv_deplibs_check_method=pass_all
5801 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5802 lt_cv_deplibs_check_method=pass_all
5806 case $host_vendor in
5808 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]'
5809 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5812 lt_cv_deplibs_check_method=pass_all
5815 lt_cv_file_magic_cmd='/bin/file'
5816 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5819 lt_cv_file_magic_cmd='/bin/file'
5820 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5821 lt_cv_file_magic_test_file=/lib/libc.so
5824 lt_cv_deplibs_check_method=pass_all
5827 lt_cv_deplibs_check_method=pass_all
5833 lt_cv_deplibs_check_method=pass_all
5836 # Assume VxWorks cross toolchains are built on Linux, possibly
5837 # as canadian for Windows hosts.
5838 lt_cv_deplibs_check_method=pass_all
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5844 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5845 file_magic_cmd=$lt_cv_file_magic_cmd
5846 deplibs_check_method=$lt_cv_deplibs_check_method
5847 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5861 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
5862 for plugin in $plugin_names; do
5863 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
5864 if test x$plugin_so = x$plugin; then
5865 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
5867 if test x$plugin_so != x$plugin; then
5868 plugin_option="--plugin $plugin_so"
5873 if test -n "$ac_tool_prefix"; then
5874 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5875 set dummy ${ac_tool_prefix}ar; ac_word=$2
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5877 $as_echo_n "checking
for $ac_word...
" >&6; }
5878 if ${ac_cv_prog_AR+:} false; then :
5879 $as_echo_n "(cached
) " >&6
5881 if test -n "$AR"; then
5882 ac_cv_prog_AR="$AR" # Let the user override the test.
5884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5888 test -z "$as_dir" && as_dir=.
5889 for ac_exec_ext in '' $ac_executable_extensions; do
5890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5891 ac_cv_prog_AR="${ac_tool_prefix}ar"
5892 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5902 if test -n "$AR"; then
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5904 $as_echo "$AR" >&6; }
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5907 $as_echo "no
" >&6; }
5912 if test -z "$ac_cv_prog_AR"; then
5914 # Extract the first word of "ar", so it can be a program name with args.
5915 set dummy ar; ac_word=$2
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5917 $as_echo_n "checking
for $ac_word...
" >&6; }
5918 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5919 $as_echo_n "(cached
) " >&6
5921 if test -n "$ac_ct_AR"; then
5922 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5928 test -z "$as_dir" && as_dir=.
5929 for ac_exec_ext in '' $ac_executable_extensions; do
5930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5931 ac_cv_prog_ac_ct_AR="ar"
5932 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5941 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5942 if test -n "$ac_ct_AR"; then
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5944 $as_echo "$ac_ct_AR" >&6; }
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5947 $as_echo "no
" >&6; }
5950 if test "x
$ac_ct_AR" = x; then
5953 case $cross_compiling:$ac_tool_warned in
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5956 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5957 ac_tool_warned=yes ;;
5965 test -z "$AR" && AR=ar
5966 if test -n "$plugin_option"; then
5967 if $AR --help 2>&1 | grep -q "\
--plugin"; then
5969 $AR $plugin_option rc conftest.a conftest.c
5970 if test "$?
" != 0; then
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
5972 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
5974 AR="$AR $plugin_option"
5979 test -z "$AR_FLAGS" && AR_FLAGS=cru
5991 if test -n "$ac_tool_prefix"; then
5992 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5993 set dummy ${ac_tool_prefix}strip; ac_word=$2
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5995 $as_echo_n "checking
for $ac_word...
" >&6; }
5996 if ${ac_cv_prog_STRIP+:} false; then :
5997 $as_echo_n "(cached
) " >&6
5999 if test -n "$STRIP"; then
6000 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6006 test -z "$as_dir" && as_dir=.
6007 for ac_exec_ext in '' $ac_executable_extensions; do
6008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6009 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6010 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6019 STRIP=$ac_cv_prog_STRIP
6020 if test -n "$STRIP"; then
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6022 $as_echo "$STRIP" >&6; }
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6025 $as_echo "no
" >&6; }
6030 if test -z "$ac_cv_prog_STRIP"; then
6032 # Extract the first word of "strip
", so it can be a program name with args.
6033 set dummy strip; ac_word=$2
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6035 $as_echo_n "checking
for $ac_word...
" >&6; }
6036 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6037 $as_echo_n "(cached
) " >&6
6039 if test -n "$ac_ct_STRIP"; then
6040 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6046 test -z "$as_dir" && as_dir=.
6047 for ac_exec_ext in '' $ac_executable_extensions; do
6048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6049 ac_cv_prog_ac_ct_STRIP="strip
"
6050 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6059 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6060 if test -n "$ac_ct_STRIP"; then
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6062 $as_echo "$ac_ct_STRIP" >&6; }
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6065 $as_echo "no
" >&6; }
6068 if test "x
$ac_ct_STRIP" = x; then
6071 case $cross_compiling:$ac_tool_warned in
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6074 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6075 ac_tool_warned=yes ;;
6080 STRIP="$ac_cv_prog_STRIP"
6083 test -z "$STRIP" && STRIP=:
6090 if test -n "$ac_tool_prefix"; then
6091 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6092 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6094 $as_echo_n "checking
for $ac_word...
" >&6; }
6095 if ${ac_cv_prog_RANLIB+:} false; then :
6096 $as_echo_n "(cached
) " >&6
6098 if test -n "$RANLIB"; then
6099 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6105 test -z "$as_dir" && as_dir=.
6106 for ac_exec_ext in '' $ac_executable_extensions; do
6107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6108 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6109 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6118 RANLIB=$ac_cv_prog_RANLIB
6119 if test -n "$RANLIB"; then
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6121 $as_echo "$RANLIB" >&6; }
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6124 $as_echo "no
" >&6; }
6129 if test -z "$ac_cv_prog_RANLIB"; then
6130 ac_ct_RANLIB=$RANLIB
6131 # Extract the first word of "ranlib
", so it can be a program name with args.
6132 set dummy ranlib; ac_word=$2
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6134 $as_echo_n "checking
for $ac_word...
" >&6; }
6135 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6136 $as_echo_n "(cached
) " >&6
6138 if test -n "$ac_ct_RANLIB"; then
6139 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6145 test -z "$as_dir" && as_dir=.
6146 for ac_exec_ext in '' $ac_executable_extensions; do
6147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6148 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6149 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6158 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6159 if test -n "$ac_ct_RANLIB"; then
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6161 $as_echo "$ac_ct_RANLIB" >&6; }
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6164 $as_echo "no
" >&6; }
6167 if test "x
$ac_ct_RANLIB" = x; then
6170 case $cross_compiling:$ac_tool_warned in
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6173 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6174 ac_tool_warned=yes ;;
6176 RANLIB=$ac_ct_RANLIB
6179 RANLIB="$ac_cv_prog_RANLIB"
6182 test -z "$RANLIB" && RANLIB=:
6183 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
6184 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
6185 RANLIB="$RANLIB $plugin_option"
6194 # Determine commands to create old-style static archives.
6195 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6196 old_postinstall_cmds='chmod 644 $oldlib'
6197 old_postuninstall_cmds=
6199 if test -n "$RANLIB"; then
6202 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6205 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6208 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6213 lock_old_archive_extraction=yes ;;
6215 lock_old_archive_extraction=no ;;
6256 # If no C compiler was specified, use CC.
6259 # If no C compiler flags were specified, use CFLAGS.
6260 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6262 # Allow CC to be a program name with arguments.
6266 # Check for command to grab the raw symbol name followed by C symbol from nm.
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6268 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6269 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6270 $as_echo_n "(cached
) " >&6
6273 # These are sane defaults that work on at least a few old systems.
6274 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6276 # Character class describing NM global symbol codes.
6277 symcode='[BCDEGRST]'
6279 # Regexp to match symbols that can be accessed directly from C.
6280 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6282 # Define system-specific variables.
6287 cygwin* | mingw* | pw32* | cegcc*)
6288 symcode='[ABCDGISTW]'
6291 if test "$host_cpu" = ia64; then
6292 symcode='[ABCDEGRST]'
6296 symcode='[BCDEGRST]'
6299 symcode='[BCDEGQRST]'
6310 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6318 # If we're using GNU nm, then use its standard symbol codes.
6319 case `$NM -V 2>&1` in
6320 *GNU* | *'with BFD'*)
6321 symcode='[ABCDGIRSTW]' ;;
6324 # Transform an extracted symbol line into a proper C declaration.
6325 # Some systems (esp. on ia64) link data and code symbols differently,
6326 # so use this general approach.
6327 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6329 # Transform an extracted symbol line into symbol name and symbol address
6330 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6331 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'"
6333 # Handle CRLF in mingw tool chain
6337 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6341 # Try without a prefix underscore, then with it.
6342 for ac_symprfx in "" "_
"; do
6344 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6345 symxfrm="\\1 $ac_symprfx\\2 \\2"
6347 # Write the raw and C identifiers.
6348 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6349 # Fake it for dumpbin and say T for any non-static function
6350 # and D for any global variable.
6351 # Also find C++ and __fastcall symbols from MSVC++,
6352 # which start with @ or ?.
6353 lt_cv_sys_global_symbol_pipe="$AWK '"\
6354 " {last_section=section; section=\$ 3};"\
6355 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6356 " \$ 0!~/External *\|/{next};"\
6357 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6358 " {if(hide[section]) next};"\
6359 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6360 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6361 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6362 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6363 " ' prfx
=^
$ac_symprfx"
6365 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6368 # Check to see that the pipe works correctly.
6372 cat > conftest.$ac_ext <<_LT_EOF
6377 void nm_test_func(void);
6378 void nm_test_func(void){}
6382 int main(){nm_test_var='a';nm_test_func();return(0);}
6385 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6386 (eval $ac_compile) 2>&5
6388 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6389 test $ac_status = 0; }; then
6390 # Now try to grab the symbols.
6392 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6393 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6395 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6396 test $ac_status = 0; } && test -s "$nlist"; then
6397 # Try sorting and uniquifying the output.
6398 if sort "$nlist" | uniq > "$nlist"T; then
6399 mv -f "$nlist"T "$nlist"
6404 # Make sure that we snagged all the symbols we need.
6405 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6406 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6407 cat <<_LT_EOF > conftest.$ac_ext
6413 # Now generate the symbol file.
6414 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6416 cat <<_LT_EOF >> conftest.$ac_ext
6418 /* The mapping between symbol names and symbols. */
6423 lt__PROGRAM__LTX_preloaded_symbols[] =
6425 { "@PROGRAM@
", (void *) 0 },
6427 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6428 cat <<\_LT_EOF >> conftest.$ac_ext
6432 /* This works around a problem in FreeBSD linker */
6433 #ifdef FREEBSD_WORKAROUND
6434 static const void *lt_preloaded_setup() {
6435 return lt__PROGRAM__LTX_preloaded_symbols;
6443 # Now try linking the two files.
6444 mv conftest.$ac_objext conftstm.$ac_objext
6445 lt_save_LIBS="$LIBS"
6446 lt_save_CFLAGS="$CFLAGS"
6447 LIBS="conftstm.
$ac_objext"
6448 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6449 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6450 (eval $ac_link) 2>&5
6452 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6453 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6456 LIBS="$lt_save_LIBS"
6457 CFLAGS="$lt_save_CFLAGS"
6459 echo "cannot
find nm_test_func
in $nlist" >&5
6462 echo "cannot
find nm_test_var
in $nlist" >&5
6465 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6468 echo "$progname: failed program was
:" >&5
6469 cat conftest.$ac_ext >&5
6471 rm -rf conftest* conftst*
6473 # Do not use the global_symbol_pipe unless it works.
6474 if test "$pipe_works" = yes; then
6477 lt_cv_sys_global_symbol_pipe=
6483 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6484 lt_cv_sys_global_symbol_to_cdecl=
6486 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6488 $as_echo "failed
" >&6; }
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6491 $as_echo "ok
" >&6; }
6515 # Check whether --enable-libtool-lock was given.
6516 if test "${enable_libtool_lock+set}" = set; then :
6517 enableval=$enable_libtool_lock;
6520 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6522 # Some flags need to be propagated to the compiler or linker for good
6526 # Find out which ABI we are using.
6527 echo 'int i;' > conftest.$ac_ext
6528 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6529 (eval $ac_compile) 2>&5
6531 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6532 test $ac_status = 0; }; then
6533 case `/usr/bin/file conftest.$ac_objext` in
6545 # Find out which ABI we are using.
6546 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6547 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6548 (eval $ac_compile) 2>&5
6550 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6551 test $ac_status = 0; }; then
6552 if test "$lt_cv_prog_gnu_ld" = yes; then
6553 case `/usr/bin/file conftest.$ac_objext` in
6555 LD="${LD-ld} -melf32bsmip"
6558 LD="${LD-ld} -melf32bmipn32"
6561 LD="${LD-ld} -melf64bmip"
6565 case `/usr/bin/file conftest.$ac_objext` in
6581 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6582 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6583 # Find out which ABI we are using.
6584 echo 'int i;' > conftest.$ac_ext
6585 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6586 (eval $ac_compile) 2>&5
6588 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6589 test $ac_status = 0; }; then
6590 case `/usr/bin/file conftest.o` in
6593 x86_64-*kfreebsd*-gnu)
6594 LD="${LD-ld} -m elf_i386_fbsd
"
6597 case `/usr/bin/file conftest.o` in
6599 LD="${LD-ld} -m elf32_x86_64
"
6602 LD="${LD-ld} -m elf_i386
"
6606 powerpc64le-*linux*)
6607 LD="${LD-ld} -m elf32lppclinux
"
6610 LD="${LD-ld} -m elf32ppclinux
"
6613 LD="${LD-ld} -m elf_s390
"
6616 LD="${LD-ld} -m elf32_sparc
"
6622 x86_64-*kfreebsd*-gnu)
6623 LD="${LD-ld} -m elf_x86_64_fbsd
"
6626 LD="${LD-ld} -m elf_x86_64
"
6629 LD="${LD-ld} -m elf64lppc
"
6632 LD="${LD-ld} -m elf64ppc
"
6634 s390*-*linux*|s390*-*tpf*)
6635 LD="${LD-ld} -m elf64_s390
"
6638 LD="${LD-ld} -m elf64_sparc
"
6648 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6649 SAVE_CFLAGS="$CFLAGS"
6650 CFLAGS="$CFLAGS -belf"
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6652 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6653 if ${lt_cv_cc_needs_belf+:} false; then :
6654 $as_echo_n "(cached
) " >&6
6657 ac_cpp='$CPP $CPPFLAGS'
6658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6663 /* end confdefs.h. */
6673 if ac_fn_c_try_link "$LINENO"; then :
6674 lt_cv_cc_needs_belf=yes
6676 lt_cv_cc_needs_belf=no
6678 rm -f core conftest.err conftest.$ac_objext \
6679 conftest$ac_exeext conftest.$ac_ext
6681 ac_cpp='$CPP $CPPFLAGS'
6682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6688 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6689 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6690 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6691 CFLAGS="$SAVE_CFLAGS"
6695 # Find out which ABI we are using.
6696 echo 'int i;' > conftest.$ac_ext
6697 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6698 (eval $ac_compile) 2>&5
6700 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6701 test $ac_status = 0; }; then
6702 case `/usr/bin/file conftest.o` in
6704 case $lt_cv_prog_gnu_ld in
6705 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6707 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6719 need_locks="$enable_libtool_lock"
6723 rhapsody* | darwin*)
6724 if test -n "$ac_tool_prefix"; then
6725 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6726 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6728 $as_echo_n "checking
for $ac_word...
" >&6; }
6729 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6730 $as_echo_n "(cached
) " >&6
6732 if test -n "$DSYMUTIL"; then
6733 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6739 test -z "$as_dir" && as_dir=.
6740 for ac_exec_ext in '' $ac_executable_extensions; do
6741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6742 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6743 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6752 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6753 if test -n "$DSYMUTIL"; then
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6755 $as_echo "$DSYMUTIL" >&6; }
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6758 $as_echo "no
" >&6; }
6763 if test -z "$ac_cv_prog_DSYMUTIL"; then
6764 ac_ct_DSYMUTIL=$DSYMUTIL
6765 # Extract the first word of "dsymutil
", so it can be a program name with args.
6766 set dummy dsymutil; ac_word=$2
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6768 $as_echo_n "checking
for $ac_word...
" >&6; }
6769 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6770 $as_echo_n "(cached
) " >&6
6772 if test -n "$ac_ct_DSYMUTIL"; then
6773 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6779 test -z "$as_dir" && as_dir=.
6780 for ac_exec_ext in '' $ac_executable_extensions; do
6781 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6782 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6783 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6792 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6793 if test -n "$ac_ct_DSYMUTIL"; then
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6795 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6798 $as_echo "no
" >&6; }
6801 if test "x
$ac_ct_DSYMUTIL" = x; then
6804 case $cross_compiling:$ac_tool_warned in
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6807 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6808 ac_tool_warned=yes ;;
6810 DSYMUTIL=$ac_ct_DSYMUTIL
6813 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6816 if test -n "$ac_tool_prefix"; then
6817 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6818 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6820 $as_echo_n "checking
for $ac_word...
" >&6; }
6821 if ${ac_cv_prog_NMEDIT+:} false; then :
6822 $as_echo_n "(cached
) " >&6
6824 if test -n "$NMEDIT"; then
6825 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6831 test -z "$as_dir" && as_dir=.
6832 for ac_exec_ext in '' $ac_executable_extensions; do
6833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6834 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6835 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6844 NMEDIT=$ac_cv_prog_NMEDIT
6845 if test -n "$NMEDIT"; then
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6847 $as_echo "$NMEDIT" >&6; }
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6850 $as_echo "no
" >&6; }
6855 if test -z "$ac_cv_prog_NMEDIT"; then
6856 ac_ct_NMEDIT=$NMEDIT
6857 # Extract the first word of "nmedit
", so it can be a program name with args.
6858 set dummy nmedit; ac_word=$2
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6860 $as_echo_n "checking
for $ac_word...
" >&6; }
6861 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6862 $as_echo_n "(cached
) " >&6
6864 if test -n "$ac_ct_NMEDIT"; then
6865 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6871 test -z "$as_dir" && as_dir=.
6872 for ac_exec_ext in '' $ac_executable_extensions; do
6873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6874 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6875 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6884 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6885 if test -n "$ac_ct_NMEDIT"; then
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6887 $as_echo "$ac_ct_NMEDIT" >&6; }
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6890 $as_echo "no
" >&6; }
6893 if test "x
$ac_ct_NMEDIT" = x; then
6896 case $cross_compiling:$ac_tool_warned in
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6899 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6900 ac_tool_warned=yes ;;
6902 NMEDIT=$ac_ct_NMEDIT
6905 NMEDIT="$ac_cv_prog_NMEDIT"
6908 if test -n "$ac_tool_prefix"; then
6909 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6910 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6912 $as_echo_n "checking
for $ac_word...
" >&6; }
6913 if ${ac_cv_prog_LIPO+:} false; then :
6914 $as_echo_n "(cached
) " >&6
6916 if test -n "$LIPO"; then
6917 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6923 test -z "$as_dir" && as_dir=.
6924 for ac_exec_ext in '' $ac_executable_extensions; do
6925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6926 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6927 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6936 LIPO=$ac_cv_prog_LIPO
6937 if test -n "$LIPO"; then
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6939 $as_echo "$LIPO" >&6; }
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6942 $as_echo "no
" >&6; }
6947 if test -z "$ac_cv_prog_LIPO"; then
6949 # Extract the first word of "lipo
", so it can be a program name with args.
6950 set dummy lipo; ac_word=$2
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6952 $as_echo_n "checking
for $ac_word...
" >&6; }
6953 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6954 $as_echo_n "(cached
) " >&6
6956 if test -n "$ac_ct_LIPO"; then
6957 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6963 test -z "$as_dir" && as_dir=.
6964 for ac_exec_ext in '' $ac_executable_extensions; do
6965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6966 ac_cv_prog_ac_ct_LIPO="lipo
"
6967 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6976 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6977 if test -n "$ac_ct_LIPO"; then
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6979 $as_echo "$ac_ct_LIPO" >&6; }
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6982 $as_echo "no
" >&6; }
6985 if test "x
$ac_ct_LIPO" = x; then
6988 case $cross_compiling:$ac_tool_warned in
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6991 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6992 ac_tool_warned=yes ;;
6997 LIPO="$ac_cv_prog_LIPO"
7000 if test -n "$ac_tool_prefix"; then
7001 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7002 set dummy ${ac_tool_prefix}otool; ac_word=$2
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7004 $as_echo_n "checking
for $ac_word...
" >&6; }
7005 if ${ac_cv_prog_OTOOL+:} false; then :
7006 $as_echo_n "(cached
) " >&6
7008 if test -n "$OTOOL"; then
7009 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7015 test -z "$as_dir" && as_dir=.
7016 for ac_exec_ext in '' $ac_executable_extensions; do
7017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7018 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7019 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7028 OTOOL=$ac_cv_prog_OTOOL
7029 if test -n "$OTOOL"; then
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7031 $as_echo "$OTOOL" >&6; }
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7034 $as_echo "no
" >&6; }
7039 if test -z "$ac_cv_prog_OTOOL"; then
7041 # Extract the first word of "otool
", so it can be a program name with args.
7042 set dummy otool; ac_word=$2
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7044 $as_echo_n "checking
for $ac_word...
" >&6; }
7045 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7046 $as_echo_n "(cached
) " >&6
7048 if test -n "$ac_ct_OTOOL"; then
7049 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7055 test -z "$as_dir" && as_dir=.
7056 for ac_exec_ext in '' $ac_executable_extensions; do
7057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7058 ac_cv_prog_ac_ct_OTOOL="otool
"
7059 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7068 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7069 if test -n "$ac_ct_OTOOL"; then
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7071 $as_echo "$ac_ct_OTOOL" >&6; }
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7074 $as_echo "no
" >&6; }
7077 if test "x
$ac_ct_OTOOL" = x; then
7080 case $cross_compiling:$ac_tool_warned in
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7083 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7084 ac_tool_warned=yes ;;
7089 OTOOL="$ac_cv_prog_OTOOL"
7092 if test -n "$ac_tool_prefix"; then
7093 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7094 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7096 $as_echo_n "checking
for $ac_word...
" >&6; }
7097 if ${ac_cv_prog_OTOOL64+:} false; then :
7098 $as_echo_n "(cached
) " >&6
7100 if test -n "$OTOOL64"; then
7101 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7107 test -z "$as_dir" && as_dir=.
7108 for ac_exec_ext in '' $ac_executable_extensions; do
7109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7110 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7111 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7120 OTOOL64=$ac_cv_prog_OTOOL64
7121 if test -n "$OTOOL64"; then
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7123 $as_echo "$OTOOL64" >&6; }
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7126 $as_echo "no
" >&6; }
7131 if test -z "$ac_cv_prog_OTOOL64"; then
7132 ac_ct_OTOOL64=$OTOOL64
7133 # Extract the first word of "otool64
", so it can be a program name with args.
7134 set dummy otool64; ac_word=$2
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7136 $as_echo_n "checking
for $ac_word...
" >&6; }
7137 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7138 $as_echo_n "(cached
) " >&6
7140 if test -n "$ac_ct_OTOOL64"; then
7141 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7147 test -z "$as_dir" && as_dir=.
7148 for ac_exec_ext in '' $ac_executable_extensions; do
7149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7150 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7151 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7160 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7161 if test -n "$ac_ct_OTOOL64"; then
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7163 $as_echo "$ac_ct_OTOOL64" >&6; }
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7166 $as_echo "no
" >&6; }
7169 if test "x
$ac_ct_OTOOL64" = x; then
7172 case $cross_compiling:$ac_tool_warned in
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7175 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7176 ac_tool_warned=yes ;;
7178 OTOOL64=$ac_ct_OTOOL64
7181 OTOOL64="$ac_cv_prog_OTOOL64"
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7211 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7212 if ${lt_cv_apple_cc_single_mod+:} false; then :
7213 $as_echo_n "(cached
) " >&6
7215 lt_cv_apple_cc_single_mod=no
7216 if test -z "${LT_MULTI_MODULE}"; then
7217 # By default we will add the -single_module flag. You can override
7218 # by either setting the environment variable LT_MULTI_MODULE
7219 # non-empty at configure time, or by adding -multi_module to the
7221 rm -rf libconftest.dylib*
7222 echo "int foo
(void
){return 1;}" > conftest.c
7223 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7224 -dynamiclib -Wl,-single_module conftest.c
" >&5
7225 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7226 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7228 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7229 lt_cv_apple_cc_single_mod=yes
7231 cat conftest.err >&5
7233 rm -rf libconftest.dylib*
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7238 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7240 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7241 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7242 $as_echo_n "(cached
) " >&6
7244 lt_cv_ld_exported_symbols_list=no
7245 save_LDFLAGS=$LDFLAGS
7246 echo "_main
" > conftest.sym
7247 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7249 /* end confdefs.h. */
7259 if ac_fn_c_try_link "$LINENO"; then :
7260 lt_cv_ld_exported_symbols_list=yes
7262 lt_cv_ld_exported_symbols_list=no
7264 rm -f core conftest.err conftest.$ac_objext \
7265 conftest$ac_exeext conftest.$ac_ext
7266 LDFLAGS="$save_LDFLAGS"
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7270 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7272 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7273 if ${lt_cv_ld_force_load+:} false; then :
7274 $as_echo_n "(cached
) " >&6
7276 lt_cv_ld_force_load=no
7277 cat > conftest.c << _LT_EOF
7278 int forced_loaded() { return 2;}
7280 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7281 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7282 echo "$AR cru libconftest.a conftest.o
" >&5
7283 $AR cru libconftest.a conftest.o 2>&5
7284 cat > conftest.c << _LT_EOF
7285 int main() { return 0;}
7287 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7288 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7290 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7291 lt_cv_ld_force_load=yes
7293 cat conftest.err >&5
7295 rm -f conftest.err libconftest.a conftest conftest.c
7296 rm -rf conftest.dSYM
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7300 $as_echo "$lt_cv_ld_force_load" >&6; }
7301 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
7302 # build without first building modern cctools / linker.
7303 case $host_cpu-$host_os in
7304 *-rhapsody* | *-darwin1.[012])
7305 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7307 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7309 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
7310 # deployment target is forced to an earlier version.
7311 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
7312 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
7315 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7322 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7323 _lt_dar_single_mod='$single_module'
7325 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7326 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7328 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7330 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7331 _lt_dsymutil='~$DSYMUTIL $lib || :'
7338 for ac_header in dlfcn.h
7340 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7342 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
7343 cat >>confdefs.h <<_ACEOF
7344 #define HAVE_DLFCN_H 1
7356 # Check whether --enable-static was given.
7357 if test "${enable_static+set}" = set; then :
7358 enableval=$enable_static; p=${PACKAGE-default}
7360 yes) enable_static=yes ;;
7361 no) enable_static=no ;;
7364 # Look at the argument we got. We use all the common list separators.
7365 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7366 for pkg in $enableval; do
7368 if test "X
$pkg" = "X
$p"; then
7394 # Check whether --enable-shared was given.
7395 if test "${enable_shared+set}" = set; then :
7396 enableval=$enable_shared; p=${PACKAGE-default}
7398 yes) enable_shared=yes ;;
7399 no) enable_shared=no ;;
7402 # Look at the argument we got. We use all the common list separators.
7403 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7404 for pkg in $enableval; do
7406 if test "X
$pkg" = "X
$p"; then
7427 # Check whether --with-pic was given.
7428 if test "${with_pic+set}" = set; then :
7429 withval=$with_pic; pic_mode="$withval"
7435 test -z "$pic_mode" && pic_mode=default
7443 # Check whether --enable-fast-install was given.
7444 if test "${enable_fast_install+set}" = set; then :
7445 enableval=$enable_fast_install; p=${PACKAGE-default}
7447 yes) enable_fast_install=yes ;;
7448 no) enable_fast_install=no ;;
7450 enable_fast_install=no
7451 # Look at the argument we got. We use all the common list separators.
7452 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7453 for pkg in $enableval; do
7455 if test "X
$pkg" = "X
$p"; then
7456 enable_fast_install=yes
7463 enable_fast_install=yes
7476 # This can be used to rebuild libtool when needed
7477 LIBTOOL_DEPS="$ltmain"
7479 # Always use our own libtool.
7480 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7507 test -z "$LN_S" && LN_S="ln -s"
7522 if test -n "${ZSH_VERSION+set}" ; then
7523 setopt NO_GLOB_SUBST
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7527 $as_echo_n "checking
for objdir...
" >&6; }
7528 if ${lt_cv_objdir+:} false; then :
7529 $as_echo_n "(cached
) " >&6
7531 rm -f .libs 2>/dev/null
7532 mkdir .libs 2>/dev/null
7533 if test -d .libs; then
7536 # MS-DOS does not allow filenames that begin with a dot.
7539 rmdir .libs 2>/dev/null
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7542 $as_echo "$lt_cv_objdir" >&6; }
7543 objdir=$lt_cv_objdir
7549 cat >>confdefs.h <<_ACEOF
7550 #define LT_OBJDIR "$lt_cv_objdir/"
7558 # AIX sometimes has problems with the GCC collect2 program. For some
7559 # reason, if we set the COLLECT_NAMES environment variable, the problems
7560 # vanish in a puff of smoke.
7561 if test "X
${COLLECT_NAMES+set}" != Xset; then
7563 export COLLECT_NAMES
7570 can_build_shared=yes
7572 # All known linkers require a `.a' archive for static linking (except MSVC,
7573 # which needs '.lib').
7576 with_gnu_ld="$lt_cv_prog_gnu_ld"
7579 old_CFLAGS="$CFLAGS"
7581 # Set sane defaults for various variables
7582 test -z "$CC" && CC=cc
7583 test -z "$LTCC" && LTCC=$CC
7584 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7585 test -z "$LD" && LD=ld
7586 test -z "$ac_objext" && ac_objext=o
7588 for cc_temp in $compiler""; do
7590 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7591 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7596 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7599 # Only perform the check for file, if the check method requires it
7600 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7601 case $deplibs_check_method in
7603 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
7605 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
7606 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7607 $as_echo_n "(cached
) " >&6
7611 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7614 lt_save_MAGIC_CMD="$MAGIC_CMD"
7615 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7616 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7617 for ac_dir in $ac_dummy; do
7619 test -z "$ac_dir" && ac_dir=.
7620 if test -f $ac_dir/${ac_tool_prefix}file; then
7621 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7622 if test -n "$file_magic_test_file"; then
7623 case $deplibs_check_method in
7625 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7626 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7627 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7628 $EGREP "$file_magic_regex" > /dev/null; then
7633 *** Warning: the command libtool uses to detect shared libraries,
7634 *** $file_magic_cmd, produces output that libtool cannot recognize.
7635 *** The result is that libtool may fail to recognize shared libraries
7636 *** as such. This will affect the creation of libtool libraries that
7637 *** depend on shared libraries, but programs linked with such libtool
7638 *** libraries will work regardless of this problem. Nevertheless, you
7639 *** may want to report the problem to your system manager and/or to
7640 *** bug-libtool@gnu.org
7650 MAGIC_CMD="$lt_save_MAGIC_CMD"
7655 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7656 if test -n "$MAGIC_CMD"; then
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7658 $as_echo "$MAGIC_CMD" >&6; }
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7661 $as_echo "no
" >&6; }
7668 if test -z "$lt_cv_path_MAGIC_CMD"; then
7669 if test -n "$ac_tool_prefix"; then
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
7671 $as_echo_n "checking
for file...
" >&6; }
7672 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7673 $as_echo_n "(cached
) " >&6
7677 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7680 lt_save_MAGIC_CMD="$MAGIC_CMD"
7681 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7682 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7683 for ac_dir in $ac_dummy; do
7685 test -z "$ac_dir" && ac_dir=.
7686 if test -f $ac_dir/file; then
7687 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7688 if test -n "$file_magic_test_file"; then
7689 case $deplibs_check_method in
7691 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7692 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7693 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7694 $EGREP "$file_magic_regex" > /dev/null; then
7699 *** Warning: the command libtool uses to detect shared libraries,
7700 *** $file_magic_cmd, produces output that libtool cannot recognize.
7701 *** The result is that libtool may fail to recognize shared libraries
7702 *** as such. This will affect the creation of libtool libraries that
7703 *** depend on shared libraries, but programs linked with such libtool
7704 *** libraries will work regardless of this problem. Nevertheless, you
7705 *** may want to report the problem to your system manager and/or to
7706 *** bug-libtool@gnu.org
7716 MAGIC_CMD="$lt_save_MAGIC_CMD"
7721 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7722 if test -n "$MAGIC_CMD"; then
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7724 $as_echo "$MAGIC_CMD" >&6; }
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7727 $as_echo "no
" >&6; }
7740 # Use C for the default configuration in the libtool script
7744 ac_cpp='$CPP $CPPFLAGS'
7745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7750 # Source file extension for C test sources.
7753 # Object file extension for compiled C test sources.
7757 # Code to be used in simple compile tests
7758 lt_simple_compile_test_code="int some_variable
= 0;"
7760 # Code to be used in simple link tests
7761 lt_simple_link_test_code='int main(){return(0);}'
7769 # If no C compiler was specified, use CC.
7772 # If no C compiler flags were specified, use CFLAGS.
7773 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7775 # Allow CC to be a program name with arguments.
7778 # Save the default compiler, since it gets overwritten when the other
7779 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7780 compiler_DEFAULT=$CC
7782 # save warnings/boilerplate of simple test code
7783 ac_outfile=conftest.$ac_objext
7784 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7785 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7786 _lt_compiler_boilerplate=`cat conftest.err`
7789 ac_outfile=conftest.$ac_objext
7790 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7791 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7792 _lt_linker_boilerplate=`cat conftest.err`
7797 ## There is no encapsulation within the following macros, do not change
7798 ## the running order or otherwise move them around unless you know exactly
7799 ## what you are doing...
7800 if test -n "$compiler"; then
7802 lt_prog_compiler_no_builtin_flag=
7804 if test "$GCC" = yes; then
7805 case $cc_basename in
7807 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7809 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
7813 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
7814 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7815 $as_echo_n "(cached
) " >&6
7817 lt_cv_prog_compiler_rtti_exceptions=no
7818 ac_outfile=conftest.$ac_objext
7819 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7820 lt_compiler_flag="-fno-rtti -fno-exceptions"
7821 # Insert the option either (1) after the last *FLAGS variable, or
7822 # (2) before a word containing "conftest.
", or (3) at the end.
7823 # Note that $ac_compile itself does not contain backslashes and begins
7824 # with a dollar sign (not a hyphen), so the echo should work correctly.
7825 # The option is referenced via a variable to avoid confusing sed.
7826 lt_compile=`echo "$ac_compile" | $SED \
7827 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7828 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7829 -e 's:$: $lt_compiler_flag:'`
7830 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
7831 (eval "$lt_compile" 2>conftest.err)
7833 cat conftest.err >&5
7834 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7835 if (exit $ac_status) && test -s "$ac_outfile"; then
7836 # The compiler can only warn and ignore the option if not recognized
7837 # So say no if there are warnings other than the usual output.
7838 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7839 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7840 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7841 lt_cv_prog_compiler_rtti_exceptions=yes
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
7848 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7850 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7851 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7863 lt_prog_compiler_wl=
7864 lt_prog_compiler_pic=
7865 lt_prog_compiler_static=
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
7868 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
7870 if test "$GCC" = yes; then
7871 lt_prog_compiler_wl='-Wl,'
7872 lt_prog_compiler_static='-static'
7876 # All AIX code is PIC.
7877 if test "$host_cpu" = ia64; then
7878 # AIX 5 now supports IA64 processor
7879 lt_prog_compiler_static='-Bstatic'
7881 lt_prog_compiler_pic='-fPIC'
7887 # see comment about AmigaOS4 .so support
7888 lt_prog_compiler_pic='-fPIC'
7891 # FIXME: we need at least 68020 code to build shared libraries, but
7892 # adding the `-m68020' flag to GCC prevents building anything better,
7894 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7899 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7900 # PIC is the default for these OSes.
7903 mingw* | cygwin* | pw32* | os2* | cegcc*)
7904 # This hack is so that the source file can tell whether it is being
7905 # built for inclusion in a dll (and should export symbols for example).
7906 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7907 # (--disable-auto-import) libraries
7908 lt_prog_compiler_pic='-DDLL_EXPORT'
7911 darwin* | rhapsody*)
7912 # PIC is the default on this platform
7913 # Common symbols not allowed in MH_DYLIB files
7914 lt_prog_compiler_pic='-fno-common'
7918 # PIC is the default for Haiku.
7919 # The "-static" flag exists, but is broken.
7920 lt_prog_compiler_static=
7924 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7925 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7926 # sets the default TLS model and affects inlining.
7932 lt_prog_compiler_pic='-fPIC'
7938 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7939 # Instead, we relocate shared libraries at runtime.
7943 # Just because we use GCC doesn't mean we suddenly get shared libraries
7944 # on systems that don't support them.
7945 lt_prog_compiler_can_build_shared=no
7950 # QNX uses GNU C++, but need to define -shared option too, otherwise
7952 lt_prog_compiler_pic='-fPIC -shared'
7956 if test -d /usr/nec; then
7957 lt_prog_compiler_pic=-Kconform_pic
7962 lt_prog_compiler_pic='-fPIC'
7966 case $cc_basename in
7967 nvcc*) # Cuda Compiler Driver 2.2
7968 lt_prog_compiler_wl='-Xlinker '
7969 lt_prog_compiler_pic='-Xcompiler -fPIC'
7973 # PORTME Check for flag to pass linker flags through the system compiler.
7976 lt_prog_compiler_wl='-Wl,'
7977 if test "$host_cpu" = ia64; then
7978 # AIX 5 now supports IA64 processor
7979 lt_prog_compiler_static='-Bstatic'
7981 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7985 mingw* | cygwin* | pw32* | os2* | cegcc*)
7986 # This hack is so that the source file can tell whether it is being
7987 # built for inclusion in a dll (and should export symbols for example).
7988 lt_prog_compiler_pic='-DDLL_EXPORT'
7991 hpux9* | hpux10* | hpux11*)
7992 lt_prog_compiler_wl='-Wl,'
7993 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8000 lt_prog_compiler_pic='+Z'
8003 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8004 lt_prog_compiler_static='${wl}-a ${wl}archive'
8007 irix5* | irix6* | nonstopux*)
8008 lt_prog_compiler_wl='-Wl,'
8009 # PIC (with -KPIC) is the default.
8010 lt_prog_compiler_static='-non_shared'
8013 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8014 case $cc_basename in
8015 # old Intel for x86_64 which still supported -KPIC.
8017 lt_prog_compiler_wl='-Wl,'
8018 lt_prog_compiler_pic='-KPIC'
8019 lt_prog_compiler_static='-static'
8021 # icc used to be incompatible with GCC.
8022 # ICC 10 doesn't accept -KPIC any more.
8024 lt_prog_compiler_wl='-Wl,'
8025 lt_prog_compiler_pic='-fPIC'
8026 lt_prog_compiler_static='-static'
8028 # Lahey Fortran 8.1.
8030 lt_prog_compiler_wl='-Wl,'
8031 lt_prog_compiler_pic='--shared'
8032 lt_prog_compiler_static='--static'
8034 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8035 # Portland Group compilers (*not* the Pentium gcc compiler,
8036 # which looks to be a dead project)
8037 lt_prog_compiler_wl='-Wl,'
8038 lt_prog_compiler_pic='-fpic'
8039 lt_prog_compiler_static='-Bstatic'
8042 lt_prog_compiler_wl='-Wl,'
8043 # All Alpha code is PIC.
8044 lt_prog_compiler_static='-non_shared'
8046 xl* | bgxl* | bgf* | mpixl*)
8047 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8048 lt_prog_compiler_wl='-Wl,'
8049 lt_prog_compiler_pic='-qpic'
8050 lt_prog_compiler_static='-qstaticlink'
8053 case `$CC -V 2>&1 | sed 5q` in
8054 *Sun\ F* | *Sun*Fortran*)
8055 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8056 lt_prog_compiler_pic='-KPIC'
8057 lt_prog_compiler_static='-Bstatic'
8058 lt_prog_compiler_wl=''
8062 lt_prog_compiler_pic='-KPIC'
8063 lt_prog_compiler_static='-Bstatic'
8064 lt_prog_compiler_wl='-Wl,'
8072 lt_prog_compiler_pic='-KPIC'
8073 lt_prog_compiler_static='-Bstatic'
8077 # QNX uses GNU C++, but need to define -shared option too, otherwise
8079 lt_prog_compiler_pic='-fPIC -shared'
8082 osf3* | osf4* | osf5*)
8083 lt_prog_compiler_wl='-Wl,'
8084 # All OSF/1 code is PIC.
8085 lt_prog_compiler_static='-non_shared'
8089 lt_prog_compiler_static='-non_shared'
8093 lt_prog_compiler_pic='-KPIC'
8094 lt_prog_compiler_static='-Bstatic'
8095 case $cc_basename in
8097 lt_prog_compiler_wl='-Qoption ld ';;
8099 lt_prog_compiler_wl='-Wl,';;
8104 lt_prog_compiler_wl='-Qoption ld '
8105 lt_prog_compiler_pic='-PIC'
8106 lt_prog_compiler_static='-Bstatic'
8109 sysv4 | sysv4.2uw2* | sysv4.3*)
8110 lt_prog_compiler_wl='-Wl,'
8111 lt_prog_compiler_pic='-KPIC'
8112 lt_prog_compiler_static='-Bstatic'
8116 if test -d /usr/nec ;then
8117 lt_prog_compiler_pic='-Kconform_pic'
8118 lt_prog_compiler_static='-Bstatic'
8122 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8123 lt_prog_compiler_wl='-Wl,'
8124 lt_prog_compiler_pic='-KPIC'
8125 lt_prog_compiler_static='-Bstatic'
8129 lt_prog_compiler_wl='-Wl,'
8130 lt_prog_compiler_can_build_shared=no
8134 lt_prog_compiler_pic='-pic'
8135 lt_prog_compiler_static='-Bstatic'
8139 lt_prog_compiler_can_build_shared=no
8145 # For platforms which do not support PIC, -DPIC is meaningless:
8147 lt_prog_compiler_pic=
8150 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
8154 $as_echo "$lt_prog_compiler_pic" >&6; }
8162 # Check to make sure the PIC flag actually works.
8164 if test -n "$lt_prog_compiler_pic"; then
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8166 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8167 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8168 $as_echo_n "(cached
) " >&6
8170 lt_cv_prog_compiler_pic_works=no
8171 ac_outfile=conftest.$ac_objext
8172 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8173 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8174 # Insert the option either (1) after the last *FLAGS variable, or
8175 # (2) before a word containing "conftest.
", or (3) at the end.
8176 # Note that $ac_compile itself does not contain backslashes and begins
8177 # with a dollar sign (not a hyphen), so the echo should work correctly.
8178 # The option is referenced via a variable to avoid confusing sed.
8179 lt_compile=`echo "$ac_compile" | $SED \
8180 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8181 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8182 -e 's:$: $lt_compiler_flag:'`
8183 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8184 (eval "$lt_compile" 2>conftest.err)
8186 cat conftest.err >&5
8187 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8188 if (exit $ac_status) && test -s "$ac_outfile"; then
8189 # The compiler can only warn and ignore the option if not recognized
8190 # So say no if there are warnings other than the usual output.
8191 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8192 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8193 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8194 lt_cv_prog_compiler_pic_works=yes
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
8201 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8203 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8204 case $lt_prog_compiler_pic in
8206 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8209 lt_prog_compiler_pic=
8210 lt_prog_compiler_can_build_shared=no
8221 # Check to make sure the static flag actually works.
8223 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
8225 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
8226 if ${lt_cv_prog_compiler_static_works+:} false; then :
8227 $as_echo_n "(cached
) " >&6
8229 lt_cv_prog_compiler_static_works=no
8230 save_LDFLAGS="$LDFLAGS"
8231 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8232 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8233 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8234 # The linker can only warn and ignore the option if not recognized
8235 # So say no if there are warnings
8236 if test -s conftest.err; then
8237 # Append any errors to the config.log.
8238 cat conftest.err 1>&5
8239 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8240 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8241 if diff conftest.exp conftest.er2 >/dev/null; then
8242 lt_cv_prog_compiler_static_works=yes
8245 lt_cv_prog_compiler_static_works=yes
8249 LDFLAGS="$save_LDFLAGS"
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
8253 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8255 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8258 lt_prog_compiler_static=
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8268 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8269 if ${lt_cv_prog_compiler_c_o+:} false; then :
8270 $as_echo_n "(cached
) " >&6
8272 lt_cv_prog_compiler_c_o=no
8273 $RM -r conftest 2>/dev/null
8277 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8279 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8280 # Insert the option either (1) after the last *FLAGS variable, or
8281 # (2) before a word containing "conftest.
", or (3) at the end.
8282 # Note that $ac_compile itself does not contain backslashes and begins
8283 # with a dollar sign (not a hyphen), so the echo should work correctly.
8284 lt_compile=`echo "$ac_compile" | $SED \
8285 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8286 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8287 -e 's:$: $lt_compiler_flag:'`
8288 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8289 (eval "$lt_compile" 2>out/conftest.err)
8291 cat out/conftest.err >&5
8292 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8293 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8295 # The compiler can only warn and ignore the option if not recognized
8296 # So say no if there are warnings
8297 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8298 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8299 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8300 lt_cv_prog_compiler_c_o=yes
8305 # SGI C++ compiler will create directory out/ii_files/ for
8306 # template instantiation
8307 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8308 $RM out/* && rmdir out
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8315 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8323 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8324 if ${lt_cv_prog_compiler_c_o+:} false; then :
8325 $as_echo_n "(cached
) " >&6
8327 lt_cv_prog_compiler_c_o=no
8328 $RM -r conftest 2>/dev/null
8332 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8334 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8335 # Insert the option either (1) after the last *FLAGS variable, or
8336 # (2) before a word containing "conftest.
", or (3) at the end.
8337 # Note that $ac_compile itself does not contain backslashes and begins
8338 # with a dollar sign (not a hyphen), so the echo should work correctly.
8339 lt_compile=`echo "$ac_compile" | $SED \
8340 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8341 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8342 -e 's:$: $lt_compiler_flag:'`
8343 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8344 (eval "$lt_compile" 2>out/conftest.err)
8346 cat out/conftest.err >&5
8347 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8348 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8350 # The compiler can only warn and ignore the option if not recognized
8351 # So say no if there are warnings
8352 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8353 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8354 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8355 lt_cv_prog_compiler_c_o=yes
8360 # SGI C++ compiler will create directory out/ii_files/ for
8361 # template instantiation
8362 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8363 $RM out/* && rmdir out
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8370 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8375 hard_links="nottested
"
8376 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8377 # do not overwrite the value of need_locks provided by the user
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
8379 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
8382 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8384 ln conftest.a conftest.b 2>&5 || hard_links=no
8385 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
8387 $as_echo "$hard_links" >&6; }
8388 if test "$hard_links" = no; then
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8390 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
8403 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
8406 allow_undefined_flag=
8407 always_export_symbols=no
8409 archive_expsym_cmds=
8410 compiler_needs_object=no
8411 enable_shared_with_static_runtimes=no
8412 export_dynamic_flag_spec=
8413 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8414 hardcode_automatic=no
8416 hardcode_direct_absolute=no
8417 hardcode_libdir_flag_spec=
8418 hardcode_libdir_flag_spec_ld=
8419 hardcode_libdir_separator=
8421 hardcode_shlibpath_var=unsupported
8423 link_all_deplibs=unknown
8426 old_archive_from_new_cmds=
8427 old_archive_from_expsyms_cmds=
8428 thread_safe_flag_spec=
8429 whole_archive_flag_spec=
8430 # include_expsyms should be a list of space-separated symbols to be *always*
8431 # included in the symbol list
8433 # exclude_expsyms can be an extended regexp of symbols to exclude
8434 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8435 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8436 # as well as any symbol that contains `d'.
8437 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8438 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8439 # platforms (ab)use it in PIC code, but their linkers get confused if
8440 # the symbol is explicitly referenced. Since portable code cannot
8441 # rely on this symbol name, it's probably fine to never include it in
8442 # preloaded symbol tables.
8443 # Exclude shared library initialization/finalization symbols.
8444 extract_expsyms_cmds=
8447 cygwin* | mingw* | pw32* | cegcc*)
8448 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8449 # When not using gcc, we currently assume that we are using
8450 # Microsoft Visual C++.
8451 if test "$GCC" != yes; then
8456 # we just hope/assume this is gcc and not c89 (= MSVC++)
8466 # On some targets, GNU ld is compatible enough with the native linker
8467 # that we're better off using the native interface for both.
8468 lt_use_gnu_ld_interface=no
8469 if test "$with_gnu_ld" = yes; then
8472 # The AIX port of GNU ld has always aspired to compatibility
8473 # with the native linker. However, as the warning in the GNU ld
8474 # block says, versions before 2.19.5* couldn't really create working
8475 # shared libraries, regardless of the interface used.
8476 case `$LD -v 2>&1` in
8477 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8478 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8479 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8481 lt_use_gnu_ld_interface=yes
8486 lt_use_gnu_ld_interface=yes
8491 if test "$lt_use_gnu_ld_interface" = yes; then
8492 # If archive_cmds runs LD, not CC, wlarc should be empty
8495 # Set some defaults for GNU ld with shared library support. These
8496 # are reset later if shared libraries are not supported. Putting them
8497 # here allows them to be overridden if necessary.
8498 runpath_var=LD_RUN_PATH
8499 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8500 export_dynamic_flag_spec='${wl}--export-dynamic'
8501 # ancient GNU ld didn't support --whole-archive et. al.
8502 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8503 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8505 whole_archive_flag_spec=
8507 supports_anon_versioning=no
8508 case `$LD -v 2>&1` in
8509 *GNU\ gold*) supports_anon_versioning=yes ;;
8510 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8511 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8512 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8513 *\ 2.11.*) ;; # other 2.11 versions
8514 *) supports_anon_versioning=yes ;;
8517 # See if GNU ld supports shared libraries.
8520 # On AIX/PPC, the GNU linker is very broken
8521 if test "$host_cpu" != ia64; then
8525 *** Warning: the GNU linker, at least up to release 2.19, is reported
8526 *** to be unable to reliably create shared libraries on AIX.
8527 *** Therefore, libtool is disabling shared libraries support. If you
8528 *** really care for shared libraries, you may want to install binutils
8529 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8530 *** You will then need to restart the configuration process.
8539 # see comment about AmigaOS4 .so support
8540 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8541 archive_expsym_cmds=''
8544 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)'
8545 hardcode_libdir_flag_spec
='-L$libdir'
8546 hardcode_minus_L
=yes
8552 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8553 allow_undefined_flag
=unsupported
8554 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8555 # support --undefined. This deserves some investigation. FIXME
8556 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8562 cygwin
* | mingw
* | pw32
* | cegcc
*)
8563 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8564 # as there is no search path for DLLs.
8565 hardcode_libdir_flag_spec
='-L$libdir'
8566 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8567 allow_undefined_flag
=unsupported
8568 always_export_symbols
=no
8569 enable_shared_with_static_runtimes
=yes
8570 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8572 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8573 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8574 # If the export-symbols file already is a .def file (1st line
8575 # is EXPORTS), use it as is; otherwise, prepend...
8576 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8577 cp $export_symbols $output_objdir/$soname.def;
8579 echo EXPORTS > $output_objdir/$soname.def;
8580 cat $export_symbols >> $output_objdir/$soname.def;
8582 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8589 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8590 link_all_deplibs
=yes
8595 hardcode_shlibpath_var
=no
8596 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8597 export_dynamic_flag_spec
='${wl}-E'
8598 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8599 # Instead, shared libraries are loaded at an image base (0x10000000 by
8600 # default) and relocated if they conflict, which is a slow very memory
8601 # consuming and fragmenting process. To avoid this, we pick a random,
8602 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8603 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8604 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8605 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'
8608 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
8610 if test "$host_os" = linux-dietlibc
; then
8611 case $cc_basename in
8612 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8615 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8616 && test "$tmp_diet" = no
8618 tmp_addflag
=' $pic_flag'
8619 tmp_sharedflag
='-shared'
8620 case $cc_basename,$host_cpu in
8621 pgcc
*) # Portland Group C compiler
8622 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'
8623 tmp_addflag
=' $pic_flag'
8625 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8626 # Portland Group f77 and f90 compilers
8627 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'
8628 tmp_addflag
=' $pic_flag -Mnomain' ;;
8629 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8630 tmp_addflag
=' -i_dynamic' ;;
8631 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8632 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8633 ifc
* | ifort
*) # Intel Fortran compiler
8634 tmp_addflag
=' -nofor_main' ;;
8635 lf95
*) # Lahey Fortran 8.1
8636 whole_archive_flag_spec
=
8637 tmp_sharedflag
='--shared' ;;
8638 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8639 tmp_sharedflag
='-qmkshrobj'
8641 nvcc
*) # Cuda Compiler Driver 2.2
8642 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'
8643 compiler_needs_object
=yes
8646 case `$CC -V 2>&1 | sed 5q` in
8647 *Sun\ C
*) # Sun C 5.9
8648 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'
8649 compiler_needs_object
=yes
8650 tmp_sharedflag
='-G' ;;
8651 *Sun\ F
*) # Sun Fortran 8.3
8652 tmp_sharedflag
='-G' ;;
8654 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8656 if test "x$supports_anon_versioning" = xyes
; then
8657 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8658 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8659 echo "local: *; };" >> $output_objdir/$libname.ver~
8660 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8663 case $cc_basename in
8664 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8665 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8666 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8667 hardcode_libdir_flag_spec
=
8668 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8669 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8670 if test "x$supports_anon_versioning" = xyes
; then
8671 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8672 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8673 echo "local: *; };" >> $output_objdir/$libname.ver~
8674 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8684 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8685 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8688 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8689 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8694 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8698 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8699 *** create shared libraries on Solaris systems. Therefore, libtool
8700 *** is disabling shared libraries support. We urge you to upgrade GNU
8701 *** binutils to release 2.9.1 or newer. Another option is to modify
8702 *** your PATH or compiler configuration so that the native linker is
8703 *** used, and then restart.
8706 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8707 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8708 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8714 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8715 case `$LD -v 2>&1` in
8716 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8720 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8721 *** reliably create shared libraries on SCO systems. Therefore, libtool
8722 *** is disabling shared libraries support. We urge you to upgrade GNU
8723 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8724 *** your PATH or compiler configuration so that the native linker is
8725 *** used, and then restart.
8730 # For security reasons, it is highly recommended that you always
8731 # use absolute paths for naming shared libraries, and exclude the
8732 # DT_RUNPATH tag from executables and libraries. But doing so
8733 # requires that you compile everything twice, which is a pain.
8734 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8735 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8736 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8737 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8746 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8749 hardcode_shlibpath_var
=no
8753 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8754 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8755 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8762 if test "$ld_shlibs" = no
; then
8764 hardcode_libdir_flag_spec
=
8765 export_dynamic_flag_spec
=
8766 whole_archive_flag_spec
=
8769 # PORTME fill in a description of your system's linker (not GNU ld)
8772 allow_undefined_flag
=unsupported
8773 always_export_symbols
=yes
8774 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'
8775 # Note: this linker hardcodes the directories in LIBPATH if there
8776 # are no directories specified by -L.
8777 hardcode_minus_L
=yes
8778 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8779 # Neither direct hardcoding nor static linking is supported with a
8781 hardcode_direct
=unsupported
8786 if test "$host_cpu" = ia64
; then
8787 # On IA64, the linker does run time linking by default, so we don't
8788 # have to do anything special.
8789 aix_use_runtimelinking
=no
8790 exp_sym_flag
='-Bexport'
8793 # If we're using GNU nm, then we don't want the "-C" option.
8794 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8795 # Also, AIX nm treats weak defined symbols like other global
8796 # defined symbols, whereas GNU nm marks them as "W".
8797 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8798 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'
8800 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'
8802 aix_use_runtimelinking
=no
8804 # Test if we are trying to use run time linking or normal
8805 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8806 # need to do runtime linking.
8807 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8808 for ld_flag
in $LDFLAGS; do
8809 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8810 aix_use_runtimelinking
=yes
8817 exp_sym_flag
='-bexport'
8818 no_entry_flag
='-bnoentry'
8821 # When large executables or shared objects are built, AIX ld can
8822 # have problems creating the table of contents. If linking a library
8823 # or program results in "error TOC overflow" add -mminimal-toc to
8824 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8825 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8829 hardcode_direct_absolute
=yes
8830 hardcode_libdir_separator
=':'
8831 link_all_deplibs
=yes
8832 file_list_spec
='${wl}-f,'
8834 if test "$GCC" = yes; then
8835 case $host_os in aix4.
[012]|aix4.
[012].
*)
8836 # We only want to do this on AIX 4.2 and lower, the check
8837 # below for broken collect2 doesn't work under 4.3+
8838 collect2name
=`${CC} -print-prog-name=collect2`
8839 if test -f "$collect2name" &&
8840 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8842 # We have reworked collect2
8845 # We have old collect2
8846 hardcode_direct
=unsupported
8847 # It fails to find uninstalled libraries when the uninstalled
8848 # path is not listed in the libpath. Setting hardcode_minus_L
8849 # to unsupported forces relinking
8850 hardcode_minus_L
=yes
8851 hardcode_libdir_flag_spec
='-L$libdir'
8852 hardcode_libdir_separator
=
8856 shared_flag
='-shared'
8857 if test "$aix_use_runtimelinking" = yes; then
8858 shared_flag
="$shared_flag "'${wl}-G'
8862 if test "$host_cpu" = ia64
; then
8863 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8864 # chokes on -Wl,-G. The following line is correct:
8867 if test "$aix_use_runtimelinking" = yes; then
8868 shared_flag
='${wl}-G'
8870 shared_flag
='${wl}-bM:SRE'
8875 export_dynamic_flag_spec
='${wl}-bexpall'
8876 # It seems that -bexpall does not export symbols beginning with
8877 # underscore (_), so it is better to generate a list of symbols to export.
8878 always_export_symbols
=yes
8879 if test "$aix_use_runtimelinking" = yes; then
8880 # Warning - without using the other runtime loading flags (-brtl),
8881 # -berok will link without error, but may produce a broken library.
8882 allow_undefined_flag
='-berok'
8883 # Determine the default libpath from the value encoded in an
8885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8886 /* end confdefs.h. */
8896 if ac_fn_c_try_link
"$LINENO"; then :
8898 lt_aix_libpath_sed
='
8899 /Import File Strings/,/^$/ {
8905 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8906 # Check for a 64-bit object if we didn't find anything.
8907 if test -z "$aix_libpath"; then
8908 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8911 rm -f core conftest.err conftest.
$ac_objext \
8912 conftest
$ac_exeext conftest.
$ac_ext
8913 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8915 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8916 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"
8918 if test "$host_cpu" = ia64
; then
8919 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8920 allow_undefined_flag
="-z nodefs"
8921 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"
8923 # Determine the default libpath from the value encoded in an
8925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8926 /* end confdefs.h. */
8936 if ac_fn_c_try_link
"$LINENO"; then :
8938 lt_aix_libpath_sed
='
8939 /Import File Strings/,/^$/ {
8945 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8946 # Check for a 64-bit object if we didn't find anything.
8947 if test -z "$aix_libpath"; then
8948 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8951 rm -f core conftest.err conftest.
$ac_objext \
8952 conftest
$ac_exeext conftest.
$ac_ext
8953 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8955 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8956 # Warning - without using the other run time loading flags,
8957 # -berok will link without error, but may produce a broken library.
8958 no_undefined_flag
=' ${wl}-bernotok'
8959 allow_undefined_flag
=' ${wl}-berok'
8960 if test "$with_gnu_ld" = yes; then
8961 # We only use this code for GNU lds that support --whole-archive.
8962 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8964 # Exported symbols can be pulled into shared objects from archives
8965 whole_archive_flag_spec
='$convenience'
8967 archive_cmds_need_lc
=yes
8968 # This is similar to how AIX traditionally builds its shared libraries.
8969 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'
8977 # see comment about AmigaOS4 .so support
8978 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8979 archive_expsym_cmds
=''
8982 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)'
8983 hardcode_libdir_flag_spec
='-L$libdir'
8984 hardcode_minus_L
=yes
8990 export_dynamic_flag_spec
=-rdynamic
8993 cygwin
* | mingw
* | pw32
* | cegcc
*)
8994 # When not using gcc, we currently assume that we are using
8995 # Microsoft Visual C++.
8996 # hardcode_libdir_flag_spec is actually meaningless, as there is
8997 # no search path for DLLs.
8998 hardcode_libdir_flag_spec
=' '
8999 allow_undefined_flag
=unsupported
9000 # Tell ltmain to make .lib files, not .a files.
9002 # Tell ltmain to make .dll files, not .so files.
9004 # FIXME: Setting linknames here is a bad hack.
9005 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9006 # The linker will automatically build a .lib file if we build a DLL.
9007 old_archive_from_new_cmds
='true'
9008 # FIXME: Should let the user specify the lib program.
9009 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9010 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9011 enable_shared_with_static_runtimes
=yes
9014 darwin
* | rhapsody
*)
9017 archive_cmds_need_lc
=no
9019 hardcode_automatic
=yes
9020 hardcode_shlibpath_var
=unsupported
9021 if test "$lt_cv_ld_force_load" = "yes"; then
9022 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\"`'
9024 whole_archive_flag_spec
=''
9026 link_all_deplibs
=yes
9027 allow_undefined_flag
="$_lt_dar_allow_undefined"
9028 case $cc_basename in
9029 ifort
*) _lt_dar_can_shared
=yes ;;
9030 *) _lt_dar_can_shared
=$GCC ;;
9032 if test "$_lt_dar_can_shared" = "yes"; then
9033 output_verbose_link_cmd
=func_echo_all
9034 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9035 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9036 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9037 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}"
9046 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9047 hardcode_libdir_flag_spec
='-L$libdir'
9048 hardcode_shlibpath_var
=no
9051 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9052 # support. Future versions do this automatically, but an explicit c++rt0.o
9053 # does not break anything, and helps significantly (at the cost of a little
9056 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9057 hardcode_libdir_flag_spec
='-R$libdir'
9059 hardcode_shlibpath_var
=no
9062 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9064 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9066 hardcode_minus_L
=yes
9067 hardcode_shlibpath_var
=no
9070 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9071 freebsd
* | dragonfly
*)
9072 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9073 hardcode_libdir_flag_spec
='-R$libdir'
9075 hardcode_shlibpath_var
=no
9079 if test "$GCC" = yes; then
9080 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'
9082 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'
9084 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9085 hardcode_libdir_separator
=:
9088 # hardcode_minus_L: Not really in the search PATH,
9089 # but as the default location of the library.
9090 hardcode_minus_L
=yes
9091 export_dynamic_flag_spec
='${wl}-E'
9095 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9096 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9098 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9100 if test "$with_gnu_ld" = no
; then
9101 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9102 hardcode_libdir_flag_spec_ld
='+b $libdir'
9103 hardcode_libdir_separator
=:
9105 hardcode_direct_absolute
=yes
9106 export_dynamic_flag_spec
='${wl}-E'
9107 # hardcode_minus_L: Not really in the search PATH,
9108 # but as the default location of the library.
9109 hardcode_minus_L
=yes
9114 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9117 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9120 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9123 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9129 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9132 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9136 # Older versions of the 11.00 compiler do not understand -b yet
9137 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9139 $as_echo_n "checking if $CC understands -b... " >&6; }
9140 if ${lt_cv_prog_compiler__b+:} false
; then :
9141 $as_echo_n "(cached) " >&6
9143 lt_cv_prog_compiler__b
=no
9144 save_LDFLAGS
="$LDFLAGS"
9145 LDFLAGS
="$LDFLAGS -b"
9146 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9147 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9148 # The linker can only warn and ignore the option if not recognized
9149 # So say no if there are warnings
9150 if test -s conftest.err
; then
9151 # Append any errors to the config.log.
9152 cat conftest.err
1>&5
9153 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9154 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9155 if diff conftest.exp conftest.er2
>/dev
/null
; then
9156 lt_cv_prog_compiler__b
=yes
9159 lt_cv_prog_compiler__b
=yes
9163 LDFLAGS
="$save_LDFLAGS"
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9167 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9169 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9170 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9172 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9178 if test "$with_gnu_ld" = no
; then
9179 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9180 hardcode_libdir_separator
=:
9185 hardcode_shlibpath_var
=no
9189 hardcode_direct_absolute
=yes
9190 export_dynamic_flag_spec
='${wl}-E'
9192 # hardcode_minus_L: Not really in the search PATH,
9193 # but as the default location of the library.
9194 hardcode_minus_L
=yes
9200 irix5
* | irix6
* | nonstopux
*)
9201 if test "$GCC" = yes; then
9202 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'
9203 # Try to use the -exported_symbol ld option, if it does not
9204 # work, assume that -exports_file does not work either and
9205 # implicitly export all symbols.
9206 save_LDFLAGS
="$LDFLAGS"
9207 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9209 /* end confdefs.h. */
9212 if ac_fn_c_try_link
"$LINENO"; then :
9213 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'
9216 rm -f core conftest.err conftest.
$ac_objext \
9217 conftest
$ac_exeext conftest.
$ac_ext
9218 LDFLAGS
="$save_LDFLAGS"
9220 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'
9221 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'
9223 archive_cmds_need_lc
='no'
9224 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9225 hardcode_libdir_separator
=:
9227 link_all_deplibs
=yes
9231 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9232 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9234 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9236 hardcode_libdir_flag_spec
='-R$libdir'
9238 hardcode_shlibpath_var
=no
9242 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9244 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9245 hardcode_libdir_separator
=:
9246 hardcode_shlibpath_var
=no
9253 if test -f /usr
/libexec
/ld.so
; then
9255 hardcode_shlibpath_var
=no
9256 hardcode_direct_absolute
=yes
9257 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9258 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9259 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9260 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9261 export_dynamic_flag_spec
='${wl}-E'
9264 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9265 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9266 hardcode_libdir_flag_spec
='-R$libdir'
9269 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9270 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9280 hardcode_libdir_flag_spec
='-L$libdir'
9281 hardcode_minus_L
=yes
9282 allow_undefined_flag
=unsupported
9283 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'
9284 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9288 if test "$GCC" = yes; then
9289 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9290 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'
9292 allow_undefined_flag
=' -expect_unresolved \*'
9293 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'
9295 archive_cmds_need_lc
='no'
9296 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9297 hardcode_libdir_separator
=:
9300 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9301 if test "$GCC" = yes; then
9302 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9303 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'
9304 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9306 allow_undefined_flag
=' -expect_unresolved \*'
9307 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'
9308 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~
9309 $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'
9311 # Both c and cxx compiler support -rpath directly
9312 hardcode_libdir_flag_spec
='-rpath $libdir'
9314 archive_cmds_need_lc
='no'
9315 hardcode_libdir_separator
=:
9319 no_undefined_flag
=' -z defs'
9320 if test "$GCC" = yes; then
9322 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9323 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9324 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9326 case `$CC -V 2>&1` in
9329 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9330 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9331 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9335 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9336 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9337 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9341 hardcode_libdir_flag_spec
='-R$libdir'
9342 hardcode_shlibpath_var
=no
9344 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9346 # The compiler driver will combine and reorder linker options,
9347 # but understands `-z linker_flag'. GCC discards it without `$wl',
9348 # but is careful enough not to reorder.
9349 # Supported since Solaris 2.6 (maybe 2.5.1?)
9350 if test "$GCC" = yes; then
9351 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9353 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9357 link_all_deplibs
=yes
9361 if test "x$host_vendor" = xsequent
; then
9362 # Use $CC to link under sequent, because it throws in some extra .o
9363 # files that make .init and .fini sections work.
9364 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9366 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9368 hardcode_libdir_flag_spec
='-L$libdir'
9370 hardcode_minus_L
=yes
9371 hardcode_shlibpath_var
=no
9375 case $host_vendor in
9377 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9378 hardcode_direct
=yes # is this really true???
9381 ## LD is ld it makes a PLAMLIB
9382 ## CC just makes a GrossModule.
9383 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9384 reload_cmds
='$CC -r -o $output$reload_objs'
9388 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9389 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9392 runpath_var
='LD_RUN_PATH'
9393 hardcode_shlibpath_var
=no
9397 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9398 hardcode_shlibpath_var
=no
9399 export_dynamic_flag_spec
='-Bexport'
9403 if test -d /usr
/nec
; then
9404 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9405 hardcode_shlibpath_var
=no
9406 runpath_var
=LD_RUN_PATH
9407 hardcode_runpath_var
=yes
9412 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9413 no_undefined_flag
='${wl}-z,text'
9414 archive_cmds_need_lc
=no
9415 hardcode_shlibpath_var
=no
9416 runpath_var
='LD_RUN_PATH'
9418 if test "$GCC" = yes; then
9419 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9420 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9422 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9423 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9427 sysv5
* | sco3.2v5
* | sco5v6
*)
9428 # Note: We can NOT use -z defs as we might desire, because we do not
9429 # link with -lc, and that would cause any symbols used from libc to
9430 # always be unresolved, which means just about no library would
9431 # ever link correctly. If we're not using GNU ld we use -z text
9432 # though, which does catch some bad symbols but isn't as heavy-handed
9434 no_undefined_flag
='${wl}-z,text'
9435 allow_undefined_flag
='${wl}-z,nodefs'
9436 archive_cmds_need_lc
=no
9437 hardcode_shlibpath_var
=no
9438 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9439 hardcode_libdir_separator
=':'
9440 link_all_deplibs
=yes
9441 export_dynamic_flag_spec
='${wl}-Bexport'
9442 runpath_var
='LD_RUN_PATH'
9444 if test "$GCC" = yes; then
9445 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9446 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9448 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9449 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9454 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9455 hardcode_libdir_flag_spec
='-L$libdir'
9456 hardcode_shlibpath_var
=no
9464 if test x
$host_vendor = xsni
; then
9466 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9467 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9474 $as_echo "$ld_shlibs" >&6; }
9475 test "$ld_shlibs" = no
&& can_build_shared
=no
9477 with_gnu_ld
=$with_gnu_ld
9494 # Do we need to explicitly link libc?
9496 case "x$archive_cmds_need_lc" in
9498 # Assume -lc should be added
9499 archive_cmds_need_lc
=yes
9501 if test "$enable_shared" = yes && test "$GCC" = yes; then
9502 case $archive_cmds in
9504 # FIXME: we may have to deal with multi-command sequences.
9507 # Test whether the compiler implicitly links with -lc since on some
9508 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9509 # to ld, don't add -lc before -lgcc.
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9511 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9512 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9513 $as_echo_n "(cached) " >&6
9516 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9518 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9519 (eval $ac_compile) 2>&5
9521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9522 test $ac_status = 0; } 2>conftest.err
; then
9525 libobjs
=conftest.
$ac_objext
9527 wl
=$lt_prog_compiler_wl
9528 pic_flag
=$lt_prog_compiler_pic
9534 lt_save_allow_undefined_flag
=$allow_undefined_flag
9535 allow_undefined_flag
=
9536 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9537 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9540 test $ac_status = 0; }
9542 lt_cv_archive_cmds_need_lc
=no
9544 lt_cv_archive_cmds_need_lc
=yes
9546 allow_undefined_flag
=$lt_save_allow_undefined_flag
9548 cat conftest.err
1>&5
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9554 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9555 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9719 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9721 if test "$GCC" = yes; then
9723 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9724 *) lt_awk_arg
="/^libraries:/" ;;
9727 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9728 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9730 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9731 case $lt_search_path_spec in
9733 # if the path contains ";" then we assume it to be the separator
9734 # otherwise default to the standard path separator (i.e. ":") - it is
9735 # assumed that no part of a normal pathname contains ";" but that should
9736 # okay in the real world where ";" in dirpaths is itself problematic.
9737 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9740 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9743 # Ok, now we have the path, separated by spaces, we can step through it
9744 # and add multilib dir if necessary.
9745 lt_tmp_lt_search_path_spec
=
9746 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9747 for lt_sys_path
in $lt_search_path_spec; do
9748 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9749 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9751 test -d "$lt_sys_path" && \
9752 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9755 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9756 BEGIN {RS=" "; FS="/|\n";} {
9759 for (lt_i = NF; lt_i > 0; lt_i--) {
9760 if ($lt_i != "" && $lt_i != ".") {
9761 if ($lt_i == "..") {
9764 if (lt_count == 0) {
9765 lt_foo="/" $lt_i lt_foo;
9772 if (lt_foo != "") { lt_freq[lt_foo]++; }
9773 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9775 # AWK program above erroneously prepends '/' to C:/dos/paths
9778 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9779 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9781 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9783 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9786 libname_spec
='lib$name'
9794 shlibpath_overrides_runpath
=unknown
9796 dynamic_linker
="$host_os ld.so"
9797 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9798 need_lib_prefix
=unknown
9799 hardcode_into_libs
=no
9801 # when you set need_version to no, make sure it does not cause -set_version
9802 # flags to be left without arguments
9803 need_version
=unknown
9808 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9809 shlibpath_var
=LIBPATH
9811 # AIX 3 has no versioning support, so we append a major version to the name.
9812 soname_spec
='${libname}${release}${shared_ext}$major'
9819 hardcode_into_libs
=yes
9820 if test "$host_cpu" = ia64
; then
9821 # AIX 5 supports IA64
9822 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9823 shlibpath_var
=LD_LIBRARY_PATH
9825 # With GCC up to 2.95.x, collect2 would create an import file
9826 # for dependence libraries. The import file would start with
9827 # the line `#! .'. This would cause the generated library to
9828 # depend on `.', always an invalid library. This was fixed in
9829 # development snapshots of GCC prior to 3.0.
9831 aix4 | aix4.
[01] | aix4.
[01].
*)
9832 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9834 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9841 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9842 # soname into executable. Probably we can add versioning support to
9843 # collect2, so additional links can be useful in future.
9844 if test "$aix_use_runtimelinking" = yes; then
9845 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9846 # instead of lib<name>.a to let people know that these are not
9847 # typical AIX shared libraries.
9848 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9850 # We preserve .a as extension for shared libraries through AIX4.2
9851 # and later when we are not doing run time linking.
9852 library_names_spec
='${libname}${release}.a $libname.a'
9853 soname_spec
='${libname}${release}${shared_ext}$major'
9855 shlibpath_var
=LIBPATH
9862 # Since July 2007 AmigaOS4 officially supports .so libraries.
9863 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9864 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9867 library_names_spec
='$libname.ixlibrary $libname.a'
9868 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9869 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'
9875 library_names_spec
='${libname}${shared_ext}'
9876 dynamic_linker
="$host_os ld.so"
9877 shlibpath_var
=LIBRARY_PATH
9883 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9884 soname_spec
='${libname}${release}${shared_ext}$major'
9885 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9886 shlibpath_var
=LD_LIBRARY_PATH
9887 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9888 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9889 # the default ld.so.conf also contains /usr/contrib/lib and
9890 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9891 # libtool to hard-code these into programs
9894 cygwin
* | mingw
* | pw32
* | cegcc
*)
9895 version_type
=windows
9900 case $GCC,$host_os in
9901 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9902 library_names_spec
='$libname.dll.a'
9903 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9904 postinstall_cmds
='base_file=`basename \${file}`~
9905 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9906 dldir=$destdir/`dirname \$dlpath`~
9907 test -d \$dldir || mkdir -p \$dldir~
9908 $install_prog $dir/$dlname \$dldir/$dlname~
9909 chmod a+x \$dldir/$dlname~
9910 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9911 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9913 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9914 dlpath=$dir/\$dldll~
9916 shlibpath_overrides_runpath
=yes
9920 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9921 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9923 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9926 # MinGW DLLs use traditional 'lib' prefix
9927 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9930 # pw32 DLLs use 'pw' prefix rather than 'lib'
9931 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9937 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9940 dynamic_linker
='Win32 ld.exe'
9941 # FIXME: first we should search . and the directory the executable is in
9945 darwin
* | rhapsody
*)
9946 dynamic_linker
="$host_os dyld"
9950 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9951 soname_spec
='${libname}${release}${major}$shared_ext'
9952 shlibpath_overrides_runpath
=yes
9953 shlibpath_var
=DYLD_LIBRARY_PATH
9954 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9956 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9957 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9964 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9965 soname_spec
='${libname}${release}${shared_ext}$major'
9966 shlibpath_var
=LD_LIBRARY_PATH
9969 freebsd
* | dragonfly
*)
9970 # DragonFly does not have aout. When/if they implement a new
9971 # versioning mechanism, adjust this.
9972 if test -x /usr
/bin
/objformat
; then
9973 objformat
=`/usr/bin/objformat`
9976 freebsd
[23].
*) objformat
=aout
;;
9980 version_type
=freebsd-
$objformat
9981 case $version_type in
9983 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9988 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9992 shlibpath_var
=LD_LIBRARY_PATH
9995 shlibpath_overrides_runpath
=yes
9997 freebsd3.
[01]* | freebsdelf3.
[01]*)
9998 shlibpath_overrides_runpath
=yes
9999 hardcode_into_libs
=yes
10001 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10002 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10003 shlibpath_overrides_runpath
=no
10004 hardcode_into_libs
=yes
10006 *) # from 4.6 on, and DragonFly
10007 shlibpath_overrides_runpath
=yes
10008 hardcode_into_libs
=yes
10017 dynamic_linker
="$host_os runtime_loader"
10018 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10019 soname_spec
='${libname}${release}${shared_ext}$major'
10020 shlibpath_var
=LIBRARY_PATH
10021 shlibpath_overrides_runpath
=yes
10022 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10023 hardcode_into_libs
=yes
10026 hpux9
* | hpux10
* | hpux11
*)
10027 # Give a soname corresponding to the major version so that dld.sl refuses to
10028 # link against other versions.
10035 hardcode_into_libs
=yes
10036 dynamic_linker
="$host_os dld.so"
10037 shlibpath_var
=LD_LIBRARY_PATH
10038 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10039 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10040 soname_spec
='${libname}${release}${shared_ext}$major'
10041 if test "X$HPUX_IA64_MODE" = X32
; then
10042 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10044 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10046 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10050 hardcode_into_libs
=yes
10051 dynamic_linker
="$host_os dld.sl"
10052 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10053 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10055 soname_spec
='${libname}${release}${shared_ext}$major'
10056 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10057 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10061 dynamic_linker
="$host_os dld.sl"
10062 shlibpath_var
=SHLIB_PATH
10063 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10064 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10065 soname_spec
='${libname}${release}${shared_ext}$major'
10068 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10069 postinstall_cmds
='chmod 555 $lib'
10070 # or fails outright, so override atomically:
10071 install_override_mode
=555
10078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10079 soname_spec
='${libname}${release}${shared_ext}$major'
10080 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10081 shlibpath_var
=LD_LIBRARY_PATH
10082 shlibpath_overrides_runpath
=no
10083 hardcode_into_libs
=yes
10086 irix5
* | irix6
* | nonstopux
*)
10088 nonstopux
*) version_type
=nonstopux
;;
10090 if test "$lt_cv_prog_gnu_ld" = yes; then
10098 soname_spec
='${libname}${release}${shared_ext}$major'
10099 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10101 irix5
* | nonstopux
*)
10102 libsuff
= shlibsuff
=
10105 case $LD in # libtool.m4 will add one of these switches to LD
10106 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10107 libsuff
= shlibsuff
= libmagic
=32-bit;;
10108 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10109 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10110 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10111 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10112 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10116 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10117 shlibpath_overrides_runpath
=no
10118 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10119 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10120 hardcode_into_libs
=yes
10123 # No shared lib support for Linux oldld, aout, or coff.
10124 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10128 # This must be Linux ELF.
10130 # uclinux* changes (here and below) have been submitted to the libtool
10131 # project, but have not yet been accepted: they are GCC-local changes
10132 # for the time being. (See
10133 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
10134 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
10138 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10139 soname_spec
='${libname}${release}${shared_ext}$major'
10140 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10141 shlibpath_var
=LD_LIBRARY_PATH
10142 shlibpath_overrides_runpath
=no
10144 # Some binutils ld are patched to set DT_RUNPATH
10145 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10146 $as_echo_n "(cached) " >&6
10148 lt_cv_shlibpath_overrides_runpath
=no
10149 save_LDFLAGS
=$LDFLAGS
10150 save_libdir
=$libdir
10151 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10152 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10154 /* end confdefs.h. */
10164 if ac_fn_c_try_link
"$LINENO"; then :
10165 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10166 lt_cv_shlibpath_overrides_runpath
=yes
10169 rm -f core conftest.err conftest.
$ac_objext \
10170 conftest
$ac_exeext conftest.
$ac_ext
10171 LDFLAGS
=$save_LDFLAGS
10172 libdir
=$save_libdir
10176 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10178 # This implies no fast_install, which is unacceptable.
10179 # Some rework will be needed to allow for fast_install
10180 # before this can be enabled.
10181 hardcode_into_libs
=yes
10183 # Append ld.so.conf contents to the search path
10184 if test -f /etc
/ld.so.conf
; then
10185 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' ' '`
10186 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10189 # We used to test for /lib/ld.so.1 and disable shared libraries on
10190 # powerpc, because MkLinux only supported shared libraries with the
10191 # GNU dynamic linker. Since this was broken with cross compilers,
10192 # most powerpc-linux boxes support dynamic linking these days and
10193 # people can always --disable-shared, the test was removed, and we
10194 # assume the GNU/Linux dynamic linker is in use.
10195 dynamic_linker
='GNU/Linux ld.so'
10202 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10203 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10204 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10205 dynamic_linker
='NetBSD (a.out) ld.so'
10207 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10208 soname_spec
='${libname}${release}${shared_ext}$major'
10209 dynamic_linker
='NetBSD ld.elf_so'
10211 shlibpath_var
=LD_LIBRARY_PATH
10212 shlibpath_overrides_runpath
=yes
10213 hardcode_into_libs
=yes
10218 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10219 shlibpath_var
=LD_LIBRARY_PATH
10220 shlibpath_overrides_runpath
=yes
10227 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10228 soname_spec
='${libname}${release}${shared_ext}$major'
10229 shlibpath_var
=LD_LIBRARY_PATH
10230 shlibpath_overrides_runpath
=no
10231 hardcode_into_libs
=yes
10232 dynamic_linker
='ldqnx.so'
10237 sys_lib_dlsearch_path_spec
="/usr/lib"
10239 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10241 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10242 *) need_version
=no
;;
10244 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10245 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10246 shlibpath_var
=LD_LIBRARY_PATH
10247 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10249 openbsd2.
[89] | openbsd2.
[89].
*)
10250 shlibpath_overrides_runpath
=no
10253 shlibpath_overrides_runpath
=yes
10257 shlibpath_overrides_runpath
=yes
10262 libname_spec
='$name'
10265 library_names_spec
='$libname${shared_ext} $libname.a'
10266 dynamic_linker
='OS/2 ld.exe'
10267 shlibpath_var
=LIBPATH
10270 osf3
* | osf4
* | osf5
*)
10274 soname_spec
='${libname}${release}${shared_ext}$major'
10275 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10276 shlibpath_var
=LD_LIBRARY_PATH
10277 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10278 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10289 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10290 soname_spec
='${libname}${release}${shared_ext}$major'
10291 shlibpath_var
=LD_LIBRARY_PATH
10292 shlibpath_overrides_runpath
=yes
10293 hardcode_into_libs
=yes
10294 # ldd complains unless libraries are executable
10295 postinstall_cmds
='chmod +x $lib'
10300 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10301 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10302 shlibpath_var
=LD_LIBRARY_PATH
10303 shlibpath_overrides_runpath
=yes
10304 if test "$with_gnu_ld" = yes; then
10312 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10313 soname_spec
='${libname}${release}${shared_ext}$major'
10314 shlibpath_var
=LD_LIBRARY_PATH
10315 case $host_vendor in
10317 shlibpath_overrides_runpath
=no
10319 runpath_var
=LD_RUN_PATH
10327 shlibpath_overrides_runpath
=no
10328 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10334 if test -d /usr
/nec
;then
10336 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10337 soname_spec
='$libname${shared_ext}.$major'
10338 shlibpath_var
=LD_LIBRARY_PATH
10342 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10343 version_type
=freebsd-elf
10346 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10347 soname_spec
='${libname}${release}${shared_ext}$major'
10348 shlibpath_var
=LD_LIBRARY_PATH
10349 shlibpath_overrides_runpath
=yes
10350 hardcode_into_libs
=yes
10351 if test "$with_gnu_ld" = yes; then
10352 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10354 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10357 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10361 sys_lib_dlsearch_path_spec
='/usr/lib'
10365 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10369 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10370 shlibpath_var
=LD_LIBRARY_PATH
10371 shlibpath_overrides_runpath
=no
10372 hardcode_into_libs
=yes
10377 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10378 soname_spec
='${libname}${release}${shared_ext}$major'
10379 shlibpath_var
=LD_LIBRARY_PATH
10382 # Shared libraries for VwWorks, >= 7 only at this stage
10383 # and (fpic) still incompatible with "large" code models
10384 # in a few configurations. Only for RTP mode in any case,
10385 # and upon explicit request at configure time.
10388 case ${with_multisubdir}-${enable_shared} in
10395 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10396 soname_spec
='${libname}${release}${shared_ext}$major'
10397 dynamic_linker
="$host_os module_loader"
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10406 $as_echo "$dynamic_linker" >&6; }
10407 test "$dynamic_linker" = no
&& can_build_shared
=no
10409 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10410 if test "$GCC" = yes; then
10411 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10414 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10415 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10417 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10418 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10513 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10515 if test -n "$hardcode_libdir_flag_spec" ||
10516 test -n "$runpath_var" ||
10517 test "X$hardcode_automatic" = "Xyes" ; then
10519 # We can hardcode non-existent directories.
10520 if test "$hardcode_direct" != no
&&
10521 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10522 # have to relink, otherwise we might link with an installed library
10523 # when we should be linking with a yet-to-be-installed one
10524 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10525 test "$hardcode_minus_L" != no
; then
10526 # Linking always hardcodes the temporary library directory.
10527 hardcode_action
=relink
10529 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10530 hardcode_action
=immediate
10533 # We cannot hardcode anything, or else we can only hardcode existing
10535 hardcode_action
=unsupported
10537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10538 $as_echo "$hardcode_action" >&6; }
10540 if test "$hardcode_action" = relink ||
10541 test "$inherit_rpath" = yes; then
10542 # Fast installation is not supported
10543 enable_fast_install
=no
10544 elif test "$shlibpath_overrides_runpath" = yes ||
10545 test "$enable_shared" = no
; then
10546 # Fast installation is not necessary
10547 enable_fast_install
=needless
10555 if test "x$enable_dlopen" != xyes
; then
10556 enable_dlopen
=unknown
10557 enable_dlopen_self
=unknown
10558 enable_dlopen_self_static
=unknown
10565 lt_cv_dlopen
="load_add_on"
10567 lt_cv_dlopen_self
=yes
10570 mingw
* | pw32
* | cegcc
*)
10571 lt_cv_dlopen
="LoadLibrary"
10576 lt_cv_dlopen
="dlopen"
10581 # if libdl is installed we need to link against it
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10583 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10584 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10585 $as_echo_n "(cached) " >&6
10587 ac_check_lib_save_LIBS
=$LIBS
10589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10590 /* end confdefs.h. */
10592 /* Override any GCC internal prototype to avoid an error.
10593 Use char because int might match the return type of a GCC
10594 builtin and then its argument prototype would still apply. */
10607 if ac_fn_c_try_link
"$LINENO"; then :
10608 ac_cv_lib_dl_dlopen
=yes
10610 ac_cv_lib_dl_dlopen
=no
10612 rm -f core conftest.err conftest.
$ac_objext \
10613 conftest
$ac_exeext conftest.
$ac_ext
10614 LIBS
=$ac_check_lib_save_LIBS
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10617 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10618 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10619 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10622 lt_cv_dlopen
="dyld"
10624 lt_cv_dlopen_self
=yes
10631 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10632 if test "x$ac_cv_func_shl_load" = xyes
; then :
10633 lt_cv_dlopen
="shl_load"
10635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10636 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10637 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10638 $as_echo_n "(cached) " >&6
10640 ac_check_lib_save_LIBS
=$LIBS
10642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10643 /* end confdefs.h. */
10645 /* Override any GCC internal prototype to avoid an error.
10646 Use char because int might match the return type of a GCC
10647 builtin and then its argument prototype would still apply. */
10655 return shl_load ();
10660 if ac_fn_c_try_link
"$LINENO"; then :
10661 ac_cv_lib_dld_shl_load
=yes
10663 ac_cv_lib_dld_shl_load
=no
10665 rm -f core conftest.err conftest.
$ac_objext \
10666 conftest
$ac_exeext conftest.
$ac_ext
10667 LIBS
=$ac_check_lib_save_LIBS
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10670 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10671 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
10672 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10674 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10675 if test "x$ac_cv_func_dlopen" = xyes
; then :
10676 lt_cv_dlopen
="dlopen"
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10679 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10680 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10681 $as_echo_n "(cached) " >&6
10683 ac_check_lib_save_LIBS
=$LIBS
10685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10686 /* end confdefs.h. */
10688 /* Override any GCC internal prototype to avoid an error.
10689 Use char because int might match the return type of a GCC
10690 builtin and then its argument prototype would still apply. */
10703 if ac_fn_c_try_link
"$LINENO"; then :
10704 ac_cv_lib_dl_dlopen
=yes
10706 ac_cv_lib_dl_dlopen
=no
10708 rm -f core conftest.err conftest.
$ac_objext \
10709 conftest
$ac_exeext conftest.
$ac_ext
10710 LIBS
=$ac_check_lib_save_LIBS
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10713 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10714 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10715 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10718 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10719 if ${ac_cv_lib_svld_dlopen+:} false
; then :
10720 $as_echo_n "(cached) " >&6
10722 ac_check_lib_save_LIBS
=$LIBS
10723 LIBS
="-lsvld $LIBS"
10724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10725 /* end confdefs.h. */
10727 /* Override any GCC internal prototype to avoid an error.
10728 Use char because int might match the return type of a GCC
10729 builtin and then its argument prototype would still apply. */
10742 if ac_fn_c_try_link
"$LINENO"; then :
10743 ac_cv_lib_svld_dlopen
=yes
10745 ac_cv_lib_svld_dlopen
=no
10747 rm -f core conftest.err conftest.
$ac_objext \
10748 conftest
$ac_exeext conftest.
$ac_ext
10749 LIBS
=$ac_check_lib_save_LIBS
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10752 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10753 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
10754 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10757 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10758 if ${ac_cv_lib_dld_dld_link+:} false
; then :
10759 $as_echo_n "(cached) " >&6
10761 ac_check_lib_save_LIBS
=$LIBS
10763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10764 /* end confdefs.h. */
10766 /* Override any GCC internal prototype to avoid an error.
10767 Use char because int might match the return type of a GCC
10768 builtin and then its argument prototype would still apply. */
10776 return dld_link ();
10781 if ac_fn_c_try_link
"$LINENO"; then :
10782 ac_cv_lib_dld_dld_link
=yes
10784 ac_cv_lib_dld_dld_link
=no
10786 rm -f core conftest.err conftest.
$ac_objext \
10787 conftest
$ac_exeext conftest.
$ac_ext
10788 LIBS
=$ac_check_lib_save_LIBS
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10791 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10792 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
10793 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10814 if test "x$lt_cv_dlopen" != xno
; then
10820 case $lt_cv_dlopen in
10822 save_CPPFLAGS
="$CPPFLAGS"
10823 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10825 save_LDFLAGS
="$LDFLAGS"
10826 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10829 LIBS
="$lt_cv_dlopen_libs $LIBS"
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10832 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10833 if ${lt_cv_dlopen_self+:} false
; then :
10834 $as_echo_n "(cached) " >&6
10836 if test "$cross_compiling" = yes; then :
10837 lt_cv_dlopen_self
=cross
10839 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10840 lt_status
=$lt_dlunknown
10841 cat > conftest.
$ac_ext <<_LT_EOF
10842 #line 10842 "configure"
10843 #include "confdefs.h"
10852 # define LT_DLGLOBAL RTLD_GLOBAL
10855 # define LT_DLGLOBAL DL_GLOBAL
10857 # define LT_DLGLOBAL 0
10861 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10862 find out it does not work in some platform. */
10863 #ifndef LT_DLLAZY_OR_NOW
10865 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10868 # define LT_DLLAZY_OR_NOW DL_LAZY
10871 # define LT_DLLAZY_OR_NOW RTLD_NOW
10874 # define LT_DLLAZY_OR_NOW DL_NOW
10876 # define LT_DLLAZY_OR_NOW 0
10883 /* When -fvisbility=hidden is used, assume the code has been annotated
10884 correspondingly for the symbols needed. */
10885 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10886 void fnord () __attribute__((visibility("default")));
10889 void fnord () { int i=42; }
10892 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10893 int status = $lt_dlunknown;
10897 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10900 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10901 else puts (dlerror ());
10903 /* dlclose (self); */
10911 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10912 (eval $ac_link) 2>&5
10914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10915 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10916 (.
/conftest
; exit; ) >&5 2>/dev
/null
10918 case x
$lt_status in
10919 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10920 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10921 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10924 # compilation failed
10925 lt_cv_dlopen_self
=no
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10933 $as_echo "$lt_cv_dlopen_self" >&6; }
10935 if test "x$lt_cv_dlopen_self" = xyes
; then
10936 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10938 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10939 if ${lt_cv_dlopen_self_static+:} false
; then :
10940 $as_echo_n "(cached) " >&6
10942 if test "$cross_compiling" = yes; then :
10943 lt_cv_dlopen_self_static
=cross
10945 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10946 lt_status
=$lt_dlunknown
10947 cat > conftest.
$ac_ext <<_LT_EOF
10948 #line 10948 "configure"
10949 #include "confdefs.h"
10958 # define LT_DLGLOBAL RTLD_GLOBAL
10961 # define LT_DLGLOBAL DL_GLOBAL
10963 # define LT_DLGLOBAL 0
10967 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10968 find out it does not work in some platform. */
10969 #ifndef LT_DLLAZY_OR_NOW
10971 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10974 # define LT_DLLAZY_OR_NOW DL_LAZY
10977 # define LT_DLLAZY_OR_NOW RTLD_NOW
10980 # define LT_DLLAZY_OR_NOW DL_NOW
10982 # define LT_DLLAZY_OR_NOW 0
10989 /* When -fvisbility=hidden is used, assume the code has been annotated
10990 correspondingly for the symbols needed. */
10991 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10992 void fnord () __attribute__((visibility("default")));
10995 void fnord () { int i=42; }
10998 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10999 int status = $lt_dlunknown;
11003 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11006 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11007 else puts (dlerror ());
11009 /* dlclose (self); */
11017 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11018 (eval $ac_link) 2>&5
11020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11021 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11022 (.
/conftest
; exit; ) >&5 2>/dev
/null
11024 case x
$lt_status in
11025 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11026 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11027 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11030 # compilation failed
11031 lt_cv_dlopen_self_static
=no
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11039 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11042 CPPFLAGS
="$save_CPPFLAGS"
11043 LDFLAGS
="$save_LDFLAGS"
11048 case $lt_cv_dlopen_self in
11049 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11050 *) enable_dlopen_self
=unknown
;;
11053 case $lt_cv_dlopen_self_static in
11054 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11055 *) enable_dlopen_self_static
=unknown
;;
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11078 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11079 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11080 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11081 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11083 $as_echo "yes" >&6; }
11085 # FIXME - insert some real tests, host_os isn't really good enough
11088 if test -n "$STRIP" ; then
11089 striplib
="$STRIP -x"
11090 old_striplib
="$STRIP -S"
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11092 $as_echo "yes" >&6; }
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11095 $as_echo "no" >&6; }
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11100 $as_echo "no" >&6; }
11116 # Report which library types will actually be built
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11118 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11120 $as_echo "$can_build_shared" >&6; }
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11123 $as_echo_n "checking whether to build shared libraries... " >&6; }
11124 test "$can_build_shared" = "no" && enable_shared
=no
11126 # On AIX, shared libraries and static libraries use the same namespace, and
11127 # are all built from PIC.
11130 test "$enable_shared" = yes && enable_static
=no
11131 if test -n "$RANLIB"; then
11132 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11133 postinstall_cmds
='$RANLIB $lib'
11138 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11139 test "$enable_shared" = yes && enable_static
=no
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11144 $as_echo "$enable_shared" >&6; }
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11147 $as_echo_n "checking whether to build static libraries... " >&6; }
11148 # Make sure either enable_shared or enable_static is yes.
11149 test "$enable_shared" = yes || enable_static
=yes
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11151 $as_echo "$enable_static" >&6; }
11158 ac_cpp
='$CPP $CPPFLAGS'
11159 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11160 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11161 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11177 ac_config_commands
="$ac_config_commands libtool"
11182 # Only expand once:
11187 ac_cpp
='$CXXCPP $CPPFLAGS'
11188 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11189 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11190 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11191 if test -z "$CXX"; then
11192 if test -n "$CCC"; then
11195 if test -n "$ac_tool_prefix"; then
11196 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
11198 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11199 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11201 $as_echo_n "checking for $ac_word... " >&6; }
11202 if ${ac_cv_prog_CXX+:} false
; then :
11203 $as_echo_n "(cached) " >&6
11205 if test -n "$CXX"; then
11206 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11209 for as_dir
in $PATH
11212 test -z "$as_dir" && as_dir
=.
11213 for ac_exec_ext
in '' $ac_executable_extensions; do
11214 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11215 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11225 CXX
=$ac_cv_prog_CXX
11226 if test -n "$CXX"; then
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
11228 $as_echo "$CXX" >&6; }
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11231 $as_echo "no" >&6; }
11235 test -n "$CXX" && break
11238 if test -z "$CXX"; then
11240 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
11242 # Extract the first word of "$ac_prog", so it can be a program name with args.
11243 set dummy
$ac_prog; ac_word
=$2
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11245 $as_echo_n "checking for $ac_word... " >&6; }
11246 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
11247 $as_echo_n "(cached) " >&6
11249 if test -n "$ac_ct_CXX"; then
11250 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11253 for as_dir
in $PATH
11256 test -z "$as_dir" && as_dir
=.
11257 for ac_exec_ext
in '' $ac_executable_extensions; do
11258 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11259 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11269 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11270 if test -n "$ac_ct_CXX"; then
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11272 $as_echo "$ac_ct_CXX" >&6; }
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11275 $as_echo "no" >&6; }
11279 test -n "$ac_ct_CXX" && break
11282 if test "x$ac_ct_CXX" = x
; then
11285 case $cross_compiling:$ac_tool_warned in
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11289 ac_tool_warned
=yes ;;
11297 # Provide some information about the compiler.
11298 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11301 for ac_option
in --version -v -V -qversion; do
11302 { { ac_try
="$ac_compiler $ac_option >&5"
11303 case "(($ac_try" in
11304 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11305 *) ac_try_echo=$ac_try;;
11307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11308 $as_echo "$ac_try_echo"; } >&5
11309 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11311 if test -s conftest.err; then
11313 ... rest of stderr output deleted ...
11314 10q' conftest.err >conftest.er1
11315 cat conftest.er1 >&5
11317 rm -f conftest.er1 conftest.err
11318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11319 test $ac_status = 0; }
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11323 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11324 if ${ac_cv_cxx_compiler_gnu+:} false; then :
11325 $as_echo_n "(cached) " >&6
11327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11328 /* end confdefs.h. */
11341 if ac_fn_cxx_try_compile "$LINENO"; then :
11342 ac_compiler_gnu=yes
11346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11347 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11351 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11352 if test $ac_compiler_gnu = yes; then
11357 ac_test_CXXFLAGS=${CXXFLAGS+set}
11358 ac_save_CXXFLAGS=$CXXFLAGS
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11360 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
11361 if ${ac_cv_prog_cxx_g+:} false; then :
11362 $as_echo_n "(cached) " >&6
11364 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11365 ac_cxx_werror_flag=yes
11366 ac_cv_prog_cxx_g=no
11368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11369 /* end confdefs.h. */
11379 if ac_fn_cxx_try_compile "$LINENO"; then :
11380 ac_cv_prog_cxx_g=yes
11383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11384 /* end confdefs.h. */
11394 if ac_fn_cxx_try_compile "$LINENO"; then :
11397 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11400 /* end confdefs.h. */
11410 if ac_fn_cxx_try_compile "$LINENO"; then :
11411 ac_cv_prog_cxx_g=yes
11413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11418 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11421 $as_echo "$ac_cv_prog_cxx_g" >&6; }
11422 if test "$ac_test_CXXFLAGS" = set; then
11423 CXXFLAGS=$ac_save_CXXFLAGS
11424 elif test $ac_cv_prog_cxx_g = yes; then
11425 if test "$GXX" = yes; then
11431 if test "$GXX" = yes; then
11438 ac_cpp='$CPP $CPPFLAGS'
11439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11443 depcc="$CXX" am_compiler_list=
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11446 $as_echo_n "checking dependency style of $depcc... " >&6; }
11447 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
11448 $as_echo_n "(cached) " >&6
11450 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11451 # We make a subdir and do the tests there. Otherwise we can end up
11452 # making bogus files that we don't know about and never remove. For
11453 # instance it was reported that on HP-UX the gcc test will end up
11454 # making a dummy file named 'D' -- because '-MD' means "put the output
11456 rm -rf conftest.dir
11458 # Copy depcomp to subdir because otherwise we won't find it if we're
11459 # using a relative directory.
11460 cp "$am_depcomp" conftest.dir
11462 # We will build objects and dependencies in a subdirectory because
11463 # it helps to detect inapplicable dependency modes. For instance
11464 # both Tru64's cc and ICC support -MD to output dependencies as a
11465 # side effect of compilation, but ICC will put the dependencies in
11466 # the current directory while Tru64 will put them in the object
11470 am_cv_CXX_dependencies_compiler_type=none
11471 if test "$am_compiler_list" = ""; then
11472 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
11474 am__universal=false
11475 case " $depcc " in #(
11476 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11479 for depmode in $am_compiler_list; do
11480 # Setup a source with many dependencies, because some compilers
11481 # like to wrap large dependency lists on column 80 (with \), and
11482 # we should not choose a depcomp mode which is confused by this.
11484 # We need to recreate these files for each test, as the compiler may
11485 # overwrite some of them when testing with obscure command lines.
11486 # This happens at least with the AIX C compiler.
11488 for i in 1 2 3 4 5 6; do
11489 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11490 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
11491 # Solaris 10 /bin/sh.
11492 echo '/* dummy */' > sub/conftst$i.h
11494 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11496 # We check with '-c' and '-o' for the sake of the "dashmstdout"
11497 # mode. It turns out that the SunPro C++ compiler does not properly
11498 # handle '-M -o', and we need to detect this. Also, some Intel
11499 # versions had trouble with output in subdirs.
11500 am__obj=sub/conftest.${OBJEXT-o}
11501 am__minus_obj="-o $am__obj"
11504 # This depmode causes a compiler race in universal mode.
11505 test "$am__universal" = false || continue
11508 # After this tag, mechanisms are not by side-effect, so they'll
11509 # only be used when explicitly requested.
11510 if test "x$enable_dependency_tracking" = xyes; then
11516 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
11517 # This compiler won't grok '-c -o', but also, the minuso test has
11518 # not run yet. These depmodes are late enough in the game, and
11519 # so weak that their functioning should not be impacted.
11520 am__obj=conftest.${OBJEXT-o}
11525 if depmode=$depmode \
11526 source=sub/conftest.c object=$am__obj \
11527 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11528 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11529 >/dev/null 2>conftest.err &&
11530 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11531 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11532 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11533 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11534 # icc doesn't choke on unknown options, it will just issue warnings
11535 # or remarks (even with -Werror). So we grep stderr for any message
11536 # that says an option was ignored or not supported.
11537 # When given -MP, icc 7.0 and 7.1 complain thusly:
11538 # icc: Command line warning: ignoring option '-M'; no argument required
11539 # The diagnosis changed in icc 8.0:
11540 # icc: Command line remark: option '-MP' not supported
11541 if (grep 'ignoring option' conftest.err ||
11542 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11543 am_cv_CXX_dependencies_compiler_type=$depmode
11550 rm -rf conftest.dir
11552 am_cv_CXX_dependencies_compiler_type=none
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
11557 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
11558 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
11561 test "x$enable_dependency_tracking" != xno \
11562 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
11563 am__fastdepCXX_TRUE=
11564 am__fastdepCXX_FALSE='#'
11566 am__fastdepCXX_TRUE='#'
11567 am__fastdepCXX_FALSE=
11571 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11572 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
11573 (test "X$CXX" != "Xg++"))) ; then
11575 ac_cpp='$CXXCPP $CPPFLAGS'
11576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11580 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11581 if test -z "$CXXCPP"; then
11582 if ${ac_cv_prog_CXXCPP+:} false; then :
11583 $as_echo_n "(cached) " >&6
11585 # Double quotes because CXXCPP needs to be expanded
11586 for CXXCPP in "$CXX -E" "/lib/cpp"
11588 ac_preproc_ok=false
11589 for ac_cxx_preproc_warn_flag in '' yes
11591 # Use a header file that comes with gcc, so configuring glibc
11592 # with a fresh cross-compiler works.
11593 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11594 # <limits.h> exists even on freestanding compilers.
11595 # On the NeXT, cc -E runs the code through the compiler's parser,
11596 # not just through cpp. "Syntax error" is here to catch this case.
11597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11598 /* end confdefs.h. */
11600 # include <limits.h>
11602 # include <assert.h>
11606 if ac_fn_cxx_try_cpp "$LINENO"; then :
11609 # Broken: fails on valid input.
11612 rm -f conftest.err conftest.i conftest.$ac_ext
11614 # OK, works on sane cases. Now check whether nonexistent headers
11615 # can be detected and how.
11616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11617 /* end confdefs.h. */
11618 #include <ac_nonexistent.h>
11620 if ac_fn_cxx_try_cpp "$LINENO"; then :
11621 # Broken: success on invalid input.
11624 # Passes both tests.
11628 rm -f conftest.err conftest.i conftest.$ac_ext
11631 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11632 rm -f conftest.i conftest.err conftest.
$ac_ext
11633 if $ac_preproc_ok; then :
11638 ac_cv_prog_CXXCPP
=$CXXCPP
11641 CXXCPP
=$ac_cv_prog_CXXCPP
11643 ac_cv_prog_CXXCPP
=$CXXCPP
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11646 $as_echo "$CXXCPP" >&6; }
11647 ac_preproc_ok
=false
11648 for ac_cxx_preproc_warn_flag
in '' yes
11650 # Use a header file that comes with gcc, so configuring glibc
11651 # with a fresh cross-compiler works.
11652 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11653 # <limits.h> exists even on freestanding compilers.
11654 # On the NeXT, cc -E runs the code through the compiler's parser,
11655 # not just through cpp. "Syntax error" is here to catch this case.
11656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11657 /* end confdefs.h. */
11659 # include <limits.h>
11661 # include <assert.h>
11665 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11668 # Broken: fails on valid input.
11671 rm -f conftest.err conftest.i conftest.
$ac_ext
11673 # OK, works on sane cases. Now check whether nonexistent headers
11674 # can be detected and how.
11675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11676 /* end confdefs.h. */
11677 #include <ac_nonexistent.h>
11679 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11680 # Broken: success on invalid input.
11683 # Passes both tests.
11687 rm -f conftest.err conftest.i conftest.
$ac_ext
11690 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11691 rm -f conftest.i conftest.err conftest.
$ac_ext
11692 if $ac_preproc_ok; then :
11695 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11696 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11697 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
11698 See \`config.log' for more details" "$LINENO" 5; }
11702 ac_cpp
='$CPP $CPPFLAGS'
11703 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11704 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11705 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11708 _lt_caught_CXX_error
=yes
11712 ac_cpp
='$CXXCPP $CPPFLAGS'
11713 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11714 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11715 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11717 archive_cmds_need_lc_CXX
=no
11718 allow_undefined_flag_CXX
=
11719 always_export_symbols_CXX
=no
11720 archive_expsym_cmds_CXX
=
11721 compiler_needs_object_CXX
=no
11722 export_dynamic_flag_spec_CXX
=
11723 hardcode_direct_CXX
=no
11724 hardcode_direct_absolute_CXX
=no
11725 hardcode_libdir_flag_spec_CXX
=
11726 hardcode_libdir_flag_spec_ld_CXX
=
11727 hardcode_libdir_separator_CXX
=
11728 hardcode_minus_L_CXX
=no
11729 hardcode_shlibpath_var_CXX
=unsupported
11730 hardcode_automatic_CXX
=no
11731 inherit_rpath_CXX
=no
11733 module_expsym_cmds_CXX
=
11734 link_all_deplibs_CXX
=unknown
11735 old_archive_cmds_CXX
=$old_archive_cmds
11736 reload_flag_CXX
=$reload_flag
11737 reload_cmds_CXX
=$reload_cmds
11738 no_undefined_flag_CXX
=
11739 whole_archive_flag_spec_CXX
=
11740 enable_shared_with_static_runtimes_CXX
=no
11742 # Source file extension for C++ test sources.
11745 # Object file extension for compiled C++ test sources.
11749 # No sense in running all these tests if we already determined that
11750 # the CXX compiler isn't working. Some variables (like enable_shared)
11751 # are currently assumed to apply to all compilers on this platform,
11752 # and will be corrupted by setting them based on a non-working compiler.
11753 if test "$_lt_caught_CXX_error" != yes; then
11754 # Code to be used in simple compile tests
11755 lt_simple_compile_test_code
="int some_variable = 0;"
11757 # Code to be used in simple link tests
11758 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11760 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11767 # If no C compiler was specified, use CC.
11770 # If no C compiler flags were specified, use CFLAGS.
11771 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11773 # Allow CC to be a program name with arguments.
11777 # save warnings/boilerplate of simple test code
11778 ac_outfile
=conftest.
$ac_objext
11779 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11780 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11781 _lt_compiler_boilerplate
=`cat conftest.err`
11784 ac_outfile
=conftest.
$ac_objext
11785 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11786 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11787 _lt_linker_boilerplate
=`cat conftest.err`
11791 # Allow CC to be a program name with arguments.
11796 lt_save_with_gnu_ld
=$with_gnu_ld
11797 lt_save_path_LD
=$lt_cv_path_LD
11798 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11799 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11801 $as_unset lt_cv_prog_gnu_ld
11803 if test -n "${lt_cv_path_LDCXX+set}"; then
11804 lt_cv_path_LD
=$lt_cv_path_LDCXX
11806 $as_unset lt_cv_path_LD
11808 test -z "${LDCXX+set}" || LD
=$LDCXX
11812 for cc_temp
in $compiler""; do
11814 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11815 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11820 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11823 if test -n "$compiler"; then
11824 # We don't want -fno-exception when compiling C++ code, so set the
11825 # no_builtin_flag separately
11826 if test "$GXX" = yes; then
11827 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11829 lt_prog_compiler_no_builtin_flag_CXX
=
11832 if test "$GXX" = yes; then
11833 # Set up default GNU C++ configuration
11837 # Check whether --with-gnu-ld was given.
11838 if test "${with_gnu_ld+set}" = set; then :
11839 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
11845 if test "$GCC" = yes; then
11846 # Check if gcc -print-prog-name=ld gives a path.
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11848 $as_echo_n "checking for ld used by $CC... " >&6; }
11851 # gcc leaves a trailing carriage return which upsets mingw
11852 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11854 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11857 # Accept absolute paths.
11859 re_direlt
='/[^/][^/]*/\.\./'
11860 # Canonicalize the pathname of ld
11861 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11862 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
11863 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11865 test -z "$LD" && LD
="$ac_prog"
11868 # If it fails, then pretend we aren't using GCC.
11872 # If it is relative, then search for the first ld in PATH.
11873 with_gnu_ld
=unknown
11876 elif test "$with_gnu_ld" = yes; then
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11878 $as_echo_n "checking for GNU ld... " >&6; }
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11881 $as_echo_n "checking for non-GNU ld... " >&6; }
11883 if ${lt_cv_path_LD+:} false
; then :
11884 $as_echo_n "(cached) " >&6
11886 if test -z "$LD"; then
11887 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11888 for ac_dir
in $PATH; do
11890 test -z "$ac_dir" && ac_dir
=.
11891 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
11892 lt_cv_path_LD
="$ac_dir/$ac_prog"
11893 # Check to see if the program is GNU ld. I'd rather use --version,
11894 # but apparently some variants of GNU ld only accept -v.
11895 # Break only if it was the GNU/non-GNU ld that we prefer.
11896 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11897 *GNU
* |
*'with BFD'*)
11898 test "$with_gnu_ld" != no
&& break
11901 test "$with_gnu_ld" != yes && break
11908 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11912 LD
="$lt_cv_path_LD"
11913 if test -n "$LD"; then
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11915 $as_echo "$LD" >&6; }
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11918 $as_echo "no" >&6; }
11920 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11922 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11923 if ${lt_cv_prog_gnu_ld+:} false
; then :
11924 $as_echo_n "(cached) " >&6
11926 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11927 case `$LD -v 2>&1 </dev/null` in
11928 *GNU
* |
*'with BFD'*)
11929 lt_cv_prog_gnu_ld
=yes
11932 lt_cv_prog_gnu_ld
=no
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11937 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11938 with_gnu_ld
=$lt_cv_prog_gnu_ld
11946 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11947 # archiving commands below assume that GNU ld is being used.
11948 if test "$with_gnu_ld" = yes; then
11949 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11950 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'
11952 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11953 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11955 # If archive_cmds runs LD, not CC, wlarc should be empty
11956 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11957 # investigate it a little bit more. (MM)
11960 # ancient GNU ld didn't support --whole-archive et. al.
11961 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11962 $GREP 'no-whole-archive' > /dev
/null
; then
11963 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11965 whole_archive_flag_spec_CXX
=
11971 # A generic and very simple default shared library creation
11972 # command for GNU C++ for the case where it uses the native
11973 # linker, instead of GNU ld. If possible, this setting should
11974 # overridden to take advantage of the native linker features on
11975 # the platform it is being used on.
11976 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11979 # Commands to make compiler produce verbose output that lists
11980 # what "hidden" libraries, object files and flags are used when
11981 # linking a shared library.
11982 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
11990 # PORTME: fill in a description of your system's C++ link characteristics
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11992 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11996 # FIXME: insert proper C++ library support
12000 if test "$host_cpu" = ia64
; then
12001 # On IA64, the linker does run time linking by default, so we don't
12002 # have to do anything special.
12003 aix_use_runtimelinking
=no
12004 exp_sym_flag
='-Bexport'
12007 aix_use_runtimelinking
=no
12009 # Test if we are trying to use run time linking or normal
12010 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12011 # need to do runtime linking.
12012 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12013 for ld_flag
in $LDFLAGS; do
12016 aix_use_runtimelinking
=yes
12024 exp_sym_flag
='-bexport'
12025 no_entry_flag
='-bnoentry'
12028 # When large executables or shared objects are built, AIX ld can
12029 # have problems creating the table of contents. If linking a library
12030 # or program results in "error TOC overflow" add -mminimal-toc to
12031 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12032 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12034 archive_cmds_CXX
=''
12035 hardcode_direct_CXX
=yes
12036 hardcode_direct_absolute_CXX
=yes
12037 hardcode_libdir_separator_CXX
=':'
12038 link_all_deplibs_CXX
=yes
12039 file_list_spec_CXX
='${wl}-f,'
12041 if test "$GXX" = yes; then
12042 case $host_os in aix4.
[012]|aix4.
[012].
*)
12043 # We only want to do this on AIX 4.2 and lower, the check
12044 # below for broken collect2 doesn't work under 4.3+
12045 collect2name
=`${CC} -print-prog-name=collect2`
12046 if test -f "$collect2name" &&
12047 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12049 # We have reworked collect2
12052 # We have old collect2
12053 hardcode_direct_CXX
=unsupported
12054 # It fails to find uninstalled libraries when the uninstalled
12055 # path is not listed in the libpath. Setting hardcode_minus_L
12056 # to unsupported forces relinking
12057 hardcode_minus_L_CXX
=yes
12058 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12059 hardcode_libdir_separator_CXX
=
12062 shared_flag
='-shared'
12063 if test "$aix_use_runtimelinking" = yes; then
12064 shared_flag
="$shared_flag "'${wl}-G'
12068 if test "$host_cpu" = ia64
; then
12069 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12070 # chokes on -Wl,-G. The following line is correct:
12073 if test "$aix_use_runtimelinking" = yes; then
12074 shared_flag
='${wl}-G'
12076 shared_flag
='${wl}-bM:SRE'
12081 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12082 # It seems that -bexpall does not export symbols beginning with
12083 # underscore (_), so it is better to generate a list of symbols to
12085 always_export_symbols_CXX
=yes
12086 if test "$aix_use_runtimelinking" = yes; then
12087 # Warning - without using the other runtime loading flags (-brtl),
12088 # -berok will link without error, but may produce a broken library.
12089 allow_undefined_flag_CXX
='-berok'
12090 # Determine the default libpath from the value encoded in an empty
12092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12093 /* end confdefs.h. */
12103 if ac_fn_cxx_try_link
"$LINENO"; then :
12105 lt_aix_libpath_sed
='
12106 /Import File Strings/,/^$/ {
12112 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12113 # Check for a 64-bit object if we didn't find anything.
12114 if test -z "$aix_libpath"; then
12115 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12118 rm -f core conftest.err conftest.
$ac_objext \
12119 conftest
$ac_exeext conftest.
$ac_ext
12120 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12122 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12124 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"
12126 if test "$host_cpu" = ia64
; then
12127 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12128 allow_undefined_flag_CXX
="-z nodefs"
12129 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"
12131 # Determine the default libpath from the value encoded in an
12132 # empty executable.
12133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12134 /* end confdefs.h. */
12144 if ac_fn_cxx_try_link
"$LINENO"; then :
12146 lt_aix_libpath_sed
='
12147 /Import File Strings/,/^$/ {
12153 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12154 # Check for a 64-bit object if we didn't find anything.
12155 if test -z "$aix_libpath"; then
12156 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12159 rm -f core conftest.err conftest.
$ac_objext \
12160 conftest
$ac_exeext conftest.
$ac_ext
12161 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12163 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12164 # Warning - without using the other run time loading flags,
12165 # -berok will link without error, but may produce a broken library.
12166 no_undefined_flag_CXX
=' ${wl}-bernotok'
12167 allow_undefined_flag_CXX
=' ${wl}-berok'
12168 if test "$with_gnu_ld" = yes; then
12169 # We only use this code for GNU lds that support --whole-archive.
12170 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12172 # Exported symbols can be pulled into shared objects from archives
12173 whole_archive_flag_spec_CXX
='$convenience'
12175 archive_cmds_need_lc_CXX
=yes
12176 # This is similar to how AIX traditionally builds its shared
12178 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'
12184 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12185 allow_undefined_flag_CXX
=unsupported
12186 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12187 # support --undefined. This deserves some investigation. FIXME
12188 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12195 case $cc_basename in
12197 # FIXME: insert proper C++ library support
12203 cygwin
* | mingw
* | pw32
* | cegcc
*)
12204 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12205 # as there is no search path for DLLs.
12206 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12207 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12208 allow_undefined_flag_CXX
=unsupported
12209 always_export_symbols_CXX
=no
12210 enable_shared_with_static_runtimes_CXX
=yes
12212 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12213 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'
12214 # If the export-symbols file already is a .def file (1st line
12215 # is EXPORTS), use it as is; otherwise, prepend...
12216 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12217 cp $export_symbols $output_objdir/$soname.def;
12219 echo EXPORTS > $output_objdir/$soname.def;
12220 cat $export_symbols >> $output_objdir/$soname.def;
12222 $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'
12227 darwin
* | rhapsody
*)
12230 archive_cmds_need_lc_CXX
=no
12231 hardcode_direct_CXX
=no
12232 hardcode_automatic_CXX
=yes
12233 hardcode_shlibpath_var_CXX
=unsupported
12234 if test "$lt_cv_ld_force_load" = "yes"; then
12235 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\"`'
12237 whole_archive_flag_spec_CXX
=''
12239 link_all_deplibs_CXX
=yes
12240 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12241 case $cc_basename in
12242 ifort
*) _lt_dar_can_shared
=yes ;;
12243 *) _lt_dar_can_shared
=$GCC ;;
12245 if test "$_lt_dar_can_shared" = "yes"; then
12246 output_verbose_link_cmd
=func_echo_all
12247 archive_cmds_CXX
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12248 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12249 archive_expsym_cmds_CXX
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12250 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}"
12251 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12252 archive_cmds_CXX
="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12253 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}"
12263 case $cc_basename in
12265 # FIXME: insert proper C++ library support
12269 # Green Hills C++ Compiler
12270 # FIXME: insert proper C++ library support
12274 # FIXME: insert proper C++ library support
12281 # C++ shared libraries reported to be fairly broken before
12287 archive_cmds_need_lc_CXX
=no
12290 freebsd
* | dragonfly
*)
12291 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12300 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12301 link_all_deplibs_CXX
=yes
12305 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12306 hardcode_libdir_separator_CXX
=:
12307 export_dynamic_flag_spec_CXX
='${wl}-E'
12308 hardcode_direct_CXX
=yes
12309 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12310 # but as the default
12311 # location of the library.
12313 case $cc_basename in
12315 # FIXME: insert proper C++ library support
12319 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'
12320 # Commands to make compiler produce verbose output that lists
12321 # what "hidden" libraries, object files and flags are used when
12322 # linking a shared library.
12324 # There doesn't appear to be a way to prevent this compiler from
12325 # explicitly linking system object files so we need to strip them
12326 # from the output so that they don't get included in the library
12328 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"'
12331 if test "$GXX" = yes; then
12332 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'
12334 # FIXME: insert proper C++ library support
12342 if test $with_gnu_ld = no
; then
12343 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12344 hardcode_libdir_separator_CXX
=:
12350 export_dynamic_flag_spec_CXX
='${wl}-E'
12356 hardcode_direct_CXX
=no
12357 hardcode_shlibpath_var_CXX
=no
12360 hardcode_direct_CXX
=yes
12361 hardcode_direct_absolute_CXX
=yes
12362 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12363 # but as the default
12364 # location of the library.
12368 case $cc_basename in
12370 # FIXME: insert proper C++ library support
12376 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12379 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12382 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12385 # Commands to make compiler produce verbose output that lists
12386 # what "hidden" libraries, object files and flags are used when
12387 # linking a shared library.
12389 # There doesn't appear to be a way to prevent this compiler from
12390 # explicitly linking system object files so we need to strip them
12391 # from the output so that they don't get included in the library
12393 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"'
12396 if test "$GXX" = yes; then
12397 if test $with_gnu_ld = no
; then
12400 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12403 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12406 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'
12411 # FIXME: insert proper C++ library support
12419 hardcode_direct_CXX
=no
12420 hardcode_shlibpath_var_CXX
=no
12421 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12422 export_dynamic_flag_spec_CXX
='${wl}-E'
12423 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12424 # Instead, shared libraries are loaded at an image base (0x10000000 by
12425 # default) and relocated if they conflict, which is a slow very memory
12426 # consuming and fragmenting process. To avoid this, we pick a random,
12427 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12428 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12429 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'
12430 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'
12433 case $cc_basename in
12436 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'
12438 # Archives containing C++ object files must be created using
12439 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12440 # necessary to make sure instantiated templates are included
12442 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12445 if test "$GXX" = yes; then
12446 if test "$with_gnu_ld" = no
; then
12447 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'
12449 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'
12452 link_all_deplibs_CXX
=yes
12455 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12456 hardcode_libdir_separator_CXX
=:
12457 inherit_rpath_CXX
=yes
12460 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12461 case $cc_basename in
12463 # Kuck and Associates, Inc. (KAI) C++ Compiler
12465 # KCC will only create a shared library if the output file
12466 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12467 # to its proper name (with version) after linking.
12468 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'
12469 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'
12470 # Commands to make compiler produce verbose output that lists
12471 # what "hidden" libraries, object files and flags are used when
12472 # linking a shared library.
12474 # There doesn't appear to be a way to prevent this compiler from
12475 # explicitly linking system object files so we need to strip them
12476 # from the output so that they don't get included in the library
12478 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"'
12480 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12481 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12483 # Archives containing C++ object files must be created using
12484 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12485 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12490 # version 8.0 and above of icpc choke on multiply defined symbols
12491 # if we add $predep_objects and $postdep_objects, however 7.1 and
12492 # earlier do not add the objects themselves.
12493 case `$CC -V 2>&1` in
12495 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12496 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'
12498 *) # Version 8.0 or newer
12501 ia64
*) tmp_idyn
=' -i_dynamic';;
12503 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12504 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'
12507 archive_cmds_need_lc_CXX
=no
12508 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12509 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12510 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12513 # Portland Group C++ compiler
12515 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12516 prelink_cmds_CXX
='tpldir=Template.dir~
12518 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12519 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12520 old_archive_cmds_CXX
='tpldir=Template.dir~
12522 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12523 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12525 archive_cmds_CXX
='tpldir=Template.dir~
12527 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12528 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12529 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12531 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12532 $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'
12534 *) # Version 6 and above use weak symbols
12535 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12536 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'
12540 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12541 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12542 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'
12546 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12547 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'
12549 runpath_var
=LD_RUN_PATH
12550 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12551 hardcode_libdir_separator_CXX
=:
12553 # Commands to make compiler produce verbose output that lists
12554 # what "hidden" libraries, object files and flags are used when
12555 # linking a shared library.
12557 # There doesn't appear to be a way to prevent this compiler from
12558 # explicitly linking system object files so we need to strip them
12559 # from the output so that they don't get included in the library
12561 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'
12563 xl
* | mpixl
* | bgxl
*)
12564 # IBM XL 8.0 on PPC, with GNU ld
12565 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12566 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12567 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12568 if test "x$supports_anon_versioning" = xyes
; then
12569 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12570 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12571 echo "local: *; };" >> $output_objdir/$libname.ver~
12572 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12576 case `$CC -V 2>&1 | sed 5q` in
12579 no_undefined_flag_CXX
=' -zdefs'
12580 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12581 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'
12582 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12583 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'
12584 compiler_needs_object_CXX
=yes
12586 # Not sure whether something based on
12587 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12589 output_verbose_link_cmd
='func_echo_all'
12591 # Archives containing C++ object files must be created using
12592 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12593 # necessary to make sure instantiated templates are included
12595 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12603 # FIXME: insert proper C++ library support
12608 # FIXME: insert proper C++ library support
12613 case $cc_basename in
12615 # FIXME: insert proper C++ library support
12619 # FIXME: insert proper C++ library support
12626 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12627 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12629 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12630 hardcode_direct_CXX
=yes
12631 hardcode_shlibpath_var_CXX
=no
12633 # Workaround some broken pre-1.5 toolchains
12634 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12642 # C++ shared libraries are fairly broken
12647 if test -f /usr
/libexec
/ld.so
; then
12648 hardcode_direct_CXX
=yes
12649 hardcode_shlibpath_var_CXX
=no
12650 hardcode_direct_absolute_CXX
=yes
12651 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12652 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12653 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12654 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12655 export_dynamic_flag_spec_CXX
='${wl}-E'
12656 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12658 output_verbose_link_cmd
=func_echo_all
12664 osf3
* | osf4
* | osf5
*)
12665 case $cc_basename in
12667 # Kuck and Associates, Inc. (KAI) C++ Compiler
12669 # KCC will only create a shared library if the output file
12670 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12671 # to its proper name (with version) after linking.
12672 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'
12674 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12675 hardcode_libdir_separator_CXX
=:
12677 # Archives containing C++ object files must be created using
12678 # the KAI C++ compiler.
12680 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12681 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12685 # Rational C++ 2.4.1
12686 # FIXME: insert proper C++ library support
12692 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12693 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'
12694 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12697 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12698 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'
12699 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12700 echo "-hidden">> $lib.exp~
12701 $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~
12703 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12707 hardcode_libdir_separator_CXX
=:
12709 # Commands to make compiler produce verbose output that lists
12710 # what "hidden" libraries, object files and flags are used when
12711 # linking a shared library.
12713 # There doesn't appear to be a way to prevent this compiler from
12714 # explicitly linking system object files so we need to strip them
12715 # from the output so that they don't get included in the library
12717 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"'
12720 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12721 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12724 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'
12727 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'
12731 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12732 hardcode_libdir_separator_CXX
=:
12734 # Commands to make compiler produce verbose output that lists
12735 # what "hidden" libraries, object files and flags are used when
12736 # linking a shared library.
12737 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12740 # FIXME: insert proper C++ library support
12748 # FIXME: insert proper C++ library support
12753 case $cc_basename in
12756 # FIXME: insert proper C++ library support
12761 # FIXME: insert proper C++ library support
12765 # FIXME: insert proper C++ library support
12772 case $cc_basename in
12774 # Sun C++ 4.2, 5.x and Centerline C++
12775 archive_cmds_need_lc_CXX
=yes
12776 no_undefined_flag_CXX
=' -zdefs'
12777 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12778 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12779 $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'
12781 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12782 hardcode_shlibpath_var_CXX
=no
12784 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12786 # The compiler driver will combine and reorder linker options,
12787 # but understands `-z linker_flag'.
12788 # Supported since Solaris 2.6 (maybe 2.5.1?)
12789 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12792 link_all_deplibs_CXX
=yes
12794 output_verbose_link_cmd
='func_echo_all'
12796 # Archives containing C++ object files must be created using
12797 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12798 # necessary to make sure instantiated templates are included
12800 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12803 # Green Hills C++ Compiler
12804 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12806 # The C++ compiler must be used to create the archive.
12807 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12810 # GNU C++ compiler with Solaris linker
12811 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12812 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12813 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
12814 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12815 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12816 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12818 # Commands to make compiler produce verbose output that lists
12819 # what "hidden" libraries, object files and flags are used when
12820 # linking a shared library.
12821 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12823 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12825 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12826 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12827 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12829 # Commands to make compiler produce verbose output that lists
12830 # what "hidden" libraries, object files and flags are used when
12831 # linking a shared library.
12832 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12835 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12837 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12839 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12847 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12848 no_undefined_flag_CXX
='${wl}-z,text'
12849 archive_cmds_need_lc_CXX
=no
12850 hardcode_shlibpath_var_CXX
=no
12851 runpath_var
='LD_RUN_PATH'
12853 case $cc_basename in
12855 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12856 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12859 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12860 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12865 sysv5
* | sco3.2v5
* | sco5v6
*)
12866 # Note: We can NOT use -z defs as we might desire, because we do not
12867 # link with -lc, and that would cause any symbols used from libc to
12868 # always be unresolved, which means just about no library would
12869 # ever link correctly. If we're not using GNU ld we use -z text
12870 # though, which does catch some bad symbols but isn't as heavy-handed
12872 no_undefined_flag_CXX
='${wl}-z,text'
12873 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12874 archive_cmds_need_lc_CXX
=no
12875 hardcode_shlibpath_var_CXX
=no
12876 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
12877 hardcode_libdir_separator_CXX
=':'
12878 link_all_deplibs_CXX
=yes
12879 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12880 runpath_var
='LD_RUN_PATH'
12882 case $cc_basename in
12884 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12885 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12886 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
12887 '"$old_archive_cmds_CXX"
12888 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
12889 '"$reload_cmds_CXX"
12892 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12893 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12899 case $cc_basename in
12901 # NonStop-UX NCC 3.20
12902 # FIXME: insert proper C++ library support
12906 # FIXME: insert proper C++ library support
12913 # For VxWorks ports, we assume the use of a GNU linker with
12914 # standard elf conventions.
12919 # FIXME: insert proper C++ library support
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12925 $as_echo "$ld_shlibs_CXX" >&6; }
12926 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12932 ## There is no encapsulation within the following macros, do not change
12933 ## the running order or otherwise move them around unless you know exactly
12934 ## what you are doing...
12935 # Dependencies to place before and after the object being linked:
12936 predep_objects_CXX
=
12937 postdep_objects_CXX
=
12940 compiler_lib_search_path_CXX
=
12942 cat > conftest.
$ac_ext <<_LT_EOF
12946 Foo (void) { a = 0; }
12952 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12953 (eval $ac_compile) 2>&5
12955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12956 test $ac_status = 0; }; then
12957 # Parse the compiler output and extract the necessary
12958 # objects, libraries and library flags.
12960 # Sentinel used to keep track of whether or not we are before
12961 # the conftest object file.
12962 pre_test_object_deps_done
=no
12964 for p
in `eval "$output_verbose_link_cmd"`; do
12968 # Some compilers place space between "-{L,R}" and the path.
12969 # Remove the space.
12970 if test $p = "-L" ||
12971 test $p = "-R"; then
12978 if test "$pre_test_object_deps_done" = no
; then
12981 # Internal compiler library paths should come after those
12982 # provided the user. The postdeps already come after the
12983 # user supplied libs so there is no need to process them.
12984 if test -z "$compiler_lib_search_path_CXX"; then
12985 compiler_lib_search_path_CXX
="${prev}${p}"
12987 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12990 # The "-l" case would never come before the object being
12991 # linked, so don't bother handling this case.
12994 if test -z "$postdeps_CXX"; then
12995 postdeps_CXX
="${prev}${p}"
12997 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13003 # This assumes that the test object file only shows up
13004 # once in the compiler output.
13005 if test "$p" = "conftest.$objext"; then
13006 pre_test_object_deps_done
=yes
13010 if test "$pre_test_object_deps_done" = no
; then
13011 if test -z "$predep_objects_CXX"; then
13012 predep_objects_CXX
="$p"
13014 predep_objects_CXX
="$predep_objects_CXX $p"
13017 if test -z "$postdep_objects_CXX"; then
13018 postdep_objects_CXX
="$p"
13020 postdep_objects_CXX
="$postdep_objects_CXX $p"
13025 *) ;; # Ignore the rest.
13033 echo "libtool.m4: error: problem compiling CXX test program"
13036 $RM -f confest.
$objext
13038 # PORTME: override above test on systems where it is broken
13041 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13042 # hack all around it, let's just trust "g++" to DTRT.
13043 predep_objects_CXX
=
13044 postdep_objects_CXX
=
13049 case `$CC -V 2>&1 | sed 5q` in
13053 # The more standards-conforming stlport4 library is
13054 # incompatible with the Cstd library. Avoid specifying
13055 # it if it's in CXXFLAGS. Ignore libCrun as
13056 # -library=stlport4 depends on it.
13057 case " $CXX $CXXFLAGS " in
13058 *" -library=stlport4 "*)
13059 solaris_use_stlport4
=yes
13063 if test "$solaris_use_stlport4" != yes; then
13064 postdeps_CXX
='-library=Cstd -library=Crun'
13071 case $cc_basename in
13073 # The more standards-conforming stlport4 library is
13074 # incompatible with the Cstd library. Avoid specifying
13075 # it if it's in CXXFLAGS. Ignore libCrun as
13076 # -library=stlport4 depends on it.
13077 case " $CXX $CXXFLAGS " in
13078 *" -library=stlport4 "*)
13079 solaris_use_stlport4
=yes
13083 # Adding this requires a known-good setup of shared libraries for
13084 # Sun compiler versions before 5.6, else PIC objects from an old
13085 # archive will be linked into the output, leading to subtle bugs.
13086 if test "$solaris_use_stlport4" != yes; then
13087 postdeps_CXX
='-library=Cstd -library=Crun'
13095 case " $postdeps_CXX " in
13096 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13098 compiler_lib_search_dirs_CXX
=
13099 if test -n "${compiler_lib_search_path_CXX}"; then
13100 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13133 lt_prog_compiler_wl_CXX
=
13134 lt_prog_compiler_pic_CXX
=
13135 lt_prog_compiler_static_CXX
=
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13138 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13140 # C++ specific cases for pic, static, wl, etc.
13141 if test "$GXX" = yes; then
13142 lt_prog_compiler_wl_CXX
='-Wl,'
13143 lt_prog_compiler_static_CXX
='-static'
13147 # All AIX code is PIC.
13148 if test "$host_cpu" = ia64
; then
13149 # AIX 5 now supports IA64 processor
13150 lt_prog_compiler_static_CXX
='-Bstatic'
13152 lt_prog_compiler_pic_CXX
='-fPIC'
13158 # see comment about AmigaOS4 .so support
13159 lt_prog_compiler_pic_CXX
='-fPIC'
13162 # FIXME: we need at least 68020 code to build shared libraries, but
13163 # adding the `-m68020' flag to GCC prevents building anything better,
13165 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13170 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13171 # PIC is the default for these OSes.
13173 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13174 # This hack is so that the source file can tell whether it is being
13175 # built for inclusion in a dll (and should export symbols for example).
13176 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13177 # (--disable-auto-import) libraries
13178 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13180 darwin
* | rhapsody
*)
13181 # PIC is the default on this platform
13182 # Common symbols not allowed in MH_DYLIB files
13183 lt_prog_compiler_pic_CXX
='-fno-common'
13186 # DJGPP does not support shared libraries at all
13187 lt_prog_compiler_pic_CXX
=
13190 # PIC is the default for Haiku.
13191 # The "-static" flag exists, but is broken.
13192 lt_prog_compiler_static_CXX
=
13195 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13196 # Instead, we relocate shared libraries at runtime.
13199 if test -d /usr
/nec
; then
13200 lt_prog_compiler_pic_CXX
=-Kconform_pic
13204 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13205 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13206 # sets the default TLS model and affects inlining.
13211 lt_prog_compiler_pic_CXX
='-fPIC'
13216 # QNX uses GNU C++, but need to define -shared option too, otherwise
13217 # it will coredump.
13218 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13221 lt_prog_compiler_pic_CXX
='-fPIC'
13227 # All AIX code is PIC.
13228 if test "$host_cpu" = ia64
; then
13229 # AIX 5 now supports IA64 processor
13230 lt_prog_compiler_static_CXX
='-Bstatic'
13232 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13236 case $cc_basename in
13238 # Green Hills C++ Compiler
13239 # _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"
13244 case $cc_basename in
13246 lt_prog_compiler_pic_CXX
='-KPIC'
13249 # Green Hills C++ Compiler
13250 lt_prog_compiler_pic_CXX
='-pic'
13256 freebsd
* | dragonfly
*)
13257 # FreeBSD uses GNU C++
13259 hpux9
* | hpux10
* | hpux11
*)
13260 case $cc_basename in
13262 lt_prog_compiler_wl_CXX
='-Wl,'
13263 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13264 if test "$host_cpu" != ia64
; then
13265 lt_prog_compiler_pic_CXX
='+Z'
13269 lt_prog_compiler_wl_CXX
='-Wl,'
13270 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13276 lt_prog_compiler_pic_CXX
='+Z'
13285 # This is c89, which is MS Visual C++ (no shared libs)
13286 # Anyone wants to do a port?
13288 irix5
* | irix6
* | nonstopux
*)
13289 case $cc_basename in
13291 lt_prog_compiler_wl_CXX
='-Wl,'
13292 lt_prog_compiler_static_CXX
='-non_shared'
13293 # CC pic flag -KPIC is the default.
13299 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13300 case $cc_basename in
13303 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13304 lt_prog_compiler_pic_CXX
='-fPIC'
13307 # old Intel C++ for x86_64 which still supported -KPIC.
13308 lt_prog_compiler_wl_CXX
='-Wl,'
13309 lt_prog_compiler_pic_CXX
='-KPIC'
13310 lt_prog_compiler_static_CXX
='-static'
13313 # Intel C++, used to be incompatible with GCC.
13314 # ICC 10 doesn't accept -KPIC any more.
13315 lt_prog_compiler_wl_CXX
='-Wl,'
13316 lt_prog_compiler_pic_CXX
='-fPIC'
13317 lt_prog_compiler_static_CXX
='-static'
13320 # Portland Group C++ compiler
13321 lt_prog_compiler_wl_CXX
='-Wl,'
13322 lt_prog_compiler_pic_CXX
='-fpic'
13323 lt_prog_compiler_static_CXX
='-Bstatic'
13327 # Make sure the PIC flag is empty. It appears that all Alpha
13328 # Linux and Compaq Tru64 Unix objects are PIC.
13329 lt_prog_compiler_pic_CXX
=
13330 lt_prog_compiler_static_CXX
='-non_shared'
13332 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13333 # IBM XL 8.0, 9.0 on PPC and BlueGene
13334 lt_prog_compiler_wl_CXX
='-Wl,'
13335 lt_prog_compiler_pic_CXX
='-qpic'
13336 lt_prog_compiler_static_CXX
='-qstaticlink'
13339 case `$CC -V 2>&1 | sed 5q` in
13342 lt_prog_compiler_pic_CXX
='-KPIC'
13343 lt_prog_compiler_static_CXX
='-Bstatic'
13344 lt_prog_compiler_wl_CXX
='-Qoption ld '
13355 case $cc_basename in
13357 lt_prog_compiler_pic_CXX
='-W c,exportall'
13366 # QNX uses GNU C++, but need to define -shared option too, otherwise
13367 # it will coredump.
13368 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13370 osf3
* | osf4
* | osf5
*)
13371 case $cc_basename in
13373 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13376 # Rational C++ 2.4.1
13377 lt_prog_compiler_pic_CXX
='-pic'
13380 # Digital/Compaq C++
13381 lt_prog_compiler_wl_CXX
='-Wl,'
13382 # Make sure the PIC flag is empty. It appears that all Alpha
13383 # Linux and Compaq Tru64 Unix objects are PIC.
13384 lt_prog_compiler_pic_CXX
=
13385 lt_prog_compiler_static_CXX
='-non_shared'
13394 case $cc_basename in
13396 # Sun C++ 4.2, 5.x and Centerline C++
13397 lt_prog_compiler_pic_CXX
='-KPIC'
13398 lt_prog_compiler_static_CXX
='-Bstatic'
13399 lt_prog_compiler_wl_CXX
='-Qoption ld '
13402 # Green Hills C++ Compiler
13403 lt_prog_compiler_pic_CXX
='-PIC'
13410 case $cc_basename in
13413 lt_prog_compiler_pic_CXX
='-pic'
13414 lt_prog_compiler_static_CXX
='-Bstatic'
13418 lt_prog_compiler_pic_CXX
='-pic'
13424 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13425 case $cc_basename in
13427 lt_prog_compiler_wl_CXX
='-Wl,'
13428 lt_prog_compiler_pic_CXX
='-KPIC'
13429 lt_prog_compiler_static_CXX
='-Bstatic'
13434 case $cc_basename in
13436 # NonStop-UX NCC 3.20
13437 lt_prog_compiler_pic_CXX
='-KPIC'
13446 lt_prog_compiler_can_build_shared_CXX
=no
13452 # For platforms which do not support PIC, -DPIC is meaningless:
13454 lt_prog_compiler_pic_CXX
=
13457 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13461 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13466 # Check to make sure the PIC flag actually works.
13468 if test -n "$lt_prog_compiler_pic_CXX"; then
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13470 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13471 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
13472 $as_echo_n "(cached) " >&6
13474 lt_cv_prog_compiler_pic_works_CXX
=no
13475 ac_outfile
=conftest.
$ac_objext
13476 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13477 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13478 # Insert the option either (1) after the last *FLAGS variable, or
13479 # (2) before a word containing "conftest.", or (3) at the end.
13480 # Note that $ac_compile itself does not contain backslashes and begins
13481 # with a dollar sign (not a hyphen), so the echo should work correctly.
13482 # The option is referenced via a variable to avoid confusing sed.
13483 lt_compile
=`echo "$ac_compile" | $SED \
13484 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13485 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13486 -e 's:$: $lt_compiler_flag:'`
13487 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13488 (eval "$lt_compile" 2>conftest.err
)
13490 cat conftest.err
>&5
13491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13492 if (exit $ac_status) && test -s "$ac_outfile"; then
13493 # The compiler can only warn and ignore the option if not recognized
13494 # So say no if there are warnings other than the usual output.
13495 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13496 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13497 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13498 lt_cv_prog_compiler_pic_works_CXX
=yes
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13505 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13507 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13508 case $lt_prog_compiler_pic_CXX in
13510 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13513 lt_prog_compiler_pic_CXX
=
13514 lt_prog_compiler_can_build_shared_CXX
=no
13522 # Check to make sure the static flag actually works.
13524 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13526 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13527 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
13528 $as_echo_n "(cached) " >&6
13530 lt_cv_prog_compiler_static_works_CXX
=no
13531 save_LDFLAGS
="$LDFLAGS"
13532 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13533 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13534 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13535 # The linker can only warn and ignore the option if not recognized
13536 # So say no if there are warnings
13537 if test -s conftest.err
; then
13538 # Append any errors to the config.log.
13539 cat conftest.err
1>&5
13540 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13541 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13542 if diff conftest.exp conftest.er2
>/dev
/null
; then
13543 lt_cv_prog_compiler_static_works_CXX
=yes
13546 lt_cv_prog_compiler_static_works_CXX
=yes
13550 LDFLAGS
="$save_LDFLAGS"
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13554 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13556 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13559 lt_prog_compiler_static_CXX
=
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13566 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13567 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
13568 $as_echo_n "(cached) " >&6
13570 lt_cv_prog_compiler_c_o_CXX
=no
13571 $RM -r conftest
2>/dev
/null
13575 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13577 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13578 # Insert the option either (1) after the last *FLAGS variable, or
13579 # (2) before a word containing "conftest.", or (3) at the end.
13580 # Note that $ac_compile itself does not contain backslashes and begins
13581 # with a dollar sign (not a hyphen), so the echo should work correctly.
13582 lt_compile
=`echo "$ac_compile" | $SED \
13583 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13584 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13585 -e 's:$: $lt_compiler_flag:'`
13586 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13587 (eval "$lt_compile" 2>out
/conftest.err
)
13589 cat out
/conftest.err
>&5
13590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13591 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13593 # The compiler can only warn and ignore the option if not recognized
13594 # So say no if there are warnings
13595 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13596 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13597 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13598 lt_cv_prog_compiler_c_o_CXX
=yes
13603 # SGI C++ compiler will create directory out/ii_files/ for
13604 # template instantiation
13605 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13606 $RM out
/* && rmdir out
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13613 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13618 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13619 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
13620 $as_echo_n "(cached) " >&6
13622 lt_cv_prog_compiler_c_o_CXX
=no
13623 $RM -r conftest
2>/dev
/null
13627 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13629 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13630 # Insert the option either (1) after the last *FLAGS variable, or
13631 # (2) before a word containing "conftest.", or (3) at the end.
13632 # Note that $ac_compile itself does not contain backslashes and begins
13633 # with a dollar sign (not a hyphen), so the echo should work correctly.
13634 lt_compile
=`echo "$ac_compile" | $SED \
13635 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13636 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13637 -e 's:$: $lt_compiler_flag:'`
13638 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13639 (eval "$lt_compile" 2>out
/conftest.err
)
13641 cat out
/conftest.err
>&5
13642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13643 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13645 # The compiler can only warn and ignore the option if not recognized
13646 # So say no if there are warnings
13647 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13648 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13649 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13650 lt_cv_prog_compiler_c_o_CXX
=yes
13655 # SGI C++ compiler will create directory out/ii_files/ for
13656 # template instantiation
13657 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13658 $RM out
/* && rmdir out
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13665 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13670 hard_links
="nottested"
13671 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13672 # do not overwrite the value of need_locks provided by the user
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13674 $as_echo_n "checking if we can lock with hard links... " >&6; }
13677 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13679 ln conftest.a conftest.b
2>&5 || hard_links
=no
13680 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13682 $as_echo "$hard_links" >&6; }
13683 if test "$hard_links" = no
; then
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13685 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13695 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13697 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13700 # If we're using GNU nm, then we don't want the "-C" option.
13701 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13702 # Also, AIX nm treats weak defined symbols like other global defined
13703 # symbols, whereas GNU nm marks them as "W".
13704 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13705 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'
13707 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'
13711 export_symbols_cmds_CXX
="$ltdll_cmds"
13713 cygwin
* | mingw
* | cegcc
*)
13714 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'
13717 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13720 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13723 $as_echo "$ld_shlibs_CXX" >&6; }
13724 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13726 with_gnu_ld_CXX
=$with_gnu_ld
13734 # Do we need to explicitly link libc?
13736 case "x$archive_cmds_need_lc_CXX" in
13738 # Assume -lc should be added
13739 archive_cmds_need_lc_CXX
=yes
13741 if test "$enable_shared" = yes && test "$GCC" = yes; then
13742 case $archive_cmds_CXX in
13744 # FIXME: we may have to deal with multi-command sequences.
13747 # Test whether the compiler implicitly links with -lc since on some
13748 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13749 # to ld, don't add -lc before -lgcc.
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13751 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13752 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
13753 $as_echo_n "(cached) " >&6
13756 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13758 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13759 (eval $ac_compile) 2>&5
13761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13762 test $ac_status = 0; } 2>conftest.err
; then
13765 libobjs
=conftest.
$ac_objext
13767 wl
=$lt_prog_compiler_wl_CXX
13768 pic_flag
=$lt_prog_compiler_pic_CXX
13774 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13775 allow_undefined_flag_CXX
=
13776 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13777 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13780 test $ac_status = 0; }
13782 lt_cv_archive_cmds_need_lc_CXX
=no
13784 lt_cv_archive_cmds_need_lc_CXX
=yes
13786 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13788 cat conftest.err
1>&5
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13794 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
13795 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13866 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13868 library_names_spec
=
13869 libname_spec
='lib$name'
13873 postuninstall_cmds
=
13877 shlibpath_overrides_runpath
=unknown
13879 dynamic_linker
="$host_os ld.so"
13880 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13881 need_lib_prefix
=unknown
13882 hardcode_into_libs
=no
13884 # when you set need_version to no, make sure it does not cause -set_version
13885 # flags to be left without arguments
13886 need_version
=unknown
13891 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13892 shlibpath_var
=LIBPATH
13894 # AIX 3 has no versioning support, so we append a major version to the name.
13895 soname_spec
='${libname}${release}${shared_ext}$major'
13902 hardcode_into_libs
=yes
13903 if test "$host_cpu" = ia64
; then
13904 # AIX 5 supports IA64
13905 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13906 shlibpath_var
=LD_LIBRARY_PATH
13908 # With GCC up to 2.95.x, collect2 would create an import file
13909 # for dependence libraries. The import file would start with
13910 # the line `#! .'. This would cause the generated library to
13911 # depend on `.', always an invalid library. This was fixed in
13912 # development snapshots of GCC prior to 3.0.
13914 aix4 | aix4.
[01] | aix4.
[01].
*)
13915 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13917 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13920 can_build_shared
=no
13924 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13925 # soname into executable. Probably we can add versioning support to
13926 # collect2, so additional links can be useful in future.
13927 if test "$aix_use_runtimelinking" = yes; then
13928 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13929 # instead of lib<name>.a to let people know that these are not
13930 # typical AIX shared libraries.
13931 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13933 # We preserve .a as extension for shared libraries through AIX4.2
13934 # and later when we are not doing run time linking.
13935 library_names_spec
='${libname}${release}.a $libname.a'
13936 soname_spec
='${libname}${release}${shared_ext}$major'
13938 shlibpath_var
=LIBPATH
13945 # Since July 2007 AmigaOS4 officially supports .so libraries.
13946 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13950 library_names_spec
='$libname.ixlibrary $libname.a'
13951 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13952 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'
13958 library_names_spec
='${libname}${shared_ext}'
13959 dynamic_linker
="$host_os ld.so"
13960 shlibpath_var
=LIBRARY_PATH
13966 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13967 soname_spec
='${libname}${release}${shared_ext}$major'
13968 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13969 shlibpath_var
=LD_LIBRARY_PATH
13970 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13971 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13972 # the default ld.so.conf also contains /usr/contrib/lib and
13973 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13974 # libtool to hard-code these into programs
13977 cygwin
* | mingw
* | pw32
* | cegcc
*)
13978 version_type
=windows
13983 case $GCC,$host_os in
13984 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
13985 library_names_spec
='$libname.dll.a'
13986 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13987 postinstall_cmds
='base_file=`basename \${file}`~
13988 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13989 dldir=$destdir/`dirname \$dlpath`~
13990 test -d \$dldir || mkdir -p \$dldir~
13991 $install_prog $dir/$dlname \$dldir/$dlname~
13992 chmod a+x \$dldir/$dlname~
13993 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13994 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13996 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13997 dlpath=$dir/\$dldll~
13999 shlibpath_overrides_runpath
=yes
14003 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14004 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14008 # MinGW DLLs use traditional 'lib' prefix
14009 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14012 # pw32 DLLs use 'pw' prefix rather than 'lib'
14013 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14019 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14022 dynamic_linker
='Win32 ld.exe'
14023 # FIXME: first we should search . and the directory the executable is in
14027 darwin
* | rhapsody
*)
14028 dynamic_linker
="$host_os dyld"
14029 version_type
=darwin
14032 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14033 soname_spec
='${libname}${release}${major}$shared_ext'
14034 shlibpath_overrides_runpath
=yes
14035 shlibpath_var
=DYLD_LIBRARY_PATH
14036 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14038 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14045 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14046 soname_spec
='${libname}${release}${shared_ext}$major'
14047 shlibpath_var
=LD_LIBRARY_PATH
14050 freebsd
* | dragonfly
*)
14051 # DragonFly does not have aout. When/if they implement a new
14052 # versioning mechanism, adjust this.
14053 if test -x /usr
/bin
/objformat
; then
14054 objformat
=`/usr/bin/objformat`
14057 freebsd
[23].
*) objformat
=aout
;;
14058 *) objformat
=elf
;;
14061 version_type
=freebsd-
$objformat
14062 case $version_type in
14064 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14069 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14073 shlibpath_var
=LD_LIBRARY_PATH
14076 shlibpath_overrides_runpath
=yes
14078 freebsd3.
[01]* | freebsdelf3.
[01]*)
14079 shlibpath_overrides_runpath
=yes
14080 hardcode_into_libs
=yes
14082 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14083 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14084 shlibpath_overrides_runpath
=no
14085 hardcode_into_libs
=yes
14087 *) # from 4.6 on, and DragonFly
14088 shlibpath_overrides_runpath
=yes
14089 hardcode_into_libs
=yes
14098 dynamic_linker
="$host_os runtime_loader"
14099 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14100 soname_spec
='${libname}${release}${shared_ext}$major'
14101 shlibpath_var
=LIBRARY_PATH
14102 shlibpath_overrides_runpath
=yes
14103 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14104 hardcode_into_libs
=yes
14107 hpux9
* | hpux10
* | hpux11
*)
14108 # Give a soname corresponding to the major version so that dld.sl refuses to
14109 # link against other versions.
14116 hardcode_into_libs
=yes
14117 dynamic_linker
="$host_os dld.so"
14118 shlibpath_var
=LD_LIBRARY_PATH
14119 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14120 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14121 soname_spec
='${libname}${release}${shared_ext}$major'
14122 if test "X$HPUX_IA64_MODE" = X32
; then
14123 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14125 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14127 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14131 hardcode_into_libs
=yes
14132 dynamic_linker
="$host_os dld.sl"
14133 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14134 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14135 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14136 soname_spec
='${libname}${release}${shared_ext}$major'
14137 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14138 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14142 dynamic_linker
="$host_os dld.sl"
14143 shlibpath_var
=SHLIB_PATH
14144 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14145 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14146 soname_spec
='${libname}${release}${shared_ext}$major'
14149 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14150 postinstall_cmds
='chmod 555 $lib'
14151 # or fails outright, so override atomically:
14152 install_override_mode
=555
14159 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14160 soname_spec
='${libname}${release}${shared_ext}$major'
14161 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14162 shlibpath_var
=LD_LIBRARY_PATH
14163 shlibpath_overrides_runpath
=no
14164 hardcode_into_libs
=yes
14167 irix5
* | irix6
* | nonstopux
*)
14169 nonstopux
*) version_type
=nonstopux
;;
14171 if test "$lt_cv_prog_gnu_ld" = yes; then
14179 soname_spec
='${libname}${release}${shared_ext}$major'
14180 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14182 irix5
* | nonstopux
*)
14183 libsuff
= shlibsuff
=
14186 case $LD in # libtool.m4 will add one of these switches to LD
14187 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14188 libsuff
= shlibsuff
= libmagic
=32-bit;;
14189 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14190 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14191 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14192 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14193 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14197 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14198 shlibpath_overrides_runpath
=no
14199 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14200 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14201 hardcode_into_libs
=yes
14204 # No shared lib support for Linux oldld, aout, or coff.
14205 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14209 # This must be Linux ELF.
14211 # uclinux* changes (here and below) have been submitted to the libtool
14212 # project, but have not yet been accepted: they are GCC-local changes
14213 # for the time being. (See
14214 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
14215 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
14219 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14220 soname_spec
='${libname}${release}${shared_ext}$major'
14221 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14222 shlibpath_var
=LD_LIBRARY_PATH
14223 shlibpath_overrides_runpath
=no
14225 # Some binutils ld are patched to set DT_RUNPATH
14226 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
14227 $as_echo_n "(cached) " >&6
14229 lt_cv_shlibpath_overrides_runpath
=no
14230 save_LDFLAGS
=$LDFLAGS
14231 save_libdir
=$libdir
14232 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14233 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14235 /* end confdefs.h. */
14245 if ac_fn_cxx_try_link
"$LINENO"; then :
14246 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14247 lt_cv_shlibpath_overrides_runpath
=yes
14250 rm -f core conftest.err conftest.
$ac_objext \
14251 conftest
$ac_exeext conftest.
$ac_ext
14252 LDFLAGS
=$save_LDFLAGS
14253 libdir
=$save_libdir
14257 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14259 # This implies no fast_install, which is unacceptable.
14260 # Some rework will be needed to allow for fast_install
14261 # before this can be enabled.
14262 hardcode_into_libs
=yes
14264 # Append ld.so.conf contents to the search path
14265 if test -f /etc
/ld.so.conf
; then
14266 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' ' '`
14267 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14270 # We used to test for /lib/ld.so.1 and disable shared libraries on
14271 # powerpc, because MkLinux only supported shared libraries with the
14272 # GNU dynamic linker. Since this was broken with cross compilers,
14273 # most powerpc-linux boxes support dynamic linking these days and
14274 # people can always --disable-shared, the test was removed, and we
14275 # assume the GNU/Linux dynamic linker is in use.
14276 dynamic_linker
='GNU/Linux ld.so'
14283 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14284 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14285 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14286 dynamic_linker
='NetBSD (a.out) ld.so'
14288 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14289 soname_spec
='${libname}${release}${shared_ext}$major'
14290 dynamic_linker
='NetBSD ld.elf_so'
14292 shlibpath_var
=LD_LIBRARY_PATH
14293 shlibpath_overrides_runpath
=yes
14294 hardcode_into_libs
=yes
14299 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14300 shlibpath_var
=LD_LIBRARY_PATH
14301 shlibpath_overrides_runpath
=yes
14308 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14309 soname_spec
='${libname}${release}${shared_ext}$major'
14310 shlibpath_var
=LD_LIBRARY_PATH
14311 shlibpath_overrides_runpath
=no
14312 hardcode_into_libs
=yes
14313 dynamic_linker
='ldqnx.so'
14318 sys_lib_dlsearch_path_spec
="/usr/lib"
14320 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14322 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14323 *) need_version
=no
;;
14325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14326 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14327 shlibpath_var
=LD_LIBRARY_PATH
14328 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14330 openbsd2.
[89] | openbsd2.
[89].
*)
14331 shlibpath_overrides_runpath
=no
14334 shlibpath_overrides_runpath
=yes
14338 shlibpath_overrides_runpath
=yes
14343 libname_spec
='$name'
14346 library_names_spec
='$libname${shared_ext} $libname.a'
14347 dynamic_linker
='OS/2 ld.exe'
14348 shlibpath_var
=LIBPATH
14351 osf3
* | osf4
* | osf5
*)
14355 soname_spec
='${libname}${release}${shared_ext}$major'
14356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14357 shlibpath_var
=LD_LIBRARY_PATH
14358 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14359 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14370 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14371 soname_spec
='${libname}${release}${shared_ext}$major'
14372 shlibpath_var
=LD_LIBRARY_PATH
14373 shlibpath_overrides_runpath
=yes
14374 hardcode_into_libs
=yes
14375 # ldd complains unless libraries are executable
14376 postinstall_cmds
='chmod +x $lib'
14381 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14382 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14383 shlibpath_var
=LD_LIBRARY_PATH
14384 shlibpath_overrides_runpath
=yes
14385 if test "$with_gnu_ld" = yes; then
14393 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14394 soname_spec
='${libname}${release}${shared_ext}$major'
14395 shlibpath_var
=LD_LIBRARY_PATH
14396 case $host_vendor in
14398 shlibpath_overrides_runpath
=no
14400 runpath_var
=LD_RUN_PATH
14408 shlibpath_overrides_runpath
=no
14409 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14415 if test -d /usr
/nec
;then
14417 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14418 soname_spec
='$libname${shared_ext}.$major'
14419 shlibpath_var
=LD_LIBRARY_PATH
14423 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14424 version_type
=freebsd-elf
14427 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14428 soname_spec
='${libname}${release}${shared_ext}$major'
14429 shlibpath_var
=LD_LIBRARY_PATH
14430 shlibpath_overrides_runpath
=yes
14431 hardcode_into_libs
=yes
14432 if test "$with_gnu_ld" = yes; then
14433 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14435 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14438 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14442 sys_lib_dlsearch_path_spec
='/usr/lib'
14446 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14450 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14451 shlibpath_var
=LD_LIBRARY_PATH
14452 shlibpath_overrides_runpath
=no
14453 hardcode_into_libs
=yes
14458 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14459 soname_spec
='${libname}${release}${shared_ext}$major'
14460 shlibpath_var
=LD_LIBRARY_PATH
14463 # Shared libraries for VwWorks, >= 7 only at this stage
14464 # and (fpic) still incompatible with "large" code models
14465 # in a few configurations. Only for RTP mode in any case,
14466 # and upon explicit request at configure time.
14469 case ${with_multisubdir}-${enable_shared} in
14476 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14477 soname_spec
='${libname}${release}${shared_ext}$major'
14478 dynamic_linker
="$host_os module_loader"
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14487 $as_echo "$dynamic_linker" >&6; }
14488 test "$dynamic_linker" = no
&& can_build_shared
=no
14490 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14491 if test "$GCC" = yes; then
14492 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14495 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14496 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14498 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14499 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14540 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14541 hardcode_action_CXX
=
14542 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14543 test -n "$runpath_var_CXX" ||
14544 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14546 # We can hardcode non-existent directories.
14547 if test "$hardcode_direct_CXX" != no
&&
14548 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14549 # have to relink, otherwise we might link with an installed library
14550 # when we should be linking with a yet-to-be-installed one
14551 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14552 test "$hardcode_minus_L_CXX" != no
; then
14553 # Linking always hardcodes the temporary library directory.
14554 hardcode_action_CXX
=relink
14556 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14557 hardcode_action_CXX
=immediate
14560 # We cannot hardcode anything, or else we can only hardcode existing
14562 hardcode_action_CXX
=unsupported
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14565 $as_echo "$hardcode_action_CXX" >&6; }
14567 if test "$hardcode_action_CXX" = relink ||
14568 test "$inherit_rpath_CXX" = yes; then
14569 # Fast installation is not supported
14570 enable_fast_install
=no
14571 elif test "$shlibpath_overrides_runpath" = yes ||
14572 test "$enable_shared" = no
; then
14573 # Fast installation is not necessary
14574 enable_fast_install
=needless
14583 fi # test -n "$compiler"
14589 with_gnu_ld
=$lt_save_with_gnu_ld
14590 lt_cv_path_LDCXX
=$lt_cv_path_LD
14591 lt_cv_path_LD
=$lt_save_path_LD
14592 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14593 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14594 fi # test "$_lt_caught_CXX_error" != yes
14597 ac_cpp
='$CPP $CPPFLAGS'
14598 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14599 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14600 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14605 if test "$GXX" = yes; then
14606 visibility
=-fvisibility=hidden
14610 # Check whether --enable-cet was given.
14611 if test "${enable_cet+set}" = set; then :
14612 enableval
=$enable_cet;
14613 case "$enableval" in
14615 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
14624 $as_echo_n "checking for CET support... " >&6; }
14627 i
[34567]86-*-linux* | x86_64-
*-linux*)
14629 cet_save_CFLAGS
="$CFLAGS"
14630 CFLAGS
="$CFLAGS -fcf-protection"
14631 case "$enable_cet" in
14633 # Check if target supports multi-byte NOPs
14634 # and if compiler and assembler support CET.
14635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14636 /* end confdefs.h. */
14642 #if !defined(__SSE2__)
14643 #error target does not support multi-byte NOPs
14652 if ac_fn_c_try_compile
"$LINENO"; then :
14657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14660 # Check if compiler and assembler support CET.
14661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14662 /* end confdefs.h. */
14672 if ac_fn_c_try_compile
"$LINENO"; then :
14677 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14678 if test $support_cet = "no"; then
14679 if test x
$enable_bootstrap != xno \
14680 && test -z "${with_build_subdir}" \
14681 && (test ! -f ..
/stage_current \
14682 ||
test `cat ../stage_current` != "stage1"); then
14683 # Require CET support only for the final GCC build.
14684 as_fn_error $?
"compiler and assembler with CET support are required for --enable-cet" "$LINENO" 5
14686 # Don't enable CET without CET support for non-bootstrap
14687 # build, in stage1 nor for build support.
14693 CFLAGS
="$cet_save_CFLAGS"
14701 cet_save_CFLAGS
="$CFLAGS"
14702 CFLAGS
="$CFLAGS -fcf-protection=none"
14703 cet_save_LDFLAGS
="$LDFLAGS"
14704 LDFLAGS
="$LDFLAGS -Wl,-z,ibt,-z,shstk"
14705 if test x
$may_have_cet = xyes
; then
14706 # Check whether -fcf-protection=none -Wl,-z,ibt,-z,shstk work.
14707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14708 /* end confdefs.h. */
14718 if ac_fn_c_try_link
"$LINENO"; then :
14723 rm -f core conftest.err conftest.
$ac_objext \
14724 conftest
$ac_exeext conftest.
$ac_ext
14727 if test x
$may_have_cet = xyes
; then
14728 if test x
$cross_compiling = xno
; then
14729 if test "$cross_compiling" = yes; then :
14730 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14731 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14732 as_fn_error $?
"cannot run test program while cross compiling
14733 See \`config.log' for more details" "$LINENO" 5; }
14735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14736 /* end confdefs.h. */
14746 if ac_fn_c_try_run
"$LINENO"; then :
14747 have_multi_byte_nop
=yes
14749 have_multi_byte_nop
=no
14751 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14752 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14756 if test x
$have_multi_byte_nop = xyes
; then
14757 if test "$cross_compiling" = yes; then :
14758 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14759 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14760 as_fn_error $?
"cannot run test program while cross compiling
14761 See \`config.log' for more details" "$LINENO" 5; }
14763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14764 /* end confdefs.h. */
14772 __attribute__ ((noinline, noclone))
14773 xxx (void (*f) (void))
14779 __attribute__ ((noinline, noclone))
14793 if ac_fn_c_try_run
"$LINENO"; then :
14798 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14799 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14803 if test x
$enable_cet = xno
-a x
$have_cet = xyes
; then
14804 as_fn_error $?
"Intel CET must be enabled on Intel CET enabled host" "$LINENO" 5
14808 # Enable CET in cross compiler if possible so that it will run on both
14809 # CET and non-CET hosts.
14812 if test x
$enable_cet = xyes
; then
14813 CET_HOST_FLAGS
="-fcf-protection"
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14815 $as_echo "yes" >&6; }
14817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14818 $as_echo "no" >&6; }
14820 CFLAGS
="$cet_save_CFLAGS"
14821 LDFLAGS
="$cet_save_LDFLAGS"
14825 ac_fn_c_check_decl
"$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
14826 if test "x$ac_cv_have_decl_basename" = xyes
; then :
14832 cat >>confdefs.h
<<_ACEOF
14833 #define HAVE_DECL_BASENAME $ac_have_decl
14838 get_gcc_base_ver
="cat"
14840 # Check whether --with-gcc-major-version-only was given.
14841 if test "${with_gcc_major_version_only+set}" = set; then :
14842 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
14843 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
14851 if test x
$with_gcc_major_version_only = xyes
; then
14852 gcc_version
=`sed -e 's/^\([0-9]*\).*$/\1/' $srcdir/../gcc/BASE-VER`
14854 gcc_version
=`cat $srcdir/../gcc/BASE-VER`
14857 CONFIG_STATUS_DEPENDENCIES
='$(top_srcdir)/../gcc/BASE-VER'
14861 ac_cpp
='$CPP $CPPFLAGS'
14862 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14863 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14864 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14867 save_CFLAGS
="$CFLAGS"
14868 for real_option
in -W -Wall; do
14869 # Do the check with the no- prefix removed since gcc silently
14870 # accepts any -Wno-* option on purpose
14871 case $real_option in
14872 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
14873 *) option
=$real_option ;;
14875 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
14877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
14878 $as_echo_n "checking whether $CC supports $option... " >&6; }
14879 if eval \
${$as_acx_Woption+:} false
; then :
14880 $as_echo_n "(cached) " >&6
14883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14884 /* end confdefs.h. */
14894 if ac_fn_c_try_compile
"$LINENO"; then :
14895 eval "$as_acx_Woption=yes"
14897 eval "$as_acx_Woption=no"
14899 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14902 eval ac_res
=\$
$as_acx_Woption
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14904 $as_echo "$ac_res" >&6; }
14905 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
14906 WARN_FLAGS
="$WARN_FLAGS${WARN_FLAGS:+ }$real_option"
14909 CFLAGS
="$save_CFLAGS"
14911 ac_cpp
='$CPP $CPPFLAGS'
14912 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14913 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14914 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14919 ac_cpp
='$CPP $CPPFLAGS'
14920 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14921 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14922 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14925 # Check whether --enable-werror-always was given.
14926 if test "${enable_werror_always+set}" = set; then :
14927 enableval
=$enable_werror_always;
14929 enable_werror_always
=no
14932 if test $enable_werror_always = yes; then :
14933 WERROR
="$WERROR${WERROR:+ }-Werror"
14937 ac_cpp
='$CPP $CPPFLAGS'
14938 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14939 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14940 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14947 if test "$GXX" = yes; then
14948 libsuffix
=`$CXX -print-multi-os-directory`
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
14953 $as_echo_n "checking for socket libraries... " >&6; }
14954 if ${libcc1_cv_lib_sockets+:} false
; then :
14955 $as_echo_n "(cached) " >&6
14957 libcc1_cv_lib_sockets
=
14958 libcc1_check_both
=no
14959 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14960 if test "x$ac_cv_func_connect" = xyes
; then :
14961 libcc1_check_socket
=no
14963 libcc1_check_socket
=yes
14966 if test "$libcc1_check_socket" = "yes"; then
14967 unset ac_cv_func_connect
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
14969 $as_echo_n "checking for main in -lsocket... " >&6; }
14970 if ${ac_cv_lib_socket_main+:} false
; then :
14971 $as_echo_n "(cached) " >&6
14973 ac_check_lib_save_LIBS
=$LIBS
14974 LIBS
="-lsocket $LIBS"
14975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14976 /* end confdefs.h. */
14987 if ac_fn_c_try_link
"$LINENO"; then :
14988 ac_cv_lib_socket_main
=yes
14990 ac_cv_lib_socket_main
=no
14992 rm -f core conftest.err conftest.
$ac_objext \
14993 conftest
$ac_exeext conftest.
$ac_ext
14994 LIBS
=$ac_check_lib_save_LIBS
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
14997 $as_echo "$ac_cv_lib_socket_main" >&6; }
14998 if test "x$ac_cv_lib_socket_main" = xyes
; then :
14999 libcc1_cv_lib_sockets
="-lsocket"
15001 libcc1_check_both
=yes
15005 if test "$libcc1_check_both" = "yes"; then
15006 libcc1_old_libs
=$LIBS
15007 LIBS
="$LIBS -lsocket -lnsl"
15008 unset ac_cv_func_accept
15009 ac_fn_c_check_func
"$LINENO" "accept" "ac_cv_func_accept"
15010 if test "x$ac_cv_func_accept" = xyes
; then :
15011 libcc1_check_nsl
=no
15012 libcc1_cv_lib_sockets
="-lsocket -lnsl"
15015 unset ac_cv_func_accept
15016 LIBS
=$libcc1_old_libs
15018 unset ac_cv_func_gethostbyname
15019 libcc1_old_libs
="$LIBS"
15020 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
15021 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
15025 $as_echo_n "checking for main in -lnsl... " >&6; }
15026 if ${ac_cv_lib_nsl_main+:} false
; then :
15027 $as_echo_n "(cached) " >&6
15029 ac_check_lib_save_LIBS
=$LIBS
15031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15032 /* end confdefs.h. */
15043 if ac_fn_c_try_link
"$LINENO"; then :
15044 ac_cv_lib_nsl_main
=yes
15046 ac_cv_lib_nsl_main
=no
15048 rm -f core conftest.err conftest.
$ac_objext \
15049 conftest
$ac_exeext conftest.
$ac_ext
15050 LIBS
=$ac_check_lib_save_LIBS
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
15053 $as_echo "$ac_cv_lib_nsl_main" >&6; }
15054 if test "x$ac_cv_lib_nsl_main" = xyes
; then :
15055 libcc1_cv_lib_sockets
="$libcc1_cv_lib_sockets -lnsl"
15060 unset ac_cv_func_gethostbyname
15061 LIBS
=$libcc1_old_libs
15064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libcc1_cv_lib_sockets" >&5
15065 $as_echo "$libcc1_cv_lib_sockets" >&6; }
15066 LIBS
="$LIBS $libcc1_cv_lib_sockets"
15069 *-*-darwin*) darwin_dynamic_lookup
=yes ;;
15070 *) darwin_dynamic_lookup
=no
;;
15072 if test $darwin_dynamic_lookup = yes; then
15073 DARWIN_DYNAMIC_LOOKUP_TRUE
=
15074 DARWIN_DYNAMIC_LOOKUP_FALSE
='#'
15076 DARWIN_DYNAMIC_LOOKUP_TRUE
='#'
15077 DARWIN_DYNAMIC_LOOKUP_FALSE
=
15081 # If any of these functions are missing, simply don't bother building
15083 # Check for plugin support
15084 # Check whether --enable-plugin was given.
15085 if test "${enable_plugin+set}" = set; then :
15086 enableval
=$enable_plugin; enable_plugin
=$enableval
15088 enable_plugin
=yes; default_plugin
=yes
15097 # Since plugin support under MinGW is not as straightforward as on
15098 # other platforms (e.g., we have to link import library, etc), we
15099 # only enable it if explicitly requested.
15100 if test x
"$default_plugin" = x
"yes"; then
15102 elif test x
"$enable_plugin" = x
"yes"; then
15103 # Use make's target variable to derive import library name.
15104 pluginlibs
='-Wl,--export-all-symbols -Wl,--out-implib=$@.a'
15109 if test x
$build = x
$host; then
15110 export_sym_check
="nm${exeext} -g"
15111 elif test x
$host = x
$target; then
15112 export_sym_check
="$gcc_cv_nm -g"
15118 if test x
$build = x
$host; then
15119 export_sym_check
="$ac_cv_prog_OBJDUMP -T"
15120 elif test x
$host = x
$target; then
15121 export_sym_check
="$gcc_cv_objdump -T"
15123 export_sym_check
="$ac_cv_prog_OBJDUMP -T"
15128 if test x
"$enable_plugin" = x
"yes" -a x
"$plugin_check" = x
"yes"; then
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exported symbols" >&5
15131 $as_echo_n "checking for exported symbols... " >&6; }
15132 if test "x$export_sym_check" != x
; then
15133 echo "int main() {return 0;} int foobar() {return 0;}" > conftest.c
15134 ${CC} ${CFLAGS} ${LDFLAGS} conftest.c
-o conftest
$ac_exeext > /dev
/null
2>&1
15135 if $export_sym_check conftest
$ac_exeext |
grep foobar
> /dev
/null
; then
15136 : # No need to use a flag
15137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15138 $as_echo "yes" >&6; }
15140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15141 $as_echo "yes" >&6; }
15142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -rdynamic" >&5
15143 $as_echo_n "checking for -rdynamic... " >&6; }
15144 ${CC} ${CFLAGS} ${LDFLAGS} -rdynamic conftest.c
-o conftest
$ac_exeext > /dev
/null
2>&1
15145 if $export_sym_check conftest
$ac_exeext |
grep foobar
> /dev
/null
; then
15146 plugin_rdynamic
=yes
15147 pluginlibs
="-rdynamic"
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $plugin_rdynamic" >&5
15153 $as_echo "$plugin_rdynamic" >&6; }
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unable to check" >&5
15157 $as_echo "unable to check" >&6; }
15162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
15163 $as_echo_n "checking for library containing dlopen... " >&6; }
15164 if ${ac_cv_search_dlopen+:} false
; then :
15165 $as_echo_n "(cached) " >&6
15167 ac_func_search_save_LIBS
=$LIBS
15168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15169 /* end confdefs.h. */
15171 /* Override any GCC internal prototype to avoid an error.
15172 Use char because int might match the return type of a GCC
15173 builtin and then its argument prototype would still apply. */
15186 for ac_lib
in '' dl
; do
15187 if test -z "$ac_lib"; then
15188 ac_res
="none required"
15191 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15193 if ac_fn_c_try_link
"$LINENO"; then :
15194 ac_cv_search_dlopen
=$ac_res
15196 rm -f core conftest.err conftest.
$ac_objext \
15198 if ${ac_cv_search_dlopen+:} false
; then :
15202 if ${ac_cv_search_dlopen+:} false
; then :
15205 ac_cv_search_dlopen
=no
15207 rm conftest.
$ac_ext
15208 LIBS
=$ac_func_search_save_LIBS
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
15211 $as_echo "$ac_cv_search_dlopen" >&6; }
15212 ac_res
=$ac_cv_search_dlopen
15213 if test "$ac_res" != no
; then :
15214 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15218 if test x
"$ac_cv_search_dlopen" = x
"-ldl"; then
15219 pluginlibs
="$pluginlibs -ldl"
15223 # Check that we can build shared objects with -fPIC -shared
15224 saved_LDFLAGS
="$LDFLAGS"
15225 saved_CFLAGS
="$CFLAGS"
15226 saved_CXXFLAGS
="$CXXFLAGS"
15229 CFLAGS
=`echo $CFLAGS | sed s/-mdynamic-no-pic//g`
15230 CFLAGS
="$CFLAGS -fPIC"
15231 CXXFLAGS
=`echo $CXXFLAGS | sed s/-mdynamic-no-pic//g`
15232 CXXFLAGS
="$CXXFLAGS -fPIC"
15233 LDFLAGS
="$LDFLAGS -shared -undefined dynamic_lookup"
15236 CFLAGS
="$CFLAGS -fPIC"
15237 CXXFLAGS
="$CXXFLAGS -fPIC"
15238 LDFLAGS
="$LDFLAGS -fPIC -shared"
15241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fPIC -shared" >&5
15242 $as_echo_n "checking for -fPIC -shared... " >&6; }
15243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15244 /* end confdefs.h. */
15254 if ac_fn_c_try_link
"$LINENO"; then :
15255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15256 $as_echo "yes" >&6; }; have_pic_shared
=yes
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15259 $as_echo "no" >&6; }; have_pic_shared
=no
15261 rm -f core conftest.err conftest.
$ac_objext \
15262 conftest
$ac_exeext conftest.
$ac_ext
15263 if test x
"$have_pic_shared" != x
"yes" -o x
"$ac_cv_search_dlopen" = x
"no"; then
15267 LDFLAGS
="$saved_LDFLAGS"
15268 CFLAGS
="$saved_CFLAGS"
15269 CXXFLAGS
="$saved_CXXFLAGS"
15271 # If plugin support had been requested but not available, fail.
15272 if test x
"$enable_plugin" = x
"no" ; then
15273 if test x
"$default_plugin" != x
"yes"; then
15275 Building GCC with plugin support requires a host that supports
15276 -fPIC, -shared, -ldl and -rdynamic." "$LINENO" 5
15281 ac_fn_c_check_func
"$LINENO" "socketpair" "ac_cv_func_socketpair"
15282 if test "x$ac_cv_func_socketpair" = xyes
; then :
15288 ac_fn_c_check_func
"$LINENO" "select" "ac_cv_func_select"
15289 if test "x$ac_cv_func_select" = xyes
; then :
15295 ac_fn_c_check_func
"$LINENO" "fork" "ac_cv_func_fork"
15296 if test "x$ac_cv_func_fork" = xyes
; then :
15302 if test $enable_plugin = yes; then
15303 ENABLE_PLUGIN_TRUE
=
15304 ENABLE_PLUGIN_FALSE
='#'
15306 ENABLE_PLUGIN_TRUE
='#'
15307 ENABLE_PLUGIN_FALSE
=
15311 ac_config_files
="$ac_config_files Makefile"
15313 cat >confcache
<<\_ACEOF
15314 # This file is a shell script that caches the results of configure
15315 # tests run on this system so they can be shared between configure
15316 # scripts and configure runs, see configure's option --config-cache.
15317 # It is not useful on other systems. If it contains results you don't
15318 # want to keep, you may remove or edit it.
15320 # config.status only pays attention to the cache file if you give it
15321 # the --recheck option to rerun configure.
15323 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15324 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15325 # following values.
15329 # The following way of writing the cache mishandles newlines in values,
15330 # but we know of no workaround that is simple, portable, and efficient.
15331 # So, we kill variables containing newlines.
15332 # Ultrix sh set writes to stderr and can't be redirected directly,
15333 # and sets the high bit in the cache file unless we assign to the vars.
15335 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15336 eval ac_val
=\$
$ac_var
15340 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15341 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15344 _ | IFS | as_nl
) ;; #(
15345 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15346 *) { eval $ac_var=; unset $ac_var;} ;;
15352 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15353 *${as_nl}ac_space
=\
*)
15354 # `set' does not quote correctly, so add quotes: double-quote
15355 # substitution turns \\\\ into \\, and sed turns \\ into \.
15358 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15361 # `set' quotes correctly as required by POSIX, so do not add quotes.
15362 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15371 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15373 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15375 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15376 if test -w "$cache_file"; then
15377 if test "x$cache_file" != "x/dev/null"; then
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15379 $as_echo "$as_me: updating cache $cache_file" >&6;}
15380 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15381 cat confcache
>"$cache_file"
15383 case $cache_file in #(
15385 mv -f confcache
"$cache_file"$$
&&
15386 mv -f "$cache_file"$$
"$cache_file" ;; #(
15388 mv -f confcache
"$cache_file" ;;
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15394 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15399 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15400 # Let make expand exec_prefix.
15401 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15403 DEFS
=-DHAVE_CONFIG_H
15408 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15409 # 1. Remove the extension, and $U if already installed.
15410 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15411 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15412 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15413 # will be set to the directory where LIBOBJS objects are built.
15414 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15415 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15417 LIBOBJS
=$ac_libobjs
15419 LTLIBOBJS
=$ac_ltlibobjs
15422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15423 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15424 if test -n "$am_sleep_pid"; then
15425 # Hide warnings about reused PIDs.
15426 wait $am_sleep_pid 2>/dev
/null
15428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15429 $as_echo "done" >&6; }
15430 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15431 as_fn_error $?
"conditional \"AMDEP\" was never defined.
15432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15434 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15435 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
15436 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15438 if test -n "$EXEEXT"; then
15440 am__EXEEXT_FALSE
='#'
15442 am__EXEEXT_TRUE
='#'
15446 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15447 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
15448 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15450 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15451 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
15452 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15454 if test -z "${DARWIN_DYNAMIC_LOOKUP_TRUE}" && test -z "${DARWIN_DYNAMIC_LOOKUP_FALSE}"; then
15455 as_fn_error $?
"conditional \"DARWIN_DYNAMIC_LOOKUP\" was never defined.
15456 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15458 if test -z "${ENABLE_PLUGIN_TRUE}" && test -z "${ENABLE_PLUGIN_FALSE}"; then
15459 as_fn_error $?
"conditional \"ENABLE_PLUGIN\" was never defined.
15460 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15463 : "${CONFIG_STATUS=./config.status}"
15465 ac_clean_files_save
=$ac_clean_files
15466 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15468 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15470 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15472 # Generated by $as_me.
15473 # Run this file to recreate the current configuration.
15474 # Compiler output produced by configure, useful for debugging
15475 # configure, is in config.log if it exists.
15478 ac_cs_recheck=false
15481 SHELL=\${CONFIG_SHELL-$SHELL}
15484 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15485 ## -------------------- ##
15486 ## M4sh Initialization. ##
15487 ## -------------------- ##
15489 # Be more Bourne compatible
15490 DUALCASE
=1; export DUALCASE
# for MKS sh
15491 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15494 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15495 # is contrary to our usage. Disable this feature.
15496 alias -g '${1+"$@"}'='"$@"'
15497 setopt NO_GLOB_SUBST
15499 case `(set -o) 2>/dev/null` in #(
15511 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15512 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15513 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15514 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15515 # Prefer a ksh shell builtin over an external printf program on Solaris,
15516 # but without wasting forks for bash or zsh.
15517 if test -z "$BASH_VERSION$ZSH_VERSION" \
15518 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15519 as_echo='print
-r --'
15520 as_echo_n='print
-rn --'
15521 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15522 as_echo='printf %s
\n'
15523 as_echo_n='printf %s
'
15525 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15526 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15527 as_echo_n='/usr
/ucb
/echo -n'
15529 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15530 as_echo_n_body='eval
15534 expr "X$arg" : "X\\(.*\\)$as_nl";
15535 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15537 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15539 export as_echo_n_body
15540 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15542 export as_echo_body
15543 as_echo='sh
-c $as_echo_body as_echo
'
15546 # The user is always right.
15547 if test "${PATH_SEPARATOR+set}" != set; then
15549 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15550 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15557 # We need space, tab and new line, in precisely that order. Quoting is
15558 # there to prevent editors from complaining about space-tab.
15559 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15560 # splitting by setting IFS to empty value.)
15563 # Find who we are. Look in the path if we contain no directory separator.
15566 *[\\/]* ) as_myself=$0 ;;
15567 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15568 for as_dir in $PATH
15571 test -z "$as_dir" && as_dir=.
15572 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15578 # We did not find ourselves, most probably we were run as `sh COMMAND'
15579 # in which case we are not to be found in the path.
15580 if test "x$as_myself" = x
; then
15583 if test ! -f "$as_myself"; then
15584 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15588 # Unset variables that we do not need and which cause bugs (e.g. in
15589 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15590 # suppresses any "Segmentation fault" message there. '((' could
15591 # trigger a bug in pdksh 5.2.14.
15592 for as_var
in BASH_ENV ENV MAIL MAILPATH
15593 do eval test x\
${$as_var+set} = xset \
15594 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15607 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15610 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15611 # ----------------------------------------
15612 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15613 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15614 # script with STATUS, using 1 if that was 0.
15617 as_status
=$1; test $as_status -eq 0 && as_status
=1
15619 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15620 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15622 $as_echo "$as_me: error: $2" >&2
15623 as_fn_exit
$as_status
15627 # as_fn_set_status STATUS
15628 # -----------------------
15629 # Set $? to STATUS, without forking.
15630 as_fn_set_status
()
15633 } # as_fn_set_status
15635 # as_fn_exit STATUS
15636 # -----------------
15637 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15641 as_fn_set_status
$1
15647 # Portably unset VAR.
15650 { eval $1=; unset $1;}
15652 as_unset
=as_fn_unset
15653 # as_fn_append VAR VALUE
15654 # ----------------------
15655 # Append the text in VALUE to the end of the definition contained in VAR. Take
15656 # advantage of any shell optimizations that allow amortized linear growth over
15657 # repeated appends, instead of the typical quadratic growth present in naive
15659 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15660 eval 'as_fn_append ()
15671 # as_fn_arith ARG...
15672 # ------------------
15673 # Perform arithmetic evaluation on the ARGs, and store the result in the
15674 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15675 # must be portable across $(()) and expr.
15676 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15677 eval 'as_fn_arith ()
15684 as_val
=`expr "$@" || test $? -eq 1`
15689 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15690 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15696 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15697 as_basename
=basename
15702 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15708 as_me
=`$as_basename -- "$0" ||
15709 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15710 X"$0" : 'X\(//\)$' \| \
15711 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15713 sed '/^.*\/\([^/][^/]*\)\/*$/{
15727 # Avoid depending upon Character Ranges.
15728 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15729 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15730 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15731 as_cr_digits
='0123456789'
15732 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15734 ECHO_C
= ECHO_N
= ECHO_T
=
15735 case `echo -n x` in #(((((
15737 case `echo 'xy\c'` in
15738 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15740 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15747 rm -f conf$$ conf$$.exe conf$$.
file
15748 if test -d conf$$.dir
; then
15749 rm -f conf$$.dir
/conf$$.
file
15752 mkdir conf$$.dir
2>/dev
/null
15754 if (echo >conf$$.
file) 2>/dev
/null
; then
15755 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15757 # ... but there are two gotchas:
15758 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15759 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15760 # In both cases, we have to default to `cp -pR'.
15761 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15763 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15771 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15772 rmdir conf$$.dir
2>/dev
/null
15777 # Create "$as_dir" as a directory, including parents if necessary.
15782 -*) as_dir
=.
/$as_dir;;
15784 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15788 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15789 *) as_qdir
=$as_dir;;
15791 as_dirs
="'$as_qdir' $as_dirs"
15792 as_dir
=`$as_dirname -- "$as_dir" ||
15793 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15794 X"$as_dir" : 'X\(//\)[^/]' \| \
15795 X"$as_dir" : 'X\(//\)$' \| \
15796 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15797 $as_echo X"$as_dir" |
15798 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15802 /^X\(\/\/\)[^/].*/{
15815 test -d "$as_dir" && break
15817 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15818 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15822 if mkdir
-p .
2>/dev
/null
; then
15823 as_mkdir_p
='mkdir -p "$as_dir"'
15825 test -d .
/-p && rmdir .
/-p
15830 # as_fn_executable_p FILE
15831 # -----------------------
15832 # Test if FILE is an executable regular file.
15833 as_fn_executable_p
()
15835 test -f "$1" && test -x "$1"
15836 } # as_fn_executable_p
15837 as_test_x
='test -x'
15838 as_executable_p
=as_fn_executable_p
15840 # Sed expression to map a string onto a valid CPP name.
15841 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15843 # Sed expression to map a string onto a valid variable name.
15844 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15848 ## ----------------------------------- ##
15849 ## Main body of $CONFIG_STATUS script. ##
15850 ## ----------------------------------- ##
15852 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15854 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15855 # Save the log message, to keep $0 and so on meaningful, and to
15856 # report actual input values of CONFIG_FILES etc. instead of their
15857 # values after options handling.
15859 This file was extended by libcc1 $as_me version-unused, which was
15860 generated by GNU Autoconf 2.69. Invocation command line was
15862 CONFIG_FILES = $CONFIG_FILES
15863 CONFIG_HEADERS = $CONFIG_HEADERS
15864 CONFIG_LINKS = $CONFIG_LINKS
15865 CONFIG_COMMANDS = $CONFIG_COMMANDS
15868 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15873 case $ac_config_files in *"
15874 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15877 case $ac_config_headers in *"
15878 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15882 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15883 # Files that config.status was made for.
15884 config_files="$ac_config_files"
15885 config_headers="$ac_config_headers"
15886 config_commands="$ac_config_commands"
15890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15892 \`$as_me' instantiates files and other configuration actions
15893 from templates according to the current configuration. Unless the files
15894 and actions are specified as TAGs, all are instantiated by default.
15896 Usage: $0 [OPTION]... [TAG]...
15898 -h, --help print this help, then exit
15899 -V, --version print version number and configuration settings, then exit
15900 --config print configuration, then exit
15901 -q, --quiet, --silent
15902 do not print progress messages
15903 -d, --debug don't remove temporary files
15904 --recheck update $as_me by reconfiguring in the same conditions
15905 --file=FILE[:TEMPLATE]
15906 instantiate the configuration file FILE
15907 --header=FILE[:TEMPLATE]
15908 instantiate the configuration header FILE
15910 Configuration files:
15913 Configuration headers:
15916 Configuration commands:
15919 Report bugs to the package provider."
15922 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15923 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15925 libcc1 config.status version-unused
15926 configured by $0, generated by GNU Autoconf 2.69,
15927 with options \\"\$ac_cs_config\\"
15929 Copyright (C) 2012 Free Software Foundation, Inc.
15930 This config.status script is free software; the Free Software Foundation
15931 gives unlimited permission to copy, distribute and modify it."
15938 test -n "\$AWK" || AWK=awk
15941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15942 # The default lists apply if the user does not specify any file.
15948 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15949 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15953 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15965 # Handling of the options.
15966 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15968 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15969 $as_echo "$ac_cs_version"; exit ;;
15970 --config |
--confi |
--conf |
--con |
--co |
--c )
15971 $as_echo "$ac_cs_config"; exit ;;
15972 --debug |
--debu |
--deb |
--de |
--d |
-d )
15974 --file |
--fil |
--fi |
--f )
15977 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15978 '') as_fn_error $?
"missing file argument" ;;
15980 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15981 ac_need_defaults
=false
;;
15982 --header |
--heade |
--head |
--hea )
15985 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15987 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15988 ac_need_defaults
=false
;;
15990 # Conflict between --help and --header
15991 as_fn_error $?
"ambiguous option: \`$1'
15992 Try \`$0 --help' for more information.";;
15993 --help |
--hel |
-h )
15994 $as_echo "$ac_cs_usage"; exit ;;
15995 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15996 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15999 # This is an error.
16000 -*) as_fn_error $?
"unrecognized option: \`$1'
16001 Try \`$0 --help' for more information." ;;
16003 *) as_fn_append ac_config_targets
" $1"
16004 ac_need_defaults
=false
;;
16010 ac_configure_extra_args
=
16012 if $ac_cs_silent; then
16014 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16018 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16019 if \$ac_cs_recheck; then
16020 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16022 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16023 CONFIG_SHELL='$SHELL'
16024 export CONFIG_SHELL
16029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16033 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16034 ## Running $as_me. ##
16040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16044 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16047 # The HP-UX ksh and POSIX shell print the target directory to stdout
16048 # if CDPATH is set.
16049 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16051 sed_quote_subst='$sed_quote_subst'
16052 double_quote_subst='$double_quote_subst'
16053 delay_variable_subst='$delay_variable_subst'
16054 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16055 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16056 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16057 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16058 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16059 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16060 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16061 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16062 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16063 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16064 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16065 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16066 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16067 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16068 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16069 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16070 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16071 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16072 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16073 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16074 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16075 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16076 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16077 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16078 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16079 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16080 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16081 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16082 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16083 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16084 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16085 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16086 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16087 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16088 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16089 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16090 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16091 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16092 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16093 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16094 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16095 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16096 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16097 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16098 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16099 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16100 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16101 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16102 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"`'
16103 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16104 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16105 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16106 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16107 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16108 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16109 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16110 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16111 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16112 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16113 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16114 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16115 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16116 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16117 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16118 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16119 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16120 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16121 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16122 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16123 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16124 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16125 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16126 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16127 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16128 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16129 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16130 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16131 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16132 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16133 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16134 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16135 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16136 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16137 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16138 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16139 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16140 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16141 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16142 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16143 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16144 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16145 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16146 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16147 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16148 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16149 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16150 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16151 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16152 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16153 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16154 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16155 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16156 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16157 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16158 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16159 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16160 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16161 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16162 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16163 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16164 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16165 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16166 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16167 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16168 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16169 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16170 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16171 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16172 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16173 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16174 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
16175 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
16176 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
16177 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
16178 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
16179 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
16180 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
16181 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
16182 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16183 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16184 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
16185 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
16186 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
16187 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
16188 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
16189 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
16190 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
16191 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
16192 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
16193 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16194 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16195 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
16196 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16197 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16198 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16199 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16200 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16201 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16202 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
16203 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16204 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16205 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16206 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
16207 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
16208 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
16209 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
16210 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
16211 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
16212 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
16213 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
16214 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
16215 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
16216 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
16217 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16218 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16219 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16220 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16221 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
16222 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
16223 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
16224 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16225 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16226 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
16227 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
16228 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
16231 LTCFLAGS='$LTCFLAGS'
16232 compiler='$compiler_DEFAULT'
16234 # A function that is used when there is no print builtin or printf.
16235 func_fallback_echo ()
16237 eval 'cat <<_LTECHO_EOF
16242 # Quote evaled strings.
16256 deplibs_check_method \
16265 lt_cv_sys_global_symbol_pipe \
16266 lt_cv_sys_global_symbol_to_cdecl \
16267 lt_cv_sys_global_symbol_to_c_name_address \
16268 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16269 lt_prog_compiler_no_builtin_flag \
16270 lt_prog_compiler_wl \
16271 lt_prog_compiler_pic \
16272 lt_prog_compiler_static \
16273 lt_cv_prog_compiler_c_o \
16281 export_dynamic_flag_spec \
16282 whole_archive_flag_spec \
16283 compiler_needs_object \
16285 allow_undefined_flag \
16286 no_undefined_flag \
16287 hardcode_libdir_flag_spec \
16288 hardcode_libdir_flag_spec_ld \
16289 hardcode_libdir_separator \
16294 variables_saved_for_relink \
16296 library_names_spec \
16298 install_override_mode \
16302 compiler_lib_search_dirs \
16307 compiler_lib_search_path \
16311 lt_prog_compiler_no_builtin_flag_CXX \
16312 lt_prog_compiler_wl_CXX \
16313 lt_prog_compiler_pic_CXX \
16314 lt_prog_compiler_static_CXX \
16315 lt_cv_prog_compiler_c_o_CXX \
16316 export_dynamic_flag_spec_CXX \
16317 whole_archive_flag_spec_CXX \
16318 compiler_needs_object_CXX \
16320 allow_undefined_flag_CXX \
16321 no_undefined_flag_CXX \
16322 hardcode_libdir_flag_spec_CXX \
16323 hardcode_libdir_flag_spec_ld_CXX \
16324 hardcode_libdir_separator_CXX \
16325 fix_srcfile_path_CXX \
16326 exclude_expsyms_CXX \
16327 include_expsyms_CXX \
16328 file_list_spec_CXX \
16329 compiler_lib_search_dirs_CXX \
16330 predep_objects_CXX \
16331 postdep_objects_CXX \
16334 compiler_lib_search_path_CXX; do
16335 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16336 *[\\\\\\\`\\"\\\$]*)
16337 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16340 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16345 # Double-quote double-evaled strings.
16346 for var in reload_cmds \
16347 old_postinstall_cmds \
16348 old_postuninstall_cmds \
16350 extract_expsyms_cmds \
16351 old_archive_from_new_cmds \
16352 old_archive_from_expsyms_cmds \
16354 archive_expsym_cmds \
16356 module_expsym_cmds \
16357 export_symbols_cmds \
16360 postuninstall_cmds \
16362 sys_lib_search_path_spec \
16363 sys_lib_dlsearch_path_spec \
16365 old_archive_cmds_CXX \
16366 old_archive_from_new_cmds_CXX \
16367 old_archive_from_expsyms_cmds_CXX \
16369 archive_expsym_cmds_CXX \
16371 module_expsym_cmds_CXX \
16372 export_symbols_cmds_CXX \
16373 prelink_cmds_CXX; do
16374 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16375 *[\\\\\\\`\\"\\\$]*)
16376 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16379 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16384 ac_aux_dir='$ac_aux_dir'
16385 xsi_shell='$xsi_shell'
16386 lt_shell_append='$lt_shell_append'
16388 # See if we are running on zsh, and set the options which allow our
16389 # commands through without removal of \ escapes INIT.
16390 if test -n "\${ZSH_VERSION+set}" ; then
16391 setopt NO_GLOB_SUBST
16397 TIMESTAMP='$TIMESTAMP'
16408 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16410 # Handling of arguments.
16411 for ac_config_target
in $ac_config_targets
16413 case $ac_config_target in
16414 "cc1plugin-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS cc1plugin-config.h" ;;
16415 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16416 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16417 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16419 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16424 # If the user did not use the arguments to specify the items to instantiate,
16425 # then the envvar interface is used. Set only those that are not.
16426 # We use the long form for the default assignment because of an extremely
16427 # bizarre bug on SunOS 4.1.3.
16428 if $ac_need_defaults; then
16429 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16430 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16431 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16434 # Have a temporary directory for convenience. Make it in the build tree
16435 # simply because there is no reason against having it here, and in addition,
16436 # creating and moving files from /tmp can sometimes cause problems.
16437 # Hook for its removal unless debugging.
16438 # Note that there is a small window in which the directory will not be cleaned:
16439 # after its creation but before its name has been assigned to `$tmp'.
16443 trap 'exit_status=$?
16444 : "${ac_tmp:=$tmp}"
16445 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16447 trap 'as_fn_exit 1' 1 2 13 15
16449 # Create a (secure) tmp directory for tmp files.
16452 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16456 tmp
=.
/conf$$
-$RANDOM
16457 (umask 077 && mkdir
"$tmp")
16458 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16461 # Set up the scripts for CONFIG_FILES section.
16462 # No need to generate them if there are no CONFIG_FILES.
16463 # This happens for instance with `./config.status config.h'.
16464 if test -n "$CONFIG_FILES"; then
16467 ac_cr
=`echo X | tr X '\015'`
16468 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16469 # But we know of no other shell where ac_cr would be empty at this
16470 # point, so we can use a bashism as a fallback.
16471 if test "x$ac_cr" = x
; then
16472 eval ac_cr
=\$
\'\\r
\'
16474 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16475 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16478 ac_cs_awk_cr
=$ac_cr
16481 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16486 echo "cat >conf$$subs.awk <<_ACEOF" &&
16487 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16489 } >conf$$subs.sh ||
16490 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16491 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16493 for ac_last_try in false false false false false :; do
16494 . ./conf$$subs.sh ||
16495 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16497 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16498 if test $ac_delim_n = $ac_delim_num; then
16500 elif $ac_last_try; then
16501 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16503 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16506 rm -f conf$$subs.sh
16508 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16509 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16513 s/^/S["/; s
/!.
*/"]=/
16523 s/\(.\{148\}\)..*/\1/
16525 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16530 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16537 s/\(.\{148\}\)..*/\1/
16539 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16543 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16548 ' <conf$$subs.awk | sed '
16553 ' >>$CONFIG_STATUS || ac_write_fail=1
16554 rm -f conf$$subs.awk
16555 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16557 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16558 for (key in S) S_is_set[key] = 1
16564 nfields = split(line, field, "@
")
16566 len = length(field[1])
16567 for (i = 2; i < nfields; i++) {
16569 keylen = length(key)
16570 if (S_is_set[key]) {
16572 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16573 len += length(value) + length(field[++i])
16584 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16585 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16586 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16589 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16590 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16593 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16594 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16595 # trailing colons and then remove the whole line if VPATH becomes empty
16596 # (actually we leave an empty line to preserve line numbers).
16597 if test "x
$srcdir" = x.; then
16598 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16616 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16617 fi # test -n "$CONFIG_FILES"
16619 # Set up the scripts for CONFIG_HEADERS section.
16620 # No need to generate them if there are no CONFIG_HEADERS.
16621 # This happens for instance with `./config.status Makefile'.
16622 if test -n "$CONFIG_HEADERS"; then
16623 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16627 # Transform confdefs.h into an awk script `defines.awk', embedded as
16628 # here-document in config.status, that substitutes the proper values into
16629 # config.h.in to produce config.h.
16631 # Create a delimiter string that does not exist in confdefs.h, to ease
16632 # handling of long lines.
16634 for ac_last_try in false false :; do
16635 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16636 if test -z "$ac_tt"; then
16638 elif $ac_last_try; then
16639 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16641 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16645 # For the awk script, D is an array of macro values keyed by name,
16646 # likewise P contains macro parameters if any. Preserve backslash
16647 # newline sequences.
16649 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16651 s/.\{148\}/&'"$ac_delim"'/g
16654 s/^[ ]*#[ ]*define[ ][ ]*/ /
16661 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16663 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16667 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16668 D["\
1"]=" \
3\\\\\\n
"\\/p
16670 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16675 s/.\{148\}/&'"$ac_delim"'/g
16680 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16683 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16685 ' <confdefs.h | sed '
16686 s/'"$ac_delim"'/"\\\
16687 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16689 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16690 for (key in D) D_is_set[key] = 1
16693 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16695 split(line, arg, " ")
16696 if (arg[1] == "#") {
16700 defundef
= substr
(arg
[1], 2)
16703 split(mac1
, mac2
, "(") #)
16705 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16706 if (D_is_set
[macro
]) {
16707 # Preserve the white space surrounding the "#".
16708 print prefix
"define", macro P
[macro
] D
[macro
]
16711 # Replace #undef with comments. This is necessary, for example,
16712 # in the case of _POSIX_SOURCE, which is predefined and required
16713 # on some systems where configure will not decide to define it.
16714 if (defundef
== "undef") {
16715 print
"/*", prefix defundef
, macro
, "*/"
16723 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16724 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16725 fi # test -n "$CONFIG_HEADERS"
16728 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16733 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16735 case $ac_mode$ac_tag in
16737 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16738 :[FH
]-) ac_tag
=-:-;;
16739 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16756 -) ac_f
="$ac_tmp/stdin";;
16757 *) # Look for the file first in the build tree, then in the source tree
16758 # (if the path is not absolute). The absolute path cannot be DOS-style,
16759 # because $ac_f cannot contain `:'.
16763 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16765 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16767 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16768 as_fn_append ac_file_inputs
" '$ac_f'"
16771 # Let's still pretend it is `configure' which instantiates (i.e., don't
16772 # use $as_me), people would be surprised to read:
16773 # /* config.h. Generated by config.status. */
16774 configure_input
='Generated from '`
16775 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16777 if test x
"$ac_file" != x-
; then
16778 configure_input
="$ac_file. $configure_input"
16779 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16780 $as_echo "$as_me: creating $ac_file" >&6;}
16782 # Neutralize special characters interpreted by sed in replacement strings.
16783 case $configure_input in #(
16784 *\
&* |
*\|
* |
*\\* )
16785 ac_sed_conf_input
=`$as_echo "$configure_input" |
16786 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16787 *) ac_sed_conf_input
=$configure_input;;
16791 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16792 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16797 ac_dir
=`$as_dirname -- "$ac_file" ||
16798 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16799 X"$ac_file" : 'X\(//\)[^/]' \| \
16800 X"$ac_file" : 'X\(//\)$' \| \
16801 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16802 $as_echo X"$ac_file" |
16803 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16807 /^X\(\/\/\)[^/].*/{
16820 as_dir
="$ac_dir"; as_fn_mkdir_p
16824 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16826 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16827 # A ".." for each directory in $ac_dir_suffix.
16828 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16829 case $ac_top_builddir_sub in
16830 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16831 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16834 ac_abs_top_builddir
=$ac_pwd
16835 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16836 # for backward compatibility:
16837 ac_top_builddir
=$ac_top_build_prefix
16840 .
) # We are building in place.
16842 ac_top_srcdir
=$ac_top_builddir_sub
16843 ac_abs_top_srcdir
=$ac_pwd ;;
16844 [\\/]* | ?
:[\\/]* ) # Absolute name.
16845 ac_srcdir
=$srcdir$ac_dir_suffix;
16846 ac_top_srcdir
=$srcdir
16847 ac_abs_top_srcdir
=$srcdir ;;
16848 *) # Relative name.
16849 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16850 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16851 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16853 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16863 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16864 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16866 ac_MKDIR_P
=$MKDIR_P
16868 [\\/$
]* | ?
:[\\/]* ) ;;
16869 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16873 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16874 # If the template does not know about datarootdir, expand it.
16875 # FIXME: This hack should be removed a few years after 2.60.
16876 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16887 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16888 *datarootdir
*) ac_datarootdir_seen
=yes;;
16889 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16891 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16893 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16894 ac_datarootdir_hack='
16895 s&@datadir@&$datadir&g
16896 s&@docdir@&$docdir&g
16897 s&@infodir@&$infodir&g
16898 s&@localedir@&$localedir&g
16899 s&@mandir@&$mandir&g
16900 s&\\\${datarootdir}&$datarootdir&g' ;;
16904 # Neutralize VPATH when `$srcdir' = `.'.
16905 # Shell code in configure.ac might set extrasub.
16906 # FIXME: do we really want to maintain this feature?
16907 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16908 ac_sed_extra="$ac_vpsub
16911 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16913 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16914 s|@configure_input@|
$ac_sed_conf_input|
;t t
16915 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16916 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16917 s
&@srcdir@
&$ac_srcdir&;t t
16918 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16919 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16920 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16921 s
&@builddir@
&$ac_builddir&;t t
16922 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16923 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16924 s
&@INSTALL@
&$ac_INSTALL&;t t
16925 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16926 $ac_datarootdir_hack
16928 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16929 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16931 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16932 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16933 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16934 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16936 which seems to be undefined. Please make sure it is defined" >&5
16937 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16938 which seems to be undefined. Please make sure it is defined" >&2;}
16940 rm -f "$ac_tmp/stdin"
16942 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16943 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16945 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16951 if test x"$ac_file" != x-; then
16953 $as_echo "/* $configure_input */" \
16954 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16955 } >"$ac_tmp/config.h" \
16956 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16957 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16958 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16959 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16962 mv "$ac_tmp/config.h" "$ac_file" \
16963 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16966 $as_echo "/* $configure_input */" \
16967 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16968 || as_fn_error $? "could not create -" "$LINENO" 5
16970 # Compute "$ac_file"'s index
in $config_headers.
16973 for _am_header
in $config_headers :; do
16974 case $_am_header in
16975 $_am_arg |
$_am_arg:* )
16978 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16981 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16982 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16983 X"$_am_arg" : 'X\(//\)[^/]' \| \
16984 X"$_am_arg" : 'X\(//\)$' \| \
16985 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16986 $as_echo X"$_am_arg" |
16987 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16991 /^X\(\/\/\)[^/].*/{
17003 s/.*/./; q'`/stamp-h
$_am_stamp_count
17006 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17007 $as_echo "$as_me: executing $ac_file commands" >&6;}
17012 case $ac_file$ac_mode in
17013 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
17014 # Older Autoconf quotes --file arguments for eval, but not when files
17015 # are listed without --file. Let's play safe and only enable the eval
17016 # if we detect the quoting.
17017 case $CONFIG_FILES in
17018 *\'*) eval set x
"$CONFIG_FILES" ;;
17019 *) set x
$CONFIG_FILES ;;
17024 # Strip MF so we end up with the name of the file.
17025 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17026 # Check whether this is an Automake generated Makefile or not.
17027 # We used to match only the files named 'Makefile.in', but
17028 # some people rename them; so instead we look at the file content.
17029 # Grep'ing the first line is not enough: some people post-process
17030 # each Makefile.in and add a new line on top of each file to say so.
17031 # Grep'ing the whole file is not good either: AIX grep has a line
17032 # limit of 2048, but all sed's we know have understand at least 4000.
17033 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17034 dirpart
=`$as_dirname -- "$mf" ||
17035 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17036 X"$mf" : 'X\(//\)[^/]' \| \
17037 X"$mf" : 'X\(//\)$' \| \
17038 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17040 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17044 /^X\(\/\/\)[^/].*/{
17060 # Extract the definition of DEPDIR, am__include, and am__quote
17061 # from the Makefile without running 'make'.
17062 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17063 test -z "$DEPDIR" && continue
17064 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17065 test -z "$am__include" && continue
17066 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17067 # Find all dependency output files, they are included files with
17068 # $(DEPDIR) in their names. We invoke sed twice because it is the
17069 # simplest approach to changing $(DEPDIR) to its actual value in the
17071 for file in `sed -n "
17072 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17073 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17074 # Make sure the directory exists.
17075 test -f "$dirpart/$file" && continue
17076 fdir
=`$as_dirname -- "$file" ||
17077 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17078 X"$file" : 'X\(//\)[^/]' \| \
17079 X"$file" : 'X\(//\)$' \| \
17080 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17081 $as_echo X"$file" |
17082 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17086 /^X\(\/\/\)[^/].*/{
17099 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17100 # echo "creating $dirpart/$file"
17101 echo '# dummy' > "$dirpart/$file"
17108 # See if we are running on zsh, and set the options which allow our
17109 # commands through without removal of \ escapes.
17110 if test -n "${ZSH_VERSION+set}" ; then
17111 setopt NO_GLOB_SUBST
17114 cfgfile
="${ofile}T"
17115 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17118 cat <<_LT_EOF >> "$cfgfile"
17121 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17122 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17123 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17124 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17126 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17127 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17128 # Written by Gordon Matzigkeit, 1996
17130 # This file is part of GNU Libtool.
17132 # GNU Libtool is free software; you can redistribute it and/or
17133 # modify it under the terms of the GNU General Public License as
17134 # published by the Free Software Foundation; either version 2 of
17135 # the License, or (at your option) any later version.
17137 # As a special exception to the GNU General Public License,
17138 # if you distribute this file as part of a program or library that
17139 # is built using GNU Libtool, you may include this file under the
17140 # same distribution terms that you use for the rest of that program.
17142 # GNU Libtool is distributed in the hope that it will be useful,
17143 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17144 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17145 # GNU General Public License for more details.
17147 # You should have received a copy of the GNU General Public License
17148 # along with GNU Libtool; see the file COPYING. If not, a copy
17149 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17150 # obtained by writing to the Free Software Foundation, Inc.,
17151 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17154 # The names of the tagged configurations supported by this script.
17155 available_tags="CXX "
17157 # ### BEGIN LIBTOOL CONFIG
17159 # Which release of libtool.m4 was used?
17160 macro_version=$macro_version
17161 macro_revision=$macro_revision
17163 # Whether or not to build static libraries.
17164 build_old_libs=$enable_static
17166 # Whether or not to build shared libraries.
17167 build_libtool_libs=$enable_shared
17169 # What type of objects to build.
17172 # Whether or not to optimize for fast installation.
17173 fast_install=$enable_fast_install
17175 # Shell to use when invoking shell scripts.
17178 # An echo program that protects backslashes.
17182 host_alias=$host_alias
17186 # The build system.
17187 build_alias=$build_alias
17191 # A sed program that does not truncate output.
17194 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17195 Xsed="\$SED -e 1s/^X//"
17197 # A grep program that handles long lines.
17203 # A literal string matcher.
17206 # A BSD- or MS-compatible name lister.
17209 # Whether we need soft or hard links.
17212 # What is the maximum length of a command?
17213 max_cmd_len=$max_cmd_len
17215 # Object file suffix (normally "o").
17218 # Executable file suffix (normally "").
17221 # whether the shell understands "unset".
17224 # turn spaces into newlines.
17227 # turn newlines into spaces.
17230 # An object symbol dumper.
17231 OBJDUMP=$lt_OBJDUMP
17233 # Method to check whether dependent libraries are shared objects.
17234 deplibs_check_method=$lt_deplibs_check_method
17236 # Command to use when deplibs_check_method == "file_magic".
17237 file_magic_cmd=$lt_file_magic_cmd
17241 AR_FLAGS=$lt_AR_FLAGS
17243 # A symbol stripping program.
17246 # Commands used to install an old-style archive.
17248 old_postinstall_cmds=$lt_old_postinstall_cmds
17249 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17251 # Whether to use a lock for old archive extraction.
17252 lock_old_archive_extraction=$lock_old_archive_extraction
17257 # LTCC compiler flags.
17258 LTCFLAGS=$lt_CFLAGS
17260 # Take the output of nm and produce a listing of raw symbols and C names.
17261 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17263 # Transform the output of nm in a proper C declaration.
17264 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17266 # Transform the output of nm in a C name address pair.
17267 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17269 # Transform the output of nm in a C name address pair when lib prefix is needed.
17270 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17272 # The name of the directory that contains temporary libtool files.
17275 # Used to examine libraries when file_magic_cmd begins with "file".
17276 MAGIC_CMD=$MAGIC_CMD
17278 # Must we lock files when doing compilation?
17279 need_locks=$lt_need_locks
17281 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17282 DSYMUTIL=$lt_DSYMUTIL
17284 # Tool to change global to local symbols on Mac OS X.
17287 # Tool to manipulate fat objects and archives on Mac OS X.
17290 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17293 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17294 OTOOL64=$lt_OTOOL64
17296 # Old archive suffix (normally "a").
17299 # Shared library suffix (normally ".so").
17300 shrext_cmds=$lt_shrext_cmds
17302 # The commands to extract the exported symbol list from a shared archive.
17303 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17305 # Variables whose values should be saved in libtool wrapper scripts and
17306 # restored at link time.
17307 variables_saved_for_relink=$lt_variables_saved_for_relink
17309 # Do we need the "lib" prefix for modules?
17310 need_lib_prefix=$need_lib_prefix
17312 # Do we need a version for libraries?
17313 need_version=$need_version
17315 # Library versioning type.
17316 version_type=$version_type
17318 # Shared library runtime path variable.
17319 runpath_var=$runpath_var
17321 # Shared library path variable.
17322 shlibpath_var=$shlibpath_var
17324 # Is shlibpath searched before the hard-coded library search path?
17325 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17327 # Format of library name prefix.
17328 libname_spec=$lt_libname_spec
17330 # List of archive names. First name is the real one, the rest are links.
17331 # The last name is the one that the linker finds with -lNAME
17332 library_names_spec=$lt_library_names_spec
17334 # The coded name of the library, if different from the real name.
17335 soname_spec=$lt_soname_spec
17337 # Permission mode override for installation of shared libraries.
17338 install_override_mode=$lt_install_override_mode
17340 # Command to use after installation of a shared archive.
17341 postinstall_cmds=$lt_postinstall_cmds
17343 # Command to use after uninstallation of a shared archive.
17344 postuninstall_cmds=$lt_postuninstall_cmds
17346 # Commands used to finish a libtool library installation in a directory.
17347 finish_cmds=$lt_finish_cmds
17349 # As "finish_cmds", except a single script fragment to be evaled but
17351 finish_eval=$lt_finish_eval
17353 # Whether we should hardcode library paths into libraries.
17354 hardcode_into_libs=$hardcode_into_libs
17356 # Compile-time system search path for libraries.
17357 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17359 # Run-time system search path for libraries.
17360 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17362 # Whether dlopen is supported.
17363 dlopen_support=$enable_dlopen
17365 # Whether dlopen of programs is supported.
17366 dlopen_self=$enable_dlopen_self
17368 # Whether dlopen of statically linked programs is supported.
17369 dlopen_self_static=$enable_dlopen_self_static
17371 # Commands to strip libraries.
17372 old_striplib=$lt_old_striplib
17373 striplib=$lt_striplib
17376 # The linker used to build libraries.
17379 # How to create reloadable object files.
17380 reload_flag=$lt_reload_flag
17381 reload_cmds=$lt_reload_cmds
17383 # Commands used to build an old-style archive.
17384 old_archive_cmds=$lt_old_archive_cmds
17386 # A language specific compiler.
17389 # Is the compiler the GNU compiler?
17392 # Compiler flag to turn off builtin functions.
17393 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17395 # How to pass a linker flag through the compiler.
17396 wl=$lt_lt_prog_compiler_wl
17398 # Additional compiler flags for building library objects.
17399 pic_flag=$lt_lt_prog_compiler_pic
17401 # Compiler flag to prevent dynamic linking.
17402 link_static_flag=$lt_lt_prog_compiler_static
17404 # Does compiler simultaneously support -c and -o options?
17405 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17407 # Whether or not to add -lc for building shared libraries.
17408 build_libtool_need_lc=$archive_cmds_need_lc
17410 # Whether or not to disallow shared libs when runtime libs are static.
17411 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17413 # Compiler flag to allow reflexive dlopens.
17414 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17416 # Compiler flag to generate shared objects directly from archives.
17417 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17419 # Whether the compiler copes with passing no objects directly.
17420 compiler_needs_object=$lt_compiler_needs_object
17422 # Create an old-style archive from a shared archive.
17423 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17425 # Create a temporary old-style archive to link instead of a shared archive.
17426 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17428 # Commands used to build a shared archive.
17429 archive_cmds=$lt_archive_cmds
17430 archive_expsym_cmds=$lt_archive_expsym_cmds
17432 # Commands used to build a loadable module if different from building
17433 # a shared archive.
17434 module_cmds=$lt_module_cmds
17435 module_expsym_cmds=$lt_module_expsym_cmds
17437 # Whether we are building with GNU ld or not.
17438 with_gnu_ld=$lt_with_gnu_ld
17440 # Flag that allows shared libraries with undefined symbols to be built.
17441 allow_undefined_flag=$lt_allow_undefined_flag
17443 # Flag that enforces no undefined symbols.
17444 no_undefined_flag=$lt_no_undefined_flag
17446 # Flag to hardcode \$libdir into a binary during linking.
17447 # This must work even if \$libdir does not exist
17448 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17450 # If ld is used when linking, flag to hardcode \$libdir into a binary
17451 # during linking. This must work even if \$libdir does not exist.
17452 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17454 # Whether we need a single "-rpath" flag with a separated argument.
17455 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17457 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17458 # DIR into the resulting binary.
17459 hardcode_direct=$hardcode_direct
17461 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17462 # DIR into the resulting binary and the resulting library dependency is
17463 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17464 # library is relocated.
17465 hardcode_direct_absolute=$hardcode_direct_absolute
17467 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17468 # into the resulting binary.
17469 hardcode_minus_L=$hardcode_minus_L
17471 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17472 # into the resulting binary.
17473 hardcode_shlibpath_var=$hardcode_shlibpath_var
17475 # Set to "yes" if building a shared library automatically hardcodes DIR
17476 # into the library and all subsequent libraries and executables linked
17478 hardcode_automatic=$hardcode_automatic
17480 # Set to yes if linker adds runtime paths of dependent libraries
17481 # to runtime path list.
17482 inherit_rpath=$inherit_rpath
17484 # Whether libtool must link a program against all its dependency libraries.
17485 link_all_deplibs=$link_all_deplibs
17487 # Fix the shell variable \$srcfile for the compiler.
17488 fix_srcfile_path=$lt_fix_srcfile_path
17490 # Set to "yes" if exported symbols are required.
17491 always_export_symbols=$always_export_symbols
17493 # The commands to list exported symbols.
17494 export_symbols_cmds=$lt_export_symbols_cmds
17496 # Symbols that should not be listed in the preloaded symbols.
17497 exclude_expsyms=$lt_exclude_expsyms
17499 # Symbols that must always be exported.
17500 include_expsyms=$lt_include_expsyms
17502 # Commands necessary for linking programs (against libraries) with templates.
17503 prelink_cmds=$lt_prelink_cmds
17505 # Specify filename containing input files.
17506 file_list_spec=$lt_file_list_spec
17508 # How to hardcode a shared library path into an executable.
17509 hardcode_action=$hardcode_action
17511 # The directories searched by this compiler when creating a shared library.
17512 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17514 # Dependencies to place before and after the objects being linked to
17515 # create a shared library.
17516 predep_objects=$lt_predep_objects
17517 postdep_objects=$lt_postdep_objects
17518 predeps=$lt_predeps
17519 postdeps=$lt_postdeps
17521 # The library search path used internally by the compiler when linking
17522 # a shared library.
17523 compiler_lib_search_path=$lt_compiler_lib_search_path
17525 # ### END LIBTOOL CONFIG
17531 cat <<\_LT_EOF
>> "$cfgfile"
17532 # AIX sometimes has problems with the GCC collect2 program. For some
17533 # reason, if we set the COLLECT_NAMES environment variable, the problems
17534 # vanish in a puff of smoke.
17535 if test "X${COLLECT_NAMES+set}" != Xset
; then
17537 export COLLECT_NAMES
17544 ltmain
="$ac_aux_dir/ltmain.sh"
17547 # We use sed instead of cat because bash on DJGPP gets confused if
17548 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17549 # text mode, it properly converts lines to CR/LF. This bash problem
17550 # is reportedly fixed, but why not run on old versions too?
17551 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17552 ||
(rm -f "$cfgfile"; exit 1)
17556 cat << \_LT_EOF
>> "$cfgfile"
17558 # func_dirname file append nondir_replacement
17559 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17560 # otherwise set result to NONDIR_REPLACEMENT.
17564 */*) func_dirname_result
="${1%/*}${2}" ;;
17565 * ) func_dirname_result
="${3}" ;;
17569 # func_basename file
17572 func_basename_result
="${1##*/}"
17575 # func_dirname_and_basename file append nondir_replacement
17576 # perform func_basename and func_dirname in a single function
17578 # dirname: Compute the dirname of FILE. If nonempty,
17579 # add APPEND to the result, otherwise set result
17580 # to NONDIR_REPLACEMENT.
17581 # value returned in "$func_dirname_result"
17582 # basename: Compute filename of FILE.
17583 # value retuned in "$func_basename_result"
17584 # Implementation must be kept synchronized with func_dirname
17585 # and func_basename. For efficiency, we do not delegate to
17586 # those functions but instead duplicate the functionality here.
17587 func_dirname_and_basename
()
17590 */*) func_dirname_result
="${1%/*}${2}" ;;
17591 * ) func_dirname_result
="${3}" ;;
17593 func_basename_result
="${1##*/}"
17596 # func_stripname prefix suffix name
17597 # strip PREFIX and SUFFIX off of NAME.
17598 # PREFIX and SUFFIX must not contain globbing or regex special
17599 # characters, hashes, percent signs, but SUFFIX may contain a leading
17600 # dot (in which case that matches only a dot).
17603 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17604 # positional parameters, so assign one to ordinary parameter first.
17605 func_stripname_result
=${3}
17606 func_stripname_result
=${func_stripname_result#"${1}"}
17607 func_stripname_result
=${func_stripname_result%"${2}"}
17613 func_opt_split_opt
=${1%%=*}
17614 func_opt_split_arg
=${1#*=}
17621 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17622 *) func_lo2o_result
=${1} ;;
17626 # func_xform libobj-or-source
17629 func_xform_result
=${1%.*}.lo
17632 # func_arith arithmetic-term...
17635 func_arith_result
=$
(( $
* ))
17639 # STRING may not start with a hyphen.
17642 func_len_result
=${#1}
17647 *) # Bourne compatible functions.
17648 cat << \_LT_EOF
>> "$cfgfile"
17650 # func_dirname file append nondir_replacement
17651 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17652 # otherwise set result to NONDIR_REPLACEMENT.
17655 # Extract subdirectory from the argument.
17656 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17657 if test "X$func_dirname_result" = "X${1}"; then
17658 func_dirname_result
="${3}"
17660 func_dirname_result
="$func_dirname_result${2}"
17664 # func_basename file
17667 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17671 # func_stripname prefix suffix name
17672 # strip PREFIX and SUFFIX off of NAME.
17673 # PREFIX and SUFFIX must not contain globbing or regex special
17674 # characters, hashes, percent signs, but SUFFIX may contain a leading
17675 # dot (in which case that matches only a dot).
17676 # func_strip_suffix prefix name
17680 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17681 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17686 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17687 my_sed_long_arg
='1s/^-[^=]*=//'
17692 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17693 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17699 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17702 # func_xform libobj-or-source
17705 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17708 # func_arith arithmetic-term...
17711 func_arith_result
=`expr "$@"`
17715 # STRING may not start with a hyphen.
17718 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17724 case $lt_shell_append in
17726 cat << \_LT_EOF
>> "$cfgfile"
17728 # func_append var value
17729 # Append VALUE to the end of shell variable VAR.
17737 cat << \_LT_EOF
>> "$cfgfile"
17739 # func_append var value
17740 # Append VALUE to the end of shell variable VAR.
17751 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17752 ||
(rm -f "$cfgfile"; exit 1)
17754 mv -f "$cfgfile" "$ofile" ||
17755 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17759 cat <<_LT_EOF >> "$ofile"
17761 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17763 # The linker used to build libraries.
17766 # How to create reloadable object files.
17767 reload_flag=$lt_reload_flag_CXX
17768 reload_cmds=$lt_reload_cmds_CXX
17770 # Commands used to build an old-style archive.
17771 old_archive_cmds=$lt_old_archive_cmds_CXX
17773 # A language specific compiler.
17774 CC=$lt_compiler_CXX
17776 # Is the compiler the GNU compiler?
17779 # Compiler flag to turn off builtin functions.
17780 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17782 # How to pass a linker flag through the compiler.
17783 wl=$lt_lt_prog_compiler_wl_CXX
17785 # Additional compiler flags for building library objects.
17786 pic_flag=$lt_lt_prog_compiler_pic_CXX
17788 # Compiler flag to prevent dynamic linking.
17789 link_static_flag=$lt_lt_prog_compiler_static_CXX
17791 # Does compiler simultaneously support -c and -o options?
17792 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17794 # Whether or not to add -lc for building shared libraries.
17795 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17797 # Whether or not to disallow shared libs when runtime libs are static.
17798 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17800 # Compiler flag to allow reflexive dlopens.
17801 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17803 # Compiler flag to generate shared objects directly from archives.
17804 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17806 # Whether the compiler copes with passing no objects directly.
17807 compiler_needs_object=$lt_compiler_needs_object_CXX
17809 # Create an old-style archive from a shared archive.
17810 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17812 # Create a temporary old-style archive to link instead of a shared archive.
17813 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17815 # Commands used to build a shared archive.
17816 archive_cmds=$lt_archive_cmds_CXX
17817 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17819 # Commands used to build a loadable module if different from building
17820 # a shared archive.
17821 module_cmds=$lt_module_cmds_CXX
17822 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17824 # Whether we are building with GNU ld or not.
17825 with_gnu_ld=$lt_with_gnu_ld_CXX
17827 # Flag that allows shared libraries with undefined symbols to be built.
17828 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17830 # Flag that enforces no undefined symbols.
17831 no_undefined_flag=$lt_no_undefined_flag_CXX
17833 # Flag to hardcode \$libdir into a binary during linking.
17834 # This must work even if \$libdir does not exist
17835 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17837 # If ld is used when linking, flag to hardcode \$libdir into a binary
17838 # during linking. This must work even if \$libdir does not exist.
17839 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17841 # Whether we need a single "-rpath" flag with a separated argument.
17842 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17844 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17845 # DIR into the resulting binary.
17846 hardcode_direct=$hardcode_direct_CXX
17848 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17849 # DIR into the resulting binary and the resulting library dependency is
17850 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17851 # library is relocated.
17852 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17854 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17855 # into the resulting binary.
17856 hardcode_minus_L=$hardcode_minus_L_CXX
17858 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17859 # into the resulting binary.
17860 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17862 # Set to "yes" if building a shared library automatically hardcodes DIR
17863 # into the library and all subsequent libraries and executables linked
17865 hardcode_automatic=$hardcode_automatic_CXX
17867 # Set to yes if linker adds runtime paths of dependent libraries
17868 # to runtime path list.
17869 inherit_rpath=$inherit_rpath_CXX
17871 # Whether libtool must link a program against all its dependency libraries.
17872 link_all_deplibs=$link_all_deplibs_CXX
17874 # Fix the shell variable \$srcfile for the compiler.
17875 fix_srcfile_path=$lt_fix_srcfile_path_CXX
17877 # Set to "yes" if exported symbols are required.
17878 always_export_symbols=$always_export_symbols_CXX
17880 # The commands to list exported symbols.
17881 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17883 # Symbols that should not be listed in the preloaded symbols.
17884 exclude_expsyms=$lt_exclude_expsyms_CXX
17886 # Symbols that must always be exported.
17887 include_expsyms=$lt_include_expsyms_CXX
17889 # Commands necessary for linking programs (against libraries) with templates.
17890 prelink_cmds=$lt_prelink_cmds_CXX
17892 # Specify filename containing input files.
17893 file_list_spec=$lt_file_list_spec_CXX
17895 # How to hardcode a shared library path into an executable.
17896 hardcode_action=$hardcode_action_CXX
17898 # The directories searched by this compiler when creating a shared library.
17899 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17901 # Dependencies to place before and after the objects being linked to
17902 # create a shared library.
17903 predep_objects=$lt_predep_objects_CXX
17904 postdep_objects=$lt_postdep_objects_CXX
17905 predeps=$lt_predeps_CXX
17906 postdeps=$lt_postdeps_CXX
17908 # The library search path used internally by the compiler when linking
17909 # a shared library.
17910 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17912 # ### END LIBTOOL TAG CONFIG: CXX
17923 ac_clean_files
=$ac_clean_files_save
17925 test $ac_write_fail = 0 ||
17926 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17929 # configure is writing to config.log, and then calls config.status.
17930 # config.status does its own redirection, appending to config.log.
17931 # Unfortunately, on DOS this fails, as config.log is still kept open
17932 # by configure, so config.status won't be able to write to it; its
17933 # output is simply discarded. So we exec the FD to /dev/null,
17934 # effectively closing config.log, so it can be properly (re)opened and
17935 # appended to by config.status. When coming back to configure, we
17936 # need to make the FD available again.
17937 if test "$no_create" != yes; then
17939 ac_config_status_args
=
17940 test "$silent" = yes &&
17941 ac_config_status_args
="$ac_config_status_args --quiet"
17943 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17945 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17946 # would make configure fail if this is the last instruction.
17947 $ac_cs_success || as_fn_exit
1
17949 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17951 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}