2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gprofng 2.43.50.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev
/null
; then :
213 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
225 for as_base
in sh bash ksh sh5
; do
226 # Try only shells that exist, to save several forks.
227 as_shell
=$as_dir/$as_base
228 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 CONFIG_SHELL
=$as_shell as_have_required
=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
239 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
241 CONFIG_SHELL
=$SHELL as_have_required
=yes
246 if test "x$CONFIG_SHELL" != x
; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
256 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x
$as_have_required = xno
; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x
${ZSH_VERSION+set} = xset
; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL
=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE
= GREP_OPTIONS
=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir
=.
/$as_dir;;
329 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
333 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs
="'$as_qdir' $as_dirs"
337 as_dir
=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
363 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p
()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
406 as_val
=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status
=$1; test $as_status -eq 0 && as_status
=1
420 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit
$as_status
427 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
434 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
446 as_me
=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits
='0123456789'
470 as_cr_alnum
=$as_cr_Letters$as_cr_digits
473 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
474 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x
"$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec
=no
; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C
= ECHO_N
= ECHO_T
=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
521 rm -f conf$$ conf$$.exe conf$$.
file
522 if test -d conf$$.dir
; then
523 rm -f conf$$.dir
/conf$$.
file
526 mkdir conf$$.dir
2>/dev
/null
528 if (echo >conf$$.
file) 2>/dev
/null
; then
529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
545 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
546 rmdir conf$$.dir
2>/dev
/null
548 if mkdir
-p .
2>/dev
/null
; then
549 as_mkdir_p
='mkdir -p "$as_dir"'
551 test -d .
/-p && rmdir .
/-p
556 as_executable_p
=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL
=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix
=/usr
/local
580 ac_config_libobj_dir
=.
587 # Identity of this package.
588 PACKAGE_NAME
='gprofng'
589 PACKAGE_TARNAME
='gprofng'
590 PACKAGE_VERSION
='2.43.50'
591 PACKAGE_STRING
='gprofng 2.43.50'
595 ac_unique_file
="libcol_util.c"
596 # Factoring default headers for most tests.
597 ac_includes_default
="\
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
609 # ifdef HAVE_STDLIB_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
632 ac_subst_vars
='am__EXEEXT_FALSE
636 GPROFNG_NO_NONNULL_COMPARE_CFLAGS
682 MAINTAINER_MODE_FALSE
696 INSTALL_STRIP_PROGRAM
750 program_transform_name
763 enable_option_checking
765 enable_maintainer_mode
766 enable_dependency_tracking
774 ac_precious_vars
='build_alias
789 # Initialize some variables set by options.
791 ac_init_version
=false
792 ac_unrecognized_opts
=
794 # The variables have the same names as the options, with
795 # dashes changed to underlines.
803 program_transform_name
=s
,x
,x
,
811 # Installation directory options.
812 # These are left unexpanded so users can "make install exec_prefix=/foo"
813 # and all the variables that are supposed to be based on exec_prefix
814 # by default will actually change.
815 # Use braces instead of parens because sh, perl, etc. also accept them.
816 # (The list follows the same order as the GNU Coding Standards.)
817 bindir
='${exec_prefix}/bin'
818 sbindir
='${exec_prefix}/sbin'
819 libexecdir
='${exec_prefix}/libexec'
820 datarootdir
='${prefix}/share'
821 datadir
='${datarootdir}'
822 sysconfdir
='${prefix}/etc'
823 sharedstatedir
='${prefix}/com'
824 localstatedir
='${prefix}/var'
825 includedir
='${prefix}/include'
826 oldincludedir
='/usr/include'
827 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
828 infodir
='${datarootdir}/info'
833 libdir
='${exec_prefix}/lib'
834 localedir
='${datarootdir}/locale'
835 mandir
='${datarootdir}/man'
841 # If the previous option needs an argument, assign it.
842 if test -n "$ac_prev"; then
843 eval $ac_prev=\
$ac_option
849 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
854 # Accept the important Cygnus configure options, so we can diagnose typos.
856 case $ac_dashdash$ac_option in
860 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
862 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
865 -build |
--build |
--buil |
--bui |
--bu)
866 ac_prev
=build_alias
;;
867 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
868 build_alias
=$ac_optarg ;;
870 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
871 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
872 ac_prev
=cache_file
;;
873 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
874 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
875 cache_file
=$ac_optarg ;;
878 cache_file
=config.cache
;;
880 -datadir |
--datadir |
--datadi |
--datad)
882 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
883 datadir
=$ac_optarg ;;
885 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
886 |
--dataroo |
--dataro |
--datar)
887 ac_prev
=datarootdir
;;
888 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
889 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
890 datarootdir
=$ac_optarg ;;
892 -disable-* |
--disable-*)
893 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
894 # Reject names that are not valid shell variable names.
895 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
896 as_fn_error $?
"invalid feature name: $ac_useropt"
897 ac_useropt_orig
=$ac_useropt
898 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
899 case $ac_user_opts in
903 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
904 ac_unrecognized_sep
=', ';;
906 eval enable_
$ac_useropt=no
;;
908 -docdir |
--docdir |
--docdi |
--doc |
--do)
910 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
913 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
915 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
918 -enable-* |
--enable-*)
919 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
920 # Reject names that are not valid shell variable names.
921 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
922 as_fn_error $?
"invalid feature name: $ac_useropt"
923 ac_useropt_orig
=$ac_useropt
924 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
925 case $ac_user_opts in
929 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
930 ac_unrecognized_sep
=', ';;
932 eval enable_
$ac_useropt=\
$ac_optarg ;;
934 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
935 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
936 |
--exec |
--exe |
--ex)
937 ac_prev
=exec_prefix
;;
938 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
939 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
940 |
--exec=* |
--exe=* |
--ex=*)
941 exec_prefix
=$ac_optarg ;;
943 -gas |
--gas |
--ga |
--g)
944 # Obsolete; use --with-gas.
947 -help |
--help |
--hel |
--he |
-h)
949 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
950 ac_init_help
=recursive
;;
951 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
952 ac_init_help
=short
;;
954 -host |
--host |
--hos |
--ho)
955 ac_prev
=host_alias
;;
956 -host=* |
--host=* |
--hos=* |
--ho=*)
957 host_alias
=$ac_optarg ;;
959 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
961 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
963 htmldir
=$ac_optarg ;;
965 -includedir |
--includedir |
--includedi |
--included |
--include \
966 |
--includ |
--inclu |
--incl |
--inc)
967 ac_prev
=includedir
;;
968 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
969 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
970 includedir
=$ac_optarg ;;
972 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
974 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
975 infodir
=$ac_optarg ;;
977 -libdir |
--libdir |
--libdi |
--libd)
979 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
982 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
983 |
--libexe |
--libex |
--libe)
984 ac_prev
=libexecdir
;;
985 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
986 |
--libexe=* |
--libex=* |
--libe=*)
987 libexecdir
=$ac_optarg ;;
989 -localedir |
--localedir |
--localedi |
--localed |
--locale)
991 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
992 localedir
=$ac_optarg ;;
994 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
995 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
996 ac_prev
=localstatedir
;;
997 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
998 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
999 localstatedir
=$ac_optarg ;;
1001 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1003 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1004 mandir
=$ac_optarg ;;
1006 -nfp |
--nfp |
--nf)
1007 # Obsolete; use --without-fp.
1010 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1011 |
--no-cr |
--no-c |
-n)
1014 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1015 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1018 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1019 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1020 |
--oldin |
--oldi |
--old |
--ol |
--o)
1021 ac_prev
=oldincludedir
;;
1022 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1023 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1024 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1025 oldincludedir
=$ac_optarg ;;
1027 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1029 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1030 prefix
=$ac_optarg ;;
1032 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1033 |
--program-pre |
--program-pr |
--program-p)
1034 ac_prev
=program_prefix
;;
1035 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1036 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1037 program_prefix
=$ac_optarg ;;
1039 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1040 |
--program-suf |
--program-su |
--program-s)
1041 ac_prev
=program_suffix
;;
1042 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1043 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1044 program_suffix
=$ac_optarg ;;
1046 -program-transform-name |
--program-transform-name \
1047 |
--program-transform-nam |
--program-transform-na \
1048 |
--program-transform-n |
--program-transform- \
1049 |
--program-transform |
--program-transfor \
1050 |
--program-transfo |
--program-transf \
1051 |
--program-trans |
--program-tran \
1052 |
--progr-tra |
--program-tr |
--program-t)
1053 ac_prev
=program_transform_name
;;
1054 -program-transform-name=* |
--program-transform-name=* \
1055 |
--program-transform-nam=* |
--program-transform-na=* \
1056 |
--program-transform-n=* |
--program-transform-=* \
1057 |
--program-transform=* |
--program-transfor=* \
1058 |
--program-transfo=* |
--program-transf=* \
1059 |
--program-trans=* |
--program-tran=* \
1060 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1061 program_transform_name
=$ac_optarg ;;
1063 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1065 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1066 pdfdir
=$ac_optarg ;;
1068 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1070 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1073 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1074 |
-silent |
--silent |
--silen |
--sile |
--sil)
1077 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1079 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1081 sbindir
=$ac_optarg ;;
1083 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1084 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1085 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1087 ac_prev
=sharedstatedir
;;
1088 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1089 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1090 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1092 sharedstatedir
=$ac_optarg ;;
1094 -site |
--site |
--sit)
1096 -site=* |
--site=* |
--sit=*)
1099 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1101 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1102 srcdir
=$ac_optarg ;;
1104 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1105 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1106 ac_prev
=sysconfdir
;;
1107 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1108 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1109 sysconfdir
=$ac_optarg ;;
1111 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1112 ac_prev
=target_alias
;;
1113 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1114 target_alias
=$ac_optarg ;;
1116 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1119 -version |
--version |
--versio |
--versi |
--vers |
-V)
1120 ac_init_version
=: ;;
1123 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1124 # Reject names that are not valid shell variable names.
1125 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1126 as_fn_error $?
"invalid package name: $ac_useropt"
1127 ac_useropt_orig
=$ac_useropt
1128 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1129 case $ac_user_opts in
1133 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1134 ac_unrecognized_sep
=', ';;
1136 eval with_
$ac_useropt=\
$ac_optarg ;;
1138 -without-* |
--without-*)
1139 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1140 # Reject names that are not valid shell variable names.
1141 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1142 as_fn_error $?
"invalid package name: $ac_useropt"
1143 ac_useropt_orig
=$ac_useropt
1144 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1145 case $ac_user_opts in
1149 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1150 ac_unrecognized_sep
=', ';;
1152 eval with_
$ac_useropt=no
;;
1155 # Obsolete; use --with-x.
1158 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1159 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1160 ac_prev
=x_includes
;;
1161 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1162 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1163 x_includes
=$ac_optarg ;;
1165 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1166 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1167 ac_prev
=x_libraries
;;
1168 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1169 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1170 x_libraries
=$ac_optarg ;;
1172 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1173 Try \`$0 --help' for more information"
1177 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1178 # Reject names that are not valid shell variable names.
1179 case $ac_envvar in #(
1180 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1181 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1183 eval $ac_envvar=\
$ac_optarg
1184 export $ac_envvar ;;
1187 # FIXME: should be removed in autoconf 3.0.
1188 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1189 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1190 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1191 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1197 if test -n "$ac_prev"; then
1198 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1199 as_fn_error $?
"missing argument to $ac_option"
1202 if test -n "$ac_unrecognized_opts"; then
1203 case $enable_option_checking in
1205 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1206 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1210 # Check all directory arguments for consistency.
1211 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1212 datadir sysconfdir sharedstatedir localstatedir includedir \
1213 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1214 libdir localedir mandir
1216 eval ac_val
=\$
$ac_var
1217 # Remove trailing slashes.
1220 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1221 eval $ac_var=\
$ac_val;;
1223 # Be sure to have absolute directory names.
1225 [\\/$
]* | ?
:[\\/]* ) continue;;
1226 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1228 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1231 # There might be people who depend on the old broken behavior: `$host'
1232 # used to hold the argument of --host etc.
1233 # FIXME: To remove some day.
1236 target
=$target_alias
1238 # FIXME: To remove some day.
1239 if test "x$host_alias" != x
; then
1240 if test "x$build_alias" = x
; then
1241 cross_compiling
=maybe
1242 elif test "x$build_alias" != "x$host_alias"; then
1248 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1250 test "$silent" = yes && exec 6>/dev
/null
1253 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1254 ac_ls_di
=`ls -di .` &&
1255 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1256 as_fn_error $?
"working directory cannot be determined"
1257 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1258 as_fn_error $?
"pwd does not report name of working directory"
1261 # Find the source files, if location was not specified.
1262 if test -z "$srcdir"; then
1263 ac_srcdir_defaulted
=yes
1264 # Try the directory containing this script, then the parent directory.
1265 ac_confdir
=`$as_dirname -- "$as_myself" ||
1266 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1267 X"$as_myself" : 'X\(//\)[^/]' \| \
1268 X"$as_myself" : 'X\(//\)$' \| \
1269 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1270 $as_echo X"$as_myself" |
1271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1289 if test ! -r "$srcdir/$ac_unique_file"; then
1293 ac_srcdir_defaulted
=no
1295 if test ! -r "$srcdir/$ac_unique_file"; then
1296 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1297 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1299 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1301 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1303 # When building in place, set srcdir=.
1304 if test "$ac_abs_confdir" = "$ac_pwd"; then
1307 # Remove unnecessary trailing slashes from srcdir.
1308 # Double slashes in file names in object file debugging info
1309 # mess up M-x gdb in Emacs.
1311 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1313 for ac_var
in $ac_precious_vars; do
1314 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1315 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1316 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1317 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1321 # Report the --help message.
1323 if test "$ac_init_help" = "long"; then
1324 # Omit some internal or obsolete options to make the list less imposing.
1325 # This message is too long to be a string in the A/UX 3.1 sh.
1327 \`configure' configures gprofng 2.43.50 to adapt to many kinds of systems.
1329 Usage: $0 [OPTION]... [VAR=VALUE]...
1331 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1332 VAR=VALUE. See below for descriptions of some of the useful variables.
1334 Defaults for the options are specified in brackets.
1337 -h, --help display this help and exit
1338 --help=short display options specific to this package
1339 --help=recursive display the short help of all the included packages
1340 -V, --version display version information and exit
1341 -q, --quiet, --silent do not print \`checking ...' messages
1342 --cache-file=FILE cache test results in FILE [disabled]
1343 -C, --config-cache alias for \`--cache-file=config.cache'
1344 -n, --no-create do not create output files
1345 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1347 Installation directories:
1348 --prefix=PREFIX install architecture-independent files in PREFIX
1349 [$ac_default_prefix]
1350 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1353 By default, \`make install' will install all the files in
1354 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1355 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1356 for instance \`--prefix=\$HOME'.
1358 For better control, use the options below.
1360 Fine tuning of the installation directories:
1361 --bindir=DIR user executables [EPREFIX/bin]
1362 --sbindir=DIR system admin executables [EPREFIX/sbin]
1363 --libexecdir=DIR program executables [EPREFIX/libexec]
1364 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1365 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1366 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1367 --libdir=DIR object code libraries [EPREFIX/lib]
1368 --includedir=DIR C header files [PREFIX/include]
1369 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1370 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1371 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1372 --infodir=DIR info documentation [DATAROOTDIR/info]
1373 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1374 --mandir=DIR man documentation [DATAROOTDIR/man]
1375 --docdir=DIR documentation root [DATAROOTDIR/doc/gprofng]
1376 --htmldir=DIR html documentation [DOCDIR]
1377 --dvidir=DIR dvi documentation [DOCDIR]
1378 --pdfdir=DIR pdf documentation [DOCDIR]
1379 --psdir=DIR ps documentation [DOCDIR]
1385 --program-prefix=PREFIX prepend PREFIX to installed program names
1386 --program-suffix=SUFFIX append SUFFIX to installed program names
1387 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1390 --build=BUILD configure
for building on BUILD
[guessed
]
1391 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1392 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1396 if test -n "$ac_init_help"; then
1397 case $ac_init_help in
1398 short | recursive
) echo "Configuration of gprofng 2.43.50:";;
1403 --disable-option-checking ignore unrecognized
--enable/--with options
1404 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1405 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1406 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1407 --disable-silent-rules verbose build output
(undo
: "make V=0")
1408 --enable-maintainer-mode
1409 enable make rules and dependencies not useful
(and
1410 sometimes confusing
) to the casual installer
1411 --enable-dependency-tracking
1412 do not reject slow dependency extractors
1413 --disable-dependency-tracking
1414 speeds up one-time build
1415 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1416 --enable-static[=PKGS
] build static libraries
[default
=yes]
1417 --enable-fast-install[=PKGS
]
1418 optimize
for fast installation
[default
=yes]
1419 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1422 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1423 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1424 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1426 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1428 Some influential environment variables
:
1429 CC C compiler
command
1430 CFLAGS C compiler flags
1431 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1432 nonstandard directory
<lib dir
>
1433 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1434 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1435 you have headers
in a nonstandard directory
<include dir
>
1437 CXX C
++ compiler
command
1438 CXXFLAGS C
++ compiler flags
1439 CXXCPP C
++ preprocessor
1441 Use these variables to override the choices made by
`configure' or to help
1442 it to find libraries and programs with nonstandard names/locations.
1444 Report bugs to the package provider.
1449 if test "$ac_init_help" = "recursive"; then
1450 # If there are subdirs, report their specific --help.
1451 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1452 test -d "$ac_dir" ||
1453 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1458 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1460 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1461 # A ".." for each directory in $ac_dir_suffix.
1462 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1463 case $ac_top_builddir_sub in
1464 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1465 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1468 ac_abs_top_builddir=$ac_pwd
1469 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1470 # for backward compatibility:
1471 ac_top_builddir=$ac_top_build_prefix
1474 .) # We are building in place.
1476 ac_top_srcdir=$ac_top_builddir_sub
1477 ac_abs_top_srcdir=$ac_pwd ;;
1478 [\\/]* | ?:[\\/]* ) # Absolute name.
1479 ac_srcdir=$srcdir$ac_dir_suffix;
1480 ac_top_srcdir=$srcdir
1481 ac_abs_top_srcdir=$srcdir ;;
1483 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1484 ac_top_srcdir=$ac_top_build_prefix$srcdir
1485 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1487 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1489 cd "$ac_dir" || { ac_status=$?; continue; }
1490 # Check for guested configure.
1491 if test -f "$ac_srcdir/configure.gnu"; then
1493 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1494 elif test -f "$ac_srcdir/configure"; then
1496 $SHELL "$ac_srcdir/configure" --help=recursive
1498 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1500 cd "$ac_pwd" || { ac_status=$?; break; }
1504 test -n "$ac_init_help" && exit $ac_status
1505 if $ac_init_version; then
1507 gprofng configure 2.43.50
1508 generated by GNU Autoconf 2.69
1510 Copyright (C) 2012 Free Software Foundation, Inc.
1511 This configure script is free software; the Free Software Foundation
1512 gives unlimited permission to copy, distribute and modify it.
1517 ## ------------------------ ##
1518 ## Autoconf initialization. ##
1519 ## ------------------------ ##
1521 # ac_fn_c_try_compile LINENO
1522 # --------------------------
1523 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1524 ac_fn_c_try_compile ()
1526 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1527 rm -f conftest.$ac_objext
1528 if { { ac_try="$ac_compile"
1530 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1531 *) ac_try_echo
=$ac_try;;
1533 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1534 $as_echo "$ac_try_echo"; } >&5
1535 (eval "$ac_compile") 2>conftest.err
1537 if test -s conftest.err
; then
1538 grep -v '^ *+' conftest.err
>conftest.er1
1539 cat conftest.er1
>&5
1540 mv -f conftest.er1 conftest.err
1542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1543 test $ac_status = 0; } && {
1544 test -z "$ac_c_werror_flag" ||
1545 test ! -s conftest.err
1546 } && test -s conftest.
$ac_objext; then :
1549 $as_echo "$as_me: failed program was:" >&5
1550 sed 's/^/| /' conftest.
$ac_ext >&5
1554 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1555 as_fn_set_status
$ac_retval
1557 } # ac_fn_c_try_compile
1559 # ac_fn_c_try_cpp LINENO
1560 # ----------------------
1561 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1564 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1565 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1567 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1568 *) ac_try_echo=$ac_try;;
1570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1571 $as_echo "$ac_try_echo"; } >&5
1572 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1574 if test -s conftest.err; then
1575 grep -v '^ *+' conftest.err >conftest.er1
1576 cat conftest.er1 >&5
1577 mv -f conftest.er1 conftest.err
1579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1580 test $ac_status = 0; } > conftest.i && {
1581 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1582 test ! -s conftest.err
1586 $as_echo "$as_me: failed program was:" >&5
1587 sed 's/^/| /' conftest.$ac_ext >&5
1591 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1592 as_fn_set_status $ac_retval
1596 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1597 # -------------------------------------------------------
1598 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1599 # the include files in INCLUDES and setting the cache variable VAR
1601 ac_fn_c_check_header_mongrel ()
1603 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1604 if eval \${$3+:} false; then :
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1606 $as_echo_n "checking for $2... " >&6; }
1607 if eval \${$3+:} false; then :
1608 $as_echo_n "(cached) " >&6
1611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1612 $as_echo "$ac_res" >&6; }
1614 # Is the header compilable?
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1616 $as_echo_n "checking $2 usability... " >&6; }
1617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1618 /* end confdefs.h. */
1622 if ac_fn_c_try_compile "$LINENO"; then :
1623 ac_header_compiler=yes
1625 ac_header_compiler=no
1627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1629 $as_echo "$ac_header_compiler" >&6; }
1631 # Is the header present?
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1633 $as_echo_n "checking $2 presence... " >&6; }
1634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1635 /* end confdefs.h. */
1638 if ac_fn_c_try_cpp "$LINENO"; then :
1639 ac_header_preproc=yes
1641 ac_header_preproc=no
1643 rm -f conftest.err conftest.i conftest.$ac_ext
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1645 $as_echo "$ac_header_preproc" >&6; }
1647 # So? What about this header?
1648 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1651 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1653 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1657 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1659 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1661 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1663 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1665 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1669 $as_echo_n "checking for $2... " >&6; }
1670 if eval \${$3+:} false; then :
1671 $as_echo_n "(cached) " >&6
1673 eval "$3=\$ac_header_compiler"
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1677 $as_echo "$ac_res" >&6; }
1679 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1681 } # ac_fn_c_check_header_mongrel
1683 # ac_fn_c_try_run LINENO
1684 # ----------------------
1685 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1686 # that executables *can* be run.
1689 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1690 if { { ac_try="$ac_link"
1692 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1693 *) ac_try_echo
=$ac_try;;
1695 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1696 $as_echo "$ac_try_echo"; } >&5
1697 (eval "$ac_link") 2>&5
1699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1700 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1701 { { case "(($ac_try" in
1702 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1703 *) ac_try_echo=$ac_try;;
1705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1706 $as_echo "$ac_try_echo"; } >&5
1707 (eval "$ac_try") 2>&5
1709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1710 test $ac_status = 0; }; }; then :
1713 $as_echo "$as_me: program exited with status $ac_status" >&5
1714 $as_echo "$as_me: failed program was:" >&5
1715 sed 's/^/| /' conftest.$ac_ext >&5
1717 ac_retval=$ac_status
1719 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1720 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1721 as_fn_set_status $ac_retval
1725 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1726 # -------------------------------------------------------
1727 # Tests whether HEADER exists and can be compiled using the include files in
1728 # INCLUDES, setting the cache variable VAR accordingly.
1729 ac_fn_c_check_header_compile ()
1731 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1733 $as_echo_n "checking for $2... " >&6; }
1734 if eval \${$3+:} false; then :
1735 $as_echo_n "(cached) " >&6
1737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1738 /* end confdefs.h. */
1742 if ac_fn_c_try_compile "$LINENO"; then :
1747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1751 $as_echo "$ac_res" >&6; }
1752 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1754 } # ac_fn_c_check_header_compile
1756 # ac_fn_cxx_try_compile LINENO
1757 # ----------------------------
1758 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1759 ac_fn_cxx_try_compile ()
1761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1762 rm -f conftest.$ac_objext
1763 if { { ac_try="$ac_compile"
1765 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1766 *) ac_try_echo
=$ac_try;;
1768 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1769 $as_echo "$ac_try_echo"; } >&5
1770 (eval "$ac_compile") 2>conftest.err
1772 if test -s conftest.err
; then
1773 grep -v '^ *+' conftest.err
>conftest.er1
1774 cat conftest.er1
>&5
1775 mv -f conftest.er1 conftest.err
1777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1778 test $ac_status = 0; } && {
1779 test -z "$ac_cxx_werror_flag" ||
1780 test ! -s conftest.err
1781 } && test -s conftest.
$ac_objext; then :
1784 $as_echo "$as_me: failed program was:" >&5
1785 sed 's/^/| /' conftest.
$ac_ext >&5
1789 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1790 as_fn_set_status
$ac_retval
1792 } # ac_fn_cxx_try_compile
1794 # ac_fn_c_try_link LINENO
1795 # -----------------------
1796 # Try to link conftest.$ac_ext, and return whether this succeeded.
1799 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1800 rm -f conftest.
$ac_objext conftest
$ac_exeext
1801 if { { ac_try
="$ac_link"
1803 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1804 *) ac_try_echo=$ac_try;;
1806 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1807 $as_echo "$ac_try_echo"; } >&5
1808 (eval "$ac_link") 2>conftest.err
1810 if test -s conftest.err; then
1811 grep -v '^ *+' conftest.err >conftest.er1
1812 cat conftest.er1 >&5
1813 mv -f conftest.er1 conftest.err
1815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1816 test $ac_status = 0; } && {
1817 test -z "$ac_c_werror_flag" ||
1818 test ! -s conftest.err
1819 } && test -s conftest$ac_exeext && {
1820 test "$cross_compiling" = yes ||
1821 test -x conftest$ac_exeext
1825 $as_echo "$as_me: failed program was:" >&5
1826 sed 's/^/| /' conftest.$ac_ext >&5
1830 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1831 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1832 # interfere with the next link command; also delete a directory that is
1833 # left behind by Apple's compiler. We do this before executing the actions.
1834 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1835 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1836 as_fn_set_status $ac_retval
1838 } # ac_fn_c_try_link
1840 # ac_fn_c_check_func LINENO FUNC VAR
1841 # ----------------------------------
1842 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1843 ac_fn_c_check_func ()
1845 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1847 $as_echo_n "checking for $2... " >&6; }
1848 if eval \${$3+:} false; then :
1849 $as_echo_n "(cached) " >&6
1851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1852 /* end confdefs.h. */
1853 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1855 #define $2 innocuous_$2
1857 /* System header to define __stub macros and hopefully few prototypes,
1858 which can conflict with char $2 (); below.
1859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1860 <limits.h> exists even on freestanding compilers. */
1863 # include <limits.h>
1865 # include <assert.h>
1870 /* Override any GCC internal prototype to avoid an error.
1871 Use char because int might match the return type of a GCC
1872 builtin and then its argument prototype would still apply. */
1877 /* The GNU C library defines this for functions which it implements
1878 to always fail with ENOSYS. Some functions are actually named
1879 something starting with __ and the normal name is an alias. */
1880 #if defined __stub_$2 || defined __stub___$2
1892 if ac_fn_c_try_link "$LINENO"; then :
1897 rm -f core conftest.err conftest.$ac_objext \
1898 conftest$ac_exeext conftest.$ac_ext
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1902 $as_echo "$ac_res" >&6; }
1903 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1905 } # ac_fn_c_check_func
1907 # ac_fn_cxx_try_cpp LINENO
1908 # ------------------------
1909 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1910 ac_fn_cxx_try_cpp ()
1912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1913 if { { ac_try="$ac_cpp conftest.$ac_ext"
1915 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1916 *) ac_try_echo
=$ac_try;;
1918 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1919 $as_echo "$ac_try_echo"; } >&5
1920 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1922 if test -s conftest.err
; then
1923 grep -v '^ *+' conftest.err
>conftest.er1
1924 cat conftest.er1
>&5
1925 mv -f conftest.er1 conftest.err
1927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1928 test $ac_status = 0; } > conftest.i
&& {
1929 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1930 test ! -s conftest.err
1934 $as_echo "$as_me: failed program was:" >&5
1935 sed 's/^/| /' conftest.
$ac_ext >&5
1939 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1940 as_fn_set_status
$ac_retval
1942 } # ac_fn_cxx_try_cpp
1944 # ac_fn_cxx_try_link LINENO
1945 # -------------------------
1946 # Try to link conftest.$ac_ext, and return whether this succeeded.
1947 ac_fn_cxx_try_link
()
1949 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1950 rm -f conftest.
$ac_objext conftest
$ac_exeext
1951 if { { ac_try
="$ac_link"
1953 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1954 *) ac_try_echo=$ac_try;;
1956 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1957 $as_echo "$ac_try_echo"; } >&5
1958 (eval "$ac_link") 2>conftest.err
1960 if test -s conftest.err; then
1961 grep -v '^ *+' conftest.err >conftest.er1
1962 cat conftest.er1 >&5
1963 mv -f conftest.er1 conftest.err
1965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1966 test $ac_status = 0; } && {
1967 test -z "$ac_cxx_werror_flag" ||
1968 test ! -s conftest.err
1969 } && test -s conftest$ac_exeext && {
1970 test "$cross_compiling" = yes ||
1971 test -x conftest$ac_exeext
1975 $as_echo "$as_me: failed program was:" >&5
1976 sed 's/^/| /' conftest.$ac_ext >&5
1980 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1981 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1982 # interfere with the next link command; also delete a directory that is
1983 # left behind by Apple's compiler. We do this before executing the actions.
1984 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1985 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1986 as_fn_set_status $ac_retval
1988 } # ac_fn_cxx_try_link
1989 cat >config.log <<_ACEOF
1990 This file contains any messages produced by compilers while
1991 running configure, to aid debugging if configure makes a mistake.
1993 It was created by gprofng $as_me 2.43.50, which was
1994 generated by GNU Autoconf 2.69. Invocation command line was
2006 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2007 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2008 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2009 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2010 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2012 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2013 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2015 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2016 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2017 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2018 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2019 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2020 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2021 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2029 test -z "$as_dir" && as_dir=.
2030 $as_echo "PATH: $as_dir"
2046 # Keep a trace of the command line.
2047 # Strip out --no-create and --no-recursion so they do not pile up.
2048 # Strip out --silent because we don't want to record it for future runs.
2049 # Also quote any args containing shell meta-characters.
2050 # Make two passes to allow for proper duplicate-argument suppression.
2054 ac_must_keep_next=false
2060 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2062 | -silent | --silent | --silen | --sile | --sil)
2065 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2068 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2070 as_fn_append ac_configure_args1 " '$ac_arg'"
2071 if test $ac_must_keep_next = true; then
2072 ac_must_keep_next=false # Got value, back to normal.
2075 *=* | --config-cache | -C | -disable-* | --disable-* \
2076 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2077 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2078 | -with-* | --with-* | -without-* | --without-* | --x)
2079 case "$ac_configure_args0 " in
2080 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2083 -* ) ac_must_keep_next=true ;;
2086 as_fn_append ac_configure_args " '$ac_arg'"
2091 { ac_configure_args0=; unset ac_configure_args0;}
2092 { ac_configure_args1=; unset ac_configure_args1;}
2094 # When interrupted or exit'd, cleanup temporary files, and complete
2095 # config.log. We remove comments because anyway the quotes in there
2096 # would cause problems or look ugly.
2097 # WARNING: Use '\'' to represent an apostrophe within the trap.
2098 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2099 trap 'exit_status=$?
2100 # Save into config.log some information that might help in debugging.
2104 $as_echo "## ---------------- ##
2105 ## Cache variables. ##
2106 ## ---------------- ##"
2108 # The following way of writing the cache mishandles newlines in values,
2110 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2111 eval ac_val=\$$ac_var
2115 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2116 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2119 _ | IFS | as_nl) ;; #(
2120 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2121 *) { eval $ac_var=; unset $ac_var;} ;;
2126 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2127 *${as_nl}ac_space=\ *)
2129 "s/'\''/'\''\\\\'\'''\''/g;
2130 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2133 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2140 $as_echo "## ----------------- ##
2141 ## Output variables. ##
2142 ## ----------------- ##"
2144 for ac_var in $ac_subst_vars
2146 eval ac_val=\$$ac_var
2148 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2150 $as_echo "$ac_var='\''$ac_val'\''"
2154 if test -n "$ac_subst_files"; then
2155 $as_echo "## ------------------- ##
2156 ## File substitutions. ##
2157 ## ------------------- ##"
2159 for ac_var in $ac_subst_files
2161 eval ac_val=\$$ac_var
2163 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2165 $as_echo "$ac_var='\''$ac_val'\''"
2170 if test -s confdefs.h; then
2171 $as_echo "## ----------- ##
2178 test "$ac_signal" != 0 &&
2179 $as_echo "$as_me: caught signal $ac_signal"
2180 $as_echo "$as_me: exit $exit_status"
2182 rm -f core *.core core.conftest.* &&
2183 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2186 for ac_signal in 1 2 13 15; do
2187 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2191 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2192 rm -f -r conftest* confdefs.h
2194 $as_echo "/* confdefs.h */" > confdefs.h
2196 # Predefined preprocessor variables.
2198 cat >>confdefs.h <<_ACEOF
2199 #define PACKAGE_NAME "$PACKAGE_NAME"
2202 cat >>confdefs.h <<_ACEOF
2203 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2206 cat >>confdefs.h <<_ACEOF
2207 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2210 cat >>confdefs.h <<_ACEOF
2211 #define PACKAGE_STRING "$PACKAGE_STRING"
2214 cat >>confdefs.h <<_ACEOF
2215 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2218 cat >>confdefs.h <<_ACEOF
2219 #define PACKAGE_URL "$PACKAGE_URL"
2223 # Let the site file select an alternate cache file if it wants to.
2224 # Prefer an explicitly selected file to automatically selected ones.
2227 if test -n "$CONFIG_SITE"; then
2228 # We do not want a PATH search for config.site.
2229 case $CONFIG_SITE in #((
2230 -*) ac_site_file1=./$CONFIG_SITE;;
2231 */*) ac_site_file1=$CONFIG_SITE;;
2232 *) ac_site_file1=./$CONFIG_SITE;;
2234 elif test "x$prefix" != xNONE; then
2235 ac_site_file1=$prefix/share/config.site
2236 ac_site_file2=$prefix/etc/config.site
2238 ac_site_file1=$ac_default_prefix/share/config.site
2239 ac_site_file2=$ac_default_prefix/etc/config.site
2241 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2243 test "x$ac_site_file" = xNONE && continue
2244 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2246 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2247 sed 's/^/| /' "$ac_site_file" >&5
2249 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2251 as_fn_error $? "failed to load site
script $ac_site_file
2252 See \
`config.log' for more details" "$LINENO" 5; }
2256 if test -r "$cache_file"; then
2257 # Some versions of bash will fail to source /dev/null (special files
2258 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2259 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2261 $as_echo "$as_me: loading cache $cache_file" >&6;}
2263 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2264 *) . "./$cache_file";;
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2269 $as_echo "$as_me: creating cache $cache_file" >&6;}
2273 # Check that the precious variables saved in the cache have kept the same
2275 ac_cache_corrupted=false
2276 for ac_var in $ac_precious_vars; do
2277 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2278 eval ac_new_set=\$ac_env_${ac_var}_set
2279 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2280 eval ac_new_val=\$ac_env_${ac_var}_value
2281 case $ac_old_set,$ac_new_set in
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2284 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2285 ac_cache_corrupted=: ;;
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2288 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2289 ac_cache_corrupted=: ;;
2292 if test "x$ac_old_val" != "x$ac_new_val"; then
2293 # differences in whitespace do not lead to failure.
2294 ac_old_val_w=`echo x
$ac_old_val`
2295 ac_new_val_w=`echo x
$ac_new_val`
2296 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2298 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2299 ac_cache_corrupted=:
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2302 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2303 eval $ac_var=\$ac_old_val
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2306 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2308 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2311 # Pass precious variables to config.status.
2312 if test "$ac_new_set" = set; then
2314 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2315 *) ac_arg=$ac_var=$ac_new_val ;;
2317 case " $ac_configure_args " in
2318 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2319 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2323 if $ac_cache_corrupted; then
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_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2327 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2328 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2330 ## -------------------- ##
2331 ## Main body of script. ##
2332 ## -------------------- ##
2335 ac_cpp='$CPP $CPPFLAGS'
2336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2346 for ac_dir in ../.. "$srcdir"/../..; do
2347 if test -f "$ac_dir/install-sh"; then
2349 ac_install_sh="$ac_aux_dir/install-sh -c"
2351 elif test -f "$ac_dir/install.sh"; then
2353 ac_install_sh="$ac_aux_dir/install.sh -c"
2355 elif test -f "$ac_dir/shtool"; then
2357 ac_install_sh="$ac_aux_dir/shtool install -c"
2361 if test -z "$ac_aux_dir"; then
2362 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
2365 # These three variables are undocumented and unsupported,
2366 # and are intended to be withdrawn in a future Autoconf release.
2367 # They can cause serious problems if a builder's source tree is in a directory
2368 # whose full name contains unusual characters.
2369 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2370 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2371 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2374 # Make sure we can run config.sub.
2375 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2376 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2379 $as_echo_n "checking build system type... " >&6; }
2380 if ${ac_cv_build+:} false; then :
2381 $as_echo_n "(cached) " >&6
2383 ac_build_alias=$build_alias
2384 test "x$ac_build_alias" = x &&
2385 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2386 test "x$ac_build_alias" = x &&
2387 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2388 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2389 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2393 $as_echo "$ac_cv_build" >&6; }
2394 case $ac_cv_build in
2396 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2399 ac_save_IFS=$IFS; IFS='-'
2405 # Remember, the first character of IFS is used to create $*,
2406 # except with old shells:
2409 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2413 $as_echo_n "checking host system type... " >&6; }
2414 if ${ac_cv_host+:} false; then :
2415 $as_echo_n "(cached) " >&6
2417 if test "x$host_alias" = x; then
2418 ac_cv_host=$ac_cv_build
2420 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2421 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2426 $as_echo "$ac_cv_host" >&6; }
2429 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2432 ac_save_IFS=$IFS; IFS='-'
2438 # Remember, the first character of IFS is used to create $*,
2439 # except with old shells:
2442 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2446 $as_echo_n "checking target system type... " >&6; }
2447 if ${ac_cv_target+:} false; then :
2448 $as_echo_n "(cached) " >&6
2450 if test "x$target_alias" = x; then
2451 ac_cv_target=$ac_cv_host
2453 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2454 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2459 $as_echo "$ac_cv_target" >&6; }
2460 case $ac_cv_target in
2462 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2464 target=$ac_cv_target
2465 ac_save_IFS=$IFS; IFS='-'
2471 # Remember, the first character of IFS is used to create $*,
2472 # except with old shells:
2475 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2478 # The aliases save the names the user supplied, while $host etc.
2479 # will get canonicalized.
2480 test -n "$target_alias" &&
2481 test "$program_prefix$program_suffix$program_transform_name" = \
2483 program_prefix=${target_alias}-
2484 am__api_version='1.15'
2486 # Find a good install program. We prefer a C program (faster),
2487 # so one script is as good as another. But avoid the broken or
2488 # incompatible versions:
2489 # SysV /etc/install, /usr/sbin/install
2490 # SunOS /usr/etc/install
2491 # IRIX /sbin/install
2493 # AmigaOS /C/install, which installs bootblocks on floppy discs
2494 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2495 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2496 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2497 # OS/2's system install, which has a completely different semantic
2498 # ./install, which can be erroneously created by make from ./install.sh.
2499 # Reject install programs that cannot install multiple files.
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2501 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2502 if test -z "$INSTALL"; then
2503 if ${ac_cv_path_install+:} false; then :
2504 $as_echo_n "(cached) " >&6
2506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2510 test -z "$as_dir" && as_dir=.
2511 # Account for people who put trailing slashes in PATH elements.
2512 case $as_dir/ in #((
2513 ./ | .// | /[cC]/* | \
2514 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2515 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2518 # OSF1 and SCO ODT 3.0 have their own names for install.
2519 # Don't use installbsd from OSF since it installs stuff as root
2521 for ac_prog in ginstall scoinst install; do
2522 for ac_exec_ext in '' $ac_executable_extensions; do
2523 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2524 if test $ac_prog = install &&
2525 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2526 # AIX install. It has an incompatible calling convention.
2528 elif test $ac_prog = install &&
2529 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2530 # program-specific install script used by HP pwplus--don't use.
2533 rm -rf conftest.one conftest.two conftest.dir
2534 echo one > conftest.one
2535 echo two > conftest.two
2537 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2538 test -s conftest.one && test -s conftest.two &&
2539 test -s conftest.dir/conftest.one &&
2540 test -s conftest.dir/conftest.two
2542 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2555 rm -rf conftest.one conftest.two conftest.dir
2558 if test "${ac_cv_path_install+set}" = set; then
2559 INSTALL=$ac_cv_path_install
2561 # As a last resort, use the slow shell script. Don't cache a
2562 # value for INSTALL within a source directory, because that will
2563 # break other packages using the cache if that directory is
2564 # removed, or if the value is a relative name.
2565 INSTALL=$ac_install_sh
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2569 $as_echo "$INSTALL" >&6; }
2571 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2572 # It thinks the first close brace ends the variable substitution.
2573 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2575 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2577 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2580 $as_echo_n "checking whether build environment is sane... " >&6; }
2581 # Reject unsafe characters in $srcdir or the absolute working directory
2582 # name. Accept space and tab only in the latter.
2586 *[\\\"\#\$\&\'\`$am_lf]*)
2587 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2590 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2591 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2594 # Do 'set' in a subshell so we don't clobber the current shell's
2595 # arguments. Must try -L first in case configure is actually a
2596 # symlink; some systems play weird games with the mod time of symlinks
2597 # (eg FreeBSD returns the mod time of the symlink's containing
2601 for am_try
in 1 2; do
2602 echo "timestamp, slept: $am_has_slept" > conftest.
file
2603 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2604 if test "$*" = "X"; then
2606 set X
`ls -t "$srcdir/configure" conftest.file`
2608 if test "$*" != "X $srcdir/configure conftest.file" \
2609 && test "$*" != "X conftest.file $srcdir/configure"; then
2611 # If neither matched, then we have a broken ls. This can happen
2612 # if, for instance, CONFIG_SHELL is bash and it inherits a
2613 # broken ls alias from the environment. This has actually
2614 # happened. Such a system could not be considered "sane".
2615 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2616 alias in your environment" "$LINENO" 5
2618 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2625 test "$2" = conftest.
file
2631 as_fn_error $?
"newly created file is older than distributed files!
2632 Check your system clock" "$LINENO" 5
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2635 $as_echo "yes" >&6; }
2636 # If we didn't sleep, we still need to ensure time stamps of config.status and
2637 # generated files are strictly newer.
2639 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2646 test "$program_prefix" != NONE
&&
2647 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2648 # Use a double $ so make ignores it.
2649 test "$program_suffix" != NONE
&&
2650 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2651 # Double any \ or $.
2652 # By default was `s,x,x', remove it if useless.
2653 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2654 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2656 # Expand $ac_aux_dir to an absolute path.
2657 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2659 if test x
"${MISSING+set}" != xset
; then
2662 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2664 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2667 # Use eval to expand $SHELL
2668 if eval "$MISSING --is-lightweight"; then
2669 am_missing_run
="$MISSING "
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2673 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2676 if test x
"${install_sh+set}" != xset
; then
2679 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2681 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2685 # Installed binaries are usually stripped using 'strip' when the user
2686 # run "make install-strip". However 'strip' might not be the right
2687 # tool to use in cross-compilation environments, therefore Automake
2688 # will honor the 'STRIP' environment variable to overrule this program.
2689 if test "$cross_compiling" != no
; then
2690 if test -n "$ac_tool_prefix"; then
2691 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2692 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2694 $as_echo_n "checking for $ac_word... " >&6; }
2695 if ${ac_cv_prog_STRIP+:} false
; then :
2696 $as_echo_n "(cached) " >&6
2698 if test -n "$STRIP"; then
2699 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2705 test -z "$as_dir" && as_dir
=.
2706 for ac_exec_ext
in '' $ac_executable_extensions; do
2707 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2708 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2718 STRIP
=$ac_cv_prog_STRIP
2719 if test -n "$STRIP"; then
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2721 $as_echo "$STRIP" >&6; }
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2724 $as_echo "no" >&6; }
2729 if test -z "$ac_cv_prog_STRIP"; then
2731 # Extract the first word of "strip", so it can be a program name with args.
2732 set dummy strip
; ac_word
=$2
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2734 $as_echo_n "checking for $ac_word... " >&6; }
2735 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2736 $as_echo_n "(cached) " >&6
2738 if test -n "$ac_ct_STRIP"; then
2739 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2745 test -z "$as_dir" && as_dir
=.
2746 for ac_exec_ext
in '' $ac_executable_extensions; do
2747 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2748 ac_cv_prog_ac_ct_STRIP
="strip"
2749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2758 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2759 if test -n "$ac_ct_STRIP"; then
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2761 $as_echo "$ac_ct_STRIP" >&6; }
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2764 $as_echo "no" >&6; }
2767 if test "x$ac_ct_STRIP" = x
; then
2770 case $cross_compiling:$ac_tool_warned in
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2774 ac_tool_warned
=yes ;;
2779 STRIP
="$ac_cv_prog_STRIP"
2783 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2786 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2787 if test -z "$MKDIR_P"; then
2788 if ${ac_cv_path_mkdir+:} false
; then :
2789 $as_echo_n "(cached) " >&6
2791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2792 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2795 test -z "$as_dir" && as_dir
=.
2796 for ac_prog
in mkdir gmkdir
; do
2797 for ac_exec_ext
in '' $ac_executable_extensions; do
2798 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2799 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2800 'mkdir (GNU coreutils) '* | \
2801 'mkdir (coreutils) '* | \
2802 'mkdir (fileutils) '4.1*)
2803 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2813 test -d .
/--version && rmdir .
/--version
2814 if test "${ac_cv_path_mkdir+set}" = set; then
2815 MKDIR_P
="$ac_cv_path_mkdir -p"
2817 # As a last resort, use the slow shell script. Don't cache a
2818 # value for MKDIR_P within a source directory, because that will
2819 # break other packages using the cache if that directory is
2820 # removed, or if the value is a relative name.
2821 MKDIR_P
="$ac_install_sh -d"
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2825 $as_echo "$MKDIR_P" >&6; }
2827 for ac_prog
in gawk mawk nawk
awk
2829 # Extract the first word of "$ac_prog", so it can be a program name with args.
2830 set dummy
$ac_prog; ac_word
=$2
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2832 $as_echo_n "checking for $ac_word... " >&6; }
2833 if ${ac_cv_prog_AWK+:} false
; then :
2834 $as_echo_n "(cached) " >&6
2836 if test -n "$AWK"; then
2837 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2843 test -z "$as_dir" && as_dir
=.
2844 for ac_exec_ext
in '' $ac_executable_extensions; do
2845 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2846 ac_cv_prog_AWK
="$ac_prog"
2847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2857 if test -n "$AWK"; then
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2859 $as_echo "$AWK" >&6; }
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2862 $as_echo "no" >&6; }
2866 test -n "$AWK" && break
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2870 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2872 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2873 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2874 $as_echo_n "(cached) " >&6
2876 cat >conftest.
make <<\_ACEOF
2879 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2881 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2882 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2884 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2886 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2890 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2892 $as_echo "yes" >&6; }
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2896 $as_echo "no" >&6; }
2897 SET_MAKE
="MAKE=${MAKE-make}"
2900 rm -rf .tst
2>/dev
/null
2901 mkdir .tst
2>/dev
/null
2902 if test -d .tst
; then
2907 rmdir .tst
2>/dev
/null
2909 # Check whether --enable-silent-rules was given.
2910 if test "${enable_silent_rules+set}" = set; then :
2911 enableval
=$enable_silent_rules;
2914 case $enable_silent_rules in # (((
2915 yes) AM_DEFAULT_VERBOSITY
=0;;
2916 no
) AM_DEFAULT_VERBOSITY
=1;;
2917 *) AM_DEFAULT_VERBOSITY
=1;;
2919 am_make
=${MAKE-make}
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2921 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2922 if ${am_cv_make_support_nested_variables+:} false
; then :
2923 $as_echo_n "(cached) " >&6
2925 if $as_echo 'TRUE=$(BAR$(V))
2931 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2932 am_cv_make_support_nested_variables
=yes
2934 am_cv_make_support_nested_variables
=no
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2938 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2939 if test $am_cv_make_support_nested_variables = yes; then
2941 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2943 AM_V
=$AM_DEFAULT_VERBOSITY
2944 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2948 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2949 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2950 # is not polluted with repeated "-I."
2951 am__isrc
=' -I$(srcdir)'
2952 # test to see if srcdir already configured
2953 if test -f $srcdir/config.status
; then
2954 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2958 # test whether we have cygpath
2959 if test -z "$CYGPATH_W"; then
2960 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2961 CYGPATH_W
='cygpath -w'
2968 # Define the identity of the package.
2973 cat >>confdefs.h
<<_ACEOF
2974 #define PACKAGE "$PACKAGE"
2978 cat >>confdefs.h
<<_ACEOF
2979 #define VERSION "$VERSION"
2982 # Some tools Automake needs.
2984 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2987 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2990 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2993 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2996 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2998 # For better backward compatibility. To be removed once Automake 1.9.x
2999 # dies out for good. For more background, see:
3000 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3001 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3002 mkdir_p
='$(MKDIR_P)'
3004 # We need awk for the "check" target (and possibly the TAP driver). The
3005 # system "awk" is bad on some platforms.
3006 # Always define AMTAR for backward compatibility. Yes, it's still used
3007 # in the wild :-( We should find a proper way to deprecate it ...
3011 # We'll loop over all known methods to create a tar archive until one works.
3012 _am_tools
='gnutar pax cpio none'
3014 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3021 # POSIX will say in a future version that running "rm -f" with no argument
3022 # is OK; and we want to be able to make that assumption in our Makefile
3023 # recipes. So use an aggressive probe to check that the usage we want is
3024 # actually supported "in the wild" to an acceptable degree.
3025 # See automake bug#10828.
3026 # To make any issue more visible, cause the running configure to be aborted
3027 # by default if the 'rm' program in use doesn't match our expectations; the
3028 # user can still override this though.
3029 if rm -f && rm -fr && rm -rf; then : OK
; else
3033 Your 'rm' program seems unable to run without file operands specified
3034 on the command line, even when the '-f' option is present. This is contrary
3035 to the behaviour of most rm programs out there, and not conforming with
3036 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3038 Please tell bug-automake@gnu.org about your system, including the value
3039 of your $PATH and any error possibly output before this message. This
3040 can help us improve future automake versions.
3043 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3044 echo 'Configuration will proceed anyway, since you have set the' >&2
3045 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3049 Aborting the configuration process, to ensure you take notice of the issue.
3051 You can download and install GNU coreutils to get an 'rm' implementation
3052 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3054 If you want to complete the configuration process using your problematic
3055 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3056 to "yes", and re-run configure.
3059 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3065 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3066 # Check whether --enable-maintainer-mode was given.
3067 if test "${enable_maintainer_mode+set}" = set; then :
3068 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3070 USE_MAINTAINER_MODE
=no
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3074 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3075 if test $USE_MAINTAINER_MODE = yes; then
3076 MAINTAINER_MODE_TRUE
=
3077 MAINTAINER_MODE_FALSE
='#'
3079 MAINTAINER_MODE_TRUE
='#'
3080 MAINTAINER_MODE_FALSE
=
3083 MAINT
=$MAINTAINER_MODE_TRUE
3089 DEPDIR
="${am__leading_dot}deps"
3091 ac_config_commands
="$ac_config_commands depfiles"
3094 am_make
=${MAKE-make}
3095 cat > confinc
<< 'END'
3097 @
echo this is the am__doit target
3100 # If we don't find an include directive, just comment out the code.
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3102 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3106 # First try GNU make style include.
3107 echo "include confinc" > confmf
3108 # Ignore all kinds of additional output from 'make'.
3109 case `$am_make -s -f confmf 2> /dev/null` in #(
3110 *the\ am__doit\ target
*)
3116 # Now try BSD make style include.
3117 if test "$am__include" = "#"; then
3118 echo '.include "confinc"' > confmf
3119 case `$am_make -s -f confmf 2> /dev/null` in #(
3120 *the\ am__doit\ target
*)
3121 am__include
=.include
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3130 $as_echo "$_am_result" >&6; }
3131 rm -f confinc confmf
3133 # Check whether --enable-dependency-tracking was given.
3134 if test "${enable_dependency_tracking+set}" = set; then :
3135 enableval
=$enable_dependency_tracking;
3138 if test "x$enable_dependency_tracking" != xno
; then
3139 am_depcomp
="$ac_aux_dir/depcomp"
3143 if test "x$enable_dependency_tracking" != xno; then
3153 ac_cpp
='$CPP $CPPFLAGS'
3154 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3155 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3156 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3157 if test -n "$ac_tool_prefix"; then
3158 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3159 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3161 $as_echo_n "checking for $ac_word... " >&6; }
3162 if ${ac_cv_prog_CC+:} false
; then :
3163 $as_echo_n "(cached) " >&6
3165 if test -n "$CC"; then
3166 ac_cv_prog_CC
="$CC" # Let the user override the test.
3168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3172 test -z "$as_dir" && as_dir
=.
3173 for ac_exec_ext
in '' $ac_executable_extensions; do
3174 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3175 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3186 if test -n "$CC"; then
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3188 $as_echo "$CC" >&6; }
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3191 $as_echo "no" >&6; }
3196 if test -z "$ac_cv_prog_CC"; then
3198 # Extract the first word of "gcc", so it can be a program name with args.
3199 set dummy gcc
; ac_word
=$2
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3201 $as_echo_n "checking for $ac_word... " >&6; }
3202 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3203 $as_echo_n "(cached) " >&6
3205 if test -n "$ac_ct_CC"; then
3206 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3212 test -z "$as_dir" && as_dir
=.
3213 for ac_exec_ext
in '' $ac_executable_extensions; do
3214 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3215 ac_cv_prog_ac_ct_CC
="gcc"
3216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3225 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3226 if test -n "$ac_ct_CC"; then
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3228 $as_echo "$ac_ct_CC" >&6; }
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3231 $as_echo "no" >&6; }
3234 if test "x$ac_ct_CC" = x
; then
3237 case $cross_compiling:$ac_tool_warned in
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3240 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3241 ac_tool_warned
=yes ;;
3249 if test -z "$CC"; then
3250 if test -n "$ac_tool_prefix"; then
3251 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3252 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3254 $as_echo_n "checking for $ac_word... " >&6; }
3255 if ${ac_cv_prog_CC+:} false
; then :
3256 $as_echo_n "(cached) " >&6
3258 if test -n "$CC"; then
3259 ac_cv_prog_CC
="$CC" # Let the user override the test.
3261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3265 test -z "$as_dir" && as_dir
=.
3266 for ac_exec_ext
in '' $ac_executable_extensions; do
3267 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3268 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3279 if test -n "$CC"; then
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3281 $as_echo "$CC" >&6; }
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3284 $as_echo "no" >&6; }
3290 if test -z "$CC"; then
3291 # Extract the first word of "cc", so it can be a program name with args.
3292 set dummy cc
; ac_word
=$2
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3294 $as_echo_n "checking for $ac_word... " >&6; }
3295 if ${ac_cv_prog_CC+:} false
; then :
3296 $as_echo_n "(cached) " >&6
3298 if test -n "$CC"; then
3299 ac_cv_prog_CC
="$CC" # Let the user override the test.
3302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3306 test -z "$as_dir" && as_dir
=.
3307 for ac_exec_ext
in '' $ac_executable_extensions; do
3308 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3309 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3310 ac_prog_rejected
=yes
3314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3321 if test $ac_prog_rejected = yes; then
3322 # We found a bogon in the path, so make sure we never use it.
3323 set dummy
$ac_cv_prog_CC
3325 if test $# != 0; then
3326 # We chose a different compiler from the bogus one.
3327 # However, it has the same basename, so the bogon will be chosen
3328 # first if we set CC to just the basename; use the full file name.
3330 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3336 if test -n "$CC"; then
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3338 $as_echo "$CC" >&6; }
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3341 $as_echo "no" >&6; }
3346 if test -z "$CC"; then
3347 if test -n "$ac_tool_prefix"; then
3348 for ac_prog
in cl.exe
3350 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3351 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3353 $as_echo_n "checking for $ac_word... " >&6; }
3354 if ${ac_cv_prog_CC+:} false
; then :
3355 $as_echo_n "(cached) " >&6
3357 if test -n "$CC"; then
3358 ac_cv_prog_CC
="$CC" # Let the user override the test.
3360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3364 test -z "$as_dir" && as_dir
=.
3365 for ac_exec_ext
in '' $ac_executable_extensions; do
3366 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3367 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3378 if test -n "$CC"; then
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3380 $as_echo "$CC" >&6; }
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3383 $as_echo "no" >&6; }
3387 test -n "$CC" && break
3390 if test -z "$CC"; then
3392 for ac_prog
in cl.exe
3394 # Extract the first word of "$ac_prog", so it can be a program name with args.
3395 set dummy
$ac_prog; ac_word
=$2
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3397 $as_echo_n "checking for $ac_word... " >&6; }
3398 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3399 $as_echo_n "(cached) " >&6
3401 if test -n "$ac_ct_CC"; then
3402 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3408 test -z "$as_dir" && as_dir
=.
3409 for ac_exec_ext
in '' $ac_executable_extensions; do
3410 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3411 ac_cv_prog_ac_ct_CC
="$ac_prog"
3412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3421 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3422 if test -n "$ac_ct_CC"; then
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3424 $as_echo "$ac_ct_CC" >&6; }
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3427 $as_echo "no" >&6; }
3431 test -n "$ac_ct_CC" && break
3434 if test "x$ac_ct_CC" = x
; then
3437 case $cross_compiling:$ac_tool_warned in
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3440 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3441 ac_tool_warned
=yes ;;
3450 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3452 as_fn_error $?
"no acceptable C compiler found in \$PATH
3453 See \`config.log' for more details" "$LINENO" 5; }
3455 # Provide some information about the compiler.
3456 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3459 for ac_option
in --version -v -V -qversion; do
3460 { { ac_try
="$ac_compiler $ac_option >&5"
3462 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3463 *) ac_try_echo=$ac_try;;
3465 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3466 $as_echo "$ac_try_echo"; } >&5
3467 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3469 if test -s conftest.err; then
3471 ... rest of stderr output deleted ...
3472 10q' conftest.err >conftest.er1
3473 cat conftest.er1 >&5
3475 rm -f conftest.er1 conftest.err
3476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3477 test $ac_status = 0; }
3480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3481 /* end confdefs.h. */
3491 ac_clean_files_save=$ac_clean_files
3492 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3493 # Try to create an executable without -o first, disregard a.out.
3494 # It will help us diagnose broken compilers, and finding out an intuition
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3497 $as_echo_n "checking whether the C compiler works... " >&6; }
3498 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3500 # The possible output files:
3501 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3504 for ac_file in $ac_files
3507 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3508 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3513 if { { ac_try="$ac_link_default"
3515 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3516 *) ac_try_echo
=$ac_try;;
3518 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3519 $as_echo "$ac_try_echo"; } >&5
3520 (eval "$ac_link_default") 2>&5
3522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3523 test $ac_status = 0; }; then :
3524 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3525 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3526 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3527 # so that the user can short-circuit this test for compilers unknown to
3529 for ac_file
in $ac_files ''
3531 test -f "$ac_file" ||
continue
3533 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3536 # We found the default executable, but exeext='' is most
3540 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3542 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3544 # We set ac_cv_exeext here because the later test for it is not
3545 # safe: cross compilers may not add the suffix if given an `-o'
3546 # argument, so we may need to know it at that point already.
3547 # Even if this section looks crufty: it has the advantage of
3554 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3559 if test -z "$ac_file"; then :
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3561 $as_echo "no" >&6; }
3562 $as_echo "$as_me: failed program was:" >&5
3563 sed 's/^/| /' conftest.
$ac_ext >&5
3565 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3566 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3567 as_fn_error
77 "C compiler cannot create executables
3568 See \`config.log' for more details" "$LINENO" 5; }
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3571 $as_echo "yes" >&6; }
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3574 $as_echo_n "checking for C compiler default output file name... " >&6; }
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3576 $as_echo "$ac_file" >&6; }
3577 ac_exeext
=$ac_cv_exeext
3579 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3580 ac_clean_files
=$ac_clean_files_save
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3582 $as_echo_n "checking for suffix of executables... " >&6; }
3583 if { { ac_try
="$ac_link"
3585 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3586 *) ac_try_echo=$ac_try;;
3588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3589 $as_echo "$ac_try_echo"; } >&5
3590 (eval "$ac_link") 2>&5
3592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3593 test $ac_status = 0; }; then :
3594 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3595 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3596 # work properly (i.e., refer to `conftest.exe'), while it won't with
3598 for ac_file
in conftest.exe conftest conftest.
*; do
3599 test -f "$ac_file" ||
continue
3601 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3602 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3608 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3609 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3610 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3611 See \`config.log' for more details" "$LINENO" 5; }
3613 rm -f conftest conftest
$ac_cv_exeext
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3615 $as_echo "$ac_cv_exeext" >&6; }
3617 rm -f conftest.
$ac_ext
3618 EXEEXT
=$ac_cv_exeext
3620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3621 /* end confdefs.h. */
3626 FILE *f = fopen ("conftest.out", "w");
3627 return ferror (f) || fclose (f) != 0;
3633 ac_clean_files
="$ac_clean_files conftest.out"
3634 # Check that the compiler produces executables we can run. If not, either
3635 # the compiler is broken, or we cross compile.
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3637 $as_echo_n "checking whether we are cross compiling... " >&6; }
3638 if test "$cross_compiling" != yes; then
3639 { { ac_try
="$ac_link"
3641 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3642 *) ac_try_echo=$ac_try;;
3644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3645 $as_echo "$ac_try_echo"; } >&5
3646 (eval "$ac_link") 2>&5
3648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3649 test $ac_status = 0; }
3650 if { ac_try='./conftest$ac_cv_exeext'
3651 { { case "(($ac_try" in
3652 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3653 *) ac_try_echo
=$ac_try;;
3655 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3656 $as_echo "$ac_try_echo"; } >&5
3657 (eval "$ac_try") 2>&5
3659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3660 test $ac_status = 0; }; }; then
3663 if test "$cross_compiling" = maybe
; then
3666 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3667 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3668 as_fn_error $?
"cannot run C compiled programs.
3669 If you meant to cross compile, use \`--host'.
3670 See \`config.log' for more details" "$LINENO" 5; }
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3675 $as_echo "$cross_compiling" >&6; }
3677 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3678 ac_clean_files
=$ac_clean_files_save
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3680 $as_echo_n "checking for suffix of object files... " >&6; }
3681 if ${ac_cv_objext+:} false
; then :
3682 $as_echo_n "(cached) " >&6
3684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3685 /* end confdefs.h. */
3695 rm -f conftest.o conftest.obj
3696 if { { ac_try
="$ac_compile"
3698 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3699 *) ac_try_echo=$ac_try;;
3701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3702 $as_echo "$ac_try_echo"; } >&5
3703 (eval "$ac_compile") 2>&5
3705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3706 test $ac_status = 0; }; then :
3707 for ac_file in conftest.o conftest.obj conftest.*; do
3708 test -f "$ac_file" || continue;
3710 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3711 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3716 $as_echo "$as_me: failed program was:" >&5
3717 sed 's/^/| /' conftest.$ac_ext >&5
3719 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3720 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3721 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3722 See \
`config.log' for more details" "$LINENO" 5; }
3724 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3727 $as_echo "$ac_cv_objext" >&6; }
3728 OBJEXT=$ac_cv_objext
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3731 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3732 if ${ac_cv_c_compiler_gnu+:} false; then :
3733 $as_echo_n "(cached) " >&6
3735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3736 /* end confdefs.h. */
3749 if ac_fn_c_try_compile "$LINENO"; then :
3754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3755 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3759 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3760 if test $ac_compiler_gnu = yes; then
3765 ac_test_CFLAGS=${CFLAGS+set}
3766 ac_save_CFLAGS=$CFLAGS
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3768 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3769 if ${ac_cv_prog_cc_g+:} false; then :
3770 $as_echo_n "(cached) " >&6
3772 ac_save_c_werror_flag=$ac_c_werror_flag
3773 ac_c_werror_flag=yes
3776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3777 /* end confdefs.h. */
3787 if ac_fn_c_try_compile "$LINENO"; then :
3791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3792 /* end confdefs.h. */
3802 if ac_fn_c_try_compile "$LINENO"; then :
3805 ac_c_werror_flag=$ac_save_c_werror_flag
3807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3808 /* end confdefs.h. */
3818 if ac_fn_c_try_compile "$LINENO"; then :
3821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3826 ac_c_werror_flag=$ac_save_c_werror_flag
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3829 $as_echo "$ac_cv_prog_cc_g" >&6; }
3830 if test "$ac_test_CFLAGS" = set; then
3831 CFLAGS=$ac_save_CFLAGS
3832 elif test $ac_cv_prog_cc_g = yes; then
3833 if test "$GCC" = yes; then
3839 if test "$GCC" = yes; then
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3846 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3847 if ${ac_cv_prog_cc_c89+:} false; then :
3848 $as_echo_n "(cached) " >&6
3850 ac_cv_prog_cc_c89=no
3852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3853 /* end confdefs.h. */
3857 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3858 struct buf { int x; };
3859 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3860 static char *e (p, i)
3866 static char *f (char * (*g) (char **, int), char **p, ...)
3871 s = g (p, va_arg (v,int));
3876 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3877 function prototypes and stuff, but not '\xHH' hex character constants.
3878 These don't provoke an error unfortunately, instead are silently treated
3879 as 'x'. The following induces an error, until -std is added to get
3880 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3881 array size at least. It's necessary to write '\x00'==0 to get something
3882 that's true only with -std. */
3883 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3885 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3886 inside strings and character constants. */
3888 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3890 int test (int i, double x);
3891 struct s1 {int (*f) (int a);};
3892 struct s2 {int (*f) (double a);};
3893 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3899 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3904 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3905 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3907 CC="$ac_save_CC $ac_arg"
3908 if ac_fn_c_try_compile "$LINENO"; then :
3909 ac_cv_prog_cc_c89=$ac_arg
3911 rm -f core conftest.err conftest.$ac_objext
3912 test "x$ac_cv_prog_cc_c89" != "xno" && break
3914 rm -f conftest.$ac_ext
3919 case "x$ac_cv_prog_cc_c89" in
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3922 $as_echo "none needed" >&6; } ;;
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3925 $as_echo "unsupported" >&6; } ;;
3927 CC="$CC $ac_cv_prog_cc_c89"
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3929 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3931 if test "x$ac_cv_prog_cc_c89" != xno; then :
3936 ac_cpp='$CPP $CPPFLAGS'
3937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3942 ac_cpp='$CPP $CPPFLAGS'
3943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3947 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3948 if ${am_cv_prog_cc_c_o+:} false; then :
3949 $as_echo_n "(cached) " >&6
3951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3952 /* end confdefs.h. */
3962 # Make sure it works both with $CC and with simple cc.
3963 # Following AC_PROG_CC_C_O, we do the test twice because some
3964 # compilers refuse to overwrite an existing .o file with -o,
3965 # though they will create one.
3966 am_cv_prog_cc_c_o=yes
3968 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3969 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3972 (exit $ac_status); } \
3973 && test -f conftest2.$ac_objext; then
3976 am_cv_prog_cc_c_o=no
3980 rm -f core conftest*
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3984 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3985 if test "$am_cv_prog_cc_c_o" != yes; then
3986 # Losing compiler, so override with the script.
3987 # FIXME: It is wrong to rewrite CC.
3988 # But if we don't then we get into trouble of one sort or another.
3989 # A longer-term fix would be to have automake use am__CC in this case,
3990 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3991 CC="$am_aux_dir/compile $CC"
3994 ac_cpp='$CPP $CPPFLAGS'
3995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4000 depcc="$CC" am_compiler_list=
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4003 $as_echo_n "checking dependency style of $depcc... " >&6; }
4004 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4005 $as_echo_n "(cached) " >&6
4007 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4008 # We make a subdir and do the tests there. Otherwise we can end up
4009 # making bogus files that we don't know about and never remove. For
4010 # instance it was reported that on HP-UX the gcc test will end up
4011 # making a dummy file named 'D' -- because '-MD' means "put the output
4015 # Copy depcomp to subdir because otherwise we won't find it if we're
4016 # using a relative directory.
4017 cp "$am_depcomp" conftest.dir
4019 # We will build objects and dependencies in a subdirectory because
4020 # it helps to detect inapplicable dependency modes. For instance
4021 # both Tru64's cc and ICC support -MD to output dependencies as a
4022 # side effect of compilation, but ICC will put the dependencies in
4023 # the current directory while Tru64 will put them in the object
4027 am_cv_CC_dependencies_compiler_type=none
4028 if test "$am_compiler_list" = ""; then
4029 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4032 case " $depcc " in #(
4033 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4036 for depmode in $am_compiler_list; do
4037 # Setup a source with many dependencies, because some compilers
4038 # like to wrap large dependency lists on column 80 (with \), and
4039 # we should not choose a depcomp mode which is confused by this.
4041 # We need to recreate these files for each test, as the compiler may
4042 # overwrite some of them when testing with obscure command lines.
4043 # This happens at least with the AIX C compiler.
4045 for i in 1 2 3 4 5 6; do
4046 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4047 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4048 # Solaris 10 /bin/sh.
4049 echo '/* dummy */' > sub/conftst$i.h
4051 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4053 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4054 # mode. It turns out that the SunPro C++ compiler does not properly
4055 # handle '-M -o', and we need to detect this. Also, some Intel
4056 # versions had trouble with output in subdirs.
4057 am__obj=sub/conftest.${OBJEXT-o}
4058 am__minus_obj="-o $am__obj"
4061 # This depmode causes a compiler race in universal mode.
4062 test "$am__universal" = false || continue
4065 # After this tag, mechanisms are not by side-effect, so they'll
4066 # only be used when explicitly requested.
4067 if test "x$enable_dependency_tracking" = xyes; then
4073 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4074 # This compiler won't grok '-c -o', but also, the minuso test has
4075 # not run yet. These depmodes are late enough in the game, and
4076 # so weak that their functioning should not be impacted.
4077 am__obj=conftest.${OBJEXT-o}
4082 if depmode=$depmode \
4083 source=sub/conftest.c object=$am__obj \
4084 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4085 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4086 >/dev/null 2>conftest.err &&
4087 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4088 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4089 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4090 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4091 # icc doesn't choke on unknown options, it will just issue warnings
4092 # or remarks (even with -Werror). So we grep stderr for any message
4093 # that says an option was ignored or not supported.
4094 # When given -MP, icc 7.0 and 7.1 complain thusly:
4095 # icc: Command line warning: ignoring option '-M'; no argument required
4096 # The diagnosis changed in icc 8.0:
4097 # icc: Command line remark: option '-MP' not supported
4098 if (grep 'ignoring option' conftest.err ||
4099 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4100 am_cv_CC_dependencies_compiler_type=$depmode
4109 am_cv_CC_dependencies_compiler_type=none
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4114 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4115 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4118 test "x$enable_dependency_tracking" != xno \
4119 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4121 am__fastdepCC_FALSE='#'
4123 am__fastdepCC_TRUE='#'
4124 am__fastdepCC_FALSE=
4130 ac_cpp='$CPP $CPPFLAGS'
4131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4135 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4136 # On Suns, sometimes $CPP names a directory.
4137 if test -n "$CPP" && test -d "$CPP"; then
4140 if test -z "$CPP"; then
4141 if ${ac_cv_prog_CPP+:} false; then :
4142 $as_echo_n "(cached) " >&6
4144 # Double quotes because CPP needs to be expanded
4145 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4148 for ac_c_preproc_warn_flag in '' yes
4150 # Use a header file that comes with gcc, so configuring glibc
4151 # with a fresh cross-compiler works.
4152 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4153 # <limits.h> exists even on freestanding compilers.
4154 # On the NeXT, cc -E runs the code through the compiler's parser,
4155 # not just through cpp. "Syntax error" is here to catch this case.
4156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4157 /* end confdefs.h. */
4159 # include <limits.h>
4161 # include <assert.h>
4165 if ac_fn_c_try_cpp "$LINENO"; then :
4168 # Broken: fails on valid input.
4171 rm -f conftest.err conftest.i conftest.$ac_ext
4173 # OK, works on sane cases. Now check whether nonexistent headers
4174 # can be detected and how.
4175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4176 /* end confdefs.h. */
4177 #include <ac_nonexistent.h>
4179 if ac_fn_c_try_cpp "$LINENO"; then :
4180 # Broken: success on invalid input.
4183 # Passes both tests.
4187 rm -f conftest.err conftest.i conftest.$ac_ext
4190 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4191 rm -f conftest.i conftest.err conftest.
$ac_ext
4192 if $ac_preproc_ok; then :
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4205 $as_echo "$CPP" >&6; }
4207 for ac_c_preproc_warn_flag
in '' yes
4209 # Use a header file that comes with gcc, so configuring glibc
4210 # with a fresh cross-compiler works.
4211 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4212 # <limits.h> exists even on freestanding compilers.
4213 # On the NeXT, cc -E runs the code through the compiler's parser,
4214 # not just through cpp. "Syntax error" is here to catch this case.
4215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4216 /* end confdefs.h. */
4218 # include <limits.h>
4220 # include <assert.h>
4224 if ac_fn_c_try_cpp
"$LINENO"; then :
4227 # Broken: fails on valid input.
4230 rm -f conftest.err conftest.i conftest.
$ac_ext
4232 # OK, works on sane cases. Now check whether nonexistent headers
4233 # can be detected and how.
4234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4235 /* end confdefs.h. */
4236 #include <ac_nonexistent.h>
4238 if ac_fn_c_try_cpp
"$LINENO"; then :
4239 # Broken: success on invalid input.
4242 # Passes both tests.
4246 rm -f conftest.err conftest.i conftest.
$ac_ext
4249 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4250 rm -f conftest.i conftest.err conftest.
$ac_ext
4251 if $ac_preproc_ok; then :
4254 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4256 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4257 See \`config.log' for more details" "$LINENO" 5; }
4261 ac_cpp
='$CPP $CPPFLAGS'
4262 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4263 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4264 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4268 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4269 if ${ac_cv_path_GREP+:} false
; then :
4270 $as_echo_n "(cached) " >&6
4272 if test -z "$GREP"; then
4273 ac_path_GREP_found
=false
4274 # Loop through the user's path and test for each of PROGNAME-LIST
4275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4276 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4279 test -z "$as_dir" && as_dir
=.
4280 for ac_prog
in grep ggrep
; do
4281 for ac_exec_ext
in '' $ac_executable_extensions; do
4282 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4283 as_fn_executable_p
"$ac_path_GREP" ||
continue
4284 # Check for GNU ac_path_GREP and select it if it is found.
4285 # Check for GNU $ac_path_GREP
4286 case `"$ac_path_GREP" --version 2>&1` in
4288 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4291 $as_echo_n 0123456789 >"conftest.in"
4294 cat "conftest.in" "conftest.in" >"conftest.tmp"
4295 mv "conftest.tmp" "conftest.in"
4296 cp "conftest.in" "conftest.nl"
4297 $as_echo 'GREP' >> "conftest.nl"
4298 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4299 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4300 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4301 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4302 # Best one so far, save it but keep looking for a better one
4303 ac_cv_path_GREP
="$ac_path_GREP"
4304 ac_path_GREP_max
=$ac_count
4306 # 10*(2^10) chars as input seems more than enough
4307 test $ac_count -gt 10 && break
4309 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4312 $ac_path_GREP_found && break 3
4317 if test -z "$ac_cv_path_GREP"; then
4318 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4321 ac_cv_path_GREP
=$GREP
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4326 $as_echo "$ac_cv_path_GREP" >&6; }
4327 GREP
="$ac_cv_path_GREP"
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4331 $as_echo_n "checking for egrep... " >&6; }
4332 if ${ac_cv_path_EGREP+:} false
; then :
4333 $as_echo_n "(cached) " >&6
4335 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4336 then ac_cv_path_EGREP
="$GREP -E"
4338 if test -z "$EGREP"; then
4339 ac_path_EGREP_found
=false
4340 # Loop through the user's path and test for each of PROGNAME-LIST
4341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4342 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4345 test -z "$as_dir" && as_dir
=.
4346 for ac_prog
in egrep; do
4347 for ac_exec_ext
in '' $ac_executable_extensions; do
4348 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4349 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4350 # Check for GNU ac_path_EGREP and select it if it is found.
4351 # Check for GNU $ac_path_EGREP
4352 case `"$ac_path_EGREP" --version 2>&1` in
4354 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4357 $as_echo_n 0123456789 >"conftest.in"
4360 cat "conftest.in" "conftest.in" >"conftest.tmp"
4361 mv "conftest.tmp" "conftest.in"
4362 cp "conftest.in" "conftest.nl"
4363 $as_echo 'EGREP' >> "conftest.nl"
4364 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4365 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4366 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4367 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4368 # Best one so far, save it but keep looking for a better one
4369 ac_cv_path_EGREP
="$ac_path_EGREP"
4370 ac_path_EGREP_max
=$ac_count
4372 # 10*(2^10) chars as input seems more than enough
4373 test $ac_count -gt 10 && break
4375 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4378 $ac_path_EGREP_found && break 3
4383 if test -z "$ac_cv_path_EGREP"; then
4384 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4387 ac_cv_path_EGREP
=$EGREP
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4393 $as_echo "$ac_cv_path_EGREP" >&6; }
4394 EGREP
="$ac_cv_path_EGREP"
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4398 $as_echo_n "checking for ANSI C header files... " >&6; }
4399 if ${ac_cv_header_stdc+:} false
; then :
4400 $as_echo_n "(cached) " >&6
4402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4403 /* end confdefs.h. */
4417 if ac_fn_c_try_compile
"$LINENO"; then :
4418 ac_cv_header_stdc
=yes
4420 ac_cv_header_stdc
=no
4422 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4424 if test $ac_cv_header_stdc = yes; then
4425 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4427 /* end confdefs.h. */
4431 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4432 $EGREP "memchr" >/dev
/null
2>&1; then :
4435 ac_cv_header_stdc
=no
4441 if test $ac_cv_header_stdc = yes; then
4442 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4444 /* end confdefs.h. */
4448 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4449 $EGREP "free" >/dev
/null
2>&1; then :
4452 ac_cv_header_stdc
=no
4458 if test $ac_cv_header_stdc = yes; then
4459 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4460 if test "$cross_compiling" = yes; then :
4463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4464 /* end confdefs.h. */
4467 #if ((' ' & 0x0FF) == 0x020)
4468 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4469 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4471 # define ISLOWER(c) \
4472 (('a' <= (c) && (c) <= 'i') \
4473 || ('j' <= (c) && (c) <= 'r') \
4474 || ('s' <= (c) && (c) <= 'z'))
4475 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4478 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4483 for (i = 0; i < 256; i++)
4484 if (XOR (islower (i), ISLOWER (i))
4485 || toupper (i) != TOUPPER (i))
4490 if ac_fn_c_try_run
"$LINENO"; then :
4493 ac_cv_header_stdc
=no
4495 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4496 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4502 $as_echo "$ac_cv_header_stdc" >&6; }
4503 if test $ac_cv_header_stdc = yes; then
4505 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4509 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4510 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4511 inttypes.h stdint.h unistd.h
4513 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4514 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4516 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4517 cat >>confdefs.h
<<_ACEOF
4518 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4527 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4528 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4535 if test "$MINIX" = yes; then
4537 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4540 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4543 $as_echo "#define _MINIX 1" >>confdefs.h
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4549 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4550 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4551 $as_echo_n "(cached) " >&6
4553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4554 /* end confdefs.h. */
4556 # define __EXTENSIONS__ 1
4557 $ac_includes_default
4566 if ac_fn_c_try_compile
"$LINENO"; then :
4567 ac_cv_safe_to_define___extensions__
=yes
4569 ac_cv_safe_to_define___extensions__
=no
4571 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4574 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4575 test $ac_cv_safe_to_define___extensions__ = yes &&
4576 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4578 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4580 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4582 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4584 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4588 ac_cpp
='$CPP $CPPFLAGS'
4589 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4590 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4591 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4592 if test -n "$ac_tool_prefix"; then
4593 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4594 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4596 $as_echo_n "checking for $ac_word... " >&6; }
4597 if ${ac_cv_prog_CC+:} false
; then :
4598 $as_echo_n "(cached) " >&6
4600 if test -n "$CC"; then
4601 ac_cv_prog_CC
="$CC" # Let the user override the test.
4603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4607 test -z "$as_dir" && as_dir
=.
4608 for ac_exec_ext
in '' $ac_executable_extensions; do
4609 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4610 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4621 if test -n "$CC"; then
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4623 $as_echo "$CC" >&6; }
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4626 $as_echo "no" >&6; }
4631 if test -z "$ac_cv_prog_CC"; then
4633 # Extract the first word of "gcc", so it can be a program name with args.
4634 set dummy gcc
; ac_word
=$2
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4636 $as_echo_n "checking for $ac_word... " >&6; }
4637 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4638 $as_echo_n "(cached) " >&6
4640 if test -n "$ac_ct_CC"; then
4641 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4647 test -z "$as_dir" && as_dir
=.
4648 for ac_exec_ext
in '' $ac_executable_extensions; do
4649 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4650 ac_cv_prog_ac_ct_CC
="gcc"
4651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4660 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4661 if test -n "$ac_ct_CC"; then
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4663 $as_echo "$ac_ct_CC" >&6; }
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4666 $as_echo "no" >&6; }
4669 if test "x$ac_ct_CC" = x
; then
4672 case $cross_compiling:$ac_tool_warned in
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4675 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4676 ac_tool_warned
=yes ;;
4684 if test -z "$CC"; then
4685 if test -n "$ac_tool_prefix"; then
4686 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4687 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4689 $as_echo_n "checking for $ac_word... " >&6; }
4690 if ${ac_cv_prog_CC+:} false
; then :
4691 $as_echo_n "(cached) " >&6
4693 if test -n "$CC"; then
4694 ac_cv_prog_CC
="$CC" # Let the user override the test.
4696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4700 test -z "$as_dir" && as_dir
=.
4701 for ac_exec_ext
in '' $ac_executable_extensions; do
4702 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4703 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4714 if test -n "$CC"; then
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4716 $as_echo "$CC" >&6; }
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4719 $as_echo "no" >&6; }
4725 if test -z "$CC"; then
4726 # Extract the first word of "cc", so it can be a program name with args.
4727 set dummy cc
; ac_word
=$2
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4729 $as_echo_n "checking for $ac_word... " >&6; }
4730 if ${ac_cv_prog_CC+:} false
; then :
4731 $as_echo_n "(cached) " >&6
4733 if test -n "$CC"; then
4734 ac_cv_prog_CC
="$CC" # Let the user override the test.
4737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4741 test -z "$as_dir" && as_dir
=.
4742 for ac_exec_ext
in '' $ac_executable_extensions; do
4743 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4744 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4745 ac_prog_rejected
=yes
4749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4756 if test $ac_prog_rejected = yes; then
4757 # We found a bogon in the path, so make sure we never use it.
4758 set dummy
$ac_cv_prog_CC
4760 if test $# != 0; then
4761 # We chose a different compiler from the bogus one.
4762 # However, it has the same basename, so the bogon will be chosen
4763 # first if we set CC to just the basename; use the full file name.
4765 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4771 if test -n "$CC"; then
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4773 $as_echo "$CC" >&6; }
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4776 $as_echo "no" >&6; }
4781 if test -z "$CC"; then
4782 if test -n "$ac_tool_prefix"; then
4783 for ac_prog
in cl.exe
4785 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4786 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4788 $as_echo_n "checking for $ac_word... " >&6; }
4789 if ${ac_cv_prog_CC+:} false
; then :
4790 $as_echo_n "(cached) " >&6
4792 if test -n "$CC"; then
4793 ac_cv_prog_CC
="$CC" # Let the user override the test.
4795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4799 test -z "$as_dir" && as_dir
=.
4800 for ac_exec_ext
in '' $ac_executable_extensions; do
4801 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4802 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4813 if test -n "$CC"; then
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4815 $as_echo "$CC" >&6; }
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4818 $as_echo "no" >&6; }
4822 test -n "$CC" && break
4825 if test -z "$CC"; then
4827 for ac_prog
in cl.exe
4829 # Extract the first word of "$ac_prog", so it can be a program name with args.
4830 set dummy
$ac_prog; ac_word
=$2
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4832 $as_echo_n "checking for $ac_word... " >&6; }
4833 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4834 $as_echo_n "(cached) " >&6
4836 if test -n "$ac_ct_CC"; then
4837 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4843 test -z "$as_dir" && as_dir
=.
4844 for ac_exec_ext
in '' $ac_executable_extensions; do
4845 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4846 ac_cv_prog_ac_ct_CC
="$ac_prog"
4847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4856 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4857 if test -n "$ac_ct_CC"; then
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4859 $as_echo "$ac_ct_CC" >&6; }
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4862 $as_echo "no" >&6; }
4866 test -n "$ac_ct_CC" && break
4869 if test "x$ac_ct_CC" = x
; then
4872 case $cross_compiling:$ac_tool_warned in
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4875 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4876 ac_tool_warned
=yes ;;
4885 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4886 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4887 as_fn_error $?
"no acceptable C compiler found in \$PATH
4888 See \`config.log' for more details" "$LINENO" 5; }
4890 # Provide some information about the compiler.
4891 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4894 for ac_option
in --version -v -V -qversion; do
4895 { { ac_try
="$ac_compiler $ac_option >&5"
4897 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4898 *) ac_try_echo=$ac_try;;
4900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4901 $as_echo "$ac_try_echo"; } >&5
4902 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4904 if test -s conftest.err; then
4906 ... rest of stderr output deleted ...
4907 10q' conftest.err >conftest.er1
4908 cat conftest.er1 >&5
4910 rm -f conftest.er1 conftest.err
4911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4912 test $ac_status = 0; }
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4916 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4917 if ${ac_cv_c_compiler_gnu+:} false; then :
4918 $as_echo_n "(cached) " >&6
4920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4921 /* end confdefs.h. */
4934 if ac_fn_c_try_compile "$LINENO"; then :
4939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4940 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4944 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4945 if test $ac_compiler_gnu = yes; then
4950 ac_test_CFLAGS=${CFLAGS+set}
4951 ac_save_CFLAGS=$CFLAGS
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4953 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4954 if ${ac_cv_prog_cc_g+:} false; then :
4955 $as_echo_n "(cached) " >&6
4957 ac_save_c_werror_flag=$ac_c_werror_flag
4958 ac_c_werror_flag=yes
4961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4962 /* end confdefs.h. */
4972 if ac_fn_c_try_compile "$LINENO"; then :
4976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4977 /* end confdefs.h. */
4987 if ac_fn_c_try_compile "$LINENO"; then :
4990 ac_c_werror_flag=$ac_save_c_werror_flag
4992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4993 /* end confdefs.h. */
5003 if ac_fn_c_try_compile "$LINENO"; then :
5006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5011 ac_c_werror_flag=$ac_save_c_werror_flag
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5014 $as_echo "$ac_cv_prog_cc_g" >&6; }
5015 if test "$ac_test_CFLAGS" = set; then
5016 CFLAGS=$ac_save_CFLAGS
5017 elif test $ac_cv_prog_cc_g = yes; then
5018 if test "$GCC" = yes; then
5024 if test "$GCC" = yes; then
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5031 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5032 if ${ac_cv_prog_cc_c89+:} false; then :
5033 $as_echo_n "(cached) " >&6
5035 ac_cv_prog_cc_c89=no
5037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5038 /* end confdefs.h. */
5042 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5043 struct buf { int x; };
5044 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5045 static char *e (p, i)
5051 static char *f (char * (*g) (char **, int), char **p, ...)
5056 s = g (p, va_arg (v,int));
5061 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5062 function prototypes and stuff, but not '\xHH' hex character constants.
5063 These don't provoke an error unfortunately, instead are silently treated
5064 as 'x'. The following induces an error, until -std is added to get
5065 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5066 array size at least. It's necessary to write '\x00'==0 to get something
5067 that's true only with -std. */
5068 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5070 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5071 inside strings and character constants. */
5073 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5075 int test (int i, double x);
5076 struct s1 {int (*f) (int a);};
5077 struct s2 {int (*f) (double a);};
5078 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5084 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5089 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5090 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5092 CC="$ac_save_CC $ac_arg"
5093 if ac_fn_c_try_compile "$LINENO"; then :
5094 ac_cv_prog_cc_c89=$ac_arg
5096 rm -f core conftest.err conftest.$ac_objext
5097 test "x$ac_cv_prog_cc_c89" != "xno" && break
5099 rm -f conftest.$ac_ext
5104 case "x$ac_cv_prog_cc_c89" in
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5107 $as_echo "none needed" >&6; } ;;
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5110 $as_echo "unsupported" >&6; } ;;
5112 CC="$CC $ac_cv_prog_cc_c89"
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5114 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5116 if test "x$ac_cv_prog_cc_c89" != xno; then :
5121 ac_cpp='$CPP $CPPFLAGS'
5122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5127 ac_cpp='$CPP $CPPFLAGS'
5128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5132 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5133 if ${am_cv_prog_cc_c_o+:} false; then :
5134 $as_echo_n "(cached) " >&6
5136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5137 /* end confdefs.h. */
5147 # Make sure it works both with $CC and with simple cc.
5148 # Following AC_PROG_CC_C_O, we do the test twice because some
5149 # compilers refuse to overwrite an existing .o file with -o,
5150 # though they will create one.
5151 am_cv_prog_cc_c_o=yes
5153 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5154 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5157 (exit $ac_status); } \
5158 && test -f conftest2.$ac_objext; then
5161 am_cv_prog_cc_c_o=no
5165 rm -f core conftest*
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5169 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5170 if test "$am_cv_prog_cc_c_o" != yes; then
5171 # Losing compiler, so override with the script.
5172 # FIXME: It is wrong to rewrite CC.
5173 # But if we don't then we get into trouble of one sort or another.
5174 # A longer-term fix would be to have automake use am__CC in this case,
5175 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5176 CC="$am_aux_dir/compile $CC"
5179 ac_cpp='$CPP $CPPFLAGS'
5180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5185 depcc="$CC" am_compiler_list=
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5188 $as_echo_n "checking dependency style of $depcc... " >&6; }
5189 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5190 $as_echo_n "(cached) " >&6
5192 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5193 # We make a subdir and do the tests there. Otherwise we can end up
5194 # making bogus files that we don't know about and never remove. For
5195 # instance it was reported that on HP-UX the gcc test will end up
5196 # making a dummy file named 'D' -- because '-MD' means "put the output
5200 # Copy depcomp to subdir because otherwise we won't find it if we're
5201 # using a relative directory.
5202 cp "$am_depcomp" conftest.dir
5204 # We will build objects and dependencies in a subdirectory because
5205 # it helps to detect inapplicable dependency modes. For instance
5206 # both Tru64's cc and ICC support -MD to output dependencies as a
5207 # side effect of compilation, but ICC will put the dependencies in
5208 # the current directory while Tru64 will put them in the object
5212 am_cv_CC_dependencies_compiler_type=none
5213 if test "$am_compiler_list" = ""; then
5214 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5217 case " $depcc " in #(
5218 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5221 for depmode in $am_compiler_list; do
5222 # Setup a source with many dependencies, because some compilers
5223 # like to wrap large dependency lists on column 80 (with \), and
5224 # we should not choose a depcomp mode which is confused by this.
5226 # We need to recreate these files for each test, as the compiler may
5227 # overwrite some of them when testing with obscure command lines.
5228 # This happens at least with the AIX C compiler.
5230 for i in 1 2 3 4 5 6; do
5231 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5232 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5233 # Solaris 10 /bin/sh.
5234 echo '/* dummy */' > sub/conftst$i.h
5236 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5238 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5239 # mode. It turns out that the SunPro C++ compiler does not properly
5240 # handle '-M -o', and we need to detect this. Also, some Intel
5241 # versions had trouble with output in subdirs.
5242 am__obj=sub/conftest.${OBJEXT-o}
5243 am__minus_obj="-o $am__obj"
5246 # This depmode causes a compiler race in universal mode.
5247 test "$am__universal" = false || continue
5250 # After this tag, mechanisms are not by side-effect, so they'll
5251 # only be used when explicitly requested.
5252 if test "x$enable_dependency_tracking" = xyes; then
5258 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5259 # This compiler won't grok '-c -o', but also, the minuso test has
5260 # not run yet. These depmodes are late enough in the game, and
5261 # so weak that their functioning should not be impacted.
5262 am__obj=conftest.${OBJEXT-o}
5267 if depmode=$depmode \
5268 source=sub/conftest.c object=$am__obj \
5269 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5270 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5271 >/dev/null 2>conftest.err &&
5272 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5273 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5274 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5275 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5276 # icc doesn't choke on unknown options, it will just issue warnings
5277 # or remarks (even with -Werror). So we grep stderr for any message
5278 # that says an option was ignored or not supported.
5279 # When given -MP, icc 7.0 and 7.1 complain thusly:
5280 # icc: Command line warning: ignoring option '-M'; no argument required
5281 # The diagnosis changed in icc 8.0:
5282 # icc: Command line remark: option '-MP' not supported
5283 if (grep 'ignoring option' conftest.err ||
5284 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5285 am_cv_CC_dependencies_compiler_type=$depmode
5294 am_cv_CC_dependencies_compiler_type=none
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5299 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5300 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5303 test "x$enable_dependency_tracking" != xno \
5304 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5306 am__fastdepCC_FALSE='#'
5308 am__fastdepCC_TRUE='#'
5309 am__fastdepCC_FALSE=
5314 ac_cpp='$CXXCPP $CPPFLAGS'
5315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5318 if test -z "$CXX"; then
5319 if test -n "$CCC"; then
5322 if test -n "$ac_tool_prefix"; then
5323 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5325 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5326 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5328 $as_echo_n "checking for $ac_word... " >&6; }
5329 if ${ac_cv_prog_CXX+:} false; then :
5330 $as_echo_n "(cached) " >&6
5332 if test -n "$CXX"; then
5333 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5339 test -z "$as_dir" && as_dir=.
5340 for ac_exec_ext in '' $ac_executable_extensions; do
5341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5342 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5353 if test -n "$CXX"; then
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5355 $as_echo "$CXX" >&6; }
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5358 $as_echo "no" >&6; }
5362 test -n "$CXX" && break
5365 if test -z "$CXX"; then
5367 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5369 # Extract the first word of "$ac_prog", so it can be a program name with args.
5370 set dummy $ac_prog; ac_word=$2
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5372 $as_echo_n "checking for $ac_word... " >&6; }
5373 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5374 $as_echo_n "(cached) " >&6
5376 if test -n "$ac_ct_CXX"; then
5377 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5383 test -z "$as_dir" && as_dir=.
5384 for ac_exec_ext in '' $ac_executable_extensions; do
5385 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5386 ac_cv_prog_ac_ct_CXX="$ac_prog"
5387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5396 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5397 if test -n "$ac_ct_CXX"; then
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5399 $as_echo "$ac_ct_CXX" >&6; }
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5402 $as_echo "no" >&6; }
5406 test -n "$ac_ct_CXX" && break
5409 if test "x$ac_ct_CXX" = x; then
5412 case $cross_compiling:$ac_tool_warned in
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5415 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5416 ac_tool_warned=yes ;;
5424 # Provide some information about the compiler.
5425 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5428 for ac_option in --version -v -V -qversion; do
5429 { { ac_try="$ac_compiler $ac_option >&5"
5431 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5432 *) ac_try_echo
=$ac_try;;
5434 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5435 $as_echo "$ac_try_echo"; } >&5
5436 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5438 if test -s conftest.err
; then
5440 ... rest of stderr output deleted ...
5441 10q' conftest.err
>conftest.er1
5442 cat conftest.er1
>&5
5444 rm -f conftest.er1 conftest.err
5445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5446 test $ac_status = 0; }
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5450 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5451 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5452 $as_echo_n "(cached) " >&6
5454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5455 /* end confdefs.h. */
5468 if ac_fn_cxx_try_compile
"$LINENO"; then :
5473 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5474 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5478 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5479 if test $ac_compiler_gnu = yes; then
5484 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5485 ac_save_CXXFLAGS
=$CXXFLAGS
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5487 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5488 if ${ac_cv_prog_cxx_g+:} false
; then :
5489 $as_echo_n "(cached) " >&6
5491 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5492 ac_cxx_werror_flag
=yes
5495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5496 /* end confdefs.h. */
5506 if ac_fn_cxx_try_compile
"$LINENO"; then :
5507 ac_cv_prog_cxx_g
=yes
5510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5511 /* end confdefs.h. */
5521 if ac_fn_cxx_try_compile
"$LINENO"; then :
5524 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5527 /* end confdefs.h. */
5537 if ac_fn_cxx_try_compile
"$LINENO"; then :
5538 ac_cv_prog_cxx_g
=yes
5540 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5542 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5545 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5548 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5549 if test "$ac_test_CXXFLAGS" = set; then
5550 CXXFLAGS
=$ac_save_CXXFLAGS
5551 elif test $ac_cv_prog_cxx_g = yes; then
5552 if test "$GXX" = yes; then
5558 if test "$GXX" = yes; then
5565 ac_cpp
='$CPP $CPPFLAGS'
5566 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5567 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5568 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5570 depcc
="$CXX" am_compiler_list
=
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5573 $as_echo_n "checking dependency style of $depcc... " >&6; }
5574 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
5575 $as_echo_n "(cached) " >&6
5577 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5578 # We make a subdir and do the tests there. Otherwise we can end up
5579 # making bogus files that we don't know about and never remove. For
5580 # instance it was reported that on HP-UX the gcc test will end up
5581 # making a dummy file named 'D' -- because '-MD' means "put the output
5585 # Copy depcomp to subdir because otherwise we won't find it if we're
5586 # using a relative directory.
5587 cp "$am_depcomp" conftest.dir
5589 # We will build objects and dependencies in a subdirectory because
5590 # it helps to detect inapplicable dependency modes. For instance
5591 # both Tru64's cc and ICC support -MD to output dependencies as a
5592 # side effect of compilation, but ICC will put the dependencies in
5593 # the current directory while Tru64 will put them in the object
5597 am_cv_CXX_dependencies_compiler_type
=none
5598 if test "$am_compiler_list" = ""; then
5599 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5602 case " $depcc " in #(
5603 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5606 for depmode
in $am_compiler_list; do
5607 # Setup a source with many dependencies, because some compilers
5608 # like to wrap large dependency lists on column 80 (with \), and
5609 # we should not choose a depcomp mode which is confused by this.
5611 # We need to recreate these files for each test, as the compiler may
5612 # overwrite some of them when testing with obscure command lines.
5613 # This happens at least with the AIX C compiler.
5615 for i
in 1 2 3 4 5 6; do
5616 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5617 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5618 # Solaris 10 /bin/sh.
5619 echo '/* dummy */' > sub
/conftst
$i.h
5621 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5623 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5624 # mode. It turns out that the SunPro C++ compiler does not properly
5625 # handle '-M -o', and we need to detect this. Also, some Intel
5626 # versions had trouble with output in subdirs.
5627 am__obj
=sub
/conftest.
${OBJEXT-o}
5628 am__minus_obj
="-o $am__obj"
5631 # This depmode causes a compiler race in universal mode.
5632 test "$am__universal" = false ||
continue
5635 # After this tag, mechanisms are not by side-effect, so they'll
5636 # only be used when explicitly requested.
5637 if test "x$enable_dependency_tracking" = xyes
; then
5643 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5644 # This compiler won't grok '-c -o', but also, the minuso test has
5645 # not run yet. These depmodes are late enough in the game, and
5646 # so weak that their functioning should not be impacted.
5647 am__obj
=conftest.
${OBJEXT-o}
5652 if depmode
=$depmode \
5653 source=sub
/conftest.c object
=$am__obj \
5654 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5655 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5656 >/dev
/null
2>conftest.err
&&
5657 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5658 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5659 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5660 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5661 # icc doesn't choke on unknown options, it will just issue warnings
5662 # or remarks (even with -Werror). So we grep stderr for any message
5663 # that says an option was ignored or not supported.
5664 # When given -MP, icc 7.0 and 7.1 complain thusly:
5665 # icc: Command line warning: ignoring option '-M'; no argument required
5666 # The diagnosis changed in icc 8.0:
5667 # icc: Command line remark: option '-MP' not supported
5668 if (grep 'ignoring option' conftest.err ||
5669 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5670 am_cv_CXX_dependencies_compiler_type
=$depmode
5679 am_cv_CXX_dependencies_compiler_type
=none
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5684 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5685 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5688 test "x$enable_dependency_tracking" != xno \
5689 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5690 am__fastdepCXX_TRUE
=
5691 am__fastdepCXX_FALSE
='#'
5693 am__fastdepCXX_TRUE
='#'
5694 am__fastdepCXX_FALSE
=
5699 if test -n "$ac_tool_prefix"; then
5700 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5701 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5703 $as_echo_n "checking for $ac_word... " >&6; }
5704 if ${ac_cv_prog_RANLIB+:} false
; then :
5705 $as_echo_n "(cached) " >&6
5707 if test -n "$RANLIB"; then
5708 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5714 test -z "$as_dir" && as_dir
=.
5715 for ac_exec_ext
in '' $ac_executable_extensions; do
5716 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5717 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5727 RANLIB
=$ac_cv_prog_RANLIB
5728 if test -n "$RANLIB"; then
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5730 $as_echo "$RANLIB" >&6; }
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5733 $as_echo "no" >&6; }
5738 if test -z "$ac_cv_prog_RANLIB"; then
5739 ac_ct_RANLIB
=$RANLIB
5740 # Extract the first word of "ranlib", so it can be a program name with args.
5741 set dummy ranlib
; ac_word
=$2
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5743 $as_echo_n "checking for $ac_word... " >&6; }
5744 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5745 $as_echo_n "(cached) " >&6
5747 if test -n "$ac_ct_RANLIB"; then
5748 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5754 test -z "$as_dir" && as_dir
=.
5755 for ac_exec_ext
in '' $ac_executable_extensions; do
5756 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5757 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5767 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5768 if test -n "$ac_ct_RANLIB"; then
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5770 $as_echo "$ac_ct_RANLIB" >&6; }
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5773 $as_echo "no" >&6; }
5776 if test "x$ac_ct_RANLIB" = x
; then
5779 case $cross_compiling:$ac_tool_warned in
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5782 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5783 ac_tool_warned
=yes ;;
5785 RANLIB
=$ac_ct_RANLIB
5788 RANLIB
="$ac_cv_prog_RANLIB"
5791 if test -n "$ac_tool_prefix"; then
5792 for ac_prog
in ar lib
"link -lib"
5794 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5795 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5797 $as_echo_n "checking for $ac_word... " >&6; }
5798 if ${ac_cv_prog_AR+:} false
; then :
5799 $as_echo_n "(cached) " >&6
5801 if test -n "$AR"; then
5802 ac_cv_prog_AR
="$AR" # Let the user override the test.
5804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5808 test -z "$as_dir" && as_dir
=.
5809 for ac_exec_ext
in '' $ac_executable_extensions; do
5810 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5811 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5822 if test -n "$AR"; then
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5824 $as_echo "$AR" >&6; }
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5827 $as_echo "no" >&6; }
5831 test -n "$AR" && break
5834 if test -z "$AR"; then
5836 for ac_prog
in ar lib
"link -lib"
5838 # Extract the first word of "$ac_prog", so it can be a program name with args.
5839 set dummy
$ac_prog; ac_word
=$2
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5841 $as_echo_n "checking for $ac_word... " >&6; }
5842 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5843 $as_echo_n "(cached) " >&6
5845 if test -n "$ac_ct_AR"; then
5846 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5852 test -z "$as_dir" && as_dir
=.
5853 for ac_exec_ext
in '' $ac_executable_extensions; do
5854 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5855 ac_cv_prog_ac_ct_AR
="$ac_prog"
5856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5865 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5866 if test -n "$ac_ct_AR"; then
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5868 $as_echo "$ac_ct_AR" >&6; }
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5871 $as_echo "no" >&6; }
5875 test -n "$ac_ct_AR" && break
5878 if test "x$ac_ct_AR" = x
; then
5881 case $cross_compiling:$ac_tool_warned in
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5884 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5885 ac_tool_warned
=yes ;;
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
5894 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
5895 if ${am_cv_ar_interface+:} false
; then :
5896 $as_echo_n "(cached) " >&6
5899 ac_cpp
='$CPP $CPPFLAGS'
5900 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5901 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5902 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5904 am_cv_ar_interface
=ar
5905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5906 /* end confdefs.h. */
5907 int some_variable = 0;
5909 if ac_fn_c_try_compile
"$LINENO"; then :
5910 am_ar_try
='$AR cru libconftest.a conftest.$ac_objext >&5'
5911 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5912 (eval $am_ar_try) 2>&5
5914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5915 test $ac_status = 0; }
5916 if test "$ac_status" -eq 0; then
5917 am_cv_ar_interface
=ar
5919 am_ar_try
='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
5920 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5921 (eval $am_ar_try) 2>&5
5923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5924 test $ac_status = 0; }
5925 if test "$ac_status" -eq 0; then
5926 am_cv_ar_interface
=lib
5928 am_cv_ar_interface
=unknown
5931 rm -f conftest.lib libconftest.a
5934 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5936 ac_cpp
='$CPP $CPPFLAGS'
5937 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5938 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5939 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5943 $as_echo "$am_cv_ar_interface" >&6; }
5945 case $am_cv_ar_interface in
5949 # Microsoft lib, so override with the ar-lib wrapper script.
5950 # FIXME: It is wrong to rewrite AR.
5951 # But if we don't then we get into trouble of one sort or another.
5952 # A longer-term fix would be to have automake use am__AR in this case,
5953 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5955 AR
="$am_aux_dir/ar-lib $AR"
5958 as_fn_error $?
"could not determine $AR interface" "$LINENO" 5
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5966 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5971 macro_version
='2.2.7a'
5972 macro_revision
='1.3134'
5986 ltmain
="$ac_aux_dir/ltmain.sh"
5988 # Backslashify metacharacters that are still active within
5989 # double-quoted strings.
5990 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5992 # Same as above, but do not quote variable references.
5993 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5995 # Sed substitution to delay expansion of an escaped shell variable in a
5996 # double_quote_subst'ed string.
5997 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5999 # Sed substitution to delay expansion of an escaped single quote.
6000 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6002 # Sed substitution to avoid accidental globbing in evaled expressions
6003 no_glob_subst
='s/\*/\\\*/g'
6005 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6006 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6007 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6010 $as_echo_n "checking how to print strings... " >&6; }
6011 # Test print first, because it will be a builtin if present.
6012 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6013 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6015 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6018 # Use this function as a fallback that always works.
6019 func_fallback_echo ()
6021 eval 'cat <<_LTECHO_EOF
6025 ECHO='func_fallback_echo
'
6028 # func_echo_all arg...
6029 # Invoke $ECHO with all args, space-separated.
6036 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6037 $as_echo "printf" >&6; } ;;
6038 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6039 $as_echo "print -r" >&6; } ;;
6040 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6041 $as_echo "cat" >&6; } ;;
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6058 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6059 if ${ac_cv_path_SED+:} false; then :
6060 $as_echo_n "(cached) " >&6
6062 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6063 for ac_i in 1 2 3 4 5 6 7; do
6064 ac_script="$ac_script$as_nl$ac_script"
6066 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6067 { ac_script=; unset ac_script;}
6068 if test -z "$SED"; then
6069 ac_path_SED_found=false
6070 # Loop through the user's path and
test for each of PROGNAME-LIST
6071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6075 test -z "$as_dir" && as_dir
=.
6076 for ac_prog
in sed gsed
; do
6077 for ac_exec_ext
in '' $ac_executable_extensions; do
6078 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6079 as_fn_executable_p
"$ac_path_SED" ||
continue
6080 # Check for GNU ac_path_SED and select it if it is found.
6081 # Check for GNU $ac_path_SED
6082 case `"$ac_path_SED" --version 2>&1` in
6084 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6087 $as_echo_n 0123456789 >"conftest.in"
6090 cat "conftest.in" "conftest.in" >"conftest.tmp"
6091 mv "conftest.tmp" "conftest.in"
6092 cp "conftest.in" "conftest.nl"
6093 $as_echo '' >> "conftest.nl"
6094 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6095 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6096 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6097 if test $ac_count -gt ${ac_path_SED_max-0}; then
6098 # Best one so far, save it but keep looking for a better one
6099 ac_cv_path_SED
="$ac_path_SED"
6100 ac_path_SED_max
=$ac_count
6102 # 10*(2^10) chars as input seems more than enough
6103 test $ac_count -gt 10 && break
6105 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6108 $ac_path_SED_found && break 3
6113 if test -z "$ac_cv_path_SED"; then
6114 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6122 $as_echo "$ac_cv_path_SED" >&6; }
6123 SED
="$ac_cv_path_SED"
6126 test -z "$SED" && SED
=sed
6127 Xsed
="$SED -e 1s/^X//"
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6140 $as_echo_n "checking for fgrep... " >&6; }
6141 if ${ac_cv_path_FGREP+:} false
; then :
6142 $as_echo_n "(cached) " >&6
6144 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6145 then ac_cv_path_FGREP
="$GREP -F"
6147 if test -z "$FGREP"; then
6148 ac_path_FGREP_found
=false
6149 # Loop through the user's path and test for each of PROGNAME-LIST
6150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6151 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6154 test -z "$as_dir" && as_dir
=.
6155 for ac_prog
in fgrep
; do
6156 for ac_exec_ext
in '' $ac_executable_extensions; do
6157 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6158 as_fn_executable_p
"$ac_path_FGREP" ||
continue
6159 # Check for GNU ac_path_FGREP and select it if it is found.
6160 # Check for GNU $ac_path_FGREP
6161 case `"$ac_path_FGREP" --version 2>&1` in
6163 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6166 $as_echo_n 0123456789 >"conftest.in"
6169 cat "conftest.in" "conftest.in" >"conftest.tmp"
6170 mv "conftest.tmp" "conftest.in"
6171 cp "conftest.in" "conftest.nl"
6172 $as_echo 'FGREP' >> "conftest.nl"
6173 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6174 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6175 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6176 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6177 # Best one so far, save it but keep looking for a better one
6178 ac_cv_path_FGREP
="$ac_path_FGREP"
6179 ac_path_FGREP_max
=$ac_count
6181 # 10*(2^10) chars as input seems more than enough
6182 test $ac_count -gt 10 && break
6184 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6187 $ac_path_FGREP_found && break 3
6192 if test -z "$ac_cv_path_FGREP"; then
6193 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6196 ac_cv_path_FGREP
=$FGREP
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6202 $as_echo "$ac_cv_path_FGREP" >&6; }
6203 FGREP
="$ac_cv_path_FGREP"
6206 test -z "$GREP" && GREP
=grep
6226 # Check whether --with-gnu-ld was given.
6227 if test "${with_gnu_ld+set}" = set; then :
6228 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6234 if test "$GCC" = yes; then
6235 # Check if gcc -print-prog-name=ld gives a path.
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6237 $as_echo_n "checking for ld used by $CC... " >&6; }
6240 # gcc leaves a trailing carriage return which upsets mingw
6241 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6243 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6246 # Accept absolute paths.
6248 re_direlt
='/[^/][^/]*/\.\./'
6249 # Canonicalize the pathname of ld
6250 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6251 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6252 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6254 test -z "$LD" && LD
="$ac_prog"
6257 # If it fails, then pretend we aren't using GCC.
6261 # If it is relative, then search for the first ld in PATH.
6265 elif test "$with_gnu_ld" = yes; then
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6267 $as_echo_n "checking for GNU ld... " >&6; }
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6270 $as_echo_n "checking for non-GNU ld... " >&6; }
6272 if ${lt_cv_path_LD+:} false
; then :
6273 $as_echo_n "(cached) " >&6
6275 if test -z "$LD"; then
6276 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6277 for ac_dir
in $PATH; do
6279 test -z "$ac_dir" && ac_dir
=.
6280 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6281 lt_cv_path_LD
="$ac_dir/$ac_prog"
6282 # Check to see if the program is GNU ld. I'd rather use --version,
6283 # but apparently some variants of GNU ld only accept -v.
6284 # Break only if it was the GNU/non-GNU ld that we prefer.
6285 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6286 *GNU
* |
*'with BFD'*)
6287 test "$with_gnu_ld" != no
&& break
6290 test "$with_gnu_ld" != yes && break
6297 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6302 if test -n "$LD"; then
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6304 $as_echo "$LD" >&6; }
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6307 $as_echo "no" >&6; }
6309 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6311 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6312 if ${lt_cv_prog_gnu_ld+:} false
; then :
6313 $as_echo_n "(cached) " >&6
6315 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6316 case `$LD -v 2>&1 </dev/null` in
6317 *GNU
* |
*'with BFD'*)
6318 lt_cv_prog_gnu_ld
=yes
6321 lt_cv_prog_gnu_ld
=no
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6326 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6327 with_gnu_ld
=$lt_cv_prog_gnu_ld
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6338 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6339 if ${lt_cv_path_NM+:} false
; then :
6340 $as_echo_n "(cached) " >&6
6342 if test -n "$NM"; then
6343 # Let the user override the nm to test.
6344 lt_nm_to_check
="$NM"
6346 lt_nm_to_check
="${ac_tool_prefix}nm"
6347 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6348 lt_nm_to_check
="$lt_nm_to_check nm"
6351 for lt_tmp_nm
in "$lt_nm_to_check"; do
6352 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6353 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6355 test -z "$ac_dir" && ac_dir
=.
6356 # Strip out any user-provided options from the nm to test twice,
6357 # the first time to test to see if nm (rather than its options) has
6358 # an explicit path, the second time to yield a file which can be
6360 tmp_nm_path
="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
6361 case "$tmp_nm_path" in
6362 */*|
*\\*) tmp_nm
="$lt_tmp_nm";;
6363 *) tmp_nm
="$ac_dir/$lt_tmp_nm";;
6365 tmp_nm_to_nm
="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
6366 if test -f "$tmp_nm_to_nm" ||
test -f "$tmp_nm_to_nm$ac_exeext" ; then
6367 # Check to see if the nm accepts a BSD-compat flag.
6368 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6369 # nm: unknown option "B" ignored
6370 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6371 *$tmp_nm*) lt_cv_path_NM
="$tmp_nm -B"
6375 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6377 lt_cv_path_NM
="$tmp_nm -p"
6381 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6382 continue # so that we can try to find one that supports BSD flags
6391 : ${lt_cv_path_NM=no}
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6394 $as_echo "$lt_cv_path_NM" >&6; }
6395 if test "$lt_cv_path_NM" != "no"; then
6398 # Didn't find any BSD compatible name lister, look for dumpbin.
6399 if test -n "$DUMPBIN"; then :
6400 # Let the user override the test.
6402 if test -n "$ac_tool_prefix"; then
6403 for ac_prog
in dumpbin
"link -dump"
6405 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6406 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6408 $as_echo_n "checking for $ac_word... " >&6; }
6409 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6410 $as_echo_n "(cached) " >&6
6412 if test -n "$DUMPBIN"; then
6413 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6419 test -z "$as_dir" && as_dir
=.
6420 for ac_exec_ext
in '' $ac_executable_extensions; do
6421 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6422 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6432 DUMPBIN
=$ac_cv_prog_DUMPBIN
6433 if test -n "$DUMPBIN"; then
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6435 $as_echo "$DUMPBIN" >&6; }
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6438 $as_echo "no" >&6; }
6442 test -n "$DUMPBIN" && break
6445 if test -z "$DUMPBIN"; then
6446 ac_ct_DUMPBIN
=$DUMPBIN
6447 for ac_prog
in dumpbin
"link -dump"
6449 # Extract the first word of "$ac_prog", so it can be a program name with args.
6450 set dummy
$ac_prog; ac_word
=$2
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6452 $as_echo_n "checking for $ac_word... " >&6; }
6453 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6454 $as_echo_n "(cached) " >&6
6456 if test -n "$ac_ct_DUMPBIN"; then
6457 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6463 test -z "$as_dir" && as_dir
=.
6464 for ac_exec_ext
in '' $ac_executable_extensions; do
6465 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6466 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6476 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6477 if test -n "$ac_ct_DUMPBIN"; then
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6479 $as_echo "$ac_ct_DUMPBIN" >&6; }
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6482 $as_echo "no" >&6; }
6486 test -n "$ac_ct_DUMPBIN" && break
6489 if test "x$ac_ct_DUMPBIN" = x
; then
6492 case $cross_compiling:$ac_tool_warned in
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6495 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6496 ac_tool_warned
=yes ;;
6498 DUMPBIN
=$ac_ct_DUMPBIN
6502 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6504 DUMPBIN
="$DUMPBIN -symbols"
6512 if test "$DUMPBIN" != ":"; then
6516 test -z "$NM" && NM
=nm
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6524 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6525 if ${lt_cv_nm_interface+:} false
; then :
6526 $as_echo_n "(cached) " >&6
6528 lt_cv_nm_interface
="BSD nm"
6529 echo "int some_variable = 0;" > conftest.
$ac_ext
6530 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6531 (eval "$ac_compile" 2>conftest.err
)
6532 cat conftest.err
>&5
6533 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6534 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6535 cat conftest.err
>&5
6536 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6537 cat conftest.out
>&5
6538 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6539 lt_cv_nm_interface
="MS dumpbin"
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6544 $as_echo "$lt_cv_nm_interface" >&6; }
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6547 $as_echo_n "checking whether ln -s works... " >&6; }
6549 if test "$LN_S" = "ln -s"; then
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6551 $as_echo "yes" >&6; }
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6554 $as_echo "no, using $LN_S" >&6; }
6557 # find the maximum length of command line arguments
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6559 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6560 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6561 $as_echo_n "(cached) " >&6
6568 # On DJGPP, this test can blow up pretty badly due to problems in libc
6569 # (any single argument exceeding 2000 bytes causes a buffer overrun
6570 # during glob expansion). Even if it were fixed, the result of this
6571 # check would be larger than it should be.
6572 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6576 # Under GNU Hurd, this test is not required because there is
6577 # no limit to the length of command line arguments.
6578 # Libtool will interpret -1 as no limit whatsoever
6579 lt_cv_sys_max_cmd_len
=-1;
6582 cygwin
* | mingw
* | cegcc
*)
6583 # On Win9x/ME, this test blows up -- it succeeds, but takes
6584 # about 5 minutes as the teststring grows exponentially.
6585 # Worse, since 9x/ME are not pre-emptively multitasking,
6586 # you end up with a "frozen" computer, even though with patience
6587 # the test eventually succeeds (with a max line length of 256k).
6588 # Instead, let's just punt: use the minimum linelength reported by
6589 # all of the supported platforms: 8192 (on NT/2K/XP).
6590 lt_cv_sys_max_cmd_len
=8192;
6594 # On MiNT this can take a long time and run out of memory.
6595 lt_cv_sys_max_cmd_len
=8192;
6599 # On AmigaOS with pdksh, this test takes hours, literally.
6600 # So we just punt and use a minimum line length of 8192.
6601 lt_cv_sys_max_cmd_len
=8192;
6604 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6605 # This has been around since 386BSD, at least. Likely further.
6606 if test -x /sbin
/sysctl
; then
6607 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6608 elif test -x /usr
/sbin
/sysctl
; then
6609 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6611 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6613 # And add a safety zone
6614 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6615 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6619 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6620 lt_cv_sys_max_cmd_len
=196608
6624 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6625 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6626 # nice to cause kernel panics so lets avoid the loop below.
6627 # First set a reasonable default.
6628 lt_cv_sys_max_cmd_len
=16384
6630 if test -x /sbin
/sysconfig
; then
6631 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6632 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6637 lt_cv_sys_max_cmd_len
=102400
6639 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6640 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6641 if test -n "$kargmax"; then
6642 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6644 lt_cv_sys_max_cmd_len
=32768
6648 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6649 if test -n "$lt_cv_sys_max_cmd_len"; then
6650 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6651 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6653 # Make teststring a little bigger before we do anything with it.
6654 # a 1K string should be a reasonable start.
6655 for i
in 1 2 3 4 5 6 7 8 ; do
6656 teststring
=$teststring$teststring
6658 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6659 # If test is not a shell built-in, we'll probably end up computing a
6660 # maximum length that is only half of the actual maximum length, but
6662 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6663 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6664 test $i != 17 # 1/2 MB should be enough
6667 teststring
=$teststring$teststring
6669 # Only check the string length outside the loop.
6670 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6672 # Add a significant safety factor because C++ compilers can tack on
6673 # massive amounts of additional arguments before passing them to the
6674 # linker. It appears as though 1/2 is a usable value.
6675 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6682 if test -n $lt_cv_sys_max_cmd_len ; then
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6684 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6687 $as_echo "none" >&6; }
6689 max_cmd_len
=$lt_cv_sys_max_cmd_len
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6701 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6702 # Try some XSI features
6705 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6707 && eval 'test $(( 1 + 1 )) -eq 2 \
6708 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6711 $as_echo "$xsi_shell" >&6; }
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6715 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6717 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6719 && lt_shell_append=yes
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6721 $as_echo "$lt_shell_append" >&6; }
6724 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6734 # test EBCDIC or ASCII
6735 case `echo X|tr X '\101'` in
6736 A) # ASCII based system
6737 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6738 lt_SP2NL='tr \040 \012'
6739 lt_NL2SP='tr \015\012 \040\040'
6741 *) # EBCDIC based system
6742 lt_SP2NL='tr \100 \n'
6743 lt_NL2SP='tr \r\n \100\100'
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6756 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6757 if ${lt_cv_ld_reload_flag+:} false; then :
6758 $as_echo_n "(cached
) " >&6
6760 lt_cv_ld_reload_flag='-r'
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6763 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6764 reload_flag=$lt_cv_ld_reload_flag
6765 case $reload_flag in
6767 *) reload_flag=" $reload_flag" ;;
6769 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6772 if test "$GCC" = yes; then
6773 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6775 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6788 if test -n "$ac_tool_prefix"; then
6789 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6790 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6792 $as_echo_n "checking
for $ac_word...
" >&6; }
6793 if ${ac_cv_prog_OBJDUMP+:} false; then :
6794 $as_echo_n "(cached
) " >&6
6796 if test -n "$OBJDUMP"; then
6797 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6803 test -z "$as_dir" && as_dir=.
6804 for ac_exec_ext in '' $ac_executable_extensions; do
6805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6806 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6807 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6816 OBJDUMP=$ac_cv_prog_OBJDUMP
6817 if test -n "$OBJDUMP"; then
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6819 $as_echo "$OBJDUMP" >&6; }
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6822 $as_echo "no
" >&6; }
6827 if test -z "$ac_cv_prog_OBJDUMP"; then
6828 ac_ct_OBJDUMP=$OBJDUMP
6829 # Extract the first word of "objdump
", so it can be a program name with args.
6830 set dummy objdump; ac_word=$2
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6832 $as_echo_n "checking
for $ac_word...
" >&6; }
6833 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6834 $as_echo_n "(cached
) " >&6
6836 if test -n "$ac_ct_OBJDUMP"; then
6837 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6843 test -z "$as_dir" && as_dir=.
6844 for ac_exec_ext in '' $ac_executable_extensions; do
6845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6846 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6847 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6856 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6857 if test -n "$ac_ct_OBJDUMP"; then
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6859 $as_echo "$ac_ct_OBJDUMP" >&6; }
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6862 $as_echo "no
" >&6; }
6865 if test "x
$ac_ct_OBJDUMP" = x; then
6868 case $cross_compiling:$ac_tool_warned in
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6871 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6872 ac_tool_warned=yes ;;
6874 OBJDUMP=$ac_ct_OBJDUMP
6877 OBJDUMP="$ac_cv_prog_OBJDUMP"
6880 test -z "$OBJDUMP" && OBJDUMP=objdump
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6891 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6892 if ${lt_cv_deplibs_check_method+:} false; then :
6893 $as_echo_n "(cached
) " >&6
6895 lt_cv_file_magic_cmd='$MAGIC_CMD'
6896 lt_cv_file_magic_test_file=
6897 lt_cv_deplibs_check_method='unknown'
6898 # Need to set the preceding variable on all platforms that support
6899 # interlibrary dependencies.
6900 # 'none' -- dependencies not supported.
6901 # `unknown' -- same as none, but documents that we really don't know.
6902 # 'pass_all' -- all dependencies passed with no checks.
6903 # 'test_compile' -- check by making test program.
6904 # 'file_magic [[regex]]' -- check by looking for files in library path
6905 # which responds to the $file_magic_cmd with a given extended regex.
6906 # If you have `file' or equivalent on your system and you're not sure
6907 # whether `pass_all' will *always* work, you probably want this one.
6911 lt_cv_deplibs_check_method=pass_all
6915 lt_cv_deplibs_check_method=pass_all
6919 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6920 lt_cv_file_magic_cmd='/usr/bin/file -L'
6921 lt_cv_file_magic_test_file=/shlib/libc.so
6925 # func_win32_libid is a shell function defined in ltmain.sh
6926 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6927 lt_cv_file_magic_cmd='func_win32_libid'
6931 # Base MSYS/MinGW do not provide the 'file' command needed by
6932 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6933 # unless we find 'file', for example because we are cross-compiling.
6934 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6935 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6936 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6937 lt_cv_file_magic_cmd='func_win32_libid'
6939 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6940 lt_cv_file_magic_cmd='$OBJDUMP -f'
6945 # use the weaker test based on 'objdump'. See mingw*.
6946 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6947 lt_cv_file_magic_cmd='$OBJDUMP -f'
6950 darwin* | rhapsody*)
6951 lt_cv_deplibs_check_method=pass_all
6954 freebsd* | dragonfly*)
6955 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6958 # Not sure whether the presence of OpenBSD here was a mistake.
6959 # Let's accept both of them until this is cleared up.
6960 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6961 lt_cv_file_magic_cmd=/usr/bin/file
6962 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6966 lt_cv_deplibs_check_method=pass_all
6971 lt_cv_deplibs_check_method=pass_all
6975 lt_cv_deplibs_check_method=pass_all
6978 hpux10.20* | hpux11*)
6979 lt_cv_file_magic_cmd=/usr/bin/file
6982 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6983 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6986 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]'
6987 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6990 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6991 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6997 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6998 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7001 irix5* | irix6* | nonstopux*)
7003 *-32|*"-32 ") libmagic=32-bit;;
7004 *-n32|*"-n32 ") libmagic=N32;;
7005 *-64|*"-64 ") libmagic=64-bit;;
7006 *) libmagic=never-match;;
7008 lt_cv_deplibs_check_method=pass_all
7011 # This must be Linux ELF.
7012 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
7013 lt_cv_deplibs_check_method=pass_all
7017 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7018 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7020 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7025 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7026 lt_cv_file_magic_cmd=/usr/bin/file
7027 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7031 lt_cv_deplibs_check_method=pass_all
7035 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7036 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7038 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7042 osf3* | osf4* | osf5*)
7043 lt_cv_deplibs_check_method=pass_all
7047 lt_cv_deplibs_check_method=pass_all
7051 lt_cv_deplibs_check_method=pass_all
7054 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7055 lt_cv_deplibs_check_method=pass_all
7059 case $host_vendor in
7061 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]'
7062 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7065 lt_cv_deplibs_check_method=pass_all
7068 lt_cv_file_magic_cmd='/bin/file'
7069 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7072 lt_cv_file_magic_cmd='/bin/file'
7073 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
7074 lt_cv_file_magic_test_file=/lib/libc.so
7077 lt_cv_deplibs_check_method=pass_all
7080 lt_cv_deplibs_check_method=pass_all
7086 lt_cv_deplibs_check_method=pass_all
7089 # Assume VxWorks cross toolchains are built on Linux, possibly
7090 # as canadian for Windows hosts.
7091 lt_cv_deplibs_check_method=pass_all
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
7097 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7098 file_magic_cmd=$lt_cv_file_magic_cmd
7099 deplibs_check_method=$lt_cv_deplibs_check_method
7100 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7114 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
7115 for plugin in $plugin_names; do
7116 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
7117 if test x$plugin_so = x$plugin; then
7118 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
7120 if test x$plugin_so != x$plugin; then
7121 plugin_option="--plugin $plugin_so"
7126 if test -n "$ac_tool_prefix"; then
7127 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7128 set dummy ${ac_tool_prefix}ar; ac_word=$2
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7130 $as_echo_n "checking
for $ac_word...
" >&6; }
7131 if ${ac_cv_prog_AR+:} false; then :
7132 $as_echo_n "(cached
) " >&6
7134 if test -n "$AR"; then
7135 ac_cv_prog_AR="$AR" # Let the user override the test.
7137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7141 test -z "$as_dir" && as_dir=.
7142 for ac_exec_ext in '' $ac_executable_extensions; do
7143 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7144 ac_cv_prog_AR="${ac_tool_prefix}ar"
7145 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7155 if test -n "$AR"; then
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7157 $as_echo "$AR" >&6; }
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7160 $as_echo "no
" >&6; }
7165 if test -z "$ac_cv_prog_AR"; then
7167 # Extract the first word of "ar", so it can be a program name with args.
7168 set dummy ar; ac_word=$2
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7170 $as_echo_n "checking
for $ac_word...
" >&6; }
7171 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7172 $as_echo_n "(cached
) " >&6
7174 if test -n "$ac_ct_AR"; then
7175 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7181 test -z "$as_dir" && as_dir=.
7182 for ac_exec_ext in '' $ac_executable_extensions; do
7183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7184 ac_cv_prog_ac_ct_AR="ar"
7185 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7194 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7195 if test -n "$ac_ct_AR"; then
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
7197 $as_echo "$ac_ct_AR" >&6; }
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7200 $as_echo "no
" >&6; }
7203 if test "x
$ac_ct_AR" = x; then
7206 case $cross_compiling:$ac_tool_warned in
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7209 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7210 ac_tool_warned=yes ;;
7218 test -z "$AR" && AR=ar
7219 if test -n "$plugin_option"; then
7220 if $AR --help 2>&1 | grep -q "\
--plugin"; then
7222 $AR $plugin_option rc conftest.a conftest.c
7223 if test "$?
" != 0; then
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
7225 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
7227 AR="$AR $plugin_option"
7232 test -z "$AR_FLAGS" && AR_FLAGS=cru
7244 if test -n "$ac_tool_prefix"; then
7245 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7246 set dummy ${ac_tool_prefix}strip; ac_word=$2
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7248 $as_echo_n "checking
for $ac_word...
" >&6; }
7249 if ${ac_cv_prog_STRIP+:} false; then :
7250 $as_echo_n "(cached
) " >&6
7252 if test -n "$STRIP"; then
7253 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7259 test -z "$as_dir" && as_dir=.
7260 for ac_exec_ext in '' $ac_executable_extensions; do
7261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7262 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7263 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7272 STRIP=$ac_cv_prog_STRIP
7273 if test -n "$STRIP"; then
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
7275 $as_echo "$STRIP" >&6; }
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7278 $as_echo "no
" >&6; }
7283 if test -z "$ac_cv_prog_STRIP"; then
7285 # Extract the first word of "strip
", so it can be a program name with args.
7286 set dummy strip; ac_word=$2
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7288 $as_echo_n "checking
for $ac_word...
" >&6; }
7289 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7290 $as_echo_n "(cached
) " >&6
7292 if test -n "$ac_ct_STRIP"; then
7293 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7299 test -z "$as_dir" && as_dir=.
7300 for ac_exec_ext in '' $ac_executable_extensions; do
7301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7302 ac_cv_prog_ac_ct_STRIP="strip
"
7303 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7312 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7313 if test -n "$ac_ct_STRIP"; then
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
7315 $as_echo "$ac_ct_STRIP" >&6; }
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7318 $as_echo "no
" >&6; }
7321 if test "x
$ac_ct_STRIP" = x; then
7324 case $cross_compiling:$ac_tool_warned in
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7327 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7328 ac_tool_warned=yes ;;
7333 STRIP="$ac_cv_prog_STRIP"
7336 test -z "$STRIP" && STRIP=:
7343 if test -n "$ac_tool_prefix"; then
7344 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7345 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7347 $as_echo_n "checking
for $ac_word...
" >&6; }
7348 if ${ac_cv_prog_RANLIB+:} false; then :
7349 $as_echo_n "(cached
) " >&6
7351 if test -n "$RANLIB"; then
7352 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7358 test -z "$as_dir" && as_dir=.
7359 for ac_exec_ext in '' $ac_executable_extensions; do
7360 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7361 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7362 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7371 RANLIB=$ac_cv_prog_RANLIB
7372 if test -n "$RANLIB"; then
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7374 $as_echo "$RANLIB" >&6; }
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7377 $as_echo "no
" >&6; }
7382 if test -z "$ac_cv_prog_RANLIB"; then
7383 ac_ct_RANLIB=$RANLIB
7384 # Extract the first word of "ranlib
", so it can be a program name with args.
7385 set dummy ranlib; ac_word=$2
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7387 $as_echo_n "checking
for $ac_word...
" >&6; }
7388 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7389 $as_echo_n "(cached
) " >&6
7391 if test -n "$ac_ct_RANLIB"; then
7392 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7398 test -z "$as_dir" && as_dir=.
7399 for ac_exec_ext in '' $ac_executable_extensions; do
7400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7401 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7402 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7411 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7412 if test -n "$ac_ct_RANLIB"; then
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7414 $as_echo "$ac_ct_RANLIB" >&6; }
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7417 $as_echo "no
" >&6; }
7420 if test "x
$ac_ct_RANLIB" = x; then
7423 case $cross_compiling:$ac_tool_warned in
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7426 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7427 ac_tool_warned=yes ;;
7429 RANLIB=$ac_ct_RANLIB
7432 RANLIB="$ac_cv_prog_RANLIB"
7435 test -z "$RANLIB" && RANLIB=:
7436 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
7437 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
7438 RANLIB="$RANLIB $plugin_option"
7447 # Determine commands to create old-style static archives.
7448 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7449 old_postinstall_cmds='chmod 644 $oldlib'
7450 old_postuninstall_cmds=
7452 if test -n "$RANLIB"; then
7455 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7458 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7461 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7466 lock_old_archive_extraction=yes ;;
7468 lock_old_archive_extraction=no ;;
7509 # If no C compiler was specified, use CC.
7512 # If no C compiler flags were specified, use CFLAGS.
7513 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7515 # Allow CC to be a program name with arguments.
7519 # Check for command to grab the raw symbol name followed by C symbol from nm.
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7521 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7522 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7523 $as_echo_n "(cached
) " >&6
7526 # These are sane defaults that work on at least a few old systems.
7527 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7529 # Character class describing NM global symbol codes.
7530 symcode='[BCDEGRST]'
7532 # Regexp to match symbols that can be accessed directly from C.
7533 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7535 # Define system-specific variables.
7540 cygwin* | mingw* | pw32* | cegcc*)
7541 symcode='[ABCDGISTW]'
7544 if test "$host_cpu" = ia64; then
7545 symcode='[ABCDEGRST]'
7549 symcode='[BCDEGRST]'
7552 symcode='[BCDEGQRST]'
7563 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7571 # If we're using GNU nm, then use its standard symbol codes.
7572 case `$NM -V 2>&1` in
7573 *GNU* | *'with BFD'*)
7574 symcode='[ABCDGIRSTW]' ;;
7577 # Transform an extracted symbol line into a proper C declaration.
7578 # Some systems (esp. on ia64) link data and code symbols differently,
7579 # so use this general approach.
7580 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7582 # Transform an extracted symbol line into symbol name and symbol address
7583 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7584 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'"
7586 # Handle CRLF in mingw tool chain
7590 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7594 # Try without a prefix underscore, then with it.
7595 for ac_symprfx in "" "_
"; do
7597 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7598 symxfrm="\\1 $ac_symprfx\\2 \\2"
7600 # Write the raw and C identifiers.
7601 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7602 # Fake it for dumpbin and say T for any non-static function
7603 # and D for any global variable.
7604 # Also find C++ and __fastcall symbols from MSVC++,
7605 # which start with @ or ?.
7606 lt_cv_sys_global_symbol_pipe="$AWK '"\
7607 " {last_section=section; section=\$ 3};"\
7608 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7609 " \$ 0!~/External *\|/{next};"\
7610 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7611 " {if(hide[section]) next};"\
7612 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7613 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7614 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7615 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7616 " ' prfx
=^
$ac_symprfx"
7618 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7621 # Check to see that the pipe works correctly.
7625 cat > conftest.$ac_ext <<_LT_EOF
7630 void nm_test_func(void);
7631 void nm_test_func(void){}
7635 int main(){nm_test_var='a';nm_test_func();return(0);}
7638 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7639 (eval $ac_compile) 2>&5
7641 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7642 test $ac_status = 0; }; then
7643 # Now try to grab the symbols.
7645 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7646 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7648 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7649 test $ac_status = 0; } && test -s "$nlist"; then
7650 # Try sorting and uniquifying the output.
7651 if sort "$nlist" | uniq > "$nlist"T; then
7652 mv -f "$nlist"T "$nlist"
7657 # Make sure that we snagged all the symbols we need.
7658 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7659 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7660 cat <<_LT_EOF > conftest.$ac_ext
7666 # Now generate the symbol file.
7667 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7669 cat <<_LT_EOF >> conftest.$ac_ext
7671 /* The mapping between symbol names and symbols. */
7676 lt__PROGRAM__LTX_preloaded_symbols[] =
7678 { "@PROGRAM@
", (void *) 0 },
7680 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7681 cat <<\_LT_EOF >> conftest.$ac_ext
7685 /* This works around a problem in FreeBSD linker */
7686 #ifdef FREEBSD_WORKAROUND
7687 static const void *lt_preloaded_setup() {
7688 return lt__PROGRAM__LTX_preloaded_symbols;
7696 # Now try linking the two files.
7697 mv conftest.$ac_objext conftstm.$ac_objext
7698 lt_save_LIBS="$LIBS"
7699 lt_save_CFLAGS="$CFLAGS"
7700 LIBS="conftstm.
$ac_objext"
7701 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7702 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7703 (eval $ac_link) 2>&5
7705 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7706 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7709 LIBS="$lt_save_LIBS"
7710 CFLAGS="$lt_save_CFLAGS"
7712 echo "cannot
find nm_test_func
in $nlist" >&5
7715 echo "cannot
find nm_test_var
in $nlist" >&5
7718 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7721 echo "$progname: failed program was
:" >&5
7722 cat conftest.$ac_ext >&5
7724 rm -rf conftest* conftst*
7726 # Do not use the global_symbol_pipe unless it works.
7727 if test "$pipe_works" = yes; then
7730 lt_cv_sys_global_symbol_pipe=
7736 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7737 lt_cv_sys_global_symbol_to_cdecl=
7739 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7741 $as_echo "failed
" >&6; }
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7744 $as_echo "ok
" >&6; }
7768 # Check whether --enable-libtool-lock was given.
7769 if test "${enable_libtool_lock+set}" = set; then :
7770 enableval=$enable_libtool_lock;
7773 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7775 # Some flags need to be propagated to the compiler or linker for good
7779 # Find out which ABI we are using.
7780 echo 'int i;' > conftest.$ac_ext
7781 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7782 (eval $ac_compile) 2>&5
7784 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7785 test $ac_status = 0; }; then
7786 case `/usr/bin/file conftest.$ac_objext` in
7798 # Find out which ABI we are using.
7799 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7800 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7801 (eval $ac_compile) 2>&5
7803 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7804 test $ac_status = 0; }; then
7805 if test "$lt_cv_prog_gnu_ld" = yes; then
7806 case `/usr/bin/file conftest.$ac_objext` in
7808 LD="${LD-ld} -melf32bsmip"
7811 LD="${LD-ld} -melf32bmipn32"
7814 LD="${LD-ld} -melf64bmip"
7818 case `/usr/bin/file conftest.$ac_objext` in
7834 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7835 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7836 # Find out which ABI we are using.
7837 echo 'int i;' > conftest.$ac_ext
7838 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7839 (eval $ac_compile) 2>&5
7841 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7842 test $ac_status = 0; }; then
7843 case `/usr/bin/file conftest.o` in
7846 x86_64-*kfreebsd*-gnu)
7847 LD="${LD-ld} -m elf_i386_fbsd
"
7850 case `/usr/bin/file conftest.o` in
7852 LD="${LD-ld} -m elf32_x86_64
"
7855 LD="${LD-ld} -m elf_i386
"
7859 powerpc64le-*linux*)
7860 LD="${LD-ld} -m elf32lppclinux
"
7863 LD="${LD-ld} -m elf32ppclinux
"
7866 LD="${LD-ld} -m elf_s390
"
7869 LD="${LD-ld} -m elf32_sparc
"
7875 x86_64-*kfreebsd*-gnu)
7876 LD="${LD-ld} -m elf_x86_64_fbsd
"
7879 LD="${LD-ld} -m elf_x86_64
"
7882 LD="${LD-ld} -m elf64lppc
"
7885 LD="${LD-ld} -m elf64ppc
"
7887 s390*-*linux*|s390*-*tpf*)
7888 LD="${LD-ld} -m elf64_s390
"
7891 LD="${LD-ld} -m elf64_sparc
"
7901 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7902 SAVE_CFLAGS="$CFLAGS"
7903 CFLAGS="$CFLAGS -belf"
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7905 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7906 if ${lt_cv_cc_needs_belf+:} false; then :
7907 $as_echo_n "(cached
) " >&6
7910 ac_cpp='$CPP $CPPFLAGS'
7911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7916 /* end confdefs.h. */
7926 if ac_fn_c_try_link "$LINENO"; then :
7927 lt_cv_cc_needs_belf=yes
7929 lt_cv_cc_needs_belf=no
7931 rm -f core conftest.err conftest.$ac_objext \
7932 conftest$ac_exeext conftest.$ac_ext
7934 ac_cpp='$CPP $CPPFLAGS'
7935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7941 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7942 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7943 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7944 CFLAGS="$SAVE_CFLAGS"
7948 # Find out which ABI we are using.
7949 echo 'int i;' > conftest.$ac_ext
7950 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7951 (eval $ac_compile) 2>&5
7953 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7954 test $ac_status = 0; }; then
7955 case `/usr/bin/file conftest.o` in
7957 case $lt_cv_prog_gnu_ld in
7958 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7960 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7972 need_locks="$enable_libtool_lock"
7976 rhapsody* | darwin*)
7977 if test -n "$ac_tool_prefix"; then
7978 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7979 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7981 $as_echo_n "checking
for $ac_word...
" >&6; }
7982 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7983 $as_echo_n "(cached
) " >&6
7985 if test -n "$DSYMUTIL"; then
7986 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7992 test -z "$as_dir" && as_dir=.
7993 for ac_exec_ext in '' $ac_executable_extensions; do
7994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7995 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7996 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8005 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8006 if test -n "$DSYMUTIL"; then
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8008 $as_echo "$DSYMUTIL" >&6; }
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8011 $as_echo "no
" >&6; }
8016 if test -z "$ac_cv_prog_DSYMUTIL"; then
8017 ac_ct_DSYMUTIL=$DSYMUTIL
8018 # Extract the first word of "dsymutil
", so it can be a program name with args.
8019 set dummy dsymutil; ac_word=$2
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8021 $as_echo_n "checking
for $ac_word...
" >&6; }
8022 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8023 $as_echo_n "(cached
) " >&6
8025 if test -n "$ac_ct_DSYMUTIL"; then
8026 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8032 test -z "$as_dir" && as_dir=.
8033 for ac_exec_ext in '' $ac_executable_extensions; do
8034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8035 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8036 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8045 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8046 if test -n "$ac_ct_DSYMUTIL"; then
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8048 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8051 $as_echo "no
" >&6; }
8054 if test "x
$ac_ct_DSYMUTIL" = x; then
8057 case $cross_compiling:$ac_tool_warned in
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8060 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8061 ac_tool_warned=yes ;;
8063 DSYMUTIL=$ac_ct_DSYMUTIL
8066 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8069 if test -n "$ac_tool_prefix"; then
8070 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8071 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8073 $as_echo_n "checking
for $ac_word...
" >&6; }
8074 if ${ac_cv_prog_NMEDIT+:} false; then :
8075 $as_echo_n "(cached
) " >&6
8077 if test -n "$NMEDIT"; then
8078 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8084 test -z "$as_dir" && as_dir=.
8085 for ac_exec_ext in '' $ac_executable_extensions; do
8086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8087 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8088 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8097 NMEDIT=$ac_cv_prog_NMEDIT
8098 if test -n "$NMEDIT"; then
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8100 $as_echo "$NMEDIT" >&6; }
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8103 $as_echo "no
" >&6; }
8108 if test -z "$ac_cv_prog_NMEDIT"; then
8109 ac_ct_NMEDIT=$NMEDIT
8110 # Extract the first word of "nmedit
", so it can be a program name with args.
8111 set dummy nmedit; ac_word=$2
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8113 $as_echo_n "checking
for $ac_word...
" >&6; }
8114 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8115 $as_echo_n "(cached
) " >&6
8117 if test -n "$ac_ct_NMEDIT"; then
8118 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8124 test -z "$as_dir" && as_dir=.
8125 for ac_exec_ext in '' $ac_executable_extensions; do
8126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8127 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8128 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8137 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8138 if test -n "$ac_ct_NMEDIT"; then
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8140 $as_echo "$ac_ct_NMEDIT" >&6; }
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8143 $as_echo "no
" >&6; }
8146 if test "x
$ac_ct_NMEDIT" = x; then
8149 case $cross_compiling:$ac_tool_warned in
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8152 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8153 ac_tool_warned=yes ;;
8155 NMEDIT=$ac_ct_NMEDIT
8158 NMEDIT="$ac_cv_prog_NMEDIT"
8161 if test -n "$ac_tool_prefix"; then
8162 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8163 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8165 $as_echo_n "checking
for $ac_word...
" >&6; }
8166 if ${ac_cv_prog_LIPO+:} false; then :
8167 $as_echo_n "(cached
) " >&6
8169 if test -n "$LIPO"; then
8170 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8176 test -z "$as_dir" && as_dir=.
8177 for ac_exec_ext in '' $ac_executable_extensions; do
8178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8179 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8180 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8189 LIPO=$ac_cv_prog_LIPO
8190 if test -n "$LIPO"; then
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8192 $as_echo "$LIPO" >&6; }
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8195 $as_echo "no
" >&6; }
8200 if test -z "$ac_cv_prog_LIPO"; then
8202 # Extract the first word of "lipo
", so it can be a program name with args.
8203 set dummy lipo; ac_word=$2
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8205 $as_echo_n "checking
for $ac_word...
" >&6; }
8206 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8207 $as_echo_n "(cached
) " >&6
8209 if test -n "$ac_ct_LIPO"; then
8210 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8216 test -z "$as_dir" && as_dir=.
8217 for ac_exec_ext in '' $ac_executable_extensions; do
8218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8219 ac_cv_prog_ac_ct_LIPO="lipo
"
8220 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8229 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8230 if test -n "$ac_ct_LIPO"; then
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8232 $as_echo "$ac_ct_LIPO" >&6; }
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8235 $as_echo "no
" >&6; }
8238 if test "x
$ac_ct_LIPO" = x; then
8241 case $cross_compiling:$ac_tool_warned in
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8244 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8245 ac_tool_warned=yes ;;
8250 LIPO="$ac_cv_prog_LIPO"
8253 if test -n "$ac_tool_prefix"; then
8254 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8255 set dummy ${ac_tool_prefix}otool; ac_word=$2
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8257 $as_echo_n "checking
for $ac_word...
" >&6; }
8258 if ${ac_cv_prog_OTOOL+:} false; then :
8259 $as_echo_n "(cached
) " >&6
8261 if test -n "$OTOOL"; then
8262 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8268 test -z "$as_dir" && as_dir=.
8269 for ac_exec_ext in '' $ac_executable_extensions; do
8270 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8271 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8272 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8281 OTOOL=$ac_cv_prog_OTOOL
8282 if test -n "$OTOOL"; then
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8284 $as_echo "$OTOOL" >&6; }
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8287 $as_echo "no
" >&6; }
8292 if test -z "$ac_cv_prog_OTOOL"; then
8294 # Extract the first word of "otool
", so it can be a program name with args.
8295 set dummy otool; ac_word=$2
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8297 $as_echo_n "checking
for $ac_word...
" >&6; }
8298 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8299 $as_echo_n "(cached
) " >&6
8301 if test -n "$ac_ct_OTOOL"; then
8302 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8308 test -z "$as_dir" && as_dir=.
8309 for ac_exec_ext in '' $ac_executable_extensions; do
8310 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8311 ac_cv_prog_ac_ct_OTOOL="otool
"
8312 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8321 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8322 if test -n "$ac_ct_OTOOL"; then
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8324 $as_echo "$ac_ct_OTOOL" >&6; }
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8327 $as_echo "no
" >&6; }
8330 if test "x
$ac_ct_OTOOL" = x; then
8333 case $cross_compiling:$ac_tool_warned in
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8336 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8337 ac_tool_warned=yes ;;
8342 OTOOL="$ac_cv_prog_OTOOL"
8345 if test -n "$ac_tool_prefix"; then
8346 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8347 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8349 $as_echo_n "checking
for $ac_word...
" >&6; }
8350 if ${ac_cv_prog_OTOOL64+:} false; then :
8351 $as_echo_n "(cached
) " >&6
8353 if test -n "$OTOOL64"; then
8354 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8360 test -z "$as_dir" && as_dir=.
8361 for ac_exec_ext in '' $ac_executable_extensions; do
8362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8363 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8364 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8373 OTOOL64=$ac_cv_prog_OTOOL64
8374 if test -n "$OTOOL64"; then
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8376 $as_echo "$OTOOL64" >&6; }
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8379 $as_echo "no
" >&6; }
8384 if test -z "$ac_cv_prog_OTOOL64"; then
8385 ac_ct_OTOOL64=$OTOOL64
8386 # Extract the first word of "otool64
", so it can be a program name with args.
8387 set dummy otool64; ac_word=$2
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8389 $as_echo_n "checking
for $ac_word...
" >&6; }
8390 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8391 $as_echo_n "(cached
) " >&6
8393 if test -n "$ac_ct_OTOOL64"; then
8394 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8400 test -z "$as_dir" && as_dir=.
8401 for ac_exec_ext in '' $ac_executable_extensions; do
8402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8403 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8404 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8413 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8414 if test -n "$ac_ct_OTOOL64"; then
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8416 $as_echo "$ac_ct_OTOOL64" >&6; }
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8419 $as_echo "no
" >&6; }
8422 if test "x
$ac_ct_OTOOL64" = x; then
8425 case $cross_compiling:$ac_tool_warned in
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8428 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8429 ac_tool_warned=yes ;;
8431 OTOOL64=$ac_ct_OTOOL64
8434 OTOOL64="$ac_cv_prog_OTOOL64"
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8464 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8465 if ${lt_cv_apple_cc_single_mod+:} false; then :
8466 $as_echo_n "(cached
) " >&6
8468 lt_cv_apple_cc_single_mod=no
8469 if test -z "${LT_MULTI_MODULE}"; then
8470 # By default we will add the -single_module flag. You can override
8471 # by either setting the environment variable LT_MULTI_MODULE
8472 # non-empty at configure time, or by adding -multi_module to the
8474 rm -rf libconftest.dylib*
8475 echo "int foo
(void
){return 1;}" > conftest.c
8476 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8477 -dynamiclib -Wl,-single_module conftest.c
" >&5
8478 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8479 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8481 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8482 lt_cv_apple_cc_single_mod=yes
8484 cat conftest.err >&5
8486 rm -rf libconftest.dylib*
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8491 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8493 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8494 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8495 $as_echo_n "(cached
) " >&6
8497 lt_cv_ld_exported_symbols_list=no
8498 save_LDFLAGS=$LDFLAGS
8499 echo "_main
" > conftest.sym
8500 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8502 /* end confdefs.h. */
8512 if ac_fn_c_try_link "$LINENO"; then :
8513 lt_cv_ld_exported_symbols_list=yes
8515 lt_cv_ld_exported_symbols_list=no
8517 rm -f core conftest.err conftest.$ac_objext \
8518 conftest$ac_exeext conftest.$ac_ext
8519 LDFLAGS="$save_LDFLAGS"
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8523 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8525 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8526 if ${lt_cv_ld_force_load+:} false; then :
8527 $as_echo_n "(cached
) " >&6
8529 lt_cv_ld_force_load=no
8530 cat > conftest.c << _LT_EOF
8531 int forced_loaded() { return 2;}
8533 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8534 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8535 echo "$AR cru libconftest.a conftest.o
" >&5
8536 $AR cru libconftest.a conftest.o 2>&5
8537 cat > conftest.c << _LT_EOF
8538 int main() { return 0;}
8540 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8541 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8543 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8544 lt_cv_ld_force_load=yes
8546 cat conftest.err >&5
8548 rm -f conftest.err libconftest.a conftest conftest.c
8549 rm -rf conftest.dSYM
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8553 $as_echo "$lt_cv_ld_force_load" >&6; }
8554 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8555 # build without first building modern cctools / linker.
8556 case $host_cpu-$host_os in
8557 *-rhapsody* | *-darwin1.[012])
8558 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8560 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8562 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8563 # deployment target is forced to an earlier version.
8564 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8565 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
8568 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8575 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8576 _lt_dar_single_mod='$single_module'
8578 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8579 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8581 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8583 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8584 _lt_dsymutil='~$DSYMUTIL $lib || :'
8591 for ac_header in dlfcn.h
8593 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8595 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
8596 cat >>confdefs.h <<_ACEOF
8597 #define HAVE_DLFCN_H 1
8619 # Check whether --enable-shared was given.
8620 if test "${enable_shared+set}" = set; then :
8621 enableval=$enable_shared; p=${PACKAGE-default}
8623 yes) enable_shared=yes ;;
8624 no) enable_shared=no ;;
8627 # Look at the argument we got. We use all the common list separators.
8628 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8629 for pkg in $enableval; do
8631 if test "X
$pkg" = "X
$p"; then
8650 # Check whether --enable-static was given.
8651 if test "${enable_static+set}" = set; then :
8652 enableval=$enable_static; p=${PACKAGE-default}
8654 yes) enable_static=yes ;;
8655 no) enable_static=no ;;
8658 # Look at the argument we got. We use all the common list separators.
8659 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8660 for pkg in $enableval; do
8662 if test "X
$pkg" = "X
$p"; then
8682 # Check whether --with-pic was given.
8683 if test "${with_pic+set}" = set; then :
8684 withval=$with_pic; pic_mode="$withval"
8690 test -z "$pic_mode" && pic_mode=default
8698 # Check whether --enable-fast-install was given.
8699 if test "${enable_fast_install+set}" = set; then :
8700 enableval=$enable_fast_install; p=${PACKAGE-default}
8702 yes) enable_fast_install=yes ;;
8703 no) enable_fast_install=no ;;
8705 enable_fast_install=no
8706 # Look at the argument we got. We use all the common list separators.
8707 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8708 for pkg in $enableval; do
8710 if test "X
$pkg" = "X
$p"; then
8711 enable_fast_install=yes
8718 enable_fast_install=yes
8731 # This can be used to rebuild libtool when needed
8732 LIBTOOL_DEPS="$ltmain"
8734 # Always use our own libtool.
8735 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8762 test -z "$LN_S" && LN_S="ln -s"
8777 if test -n "${ZSH_VERSION+set}" ; then
8778 setopt NO_GLOB_SUBST
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8782 $as_echo_n "checking
for objdir...
" >&6; }
8783 if ${lt_cv_objdir+:} false; then :
8784 $as_echo_n "(cached
) " >&6
8786 rm -f .libs 2>/dev/null
8787 mkdir .libs 2>/dev/null
8788 if test -d .libs; then
8791 # MS-DOS does not allow filenames that begin with a dot.
8794 rmdir .libs 2>/dev/null
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8797 $as_echo "$lt_cv_objdir" >&6; }
8798 objdir=$lt_cv_objdir
8804 cat >>confdefs.h <<_ACEOF
8805 #define LT_OBJDIR "$lt_cv_objdir/"
8813 # AIX sometimes has problems with the GCC collect2 program. For some
8814 # reason, if we set the COLLECT_NAMES environment variable, the problems
8815 # vanish in a puff of smoke.
8816 if test "X
${COLLECT_NAMES+set}" != Xset; then
8818 export COLLECT_NAMES
8825 can_build_shared=yes
8827 # All known linkers require a `.a' archive for static linking (except MSVC,
8828 # which needs '.lib').
8831 with_gnu_ld="$lt_cv_prog_gnu_ld"
8834 old_CFLAGS="$CFLAGS"
8836 # Set sane defaults for various variables
8837 test -z "$CC" && CC=cc
8838 test -z "$LTCC" && LTCC=$CC
8839 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8840 test -z "$LD" && LD=ld
8841 test -z "$ac_objext" && ac_objext=o
8843 for cc_temp in $compiler""; do
8845 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8846 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8851 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
8854 # Only perform the check for file, if the check method requires it
8855 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8856 case $deplibs_check_method in
8858 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
8860 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
8861 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8862 $as_echo_n "(cached
) " >&6
8866 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8869 lt_save_MAGIC_CMD="$MAGIC_CMD"
8870 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8871 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8872 for ac_dir in $ac_dummy; do
8874 test -z "$ac_dir" && ac_dir=.
8875 if test -f $ac_dir/${ac_tool_prefix}file; then
8876 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8877 if test -n "$file_magic_test_file"; then
8878 case $deplibs_check_method in
8880 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8881 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8882 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8883 $EGREP "$file_magic_regex" > /dev/null; then
8888 *** Warning: the command libtool uses to detect shared libraries,
8889 *** $file_magic_cmd, produces output that libtool cannot recognize.
8890 *** The result is that libtool may fail to recognize shared libraries
8891 *** as such. This will affect the creation of libtool libraries that
8892 *** depend on shared libraries, but programs linked with such libtool
8893 *** libraries will work regardless of this problem. Nevertheless, you
8894 *** may want to report the problem to your system manager and/or to
8895 *** bug-libtool@gnu.org
8905 MAGIC_CMD="$lt_save_MAGIC_CMD"
8910 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8911 if test -n "$MAGIC_CMD"; then
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8913 $as_echo "$MAGIC_CMD" >&6; }
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8916 $as_echo "no
" >&6; }
8923 if test -z "$lt_cv_path_MAGIC_CMD"; then
8924 if test -n "$ac_tool_prefix"; then
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8926 $as_echo_n "checking
for file...
" >&6; }
8927 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8928 $as_echo_n "(cached
) " >&6
8932 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8935 lt_save_MAGIC_CMD="$MAGIC_CMD"
8936 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8937 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8938 for ac_dir in $ac_dummy; do
8940 test -z "$ac_dir" && ac_dir=.
8941 if test -f $ac_dir/file; then
8942 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8943 if test -n "$file_magic_test_file"; then
8944 case $deplibs_check_method in
8946 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8947 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8948 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8949 $EGREP "$file_magic_regex" > /dev/null; then
8954 *** Warning: the command libtool uses to detect shared libraries,
8955 *** $file_magic_cmd, produces output that libtool cannot recognize.
8956 *** The result is that libtool may fail to recognize shared libraries
8957 *** as such. This will affect the creation of libtool libraries that
8958 *** depend on shared libraries, but programs linked with such libtool
8959 *** libraries will work regardless of this problem. Nevertheless, you
8960 *** may want to report the problem to your system manager and/or to
8961 *** bug-libtool@gnu.org
8971 MAGIC_CMD="$lt_save_MAGIC_CMD"
8976 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8977 if test -n "$MAGIC_CMD"; then
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8979 $as_echo "$MAGIC_CMD" >&6; }
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8982 $as_echo "no
" >&6; }
8995 # Use C for the default configuration in the libtool script
8999 ac_cpp='$CPP $CPPFLAGS'
9000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9005 # Source file extension for C test sources.
9008 # Object file extension for compiled C test sources.
9012 # Code to be used in simple compile tests
9013 lt_simple_compile_test_code="int some_variable
= 0;"
9015 # Code to be used in simple link tests
9016 lt_simple_link_test_code='int main(){return(0);}'
9024 # If no C compiler was specified, use CC.
9027 # If no C compiler flags were specified, use CFLAGS.
9028 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9030 # Allow CC to be a program name with arguments.
9033 # Save the default compiler, since it gets overwritten when the other
9034 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9035 compiler_DEFAULT=$CC
9037 # save warnings/boilerplate of simple test code
9038 ac_outfile=conftest.$ac_objext
9039 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9040 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9041 _lt_compiler_boilerplate=`cat conftest.err`
9044 ac_outfile=conftest.$ac_objext
9045 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9046 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9047 _lt_linker_boilerplate=`cat conftest.err`
9052 ## There is no encapsulation within the following macros, do not change
9053 ## the running order or otherwise move them around unless you know exactly
9054 ## what you are doing...
9055 if test -n "$compiler"; then
9057 lt_prog_compiler_no_builtin_flag=
9059 if test "$GCC" = yes; then
9060 case $cc_basename in
9062 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9064 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
9068 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
9069 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9070 $as_echo_n "(cached
) " >&6
9072 lt_cv_prog_compiler_rtti_exceptions=no
9073 ac_outfile=conftest.$ac_objext
9074 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9075 lt_compiler_flag="-fno-rtti -fno-exceptions"
9076 # Insert the option either (1) after the last *FLAGS variable, or
9077 # (2) before a word containing "conftest.
", or (3) at the end.
9078 # Note that $ac_compile itself does not contain backslashes and begins
9079 # with a dollar sign (not a hyphen), so the echo should work correctly.
9080 # The option is referenced via a variable to avoid confusing sed.
9081 lt_compile=`echo "$ac_compile" | $SED \
9082 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9083 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9084 -e 's:$: $lt_compiler_flag:'`
9085 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9086 (eval "$lt_compile" 2>conftest.err)
9088 cat conftest.err >&5
9089 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9090 if (exit $ac_status) && test -s "$ac_outfile"; then
9091 # The compiler can only warn and ignore the option if not recognized
9092 # So say no if there are warnings other than the usual output.
9093 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9094 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9095 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9096 lt_cv_prog_compiler_rtti_exceptions=yes
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
9103 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9105 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9106 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9118 lt_prog_compiler_wl=
9119 lt_prog_compiler_pic=
9120 lt_prog_compiler_static=
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
9123 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
9125 if test "$GCC" = yes; then
9126 lt_prog_compiler_wl='-Wl,'
9127 lt_prog_compiler_static='-static'
9131 # All AIX code is PIC.
9132 if test "$host_cpu" = ia64; then
9133 # AIX 5 now supports IA64 processor
9134 lt_prog_compiler_static='-Bstatic'
9136 lt_prog_compiler_pic='-fPIC'
9142 # see comment about AmigaOS4 .so support
9143 lt_prog_compiler_pic='-fPIC'
9146 # FIXME: we need at least 68020 code to build shared libraries, but
9147 # adding the `-m68020' flag to GCC prevents building anything better,
9149 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9154 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9155 # PIC is the default for these OSes.
9158 mingw* | cygwin* | pw32* | os2* | cegcc*)
9159 # This hack is so that the source file can tell whether it is being
9160 # built for inclusion in a dll (and should export symbols for example).
9161 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9162 # (--disable-auto-import) libraries
9163 lt_prog_compiler_pic='-DDLL_EXPORT'
9166 darwin* | rhapsody*)
9167 # PIC is the default on this platform
9168 # Common symbols not allowed in MH_DYLIB files
9169 lt_prog_compiler_pic='-fno-common'
9173 # PIC is the default for Haiku.
9174 # The "-static" flag exists, but is broken.
9175 lt_prog_compiler_static=
9179 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9180 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9181 # sets the default TLS model and affects inlining.
9187 lt_prog_compiler_pic='-fPIC'
9193 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9194 # Instead, we relocate shared libraries at runtime.
9198 # Just because we use GCC doesn't mean we suddenly get shared libraries
9199 # on systems that don't support them.
9200 lt_prog_compiler_can_build_shared=no
9205 # QNX uses GNU C++, but need to define -shared option too, otherwise
9207 lt_prog_compiler_pic='-fPIC -shared'
9211 if test -d /usr/nec; then
9212 lt_prog_compiler_pic=-Kconform_pic
9217 lt_prog_compiler_pic='-fPIC'
9221 case $cc_basename in
9222 nvcc*) # Cuda Compiler Driver 2.2
9223 lt_prog_compiler_wl='-Xlinker '
9224 lt_prog_compiler_pic='-Xcompiler -fPIC'
9228 # PORTME Check for flag to pass linker flags through the system compiler.
9231 lt_prog_compiler_wl='-Wl,'
9232 if test "$host_cpu" = ia64; then
9233 # AIX 5 now supports IA64 processor
9234 lt_prog_compiler_static='-Bstatic'
9236 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9240 mingw* | cygwin* | pw32* | os2* | cegcc*)
9241 # This hack is so that the source file can tell whether it is being
9242 # built for inclusion in a dll (and should export symbols for example).
9243 lt_prog_compiler_pic='-DDLL_EXPORT'
9246 hpux9* | hpux10* | hpux11*)
9247 lt_prog_compiler_wl='-Wl,'
9248 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9255 lt_prog_compiler_pic='+Z'
9258 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9259 lt_prog_compiler_static='${wl}-a ${wl}archive'
9262 irix5* | irix6* | nonstopux*)
9263 lt_prog_compiler_wl='-Wl,'
9264 # PIC (with -KPIC) is the default.
9265 lt_prog_compiler_static='-non_shared'
9268 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9269 case $cc_basename in
9270 # old Intel for x86_64 which still supported -KPIC.
9272 lt_prog_compiler_wl='-Wl,'
9273 lt_prog_compiler_pic='-KPIC'
9274 lt_prog_compiler_static='-static'
9276 # icc used to be incompatible with GCC.
9277 # ICC 10 doesn't accept -KPIC any more.
9279 lt_prog_compiler_wl='-Wl,'
9280 lt_prog_compiler_pic='-fPIC'
9281 lt_prog_compiler_static='-static'
9283 # Lahey Fortran 8.1.
9285 lt_prog_compiler_wl='-Wl,'
9286 lt_prog_compiler_pic='--shared'
9287 lt_prog_compiler_static='--static'
9289 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9290 # Portland Group compilers (*not* the Pentium gcc compiler,
9291 # which looks to be a dead project)
9292 lt_prog_compiler_wl='-Wl,'
9293 lt_prog_compiler_pic='-fpic'
9294 lt_prog_compiler_static='-Bstatic'
9297 lt_prog_compiler_wl='-Wl,'
9298 # All Alpha code is PIC.
9299 lt_prog_compiler_static='-non_shared'
9301 xl* | bgxl* | bgf* | mpixl*)
9302 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9303 lt_prog_compiler_wl='-Wl,'
9304 lt_prog_compiler_pic='-qpic'
9305 lt_prog_compiler_static='-qstaticlink'
9308 case `$CC -V 2>&1 | sed 5q` in
9309 *Sun\ F* | *Sun*Fortran*)
9310 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9311 lt_prog_compiler_pic='-KPIC'
9312 lt_prog_compiler_static='-Bstatic'
9313 lt_prog_compiler_wl=''
9317 lt_prog_compiler_pic='-KPIC'
9318 lt_prog_compiler_static='-Bstatic'
9319 lt_prog_compiler_wl='-Wl,'
9327 lt_prog_compiler_pic='-KPIC'
9328 lt_prog_compiler_static='-Bstatic'
9332 # QNX uses GNU C++, but need to define -shared option too, otherwise
9334 lt_prog_compiler_pic='-fPIC -shared'
9337 osf3* | osf4* | osf5*)
9338 lt_prog_compiler_wl='-Wl,'
9339 # All OSF/1 code is PIC.
9340 lt_prog_compiler_static='-non_shared'
9344 lt_prog_compiler_static='-non_shared'
9348 lt_prog_compiler_pic='-KPIC'
9349 lt_prog_compiler_static='-Bstatic'
9350 case $cc_basename in
9352 lt_prog_compiler_wl='-Qoption ld ';;
9354 lt_prog_compiler_wl='-Wl,';;
9359 lt_prog_compiler_wl='-Qoption ld '
9360 lt_prog_compiler_pic='-PIC'
9361 lt_prog_compiler_static='-Bstatic'
9364 sysv4 | sysv4.2uw2* | sysv4.3*)
9365 lt_prog_compiler_wl='-Wl,'
9366 lt_prog_compiler_pic='-KPIC'
9367 lt_prog_compiler_static='-Bstatic'
9371 if test -d /usr/nec ;then
9372 lt_prog_compiler_pic='-Kconform_pic'
9373 lt_prog_compiler_static='-Bstatic'
9377 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9378 lt_prog_compiler_wl='-Wl,'
9379 lt_prog_compiler_pic='-KPIC'
9380 lt_prog_compiler_static='-Bstatic'
9384 lt_prog_compiler_wl='-Wl,'
9385 lt_prog_compiler_can_build_shared=no
9389 lt_prog_compiler_pic='-pic'
9390 lt_prog_compiler_static='-Bstatic'
9394 lt_prog_compiler_can_build_shared=no
9400 # For platforms which do not support PIC, -DPIC is meaningless:
9402 lt_prog_compiler_pic=
9405 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
9409 $as_echo "$lt_prog_compiler_pic" >&6; }
9417 # Check to make sure the PIC flag actually works.
9419 if test -n "$lt_prog_compiler_pic"; then
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
9421 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
9422 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9423 $as_echo_n "(cached
) " >&6
9425 lt_cv_prog_compiler_pic_works=no
9426 ac_outfile=conftest.$ac_objext
9427 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9428 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9429 # Insert the option either (1) after the last *FLAGS variable, or
9430 # (2) before a word containing "conftest.
", or (3) at the end.
9431 # Note that $ac_compile itself does not contain backslashes and begins
9432 # with a dollar sign (not a hyphen), so the echo should work correctly.
9433 # The option is referenced via a variable to avoid confusing sed.
9434 lt_compile=`echo "$ac_compile" | $SED \
9435 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9436 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9437 -e 's:$: $lt_compiler_flag:'`
9438 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9439 (eval "$lt_compile" 2>conftest.err)
9441 cat conftest.err >&5
9442 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9443 if (exit $ac_status) && test -s "$ac_outfile"; then
9444 # The compiler can only warn and ignore the option if not recognized
9445 # So say no if there are warnings other than the usual output.
9446 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9447 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9448 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9449 lt_cv_prog_compiler_pic_works=yes
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9456 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9458 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9459 case $lt_prog_compiler_pic in
9461 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9464 lt_prog_compiler_pic=
9465 lt_prog_compiler_can_build_shared=no
9476 # Check to make sure the static flag actually works.
9478 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9480 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9481 if ${lt_cv_prog_compiler_static_works+:} false; then :
9482 $as_echo_n "(cached
) " >&6
9484 lt_cv_prog_compiler_static_works=no
9485 save_LDFLAGS="$LDFLAGS"
9486 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9487 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9488 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9489 # The linker can only warn and ignore the option if not recognized
9490 # So say no if there are warnings
9491 if test -s conftest.err; then
9492 # Append any errors to the config.log.
9493 cat conftest.err 1>&5
9494 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9495 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9496 if diff conftest.exp conftest.er2 >/dev/null; then
9497 lt_cv_prog_compiler_static_works=yes
9500 lt_cv_prog_compiler_static_works=yes
9504 LDFLAGS="$save_LDFLAGS"
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9508 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9510 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9513 lt_prog_compiler_static=
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9523 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9524 if ${lt_cv_prog_compiler_c_o+:} false; then :
9525 $as_echo_n "(cached
) " >&6
9527 lt_cv_prog_compiler_c_o=no
9528 $RM -r conftest 2>/dev/null
9532 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9534 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9535 # Insert the option either (1) after the last *FLAGS variable, or
9536 # (2) before a word containing "conftest.
", or (3) at the end.
9537 # Note that $ac_compile itself does not contain backslashes and begins
9538 # with a dollar sign (not a hyphen), so the echo should work correctly.
9539 lt_compile=`echo "$ac_compile" | $SED \
9540 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9541 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9542 -e 's:$: $lt_compiler_flag:'`
9543 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9544 (eval "$lt_compile" 2>out/conftest.err)
9546 cat out/conftest.err >&5
9547 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9548 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9550 # The compiler can only warn and ignore the option if not recognized
9551 # So say no if there are warnings
9552 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9553 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9554 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9555 lt_cv_prog_compiler_c_o=yes
9560 # SGI C++ compiler will create directory out/ii_files/ for
9561 # template instantiation
9562 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9563 $RM out/* && rmdir out
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9570 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9578 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9579 if ${lt_cv_prog_compiler_c_o+:} false; then :
9580 $as_echo_n "(cached
) " >&6
9582 lt_cv_prog_compiler_c_o=no
9583 $RM -r conftest 2>/dev/null
9587 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9589 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9590 # Insert the option either (1) after the last *FLAGS variable, or
9591 # (2) before a word containing "conftest.
", or (3) at the end.
9592 # Note that $ac_compile itself does not contain backslashes and begins
9593 # with a dollar sign (not a hyphen), so the echo should work correctly.
9594 lt_compile=`echo "$ac_compile" | $SED \
9595 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9596 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9597 -e 's:$: $lt_compiler_flag:'`
9598 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9599 (eval "$lt_compile" 2>out/conftest.err)
9601 cat out/conftest.err >&5
9602 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9603 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9605 # The compiler can only warn and ignore the option if not recognized
9606 # So say no if there are warnings
9607 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9608 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9609 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9610 lt_cv_prog_compiler_c_o=yes
9615 # SGI C++ compiler will create directory out/ii_files/ for
9616 # template instantiation
9617 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9618 $RM out/* && rmdir out
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9625 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9630 hard_links="nottested
"
9631 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9632 # do not overwrite the value of need_locks provided by the user
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9634 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9637 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9639 ln conftest.a conftest.b 2>&5 || hard_links=no
9640 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9642 $as_echo "$hard_links" >&6; }
9643 if test "$hard_links" = no; then
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
9645 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9658 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9661 allow_undefined_flag=
9662 always_export_symbols=no
9664 archive_expsym_cmds=
9665 compiler_needs_object=no
9666 enable_shared_with_static_runtimes=no
9667 export_dynamic_flag_spec=
9668 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9669 hardcode_automatic=no
9671 hardcode_direct_absolute=no
9672 hardcode_libdir_flag_spec=
9673 hardcode_libdir_flag_spec_ld=
9674 hardcode_libdir_separator=
9676 hardcode_shlibpath_var=unsupported
9678 link_all_deplibs=unknown
9681 old_archive_from_new_cmds=
9682 old_archive_from_expsyms_cmds=
9683 thread_safe_flag_spec=
9684 whole_archive_flag_spec=
9685 # include_expsyms should be a list of space-separated symbols to be *always*
9686 # included in the symbol list
9688 # exclude_expsyms can be an extended regexp of symbols to exclude
9689 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9690 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9691 # as well as any symbol that contains `d'.
9692 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9693 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9694 # platforms (ab)use it in PIC code, but their linkers get confused if
9695 # the symbol is explicitly referenced. Since portable code cannot
9696 # rely on this symbol name, it's probably fine to never include it in
9697 # preloaded symbol tables.
9698 # Exclude shared library initialization/finalization symbols.
9699 extract_expsyms_cmds=
9702 cygwin* | mingw* | pw32* | cegcc*)
9703 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9704 # When not using gcc, we currently assume that we are using
9705 # Microsoft Visual C++.
9706 if test "$GCC" != yes; then
9711 # we just hope/assume this is gcc and not c89 (= MSVC++)
9721 # On some targets, GNU ld is compatible enough with the native linker
9722 # that we're better off using the native interface for both.
9723 lt_use_gnu_ld_interface=no
9724 if test "$with_gnu_ld" = yes; then
9727 # The AIX port of GNU ld has always aspired to compatibility
9728 # with the native linker. However, as the warning in the GNU ld
9729 # block says, versions before 2.19.5* couldn't really create working
9730 # shared libraries, regardless of the interface used.
9731 case `$LD -v 2>&1` in
9732 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9733 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9734 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9736 lt_use_gnu_ld_interface=yes
9741 lt_use_gnu_ld_interface=yes
9746 if test "$lt_use_gnu_ld_interface" = yes; then
9747 # If archive_cmds runs LD, not CC, wlarc should be empty
9750 # Set some defaults for GNU ld with shared library support. These
9751 # are reset later if shared libraries are not supported. Putting them
9752 # here allows them to be overridden if necessary.
9753 runpath_var=LD_RUN_PATH
9754 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9755 export_dynamic_flag_spec='${wl}--export-dynamic'
9756 # ancient GNU ld didn't support --whole-archive et. al.
9757 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9758 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9760 whole_archive_flag_spec=
9762 supports_anon_versioning=no
9763 case `$LD -v 2>&1` in
9764 *GNU\ gold*) supports_anon_versioning=yes ;;
9765 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9766 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9767 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9768 *\ 2.11.*) ;; # other 2.11 versions
9769 *) supports_anon_versioning=yes ;;
9772 # See if GNU ld supports shared libraries.
9775 # On AIX/PPC, the GNU linker is very broken
9776 if test "$host_cpu" != ia64; then
9780 *** Warning: the GNU linker, at least up to release 2.19, is reported
9781 *** to be unable to reliably create shared libraries on AIX.
9782 *** Therefore, libtool is disabling shared libraries support. If you
9783 *** really care for shared libraries, you may want to install binutils
9784 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9785 *** You will then need to restart the configuration process.
9794 # see comment about AmigaOS4 .so support
9795 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9796 archive_expsym_cmds=''
9799 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)'
9800 hardcode_libdir_flag_spec
='-L$libdir'
9801 hardcode_minus_L
=yes
9807 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9808 allow_undefined_flag
=unsupported
9809 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9810 # support --undefined. This deserves some investigation. FIXME
9811 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9817 cygwin
* | mingw
* | pw32
* | cegcc
*)
9818 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9819 # as there is no search path for DLLs.
9820 hardcode_libdir_flag_spec
='-L$libdir'
9821 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9822 allow_undefined_flag
=unsupported
9823 always_export_symbols
=no
9824 enable_shared_with_static_runtimes
=yes
9825 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9827 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9828 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9829 # If the export-symbols file already is a .def file (1st line
9830 # is EXPORTS), use it as is; otherwise, prepend...
9831 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9832 cp $export_symbols $output_objdir/$soname.def;
9834 echo EXPORTS > $output_objdir/$soname.def;
9835 cat $export_symbols >> $output_objdir/$soname.def;
9837 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9844 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9845 link_all_deplibs
=yes
9850 hardcode_shlibpath_var
=no
9851 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9852 export_dynamic_flag_spec
='${wl}-E'
9853 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9854 # Instead, shared libraries are loaded at an image base (0x10000000 by
9855 # default) and relocated if they conflict, which is a slow very memory
9856 # consuming and fragmenting process. To avoid this, we pick a random,
9857 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9858 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9859 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9860 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'
9863 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
9865 if test "$host_os" = linux-dietlibc
; then
9866 case $cc_basename in
9867 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9870 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9871 && test "$tmp_diet" = no
9873 tmp_addflag
=' $pic_flag'
9874 tmp_sharedflag
='-shared'
9875 case $cc_basename,$host_cpu in
9876 pgcc
*) # Portland Group C compiler
9877 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'
9878 tmp_addflag
=' $pic_flag'
9880 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9881 # Portland Group f77 and f90 compilers
9882 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'
9883 tmp_addflag
=' $pic_flag -Mnomain' ;;
9884 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9885 tmp_addflag
=' -i_dynamic' ;;
9886 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9887 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9888 ifc
* | ifort
*) # Intel Fortran compiler
9889 tmp_addflag
=' -nofor_main' ;;
9890 lf95
*) # Lahey Fortran 8.1
9891 whole_archive_flag_spec
=
9892 tmp_sharedflag
='--shared' ;;
9893 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9894 tmp_sharedflag
='-qmkshrobj'
9896 nvcc
*) # Cuda Compiler Driver 2.2
9897 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'
9898 compiler_needs_object
=yes
9901 case `$CC -V 2>&1 | sed 5q` in
9902 *Sun\ C
*) # Sun C 5.9
9903 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'
9904 compiler_needs_object
=yes
9905 tmp_sharedflag
='-G' ;;
9906 *Sun\ F
*) # Sun Fortran 8.3
9907 tmp_sharedflag
='-G' ;;
9909 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9911 if test "x$supports_anon_versioning" = xyes
; then
9912 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9913 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9914 echo "local: *; };" >> $output_objdir/$libname.ver~
9915 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9918 case $cc_basename in
9919 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9920 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9921 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9922 hardcode_libdir_flag_spec
=
9923 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9924 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9925 if test "x$supports_anon_versioning" = xyes
; then
9926 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9927 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9928 echo "local: *; };" >> $output_objdir/$libname.ver~
9929 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9939 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9940 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9943 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9944 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9949 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9953 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9954 *** create shared libraries on Solaris systems. Therefore, libtool
9955 *** is disabling shared libraries support. We urge you to upgrade GNU
9956 *** binutils to release 2.9.1 or newer. Another option is to modify
9957 *** your PATH or compiler configuration so that the native linker is
9958 *** used, and then restart.
9961 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9962 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9963 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9969 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9970 case `$LD -v 2>&1` in
9971 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9975 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9976 *** reliably create shared libraries on SCO systems. Therefore, libtool
9977 *** is disabling shared libraries support. We urge you to upgrade GNU
9978 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9979 *** your PATH or compiler configuration so that the native linker is
9980 *** used, and then restart.
9985 # For security reasons, it is highly recommended that you always
9986 # use absolute paths for naming shared libraries, and exclude the
9987 # DT_RUNPATH tag from executables and libraries. But doing so
9988 # requires that you compile everything twice, which is a pain.
9989 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9990 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9991 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9992 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10001 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10003 hardcode_direct
=yes
10004 hardcode_shlibpath_var
=no
10008 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10009 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10010 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10017 if test "$ld_shlibs" = no
; then
10019 hardcode_libdir_flag_spec
=
10020 export_dynamic_flag_spec
=
10021 whole_archive_flag_spec
=
10024 # PORTME fill in a description of your system's linker (not GNU ld)
10027 allow_undefined_flag
=unsupported
10028 always_export_symbols
=yes
10029 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'
10030 # Note: this linker hardcodes the directories in LIBPATH if there
10031 # are no directories specified by -L.
10032 hardcode_minus_L
=yes
10033 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10034 # Neither direct hardcoding nor static linking is supported with a
10036 hardcode_direct
=unsupported
10041 if test "$host_cpu" = ia64
; then
10042 # On IA64, the linker does run time linking by default, so we don't
10043 # have to do anything special.
10044 aix_use_runtimelinking
=no
10045 exp_sym_flag
='-Bexport'
10048 # If we're using GNU nm, then we don't want the "-C" option.
10049 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10050 # Also, AIX nm treats weak defined symbols like other global
10051 # defined symbols, whereas GNU nm marks them as "W".
10052 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10053 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'
10055 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'
10057 aix_use_runtimelinking
=no
10059 # Test if we are trying to use run time linking or normal
10060 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10061 # need to do runtime linking.
10062 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10063 for ld_flag
in $LDFLAGS; do
10064 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10065 aix_use_runtimelinking
=yes
10072 exp_sym_flag
='-bexport'
10073 no_entry_flag
='-bnoentry'
10076 # When large executables or shared objects are built, AIX ld can
10077 # have problems creating the table of contents. If linking a library
10078 # or program results in "error TOC overflow" add -mminimal-toc to
10079 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10080 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10083 hardcode_direct
=yes
10084 hardcode_direct_absolute
=yes
10085 hardcode_libdir_separator
=':'
10086 link_all_deplibs
=yes
10087 file_list_spec
='${wl}-f,'
10089 if test "$GCC" = yes; then
10090 case $host_os in aix4.
[012]|aix4.
[012].
*)
10091 # We only want to do this on AIX 4.2 and lower, the check
10092 # below for broken collect2 doesn't work under 4.3+
10093 collect2name
=`${CC} -print-prog-name=collect2`
10094 if test -f "$collect2name" &&
10095 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10097 # We have reworked collect2
10100 # We have old collect2
10101 hardcode_direct
=unsupported
10102 # It fails to find uninstalled libraries when the uninstalled
10103 # path is not listed in the libpath. Setting hardcode_minus_L
10104 # to unsupported forces relinking
10105 hardcode_minus_L
=yes
10106 hardcode_libdir_flag_spec
='-L$libdir'
10107 hardcode_libdir_separator
=
10111 shared_flag
='-shared'
10112 if test "$aix_use_runtimelinking" = yes; then
10113 shared_flag
="$shared_flag "'${wl}-G'
10117 if test "$host_cpu" = ia64
; then
10118 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10119 # chokes on -Wl,-G. The following line is correct:
10122 if test "$aix_use_runtimelinking" = yes; then
10123 shared_flag
='${wl}-G'
10125 shared_flag
='${wl}-bM:SRE'
10130 export_dynamic_flag_spec
='${wl}-bexpall'
10131 # It seems that -bexpall does not export symbols beginning with
10132 # underscore (_), so it is better to generate a list of symbols to export.
10133 always_export_symbols
=yes
10134 if test "$aix_use_runtimelinking" = yes; then
10135 # Warning - without using the other runtime loading flags (-brtl),
10136 # -berok will link without error, but may produce a broken library.
10137 allow_undefined_flag
='-berok'
10138 # Determine the default libpath from the value encoded in an
10139 # empty executable.
10140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10141 /* end confdefs.h. */
10151 if ac_fn_c_try_link
"$LINENO"; then :
10153 lt_aix_libpath_sed
='
10154 /Import File Strings/,/^$/ {
10160 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10161 # Check for a 64-bit object if we didn't find anything.
10162 if test -z "$aix_libpath"; then
10163 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10166 rm -f core conftest.err conftest.
$ac_objext \
10167 conftest
$ac_exeext conftest.
$ac_ext
10168 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10170 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10171 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"
10173 if test "$host_cpu" = ia64
; then
10174 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10175 allow_undefined_flag
="-z nodefs"
10176 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"
10178 # Determine the default libpath from the value encoded in an
10179 # empty executable.
10180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10181 /* end confdefs.h. */
10191 if ac_fn_c_try_link
"$LINENO"; then :
10193 lt_aix_libpath_sed
='
10194 /Import File Strings/,/^$/ {
10200 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10201 # Check for a 64-bit object if we didn't find anything.
10202 if test -z "$aix_libpath"; then
10203 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10206 rm -f core conftest.err conftest.
$ac_objext \
10207 conftest
$ac_exeext conftest.
$ac_ext
10208 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10210 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10211 # Warning - without using the other run time loading flags,
10212 # -berok will link without error, but may produce a broken library.
10213 no_undefined_flag
=' ${wl}-bernotok'
10214 allow_undefined_flag
=' ${wl}-berok'
10215 if test "$with_gnu_ld" = yes; then
10216 # We only use this code for GNU lds that support --whole-archive.
10217 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10219 # Exported symbols can be pulled into shared objects from archives
10220 whole_archive_flag_spec
='$convenience'
10222 archive_cmds_need_lc
=yes
10223 # This is similar to how AIX traditionally builds its shared libraries.
10224 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'
10232 # see comment about AmigaOS4 .so support
10233 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10234 archive_expsym_cmds
=''
10237 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)'
10238 hardcode_libdir_flag_spec
='-L$libdir'
10239 hardcode_minus_L
=yes
10245 export_dynamic_flag_spec
=-rdynamic
10248 cygwin
* | mingw
* | pw32
* | cegcc
*)
10249 # When not using gcc, we currently assume that we are using
10250 # Microsoft Visual C++.
10251 # hardcode_libdir_flag_spec is actually meaningless, as there is
10252 # no search path for DLLs.
10253 hardcode_libdir_flag_spec
=' '
10254 allow_undefined_flag
=unsupported
10255 # Tell ltmain to make .lib files, not .a files.
10257 # Tell ltmain to make .dll files, not .so files.
10259 # FIXME: Setting linknames here is a bad hack.
10260 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10261 # The linker will automatically build a .lib file if we build a DLL.
10262 old_archive_from_new_cmds
='true'
10263 # FIXME: Should let the user specify the lib program.
10264 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10265 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10266 enable_shared_with_static_runtimes
=yes
10269 darwin
* | rhapsody
*)
10272 archive_cmds_need_lc
=no
10274 hardcode_automatic
=yes
10275 hardcode_shlibpath_var
=unsupported
10276 if test "$lt_cv_ld_force_load" = "yes"; then
10277 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\"`'
10279 whole_archive_flag_spec
=''
10281 link_all_deplibs
=yes
10282 allow_undefined_flag
="$_lt_dar_allow_undefined"
10283 case $cc_basename in
10284 ifort
*) _lt_dar_can_shared
=yes ;;
10285 *) _lt_dar_can_shared
=$GCC ;;
10287 if test "$_lt_dar_can_shared" = "yes"; then
10288 output_verbose_link_cmd
=func_echo_all
10289 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10290 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10291 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}"
10292 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}"
10301 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10302 hardcode_libdir_flag_spec
='-L$libdir'
10303 hardcode_shlibpath_var
=no
10306 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10307 # support. Future versions do this automatically, but an explicit c++rt0.o
10308 # does not break anything, and helps significantly (at the cost of a little
10311 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10312 hardcode_libdir_flag_spec
='-R$libdir'
10313 hardcode_direct
=yes
10314 hardcode_shlibpath_var
=no
10317 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10319 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10320 hardcode_direct
=yes
10321 hardcode_minus_L
=yes
10322 hardcode_shlibpath_var
=no
10325 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10326 freebsd
* | dragonfly
*)
10327 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10328 hardcode_libdir_flag_spec
='-R$libdir'
10329 hardcode_direct
=yes
10330 hardcode_shlibpath_var
=no
10334 if test "$GCC" = yes; then
10335 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'
10337 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'
10339 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10340 hardcode_libdir_separator
=:
10341 hardcode_direct
=yes
10343 # hardcode_minus_L: Not really in the search PATH,
10344 # but as the default location of the library.
10345 hardcode_minus_L
=yes
10346 export_dynamic_flag_spec
='${wl}-E'
10350 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10351 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10353 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10355 if test "$with_gnu_ld" = no
; then
10356 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10357 hardcode_libdir_flag_spec_ld
='+b $libdir'
10358 hardcode_libdir_separator
=:
10359 hardcode_direct
=yes
10360 hardcode_direct_absolute
=yes
10361 export_dynamic_flag_spec
='${wl}-E'
10362 # hardcode_minus_L: Not really in the search PATH,
10363 # but as the default location of the library.
10364 hardcode_minus_L
=yes
10369 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10372 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10375 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10378 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10384 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10387 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10391 # Older versions of the 11.00 compiler do not understand -b yet
10392 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10394 $as_echo_n "checking if $CC understands -b... " >&6; }
10395 if ${lt_cv_prog_compiler__b+:} false
; then :
10396 $as_echo_n "(cached) " >&6
10398 lt_cv_prog_compiler__b
=no
10399 save_LDFLAGS
="$LDFLAGS"
10400 LDFLAGS
="$LDFLAGS -b"
10401 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10402 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10403 # The linker can only warn and ignore the option if not recognized
10404 # So say no if there are warnings
10405 if test -s conftest.err
; then
10406 # Append any errors to the config.log.
10407 cat conftest.err
1>&5
10408 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10409 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10410 if diff conftest.exp conftest.er2
>/dev
/null
; then
10411 lt_cv_prog_compiler__b
=yes
10414 lt_cv_prog_compiler__b
=yes
10418 LDFLAGS
="$save_LDFLAGS"
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10422 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10424 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10425 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10427 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10433 if test "$with_gnu_ld" = no
; then
10434 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10435 hardcode_libdir_separator
=:
10440 hardcode_shlibpath_var
=no
10443 hardcode_direct
=yes
10444 hardcode_direct_absolute
=yes
10445 export_dynamic_flag_spec
='${wl}-E'
10447 # hardcode_minus_L: Not really in the search PATH,
10448 # but as the default location of the library.
10449 hardcode_minus_L
=yes
10455 irix5
* | irix6
* | nonstopux
*)
10456 if test "$GCC" = yes; then
10457 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'
10458 # Try to use the -exported_symbol ld option, if it does not
10459 # work, assume that -exports_file does not work either and
10460 # implicitly export all symbols.
10461 save_LDFLAGS
="$LDFLAGS"
10462 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10464 /* end confdefs.h. */
10467 if ac_fn_c_try_link
"$LINENO"; then :
10468 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'
10471 rm -f core conftest.err conftest.
$ac_objext \
10472 conftest
$ac_exeext conftest.
$ac_ext
10473 LDFLAGS
="$save_LDFLAGS"
10475 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'
10476 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'
10478 archive_cmds_need_lc
='no'
10479 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10480 hardcode_libdir_separator
=:
10482 link_all_deplibs
=yes
10486 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10487 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10489 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10491 hardcode_libdir_flag_spec
='-R$libdir'
10492 hardcode_direct
=yes
10493 hardcode_shlibpath_var
=no
10497 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10498 hardcode_direct
=yes
10499 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10500 hardcode_libdir_separator
=:
10501 hardcode_shlibpath_var
=no
10508 if test -f /usr
/libexec
/ld.so
; then
10509 hardcode_direct
=yes
10510 hardcode_shlibpath_var
=no
10511 hardcode_direct_absolute
=yes
10512 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10513 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10514 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10515 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10516 export_dynamic_flag_spec
='${wl}-E'
10519 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10520 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10521 hardcode_libdir_flag_spec
='-R$libdir'
10524 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10525 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10535 hardcode_libdir_flag_spec
='-L$libdir'
10536 hardcode_minus_L
=yes
10537 allow_undefined_flag
=unsupported
10538 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'
10539 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10543 if test "$GCC" = yes; then
10544 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10545 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'
10547 allow_undefined_flag
=' -expect_unresolved \*'
10548 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'
10550 archive_cmds_need_lc
='no'
10551 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10552 hardcode_libdir_separator
=:
10555 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10556 if test "$GCC" = yes; then
10557 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10558 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'
10559 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10561 allow_undefined_flag
=' -expect_unresolved \*'
10562 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'
10563 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~
10564 $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'
10566 # Both c and cxx compiler support -rpath directly
10567 hardcode_libdir_flag_spec
='-rpath $libdir'
10569 archive_cmds_need_lc
='no'
10570 hardcode_libdir_separator
=:
10574 no_undefined_flag
=' -z defs'
10575 if test "$GCC" = yes; then
10577 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10578 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10579 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10581 case `$CC -V 2>&1` in
10584 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10585 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10586 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10590 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10591 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10592 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10596 hardcode_libdir_flag_spec
='-R$libdir'
10597 hardcode_shlibpath_var
=no
10599 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10601 # The compiler driver will combine and reorder linker options,
10602 # but understands `-z linker_flag'. GCC discards it without `$wl',
10603 # but is careful enough not to reorder.
10604 # Supported since Solaris 2.6 (maybe 2.5.1?)
10605 if test "$GCC" = yes; then
10606 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10608 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10612 link_all_deplibs
=yes
10616 if test "x$host_vendor" = xsequent
; then
10617 # Use $CC to link under sequent, because it throws in some extra .o
10618 # files that make .init and .fini sections work.
10619 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10621 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10623 hardcode_libdir_flag_spec
='-L$libdir'
10624 hardcode_direct
=yes
10625 hardcode_minus_L
=yes
10626 hardcode_shlibpath_var
=no
10630 case $host_vendor in
10632 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10633 hardcode_direct
=yes # is this really true???
10636 ## LD is ld it makes a PLAMLIB
10637 ## CC just makes a GrossModule.
10638 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10639 reload_cmds
='$CC -r -o $output$reload_objs'
10643 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10644 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10647 runpath_var
='LD_RUN_PATH'
10648 hardcode_shlibpath_var
=no
10652 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10653 hardcode_shlibpath_var
=no
10654 export_dynamic_flag_spec
='-Bexport'
10658 if test -d /usr
/nec
; then
10659 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10660 hardcode_shlibpath_var
=no
10661 runpath_var
=LD_RUN_PATH
10662 hardcode_runpath_var
=yes
10667 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10668 no_undefined_flag
='${wl}-z,text'
10669 archive_cmds_need_lc
=no
10670 hardcode_shlibpath_var
=no
10671 runpath_var
='LD_RUN_PATH'
10673 if test "$GCC" = yes; then
10674 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10675 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10677 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10678 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10682 sysv5
* | sco3.2v5
* | sco5v6
*)
10683 # Note: We can NOT use -z defs as we might desire, because we do not
10684 # link with -lc, and that would cause any symbols used from libc to
10685 # always be unresolved, which means just about no library would
10686 # ever link correctly. If we're not using GNU ld we use -z text
10687 # though, which does catch some bad symbols but isn't as heavy-handed
10689 no_undefined_flag
='${wl}-z,text'
10690 allow_undefined_flag
='${wl}-z,nodefs'
10691 archive_cmds_need_lc
=no
10692 hardcode_shlibpath_var
=no
10693 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10694 hardcode_libdir_separator
=':'
10695 link_all_deplibs
=yes
10696 export_dynamic_flag_spec
='${wl}-Bexport'
10697 runpath_var
='LD_RUN_PATH'
10699 if test "$GCC" = yes; then
10700 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10701 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10703 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10704 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10709 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10710 hardcode_libdir_flag_spec
='-L$libdir'
10711 hardcode_shlibpath_var
=no
10719 if test x
$host_vendor = xsni
; then
10721 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10722 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10729 $as_echo "$ld_shlibs" >&6; }
10730 test "$ld_shlibs" = no
&& can_build_shared
=no
10732 with_gnu_ld
=$with_gnu_ld
10749 # Do we need to explicitly link libc?
10751 case "x$archive_cmds_need_lc" in
10753 # Assume -lc should be added
10754 archive_cmds_need_lc
=yes
10756 if test "$enable_shared" = yes && test "$GCC" = yes; then
10757 case $archive_cmds in
10759 # FIXME: we may have to deal with multi-command sequences.
10762 # Test whether the compiler implicitly links with -lc since on some
10763 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10764 # to ld, don't add -lc before -lgcc.
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10766 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10767 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10768 $as_echo_n "(cached) " >&6
10771 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10773 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10774 (eval $ac_compile) 2>&5
10776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10777 test $ac_status = 0; } 2>conftest.err
; then
10780 libobjs
=conftest.
$ac_objext
10782 wl
=$lt_prog_compiler_wl
10783 pic_flag
=$lt_prog_compiler_pic
10789 lt_save_allow_undefined_flag
=$allow_undefined_flag
10790 allow_undefined_flag
=
10791 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10792 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10795 test $ac_status = 0; }
10797 lt_cv_archive_cmds_need_lc
=no
10799 lt_cv_archive_cmds_need_lc
=yes
10801 allow_undefined_flag
=$lt_save_allow_undefined_flag
10803 cat conftest.err
1>&5
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10809 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10810 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10974 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10976 if test "$GCC" = yes; then
10978 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10979 *) lt_awk_arg
="/^libraries:/" ;;
10982 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10983 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10985 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10986 case $lt_search_path_spec in
10988 # if the path contains ";" then we assume it to be the separator
10989 # otherwise default to the standard path separator (i.e. ":") - it is
10990 # assumed that no part of a normal pathname contains ";" but that should
10991 # okay in the real world where ";" in dirpaths is itself problematic.
10992 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10995 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10998 # Ok, now we have the path, separated by spaces, we can step through it
10999 # and add multilib dir if necessary.
11000 lt_tmp_lt_search_path_spec
=
11001 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11002 for lt_sys_path
in $lt_search_path_spec; do
11003 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11004 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11006 test -d "$lt_sys_path" && \
11007 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11010 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11011 BEGIN {RS=" "; FS="/|\n";} {
11014 for (lt_i = NF; lt_i > 0; lt_i--) {
11015 if ($lt_i != "" && $lt_i != ".") {
11016 if ($lt_i == "..") {
11019 if (lt_count == 0) {
11020 lt_foo="/" $lt_i lt_foo;
11027 if (lt_foo != "") { lt_freq[lt_foo]++; }
11028 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11030 # AWK program above erroneously prepends '/' to C:/dos/paths
11033 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11034 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11036 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11038 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11040 library_names_spec
=
11041 libname_spec
='lib$name'
11045 postuninstall_cmds
=
11049 shlibpath_overrides_runpath
=unknown
11051 dynamic_linker
="$host_os ld.so"
11052 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11053 need_lib_prefix
=unknown
11054 hardcode_into_libs
=no
11056 # when you set need_version to no, make sure it does not cause -set_version
11057 # flags to be left without arguments
11058 need_version
=unknown
11063 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11064 shlibpath_var
=LIBPATH
11066 # AIX 3 has no versioning support, so we append a major version to the name.
11067 soname_spec
='${libname}${release}${shared_ext}$major'
11074 hardcode_into_libs
=yes
11075 if test "$host_cpu" = ia64
; then
11076 # AIX 5 supports IA64
11077 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11078 shlibpath_var
=LD_LIBRARY_PATH
11080 # With GCC up to 2.95.x, collect2 would create an import file
11081 # for dependence libraries. The import file would start with
11082 # the line `#! .'. This would cause the generated library to
11083 # depend on `.', always an invalid library. This was fixed in
11084 # development snapshots of GCC prior to 3.0.
11086 aix4 | aix4.
[01] | aix4.
[01].
*)
11087 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11089 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11092 can_build_shared
=no
11096 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11097 # soname into executable. Probably we can add versioning support to
11098 # collect2, so additional links can be useful in future.
11099 if test "$aix_use_runtimelinking" = yes; then
11100 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11101 # instead of lib<name>.a to let people know that these are not
11102 # typical AIX shared libraries.
11103 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11105 # We preserve .a as extension for shared libraries through AIX4.2
11106 # and later when we are not doing run time linking.
11107 library_names_spec
='${libname}${release}.a $libname.a'
11108 soname_spec
='${libname}${release}${shared_ext}$major'
11110 shlibpath_var
=LIBPATH
11117 # Since July 2007 AmigaOS4 officially supports .so libraries.
11118 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11119 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11122 library_names_spec
='$libname.ixlibrary $libname.a'
11123 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11124 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'
11130 library_names_spec
='${libname}${shared_ext}'
11131 dynamic_linker
="$host_os ld.so"
11132 shlibpath_var
=LIBRARY_PATH
11138 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11139 soname_spec
='${libname}${release}${shared_ext}$major'
11140 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11141 shlibpath_var
=LD_LIBRARY_PATH
11142 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11143 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11144 # the default ld.so.conf also contains /usr/contrib/lib and
11145 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11146 # libtool to hard-code these into programs
11149 cygwin
* | mingw
* | pw32
* | cegcc
*)
11150 version_type
=windows
11155 case $GCC,$host_os in
11156 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11157 library_names_spec
='$libname.dll.a'
11158 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11159 postinstall_cmds
='base_file=`basename \${file}`~
11160 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11161 dldir=$destdir/`dirname \$dlpath`~
11162 test -d \$dldir || mkdir -p \$dldir~
11163 $install_prog $dir/$dlname \$dldir/$dlname~
11164 chmod a+x \$dldir/$dlname~
11165 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11166 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11168 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11169 dlpath=$dir/\$dldll~
11171 shlibpath_overrides_runpath
=yes
11175 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11176 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11178 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11181 # MinGW DLLs use traditional 'lib' prefix
11182 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11185 # pw32 DLLs use 'pw' prefix rather than 'lib'
11186 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11192 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11195 dynamic_linker
='Win32 ld.exe'
11196 # FIXME: first we should search . and the directory the executable is in
11200 darwin
* | rhapsody
*)
11201 dynamic_linker
="$host_os dyld"
11202 version_type
=darwin
11205 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11206 soname_spec
='${libname}${release}${major}$shared_ext'
11207 shlibpath_overrides_runpath
=yes
11208 shlibpath_var
=DYLD_LIBRARY_PATH
11209 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11211 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11212 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11219 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11220 soname_spec
='${libname}${release}${shared_ext}$major'
11221 shlibpath_var
=LD_LIBRARY_PATH
11224 freebsd
* | dragonfly
*)
11225 # DragonFly does not have aout. When/if they implement a new
11226 # versioning mechanism, adjust this.
11227 if test -x /usr
/bin
/objformat
; then
11228 objformat
=`/usr/bin/objformat`
11231 freebsd
[23].
*) objformat
=aout
;;
11232 *) objformat
=elf
;;
11235 version_type
=freebsd-
$objformat
11236 case $version_type in
11238 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11243 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11247 shlibpath_var
=LD_LIBRARY_PATH
11250 shlibpath_overrides_runpath
=yes
11252 freebsd3.
[01]* | freebsdelf3.
[01]*)
11253 shlibpath_overrides_runpath
=yes
11254 hardcode_into_libs
=yes
11256 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11257 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11258 shlibpath_overrides_runpath
=no
11259 hardcode_into_libs
=yes
11261 *) # from 4.6 on, and DragonFly
11262 shlibpath_overrides_runpath
=yes
11263 hardcode_into_libs
=yes
11272 dynamic_linker
="$host_os runtime_loader"
11273 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11274 soname_spec
='${libname}${release}${shared_ext}$major'
11275 shlibpath_var
=LIBRARY_PATH
11276 shlibpath_overrides_runpath
=yes
11277 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11278 hardcode_into_libs
=yes
11281 hpux9
* | hpux10
* | hpux11
*)
11282 # Give a soname corresponding to the major version so that dld.sl refuses to
11283 # link against other versions.
11290 hardcode_into_libs
=yes
11291 dynamic_linker
="$host_os dld.so"
11292 shlibpath_var
=LD_LIBRARY_PATH
11293 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11294 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11295 soname_spec
='${libname}${release}${shared_ext}$major'
11296 if test "X$HPUX_IA64_MODE" = X32
; then
11297 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11299 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11301 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11305 hardcode_into_libs
=yes
11306 dynamic_linker
="$host_os dld.sl"
11307 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11308 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11309 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11310 soname_spec
='${libname}${release}${shared_ext}$major'
11311 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11312 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11316 dynamic_linker
="$host_os dld.sl"
11317 shlibpath_var
=SHLIB_PATH
11318 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11319 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11320 soname_spec
='${libname}${release}${shared_ext}$major'
11323 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11324 postinstall_cmds
='chmod 555 $lib'
11325 # or fails outright, so override atomically:
11326 install_override_mode
=555
11333 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11334 soname_spec
='${libname}${release}${shared_ext}$major'
11335 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11336 shlibpath_var
=LD_LIBRARY_PATH
11337 shlibpath_overrides_runpath
=no
11338 hardcode_into_libs
=yes
11341 irix5
* | irix6
* | nonstopux
*)
11343 nonstopux
*) version_type
=nonstopux
;;
11345 if test "$lt_cv_prog_gnu_ld" = yes; then
11353 soname_spec
='${libname}${release}${shared_ext}$major'
11354 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11356 irix5
* | nonstopux
*)
11357 libsuff
= shlibsuff
=
11360 case $LD in # libtool.m4 will add one of these switches to LD
11361 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11362 libsuff
= shlibsuff
= libmagic
=32-bit;;
11363 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11364 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11365 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11366 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11367 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11371 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11372 shlibpath_overrides_runpath
=no
11373 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11374 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11375 hardcode_into_libs
=yes
11378 # No shared lib support for Linux oldld, aout, or coff.
11379 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11383 # This must be Linux ELF.
11385 # uclinux* changes (here and below) have been submitted to the libtool
11386 # project, but have not yet been accepted: they are GCC-local changes
11387 # for the time being. (See
11388 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11389 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
11393 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11394 soname_spec
='${libname}${release}${shared_ext}$major'
11395 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11396 shlibpath_var
=LD_LIBRARY_PATH
11397 shlibpath_overrides_runpath
=no
11399 # Some binutils ld are patched to set DT_RUNPATH
11400 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11401 $as_echo_n "(cached) " >&6
11403 lt_cv_shlibpath_overrides_runpath
=no
11404 save_LDFLAGS
=$LDFLAGS
11405 save_libdir
=$libdir
11406 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11407 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11409 /* end confdefs.h. */
11419 if ac_fn_c_try_link
"$LINENO"; then :
11420 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11421 lt_cv_shlibpath_overrides_runpath
=yes
11424 rm -f core conftest.err conftest.
$ac_objext \
11425 conftest
$ac_exeext conftest.
$ac_ext
11426 LDFLAGS
=$save_LDFLAGS
11427 libdir
=$save_libdir
11431 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11433 # This implies no fast_install, which is unacceptable.
11434 # Some rework will be needed to allow for fast_install
11435 # before this can be enabled.
11436 hardcode_into_libs
=yes
11438 # Append ld.so.conf contents to the search path
11439 if test -f /etc
/ld.so.conf
; then
11440 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' ' '`
11441 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11444 # We used to test for /lib/ld.so.1 and disable shared libraries on
11445 # powerpc, because MkLinux only supported shared libraries with the
11446 # GNU dynamic linker. Since this was broken with cross compilers,
11447 # most powerpc-linux boxes support dynamic linking these days and
11448 # people can always --disable-shared, the test was removed, and we
11449 # assume the GNU/Linux dynamic linker is in use.
11450 dynamic_linker
='GNU/Linux ld.so'
11457 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11458 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11459 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11460 dynamic_linker
='NetBSD (a.out) ld.so'
11462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11463 soname_spec
='${libname}${release}${shared_ext}$major'
11464 dynamic_linker
='NetBSD ld.elf_so'
11466 shlibpath_var
=LD_LIBRARY_PATH
11467 shlibpath_overrides_runpath
=yes
11468 hardcode_into_libs
=yes
11473 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11474 shlibpath_var
=LD_LIBRARY_PATH
11475 shlibpath_overrides_runpath
=yes
11482 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11483 soname_spec
='${libname}${release}${shared_ext}$major'
11484 shlibpath_var
=LD_LIBRARY_PATH
11485 shlibpath_overrides_runpath
=no
11486 hardcode_into_libs
=yes
11487 dynamic_linker
='ldqnx.so'
11492 sys_lib_dlsearch_path_spec
="/usr/lib"
11494 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11496 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11497 *) need_version
=no
;;
11499 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11500 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11501 shlibpath_var
=LD_LIBRARY_PATH
11502 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11504 openbsd2.
[89] | openbsd2.
[89].
*)
11505 shlibpath_overrides_runpath
=no
11508 shlibpath_overrides_runpath
=yes
11512 shlibpath_overrides_runpath
=yes
11517 libname_spec
='$name'
11520 library_names_spec
='$libname${shared_ext} $libname.a'
11521 dynamic_linker
='OS/2 ld.exe'
11522 shlibpath_var
=LIBPATH
11525 osf3
* | osf4
* | osf5
*)
11529 soname_spec
='${libname}${release}${shared_ext}$major'
11530 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11531 shlibpath_var
=LD_LIBRARY_PATH
11532 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11533 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11544 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11545 soname_spec
='${libname}${release}${shared_ext}$major'
11546 shlibpath_var
=LD_LIBRARY_PATH
11547 shlibpath_overrides_runpath
=yes
11548 hardcode_into_libs
=yes
11549 # ldd complains unless libraries are executable
11550 postinstall_cmds
='chmod +x $lib'
11555 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11556 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11557 shlibpath_var
=LD_LIBRARY_PATH
11558 shlibpath_overrides_runpath
=yes
11559 if test "$with_gnu_ld" = yes; then
11567 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11568 soname_spec
='${libname}${release}${shared_ext}$major'
11569 shlibpath_var
=LD_LIBRARY_PATH
11570 case $host_vendor in
11572 shlibpath_overrides_runpath
=no
11574 runpath_var
=LD_RUN_PATH
11582 shlibpath_overrides_runpath
=no
11583 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11589 if test -d /usr
/nec
;then
11591 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11592 soname_spec
='$libname${shared_ext}.$major'
11593 shlibpath_var
=LD_LIBRARY_PATH
11597 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11598 version_type
=freebsd-elf
11601 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11602 soname_spec
='${libname}${release}${shared_ext}$major'
11603 shlibpath_var
=LD_LIBRARY_PATH
11604 shlibpath_overrides_runpath
=yes
11605 hardcode_into_libs
=yes
11606 if test "$with_gnu_ld" = yes; then
11607 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11609 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11612 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11616 sys_lib_dlsearch_path_spec
='/usr/lib'
11620 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11624 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11625 shlibpath_var
=LD_LIBRARY_PATH
11626 shlibpath_overrides_runpath
=no
11627 hardcode_into_libs
=yes
11632 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11633 soname_spec
='${libname}${release}${shared_ext}$major'
11634 shlibpath_var
=LD_LIBRARY_PATH
11637 # Shared libraries for VwWorks, >= 7 only at this stage
11638 # and (fpic) still incompatible with "large" code models
11639 # in a few configurations. Only for RTP mode in any case,
11640 # and upon explicit request at configure time.
11643 case ${with_multisubdir}-${enable_shared} in
11650 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11651 soname_spec
='${libname}${release}${shared_ext}$major'
11652 dynamic_linker
="$host_os module_loader"
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11661 $as_echo "$dynamic_linker" >&6; }
11662 test "$dynamic_linker" = no
&& can_build_shared
=no
11664 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11665 if test "$GCC" = yes; then
11666 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11669 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11670 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11672 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11673 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11768 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11770 if test -n "$hardcode_libdir_flag_spec" ||
11771 test -n "$runpath_var" ||
11772 test "X$hardcode_automatic" = "Xyes" ; then
11774 # We can hardcode non-existent directories.
11775 if test "$hardcode_direct" != no
&&
11776 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11777 # have to relink, otherwise we might link with an installed library
11778 # when we should be linking with a yet-to-be-installed one
11779 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11780 test "$hardcode_minus_L" != no
; then
11781 # Linking always hardcodes the temporary library directory.
11782 hardcode_action
=relink
11784 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11785 hardcode_action
=immediate
11788 # We cannot hardcode anything, or else we can only hardcode existing
11790 hardcode_action
=unsupported
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11793 $as_echo "$hardcode_action" >&6; }
11795 if test "$hardcode_action" = relink ||
11796 test "$inherit_rpath" = yes; then
11797 # Fast installation is not supported
11798 enable_fast_install
=no
11799 elif test "$shlibpath_overrides_runpath" = yes ||
11800 test "$enable_shared" = no
; then
11801 # Fast installation is not necessary
11802 enable_fast_install
=needless
11810 if test "x$enable_dlopen" != xyes
; then
11811 enable_dlopen
=unknown
11812 enable_dlopen_self
=unknown
11813 enable_dlopen_self_static
=unknown
11820 lt_cv_dlopen
="load_add_on"
11822 lt_cv_dlopen_self
=yes
11825 mingw
* | pw32
* | cegcc
*)
11826 lt_cv_dlopen
="LoadLibrary"
11831 lt_cv_dlopen
="dlopen"
11836 # if libdl is installed we need to link against it
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11838 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11839 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11840 $as_echo_n "(cached) " >&6
11842 ac_check_lib_save_LIBS
=$LIBS
11844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11845 /* end confdefs.h. */
11847 /* Override any GCC internal prototype to avoid an error.
11848 Use char because int might match the return type of a GCC
11849 builtin and then its argument prototype would still apply. */
11862 if ac_fn_c_try_link
"$LINENO"; then :
11863 ac_cv_lib_dl_dlopen
=yes
11865 ac_cv_lib_dl_dlopen
=no
11867 rm -f core conftest.err conftest.
$ac_objext \
11868 conftest
$ac_exeext conftest.
$ac_ext
11869 LIBS
=$ac_check_lib_save_LIBS
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11872 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11873 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11874 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11877 lt_cv_dlopen
="dyld"
11879 lt_cv_dlopen_self
=yes
11886 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11887 if test "x$ac_cv_func_shl_load" = xyes
; then :
11888 lt_cv_dlopen
="shl_load"
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11891 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11892 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11893 $as_echo_n "(cached) " >&6
11895 ac_check_lib_save_LIBS
=$LIBS
11897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11898 /* end confdefs.h. */
11900 /* Override any GCC internal prototype to avoid an error.
11901 Use char because int might match the return type of a GCC
11902 builtin and then its argument prototype would still apply. */
11910 return shl_load ();
11915 if ac_fn_c_try_link
"$LINENO"; then :
11916 ac_cv_lib_dld_shl_load
=yes
11918 ac_cv_lib_dld_shl_load
=no
11920 rm -f core conftest.err conftest.
$ac_objext \
11921 conftest
$ac_exeext conftest.
$ac_ext
11922 LIBS
=$ac_check_lib_save_LIBS
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11925 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11926 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11927 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11929 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11930 if test "x$ac_cv_func_dlopen" = xyes
; then :
11931 lt_cv_dlopen
="dlopen"
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11934 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11935 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11936 $as_echo_n "(cached) " >&6
11938 ac_check_lib_save_LIBS
=$LIBS
11940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11941 /* end confdefs.h. */
11943 /* Override any GCC internal prototype to avoid an error.
11944 Use char because int might match the return type of a GCC
11945 builtin and then its argument prototype would still apply. */
11958 if ac_fn_c_try_link
"$LINENO"; then :
11959 ac_cv_lib_dl_dlopen
=yes
11961 ac_cv_lib_dl_dlopen
=no
11963 rm -f core conftest.err conftest.
$ac_objext \
11964 conftest
$ac_exeext conftest.
$ac_ext
11965 LIBS
=$ac_check_lib_save_LIBS
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11968 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11969 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11970 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11973 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11974 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11975 $as_echo_n "(cached) " >&6
11977 ac_check_lib_save_LIBS
=$LIBS
11978 LIBS
="-lsvld $LIBS"
11979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11980 /* end confdefs.h. */
11982 /* Override any GCC internal prototype to avoid an error.
11983 Use char because int might match the return type of a GCC
11984 builtin and then its argument prototype would still apply. */
11997 if ac_fn_c_try_link
"$LINENO"; then :
11998 ac_cv_lib_svld_dlopen
=yes
12000 ac_cv_lib_svld_dlopen
=no
12002 rm -f core conftest.err conftest.
$ac_objext \
12003 conftest
$ac_exeext conftest.
$ac_ext
12004 LIBS
=$ac_check_lib_save_LIBS
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12007 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12008 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12009 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12012 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12013 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12014 $as_echo_n "(cached) " >&6
12016 ac_check_lib_save_LIBS
=$LIBS
12018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12019 /* end confdefs.h. */
12021 /* Override any GCC internal prototype to avoid an error.
12022 Use char because int might match the return type of a GCC
12023 builtin and then its argument prototype would still apply. */
12031 return dld_link ();
12036 if ac_fn_c_try_link
"$LINENO"; then :
12037 ac_cv_lib_dld_dld_link
=yes
12039 ac_cv_lib_dld_dld_link
=no
12041 rm -f core conftest.err conftest.
$ac_objext \
12042 conftest
$ac_exeext conftest.
$ac_ext
12043 LIBS
=$ac_check_lib_save_LIBS
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12046 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12047 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12048 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12069 if test "x$lt_cv_dlopen" != xno
; then
12075 case $lt_cv_dlopen in
12077 save_CPPFLAGS
="$CPPFLAGS"
12078 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12080 save_LDFLAGS
="$LDFLAGS"
12081 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12084 LIBS
="$lt_cv_dlopen_libs $LIBS"
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12087 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12088 if ${lt_cv_dlopen_self+:} false
; then :
12089 $as_echo_n "(cached) " >&6
12091 if test "$cross_compiling" = yes; then :
12092 lt_cv_dlopen_self
=cross
12094 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12095 lt_status
=$lt_dlunknown
12096 cat > conftest.
$ac_ext <<_LT_EOF
12097 #line 12097 "configure"
12098 #include "confdefs.h"
12107 # define LT_DLGLOBAL RTLD_GLOBAL
12110 # define LT_DLGLOBAL DL_GLOBAL
12112 # define LT_DLGLOBAL 0
12116 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12117 find out it does not work in some platform. */
12118 #ifndef LT_DLLAZY_OR_NOW
12120 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12123 # define LT_DLLAZY_OR_NOW DL_LAZY
12126 # define LT_DLLAZY_OR_NOW RTLD_NOW
12129 # define LT_DLLAZY_OR_NOW DL_NOW
12131 # define LT_DLLAZY_OR_NOW 0
12138 /* When -fvisbility=hidden is used, assume the code has been annotated
12139 correspondingly for the symbols needed. */
12140 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12141 void fnord () __attribute__((visibility("default")));
12144 void fnord () { int i=42; }
12147 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12148 int status = $lt_dlunknown;
12152 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12155 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12156 else puts (dlerror ());
12158 /* dlclose (self); */
12166 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12167 (eval $ac_link) 2>&5
12169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12170 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12171 (.
/conftest
; exit; ) >&5 2>/dev
/null
12173 case x
$lt_status in
12174 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12175 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12176 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12179 # compilation failed
12180 lt_cv_dlopen_self
=no
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12188 $as_echo "$lt_cv_dlopen_self" >&6; }
12190 if test "x$lt_cv_dlopen_self" = xyes
; then
12191 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12193 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12194 if ${lt_cv_dlopen_self_static+:} false
; then :
12195 $as_echo_n "(cached) " >&6
12197 if test "$cross_compiling" = yes; then :
12198 lt_cv_dlopen_self_static
=cross
12200 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12201 lt_status
=$lt_dlunknown
12202 cat > conftest.
$ac_ext <<_LT_EOF
12203 #line 12203 "configure"
12204 #include "confdefs.h"
12213 # define LT_DLGLOBAL RTLD_GLOBAL
12216 # define LT_DLGLOBAL DL_GLOBAL
12218 # define LT_DLGLOBAL 0
12222 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12223 find out it does not work in some platform. */
12224 #ifndef LT_DLLAZY_OR_NOW
12226 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12229 # define LT_DLLAZY_OR_NOW DL_LAZY
12232 # define LT_DLLAZY_OR_NOW RTLD_NOW
12235 # define LT_DLLAZY_OR_NOW DL_NOW
12237 # define LT_DLLAZY_OR_NOW 0
12244 /* When -fvisbility=hidden is used, assume the code has been annotated
12245 correspondingly for the symbols needed. */
12246 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12247 void fnord () __attribute__((visibility("default")));
12250 void fnord () { int i=42; }
12253 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12254 int status = $lt_dlunknown;
12258 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12261 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12262 else puts (dlerror ());
12264 /* dlclose (self); */
12272 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12273 (eval $ac_link) 2>&5
12275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12276 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12277 (.
/conftest
; exit; ) >&5 2>/dev
/null
12279 case x
$lt_status in
12280 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12281 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12282 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12285 # compilation failed
12286 lt_cv_dlopen_self_static
=no
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12294 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12297 CPPFLAGS
="$save_CPPFLAGS"
12298 LDFLAGS
="$save_LDFLAGS"
12303 case $lt_cv_dlopen_self in
12304 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12305 *) enable_dlopen_self
=unknown
;;
12308 case $lt_cv_dlopen_self_static in
12309 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12310 *) enable_dlopen_self_static
=unknown
;;
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12333 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12334 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12335 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12336 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12338 $as_echo "yes" >&6; }
12340 # FIXME - insert some real tests, host_os isn't really good enough
12343 if test -n "$STRIP" ; then
12344 striplib
="$STRIP -x"
12345 old_striplib
="$STRIP -S"
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12347 $as_echo "yes" >&6; }
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12350 $as_echo "no" >&6; }
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12355 $as_echo "no" >&6; }
12371 # Report which library types will actually be built
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12373 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12375 $as_echo "$can_build_shared" >&6; }
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12378 $as_echo_n "checking whether to build shared libraries... " >&6; }
12379 test "$can_build_shared" = "no" && enable_shared
=no
12381 # On AIX, shared libraries and static libraries use the same namespace, and
12382 # are all built from PIC.
12385 test "$enable_shared" = yes && enable_static
=no
12386 if test -n "$RANLIB"; then
12387 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12388 postinstall_cmds
='$RANLIB $lib'
12393 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12394 test "$enable_shared" = yes && enable_static
=no
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12399 $as_echo "$enable_shared" >&6; }
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12402 $as_echo_n "checking whether to build static libraries... " >&6; }
12403 # Make sure either enable_shared or enable_static is yes.
12404 test "$enable_shared" = yes || enable_static
=yes
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12406 $as_echo "$enable_static" >&6; }
12413 ac_cpp
='$CPP $CPPFLAGS'
12414 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12415 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12416 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12420 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12421 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12422 (test "X$CXX" != "Xg++"))) ; then
12424 ac_cpp
='$CXXCPP $CPPFLAGS'
12425 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12426 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12427 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12429 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12430 if test -z "$CXXCPP"; then
12431 if ${ac_cv_prog_CXXCPP+:} false
; then :
12432 $as_echo_n "(cached) " >&6
12434 # Double quotes because CXXCPP needs to be expanded
12435 for CXXCPP
in "$CXX -E" "/lib/cpp"
12437 ac_preproc_ok
=false
12438 for ac_cxx_preproc_warn_flag
in '' yes
12440 # Use a header file that comes with gcc, so configuring glibc
12441 # with a fresh cross-compiler works.
12442 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12443 # <limits.h> exists even on freestanding compilers.
12444 # On the NeXT, cc -E runs the code through the compiler's parser,
12445 # not just through cpp. "Syntax error" is here to catch this case.
12446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12447 /* end confdefs.h. */
12449 # include <limits.h>
12451 # include <assert.h>
12455 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12458 # Broken: fails on valid input.
12461 rm -f conftest.err conftest.i conftest.
$ac_ext
12463 # OK, works on sane cases. Now check whether nonexistent headers
12464 # can be detected and how.
12465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12466 /* end confdefs.h. */
12467 #include <ac_nonexistent.h>
12469 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12470 # Broken: success on invalid input.
12473 # Passes both tests.
12477 rm -f conftest.err conftest.i conftest.
$ac_ext
12480 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12481 rm -f conftest.i conftest.err conftest.
$ac_ext
12482 if $ac_preproc_ok; then :
12487 ac_cv_prog_CXXCPP
=$CXXCPP
12490 CXXCPP
=$ac_cv_prog_CXXCPP
12492 ac_cv_prog_CXXCPP
=$CXXCPP
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12495 $as_echo "$CXXCPP" >&6; }
12496 ac_preproc_ok
=false
12497 for ac_cxx_preproc_warn_flag
in '' yes
12499 # Use a header file that comes with gcc, so configuring glibc
12500 # with a fresh cross-compiler works.
12501 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12502 # <limits.h> exists even on freestanding compilers.
12503 # On the NeXT, cc -E runs the code through the compiler's parser,
12504 # not just through cpp. "Syntax error" is here to catch this case.
12505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12506 /* end confdefs.h. */
12508 # include <limits.h>
12510 # include <assert.h>
12514 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12517 # Broken: fails on valid input.
12520 rm -f conftest.err conftest.i conftest.
$ac_ext
12522 # OK, works on sane cases. Now check whether nonexistent headers
12523 # can be detected and how.
12524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12525 /* end confdefs.h. */
12526 #include <ac_nonexistent.h>
12528 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12529 # Broken: success on invalid input.
12532 # Passes both tests.
12536 rm -f conftest.err conftest.i conftest.
$ac_ext
12539 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12540 rm -f conftest.i conftest.err conftest.
$ac_ext
12541 if $ac_preproc_ok; then :
12544 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12545 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12546 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12547 See \`config.log' for more details" "$LINENO" 5; }
12551 ac_cpp
='$CPP $CPPFLAGS'
12552 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12553 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12554 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12557 _lt_caught_CXX_error
=yes
12561 ac_cpp
='$CXXCPP $CPPFLAGS'
12562 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12563 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12564 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12566 archive_cmds_need_lc_CXX
=no
12567 allow_undefined_flag_CXX
=
12568 always_export_symbols_CXX
=no
12569 archive_expsym_cmds_CXX
=
12570 compiler_needs_object_CXX
=no
12571 export_dynamic_flag_spec_CXX
=
12572 hardcode_direct_CXX
=no
12573 hardcode_direct_absolute_CXX
=no
12574 hardcode_libdir_flag_spec_CXX
=
12575 hardcode_libdir_flag_spec_ld_CXX
=
12576 hardcode_libdir_separator_CXX
=
12577 hardcode_minus_L_CXX
=no
12578 hardcode_shlibpath_var_CXX
=unsupported
12579 hardcode_automatic_CXX
=no
12580 inherit_rpath_CXX
=no
12582 module_expsym_cmds_CXX
=
12583 link_all_deplibs_CXX
=unknown
12584 old_archive_cmds_CXX
=$old_archive_cmds
12585 reload_flag_CXX
=$reload_flag
12586 reload_cmds_CXX
=$reload_cmds
12587 no_undefined_flag_CXX
=
12588 whole_archive_flag_spec_CXX
=
12589 enable_shared_with_static_runtimes_CXX
=no
12591 # Source file extension for C++ test sources.
12594 # Object file extension for compiled C++ test sources.
12598 # No sense in running all these tests if we already determined that
12599 # the CXX compiler isn't working. Some variables (like enable_shared)
12600 # are currently assumed to apply to all compilers on this platform,
12601 # and will be corrupted by setting them based on a non-working compiler.
12602 if test "$_lt_caught_CXX_error" != yes; then
12603 # Code to be used in simple compile tests
12604 lt_simple_compile_test_code
="int some_variable = 0;"
12606 # Code to be used in simple link tests
12607 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12609 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12616 # If no C compiler was specified, use CC.
12619 # If no C compiler flags were specified, use CFLAGS.
12620 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12622 # Allow CC to be a program name with arguments.
12626 # save warnings/boilerplate of simple test code
12627 ac_outfile
=conftest.
$ac_objext
12628 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12629 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12630 _lt_compiler_boilerplate
=`cat conftest.err`
12633 ac_outfile
=conftest.
$ac_objext
12634 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12635 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12636 _lt_linker_boilerplate
=`cat conftest.err`
12640 # Allow CC to be a program name with arguments.
12645 lt_save_with_gnu_ld
=$with_gnu_ld
12646 lt_save_path_LD
=$lt_cv_path_LD
12647 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12648 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12650 $as_unset lt_cv_prog_gnu_ld
12652 if test -n "${lt_cv_path_LDCXX+set}"; then
12653 lt_cv_path_LD
=$lt_cv_path_LDCXX
12655 $as_unset lt_cv_path_LD
12657 test -z "${LDCXX+set}" || LD
=$LDCXX
12661 for cc_temp
in $compiler""; do
12663 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12664 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12669 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12672 if test -n "$compiler"; then
12673 # We don't want -fno-exception when compiling C++ code, so set the
12674 # no_builtin_flag separately
12675 if test "$GXX" = yes; then
12676 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12678 lt_prog_compiler_no_builtin_flag_CXX
=
12681 if test "$GXX" = yes; then
12682 # Set up default GNU C++ configuration
12686 # Check whether --with-gnu-ld was given.
12687 if test "${with_gnu_ld+set}" = set; then :
12688 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12694 if test "$GCC" = yes; then
12695 # Check if gcc -print-prog-name=ld gives a path.
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12697 $as_echo_n "checking for ld used by $CC... " >&6; }
12700 # gcc leaves a trailing carriage return which upsets mingw
12701 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12703 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12706 # Accept absolute paths.
12708 re_direlt
='/[^/][^/]*/\.\./'
12709 # Canonicalize the pathname of ld
12710 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12711 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12712 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12714 test -z "$LD" && LD
="$ac_prog"
12717 # If it fails, then pretend we aren't using GCC.
12721 # If it is relative, then search for the first ld in PATH.
12722 with_gnu_ld
=unknown
12725 elif test "$with_gnu_ld" = yes; then
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12727 $as_echo_n "checking for GNU ld... " >&6; }
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12730 $as_echo_n "checking for non-GNU ld... " >&6; }
12732 if ${lt_cv_path_LD+:} false
; then :
12733 $as_echo_n "(cached) " >&6
12735 if test -z "$LD"; then
12736 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12737 for ac_dir
in $PATH; do
12739 test -z "$ac_dir" && ac_dir
=.
12740 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12741 lt_cv_path_LD
="$ac_dir/$ac_prog"
12742 # Check to see if the program is GNU ld. I'd rather use --version,
12743 # but apparently some variants of GNU ld only accept -v.
12744 # Break only if it was the GNU/non-GNU ld that we prefer.
12745 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12746 *GNU
* |
*'with BFD'*)
12747 test "$with_gnu_ld" != no
&& break
12750 test "$with_gnu_ld" != yes && break
12757 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12761 LD
="$lt_cv_path_LD"
12762 if test -n "$LD"; then
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12764 $as_echo "$LD" >&6; }
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12767 $as_echo "no" >&6; }
12769 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12771 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12772 if ${lt_cv_prog_gnu_ld+:} false
; then :
12773 $as_echo_n "(cached) " >&6
12775 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12776 case `$LD -v 2>&1 </dev/null` in
12777 *GNU
* |
*'with BFD'*)
12778 lt_cv_prog_gnu_ld
=yes
12781 lt_cv_prog_gnu_ld
=no
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12786 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12787 with_gnu_ld
=$lt_cv_prog_gnu_ld
12795 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12796 # archiving commands below assume that GNU ld is being used.
12797 if test "$with_gnu_ld" = yes; then
12798 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12799 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'
12801 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12802 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12804 # If archive_cmds runs LD, not CC, wlarc should be empty
12805 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12806 # investigate it a little bit more. (MM)
12809 # ancient GNU ld didn't support --whole-archive et. al.
12810 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12811 $GREP 'no-whole-archive' > /dev
/null
; then
12812 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12814 whole_archive_flag_spec_CXX
=
12820 # A generic and very simple default shared library creation
12821 # command for GNU C++ for the case where it uses the native
12822 # linker, instead of GNU ld. If possible, this setting should
12823 # overridden to take advantage of the native linker features on
12824 # the platform it is being used on.
12825 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12828 # Commands to make compiler produce verbose output that lists
12829 # what "hidden" libraries, object files and flags are used when
12830 # linking a shared library.
12831 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12839 # PORTME: fill in a description of your system's C++ link characteristics
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12841 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12845 # FIXME: insert proper C++ library support
12849 if test "$host_cpu" = ia64
; then
12850 # On IA64, the linker does run time linking by default, so we don't
12851 # have to do anything special.
12852 aix_use_runtimelinking
=no
12853 exp_sym_flag
='-Bexport'
12856 aix_use_runtimelinking
=no
12858 # Test if we are trying to use run time linking or normal
12859 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12860 # need to do runtime linking.
12861 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12862 for ld_flag
in $LDFLAGS; do
12865 aix_use_runtimelinking
=yes
12873 exp_sym_flag
='-bexport'
12874 no_entry_flag
='-bnoentry'
12877 # When large executables or shared objects are built, AIX ld can
12878 # have problems creating the table of contents. If linking a library
12879 # or program results in "error TOC overflow" add -mminimal-toc to
12880 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12881 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12883 archive_cmds_CXX
=''
12884 hardcode_direct_CXX
=yes
12885 hardcode_direct_absolute_CXX
=yes
12886 hardcode_libdir_separator_CXX
=':'
12887 link_all_deplibs_CXX
=yes
12888 file_list_spec_CXX
='${wl}-f,'
12890 if test "$GXX" = yes; then
12891 case $host_os in aix4.
[012]|aix4.
[012].
*)
12892 # We only want to do this on AIX 4.2 and lower, the check
12893 # below for broken collect2 doesn't work under 4.3+
12894 collect2name
=`${CC} -print-prog-name=collect2`
12895 if test -f "$collect2name" &&
12896 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12898 # We have reworked collect2
12901 # We have old collect2
12902 hardcode_direct_CXX
=unsupported
12903 # It fails to find uninstalled libraries when the uninstalled
12904 # path is not listed in the libpath. Setting hardcode_minus_L
12905 # to unsupported forces relinking
12906 hardcode_minus_L_CXX
=yes
12907 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12908 hardcode_libdir_separator_CXX
=
12911 shared_flag
='-shared'
12912 if test "$aix_use_runtimelinking" = yes; then
12913 shared_flag
="$shared_flag "'${wl}-G'
12917 if test "$host_cpu" = ia64
; then
12918 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12919 # chokes on -Wl,-G. The following line is correct:
12922 if test "$aix_use_runtimelinking" = yes; then
12923 shared_flag
='${wl}-G'
12925 shared_flag
='${wl}-bM:SRE'
12930 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12931 # It seems that -bexpall does not export symbols beginning with
12932 # underscore (_), so it is better to generate a list of symbols to
12934 always_export_symbols_CXX
=yes
12935 if test "$aix_use_runtimelinking" = yes; then
12936 # Warning - without using the other runtime loading flags (-brtl),
12937 # -berok will link without error, but may produce a broken library.
12938 allow_undefined_flag_CXX
='-berok'
12939 # Determine the default libpath from the value encoded in an empty
12941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12942 /* end confdefs.h. */
12952 if ac_fn_cxx_try_link
"$LINENO"; then :
12954 lt_aix_libpath_sed
='
12955 /Import File Strings/,/^$/ {
12961 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12962 # Check for a 64-bit object if we didn't find anything.
12963 if test -z "$aix_libpath"; then
12964 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12967 rm -f core conftest.err conftest.
$ac_objext \
12968 conftest
$ac_exeext conftest.
$ac_ext
12969 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12971 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12973 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"
12975 if test "$host_cpu" = ia64
; then
12976 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12977 allow_undefined_flag_CXX
="-z nodefs"
12978 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"
12980 # Determine the default libpath from the value encoded in an
12981 # empty executable.
12982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12983 /* end confdefs.h. */
12993 if ac_fn_cxx_try_link
"$LINENO"; then :
12995 lt_aix_libpath_sed
='
12996 /Import File Strings/,/^$/ {
13002 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13003 # Check for a 64-bit object if we didn't find anything.
13004 if test -z "$aix_libpath"; then
13005 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13008 rm -f core conftest.err conftest.
$ac_objext \
13009 conftest
$ac_exeext conftest.
$ac_ext
13010 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13012 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13013 # Warning - without using the other run time loading flags,
13014 # -berok will link without error, but may produce a broken library.
13015 no_undefined_flag_CXX
=' ${wl}-bernotok'
13016 allow_undefined_flag_CXX
=' ${wl}-berok'
13017 if test "$with_gnu_ld" = yes; then
13018 # We only use this code for GNU lds that support --whole-archive.
13019 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13021 # Exported symbols can be pulled into shared objects from archives
13022 whole_archive_flag_spec_CXX
='$convenience'
13024 archive_cmds_need_lc_CXX
=yes
13025 # This is similar to how AIX traditionally builds its shared
13027 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'
13033 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13034 allow_undefined_flag_CXX
=unsupported
13035 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13036 # support --undefined. This deserves some investigation. FIXME
13037 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13044 case $cc_basename in
13046 # FIXME: insert proper C++ library support
13052 cygwin
* | mingw
* | pw32
* | cegcc
*)
13053 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13054 # as there is no search path for DLLs.
13055 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13056 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13057 allow_undefined_flag_CXX
=unsupported
13058 always_export_symbols_CXX
=no
13059 enable_shared_with_static_runtimes_CXX
=yes
13061 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13062 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'
13063 # If the export-symbols file already is a .def file (1st line
13064 # is EXPORTS), use it as is; otherwise, prepend...
13065 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13066 cp $export_symbols $output_objdir/$soname.def;
13068 echo EXPORTS > $output_objdir/$soname.def;
13069 cat $export_symbols >> $output_objdir/$soname.def;
13071 $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'
13076 darwin
* | rhapsody
*)
13079 archive_cmds_need_lc_CXX
=no
13080 hardcode_direct_CXX
=no
13081 hardcode_automatic_CXX
=yes
13082 hardcode_shlibpath_var_CXX
=unsupported
13083 if test "$lt_cv_ld_force_load" = "yes"; then
13084 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\"`'
13086 whole_archive_flag_spec_CXX
=''
13088 link_all_deplibs_CXX
=yes
13089 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13090 case $cc_basename in
13091 ifort
*) _lt_dar_can_shared
=yes ;;
13092 *) _lt_dar_can_shared
=$GCC ;;
13094 if test "$_lt_dar_can_shared" = "yes"; then
13095 output_verbose_link_cmd
=func_echo_all
13096 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}"
13097 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13098 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}"
13099 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}"
13100 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13101 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}"
13102 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}"
13112 case $cc_basename in
13114 # FIXME: insert proper C++ library support
13118 # Green Hills C++ Compiler
13119 # FIXME: insert proper C++ library support
13123 # FIXME: insert proper C++ library support
13130 # C++ shared libraries reported to be fairly broken before
13136 archive_cmds_need_lc_CXX
=no
13139 freebsd
* | dragonfly
*)
13140 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13149 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13150 link_all_deplibs_CXX
=yes
13154 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13155 hardcode_libdir_separator_CXX
=:
13156 export_dynamic_flag_spec_CXX
='${wl}-E'
13157 hardcode_direct_CXX
=yes
13158 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13159 # but as the default
13160 # location of the library.
13162 case $cc_basename in
13164 # FIXME: insert proper C++ library support
13168 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'
13169 # Commands to make compiler produce verbose output that lists
13170 # what "hidden" libraries, object files and flags are used when
13171 # linking a shared library.
13173 # There doesn't appear to be a way to prevent this compiler from
13174 # explicitly linking system object files so we need to strip them
13175 # from the output so that they don't get included in the library
13177 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"'
13180 if test "$GXX" = yes; then
13181 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'
13183 # FIXME: insert proper C++ library support
13191 if test $with_gnu_ld = no
; then
13192 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13193 hardcode_libdir_separator_CXX
=:
13199 export_dynamic_flag_spec_CXX
='${wl}-E'
13205 hardcode_direct_CXX
=no
13206 hardcode_shlibpath_var_CXX
=no
13209 hardcode_direct_CXX
=yes
13210 hardcode_direct_absolute_CXX
=yes
13211 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13212 # but as the default
13213 # location of the library.
13217 case $cc_basename in
13219 # FIXME: insert proper C++ library support
13225 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13228 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13231 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13234 # Commands to make compiler produce verbose output that lists
13235 # what "hidden" libraries, object files and flags are used when
13236 # linking a shared library.
13238 # There doesn't appear to be a way to prevent this compiler from
13239 # explicitly linking system object files so we need to strip them
13240 # from the output so that they don't get included in the library
13242 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"'
13245 if test "$GXX" = yes; then
13246 if test $with_gnu_ld = no
; then
13249 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13252 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13255 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'
13260 # FIXME: insert proper C++ library support
13268 hardcode_direct_CXX
=no
13269 hardcode_shlibpath_var_CXX
=no
13270 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13271 export_dynamic_flag_spec_CXX
='${wl}-E'
13272 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13273 # Instead, shared libraries are loaded at an image base (0x10000000 by
13274 # default) and relocated if they conflict, which is a slow very memory
13275 # consuming and fragmenting process. To avoid this, we pick a random,
13276 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13277 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13278 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'
13279 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'
13282 case $cc_basename in
13285 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'
13287 # Archives containing C++ object files must be created using
13288 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13289 # necessary to make sure instantiated templates are included
13291 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13294 if test "$GXX" = yes; then
13295 if test "$with_gnu_ld" = no
; then
13296 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'
13298 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'
13301 link_all_deplibs_CXX
=yes
13304 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13305 hardcode_libdir_separator_CXX
=:
13306 inherit_rpath_CXX
=yes
13309 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13310 case $cc_basename in
13312 # Kuck and Associates, Inc. (KAI) C++ Compiler
13314 # KCC will only create a shared library if the output file
13315 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13316 # to its proper name (with version) after linking.
13317 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'
13318 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'
13319 # Commands to make compiler produce verbose output that lists
13320 # what "hidden" libraries, object files and flags are used when
13321 # linking a shared library.
13323 # There doesn't appear to be a way to prevent this compiler from
13324 # explicitly linking system object files so we need to strip them
13325 # from the output so that they don't get included in the library
13327 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"'
13329 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13330 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13332 # Archives containing C++ object files must be created using
13333 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13334 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13339 # version 8.0 and above of icpc choke on multiply defined symbols
13340 # if we add $predep_objects and $postdep_objects, however 7.1 and
13341 # earlier do not add the objects themselves.
13342 case `$CC -V 2>&1` in
13344 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13345 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'
13347 *) # Version 8.0 or newer
13350 ia64
*) tmp_idyn
=' -i_dynamic';;
13352 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13353 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'
13356 archive_cmds_need_lc_CXX
=no
13357 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13358 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13359 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13362 # Portland Group C++ compiler
13364 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13365 prelink_cmds_CXX
='tpldir=Template.dir~
13367 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13368 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13369 old_archive_cmds_CXX
='tpldir=Template.dir~
13371 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13372 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13374 archive_cmds_CXX
='tpldir=Template.dir~
13376 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13377 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13378 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13380 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13381 $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'
13383 *) # Version 6 and above use weak symbols
13384 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13385 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'
13389 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13390 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13391 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'
13395 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13396 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'
13398 runpath_var
=LD_RUN_PATH
13399 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13400 hardcode_libdir_separator_CXX
=:
13402 # Commands to make compiler produce verbose output that lists
13403 # what "hidden" libraries, object files and flags are used when
13404 # linking a shared library.
13406 # There doesn't appear to be a way to prevent this compiler from
13407 # explicitly linking system object files so we need to strip them
13408 # from the output so that they don't get included in the library
13410 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'
13412 xl
* | mpixl
* | bgxl
*)
13413 # IBM XL 8.0 on PPC, with GNU ld
13414 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13415 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13416 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13417 if test "x$supports_anon_versioning" = xyes
; then
13418 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13419 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13420 echo "local: *; };" >> $output_objdir/$libname.ver~
13421 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13425 case `$CC -V 2>&1 | sed 5q` in
13428 no_undefined_flag_CXX
=' -zdefs'
13429 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13430 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'
13431 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13432 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'
13433 compiler_needs_object_CXX
=yes
13435 # Not sure whether something based on
13436 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13438 output_verbose_link_cmd
='func_echo_all'
13440 # Archives containing C++ object files must be created using
13441 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13442 # necessary to make sure instantiated templates are included
13444 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13452 # FIXME: insert proper C++ library support
13457 # FIXME: insert proper C++ library support
13462 case $cc_basename in
13464 # FIXME: insert proper C++ library support
13468 # FIXME: insert proper C++ library support
13475 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13476 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13478 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13479 hardcode_direct_CXX
=yes
13480 hardcode_shlibpath_var_CXX
=no
13482 # Workaround some broken pre-1.5 toolchains
13483 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13491 # C++ shared libraries are fairly broken
13496 if test -f /usr
/libexec
/ld.so
; then
13497 hardcode_direct_CXX
=yes
13498 hardcode_shlibpath_var_CXX
=no
13499 hardcode_direct_absolute_CXX
=yes
13500 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13501 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13502 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13503 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13504 export_dynamic_flag_spec_CXX
='${wl}-E'
13505 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13507 output_verbose_link_cmd
=func_echo_all
13513 osf3
* | osf4
* | osf5
*)
13514 case $cc_basename in
13516 # Kuck and Associates, Inc. (KAI) C++ Compiler
13518 # KCC will only create a shared library if the output file
13519 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13520 # to its proper name (with version) after linking.
13521 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'
13523 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13524 hardcode_libdir_separator_CXX
=:
13526 # Archives containing C++ object files must be created using
13527 # the KAI C++ compiler.
13529 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13530 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13534 # Rational C++ 2.4.1
13535 # FIXME: insert proper C++ library support
13541 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13542 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'
13543 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13546 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13547 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'
13548 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13549 echo "-hidden">> $lib.exp~
13550 $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~
13552 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13556 hardcode_libdir_separator_CXX
=:
13558 # Commands to make compiler produce verbose output that lists
13559 # what "hidden" libraries, object files and flags are used when
13560 # linking a shared library.
13562 # There doesn't appear to be a way to prevent this compiler from
13563 # explicitly linking system object files so we need to strip them
13564 # from the output so that they don't get included in the library
13566 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"'
13569 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13570 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13573 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'
13576 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'
13580 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13581 hardcode_libdir_separator_CXX
=:
13583 # Commands to make compiler produce verbose output that lists
13584 # what "hidden" libraries, object files and flags are used when
13585 # linking a shared library.
13586 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13589 # FIXME: insert proper C++ library support
13597 # FIXME: insert proper C++ library support
13602 case $cc_basename in
13605 # FIXME: insert proper C++ library support
13610 # FIXME: insert proper C++ library support
13614 # FIXME: insert proper C++ library support
13621 case $cc_basename in
13623 # Sun C++ 4.2, 5.x and Centerline C++
13624 archive_cmds_need_lc_CXX
=yes
13625 no_undefined_flag_CXX
=' -zdefs'
13626 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13627 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13628 $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'
13630 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13631 hardcode_shlibpath_var_CXX
=no
13633 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13635 # The compiler driver will combine and reorder linker options,
13636 # but understands `-z linker_flag'.
13637 # Supported since Solaris 2.6 (maybe 2.5.1?)
13638 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13641 link_all_deplibs_CXX
=yes
13643 output_verbose_link_cmd
='func_echo_all'
13645 # Archives containing C++ object files must be created using
13646 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13647 # necessary to make sure instantiated templates are included
13649 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13652 # Green Hills C++ Compiler
13653 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13655 # The C++ compiler must be used to create the archive.
13656 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13659 # GNU C++ compiler with Solaris linker
13660 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13661 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13662 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13663 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13664 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13665 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13667 # Commands to make compiler produce verbose output that lists
13668 # what "hidden" libraries, object files and flags are used when
13669 # linking a shared library.
13670 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13672 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13674 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13675 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13676 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13678 # Commands to make compiler produce verbose output that lists
13679 # what "hidden" libraries, object files and flags are used when
13680 # linking a shared library.
13681 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13684 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13686 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13688 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13696 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13697 no_undefined_flag_CXX
='${wl}-z,text'
13698 archive_cmds_need_lc_CXX
=no
13699 hardcode_shlibpath_var_CXX
=no
13700 runpath_var
='LD_RUN_PATH'
13702 case $cc_basename in
13704 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13705 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13708 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13709 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13714 sysv5
* | sco3.2v5
* | sco5v6
*)
13715 # Note: We can NOT use -z defs as we might desire, because we do not
13716 # link with -lc, and that would cause any symbols used from libc to
13717 # always be unresolved, which means just about no library would
13718 # ever link correctly. If we're not using GNU ld we use -z text
13719 # though, which does catch some bad symbols but isn't as heavy-handed
13721 no_undefined_flag_CXX
='${wl}-z,text'
13722 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13723 archive_cmds_need_lc_CXX
=no
13724 hardcode_shlibpath_var_CXX
=no
13725 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13726 hardcode_libdir_separator_CXX
=':'
13727 link_all_deplibs_CXX
=yes
13728 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13729 runpath_var
='LD_RUN_PATH'
13731 case $cc_basename in
13733 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13734 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13735 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13736 '"$old_archive_cmds_CXX"
13737 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13738 '"$reload_cmds_CXX"
13741 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13742 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13748 case $cc_basename in
13750 # NonStop-UX NCC 3.20
13751 # FIXME: insert proper C++ library support
13755 # FIXME: insert proper C++ library support
13762 # For VxWorks ports, we assume the use of a GNU linker with
13763 # standard elf conventions.
13768 # FIXME: insert proper C++ library support
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13774 $as_echo "$ld_shlibs_CXX" >&6; }
13775 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13781 ## There is no encapsulation within the following macros, do not change
13782 ## the running order or otherwise move them around unless you know exactly
13783 ## what you are doing...
13784 # Dependencies to place before and after the object being linked:
13785 predep_objects_CXX
=
13786 postdep_objects_CXX
=
13789 compiler_lib_search_path_CXX
=
13791 cat > conftest.
$ac_ext <<_LT_EOF
13795 Foo (void) { a = 0; }
13801 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13802 (eval $ac_compile) 2>&5
13804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13805 test $ac_status = 0; }; then
13806 # Parse the compiler output and extract the necessary
13807 # objects, libraries and library flags.
13809 # Sentinel used to keep track of whether or not we are before
13810 # the conftest object file.
13811 pre_test_object_deps_done
=no
13813 for p
in `eval "$output_verbose_link_cmd"`; do
13817 # Some compilers place space between "-{L,R}" and the path.
13818 # Remove the space.
13819 if test $p = "-L" ||
13820 test $p = "-R"; then
13827 if test "$pre_test_object_deps_done" = no
; then
13830 # Internal compiler library paths should come after those
13831 # provided the user. The postdeps already come after the
13832 # user supplied libs so there is no need to process them.
13833 if test -z "$compiler_lib_search_path_CXX"; then
13834 compiler_lib_search_path_CXX
="${prev}${p}"
13836 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13839 # The "-l" case would never come before the object being
13840 # linked, so don't bother handling this case.
13843 if test -z "$postdeps_CXX"; then
13844 postdeps_CXX
="${prev}${p}"
13846 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13852 # This assumes that the test object file only shows up
13853 # once in the compiler output.
13854 if test "$p" = "conftest.$objext"; then
13855 pre_test_object_deps_done
=yes
13859 if test "$pre_test_object_deps_done" = no
; then
13860 if test -z "$predep_objects_CXX"; then
13861 predep_objects_CXX
="$p"
13863 predep_objects_CXX
="$predep_objects_CXX $p"
13866 if test -z "$postdep_objects_CXX"; then
13867 postdep_objects_CXX
="$p"
13869 postdep_objects_CXX
="$postdep_objects_CXX $p"
13874 *) ;; # Ignore the rest.
13882 echo "libtool.m4: error: problem compiling CXX test program"
13885 $RM -f confest.
$objext
13887 # PORTME: override above test on systems where it is broken
13890 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13891 # hack all around it, let's just trust "g++" to DTRT.
13892 predep_objects_CXX
=
13893 postdep_objects_CXX
=
13898 case `$CC -V 2>&1 | sed 5q` in
13902 # The more standards-conforming stlport4 library is
13903 # incompatible with the Cstd library. Avoid specifying
13904 # it if it's in CXXFLAGS. Ignore libCrun as
13905 # -library=stlport4 depends on it.
13906 case " $CXX $CXXFLAGS " in
13907 *" -library=stlport4 "*)
13908 solaris_use_stlport4
=yes
13912 if test "$solaris_use_stlport4" != yes; then
13913 postdeps_CXX
='-library=Cstd -library=Crun'
13920 case $cc_basename in
13922 # The more standards-conforming stlport4 library is
13923 # incompatible with the Cstd library. Avoid specifying
13924 # it if it's in CXXFLAGS. Ignore libCrun as
13925 # -library=stlport4 depends on it.
13926 case " $CXX $CXXFLAGS " in
13927 *" -library=stlport4 "*)
13928 solaris_use_stlport4
=yes
13932 # Adding this requires a known-good setup of shared libraries for
13933 # Sun compiler versions before 5.6, else PIC objects from an old
13934 # archive will be linked into the output, leading to subtle bugs.
13935 if test "$solaris_use_stlport4" != yes; then
13936 postdeps_CXX
='-library=Cstd -library=Crun'
13944 case " $postdeps_CXX " in
13945 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13947 compiler_lib_search_dirs_CXX
=
13948 if test -n "${compiler_lib_search_path_CXX}"; then
13949 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13982 lt_prog_compiler_wl_CXX
=
13983 lt_prog_compiler_pic_CXX
=
13984 lt_prog_compiler_static_CXX
=
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13987 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13989 # C++ specific cases for pic, static, wl, etc.
13990 if test "$GXX" = yes; then
13991 lt_prog_compiler_wl_CXX
='-Wl,'
13992 lt_prog_compiler_static_CXX
='-static'
13996 # All AIX code is PIC.
13997 if test "$host_cpu" = ia64
; then
13998 # AIX 5 now supports IA64 processor
13999 lt_prog_compiler_static_CXX
='-Bstatic'
14001 lt_prog_compiler_pic_CXX
='-fPIC'
14007 # see comment about AmigaOS4 .so support
14008 lt_prog_compiler_pic_CXX
='-fPIC'
14011 # FIXME: we need at least 68020 code to build shared libraries, but
14012 # adding the `-m68020' flag to GCC prevents building anything better,
14014 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14019 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14020 # PIC is the default for these OSes.
14022 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14023 # This hack is so that the source file can tell whether it is being
14024 # built for inclusion in a dll (and should export symbols for example).
14025 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14026 # (--disable-auto-import) libraries
14027 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14029 darwin
* | rhapsody
*)
14030 # PIC is the default on this platform
14031 # Common symbols not allowed in MH_DYLIB files
14032 lt_prog_compiler_pic_CXX
='-fno-common'
14035 # DJGPP does not support shared libraries at all
14036 lt_prog_compiler_pic_CXX
=
14039 # PIC is the default for Haiku.
14040 # The "-static" flag exists, but is broken.
14041 lt_prog_compiler_static_CXX
=
14044 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14045 # Instead, we relocate shared libraries at runtime.
14048 if test -d /usr
/nec
; then
14049 lt_prog_compiler_pic_CXX
=-Kconform_pic
14053 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14054 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14055 # sets the default TLS model and affects inlining.
14060 lt_prog_compiler_pic_CXX
='-fPIC'
14065 # QNX uses GNU C++, but need to define -shared option too, otherwise
14066 # it will coredump.
14067 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14070 lt_prog_compiler_pic_CXX
='-fPIC'
14076 # All AIX code is PIC.
14077 if test "$host_cpu" = ia64
; then
14078 # AIX 5 now supports IA64 processor
14079 lt_prog_compiler_static_CXX
='-Bstatic'
14081 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14085 case $cc_basename in
14087 # Green Hills C++ Compiler
14088 # _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"
14093 case $cc_basename in
14095 lt_prog_compiler_pic_CXX
='-KPIC'
14098 # Green Hills C++ Compiler
14099 lt_prog_compiler_pic_CXX
='-pic'
14105 freebsd
* | dragonfly
*)
14106 # FreeBSD uses GNU C++
14108 hpux9
* | hpux10
* | hpux11
*)
14109 case $cc_basename in
14111 lt_prog_compiler_wl_CXX
='-Wl,'
14112 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14113 if test "$host_cpu" != ia64
; then
14114 lt_prog_compiler_pic_CXX
='+Z'
14118 lt_prog_compiler_wl_CXX
='-Wl,'
14119 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14125 lt_prog_compiler_pic_CXX
='+Z'
14134 # This is c89, which is MS Visual C++ (no shared libs)
14135 # Anyone wants to do a port?
14137 irix5
* | irix6
* | nonstopux
*)
14138 case $cc_basename in
14140 lt_prog_compiler_wl_CXX
='-Wl,'
14141 lt_prog_compiler_static_CXX
='-non_shared'
14142 # CC pic flag -KPIC is the default.
14148 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14149 case $cc_basename in
14152 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14153 lt_prog_compiler_pic_CXX
='-fPIC'
14156 # old Intel C++ for x86_64 which still supported -KPIC.
14157 lt_prog_compiler_wl_CXX
='-Wl,'
14158 lt_prog_compiler_pic_CXX
='-KPIC'
14159 lt_prog_compiler_static_CXX
='-static'
14162 # Intel C++, used to be incompatible with GCC.
14163 # ICC 10 doesn't accept -KPIC any more.
14164 lt_prog_compiler_wl_CXX
='-Wl,'
14165 lt_prog_compiler_pic_CXX
='-fPIC'
14166 lt_prog_compiler_static_CXX
='-static'
14169 # Portland Group C++ compiler
14170 lt_prog_compiler_wl_CXX
='-Wl,'
14171 lt_prog_compiler_pic_CXX
='-fpic'
14172 lt_prog_compiler_static_CXX
='-Bstatic'
14176 # Make sure the PIC flag is empty. It appears that all Alpha
14177 # Linux and Compaq Tru64 Unix objects are PIC.
14178 lt_prog_compiler_pic_CXX
=
14179 lt_prog_compiler_static_CXX
='-non_shared'
14181 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14182 # IBM XL 8.0, 9.0 on PPC and BlueGene
14183 lt_prog_compiler_wl_CXX
='-Wl,'
14184 lt_prog_compiler_pic_CXX
='-qpic'
14185 lt_prog_compiler_static_CXX
='-qstaticlink'
14188 case `$CC -V 2>&1 | sed 5q` in
14191 lt_prog_compiler_pic_CXX
='-KPIC'
14192 lt_prog_compiler_static_CXX
='-Bstatic'
14193 lt_prog_compiler_wl_CXX
='-Qoption ld '
14204 case $cc_basename in
14206 lt_prog_compiler_pic_CXX
='-W c,exportall'
14215 # QNX uses GNU C++, but need to define -shared option too, otherwise
14216 # it will coredump.
14217 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14219 osf3
* | osf4
* | osf5
*)
14220 case $cc_basename in
14222 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14225 # Rational C++ 2.4.1
14226 lt_prog_compiler_pic_CXX
='-pic'
14229 # Digital/Compaq C++
14230 lt_prog_compiler_wl_CXX
='-Wl,'
14231 # Make sure the PIC flag is empty. It appears that all Alpha
14232 # Linux and Compaq Tru64 Unix objects are PIC.
14233 lt_prog_compiler_pic_CXX
=
14234 lt_prog_compiler_static_CXX
='-non_shared'
14243 case $cc_basename in
14245 # Sun C++ 4.2, 5.x and Centerline C++
14246 lt_prog_compiler_pic_CXX
='-KPIC'
14247 lt_prog_compiler_static_CXX
='-Bstatic'
14248 lt_prog_compiler_wl_CXX
='-Qoption ld '
14251 # Green Hills C++ Compiler
14252 lt_prog_compiler_pic_CXX
='-PIC'
14259 case $cc_basename in
14262 lt_prog_compiler_pic_CXX
='-pic'
14263 lt_prog_compiler_static_CXX
='-Bstatic'
14267 lt_prog_compiler_pic_CXX
='-pic'
14273 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14274 case $cc_basename in
14276 lt_prog_compiler_wl_CXX
='-Wl,'
14277 lt_prog_compiler_pic_CXX
='-KPIC'
14278 lt_prog_compiler_static_CXX
='-Bstatic'
14283 case $cc_basename in
14285 # NonStop-UX NCC 3.20
14286 lt_prog_compiler_pic_CXX
='-KPIC'
14295 lt_prog_compiler_can_build_shared_CXX
=no
14301 # For platforms which do not support PIC, -DPIC is meaningless:
14303 lt_prog_compiler_pic_CXX
=
14306 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14310 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14315 # Check to make sure the PIC flag actually works.
14317 if test -n "$lt_prog_compiler_pic_CXX"; then
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14319 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14320 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14321 $as_echo_n "(cached) " >&6
14323 lt_cv_prog_compiler_pic_works_CXX
=no
14324 ac_outfile
=conftest.
$ac_objext
14325 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14326 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14327 # Insert the option either (1) after the last *FLAGS variable, or
14328 # (2) before a word containing "conftest.", or (3) at the end.
14329 # Note that $ac_compile itself does not contain backslashes and begins
14330 # with a dollar sign (not a hyphen), so the echo should work correctly.
14331 # The option is referenced via a variable to avoid confusing sed.
14332 lt_compile
=`echo "$ac_compile" | $SED \
14333 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14334 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14335 -e 's:$: $lt_compiler_flag:'`
14336 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14337 (eval "$lt_compile" 2>conftest.err
)
14339 cat conftest.err
>&5
14340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14341 if (exit $ac_status) && test -s "$ac_outfile"; then
14342 # The compiler can only warn and ignore the option if not recognized
14343 # So say no if there are warnings other than the usual output.
14344 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14345 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14346 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14347 lt_cv_prog_compiler_pic_works_CXX
=yes
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14354 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14356 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14357 case $lt_prog_compiler_pic_CXX in
14359 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14362 lt_prog_compiler_pic_CXX
=
14363 lt_prog_compiler_can_build_shared_CXX
=no
14371 # Check to make sure the static flag actually works.
14373 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14375 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14376 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14377 $as_echo_n "(cached) " >&6
14379 lt_cv_prog_compiler_static_works_CXX
=no
14380 save_LDFLAGS
="$LDFLAGS"
14381 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14382 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14383 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14384 # The linker can only warn and ignore the option if not recognized
14385 # So say no if there are warnings
14386 if test -s conftest.err
; then
14387 # Append any errors to the config.log.
14388 cat conftest.err
1>&5
14389 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14390 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14391 if diff conftest.exp conftest.er2
>/dev
/null
; then
14392 lt_cv_prog_compiler_static_works_CXX
=yes
14395 lt_cv_prog_compiler_static_works_CXX
=yes
14399 LDFLAGS
="$save_LDFLAGS"
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14403 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14405 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14408 lt_prog_compiler_static_CXX
=
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14415 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14416 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14417 $as_echo_n "(cached) " >&6
14419 lt_cv_prog_compiler_c_o_CXX
=no
14420 $RM -r conftest
2>/dev
/null
14424 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14426 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14427 # Insert the option either (1) after the last *FLAGS variable, or
14428 # (2) before a word containing "conftest.", or (3) at the end.
14429 # Note that $ac_compile itself does not contain backslashes and begins
14430 # with a dollar sign (not a hyphen), so the echo should work correctly.
14431 lt_compile
=`echo "$ac_compile" | $SED \
14432 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14433 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14434 -e 's:$: $lt_compiler_flag:'`
14435 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14436 (eval "$lt_compile" 2>out
/conftest.err
)
14438 cat out
/conftest.err
>&5
14439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14440 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14442 # The compiler can only warn and ignore the option if not recognized
14443 # So say no if there are warnings
14444 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14445 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14446 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14447 lt_cv_prog_compiler_c_o_CXX
=yes
14452 # SGI C++ compiler will create directory out/ii_files/ for
14453 # template instantiation
14454 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14455 $RM out
/* && rmdir out
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14462 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14467 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14468 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14469 $as_echo_n "(cached) " >&6
14471 lt_cv_prog_compiler_c_o_CXX
=no
14472 $RM -r conftest
2>/dev
/null
14476 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14478 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14479 # Insert the option either (1) after the last *FLAGS variable, or
14480 # (2) before a word containing "conftest.", or (3) at the end.
14481 # Note that $ac_compile itself does not contain backslashes and begins
14482 # with a dollar sign (not a hyphen), so the echo should work correctly.
14483 lt_compile
=`echo "$ac_compile" | $SED \
14484 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14485 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14486 -e 's:$: $lt_compiler_flag:'`
14487 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14488 (eval "$lt_compile" 2>out
/conftest.err
)
14490 cat out
/conftest.err
>&5
14491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14494 # The compiler can only warn and ignore the option if not recognized
14495 # So say no if there are warnings
14496 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14497 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14498 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14499 lt_cv_prog_compiler_c_o_CXX
=yes
14504 # SGI C++ compiler will create directory out/ii_files/ for
14505 # template instantiation
14506 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14507 $RM out
/* && rmdir out
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14514 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14519 hard_links
="nottested"
14520 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14521 # do not overwrite the value of need_locks provided by the user
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14523 $as_echo_n "checking if we can lock with hard links... " >&6; }
14526 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14528 ln conftest.a conftest.b
2>&5 || hard_links
=no
14529 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14531 $as_echo "$hard_links" >&6; }
14532 if test "$hard_links" = no
; then
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14534 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14544 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14546 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14549 # If we're using GNU nm, then we don't want the "-C" option.
14550 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14551 # Also, AIX nm treats weak defined symbols like other global defined
14552 # symbols, whereas GNU nm marks them as "W".
14553 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14554 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'
14556 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'
14560 export_symbols_cmds_CXX
="$ltdll_cmds"
14562 cygwin
* | mingw
* | cegcc
*)
14563 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'
14566 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14569 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14572 $as_echo "$ld_shlibs_CXX" >&6; }
14573 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14575 with_gnu_ld_CXX
=$with_gnu_ld
14583 # Do we need to explicitly link libc?
14585 case "x$archive_cmds_need_lc_CXX" in
14587 # Assume -lc should be added
14588 archive_cmds_need_lc_CXX
=yes
14590 if test "$enable_shared" = yes && test "$GCC" = yes; then
14591 case $archive_cmds_CXX in
14593 # FIXME: we may have to deal with multi-command sequences.
14596 # Test whether the compiler implicitly links with -lc since on some
14597 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14598 # to ld, don't add -lc before -lgcc.
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14600 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14601 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14602 $as_echo_n "(cached) " >&6
14605 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14607 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14608 (eval $ac_compile) 2>&5
14610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14611 test $ac_status = 0; } 2>conftest.err
; then
14614 libobjs
=conftest.
$ac_objext
14616 wl
=$lt_prog_compiler_wl_CXX
14617 pic_flag
=$lt_prog_compiler_pic_CXX
14623 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14624 allow_undefined_flag_CXX
=
14625 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14626 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14629 test $ac_status = 0; }
14631 lt_cv_archive_cmds_need_lc_CXX
=no
14633 lt_cv_archive_cmds_need_lc_CXX
=yes
14635 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14637 cat conftest.err
1>&5
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14643 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14644 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14715 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14717 library_names_spec
=
14718 libname_spec
='lib$name'
14722 postuninstall_cmds
=
14726 shlibpath_overrides_runpath
=unknown
14728 dynamic_linker
="$host_os ld.so"
14729 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14730 need_lib_prefix
=unknown
14731 hardcode_into_libs
=no
14733 # when you set need_version to no, make sure it does not cause -set_version
14734 # flags to be left without arguments
14735 need_version
=unknown
14740 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14741 shlibpath_var
=LIBPATH
14743 # AIX 3 has no versioning support, so we append a major version to the name.
14744 soname_spec
='${libname}${release}${shared_ext}$major'
14751 hardcode_into_libs
=yes
14752 if test "$host_cpu" = ia64
; then
14753 # AIX 5 supports IA64
14754 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14755 shlibpath_var
=LD_LIBRARY_PATH
14757 # With GCC up to 2.95.x, collect2 would create an import file
14758 # for dependence libraries. The import file would start with
14759 # the line `#! .'. This would cause the generated library to
14760 # depend on `.', always an invalid library. This was fixed in
14761 # development snapshots of GCC prior to 3.0.
14763 aix4 | aix4.
[01] | aix4.
[01].
*)
14764 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14766 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14769 can_build_shared
=no
14773 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14774 # soname into executable. Probably we can add versioning support to
14775 # collect2, so additional links can be useful in future.
14776 if test "$aix_use_runtimelinking" = yes; then
14777 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14778 # instead of lib<name>.a to let people know that these are not
14779 # typical AIX shared libraries.
14780 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14782 # We preserve .a as extension for shared libraries through AIX4.2
14783 # and later when we are not doing run time linking.
14784 library_names_spec
='${libname}${release}.a $libname.a'
14785 soname_spec
='${libname}${release}${shared_ext}$major'
14787 shlibpath_var
=LIBPATH
14794 # Since July 2007 AmigaOS4 officially supports .so libraries.
14795 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14796 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14799 library_names_spec
='$libname.ixlibrary $libname.a'
14800 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14801 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'
14807 library_names_spec
='${libname}${shared_ext}'
14808 dynamic_linker
="$host_os ld.so"
14809 shlibpath_var
=LIBRARY_PATH
14815 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14816 soname_spec
='${libname}${release}${shared_ext}$major'
14817 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14818 shlibpath_var
=LD_LIBRARY_PATH
14819 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14820 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14821 # the default ld.so.conf also contains /usr/contrib/lib and
14822 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14823 # libtool to hard-code these into programs
14826 cygwin
* | mingw
* | pw32
* | cegcc
*)
14827 version_type
=windows
14832 case $GCC,$host_os in
14833 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14834 library_names_spec
='$libname.dll.a'
14835 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14836 postinstall_cmds
='base_file=`basename \${file}`~
14837 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14838 dldir=$destdir/`dirname \$dlpath`~
14839 test -d \$dldir || mkdir -p \$dldir~
14840 $install_prog $dir/$dlname \$dldir/$dlname~
14841 chmod a+x \$dldir/$dlname~
14842 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14843 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14845 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14846 dlpath=$dir/\$dldll~
14848 shlibpath_overrides_runpath
=yes
14852 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14853 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14857 # MinGW DLLs use traditional 'lib' prefix
14858 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14861 # pw32 DLLs use 'pw' prefix rather than 'lib'
14862 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14868 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14871 dynamic_linker
='Win32 ld.exe'
14872 # FIXME: first we should search . and the directory the executable is in
14876 darwin
* | rhapsody
*)
14877 dynamic_linker
="$host_os dyld"
14878 version_type
=darwin
14881 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14882 soname_spec
='${libname}${release}${major}$shared_ext'
14883 shlibpath_overrides_runpath
=yes
14884 shlibpath_var
=DYLD_LIBRARY_PATH
14885 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14887 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14894 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14895 soname_spec
='${libname}${release}${shared_ext}$major'
14896 shlibpath_var
=LD_LIBRARY_PATH
14899 freebsd
* | dragonfly
*)
14900 # DragonFly does not have aout. When/if they implement a new
14901 # versioning mechanism, adjust this.
14902 if test -x /usr
/bin
/objformat
; then
14903 objformat
=`/usr/bin/objformat`
14906 freebsd
[23].
*) objformat
=aout
;;
14907 *) objformat
=elf
;;
14910 version_type
=freebsd-
$objformat
14911 case $version_type in
14913 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14918 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14922 shlibpath_var
=LD_LIBRARY_PATH
14925 shlibpath_overrides_runpath
=yes
14927 freebsd3.
[01]* | freebsdelf3.
[01]*)
14928 shlibpath_overrides_runpath
=yes
14929 hardcode_into_libs
=yes
14931 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14932 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14933 shlibpath_overrides_runpath
=no
14934 hardcode_into_libs
=yes
14936 *) # from 4.6 on, and DragonFly
14937 shlibpath_overrides_runpath
=yes
14938 hardcode_into_libs
=yes
14947 dynamic_linker
="$host_os runtime_loader"
14948 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14949 soname_spec
='${libname}${release}${shared_ext}$major'
14950 shlibpath_var
=LIBRARY_PATH
14951 shlibpath_overrides_runpath
=yes
14952 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14953 hardcode_into_libs
=yes
14956 hpux9
* | hpux10
* | hpux11
*)
14957 # Give a soname corresponding to the major version so that dld.sl refuses to
14958 # link against other versions.
14965 hardcode_into_libs
=yes
14966 dynamic_linker
="$host_os dld.so"
14967 shlibpath_var
=LD_LIBRARY_PATH
14968 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14969 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14970 soname_spec
='${libname}${release}${shared_ext}$major'
14971 if test "X$HPUX_IA64_MODE" = X32
; then
14972 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14974 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14976 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14980 hardcode_into_libs
=yes
14981 dynamic_linker
="$host_os dld.sl"
14982 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14983 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14984 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14985 soname_spec
='${libname}${release}${shared_ext}$major'
14986 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14987 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14991 dynamic_linker
="$host_os dld.sl"
14992 shlibpath_var
=SHLIB_PATH
14993 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14994 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14995 soname_spec
='${libname}${release}${shared_ext}$major'
14998 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14999 postinstall_cmds
='chmod 555 $lib'
15000 # or fails outright, so override atomically:
15001 install_override_mode
=555
15008 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15009 soname_spec
='${libname}${release}${shared_ext}$major'
15010 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15011 shlibpath_var
=LD_LIBRARY_PATH
15012 shlibpath_overrides_runpath
=no
15013 hardcode_into_libs
=yes
15016 irix5
* | irix6
* | nonstopux
*)
15018 nonstopux
*) version_type
=nonstopux
;;
15020 if test "$lt_cv_prog_gnu_ld" = yes; then
15028 soname_spec
='${libname}${release}${shared_ext}$major'
15029 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15031 irix5
* | nonstopux
*)
15032 libsuff
= shlibsuff
=
15035 case $LD in # libtool.m4 will add one of these switches to LD
15036 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15037 libsuff
= shlibsuff
= libmagic
=32-bit;;
15038 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15039 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15040 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15041 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15042 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15046 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15047 shlibpath_overrides_runpath
=no
15048 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15049 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15050 hardcode_into_libs
=yes
15053 # No shared lib support for Linux oldld, aout, or coff.
15054 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15058 # This must be Linux ELF.
15060 # uclinux* changes (here and below) have been submitted to the libtool
15061 # project, but have not yet been accepted: they are GCC-local changes
15062 # for the time being. (See
15063 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15064 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
15068 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15069 soname_spec
='${libname}${release}${shared_ext}$major'
15070 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15071 shlibpath_var
=LD_LIBRARY_PATH
15072 shlibpath_overrides_runpath
=no
15074 # Some binutils ld are patched to set DT_RUNPATH
15075 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15076 $as_echo_n "(cached) " >&6
15078 lt_cv_shlibpath_overrides_runpath
=no
15079 save_LDFLAGS
=$LDFLAGS
15080 save_libdir
=$libdir
15081 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15082 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15084 /* end confdefs.h. */
15094 if ac_fn_cxx_try_link
"$LINENO"; then :
15095 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15096 lt_cv_shlibpath_overrides_runpath
=yes
15099 rm -f core conftest.err conftest.
$ac_objext \
15100 conftest
$ac_exeext conftest.
$ac_ext
15101 LDFLAGS
=$save_LDFLAGS
15102 libdir
=$save_libdir
15106 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15108 # This implies no fast_install, which is unacceptable.
15109 # Some rework will be needed to allow for fast_install
15110 # before this can be enabled.
15111 hardcode_into_libs
=yes
15113 # Append ld.so.conf contents to the search path
15114 if test -f /etc
/ld.so.conf
; then
15115 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' ' '`
15116 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15119 # We used to test for /lib/ld.so.1 and disable shared libraries on
15120 # powerpc, because MkLinux only supported shared libraries with the
15121 # GNU dynamic linker. Since this was broken with cross compilers,
15122 # most powerpc-linux boxes support dynamic linking these days and
15123 # people can always --disable-shared, the test was removed, and we
15124 # assume the GNU/Linux dynamic linker is in use.
15125 dynamic_linker
='GNU/Linux ld.so'
15132 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15133 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15134 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15135 dynamic_linker
='NetBSD (a.out) ld.so'
15137 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15138 soname_spec
='${libname}${release}${shared_ext}$major'
15139 dynamic_linker
='NetBSD ld.elf_so'
15141 shlibpath_var
=LD_LIBRARY_PATH
15142 shlibpath_overrides_runpath
=yes
15143 hardcode_into_libs
=yes
15148 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15149 shlibpath_var
=LD_LIBRARY_PATH
15150 shlibpath_overrides_runpath
=yes
15157 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15158 soname_spec
='${libname}${release}${shared_ext}$major'
15159 shlibpath_var
=LD_LIBRARY_PATH
15160 shlibpath_overrides_runpath
=no
15161 hardcode_into_libs
=yes
15162 dynamic_linker
='ldqnx.so'
15167 sys_lib_dlsearch_path_spec
="/usr/lib"
15169 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15171 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15172 *) need_version
=no
;;
15174 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15175 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15176 shlibpath_var
=LD_LIBRARY_PATH
15177 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15179 openbsd2.
[89] | openbsd2.
[89].
*)
15180 shlibpath_overrides_runpath
=no
15183 shlibpath_overrides_runpath
=yes
15187 shlibpath_overrides_runpath
=yes
15192 libname_spec
='$name'
15195 library_names_spec
='$libname${shared_ext} $libname.a'
15196 dynamic_linker
='OS/2 ld.exe'
15197 shlibpath_var
=LIBPATH
15200 osf3
* | osf4
* | osf5
*)
15204 soname_spec
='${libname}${release}${shared_ext}$major'
15205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15206 shlibpath_var
=LD_LIBRARY_PATH
15207 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15208 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15219 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15220 soname_spec
='${libname}${release}${shared_ext}$major'
15221 shlibpath_var
=LD_LIBRARY_PATH
15222 shlibpath_overrides_runpath
=yes
15223 hardcode_into_libs
=yes
15224 # ldd complains unless libraries are executable
15225 postinstall_cmds
='chmod +x $lib'
15230 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15231 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15232 shlibpath_var
=LD_LIBRARY_PATH
15233 shlibpath_overrides_runpath
=yes
15234 if test "$with_gnu_ld" = yes; then
15242 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15243 soname_spec
='${libname}${release}${shared_ext}$major'
15244 shlibpath_var
=LD_LIBRARY_PATH
15245 case $host_vendor in
15247 shlibpath_overrides_runpath
=no
15249 runpath_var
=LD_RUN_PATH
15257 shlibpath_overrides_runpath
=no
15258 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15264 if test -d /usr
/nec
;then
15266 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15267 soname_spec
='$libname${shared_ext}.$major'
15268 shlibpath_var
=LD_LIBRARY_PATH
15272 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15273 version_type
=freebsd-elf
15276 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15277 soname_spec
='${libname}${release}${shared_ext}$major'
15278 shlibpath_var
=LD_LIBRARY_PATH
15279 shlibpath_overrides_runpath
=yes
15280 hardcode_into_libs
=yes
15281 if test "$with_gnu_ld" = yes; then
15282 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15284 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15287 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15291 sys_lib_dlsearch_path_spec
='/usr/lib'
15295 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15299 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15300 shlibpath_var
=LD_LIBRARY_PATH
15301 shlibpath_overrides_runpath
=no
15302 hardcode_into_libs
=yes
15307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15308 soname_spec
='${libname}${release}${shared_ext}$major'
15309 shlibpath_var
=LD_LIBRARY_PATH
15312 # Shared libraries for VwWorks, >= 7 only at this stage
15313 # and (fpic) still incompatible with "large" code models
15314 # in a few configurations. Only for RTP mode in any case,
15315 # and upon explicit request at configure time.
15318 case ${with_multisubdir}-${enable_shared} in
15325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15326 soname_spec
='${libname}${release}${shared_ext}$major'
15327 dynamic_linker
="$host_os module_loader"
15335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15336 $as_echo "$dynamic_linker" >&6; }
15337 test "$dynamic_linker" = no
&& can_build_shared
=no
15339 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15340 if test "$GCC" = yes; then
15341 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15344 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15345 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15347 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15348 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15389 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15390 hardcode_action_CXX
=
15391 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15392 test -n "$runpath_var_CXX" ||
15393 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15395 # We can hardcode non-existent directories.
15396 if test "$hardcode_direct_CXX" != no
&&
15397 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15398 # have to relink, otherwise we might link with an installed library
15399 # when we should be linking with a yet-to-be-installed one
15400 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15401 test "$hardcode_minus_L_CXX" != no
; then
15402 # Linking always hardcodes the temporary library directory.
15403 hardcode_action_CXX
=relink
15405 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15406 hardcode_action_CXX
=immediate
15409 # We cannot hardcode anything, or else we can only hardcode existing
15411 hardcode_action_CXX
=unsupported
15413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15414 $as_echo "$hardcode_action_CXX" >&6; }
15416 if test "$hardcode_action_CXX" = relink ||
15417 test "$inherit_rpath_CXX" = yes; then
15418 # Fast installation is not supported
15419 enable_fast_install
=no
15420 elif test "$shlibpath_overrides_runpath" = yes ||
15421 test "$enable_shared" = no
; then
15422 # Fast installation is not necessary
15423 enable_fast_install
=needless
15432 fi # test -n "$compiler"
15438 with_gnu_ld
=$lt_save_with_gnu_ld
15439 lt_cv_path_LDCXX
=$lt_cv_path_LD
15440 lt_cv_path_LD
=$lt_save_path_LD
15441 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15442 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15443 fi # test "$_lt_caught_CXX_error" != yes
15446 ac_cpp
='$CPP $CPPFLAGS'
15447 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15448 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15449 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15463 ac_config_commands
="$ac_config_commands libtool"
15468 # Only expand once:
15471 # Check whether --enable-shared was given.
15472 if test "${enable_shared+set}" = set; then :
15473 enableval
=$enable_shared; p
=${PACKAGE-default}
15475 yes) enable_shared
=yes ;;
15476 no
) enable_shared
=no
;;
15479 # Look at the argument we got. We use all the common list separators.
15480 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
15481 for pkg
in $enableval; do
15483 if test "X$pkg" = "X$p"; then
15499 # Check whether --enable-static was given.
15500 if test "${enable_static+set}" = set; then :
15501 enableval
=$enable_static; p
=${PACKAGE-default}
15503 yes) enable_static
=yes ;;
15504 no
) enable_static
=no
;;
15507 # Look at the argument we got. We use all the common list separators.
15508 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
15509 for pkg
in $enableval; do
15511 if test "X$pkg" = "X$p"; then
15528 if test "$enable_shared" != "yes"; then
15529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot set --enable-shared for gprofng/libcollector. Profiling will be unavailable." >&5
15530 $as_echo "$as_me: WARNING: Cannot set --enable-shared for gprofng/libcollector. Profiling will be unavailable." >&2;}
15534 ac_cpp
='$CPP $CPPFLAGS'
15535 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15536 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15537 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15539 GPROFNG_NO_NONNULL_COMPARE_CFLAGS
=
15540 save_CFLAGS
="$CFLAGS"
15541 for real_option
in -Wno-nonnull-compare; do
15542 # Do the check with the no- prefix removed since gcc silently
15543 # accepts any -Wno-* option on purpose
15544 case $real_option in
15545 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
15546 *) option
=$real_option ;;
15548 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
15550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
15551 $as_echo_n "checking whether $CC supports $option... " >&6; }
15552 if eval \
${$as_acx_Woption+:} false
; then :
15553 $as_echo_n "(cached) " >&6
15556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15557 /* end confdefs.h. */
15567 if ac_fn_c_try_compile
"$LINENO"; then :
15568 eval "$as_acx_Woption=yes"
15570 eval "$as_acx_Woption=no"
15572 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15575 eval ac_res
=\$
$as_acx_Woption
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15577 $as_echo "$ac_res" >&6; }
15578 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
15579 GPROFNG_NO_NONNULL_COMPARE_CFLAGS
="$GPROFNG_NO_NONNULL_COMPARE_CFLAGS${GPROFNG_NO_NONNULL_COMPARE_CFLAGS:+ }$real_option"
15582 CFLAGS
="$save_CFLAGS"
15584 ac_cpp
='$CPP $CPPFLAGS'
15585 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15586 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15587 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15592 ac_config_files
="$ac_config_files Makefile"
15594 ac_config_headers
="$ac_config_headers lib-config.h:../common/lib-config.h.in"
15597 cat >confcache
<<\_ACEOF
15598 # This file is a shell script that caches the results of configure
15599 # tests run on this system so they can be shared between configure
15600 # scripts and configure runs, see configure's option --config-cache.
15601 # It is not useful on other systems. If it contains results you don't
15602 # want to keep, you may remove or edit it.
15604 # config.status only pays attention to the cache file if you give it
15605 # the --recheck option to rerun configure.
15607 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15608 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15609 # following values.
15613 # The following way of writing the cache mishandles newlines in values,
15614 # but we know of no workaround that is simple, portable, and efficient.
15615 # So, we kill variables containing newlines.
15616 # Ultrix sh set writes to stderr and can't be redirected directly,
15617 # and sets the high bit in the cache file unless we assign to the vars.
15619 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15620 eval ac_val
=\$
$ac_var
15624 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15625 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15628 _ | IFS | as_nl
) ;; #(
15629 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15630 *) { eval $ac_var=; unset $ac_var;} ;;
15636 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15637 *${as_nl}ac_space
=\
*)
15638 # `set' does not quote correctly, so add quotes: double-quote
15639 # substitution turns \\\\ into \\, and sed turns \\ into \.
15642 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15645 # `set' quotes correctly as required by POSIX, so do not add quotes.
15646 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15655 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15657 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15659 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15660 if test -w "$cache_file"; then
15661 if test "x$cache_file" != "x/dev/null"; then
15662 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15663 $as_echo "$as_me: updating cache $cache_file" >&6;}
15664 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15665 cat confcache
>"$cache_file"
15667 case $cache_file in #(
15669 mv -f confcache
"$cache_file"$$
&&
15670 mv -f "$cache_file"$$
"$cache_file" ;; #(
15672 mv -f confcache
"$cache_file" ;;
15677 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15678 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15683 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15684 # Let make expand exec_prefix.
15685 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15687 DEFS
=-DHAVE_CONFIG_H
15692 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15693 # 1. Remove the extension, and $U if already installed.
15694 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15695 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15696 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15697 # will be set to the directory where LIBOBJS objects are built.
15698 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15699 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15701 LIBOBJS
=$ac_libobjs
15703 LTLIBOBJS
=$ac_ltlibobjs
15706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15707 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15708 if test -n "$am_sleep_pid"; then
15709 # Hide warnings about reused PIDs.
15710 wait $am_sleep_pid 2>/dev
/null
15712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15713 $as_echo "done" >&6; }
15714 if test -n "$EXEEXT"; then
15716 am__EXEEXT_FALSE
='#'
15718 am__EXEEXT_TRUE
='#'
15722 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15723 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
15724 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15726 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15727 as_fn_error $?
"conditional \"AMDEP\" was never defined.
15728 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15730 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15731 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
15732 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15734 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15735 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
15736 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15738 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15739 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
15740 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15743 : "${CONFIG_STATUS=./config.status}"
15745 ac_clean_files_save
=$ac_clean_files
15746 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15747 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15748 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15750 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15752 # Generated by $as_me.
15753 # Run this file to recreate the current configuration.
15754 # Compiler output produced by configure, useful for debugging
15755 # configure, is in config.log if it exists.
15758 ac_cs_recheck=false
15761 SHELL=\${CONFIG_SHELL-$SHELL}
15764 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15765 ## -------------------- ##
15766 ## M4sh Initialization. ##
15767 ## -------------------- ##
15769 # Be more Bourne compatible
15770 DUALCASE
=1; export DUALCASE
# for MKS sh
15771 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15774 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15775 # is contrary to our usage. Disable this feature.
15776 alias -g '${1+"$@"}'='"$@"'
15777 setopt NO_GLOB_SUBST
15779 case `(set -o) 2>/dev/null` in #(
15791 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15792 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15793 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15794 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15795 # Prefer a ksh shell builtin over an external printf program on Solaris,
15796 # but without wasting forks for bash or zsh.
15797 if test -z "$BASH_VERSION$ZSH_VERSION" \
15798 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15799 as_echo='print
-r --'
15800 as_echo_n='print
-rn --'
15801 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15802 as_echo='printf %s
\n'
15803 as_echo_n='printf %s
'
15805 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15806 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15807 as_echo_n='/usr
/ucb
/echo -n'
15809 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15810 as_echo_n_body='eval
15814 expr "X$arg" : "X\\(.*\\)$as_nl";
15815 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15817 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15819 export as_echo_n_body
15820 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15822 export as_echo_body
15823 as_echo='sh
-c $as_echo_body as_echo
'
15826 # The user is always right.
15827 if test "${PATH_SEPARATOR+set}" != set; then
15829 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15830 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15837 # We need space, tab and new line, in precisely that order. Quoting is
15838 # there to prevent editors from complaining about space-tab.
15839 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15840 # splitting by setting IFS to empty value.)
15843 # Find who we are. Look in the path if we contain no directory separator.
15846 *[\\/]* ) as_myself=$0 ;;
15847 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15848 for as_dir in $PATH
15851 test -z "$as_dir" && as_dir=.
15852 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15858 # We did not find ourselves, most probably we were run as `sh COMMAND'
15859 # in which case we are not to be found in the path.
15860 if test "x$as_myself" = x
; then
15863 if test ! -f "$as_myself"; then
15864 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15868 # Unset variables that we do not need and which cause bugs (e.g. in
15869 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15870 # suppresses any "Segmentation fault" message there. '((' could
15871 # trigger a bug in pdksh 5.2.14.
15872 for as_var
in BASH_ENV ENV MAIL MAILPATH
15873 do eval test x\
${$as_var+set} = xset \
15874 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15887 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15890 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15891 # ----------------------------------------
15892 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15893 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15894 # script with STATUS, using 1 if that was 0.
15897 as_status
=$1; test $as_status -eq 0 && as_status
=1
15899 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15900 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15902 $as_echo "$as_me: error: $2" >&2
15903 as_fn_exit
$as_status
15907 # as_fn_set_status STATUS
15908 # -----------------------
15909 # Set $? to STATUS, without forking.
15910 as_fn_set_status
()
15913 } # as_fn_set_status
15915 # as_fn_exit STATUS
15916 # -----------------
15917 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15921 as_fn_set_status
$1
15927 # Portably unset VAR.
15930 { eval $1=; unset $1;}
15932 as_unset
=as_fn_unset
15933 # as_fn_append VAR VALUE
15934 # ----------------------
15935 # Append the text in VALUE to the end of the definition contained in VAR. Take
15936 # advantage of any shell optimizations that allow amortized linear growth over
15937 # repeated appends, instead of the typical quadratic growth present in naive
15939 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15940 eval 'as_fn_append ()
15951 # as_fn_arith ARG...
15952 # ------------------
15953 # Perform arithmetic evaluation on the ARGs, and store the result in the
15954 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15955 # must be portable across $(()) and expr.
15956 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15957 eval 'as_fn_arith ()
15964 as_val
=`expr "$@" || test $? -eq 1`
15969 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15970 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15976 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15977 as_basename
=basename
15982 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15988 as_me
=`$as_basename -- "$0" ||
15989 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15990 X"$0" : 'X\(//\)$' \| \
15991 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15993 sed '/^.*\/\([^/][^/]*\)\/*$/{
16007 # Avoid depending upon Character Ranges.
16008 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16009 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16010 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16011 as_cr_digits
='0123456789'
16012 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16014 ECHO_C
= ECHO_N
= ECHO_T
=
16015 case `echo -n x` in #(((((
16017 case `echo 'xy\c'` in
16018 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16020 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16027 rm -f conf$$ conf$$.exe conf$$.
file
16028 if test -d conf$$.dir
; then
16029 rm -f conf$$.dir
/conf$$.
file
16032 mkdir conf$$.dir
2>/dev
/null
16034 if (echo >conf$$.
file) 2>/dev
/null
; then
16035 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16037 # ... but there are two gotchas:
16038 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16039 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16040 # In both cases, we have to default to `cp -pR'.
16041 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16043 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16051 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16052 rmdir conf$$.dir
2>/dev
/null
16057 # Create "$as_dir" as a directory, including parents if necessary.
16062 -*) as_dir
=.
/$as_dir;;
16064 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16068 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16069 *) as_qdir
=$as_dir;;
16071 as_dirs
="'$as_qdir' $as_dirs"
16072 as_dir
=`$as_dirname -- "$as_dir" ||
16073 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16074 X"$as_dir" : 'X\(//\)[^/]' \| \
16075 X"$as_dir" : 'X\(//\)$' \| \
16076 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16077 $as_echo X"$as_dir" |
16078 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16082 /^X\(\/\/\)[^/].*/{
16095 test -d "$as_dir" && break
16097 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16098 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16102 if mkdir
-p .
2>/dev
/null
; then
16103 as_mkdir_p
='mkdir -p "$as_dir"'
16105 test -d .
/-p && rmdir .
/-p
16110 # as_fn_executable_p FILE
16111 # -----------------------
16112 # Test if FILE is an executable regular file.
16113 as_fn_executable_p
()
16115 test -f "$1" && test -x "$1"
16116 } # as_fn_executable_p
16117 as_test_x
='test -x'
16118 as_executable_p
=as_fn_executable_p
16120 # Sed expression to map a string onto a valid CPP name.
16121 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16123 # Sed expression to map a string onto a valid variable name.
16124 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16128 ## ----------------------------------- ##
16129 ## Main body of $CONFIG_STATUS script. ##
16130 ## ----------------------------------- ##
16132 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16135 # Save the log message, to keep $0 and so on meaningful, and to
16136 # report actual input values of CONFIG_FILES etc. instead of their
16137 # values after options handling.
16139 This file was extended by gprofng $as_me 2.43.50, which was
16140 generated by GNU Autoconf 2.69. Invocation command line was
16142 CONFIG_FILES = $CONFIG_FILES
16143 CONFIG_HEADERS = $CONFIG_HEADERS
16144 CONFIG_LINKS = $CONFIG_LINKS
16145 CONFIG_COMMANDS = $CONFIG_COMMANDS
16148 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16153 case $ac_config_files in *"
16154 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16157 case $ac_config_headers in *"
16158 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16162 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16163 # Files that config.status was made for.
16164 config_files="$ac_config_files"
16165 config_headers="$ac_config_headers"
16166 config_commands="$ac_config_commands"
16170 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16172 \`$as_me' instantiates files and other configuration actions
16173 from templates according to the current configuration. Unless the files
16174 and actions are specified as TAGs, all are instantiated by default.
16176 Usage: $0 [OPTION]... [TAG]...
16178 -h, --help print this help, then exit
16179 -V, --version print version number and configuration settings, then exit
16180 --config print configuration, then exit
16181 -q, --quiet, --silent
16182 do not print progress messages
16183 -d, --debug don't remove temporary files
16184 --recheck update $as_me by reconfiguring in the same conditions
16185 --file=FILE[:TEMPLATE]
16186 instantiate the configuration file FILE
16187 --header=FILE[:TEMPLATE]
16188 instantiate the configuration header FILE
16190 Configuration files:
16193 Configuration headers:
16196 Configuration commands:
16199 Report bugs to the package provider."
16202 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16203 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16205 gprofng config.status 2.43.50
16206 configured by $0, generated by GNU Autoconf 2.69,
16207 with options \\"\$ac_cs_config\\"
16209 Copyright (C) 2012 Free Software Foundation, Inc.
16210 This config.status script is free software; the Free Software Foundation
16211 gives unlimited permission to copy, distribute and modify it."
16218 test -n "\$AWK" || AWK=awk
16221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16222 # The default lists apply if the user does not specify any file.
16228 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16229 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16233 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16245 # Handling of the options.
16246 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16248 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16249 $as_echo "$ac_cs_version"; exit ;;
16250 --config |
--confi |
--conf |
--con |
--co |
--c )
16251 $as_echo "$ac_cs_config"; exit ;;
16252 --debug |
--debu |
--deb |
--de |
--d |
-d )
16254 --file |
--fil |
--fi |
--f )
16257 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16258 '') as_fn_error $?
"missing file argument" ;;
16260 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16261 ac_need_defaults
=false
;;
16262 --header |
--heade |
--head |
--hea )
16265 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16267 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16268 ac_need_defaults
=false
;;
16270 # Conflict between --help and --header
16271 as_fn_error $?
"ambiguous option: \`$1'
16272 Try \`$0 --help' for more information.";;
16273 --help |
--hel |
-h )
16274 $as_echo "$ac_cs_usage"; exit ;;
16275 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16276 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16279 # This is an error.
16280 -*) as_fn_error $?
"unrecognized option: \`$1'
16281 Try \`$0 --help' for more information." ;;
16283 *) as_fn_append ac_config_targets
" $1"
16284 ac_need_defaults
=false
;;
16290 ac_configure_extra_args
=
16292 if $ac_cs_silent; then
16294 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16298 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16299 if \$ac_cs_recheck; then
16300 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16302 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16303 CONFIG_SHELL='$SHELL'
16304 export CONFIG_SHELL
16309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16313 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16314 ## Running $as_me. ##
16320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16324 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16327 # The HP-UX ksh and POSIX shell print the target directory to stdout
16328 # if CDPATH is set.
16329 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16331 sed_quote_subst='$sed_quote_subst'
16332 double_quote_subst='$double_quote_subst'
16333 delay_variable_subst='$delay_variable_subst'
16334 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16335 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16336 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16337 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16338 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16339 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16340 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16341 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16342 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16343 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16344 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16345 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16346 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16347 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16348 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16349 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16350 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16351 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16352 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16353 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16354 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16355 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16356 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16357 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16358 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16359 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16360 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16361 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16362 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16363 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16364 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16365 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16366 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16367 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16368 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16369 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16370 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16371 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16372 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16373 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16374 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16375 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16376 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16377 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16378 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16379 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16380 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16381 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16382 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"`'
16383 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16384 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16385 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16386 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16387 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16388 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16389 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16390 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16391 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16392 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16393 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16394 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16395 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16396 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16397 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16398 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16399 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16400 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16401 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16402 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16403 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16404 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16405 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16406 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16407 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16408 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16409 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16410 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16411 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16412 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16413 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16414 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16415 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16416 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16417 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16418 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16419 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16420 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16421 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16422 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16423 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16424 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16425 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16426 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16427 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16428 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16429 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16430 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16431 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16432 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16433 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16434 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16435 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16436 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16437 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16438 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16439 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16440 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16441 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16442 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16443 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16444 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16445 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16446 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16447 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16448 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16449 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16450 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16451 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16452 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16453 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16454 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
16455 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
16456 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
16457 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
16458 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
16459 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
16460 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
16461 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
16462 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16463 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16464 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
16465 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
16466 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
16467 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
16468 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
16469 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
16470 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
16471 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
16472 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
16473 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16474 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16475 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
16476 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16477 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16478 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16479 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16480 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16481 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16482 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
16483 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16484 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16485 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16486 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
16487 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
16488 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
16489 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
16490 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
16491 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
16492 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
16493 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
16494 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
16495 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
16496 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
16497 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16498 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16499 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16500 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16501 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
16502 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
16503 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
16504 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16505 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16506 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
16507 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
16508 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
16511 LTCFLAGS='$LTCFLAGS'
16512 compiler='$compiler_DEFAULT'
16514 # A function that is used when there is no print builtin or printf.
16515 func_fallback_echo ()
16517 eval 'cat <<_LTECHO_EOF
16522 # Quote evaled strings.
16536 deplibs_check_method \
16545 lt_cv_sys_global_symbol_pipe \
16546 lt_cv_sys_global_symbol_to_cdecl \
16547 lt_cv_sys_global_symbol_to_c_name_address \
16548 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16549 lt_prog_compiler_no_builtin_flag \
16550 lt_prog_compiler_wl \
16551 lt_prog_compiler_pic \
16552 lt_prog_compiler_static \
16553 lt_cv_prog_compiler_c_o \
16561 export_dynamic_flag_spec \
16562 whole_archive_flag_spec \
16563 compiler_needs_object \
16565 allow_undefined_flag \
16566 no_undefined_flag \
16567 hardcode_libdir_flag_spec \
16568 hardcode_libdir_flag_spec_ld \
16569 hardcode_libdir_separator \
16574 variables_saved_for_relink \
16576 library_names_spec \
16578 install_override_mode \
16582 compiler_lib_search_dirs \
16587 compiler_lib_search_path \
16591 lt_prog_compiler_no_builtin_flag_CXX \
16592 lt_prog_compiler_wl_CXX \
16593 lt_prog_compiler_pic_CXX \
16594 lt_prog_compiler_static_CXX \
16595 lt_cv_prog_compiler_c_o_CXX \
16596 export_dynamic_flag_spec_CXX \
16597 whole_archive_flag_spec_CXX \
16598 compiler_needs_object_CXX \
16600 allow_undefined_flag_CXX \
16601 no_undefined_flag_CXX \
16602 hardcode_libdir_flag_spec_CXX \
16603 hardcode_libdir_flag_spec_ld_CXX \
16604 hardcode_libdir_separator_CXX \
16605 fix_srcfile_path_CXX \
16606 exclude_expsyms_CXX \
16607 include_expsyms_CXX \
16608 file_list_spec_CXX \
16609 compiler_lib_search_dirs_CXX \
16610 predep_objects_CXX \
16611 postdep_objects_CXX \
16614 compiler_lib_search_path_CXX; do
16615 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16616 *[\\\\\\\`\\"\\\$]*)
16617 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16620 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16625 # Double-quote double-evaled strings.
16626 for var in reload_cmds \
16627 old_postinstall_cmds \
16628 old_postuninstall_cmds \
16630 extract_expsyms_cmds \
16631 old_archive_from_new_cmds \
16632 old_archive_from_expsyms_cmds \
16634 archive_expsym_cmds \
16636 module_expsym_cmds \
16637 export_symbols_cmds \
16640 postuninstall_cmds \
16642 sys_lib_search_path_spec \
16643 sys_lib_dlsearch_path_spec \
16645 old_archive_cmds_CXX \
16646 old_archive_from_new_cmds_CXX \
16647 old_archive_from_expsyms_cmds_CXX \
16649 archive_expsym_cmds_CXX \
16651 module_expsym_cmds_CXX \
16652 export_symbols_cmds_CXX \
16653 prelink_cmds_CXX; do
16654 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16655 *[\\\\\\\`\\"\\\$]*)
16656 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16659 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16664 ac_aux_dir='$ac_aux_dir'
16665 xsi_shell='$xsi_shell'
16666 lt_shell_append='$lt_shell_append'
16668 # See if we are running on zsh, and set the options which allow our
16669 # commands through without removal of \ escapes INIT.
16670 if test -n "\${ZSH_VERSION+set}" ; then
16671 setopt NO_GLOB_SUBST
16677 TIMESTAMP='$TIMESTAMP'
16688 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16690 # Handling of arguments.
16691 for ac_config_target
in $ac_config_targets
16693 case $ac_config_target in
16694 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16695 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16696 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16697 "lib-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib-config.h:../common/lib-config.h.in" ;;
16699 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16704 # If the user did not use the arguments to specify the items to instantiate,
16705 # then the envvar interface is used. Set only those that are not.
16706 # We use the long form for the default assignment because of an extremely
16707 # bizarre bug on SunOS 4.1.3.
16708 if $ac_need_defaults; then
16709 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16710 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16711 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16714 # Have a temporary directory for convenience. Make it in the build tree
16715 # simply because there is no reason against having it here, and in addition,
16716 # creating and moving files from /tmp can sometimes cause problems.
16717 # Hook for its removal unless debugging.
16718 # Note that there is a small window in which the directory will not be cleaned:
16719 # after its creation but before its name has been assigned to `$tmp'.
16723 trap 'exit_status=$?
16724 : "${ac_tmp:=$tmp}"
16725 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16727 trap 'as_fn_exit 1' 1 2 13 15
16729 # Create a (secure) tmp directory for tmp files.
16732 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16736 tmp
=.
/conf$$
-$RANDOM
16737 (umask 077 && mkdir
"$tmp")
16738 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16741 # Set up the scripts for CONFIG_FILES section.
16742 # No need to generate them if there are no CONFIG_FILES.
16743 # This happens for instance with `./config.status config.h'.
16744 if test -n "$CONFIG_FILES"; then
16747 ac_cr
=`echo X | tr X '\015'`
16748 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16749 # But we know of no other shell where ac_cr would be empty at this
16750 # point, so we can use a bashism as a fallback.
16751 if test "x$ac_cr" = x
; then
16752 eval ac_cr
=\$
\'\\r
\'
16754 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16755 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16758 ac_cs_awk_cr
=$ac_cr
16761 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16766 echo "cat >conf$$subs.awk <<_ACEOF" &&
16767 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16769 } >conf$$subs.sh ||
16770 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16771 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16773 for ac_last_try in false false false false false :; do
16774 . ./conf$$subs.sh ||
16775 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16777 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16778 if test $ac_delim_n = $ac_delim_num; then
16780 elif $ac_last_try; then
16781 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16783 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16786 rm -f conf$$subs.sh
16788 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16789 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16793 s/^/S["/; s
/!.
*/"]=/
16803 s/\(.\{148\}\)..*/\1/
16805 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16810 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16817 s/\(.\{148\}\)..*/\1/
16819 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16823 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16828 ' <conf$$subs.awk | sed '
16833 ' >>$CONFIG_STATUS || ac_write_fail=1
16834 rm -f conf$$subs.awk
16835 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16837 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16838 for (key in S) S_is_set[key] = 1
16844 nfields = split(line, field, "@
")
16846 len = length(field[1])
16847 for (i = 2; i < nfields; i++) {
16849 keylen = length(key)
16850 if (S_is_set[key]) {
16852 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16853 len += length(value) + length(field[++i])
16864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16865 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16866 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16869 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16870 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16873 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16874 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16875 # trailing colons and then remove the whole line if VPATH becomes empty
16876 # (actually we leave an empty line to preserve line numbers).
16877 if test "x
$srcdir" = x.; then
16878 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16896 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16897 fi # test -n "$CONFIG_FILES"
16899 # Set up the scripts for CONFIG_HEADERS section.
16900 # No need to generate them if there are no CONFIG_HEADERS.
16901 # This happens for instance with `./config.status Makefile'.
16902 if test -n "$CONFIG_HEADERS"; then
16903 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16907 # Transform confdefs.h into an awk script `defines.awk', embedded as
16908 # here-document in config.status, that substitutes the proper values into
16909 # config.h.in to produce config.h.
16911 # Create a delimiter string that does not exist in confdefs.h, to ease
16912 # handling of long lines.
16914 for ac_last_try in false false :; do
16915 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16916 if test -z "$ac_tt"; then
16918 elif $ac_last_try; then
16919 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16921 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16925 # For the awk script, D is an array of macro values keyed by name,
16926 # likewise P contains macro parameters if any. Preserve backslash
16927 # newline sequences.
16929 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16931 s/.\{148\}/&'"$ac_delim"'/g
16934 s/^[ ]*#[ ]*define[ ][ ]*/ /
16941 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16943 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16947 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16948 D["\
1"]=" \
3\\\\\\n
"\\/p
16950 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16955 s/.\{148\}/&'"$ac_delim"'/g
16960 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16963 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16965 ' <confdefs.h | sed '
16966 s/'"$ac_delim"'/"\\\
16967 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16969 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16970 for (key in D) D_is_set[key] = 1
16973 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16975 split(line, arg, " ")
16976 if (arg[1] == "#") {
16980 defundef
= substr
(arg
[1], 2)
16983 split(mac1
, mac2
, "(") #)
16985 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16986 if (D_is_set
[macro
]) {
16987 # Preserve the white space surrounding the "#".
16988 print prefix
"define", macro P
[macro
] D
[macro
]
16991 # Replace #undef with comments. This is necessary, for example,
16992 # in the case of _POSIX_SOURCE, which is predefined and required
16993 # on some systems where configure will not decide to define it.
16994 if (defundef
== "undef") {
16995 print
"/*", prefix defundef
, macro
, "*/"
17003 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17004 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
17005 fi # test -n "$CONFIG_HEADERS"
17008 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17013 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17015 case $ac_mode$ac_tag in
17017 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17018 :[FH
]-) ac_tag
=-:-;;
17019 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17036 -) ac_f
="$ac_tmp/stdin";;
17037 *) # Look for the file first in the build tree, then in the source tree
17038 # (if the path is not absolute). The absolute path cannot be DOS-style,
17039 # because $ac_f cannot contain `:'.
17043 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17045 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17047 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17048 as_fn_append ac_file_inputs
" '$ac_f'"
17051 # Let's still pretend it is `configure' which instantiates (i.e., don't
17052 # use $as_me), people would be surprised to read:
17053 # /* config.h. Generated by config.status. */
17054 configure_input
='Generated from '`
17055 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17057 if test x
"$ac_file" != x-
; then
17058 configure_input
="$ac_file. $configure_input"
17059 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17060 $as_echo "$as_me: creating $ac_file" >&6;}
17062 # Neutralize special characters interpreted by sed in replacement strings.
17063 case $configure_input in #(
17064 *\
&* |
*\|
* |
*\\* )
17065 ac_sed_conf_input
=`$as_echo "$configure_input" |
17066 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17067 *) ac_sed_conf_input
=$configure_input;;
17071 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
17072 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17077 ac_dir
=`$as_dirname -- "$ac_file" ||
17078 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17079 X"$ac_file" : 'X\(//\)[^/]' \| \
17080 X"$ac_file" : 'X\(//\)$' \| \
17081 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17082 $as_echo X"$ac_file" |
17083 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17087 /^X\(\/\/\)[^/].*/{
17100 as_dir
="$ac_dir"; as_fn_mkdir_p
17104 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17106 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17107 # A ".." for each directory in $ac_dir_suffix.
17108 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17109 case $ac_top_builddir_sub in
17110 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17111 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17114 ac_abs_top_builddir
=$ac_pwd
17115 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17116 # for backward compatibility:
17117 ac_top_builddir
=$ac_top_build_prefix
17120 .
) # We are building in place.
17122 ac_top_srcdir
=$ac_top_builddir_sub
17123 ac_abs_top_srcdir
=$ac_pwd ;;
17124 [\\/]* | ?
:[\\/]* ) # Absolute name.
17125 ac_srcdir
=$srcdir$ac_dir_suffix;
17126 ac_top_srcdir
=$srcdir
17127 ac_abs_top_srcdir
=$srcdir ;;
17128 *) # Relative name.
17129 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17130 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17131 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17133 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17143 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17144 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17146 ac_MKDIR_P
=$MKDIR_P
17148 [\\/$
]* | ?
:[\\/]* ) ;;
17149 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17153 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17154 # If the template does not know about datarootdir, expand it.
17155 # FIXME: This hack should be removed a few years after 2.60.
17156 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17167 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17168 *datarootdir
*) ac_datarootdir_seen
=yes;;
17169 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17171 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17173 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17174 ac_datarootdir_hack='
17175 s&@datadir@&$datadir&g
17176 s&@docdir@&$docdir&g
17177 s&@infodir@&$infodir&g
17178 s&@localedir@&$localedir&g
17179 s&@mandir@&$mandir&g
17180 s&\\\${datarootdir}&$datarootdir&g' ;;
17184 # Neutralize VPATH when `$srcdir' = `.'.
17185 # Shell code in configure.ac might set extrasub.
17186 # FIXME: do we really want to maintain this feature?
17187 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17188 ac_sed_extra="$ac_vpsub
17191 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17193 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17194 s|@configure_input@|
$ac_sed_conf_input|
;t t
17195 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17196 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17197 s
&@srcdir@
&$ac_srcdir&;t t
17198 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17199 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17200 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17201 s
&@builddir@
&$ac_builddir&;t t
17202 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17203 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17204 s
&@INSTALL@
&$ac_INSTALL&;t t
17205 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17206 $ac_datarootdir_hack
17208 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
17209 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17211 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17212 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17213 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17214 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17216 which seems to be undefined. Please make sure it is defined" >&5
17217 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17218 which seems to be undefined. Please make sure it is defined" >&2;}
17220 rm -f "$ac_tmp/stdin"
17222 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17223 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17225 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17231 if test x"$ac_file" != x-; then
17233 $as_echo "/* $configure_input */" \
17234 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17235 } >"$ac_tmp/config.h" \
17236 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17237 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17239 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17242 mv "$ac_tmp/config.h" "$ac_file" \
17243 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17246 $as_echo "/* $configure_input */" \
17247 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17248 || as_fn_error $? "could not create -" "$LINENO" 5
17250 # Compute "$ac_file"'s index
in $config_headers.
17253 for _am_header
in $config_headers :; do
17254 case $_am_header in
17255 $_am_arg |
$_am_arg:* )
17258 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17261 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17262 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17263 X"$_am_arg" : 'X\(//\)[^/]' \| \
17264 X"$_am_arg" : 'X\(//\)$' \| \
17265 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17266 $as_echo X"$_am_arg" |
17267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17271 /^X\(\/\/\)[^/].*/{
17283 s/.*/./; q'`/stamp-h
$_am_stamp_count
17286 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17287 $as_echo "$as_me: executing $ac_file commands" >&6;}
17292 case $ac_file$ac_mode in
17293 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
17294 # Older Autoconf quotes --file arguments for eval, but not when files
17295 # are listed without --file. Let's play safe and only enable the eval
17296 # if we detect the quoting.
17297 case $CONFIG_FILES in
17298 *\'*) eval set x
"$CONFIG_FILES" ;;
17299 *) set x
$CONFIG_FILES ;;
17304 # Strip MF so we end up with the name of the file.
17305 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17306 # Check whether this is an Automake generated Makefile or not.
17307 # We used to match only the files named 'Makefile.in', but
17308 # some people rename them; so instead we look at the file content.
17309 # Grep'ing the first line is not enough: some people post-process
17310 # each Makefile.in and add a new line on top of each file to say so.
17311 # Grep'ing the whole file is not good either: AIX grep has a line
17312 # limit of 2048, but all sed's we know have understand at least 4000.
17313 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17314 dirpart
=`$as_dirname -- "$mf" ||
17315 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17316 X"$mf" : 'X\(//\)[^/]' \| \
17317 X"$mf" : 'X\(//\)$' \| \
17318 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17324 /^X\(\/\/\)[^/].*/{
17340 # Extract the definition of DEPDIR, am__include, and am__quote
17341 # from the Makefile without running 'make'.
17342 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17343 test -z "$DEPDIR" && continue
17344 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17345 test -z "$am__include" && continue
17346 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17347 # Find all dependency output files, they are included files with
17348 # $(DEPDIR) in their names. We invoke sed twice because it is the
17349 # simplest approach to changing $(DEPDIR) to its actual value in the
17351 for file in `sed -n "
17352 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17353 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17354 # Make sure the directory exists.
17355 test -f "$dirpart/$file" && continue
17356 fdir
=`$as_dirname -- "$file" ||
17357 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17358 X"$file" : 'X\(//\)[^/]' \| \
17359 X"$file" : 'X\(//\)$' \| \
17360 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17361 $as_echo X"$file" |
17362 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17366 /^X\(\/\/\)[^/].*/{
17379 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17380 # echo "creating $dirpart/$file"
17381 echo '# dummy' > "$dirpart/$file"
17388 # See if we are running on zsh, and set the options which allow our
17389 # commands through without removal of \ escapes.
17390 if test -n "${ZSH_VERSION+set}" ; then
17391 setopt NO_GLOB_SUBST
17394 cfgfile
="${ofile}T"
17395 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17398 cat <<_LT_EOF >> "$cfgfile"
17401 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17402 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17403 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17404 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17406 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17407 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17408 # Written by Gordon Matzigkeit, 1996
17410 # This file is part of GNU Libtool.
17412 # GNU Libtool is free software; you can redistribute it and/or
17413 # modify it under the terms of the GNU General Public License as
17414 # published by the Free Software Foundation; either version 2 of
17415 # the License, or (at your option) any later version.
17417 # As a special exception to the GNU General Public License,
17418 # if you distribute this file as part of a program or library that
17419 # is built using GNU Libtool, you may include this file under the
17420 # same distribution terms that you use for the rest of that program.
17422 # GNU Libtool is distributed in the hope that it will be useful,
17423 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17424 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17425 # GNU General Public License for more details.
17427 # You should have received a copy of the GNU General Public License
17428 # along with GNU Libtool; see the file COPYING. If not, a copy
17429 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17430 # obtained by writing to the Free Software Foundation, Inc.,
17431 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17434 # The names of the tagged configurations supported by this script.
17435 available_tags="CXX "
17437 # ### BEGIN LIBTOOL CONFIG
17439 # Which release of libtool.m4 was used?
17440 macro_version=$macro_version
17441 macro_revision=$macro_revision
17443 # Whether or not to build shared libraries.
17444 build_libtool_libs=$enable_shared
17446 # Whether or not to build static libraries.
17447 build_old_libs=$enable_static
17449 # What type of objects to build.
17452 # Whether or not to optimize for fast installation.
17453 fast_install=$enable_fast_install
17455 # Shell to use when invoking shell scripts.
17458 # An echo program that protects backslashes.
17462 host_alias=$host_alias
17466 # The build system.
17467 build_alias=$build_alias
17471 # A sed program that does not truncate output.
17474 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17475 Xsed="\$SED -e 1s/^X//"
17477 # A grep program that handles long lines.
17483 # A literal string matcher.
17486 # A BSD- or MS-compatible name lister.
17489 # Whether we need soft or hard links.
17492 # What is the maximum length of a command?
17493 max_cmd_len=$max_cmd_len
17495 # Object file suffix (normally "o").
17498 # Executable file suffix (normally "").
17501 # whether the shell understands "unset".
17504 # turn spaces into newlines.
17507 # turn newlines into spaces.
17510 # An object symbol dumper.
17511 OBJDUMP=$lt_OBJDUMP
17513 # Method to check whether dependent libraries are shared objects.
17514 deplibs_check_method=$lt_deplibs_check_method
17516 # Command to use when deplibs_check_method == "file_magic".
17517 file_magic_cmd=$lt_file_magic_cmd
17521 AR_FLAGS=$lt_AR_FLAGS
17523 # A symbol stripping program.
17526 # Commands used to install an old-style archive.
17528 old_postinstall_cmds=$lt_old_postinstall_cmds
17529 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17531 # Whether to use a lock for old archive extraction.
17532 lock_old_archive_extraction=$lock_old_archive_extraction
17537 # LTCC compiler flags.
17538 LTCFLAGS=$lt_CFLAGS
17540 # Take the output of nm and produce a listing of raw symbols and C names.
17541 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17543 # Transform the output of nm in a proper C declaration.
17544 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17546 # Transform the output of nm in a C name address pair.
17547 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17549 # Transform the output of nm in a C name address pair when lib prefix is needed.
17550 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17552 # The name of the directory that contains temporary libtool files.
17555 # Used to examine libraries when file_magic_cmd begins with "file".
17556 MAGIC_CMD=$MAGIC_CMD
17558 # Must we lock files when doing compilation?
17559 need_locks=$lt_need_locks
17561 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17562 DSYMUTIL=$lt_DSYMUTIL
17564 # Tool to change global to local symbols on Mac OS X.
17567 # Tool to manipulate fat objects and archives on Mac OS X.
17570 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17573 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17574 OTOOL64=$lt_OTOOL64
17576 # Old archive suffix (normally "a").
17579 # Shared library suffix (normally ".so").
17580 shrext_cmds=$lt_shrext_cmds
17582 # The commands to extract the exported symbol list from a shared archive.
17583 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17585 # Variables whose values should be saved in libtool wrapper scripts and
17586 # restored at link time.
17587 variables_saved_for_relink=$lt_variables_saved_for_relink
17589 # Do we need the "lib" prefix for modules?
17590 need_lib_prefix=$need_lib_prefix
17592 # Do we need a version for libraries?
17593 need_version=$need_version
17595 # Library versioning type.
17596 version_type=$version_type
17598 # Shared library runtime path variable.
17599 runpath_var=$runpath_var
17601 # Shared library path variable.
17602 shlibpath_var=$shlibpath_var
17604 # Is shlibpath searched before the hard-coded library search path?
17605 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17607 # Format of library name prefix.
17608 libname_spec=$lt_libname_spec
17610 # List of archive names. First name is the real one, the rest are links.
17611 # The last name is the one that the linker finds with -lNAME
17612 library_names_spec=$lt_library_names_spec
17614 # The coded name of the library, if different from the real name.
17615 soname_spec=$lt_soname_spec
17617 # Permission mode override for installation of shared libraries.
17618 install_override_mode=$lt_install_override_mode
17620 # Command to use after installation of a shared archive.
17621 postinstall_cmds=$lt_postinstall_cmds
17623 # Command to use after uninstallation of a shared archive.
17624 postuninstall_cmds=$lt_postuninstall_cmds
17626 # Commands used to finish a libtool library installation in a directory.
17627 finish_cmds=$lt_finish_cmds
17629 # As "finish_cmds", except a single script fragment to be evaled but
17631 finish_eval=$lt_finish_eval
17633 # Whether we should hardcode library paths into libraries.
17634 hardcode_into_libs=$hardcode_into_libs
17636 # Compile-time system search path for libraries.
17637 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17639 # Run-time system search path for libraries.
17640 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17642 # Whether dlopen is supported.
17643 dlopen_support=$enable_dlopen
17645 # Whether dlopen of programs is supported.
17646 dlopen_self=$enable_dlopen_self
17648 # Whether dlopen of statically linked programs is supported.
17649 dlopen_self_static=$enable_dlopen_self_static
17651 # Commands to strip libraries.
17652 old_striplib=$lt_old_striplib
17653 striplib=$lt_striplib
17656 # The linker used to build libraries.
17659 # How to create reloadable object files.
17660 reload_flag=$lt_reload_flag
17661 reload_cmds=$lt_reload_cmds
17663 # Commands used to build an old-style archive.
17664 old_archive_cmds=$lt_old_archive_cmds
17666 # A language specific compiler.
17669 # Is the compiler the GNU compiler?
17672 # Compiler flag to turn off builtin functions.
17673 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17675 # How to pass a linker flag through the compiler.
17676 wl=$lt_lt_prog_compiler_wl
17678 # Additional compiler flags for building library objects.
17679 pic_flag=$lt_lt_prog_compiler_pic
17681 # Compiler flag to prevent dynamic linking.
17682 link_static_flag=$lt_lt_prog_compiler_static
17684 # Does compiler simultaneously support -c and -o options?
17685 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17687 # Whether or not to add -lc for building shared libraries.
17688 build_libtool_need_lc=$archive_cmds_need_lc
17690 # Whether or not to disallow shared libs when runtime libs are static.
17691 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17693 # Compiler flag to allow reflexive dlopens.
17694 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17696 # Compiler flag to generate shared objects directly from archives.
17697 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17699 # Whether the compiler copes with passing no objects directly.
17700 compiler_needs_object=$lt_compiler_needs_object
17702 # Create an old-style archive from a shared archive.
17703 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17705 # Create a temporary old-style archive to link instead of a shared archive.
17706 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17708 # Commands used to build a shared archive.
17709 archive_cmds=$lt_archive_cmds
17710 archive_expsym_cmds=$lt_archive_expsym_cmds
17712 # Commands used to build a loadable module if different from building
17713 # a shared archive.
17714 module_cmds=$lt_module_cmds
17715 module_expsym_cmds=$lt_module_expsym_cmds
17717 # Whether we are building with GNU ld or not.
17718 with_gnu_ld=$lt_with_gnu_ld
17720 # Flag that allows shared libraries with undefined symbols to be built.
17721 allow_undefined_flag=$lt_allow_undefined_flag
17723 # Flag that enforces no undefined symbols.
17724 no_undefined_flag=$lt_no_undefined_flag
17726 # Flag to hardcode \$libdir into a binary during linking.
17727 # This must work even if \$libdir does not exist
17728 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17730 # If ld is used when linking, flag to hardcode \$libdir into a binary
17731 # during linking. This must work even if \$libdir does not exist.
17732 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17734 # Whether we need a single "-rpath" flag with a separated argument.
17735 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17737 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17738 # DIR into the resulting binary.
17739 hardcode_direct=$hardcode_direct
17741 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17742 # DIR into the resulting binary and the resulting library dependency is
17743 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17744 # library is relocated.
17745 hardcode_direct_absolute=$hardcode_direct_absolute
17747 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17748 # into the resulting binary.
17749 hardcode_minus_L=$hardcode_minus_L
17751 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17752 # into the resulting binary.
17753 hardcode_shlibpath_var=$hardcode_shlibpath_var
17755 # Set to "yes" if building a shared library automatically hardcodes DIR
17756 # into the library and all subsequent libraries and executables linked
17758 hardcode_automatic=$hardcode_automatic
17760 # Set to yes if linker adds runtime paths of dependent libraries
17761 # to runtime path list.
17762 inherit_rpath=$inherit_rpath
17764 # Whether libtool must link a program against all its dependency libraries.
17765 link_all_deplibs=$link_all_deplibs
17767 # Fix the shell variable \$srcfile for the compiler.
17768 fix_srcfile_path=$lt_fix_srcfile_path
17770 # Set to "yes" if exported symbols are required.
17771 always_export_symbols=$always_export_symbols
17773 # The commands to list exported symbols.
17774 export_symbols_cmds=$lt_export_symbols_cmds
17776 # Symbols that should not be listed in the preloaded symbols.
17777 exclude_expsyms=$lt_exclude_expsyms
17779 # Symbols that must always be exported.
17780 include_expsyms=$lt_include_expsyms
17782 # Commands necessary for linking programs (against libraries) with templates.
17783 prelink_cmds=$lt_prelink_cmds
17785 # Specify filename containing input files.
17786 file_list_spec=$lt_file_list_spec
17788 # How to hardcode a shared library path into an executable.
17789 hardcode_action=$hardcode_action
17791 # The directories searched by this compiler when creating a shared library.
17792 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17794 # Dependencies to place before and after the objects being linked to
17795 # create a shared library.
17796 predep_objects=$lt_predep_objects
17797 postdep_objects=$lt_postdep_objects
17798 predeps=$lt_predeps
17799 postdeps=$lt_postdeps
17801 # The library search path used internally by the compiler when linking
17802 # a shared library.
17803 compiler_lib_search_path=$lt_compiler_lib_search_path
17805 # ### END LIBTOOL CONFIG
17811 cat <<\_LT_EOF
>> "$cfgfile"
17812 # AIX sometimes has problems with the GCC collect2 program. For some
17813 # reason, if we set the COLLECT_NAMES environment variable, the problems
17814 # vanish in a puff of smoke.
17815 if test "X${COLLECT_NAMES+set}" != Xset
; then
17817 export COLLECT_NAMES
17824 ltmain
="$ac_aux_dir/ltmain.sh"
17827 # We use sed instead of cat because bash on DJGPP gets confused if
17828 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17829 # text mode, it properly converts lines to CR/LF. This bash problem
17830 # is reportedly fixed, but why not run on old versions too?
17831 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17832 ||
(rm -f "$cfgfile"; exit 1)
17836 cat << \_LT_EOF
>> "$cfgfile"
17838 # func_dirname file append nondir_replacement
17839 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17840 # otherwise set result to NONDIR_REPLACEMENT.
17844 */*) func_dirname_result
="${1%/*}${2}" ;;
17845 * ) func_dirname_result
="${3}" ;;
17849 # func_basename file
17852 func_basename_result
="${1##*/}"
17855 # func_dirname_and_basename file append nondir_replacement
17856 # perform func_basename and func_dirname in a single function
17858 # dirname: Compute the dirname of FILE. If nonempty,
17859 # add APPEND to the result, otherwise set result
17860 # to NONDIR_REPLACEMENT.
17861 # value returned in "$func_dirname_result"
17862 # basename: Compute filename of FILE.
17863 # value retuned in "$func_basename_result"
17864 # Implementation must be kept synchronized with func_dirname
17865 # and func_basename. For efficiency, we do not delegate to
17866 # those functions but instead duplicate the functionality here.
17867 func_dirname_and_basename
()
17870 */*) func_dirname_result
="${1%/*}${2}" ;;
17871 * ) func_dirname_result
="${3}" ;;
17873 func_basename_result
="${1##*/}"
17876 # func_stripname prefix suffix name
17877 # strip PREFIX and SUFFIX off of NAME.
17878 # PREFIX and SUFFIX must not contain globbing or regex special
17879 # characters, hashes, percent signs, but SUFFIX may contain a leading
17880 # dot (in which case that matches only a dot).
17883 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17884 # positional parameters, so assign one to ordinary parameter first.
17885 func_stripname_result
=${3}
17886 func_stripname_result
=${func_stripname_result#"${1}"}
17887 func_stripname_result
=${func_stripname_result%"${2}"}
17893 func_opt_split_opt
=${1%%=*}
17894 func_opt_split_arg
=${1#*=}
17901 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17902 *) func_lo2o_result
=${1} ;;
17906 # func_xform libobj-or-source
17909 func_xform_result
=${1%.*}.lo
17912 # func_arith arithmetic-term...
17915 func_arith_result
=$
(( $
* ))
17919 # STRING may not start with a hyphen.
17922 func_len_result
=${#1}
17927 *) # Bourne compatible functions.
17928 cat << \_LT_EOF
>> "$cfgfile"
17930 # func_dirname file append nondir_replacement
17931 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17932 # otherwise set result to NONDIR_REPLACEMENT.
17935 # Extract subdirectory from the argument.
17936 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17937 if test "X$func_dirname_result" = "X${1}"; then
17938 func_dirname_result
="${3}"
17940 func_dirname_result
="$func_dirname_result${2}"
17944 # func_basename file
17947 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17951 # func_stripname prefix suffix name
17952 # strip PREFIX and SUFFIX off of NAME.
17953 # PREFIX and SUFFIX must not contain globbing or regex special
17954 # characters, hashes, percent signs, but SUFFIX may contain a leading
17955 # dot (in which case that matches only a dot).
17956 # func_strip_suffix prefix name
17960 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17961 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17966 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17967 my_sed_long_arg
='1s/^-[^=]*=//'
17972 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17973 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17979 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17982 # func_xform libobj-or-source
17985 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17988 # func_arith arithmetic-term...
17991 func_arith_result
=`expr "$@"`
17995 # STRING may not start with a hyphen.
17998 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18004 case $lt_shell_append in
18006 cat << \_LT_EOF
>> "$cfgfile"
18008 # func_append var value
18009 # Append VALUE to the end of shell variable VAR.
18017 cat << \_LT_EOF
>> "$cfgfile"
18019 # func_append var value
18020 # Append VALUE to the end of shell variable VAR.
18031 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18032 ||
(rm -f "$cfgfile"; exit 1)
18034 mv -f "$cfgfile" "$ofile" ||
18035 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18039 cat <<_LT_EOF >> "$ofile"
18041 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18043 # The linker used to build libraries.
18046 # How to create reloadable object files.
18047 reload_flag=$lt_reload_flag_CXX
18048 reload_cmds=$lt_reload_cmds_CXX
18050 # Commands used to build an old-style archive.
18051 old_archive_cmds=$lt_old_archive_cmds_CXX
18053 # A language specific compiler.
18054 CC=$lt_compiler_CXX
18056 # Is the compiler the GNU compiler?
18059 # Compiler flag to turn off builtin functions.
18060 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18062 # How to pass a linker flag through the compiler.
18063 wl=$lt_lt_prog_compiler_wl_CXX
18065 # Additional compiler flags for building library objects.
18066 pic_flag=$lt_lt_prog_compiler_pic_CXX
18068 # Compiler flag to prevent dynamic linking.
18069 link_static_flag=$lt_lt_prog_compiler_static_CXX
18071 # Does compiler simultaneously support -c and -o options?
18072 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18074 # Whether or not to add -lc for building shared libraries.
18075 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18077 # Whether or not to disallow shared libs when runtime libs are static.
18078 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18080 # Compiler flag to allow reflexive dlopens.
18081 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18083 # Compiler flag to generate shared objects directly from archives.
18084 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18086 # Whether the compiler copes with passing no objects directly.
18087 compiler_needs_object=$lt_compiler_needs_object_CXX
18089 # Create an old-style archive from a shared archive.
18090 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18092 # Create a temporary old-style archive to link instead of a shared archive.
18093 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18095 # Commands used to build a shared archive.
18096 archive_cmds=$lt_archive_cmds_CXX
18097 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18099 # Commands used to build a loadable module if different from building
18100 # a shared archive.
18101 module_cmds=$lt_module_cmds_CXX
18102 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18104 # Whether we are building with GNU ld or not.
18105 with_gnu_ld=$lt_with_gnu_ld_CXX
18107 # Flag that allows shared libraries with undefined symbols to be built.
18108 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18110 # Flag that enforces no undefined symbols.
18111 no_undefined_flag=$lt_no_undefined_flag_CXX
18113 # Flag to hardcode \$libdir into a binary during linking.
18114 # This must work even if \$libdir does not exist
18115 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18117 # If ld is used when linking, flag to hardcode \$libdir into a binary
18118 # during linking. This must work even if \$libdir does not exist.
18119 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18121 # Whether we need a single "-rpath" flag with a separated argument.
18122 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18124 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18125 # DIR into the resulting binary.
18126 hardcode_direct=$hardcode_direct_CXX
18128 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18129 # DIR into the resulting binary and the resulting library dependency is
18130 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18131 # library is relocated.
18132 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18134 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18135 # into the resulting binary.
18136 hardcode_minus_L=$hardcode_minus_L_CXX
18138 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18139 # into the resulting binary.
18140 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18142 # Set to "yes" if building a shared library automatically hardcodes DIR
18143 # into the library and all subsequent libraries and executables linked
18145 hardcode_automatic=$hardcode_automatic_CXX
18147 # Set to yes if linker adds runtime paths of dependent libraries
18148 # to runtime path list.
18149 inherit_rpath=$inherit_rpath_CXX
18151 # Whether libtool must link a program against all its dependency libraries.
18152 link_all_deplibs=$link_all_deplibs_CXX
18154 # Fix the shell variable \$srcfile for the compiler.
18155 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18157 # Set to "yes" if exported symbols are required.
18158 always_export_symbols=$always_export_symbols_CXX
18160 # The commands to list exported symbols.
18161 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18163 # Symbols that should not be listed in the preloaded symbols.
18164 exclude_expsyms=$lt_exclude_expsyms_CXX
18166 # Symbols that must always be exported.
18167 include_expsyms=$lt_include_expsyms_CXX
18169 # Commands necessary for linking programs (against libraries) with templates.
18170 prelink_cmds=$lt_prelink_cmds_CXX
18172 # Specify filename containing input files.
18173 file_list_spec=$lt_file_list_spec_CXX
18175 # How to hardcode a shared library path into an executable.
18176 hardcode_action=$hardcode_action_CXX
18178 # The directories searched by this compiler when creating a shared library.
18179 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18181 # Dependencies to place before and after the objects being linked to
18182 # create a shared library.
18183 predep_objects=$lt_predep_objects_CXX
18184 postdep_objects=$lt_postdep_objects_CXX
18185 predeps=$lt_predeps_CXX
18186 postdeps=$lt_postdeps_CXX
18188 # The library search path used internally by the compiler when linking
18189 # a shared library.
18190 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18192 # ### END LIBTOOL TAG CONFIG: CXX
18203 ac_clean_files
=$ac_clean_files_save
18205 test $ac_write_fail = 0 ||
18206 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18209 # configure is writing to config.log, and then calls config.status.
18210 # config.status does its own redirection, appending to config.log.
18211 # Unfortunately, on DOS this fails, as config.log is still kept open
18212 # by configure, so config.status won't be able to write to it; its
18213 # output is simply discarded. So we exec the FD to /dev/null,
18214 # effectively closing config.log, so it can be properly (re)opened and
18215 # appended to by config.status. When coming back to configure, we
18216 # need to make the FD available again.
18217 if test "$no_create" != yes; then
18219 ac_config_status_args
=
18220 test "$silent" = yes &&
18221 ac_config_status_args
="$ac_config_status_args --quiet"
18223 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18225 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18226 # would make configure fail if this is the last instruction.
18227 $ac_cs_success || as_fn_exit
1
18229 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18231 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}