2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gprofng 2.38.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.38.50'
591 PACKAGE_STRING
='gprofng 2.38.50'
595 # Factoring default headers for most tests.
596 ac_includes_default
="\
598 #ifdef HAVE_SYS_TYPES_H
599 # include <sys/types.h>
601 #ifdef HAVE_SYS_STAT_H
602 # include <sys/stat.h>
608 # ifdef HAVE_STDLIB_H
613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 #ifdef HAVE_STRINGS_H
619 # include <strings.h>
621 #ifdef HAVE_INTTYPES_H
622 # include <inttypes.h>
631 enable_option_checking
=no
632 ac_subst_vars
='am__EXEEXT_FALSE
659 BUILD_COLLECTOR_FALSE
717 MAINTAINER_MODE_FALSE
731 INSTALL_STRIP_PROGRAM
773 program_transform_name
786 enable_option_checking
788 enable_maintainer_mode
789 enable_dependency_tracking
801 ac_precious_vars
='build_alias
814 ac_subdirs_all
='libcollector'
816 # Initialize some variables set by options.
818 ac_init_version
=false
819 ac_unrecognized_opts
=
821 # The variables have the same names as the options, with
822 # dashes changed to underlines.
830 program_transform_name
=s
,x
,x
,
838 # Installation directory options.
839 # These are left unexpanded so users can "make install exec_prefix=/foo"
840 # and all the variables that are supposed to be based on exec_prefix
841 # by default will actually change.
842 # Use braces instead of parens because sh, perl, etc. also accept them.
843 # (The list follows the same order as the GNU Coding Standards.)
844 bindir
='${exec_prefix}/bin'
845 sbindir
='${exec_prefix}/sbin'
846 libexecdir
='${exec_prefix}/libexec'
847 datarootdir
='${prefix}/share'
848 datadir
='${datarootdir}'
849 sysconfdir
='${prefix}/etc'
850 sharedstatedir
='${prefix}/com'
851 localstatedir
='${prefix}/var'
852 includedir
='${prefix}/include'
853 oldincludedir
='/usr/include'
854 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
855 infodir
='${datarootdir}/info'
860 libdir
='${exec_prefix}/lib'
861 localedir
='${datarootdir}/locale'
862 mandir
='${datarootdir}/man'
868 # If the previous option needs an argument, assign it.
869 if test -n "$ac_prev"; then
870 eval $ac_prev=\
$ac_option
876 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
881 # Accept the important Cygnus configure options, so we can diagnose typos.
883 case $ac_dashdash$ac_option in
887 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
889 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
892 -build |
--build |
--buil |
--bui |
--bu)
893 ac_prev
=build_alias
;;
894 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
895 build_alias
=$ac_optarg ;;
897 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
898 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
899 ac_prev
=cache_file
;;
900 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
901 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
902 cache_file
=$ac_optarg ;;
905 cache_file
=config.cache
;;
907 -datadir |
--datadir |
--datadi |
--datad)
909 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
910 datadir
=$ac_optarg ;;
912 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
913 |
--dataroo |
--dataro |
--datar)
914 ac_prev
=datarootdir
;;
915 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
916 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
917 datarootdir
=$ac_optarg ;;
919 -disable-* |
--disable-*)
920 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
921 # Reject names that are not valid shell variable names.
922 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
923 as_fn_error $?
"invalid feature name: $ac_useropt"
924 ac_useropt_orig
=$ac_useropt
925 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
926 case $ac_user_opts in
930 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
931 ac_unrecognized_sep
=', ';;
933 eval enable_
$ac_useropt=no
;;
935 -docdir |
--docdir |
--docdi |
--doc |
--do)
937 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
940 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
942 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
945 -enable-* |
--enable-*)
946 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
947 # Reject names that are not valid shell variable names.
948 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
949 as_fn_error $?
"invalid feature name: $ac_useropt"
950 ac_useropt_orig
=$ac_useropt
951 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
952 case $ac_user_opts in
956 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
957 ac_unrecognized_sep
=', ';;
959 eval enable_
$ac_useropt=\
$ac_optarg ;;
961 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
962 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
963 |
--exec |
--exe |
--ex)
964 ac_prev
=exec_prefix
;;
965 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
966 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
967 |
--exec=* |
--exe=* |
--ex=*)
968 exec_prefix
=$ac_optarg ;;
970 -gas |
--gas |
--ga |
--g)
971 # Obsolete; use --with-gas.
974 -help |
--help |
--hel |
--he |
-h)
976 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
977 ac_init_help
=recursive
;;
978 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
979 ac_init_help
=short
;;
981 -host |
--host |
--hos |
--ho)
982 ac_prev
=host_alias
;;
983 -host=* |
--host=* |
--hos=* |
--ho=*)
984 host_alias
=$ac_optarg ;;
986 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
988 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
990 htmldir
=$ac_optarg ;;
992 -includedir |
--includedir |
--includedi |
--included |
--include \
993 |
--includ |
--inclu |
--incl |
--inc)
994 ac_prev
=includedir
;;
995 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
996 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
997 includedir
=$ac_optarg ;;
999 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1001 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1002 infodir
=$ac_optarg ;;
1004 -libdir |
--libdir |
--libdi |
--libd)
1006 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1007 libdir
=$ac_optarg ;;
1009 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1010 |
--libexe |
--libex |
--libe)
1011 ac_prev
=libexecdir
;;
1012 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1013 |
--libexe=* |
--libex=* |
--libe=*)
1014 libexecdir
=$ac_optarg ;;
1016 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1017 ac_prev
=localedir
;;
1018 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1019 localedir
=$ac_optarg ;;
1021 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1022 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1023 ac_prev
=localstatedir
;;
1024 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1025 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1026 localstatedir
=$ac_optarg ;;
1028 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1030 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1031 mandir
=$ac_optarg ;;
1033 -nfp |
--nfp |
--nf)
1034 # Obsolete; use --without-fp.
1037 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1038 |
--no-cr |
--no-c |
-n)
1041 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1042 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1045 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1046 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1047 |
--oldin |
--oldi |
--old |
--ol |
--o)
1048 ac_prev
=oldincludedir
;;
1049 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1050 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1051 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1052 oldincludedir
=$ac_optarg ;;
1054 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1056 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1057 prefix
=$ac_optarg ;;
1059 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1060 |
--program-pre |
--program-pr |
--program-p)
1061 ac_prev
=program_prefix
;;
1062 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1063 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1064 program_prefix
=$ac_optarg ;;
1066 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1067 |
--program-suf |
--program-su |
--program-s)
1068 ac_prev
=program_suffix
;;
1069 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1070 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1071 program_suffix
=$ac_optarg ;;
1073 -program-transform-name |
--program-transform-name \
1074 |
--program-transform-nam |
--program-transform-na \
1075 |
--program-transform-n |
--program-transform- \
1076 |
--program-transform |
--program-transfor \
1077 |
--program-transfo |
--program-transf \
1078 |
--program-trans |
--program-tran \
1079 |
--progr-tra |
--program-tr |
--program-t)
1080 ac_prev
=program_transform_name
;;
1081 -program-transform-name=* |
--program-transform-name=* \
1082 |
--program-transform-nam=* |
--program-transform-na=* \
1083 |
--program-transform-n=* |
--program-transform-=* \
1084 |
--program-transform=* |
--program-transfor=* \
1085 |
--program-transfo=* |
--program-transf=* \
1086 |
--program-trans=* |
--program-tran=* \
1087 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1088 program_transform_name
=$ac_optarg ;;
1090 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1092 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1093 pdfdir
=$ac_optarg ;;
1095 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1097 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1100 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1101 |
-silent |
--silent |
--silen |
--sile |
--sil)
1104 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1106 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1108 sbindir
=$ac_optarg ;;
1110 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1111 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1112 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1114 ac_prev
=sharedstatedir
;;
1115 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1116 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1117 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1119 sharedstatedir
=$ac_optarg ;;
1121 -site |
--site |
--sit)
1123 -site=* |
--site=* |
--sit=*)
1126 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1128 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1129 srcdir
=$ac_optarg ;;
1131 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1132 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1133 ac_prev
=sysconfdir
;;
1134 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1135 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1136 sysconfdir
=$ac_optarg ;;
1138 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1139 ac_prev
=target_alias
;;
1140 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1141 target_alias
=$ac_optarg ;;
1143 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1146 -version |
--version |
--versio |
--versi |
--vers |
-V)
1147 ac_init_version
=: ;;
1150 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1153 as_fn_error $?
"invalid package name: $ac_useropt"
1154 ac_useropt_orig
=$ac_useropt
1155 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1156 case $ac_user_opts in
1160 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1161 ac_unrecognized_sep
=', ';;
1163 eval with_
$ac_useropt=\
$ac_optarg ;;
1165 -without-* |
--without-*)
1166 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1167 # Reject names that are not valid shell variable names.
1168 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1169 as_fn_error $?
"invalid package name: $ac_useropt"
1170 ac_useropt_orig
=$ac_useropt
1171 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1172 case $ac_user_opts in
1176 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1177 ac_unrecognized_sep
=', ';;
1179 eval with_
$ac_useropt=no
;;
1182 # Obsolete; use --with-x.
1185 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1186 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1187 ac_prev
=x_includes
;;
1188 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1189 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1190 x_includes
=$ac_optarg ;;
1192 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1193 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1194 ac_prev
=x_libraries
;;
1195 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1196 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1197 x_libraries
=$ac_optarg ;;
1199 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1200 Try \`$0 --help' for more information"
1204 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1205 # Reject names that are not valid shell variable names.
1206 case $ac_envvar in #(
1207 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1208 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1210 eval $ac_envvar=\
$ac_optarg
1211 export $ac_envvar ;;
1214 # FIXME: should be removed in autoconf 3.0.
1215 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1216 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1217 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1218 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1224 if test -n "$ac_prev"; then
1225 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1226 as_fn_error $?
"missing argument to $ac_option"
1229 if test -n "$ac_unrecognized_opts"; then
1230 case $enable_option_checking in
1232 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1233 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1237 # Check all directory arguments for consistency.
1238 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1239 datadir sysconfdir sharedstatedir localstatedir includedir \
1240 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1241 libdir localedir mandir
1243 eval ac_val
=\$
$ac_var
1244 # Remove trailing slashes.
1247 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1248 eval $ac_var=\
$ac_val;;
1250 # Be sure to have absolute directory names.
1252 [\\/$
]* | ?
:[\\/]* ) continue;;
1253 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1255 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1258 # There might be people who depend on the old broken behavior: `$host'
1259 # used to hold the argument of --host etc.
1260 # FIXME: To remove some day.
1263 target
=$target_alias
1265 # FIXME: To remove some day.
1266 if test "x$host_alias" != x
; then
1267 if test "x$build_alias" = x
; then
1268 cross_compiling
=maybe
1269 elif test "x$build_alias" != "x$host_alias"; then
1275 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1277 test "$silent" = yes && exec 6>/dev
/null
1280 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1281 ac_ls_di
=`ls -di .` &&
1282 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1283 as_fn_error $?
"working directory cannot be determined"
1284 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1285 as_fn_error $?
"pwd does not report name of working directory"
1288 # Find the source files, if location was not specified.
1289 if test -z "$srcdir"; then
1290 ac_srcdir_defaulted
=yes
1291 # Try the directory containing this script, then the parent directory.
1292 ac_confdir
=`$as_dirname -- "$as_myself" ||
1293 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1294 X"$as_myself" : 'X\(//\)[^/]' \| \
1295 X"$as_myself" : 'X\(//\)$' \| \
1296 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1297 $as_echo X"$as_myself" |
1298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1316 if test ! -r "$srcdir/$ac_unique_file"; then
1320 ac_srcdir_defaulted
=no
1322 if test ! -r "$srcdir/$ac_unique_file"; then
1323 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1324 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1326 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1328 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1330 # When building in place, set srcdir=.
1331 if test "$ac_abs_confdir" = "$ac_pwd"; then
1334 # Remove unnecessary trailing slashes from srcdir.
1335 # Double slashes in file names in object file debugging info
1336 # mess up M-x gdb in Emacs.
1338 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1340 for ac_var
in $ac_precious_vars; do
1341 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1342 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1343 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1344 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1348 # Report the --help message.
1350 if test "$ac_init_help" = "long"; then
1351 # Omit some internal or obsolete options to make the list less imposing.
1352 # This message is too long to be a string in the A/UX 3.1 sh.
1354 \`configure' configures gprofng 2.38.50 to adapt to many kinds of systems.
1356 Usage: $0 [OPTION]... [VAR=VALUE]...
1358 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1359 VAR=VALUE. See below for descriptions of some of the useful variables.
1361 Defaults for the options are specified in brackets.
1364 -h, --help display this help and exit
1365 --help=short display options specific to this package
1366 --help=recursive display the short help of all the included packages
1367 -V, --version display version information and exit
1368 -q, --quiet, --silent do not print \`checking ...' messages
1369 --cache-file=FILE cache test results in FILE [disabled]
1370 -C, --config-cache alias for \`--cache-file=config.cache'
1371 -n, --no-create do not create output files
1372 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1374 Installation directories:
1375 --prefix=PREFIX install architecture-independent files in PREFIX
1376 [$ac_default_prefix]
1377 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1380 By default, \`make install' will install all the files in
1381 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1382 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1383 for instance \`--prefix=\$HOME'.
1385 For better control, use the options below.
1387 Fine tuning of the installation directories:
1388 --bindir=DIR user executables [EPREFIX/bin]
1389 --sbindir=DIR system admin executables [EPREFIX/sbin]
1390 --libexecdir=DIR program executables [EPREFIX/libexec]
1391 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1392 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1393 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1394 --libdir=DIR object code libraries [EPREFIX/lib]
1395 --includedir=DIR C header files [PREFIX/include]
1396 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1397 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1398 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1399 --infodir=DIR info documentation [DATAROOTDIR/info]
1400 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1401 --mandir=DIR man documentation [DATAROOTDIR/man]
1402 --docdir=DIR documentation root [DATAROOTDIR/doc/gprofng]
1403 --htmldir=DIR html documentation [DOCDIR]
1404 --dvidir=DIR dvi documentation [DOCDIR]
1405 --pdfdir=DIR pdf documentation [DOCDIR]
1406 --psdir=DIR ps documentation [DOCDIR]
1412 --program-prefix=PREFIX prepend PREFIX to installed program names
1413 --program-suffix=SUFFIX append SUFFIX to installed program names
1414 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1417 --build=BUILD configure
for building on BUILD
[guessed
]
1418 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1422 if test -n "$ac_init_help"; then
1423 case $ac_init_help in
1424 short | recursive
) echo "Configuration of gprofng 2.38.50:";;
1429 --disable-option-checking ignore unrecognized
--enable/--with options
1430 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1431 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1432 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1433 --disable-silent-rules verbose build output
(undo
: "make V=0")
1434 --enable-maintainer-mode
1435 enable make rules and dependencies not useful
(and
1436 sometimes confusing
) to the casual installer
1437 --enable-dependency-tracking
1438 do not reject slow dependency extractors
1439 --disable-dependency-tracking
1440 speeds up one-time build
1441 --enable-shared[=PKGS
] build shared libraries
[default
=no
]
1442 --enable-static[=PKGS
] build static libraries
[default
=yes]
1443 --enable-fast-install[=PKGS
]
1444 optimize
for fast installation
[default
=yes]
1445 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1446 --enable-werror-always enable -Werror despite compiler version
1447 --disable-gprofng-tools do not build gprofng
/src directory
1448 --enable-gprofng-debug Enable debugging output
[default
=no
]
1451 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1452 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1453 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1455 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1456 --with-jdk=PATH specify prefix directory
for installed JDK.
1458 Some influential environment variables
:
1459 CC C compiler
command
1460 CFLAGS C compiler flags
1461 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1462 nonstandard directory
<lib dir
>
1463 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1464 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1465 you have headers
in a nonstandard directory
<include dir
>
1467 CXX C
++ compiler
command
1468 CXXFLAGS C
++ compiler flags
1469 CXXCPP C
++ preprocessor
1471 Use these variables to override the choices made by
`configure' or to help
1472 it to find libraries and programs with nonstandard names/locations.
1474 Report bugs to the package provider.
1479 if test "$ac_init_help" = "recursive"; then
1480 # If there are subdirs, report their specific --help.
1481 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1482 test -d "$ac_dir" ||
1483 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1488 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1490 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1491 # A ".." for each directory in $ac_dir_suffix.
1492 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1493 case $ac_top_builddir_sub in
1494 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1495 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1498 ac_abs_top_builddir=$ac_pwd
1499 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1500 # for backward compatibility:
1501 ac_top_builddir=$ac_top_build_prefix
1504 .) # We are building in place.
1506 ac_top_srcdir=$ac_top_builddir_sub
1507 ac_abs_top_srcdir=$ac_pwd ;;
1508 [\\/]* | ?:[\\/]* ) # Absolute name.
1509 ac_srcdir=$srcdir$ac_dir_suffix;
1510 ac_top_srcdir=$srcdir
1511 ac_abs_top_srcdir=$srcdir ;;
1513 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1514 ac_top_srcdir=$ac_top_build_prefix$srcdir
1515 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1517 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1519 cd "$ac_dir" || { ac_status=$?; continue; }
1520 # Check for guested configure.
1521 if test -f "$ac_srcdir/configure.gnu"; then
1523 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1524 elif test -f "$ac_srcdir/configure"; then
1526 $SHELL "$ac_srcdir/configure" --help=recursive
1528 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1530 cd "$ac_pwd" || { ac_status=$?; break; }
1534 test -n "$ac_init_help" && exit $ac_status
1535 if $ac_init_version; then
1537 gprofng configure 2.38.50
1538 generated by GNU Autoconf 2.69
1540 Copyright (C) 2012 Free Software Foundation, Inc.
1541 This configure script is free software; the Free Software Foundation
1542 gives unlimited permission to copy, distribute and modify it.
1547 ## ------------------------ ##
1548 ## Autoconf initialization. ##
1549 ## ------------------------ ##
1551 # ac_fn_c_try_compile LINENO
1552 # --------------------------
1553 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1554 ac_fn_c_try_compile ()
1556 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1557 rm -f conftest.$ac_objext
1558 if { { ac_try="$ac_compile"
1560 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1561 *) ac_try_echo
=$ac_try;;
1563 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1564 $as_echo "$ac_try_echo"; } >&5
1565 (eval "$ac_compile") 2>conftest.err
1567 if test -s conftest.err
; then
1568 grep -v '^ *+' conftest.err
>conftest.er1
1569 cat conftest.er1
>&5
1570 mv -f conftest.er1 conftest.err
1572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1573 test $ac_status = 0; } && {
1574 test -z "$ac_c_werror_flag" ||
1575 test ! -s conftest.err
1576 } && test -s conftest.
$ac_objext; then :
1579 $as_echo "$as_me: failed program was:" >&5
1580 sed 's/^/| /' conftest.
$ac_ext >&5
1584 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1585 as_fn_set_status
$ac_retval
1587 } # ac_fn_c_try_compile
1589 # ac_fn_c_try_cpp LINENO
1590 # ----------------------
1591 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1594 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1595 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1597 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1598 *) ac_try_echo=$ac_try;;
1600 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1601 $as_echo "$ac_try_echo"; } >&5
1602 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1604 if test -s conftest.err; then
1605 grep -v '^ *+' conftest.err >conftest.er1
1606 cat conftest.er1 >&5
1607 mv -f conftest.er1 conftest.err
1609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1610 test $ac_status = 0; } > conftest.i && {
1611 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1612 test ! -s conftest.err
1616 $as_echo "$as_me: failed program was:" >&5
1617 sed 's/^/| /' conftest.$ac_ext >&5
1621 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1622 as_fn_set_status $ac_retval
1626 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1627 # -------------------------------------------------------
1628 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1629 # the include files in INCLUDES and setting the cache variable VAR
1631 ac_fn_c_check_header_mongrel ()
1633 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1634 if eval \${$3+:} false; then :
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1636 $as_echo_n "checking for $2... " >&6; }
1637 if eval \${$3+:} false; then :
1638 $as_echo_n "(cached) " >&6
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1642 $as_echo "$ac_res" >&6; }
1644 # Is the header compilable?
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1646 $as_echo_n "checking $2 usability... " >&6; }
1647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1648 /* end confdefs.h. */
1652 if ac_fn_c_try_compile "$LINENO"; then :
1653 ac_header_compiler=yes
1655 ac_header_compiler=no
1657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1659 $as_echo "$ac_header_compiler" >&6; }
1661 # Is the header present?
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1663 $as_echo_n "checking $2 presence... " >&6; }
1664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1665 /* end confdefs.h. */
1668 if ac_fn_c_try_cpp "$LINENO"; then :
1669 ac_header_preproc=yes
1671 ac_header_preproc=no
1673 rm -f conftest.err conftest.i conftest.$ac_ext
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1675 $as_echo "$ac_header_preproc" >&6; }
1677 # So? What about this header?
1678 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1681 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1683 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1687 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1689 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1691 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1693 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1695 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1699 $as_echo_n "checking for $2... " >&6; }
1700 if eval \${$3+:} false; then :
1701 $as_echo_n "(cached) " >&6
1703 eval "$3=\$ac_header_compiler"
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1707 $as_echo "$ac_res" >&6; }
1709 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1711 } # ac_fn_c_check_header_mongrel
1713 # ac_fn_c_try_run LINENO
1714 # ----------------------
1715 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1716 # that executables *can* be run.
1719 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1720 if { { ac_try="$ac_link"
1722 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1723 *) ac_try_echo
=$ac_try;;
1725 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1726 $as_echo "$ac_try_echo"; } >&5
1727 (eval "$ac_link") 2>&5
1729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1730 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1731 { { case "(($ac_try" in
1732 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1733 *) ac_try_echo=$ac_try;;
1735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1736 $as_echo "$ac_try_echo"; } >&5
1737 (eval "$ac_try") 2>&5
1739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1740 test $ac_status = 0; }; }; then :
1743 $as_echo "$as_me: program exited with status $ac_status" >&5
1744 $as_echo "$as_me: failed program was:" >&5
1745 sed 's/^/| /' conftest.$ac_ext >&5
1747 ac_retval=$ac_status
1749 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1751 as_fn_set_status $ac_retval
1755 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1756 # -------------------------------------------------------
1757 # Tests whether HEADER exists and can be compiled using the include files in
1758 # INCLUDES, setting the cache variable VAR accordingly.
1759 ac_fn_c_check_header_compile ()
1761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1763 $as_echo_n "checking for $2... " >&6; }
1764 if eval \${$3+:} false; then :
1765 $as_echo_n "(cached) " >&6
1767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1768 /* end confdefs.h. */
1772 if ac_fn_c_try_compile "$LINENO"; then :
1777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1781 $as_echo "$ac_res" >&6; }
1782 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1784 } # ac_fn_c_check_header_compile
1786 # ac_fn_cxx_try_compile LINENO
1787 # ----------------------------
1788 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1789 ac_fn_cxx_try_compile ()
1791 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1792 rm -f conftest.$ac_objext
1793 if { { ac_try="$ac_compile"
1795 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1796 *) ac_try_echo
=$ac_try;;
1798 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1799 $as_echo "$ac_try_echo"; } >&5
1800 (eval "$ac_compile") 2>conftest.err
1802 if test -s conftest.err
; then
1803 grep -v '^ *+' conftest.err
>conftest.er1
1804 cat conftest.er1
>&5
1805 mv -f conftest.er1 conftest.err
1807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1808 test $ac_status = 0; } && {
1809 test -z "$ac_cxx_werror_flag" ||
1810 test ! -s conftest.err
1811 } && test -s conftest.
$ac_objext; then :
1814 $as_echo "$as_me: failed program was:" >&5
1815 sed 's/^/| /' conftest.
$ac_ext >&5
1819 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1820 as_fn_set_status
$ac_retval
1822 } # ac_fn_cxx_try_compile
1824 # ac_fn_c_try_link LINENO
1825 # -----------------------
1826 # Try to link conftest.$ac_ext, and return whether this succeeded.
1829 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1830 rm -f conftest.
$ac_objext conftest
$ac_exeext
1831 if { { ac_try
="$ac_link"
1833 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1834 *) ac_try_echo=$ac_try;;
1836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1837 $as_echo "$ac_try_echo"; } >&5
1838 (eval "$ac_link") 2>conftest.err
1840 if test -s conftest.err; then
1841 grep -v '^ *+' conftest.err >conftest.er1
1842 cat conftest.er1 >&5
1843 mv -f conftest.er1 conftest.err
1845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1846 test $ac_status = 0; } && {
1847 test -z "$ac_c_werror_flag" ||
1848 test ! -s conftest.err
1849 } && test -s conftest$ac_exeext && {
1850 test "$cross_compiling" = yes ||
1851 test -x conftest$ac_exeext
1855 $as_echo "$as_me: failed program was:" >&5
1856 sed 's/^/| /' conftest.$ac_ext >&5
1860 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1861 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1862 # interfere with the next link command; also delete a directory that is
1863 # left behind by Apple's compiler. We do this before executing the actions.
1864 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1866 as_fn_set_status $ac_retval
1868 } # ac_fn_c_try_link
1870 # ac_fn_c_check_func LINENO FUNC VAR
1871 # ----------------------------------
1872 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1873 ac_fn_c_check_func ()
1875 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1877 $as_echo_n "checking for $2... " >&6; }
1878 if eval \${$3+:} false; then :
1879 $as_echo_n "(cached) " >&6
1881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1882 /* end confdefs.h. */
1883 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1885 #define $2 innocuous_$2
1887 /* System header to define __stub macros and hopefully few prototypes,
1888 which can conflict with char $2 (); below.
1889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1890 <limits.h> exists even on freestanding compilers. */
1893 # include <limits.h>
1895 # include <assert.h>
1900 /* Override any GCC internal prototype to avoid an error.
1901 Use char because int might match the return type of a GCC
1902 builtin and then its argument prototype would still apply. */
1907 /* The GNU C library defines this for functions which it implements
1908 to always fail with ENOSYS. Some functions are actually named
1909 something starting with __ and the normal name is an alias. */
1910 #if defined __stub_$2 || defined __stub___$2
1922 if ac_fn_c_try_link "$LINENO"; then :
1927 rm -f core conftest.err conftest.$ac_objext \
1928 conftest$ac_exeext conftest.$ac_ext
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1932 $as_echo "$ac_res" >&6; }
1933 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1935 } # ac_fn_c_check_func
1937 # ac_fn_cxx_try_cpp LINENO
1938 # ------------------------
1939 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1940 ac_fn_cxx_try_cpp ()
1942 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1943 if { { ac_try="$ac_cpp conftest.$ac_ext"
1945 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1946 *) ac_try_echo
=$ac_try;;
1948 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1949 $as_echo "$ac_try_echo"; } >&5
1950 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1952 if test -s conftest.err
; then
1953 grep -v '^ *+' conftest.err
>conftest.er1
1954 cat conftest.er1
>&5
1955 mv -f conftest.er1 conftest.err
1957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1958 test $ac_status = 0; } > conftest.i
&& {
1959 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1960 test ! -s conftest.err
1964 $as_echo "$as_me: failed program was:" >&5
1965 sed 's/^/| /' conftest.
$ac_ext >&5
1969 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1970 as_fn_set_status
$ac_retval
1972 } # ac_fn_cxx_try_cpp
1974 # ac_fn_cxx_try_link LINENO
1975 # -------------------------
1976 # Try to link conftest.$ac_ext, and return whether this succeeded.
1977 ac_fn_cxx_try_link
()
1979 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1980 rm -f conftest.
$ac_objext conftest
$ac_exeext
1981 if { { ac_try
="$ac_link"
1983 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1984 *) ac_try_echo=$ac_try;;
1986 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1987 $as_echo "$ac_try_echo"; } >&5
1988 (eval "$ac_link") 2>conftest.err
1990 if test -s conftest.err; then
1991 grep -v '^ *+' conftest.err >conftest.er1
1992 cat conftest.er1 >&5
1993 mv -f conftest.er1 conftest.err
1995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1996 test $ac_status = 0; } && {
1997 test -z "$ac_cxx_werror_flag" ||
1998 test ! -s conftest.err
1999 } && test -s conftest$ac_exeext && {
2000 test "$cross_compiling" = yes ||
2001 test -x conftest$ac_exeext
2005 $as_echo "$as_me: failed program was:" >&5
2006 sed 's/^/| /' conftest.$ac_ext >&5
2010 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2011 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2012 # interfere with the next link command; also delete a directory that is
2013 # left behind by Apple's compiler. We do this before executing the actions.
2014 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2015 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2016 as_fn_set_status $ac_retval
2018 } # ac_fn_cxx_try_link
2020 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2021 # ---------------------------------------------
2022 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2024 ac_fn_c_check_decl ()
2026 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2027 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2028 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2030 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2031 if eval \${$3+:} false; then :
2032 $as_echo_n "(cached) " >&6
2034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2035 /* end confdefs.h. */
2040 #ifndef $as_decl_name
2042 (void) $as_decl_use;
2044 (void) $as_decl_name;
2052 if ac_fn_c_try_compile "$LINENO"; then :
2057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2061 $as_echo "$ac_res" >&6; }
2062 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2064 } # ac_fn_c_check_decl
2065 cat >config.log <<_ACEOF
2066 This file contains any messages produced by compilers while
2067 running configure, to aid debugging if configure makes a mistake.
2069 It was created by gprofng $as_me 2.38.50, which was
2070 generated by GNU Autoconf 2.69. Invocation command line was
2082 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2083 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2084 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2085 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2086 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2088 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2089 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2091 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2092 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2093 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2094 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2095 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2096 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2097 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2105 test -z "$as_dir" && as_dir=.
2106 $as_echo "PATH: $as_dir"
2122 # Keep a trace of the command line.
2123 # Strip out --no-create and --no-recursion so they do not pile up.
2124 # Strip out --silent because we don't want to record it for future runs.
2125 # Also quote any args containing shell meta-characters.
2126 # Make two passes to allow for proper duplicate-argument suppression.
2130 ac_must_keep_next=false
2136 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2137 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2138 | -silent | --silent | --silen | --sile | --sil)
2141 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2144 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2146 as_fn_append ac_configure_args1 " '$ac_arg'"
2147 if test $ac_must_keep_next = true; then
2148 ac_must_keep_next=false # Got value, back to normal.
2151 *=* | --config-cache | -C | -disable-* | --disable-* \
2152 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2153 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2154 | -with-* | --with-* | -without-* | --without-* | --x)
2155 case "$ac_configure_args0 " in
2156 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2159 -* ) ac_must_keep_next=true ;;
2162 as_fn_append ac_configure_args " '$ac_arg'"
2167 { ac_configure_args0=; unset ac_configure_args0;}
2168 { ac_configure_args1=; unset ac_configure_args1;}
2170 # When interrupted or exit'd, cleanup temporary files, and complete
2171 # config.log. We remove comments because anyway the quotes in there
2172 # would cause problems or look ugly.
2173 # WARNING: Use '\'' to represent an apostrophe within the trap.
2174 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2175 trap 'exit_status=$?
2176 # Save into config.log some information that might help in debugging.
2180 $as_echo "## ---------------- ##
2181 ## Cache variables. ##
2182 ## ---------------- ##"
2184 # The following way of writing the cache mishandles newlines in values,
2186 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2187 eval ac_val=\$$ac_var
2191 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2192 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2195 _ | IFS | as_nl) ;; #(
2196 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2197 *) { eval $ac_var=; unset $ac_var;} ;;
2202 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2203 *${as_nl}ac_space=\ *)
2205 "s/'\''/'\''\\\\'\'''\''/g;
2206 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2209 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2216 $as_echo "## ----------------- ##
2217 ## Output variables. ##
2218 ## ----------------- ##"
2220 for ac_var in $ac_subst_vars
2222 eval ac_val=\$$ac_var
2224 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2226 $as_echo "$ac_var='\''$ac_val'\''"
2230 if test -n "$ac_subst_files"; then
2231 $as_echo "## ------------------- ##
2232 ## File substitutions. ##
2233 ## ------------------- ##"
2235 for ac_var in $ac_subst_files
2237 eval ac_val=\$$ac_var
2239 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2241 $as_echo "$ac_var='\''$ac_val'\''"
2246 if test -s confdefs.h; then
2247 $as_echo "## ----------- ##
2254 test "$ac_signal" != 0 &&
2255 $as_echo "$as_me: caught signal $ac_signal"
2256 $as_echo "$as_me: exit $exit_status"
2258 rm -f core *.core core.conftest.* &&
2259 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2262 for ac_signal in 1 2 13 15; do
2263 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2267 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2268 rm -f -r conftest* confdefs.h
2270 $as_echo "/* confdefs.h */" > confdefs.h
2272 # Predefined preprocessor variables.
2274 cat >>confdefs.h <<_ACEOF
2275 #define PACKAGE_NAME "$PACKAGE_NAME"
2278 cat >>confdefs.h <<_ACEOF
2279 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2282 cat >>confdefs.h <<_ACEOF
2283 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2286 cat >>confdefs.h <<_ACEOF
2287 #define PACKAGE_STRING "$PACKAGE_STRING"
2290 cat >>confdefs.h <<_ACEOF
2291 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2294 cat >>confdefs.h <<_ACEOF
2295 #define PACKAGE_URL "$PACKAGE_URL"
2299 # Let the site file select an alternate cache file if it wants to.
2300 # Prefer an explicitly selected file to automatically selected ones.
2303 if test -n "$CONFIG_SITE"; then
2304 # We do not want a PATH search for config.site.
2305 case $CONFIG_SITE in #((
2306 -*) ac_site_file1=./$CONFIG_SITE;;
2307 */*) ac_site_file1=$CONFIG_SITE;;
2308 *) ac_site_file1=./$CONFIG_SITE;;
2310 elif test "x$prefix" != xNONE; then
2311 ac_site_file1=$prefix/share/config.site
2312 ac_site_file2=$prefix/etc/config.site
2314 ac_site_file1=$ac_default_prefix/share/config.site
2315 ac_site_file2=$ac_default_prefix/etc/config.site
2317 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2319 test "x$ac_site_file" = xNONE && continue
2320 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2322 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2323 sed 's/^/| /' "$ac_site_file" >&5
2325 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2327 as_fn_error $? "failed to load site
script $ac_site_file
2328 See \
`config.log' for more details" "$LINENO" 5; }
2332 if test -r "$cache_file"; then
2333 # Some versions of bash will fail to source /dev/null (special files
2334 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2335 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2337 $as_echo "$as_me: loading cache $cache_file" >&6;}
2339 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2340 *) . "./$cache_file";;
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2345 $as_echo "$as_me: creating cache $cache_file" >&6;}
2349 # Check that the precious variables saved in the cache have kept the same
2351 ac_cache_corrupted=false
2352 for ac_var in $ac_precious_vars; do
2353 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2354 eval ac_new_set=\$ac_env_${ac_var}_set
2355 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2356 eval ac_new_val=\$ac_env_${ac_var}_value
2357 case $ac_old_set,$ac_new_set in
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2360 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2361 ac_cache_corrupted=: ;;
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2364 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2365 ac_cache_corrupted=: ;;
2368 if test "x$ac_old_val" != "x$ac_new_val"; then
2369 # differences in whitespace do not lead to failure.
2370 ac_old_val_w=`echo x
$ac_old_val`
2371 ac_new_val_w=`echo x
$ac_new_val`
2372 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2374 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2375 ac_cache_corrupted=:
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2378 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2379 eval $ac_var=\$ac_old_val
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2382 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2384 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2387 # Pass precious variables to config.status.
2388 if test "$ac_new_set" = set; then
2390 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2391 *) ac_arg=$ac_var=$ac_new_val ;;
2393 case " $ac_configure_args " in
2394 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2395 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2399 if $ac_cache_corrupted; then
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2403 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2404 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2406 ## -------------------- ##
2407 ## Main body of script. ##
2408 ## -------------------- ##
2411 ac_cpp='$CPP $CPPFLAGS'
2412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2417 am__api_version='1.15'
2420 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2421 if test -f "$ac_dir/install-sh"; then
2423 ac_install_sh="$ac_aux_dir/install-sh -c"
2425 elif test -f "$ac_dir/install.sh"; then
2427 ac_install_sh="$ac_aux_dir/install.sh -c"
2429 elif test -f "$ac_dir/shtool"; then
2431 ac_install_sh="$ac_aux_dir/shtool install -c"
2435 if test -z "$ac_aux_dir"; then
2436 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2439 # These three variables are undocumented and unsupported,
2440 # and are intended to be withdrawn in a future Autoconf release.
2441 # They can cause serious problems if a builder's source tree is in a directory
2442 # whose full name contains unusual characters.
2443 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2444 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2445 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2448 # Find a good install program. We prefer a C program (faster),
2449 # so one script is as good as another. But avoid the broken or
2450 # incompatible versions:
2451 # SysV /etc/install, /usr/sbin/install
2452 # SunOS /usr/etc/install
2453 # IRIX /sbin/install
2455 # AmigaOS /C/install, which installs bootblocks on floppy discs
2456 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2457 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2458 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2459 # OS/2's system install, which has a completely different semantic
2460 # ./install, which can be erroneously created by make from ./install.sh.
2461 # Reject install programs that cannot install multiple files.
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2463 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2464 if test -z "$INSTALL"; then
2465 if ${ac_cv_path_install+:} false; then :
2466 $as_echo_n "(cached) " >&6
2468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2472 test -z "$as_dir" && as_dir=.
2473 # Account for people who put trailing slashes in PATH elements.
2474 case $as_dir/ in #((
2475 ./ | .// | /[cC]/* | \
2476 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2477 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2480 # OSF1 and SCO ODT 3.0 have their own names for install.
2481 # Don't use installbsd from OSF since it installs stuff as root
2483 for ac_prog in ginstall scoinst install; do
2484 for ac_exec_ext in '' $ac_executable_extensions; do
2485 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2486 if test $ac_prog = install &&
2487 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2488 # AIX install. It has an incompatible calling convention.
2490 elif test $ac_prog = install &&
2491 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2492 # program-specific install script used by HP pwplus--don't use.
2495 rm -rf conftest.one conftest.two conftest.dir
2496 echo one > conftest.one
2497 echo two > conftest.two
2499 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2500 test -s conftest.one && test -s conftest.two &&
2501 test -s conftest.dir/conftest.one &&
2502 test -s conftest.dir/conftest.two
2504 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2517 rm -rf conftest.one conftest.two conftest.dir
2520 if test "${ac_cv_path_install+set}" = set; then
2521 INSTALL=$ac_cv_path_install
2523 # As a last resort, use the slow shell script. Don't cache a
2524 # value for INSTALL within a source directory, because that will
2525 # break other packages using the cache if that directory is
2526 # removed, or if the value is a relative name.
2527 INSTALL=$ac_install_sh
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2531 $as_echo "$INSTALL" >&6; }
2533 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2534 # It thinks the first close brace ends the variable substitution.
2535 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2537 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2539 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2542 $as_echo_n "checking whether build environment is sane... " >&6; }
2543 # Reject unsafe characters in $srcdir or the absolute working directory
2544 # name. Accept space and tab only in the latter.
2548 *[\\\"\#\$\&\'\`$am_lf]*)
2549 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2552 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2553 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2556 # Do 'set' in a subshell so we don't clobber the current shell's
2557 # arguments. Must try -L first in case configure is actually a
2558 # symlink; some systems play weird games with the mod time of symlinks
2559 # (eg FreeBSD returns the mod time of the symlink's containing
2563 for am_try
in 1 2; do
2564 echo "timestamp, slept: $am_has_slept" > conftest.
file
2565 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2566 if test "$*" = "X"; then
2568 set X
`ls -t "$srcdir/configure" conftest.file`
2570 if test "$*" != "X $srcdir/configure conftest.file" \
2571 && test "$*" != "X conftest.file $srcdir/configure"; then
2573 # If neither matched, then we have a broken ls. This can happen
2574 # if, for instance, CONFIG_SHELL is bash and it inherits a
2575 # broken ls alias from the environment. This has actually
2576 # happened. Such a system could not be considered "sane".
2577 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2578 alias in your environment" "$LINENO" 5
2580 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2587 test "$2" = conftest.
file
2593 as_fn_error $?
"newly created file is older than distributed files!
2594 Check your system clock" "$LINENO" 5
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2597 $as_echo "yes" >&6; }
2598 # If we didn't sleep, we still need to ensure time stamps of config.status and
2599 # generated files are strictly newer.
2601 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2608 test "$program_prefix" != NONE
&&
2609 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2610 # Use a double $ so make ignores it.
2611 test "$program_suffix" != NONE
&&
2612 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2613 # Double any \ or $.
2614 # By default was `s,x,x', remove it if useless.
2615 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2616 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2618 # Expand $ac_aux_dir to an absolute path.
2619 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2621 if test x
"${MISSING+set}" != xset
; then
2624 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2626 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2629 # Use eval to expand $SHELL
2630 if eval "$MISSING --is-lightweight"; then
2631 am_missing_run
="$MISSING "
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2635 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2638 if test x
"${install_sh+set}" != xset
; then
2641 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2643 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2647 # Installed binaries are usually stripped using 'strip' when the user
2648 # run "make install-strip". However 'strip' might not be the right
2649 # tool to use in cross-compilation environments, therefore Automake
2650 # will honor the 'STRIP' environment variable to overrule this program.
2651 if test "$cross_compiling" != no
; then
2652 if test -n "$ac_tool_prefix"; then
2653 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2654 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2656 $as_echo_n "checking for $ac_word... " >&6; }
2657 if ${ac_cv_prog_STRIP+:} false
; then :
2658 $as_echo_n "(cached) " >&6
2660 if test -n "$STRIP"; then
2661 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2667 test -z "$as_dir" && as_dir
=.
2668 for ac_exec_ext
in '' $ac_executable_extensions; do
2669 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2670 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2680 STRIP
=$ac_cv_prog_STRIP
2681 if test -n "$STRIP"; then
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2683 $as_echo "$STRIP" >&6; }
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2686 $as_echo "no" >&6; }
2691 if test -z "$ac_cv_prog_STRIP"; then
2693 # Extract the first word of "strip", so it can be a program name with args.
2694 set dummy strip
; ac_word
=$2
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2696 $as_echo_n "checking for $ac_word... " >&6; }
2697 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2698 $as_echo_n "(cached) " >&6
2700 if test -n "$ac_ct_STRIP"; then
2701 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2707 test -z "$as_dir" && as_dir
=.
2708 for ac_exec_ext
in '' $ac_executable_extensions; do
2709 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2710 ac_cv_prog_ac_ct_STRIP
="strip"
2711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2720 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2721 if test -n "$ac_ct_STRIP"; then
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2723 $as_echo "$ac_ct_STRIP" >&6; }
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2726 $as_echo "no" >&6; }
2729 if test "x$ac_ct_STRIP" = x
; then
2732 case $cross_compiling:$ac_tool_warned in
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2735 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2736 ac_tool_warned
=yes ;;
2741 STRIP
="$ac_cv_prog_STRIP"
2745 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2748 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2749 if test -z "$MKDIR_P"; then
2750 if ${ac_cv_path_mkdir+:} false
; then :
2751 $as_echo_n "(cached) " >&6
2753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2754 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2757 test -z "$as_dir" && as_dir
=.
2758 for ac_prog
in mkdir gmkdir
; do
2759 for ac_exec_ext
in '' $ac_executable_extensions; do
2760 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2761 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2762 'mkdir (GNU coreutils) '* | \
2763 'mkdir (coreutils) '* | \
2764 'mkdir (fileutils) '4.1*)
2765 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2775 test -d .
/--version && rmdir .
/--version
2776 if test "${ac_cv_path_mkdir+set}" = set; then
2777 MKDIR_P
="$ac_cv_path_mkdir -p"
2779 # As a last resort, use the slow shell script. Don't cache a
2780 # value for MKDIR_P within a source directory, because that will
2781 # break other packages using the cache if that directory is
2782 # removed, or if the value is a relative name.
2783 MKDIR_P
="$ac_install_sh -d"
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2787 $as_echo "$MKDIR_P" >&6; }
2789 for ac_prog
in gawk mawk nawk
awk
2791 # Extract the first word of "$ac_prog", so it can be a program name with args.
2792 set dummy
$ac_prog; ac_word
=$2
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2794 $as_echo_n "checking for $ac_word... " >&6; }
2795 if ${ac_cv_prog_AWK+:} false
; then :
2796 $as_echo_n "(cached) " >&6
2798 if test -n "$AWK"; then
2799 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2805 test -z "$as_dir" && as_dir
=.
2806 for ac_exec_ext
in '' $ac_executable_extensions; do
2807 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2808 ac_cv_prog_AWK
="$ac_prog"
2809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2819 if test -n "$AWK"; then
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2821 $as_echo "$AWK" >&6; }
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2824 $as_echo "no" >&6; }
2828 test -n "$AWK" && break
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2832 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2834 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2835 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2836 $as_echo_n "(cached) " >&6
2838 cat >conftest.
make <<\_ACEOF
2841 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2843 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2844 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2846 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2848 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2852 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2854 $as_echo "yes" >&6; }
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2858 $as_echo "no" >&6; }
2859 SET_MAKE
="MAKE=${MAKE-make}"
2862 rm -rf .tst
2>/dev
/null
2863 mkdir .tst
2>/dev
/null
2864 if test -d .tst
; then
2869 rmdir .tst
2>/dev
/null
2871 # Check whether --enable-silent-rules was given.
2872 if test "${enable_silent_rules+set}" = set; then :
2873 enableval
=$enable_silent_rules;
2876 case $enable_silent_rules in # (((
2877 yes) AM_DEFAULT_VERBOSITY
=0;;
2878 no
) AM_DEFAULT_VERBOSITY
=1;;
2879 *) AM_DEFAULT_VERBOSITY
=1;;
2881 am_make
=${MAKE-make}
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2883 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2884 if ${am_cv_make_support_nested_variables+:} false
; then :
2885 $as_echo_n "(cached) " >&6
2887 if $as_echo 'TRUE=$(BAR$(V))
2893 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2894 am_cv_make_support_nested_variables
=yes
2896 am_cv_make_support_nested_variables
=no
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2900 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2901 if test $am_cv_make_support_nested_variables = yes; then
2903 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2905 AM_V
=$AM_DEFAULT_VERBOSITY
2906 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2910 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2911 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2912 # is not polluted with repeated "-I."
2913 am__isrc
=' -I$(srcdir)'
2914 # test to see if srcdir already configured
2915 if test -f $srcdir/config.status
; then
2916 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2920 # test whether we have cygpath
2921 if test -z "$CYGPATH_W"; then
2922 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2923 CYGPATH_W
='cygpath -w'
2930 # Define the identity of the package.
2935 cat >>confdefs.h
<<_ACEOF
2936 #define PACKAGE "$PACKAGE"
2940 cat >>confdefs.h
<<_ACEOF
2941 #define VERSION "$VERSION"
2944 # Some tools Automake needs.
2946 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2949 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2952 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2955 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2958 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2960 # For better backward compatibility. To be removed once Automake 1.9.x
2961 # dies out for good. For more background, see:
2962 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2963 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2964 mkdir_p
='$(MKDIR_P)'
2966 # We need awk for the "check" target (and possibly the TAP driver). The
2967 # system "awk" is bad on some platforms.
2968 # Always define AMTAR for backward compatibility. Yes, it's still used
2969 # in the wild :-( We should find a proper way to deprecate it ...
2973 # We'll loop over all known methods to create a tar archive until one works.
2974 _am_tools
='gnutar pax cpio none'
2976 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2983 # POSIX will say in a future version that running "rm -f" with no argument
2984 # is OK; and we want to be able to make that assumption in our Makefile
2985 # recipes. So use an aggressive probe to check that the usage we want is
2986 # actually supported "in the wild" to an acceptable degree.
2987 # See automake bug#10828.
2988 # To make any issue more visible, cause the running configure to be aborted
2989 # by default if the 'rm' program in use doesn't match our expectations; the
2990 # user can still override this though.
2991 if rm -f && rm -fr && rm -rf; then : OK
; else
2995 Your 'rm' program seems unable to run without file operands specified
2996 on the command line, even when the '-f' option is present. This is contrary
2997 to the behaviour of most rm programs out there, and not conforming with
2998 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3000 Please tell bug-automake@gnu.org about your system, including the value
3001 of your $PATH and any error possibly output before this message. This
3002 can help us improve future automake versions.
3005 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3006 echo 'Configuration will proceed anyway, since you have set the' >&2
3007 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3011 Aborting the configuration process, to ensure you take notice of the issue.
3013 You can download and install GNU coreutils to get an 'rm' implementation
3014 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3016 If you want to complete the configuration process using your problematic
3017 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3018 to "yes", and re-run configure.
3021 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3027 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3028 # Check whether --enable-maintainer-mode was given.
3029 if test "${enable_maintainer_mode+set}" = set; then :
3030 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3032 USE_MAINTAINER_MODE
=no
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3036 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3037 if test $USE_MAINTAINER_MODE = yes; then
3038 MAINTAINER_MODE_TRUE
=
3039 MAINTAINER_MODE_FALSE
='#'
3041 MAINTAINER_MODE_TRUE
='#'
3042 MAINTAINER_MODE_FALSE
=
3045 MAINT
=$MAINTAINER_MODE_TRUE
3049 DEPDIR
="${am__leading_dot}deps"
3051 ac_config_commands
="$ac_config_commands depfiles"
3054 am_make
=${MAKE-make}
3055 cat > confinc
<< 'END'
3057 @
echo this is the am__doit target
3060 # If we don't find an include directive, just comment out the code.
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3062 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3066 # First try GNU make style include.
3067 echo "include confinc" > confmf
3068 # Ignore all kinds of additional output from 'make'.
3069 case `$am_make -s -f confmf 2> /dev/null` in #(
3070 *the\ am__doit\ target
*)
3076 # Now try BSD make style include.
3077 if test "$am__include" = "#"; then
3078 echo '.include "confinc"' > confmf
3079 case `$am_make -s -f confmf 2> /dev/null` in #(
3080 *the\ am__doit\ target
*)
3081 am__include
=.include
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3090 $as_echo "$_am_result" >&6; }
3091 rm -f confinc confmf
3093 # Check whether --enable-dependency-tracking was given.
3094 if test "${enable_dependency_tracking+set}" = set; then :
3095 enableval
=$enable_dependency_tracking;
3098 if test "x$enable_dependency_tracking" != xno
; then
3099 am_depcomp
="$ac_aux_dir/depcomp"
3103 if test "x$enable_dependency_tracking" != xno; then
3113 ac_cpp
='$CPP $CPPFLAGS'
3114 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3115 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3116 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3117 if test -n "$ac_tool_prefix"; then
3118 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3119 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3121 $as_echo_n "checking for $ac_word... " >&6; }
3122 if ${ac_cv_prog_CC+:} false
; then :
3123 $as_echo_n "(cached) " >&6
3125 if test -n "$CC"; then
3126 ac_cv_prog_CC
="$CC" # Let the user override the test.
3128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3132 test -z "$as_dir" && as_dir
=.
3133 for ac_exec_ext
in '' $ac_executable_extensions; do
3134 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3135 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3146 if test -n "$CC"; then
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3148 $as_echo "$CC" >&6; }
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3151 $as_echo "no" >&6; }
3156 if test -z "$ac_cv_prog_CC"; then
3158 # Extract the first word of "gcc", so it can be a program name with args.
3159 set dummy 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_ac_ct_CC+:} false
; then :
3163 $as_echo_n "(cached) " >&6
3165 if test -n "$ac_ct_CC"; then
3166 ac_cv_prog_ac_ct_CC
="$ac_ct_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_ac_ct_CC
="gcc"
3176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3185 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3186 if test -n "$ac_ct_CC"; then
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3188 $as_echo "$ac_ct_CC" >&6; }
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3191 $as_echo "no" >&6; }
3194 if test "x$ac_ct_CC" = x
; then
3197 case $cross_compiling:$ac_tool_warned in
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3200 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3201 ac_tool_warned
=yes ;;
3209 if test -z "$CC"; then
3210 if test -n "$ac_tool_prefix"; then
3211 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3212 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3214 $as_echo_n "checking for $ac_word... " >&6; }
3215 if ${ac_cv_prog_CC+:} false
; then :
3216 $as_echo_n "(cached) " >&6
3218 if test -n "$CC"; then
3219 ac_cv_prog_CC
="$CC" # Let the user override the test.
3221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3225 test -z "$as_dir" && as_dir
=.
3226 for ac_exec_ext
in '' $ac_executable_extensions; do
3227 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3228 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3239 if test -n "$CC"; then
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3241 $as_echo "$CC" >&6; }
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3244 $as_echo "no" >&6; }
3250 if test -z "$CC"; then
3251 # Extract the first word of "cc", so it can be a program name with args.
3252 set dummy 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.
3262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3266 test -z "$as_dir" && as_dir
=.
3267 for ac_exec_ext
in '' $ac_executable_extensions; do
3268 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3269 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3270 ac_prog_rejected
=yes
3274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3281 if test $ac_prog_rejected = yes; then
3282 # We found a bogon in the path, so make sure we never use it.
3283 set dummy
$ac_cv_prog_CC
3285 if test $# != 0; then
3286 # We chose a different compiler from the bogus one.
3287 # However, it has the same basename, so the bogon will be chosen
3288 # first if we set CC to just the basename; use the full file name.
3290 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3296 if test -n "$CC"; then
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3298 $as_echo "$CC" >&6; }
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3301 $as_echo "no" >&6; }
3306 if test -z "$CC"; then
3307 if test -n "$ac_tool_prefix"; then
3308 for ac_prog
in cl.exe
3310 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3311 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3313 $as_echo_n "checking for $ac_word... " >&6; }
3314 if ${ac_cv_prog_CC+:} false
; then :
3315 $as_echo_n "(cached) " >&6
3317 if test -n "$CC"; then
3318 ac_cv_prog_CC
="$CC" # Let the user override the test.
3320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3324 test -z "$as_dir" && as_dir
=.
3325 for ac_exec_ext
in '' $ac_executable_extensions; do
3326 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3327 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3338 if test -n "$CC"; then
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3340 $as_echo "$CC" >&6; }
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3343 $as_echo "no" >&6; }
3347 test -n "$CC" && break
3350 if test -z "$CC"; then
3352 for ac_prog
in cl.exe
3354 # Extract the first word of "$ac_prog", so it can be a program name with args.
3355 set dummy
$ac_prog; ac_word
=$2
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3357 $as_echo_n "checking for $ac_word... " >&6; }
3358 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3359 $as_echo_n "(cached) " >&6
3361 if test -n "$ac_ct_CC"; then
3362 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3368 test -z "$as_dir" && as_dir
=.
3369 for ac_exec_ext
in '' $ac_executable_extensions; do
3370 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3371 ac_cv_prog_ac_ct_CC
="$ac_prog"
3372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3381 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3382 if test -n "$ac_ct_CC"; then
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3384 $as_echo "$ac_ct_CC" >&6; }
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3387 $as_echo "no" >&6; }
3391 test -n "$ac_ct_CC" && break
3394 if test "x$ac_ct_CC" = x
; then
3397 case $cross_compiling:$ac_tool_warned in
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3400 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3401 ac_tool_warned
=yes ;;
3410 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3412 as_fn_error $?
"no acceptable C compiler found in \$PATH
3413 See \`config.log' for more details" "$LINENO" 5; }
3415 # Provide some information about the compiler.
3416 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3419 for ac_option
in --version -v -V -qversion; do
3420 { { ac_try
="$ac_compiler $ac_option >&5"
3422 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3423 *) ac_try_echo=$ac_try;;
3425 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3426 $as_echo "$ac_try_echo"; } >&5
3427 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3429 if test -s conftest.err; then
3431 ... rest of stderr output deleted ...
3432 10q' conftest.err >conftest.er1
3433 cat conftest.er1 >&5
3435 rm -f conftest.er1 conftest.err
3436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3437 test $ac_status = 0; }
3440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3441 /* end confdefs.h. */
3451 ac_clean_files_save=$ac_clean_files
3452 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3453 # Try to create an executable without -o first, disregard a.out.
3454 # It will help us diagnose broken compilers, and finding out an intuition
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3457 $as_echo_n "checking whether the C compiler works... " >&6; }
3458 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3460 # The possible output files:
3461 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3464 for ac_file in $ac_files
3467 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3468 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3473 if { { ac_try="$ac_link_default"
3475 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3476 *) ac_try_echo
=$ac_try;;
3478 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3479 $as_echo "$ac_try_echo"; } >&5
3480 (eval "$ac_link_default") 2>&5
3482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3483 test $ac_status = 0; }; then :
3484 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3485 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3486 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3487 # so that the user can short-circuit this test for compilers unknown to
3489 for ac_file
in $ac_files ''
3491 test -f "$ac_file" ||
continue
3493 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3496 # We found the default executable, but exeext='' is most
3500 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3502 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3504 # We set ac_cv_exeext here because the later test for it is not
3505 # safe: cross compilers may not add the suffix if given an `-o'
3506 # argument, so we may need to know it at that point already.
3507 # Even if this section looks crufty: it has the advantage of
3514 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3519 if test -z "$ac_file"; then :
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3521 $as_echo "no" >&6; }
3522 $as_echo "$as_me: failed program was:" >&5
3523 sed 's/^/| /' conftest.
$ac_ext >&5
3525 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3526 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3527 as_fn_error
77 "C compiler cannot create executables
3528 See \`config.log' for more details" "$LINENO" 5; }
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3531 $as_echo "yes" >&6; }
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3534 $as_echo_n "checking for C compiler default output file name... " >&6; }
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3536 $as_echo "$ac_file" >&6; }
3537 ac_exeext
=$ac_cv_exeext
3539 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3540 ac_clean_files
=$ac_clean_files_save
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3542 $as_echo_n "checking for suffix of executables... " >&6; }
3543 if { { ac_try
="$ac_link"
3545 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3546 *) ac_try_echo=$ac_try;;
3548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3549 $as_echo "$ac_try_echo"; } >&5
3550 (eval "$ac_link") 2>&5
3552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3553 test $ac_status = 0; }; then :
3554 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3555 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3556 # work properly (i.e., refer to `conftest.exe'), while it won't with
3558 for ac_file
in conftest.exe conftest conftest.
*; do
3559 test -f "$ac_file" ||
continue
3561 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3562 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3568 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3569 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3570 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3571 See \`config.log' for more details" "$LINENO" 5; }
3573 rm -f conftest conftest
$ac_cv_exeext
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3575 $as_echo "$ac_cv_exeext" >&6; }
3577 rm -f conftest.
$ac_ext
3578 EXEEXT
=$ac_cv_exeext
3580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3581 /* end confdefs.h. */
3586 FILE *f = fopen ("conftest.out", "w");
3587 return ferror (f) || fclose (f) != 0;
3593 ac_clean_files
="$ac_clean_files conftest.out"
3594 # Check that the compiler produces executables we can run. If not, either
3595 # the compiler is broken, or we cross compile.
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3597 $as_echo_n "checking whether we are cross compiling... " >&6; }
3598 if test "$cross_compiling" != yes; then
3599 { { ac_try
="$ac_link"
3601 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3602 *) ac_try_echo=$ac_try;;
3604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3605 $as_echo "$ac_try_echo"; } >&5
3606 (eval "$ac_link") 2>&5
3608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3609 test $ac_status = 0; }
3610 if { ac_try='./conftest$ac_cv_exeext'
3611 { { case "(($ac_try" in
3612 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3613 *) ac_try_echo
=$ac_try;;
3615 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3616 $as_echo "$ac_try_echo"; } >&5
3617 (eval "$ac_try") 2>&5
3619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3620 test $ac_status = 0; }; }; then
3623 if test "$cross_compiling" = maybe
; then
3626 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3627 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3628 as_fn_error $?
"cannot run C compiled programs.
3629 If you meant to cross compile, use \`--host'.
3630 See \`config.log' for more details" "$LINENO" 5; }
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3635 $as_echo "$cross_compiling" >&6; }
3637 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3638 ac_clean_files
=$ac_clean_files_save
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3640 $as_echo_n "checking for suffix of object files... " >&6; }
3641 if ${ac_cv_objext+:} false
; then :
3642 $as_echo_n "(cached) " >&6
3644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3645 /* end confdefs.h. */
3655 rm -f conftest.o conftest.obj
3656 if { { ac_try
="$ac_compile"
3658 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3659 *) ac_try_echo=$ac_try;;
3661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3662 $as_echo "$ac_try_echo"; } >&5
3663 (eval "$ac_compile") 2>&5
3665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3666 test $ac_status = 0; }; then :
3667 for ac_file in conftest.o conftest.obj conftest.*; do
3668 test -f "$ac_file" || continue;
3670 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3671 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3676 $as_echo "$as_me: failed program was:" >&5
3677 sed 's/^/| /' conftest.$ac_ext >&5
3679 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3680 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3681 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3682 See \
`config.log' for more details" "$LINENO" 5; }
3684 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3687 $as_echo "$ac_cv_objext" >&6; }
3688 OBJEXT=$ac_cv_objext
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3691 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3692 if ${ac_cv_c_compiler_gnu+:} false; then :
3693 $as_echo_n "(cached) " >&6
3695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3696 /* end confdefs.h. */
3709 if ac_fn_c_try_compile "$LINENO"; then :
3714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3715 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3719 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3720 if test $ac_compiler_gnu = yes; then
3725 ac_test_CFLAGS=${CFLAGS+set}
3726 ac_save_CFLAGS=$CFLAGS
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3728 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3729 if ${ac_cv_prog_cc_g+:} false; then :
3730 $as_echo_n "(cached) " >&6
3732 ac_save_c_werror_flag=$ac_c_werror_flag
3733 ac_c_werror_flag=yes
3736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3737 /* end confdefs.h. */
3747 if ac_fn_c_try_compile "$LINENO"; then :
3751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3752 /* end confdefs.h. */
3762 if ac_fn_c_try_compile "$LINENO"; then :
3765 ac_c_werror_flag=$ac_save_c_werror_flag
3767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3768 /* end confdefs.h. */
3778 if ac_fn_c_try_compile "$LINENO"; then :
3781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3786 ac_c_werror_flag=$ac_save_c_werror_flag
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3789 $as_echo "$ac_cv_prog_cc_g" >&6; }
3790 if test "$ac_test_CFLAGS" = set; then
3791 CFLAGS=$ac_save_CFLAGS
3792 elif test $ac_cv_prog_cc_g = yes; then
3793 if test "$GCC" = yes; then
3799 if test "$GCC" = yes; then
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3806 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3807 if ${ac_cv_prog_cc_c89+:} false; then :
3808 $as_echo_n "(cached) " >&6
3810 ac_cv_prog_cc_c89=no
3812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3813 /* end confdefs.h. */
3817 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3818 struct buf { int x; };
3819 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3820 static char *e (p, i)
3826 static char *f (char * (*g) (char **, int), char **p, ...)
3831 s = g (p, va_arg (v,int));
3836 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3837 function prototypes and stuff, but not '\xHH' hex character constants.
3838 These don't provoke an error unfortunately, instead are silently treated
3839 as 'x'. The following induces an error, until -std is added to get
3840 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3841 array size at least. It's necessary to write '\x00'==0 to get something
3842 that's true only with -std. */
3843 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3845 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3846 inside strings and character constants. */
3848 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3850 int test (int i, double x);
3851 struct s1 {int (*f) (int a);};
3852 struct s2 {int (*f) (double a);};
3853 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3859 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3864 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3865 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3867 CC="$ac_save_CC $ac_arg"
3868 if ac_fn_c_try_compile "$LINENO"; then :
3869 ac_cv_prog_cc_c89=$ac_arg
3871 rm -f core conftest.err conftest.$ac_objext
3872 test "x$ac_cv_prog_cc_c89" != "xno" && break
3874 rm -f conftest.$ac_ext
3879 case "x$ac_cv_prog_cc_c89" in
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3882 $as_echo "none needed" >&6; } ;;
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3885 $as_echo "unsupported" >&6; } ;;
3887 CC="$CC $ac_cv_prog_cc_c89"
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3889 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3891 if test "x$ac_cv_prog_cc_c89" != xno; then :
3896 ac_cpp='$CPP $CPPFLAGS'
3897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3902 ac_cpp='$CPP $CPPFLAGS'
3903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3907 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3908 if ${am_cv_prog_cc_c_o+:} false; then :
3909 $as_echo_n "(cached) " >&6
3911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3912 /* end confdefs.h. */
3922 # Make sure it works both with $CC and with simple cc.
3923 # Following AC_PROG_CC_C_O, we do the test twice because some
3924 # compilers refuse to overwrite an existing .o file with -o,
3925 # though they will create one.
3926 am_cv_prog_cc_c_o=yes
3928 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3929 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3932 (exit $ac_status); } \
3933 && test -f conftest2.$ac_objext; then
3936 am_cv_prog_cc_c_o=no
3940 rm -f core conftest*
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3944 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3945 if test "$am_cv_prog_cc_c_o" != yes; then
3946 # Losing compiler, so override with the script.
3947 # FIXME: It is wrong to rewrite CC.
3948 # But if we don't then we get into trouble of one sort or another.
3949 # A longer-term fix would be to have automake use am__CC in this case,
3950 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3951 CC="$am_aux_dir/compile $CC"
3954 ac_cpp='$CPP $CPPFLAGS'
3955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3960 depcc="$CC" am_compiler_list=
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3963 $as_echo_n "checking dependency style of $depcc... " >&6; }
3964 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3965 $as_echo_n "(cached) " >&6
3967 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3968 # We make a subdir and do the tests there. Otherwise we can end up
3969 # making bogus files that we don't know about and never remove. For
3970 # instance it was reported that on HP-UX the gcc test will end up
3971 # making a dummy file named 'D' -- because '-MD' means "put the output
3975 # Copy depcomp to subdir because otherwise we won't find it if we're
3976 # using a relative directory.
3977 cp "$am_depcomp" conftest.dir
3979 # We will build objects and dependencies in a subdirectory because
3980 # it helps to detect inapplicable dependency modes. For instance
3981 # both Tru64's cc and ICC support -MD to output dependencies as a
3982 # side effect of compilation, but ICC will put the dependencies in
3983 # the current directory while Tru64 will put them in the object
3987 am_cv_CC_dependencies_compiler_type=none
3988 if test "$am_compiler_list" = ""; then
3989 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3992 case " $depcc " in #(
3993 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3996 for depmode in $am_compiler_list; do
3997 # Setup a source with many dependencies, because some compilers
3998 # like to wrap large dependency lists on column 80 (with \), and
3999 # we should not choose a depcomp mode which is confused by this.
4001 # We need to recreate these files for each test, as the compiler may
4002 # overwrite some of them when testing with obscure command lines.
4003 # This happens at least with the AIX C compiler.
4005 for i in 1 2 3 4 5 6; do
4006 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4007 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4008 # Solaris 10 /bin/sh.
4009 echo '/* dummy */' > sub/conftst$i.h
4011 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4013 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4014 # mode. It turns out that the SunPro C++ compiler does not properly
4015 # handle '-M -o', and we need to detect this. Also, some Intel
4016 # versions had trouble with output in subdirs.
4017 am__obj=sub/conftest.${OBJEXT-o}
4018 am__minus_obj="-o $am__obj"
4021 # This depmode causes a compiler race in universal mode.
4022 test "$am__universal" = false || continue
4025 # After this tag, mechanisms are not by side-effect, so they'll
4026 # only be used when explicitly requested.
4027 if test "x$enable_dependency_tracking" = xyes; then
4033 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4034 # This compiler won't grok '-c -o', but also, the minuso test has
4035 # not run yet. These depmodes are late enough in the game, and
4036 # so weak that their functioning should not be impacted.
4037 am__obj=conftest.${OBJEXT-o}
4042 if depmode=$depmode \
4043 source=sub/conftest.c object=$am__obj \
4044 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4045 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4046 >/dev/null 2>conftest.err &&
4047 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4048 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4049 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4050 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4051 # icc doesn't choke on unknown options, it will just issue warnings
4052 # or remarks (even with -Werror). So we grep stderr for any message
4053 # that says an option was ignored or not supported.
4054 # When given -MP, icc 7.0 and 7.1 complain thusly:
4055 # icc: Command line warning: ignoring option '-M'; no argument required
4056 # The diagnosis changed in icc 8.0:
4057 # icc: Command line remark: option '-MP' not supported
4058 if (grep 'ignoring option' conftest.err ||
4059 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4060 am_cv_CC_dependencies_compiler_type=$depmode
4069 am_cv_CC_dependencies_compiler_type=none
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4074 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4075 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4078 test "x$enable_dependency_tracking" != xno \
4079 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4081 am__fastdepCC_FALSE='#'
4083 am__fastdepCC_TRUE='#'
4084 am__fastdepCC_FALSE=
4090 ac_cpp='$CPP $CPPFLAGS'
4091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4095 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4096 # On Suns, sometimes $CPP names a directory.
4097 if test -n "$CPP" && test -d "$CPP"; then
4100 if test -z "$CPP"; then
4101 if ${ac_cv_prog_CPP+:} false; then :
4102 $as_echo_n "(cached) " >&6
4104 # Double quotes because CPP needs to be expanded
4105 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4108 for ac_c_preproc_warn_flag in '' yes
4110 # Use a header file that comes with gcc, so configuring glibc
4111 # with a fresh cross-compiler works.
4112 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4113 # <limits.h> exists even on freestanding compilers.
4114 # On the NeXT, cc -E runs the code through the compiler's parser,
4115 # not just through cpp. "Syntax error" is here to catch this case.
4116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4117 /* end confdefs.h. */
4119 # include <limits.h>
4121 # include <assert.h>
4125 if ac_fn_c_try_cpp "$LINENO"; then :
4128 # Broken: fails on valid input.
4131 rm -f conftest.err conftest.i conftest.$ac_ext
4133 # OK, works on sane cases. Now check whether nonexistent headers
4134 # can be detected and how.
4135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4136 /* end confdefs.h. */
4137 #include <ac_nonexistent.h>
4139 if ac_fn_c_try_cpp "$LINENO"; then :
4140 # Broken: success on invalid input.
4143 # Passes both tests.
4147 rm -f conftest.err conftest.i conftest.$ac_ext
4150 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4151 rm -f conftest.i conftest.err conftest.
$ac_ext
4152 if $ac_preproc_ok; then :
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4165 $as_echo "$CPP" >&6; }
4167 for ac_c_preproc_warn_flag
in '' yes
4169 # Use a header file that comes with gcc, so configuring glibc
4170 # with a fresh cross-compiler works.
4171 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4172 # <limits.h> exists even on freestanding compilers.
4173 # On the NeXT, cc -E runs the code through the compiler's parser,
4174 # not just through cpp. "Syntax error" is here to catch this case.
4175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4176 /* end confdefs.h. */
4178 # include <limits.h>
4180 # include <assert.h>
4184 if ac_fn_c_try_cpp
"$LINENO"; then :
4187 # Broken: fails on valid input.
4190 rm -f conftest.err conftest.i conftest.
$ac_ext
4192 # OK, works on sane cases. Now check whether nonexistent headers
4193 # can be detected and how.
4194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4196 #include <ac_nonexistent.h>
4198 if ac_fn_c_try_cpp
"$LINENO"; then :
4199 # Broken: success on invalid input.
4202 # Passes both tests.
4206 rm -f conftest.err conftest.i conftest.
$ac_ext
4209 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4210 rm -f conftest.i conftest.err conftest.
$ac_ext
4211 if $ac_preproc_ok; then :
4214 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4216 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4217 See \`config.log' for more details" "$LINENO" 5; }
4221 ac_cpp
='$CPP $CPPFLAGS'
4222 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4223 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4224 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4228 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4229 if ${ac_cv_path_GREP+:} false
; then :
4230 $as_echo_n "(cached) " >&6
4232 if test -z "$GREP"; then
4233 ac_path_GREP_found
=false
4234 # Loop through the user's path and test for each of PROGNAME-LIST
4235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4236 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4239 test -z "$as_dir" && as_dir
=.
4240 for ac_prog
in grep ggrep
; do
4241 for ac_exec_ext
in '' $ac_executable_extensions; do
4242 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4243 as_fn_executable_p
"$ac_path_GREP" ||
continue
4244 # Check for GNU ac_path_GREP and select it if it is found.
4245 # Check for GNU $ac_path_GREP
4246 case `"$ac_path_GREP" --version 2>&1` in
4248 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4251 $as_echo_n 0123456789 >"conftest.in"
4254 cat "conftest.in" "conftest.in" >"conftest.tmp"
4255 mv "conftest.tmp" "conftest.in"
4256 cp "conftest.in" "conftest.nl"
4257 $as_echo 'GREP' >> "conftest.nl"
4258 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4259 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4260 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4261 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4262 # Best one so far, save it but keep looking for a better one
4263 ac_cv_path_GREP
="$ac_path_GREP"
4264 ac_path_GREP_max
=$ac_count
4266 # 10*(2^10) chars as input seems more than enough
4267 test $ac_count -gt 10 && break
4269 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4272 $ac_path_GREP_found && break 3
4277 if test -z "$ac_cv_path_GREP"; then
4278 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4281 ac_cv_path_GREP
=$GREP
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4286 $as_echo "$ac_cv_path_GREP" >&6; }
4287 GREP
="$ac_cv_path_GREP"
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4291 $as_echo_n "checking for egrep... " >&6; }
4292 if ${ac_cv_path_EGREP+:} false
; then :
4293 $as_echo_n "(cached) " >&6
4295 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4296 then ac_cv_path_EGREP
="$GREP -E"
4298 if test -z "$EGREP"; then
4299 ac_path_EGREP_found
=false
4300 # Loop through the user's path and test for each of PROGNAME-LIST
4301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4302 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4305 test -z "$as_dir" && as_dir
=.
4306 for ac_prog
in egrep; do
4307 for ac_exec_ext
in '' $ac_executable_extensions; do
4308 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4309 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4310 # Check for GNU ac_path_EGREP and select it if it is found.
4311 # Check for GNU $ac_path_EGREP
4312 case `"$ac_path_EGREP" --version 2>&1` in
4314 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4317 $as_echo_n 0123456789 >"conftest.in"
4320 cat "conftest.in" "conftest.in" >"conftest.tmp"
4321 mv "conftest.tmp" "conftest.in"
4322 cp "conftest.in" "conftest.nl"
4323 $as_echo 'EGREP' >> "conftest.nl"
4324 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4325 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4326 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4327 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4328 # Best one so far, save it but keep looking for a better one
4329 ac_cv_path_EGREP
="$ac_path_EGREP"
4330 ac_path_EGREP_max
=$ac_count
4332 # 10*(2^10) chars as input seems more than enough
4333 test $ac_count -gt 10 && break
4335 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4338 $ac_path_EGREP_found && break 3
4343 if test -z "$ac_cv_path_EGREP"; then
4344 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4347 ac_cv_path_EGREP
=$EGREP
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4353 $as_echo "$ac_cv_path_EGREP" >&6; }
4354 EGREP
="$ac_cv_path_EGREP"
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4358 $as_echo_n "checking for ANSI C header files... " >&6; }
4359 if ${ac_cv_header_stdc+:} false
; then :
4360 $as_echo_n "(cached) " >&6
4362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4363 /* end confdefs.h. */
4377 if ac_fn_c_try_compile
"$LINENO"; then :
4378 ac_cv_header_stdc
=yes
4380 ac_cv_header_stdc
=no
4382 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4384 if test $ac_cv_header_stdc = yes; then
4385 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4387 /* end confdefs.h. */
4391 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4392 $EGREP "memchr" >/dev
/null
2>&1; then :
4395 ac_cv_header_stdc
=no
4401 if test $ac_cv_header_stdc = yes; then
4402 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4404 /* end confdefs.h. */
4408 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4409 $EGREP "free" >/dev
/null
2>&1; then :
4412 ac_cv_header_stdc
=no
4418 if test $ac_cv_header_stdc = yes; then
4419 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4420 if test "$cross_compiling" = yes; then :
4423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4424 /* end confdefs.h. */
4427 #if ((' ' & 0x0FF) == 0x020)
4428 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4429 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4431 # define ISLOWER(c) \
4432 (('a' <= (c) && (c) <= 'i') \
4433 || ('j' <= (c) && (c) <= 'r') \
4434 || ('s' <= (c) && (c) <= 'z'))
4435 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4438 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4443 for (i = 0; i < 256; i++)
4444 if (XOR (islower (i), ISLOWER (i))
4445 || toupper (i) != TOUPPER (i))
4450 if ac_fn_c_try_run
"$LINENO"; then :
4453 ac_cv_header_stdc
=no
4455 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4456 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4462 $as_echo "$ac_cv_header_stdc" >&6; }
4463 if test $ac_cv_header_stdc = yes; then
4465 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4469 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4470 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4471 inttypes.h stdint.h unistd.h
4473 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4474 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4476 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4477 cat >>confdefs.h
<<_ACEOF
4478 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4487 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4488 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4495 if test "$MINIX" = yes; then
4497 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4500 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4503 $as_echo "#define _MINIX 1" >>confdefs.h
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4509 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4510 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4511 $as_echo_n "(cached) " >&6
4513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4514 /* end confdefs.h. */
4516 # define __EXTENSIONS__ 1
4517 $ac_includes_default
4526 if ac_fn_c_try_compile
"$LINENO"; then :
4527 ac_cv_safe_to_define___extensions__
=yes
4529 ac_cv_safe_to_define___extensions__
=no
4531 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4534 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4535 test $ac_cv_safe_to_define___extensions__ = yes &&
4536 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4538 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4540 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4542 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4544 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4548 ac_cpp
='$CPP $CPPFLAGS'
4549 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4550 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4551 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4552 if test -n "$ac_tool_prefix"; then
4553 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4554 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4556 $as_echo_n "checking for $ac_word... " >&6; }
4557 if ${ac_cv_prog_CC+:} false
; then :
4558 $as_echo_n "(cached) " >&6
4560 if test -n "$CC"; then
4561 ac_cv_prog_CC
="$CC" # Let the user override the test.
4563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4567 test -z "$as_dir" && as_dir
=.
4568 for ac_exec_ext
in '' $ac_executable_extensions; do
4569 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4570 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4581 if test -n "$CC"; then
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4583 $as_echo "$CC" >&6; }
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4586 $as_echo "no" >&6; }
4591 if test -z "$ac_cv_prog_CC"; then
4593 # Extract the first word of "gcc", so it can be a program name with args.
4594 set dummy 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_ac_ct_CC+:} false
; then :
4598 $as_echo_n "(cached) " >&6
4600 if test -n "$ac_ct_CC"; then
4601 ac_cv_prog_ac_ct_CC
="$ac_ct_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_ac_ct_CC
="gcc"
4611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4620 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4621 if test -n "$ac_ct_CC"; then
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4623 $as_echo "$ac_ct_CC" >&6; }
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4626 $as_echo "no" >&6; }
4629 if test "x$ac_ct_CC" = x
; then
4632 case $cross_compiling:$ac_tool_warned in
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4635 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4636 ac_tool_warned
=yes ;;
4644 if test -z "$CC"; then
4645 if test -n "$ac_tool_prefix"; then
4646 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4647 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4649 $as_echo_n "checking for $ac_word... " >&6; }
4650 if ${ac_cv_prog_CC+:} false
; then :
4651 $as_echo_n "(cached) " >&6
4653 if test -n "$CC"; then
4654 ac_cv_prog_CC
="$CC" # Let the user override the test.
4656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4660 test -z "$as_dir" && as_dir
=.
4661 for ac_exec_ext
in '' $ac_executable_extensions; do
4662 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4663 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4674 if test -n "$CC"; then
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4676 $as_echo "$CC" >&6; }
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4679 $as_echo "no" >&6; }
4685 if test -z "$CC"; then
4686 # Extract the first word of "cc", so it can be a program name with args.
4687 set dummy 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.
4697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4701 test -z "$as_dir" && as_dir
=.
4702 for ac_exec_ext
in '' $ac_executable_extensions; do
4703 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4704 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4705 ac_prog_rejected
=yes
4709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4716 if test $ac_prog_rejected = yes; then
4717 # We found a bogon in the path, so make sure we never use it.
4718 set dummy
$ac_cv_prog_CC
4720 if test $# != 0; then
4721 # We chose a different compiler from the bogus one.
4722 # However, it has the same basename, so the bogon will be chosen
4723 # first if we set CC to just the basename; use the full file name.
4725 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4731 if test -n "$CC"; then
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4733 $as_echo "$CC" >&6; }
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4736 $as_echo "no" >&6; }
4741 if test -z "$CC"; then
4742 if test -n "$ac_tool_prefix"; then
4743 for ac_prog
in cl.exe
4745 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4746 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4748 $as_echo_n "checking for $ac_word... " >&6; }
4749 if ${ac_cv_prog_CC+:} false
; then :
4750 $as_echo_n "(cached) " >&6
4752 if test -n "$CC"; then
4753 ac_cv_prog_CC
="$CC" # Let the user override the test.
4755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4759 test -z "$as_dir" && as_dir
=.
4760 for ac_exec_ext
in '' $ac_executable_extensions; do
4761 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4762 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4773 if test -n "$CC"; then
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4775 $as_echo "$CC" >&6; }
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4778 $as_echo "no" >&6; }
4782 test -n "$CC" && break
4785 if test -z "$CC"; then
4787 for ac_prog
in cl.exe
4789 # Extract the first word of "$ac_prog", so it can be a program name with args.
4790 set dummy
$ac_prog; ac_word
=$2
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4792 $as_echo_n "checking for $ac_word... " >&6; }
4793 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4794 $as_echo_n "(cached) " >&6
4796 if test -n "$ac_ct_CC"; then
4797 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4803 test -z "$as_dir" && as_dir
=.
4804 for ac_exec_ext
in '' $ac_executable_extensions; do
4805 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4806 ac_cv_prog_ac_ct_CC
="$ac_prog"
4807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4816 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4817 if test -n "$ac_ct_CC"; then
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4819 $as_echo "$ac_ct_CC" >&6; }
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4822 $as_echo "no" >&6; }
4826 test -n "$ac_ct_CC" && break
4829 if test "x$ac_ct_CC" = x
; then
4832 case $cross_compiling:$ac_tool_warned in
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4835 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4836 ac_tool_warned
=yes ;;
4845 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4846 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4847 as_fn_error $?
"no acceptable C compiler found in \$PATH
4848 See \`config.log' for more details" "$LINENO" 5; }
4850 # Provide some information about the compiler.
4851 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4854 for ac_option
in --version -v -V -qversion; do
4855 { { ac_try
="$ac_compiler $ac_option >&5"
4857 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4858 *) ac_try_echo=$ac_try;;
4860 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4861 $as_echo "$ac_try_echo"; } >&5
4862 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4864 if test -s conftest.err; then
4866 ... rest of stderr output deleted ...
4867 10q' conftest.err >conftest.er1
4868 cat conftest.er1 >&5
4870 rm -f conftest.er1 conftest.err
4871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4872 test $ac_status = 0; }
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4876 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4877 if ${ac_cv_c_compiler_gnu+:} false; then :
4878 $as_echo_n "(cached) " >&6
4880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4881 /* end confdefs.h. */
4894 if ac_fn_c_try_compile "$LINENO"; then :
4899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4900 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4904 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4905 if test $ac_compiler_gnu = yes; then
4910 ac_test_CFLAGS=${CFLAGS+set}
4911 ac_save_CFLAGS=$CFLAGS
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4913 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4914 if ${ac_cv_prog_cc_g+:} false; then :
4915 $as_echo_n "(cached) " >&6
4917 ac_save_c_werror_flag=$ac_c_werror_flag
4918 ac_c_werror_flag=yes
4921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4922 /* end confdefs.h. */
4932 if ac_fn_c_try_compile "$LINENO"; then :
4936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4937 /* end confdefs.h. */
4947 if ac_fn_c_try_compile "$LINENO"; then :
4950 ac_c_werror_flag=$ac_save_c_werror_flag
4952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4953 /* end confdefs.h. */
4963 if ac_fn_c_try_compile "$LINENO"; then :
4966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4971 ac_c_werror_flag=$ac_save_c_werror_flag
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4974 $as_echo "$ac_cv_prog_cc_g" >&6; }
4975 if test "$ac_test_CFLAGS" = set; then
4976 CFLAGS=$ac_save_CFLAGS
4977 elif test $ac_cv_prog_cc_g = yes; then
4978 if test "$GCC" = yes; then
4984 if test "$GCC" = yes; then
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4991 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4992 if ${ac_cv_prog_cc_c89+:} false; then :
4993 $as_echo_n "(cached) " >&6
4995 ac_cv_prog_cc_c89=no
4997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4998 /* end confdefs.h. */
5002 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5003 struct buf { int x; };
5004 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5005 static char *e (p, i)
5011 static char *f (char * (*g) (char **, int), char **p, ...)
5016 s = g (p, va_arg (v,int));
5021 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5022 function prototypes and stuff, but not '\xHH' hex character constants.
5023 These don't provoke an error unfortunately, instead are silently treated
5024 as 'x'. The following induces an error, until -std is added to get
5025 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5026 array size at least. It's necessary to write '\x00'==0 to get something
5027 that's true only with -std. */
5028 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5030 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5031 inside strings and character constants. */
5033 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5035 int test (int i, double x);
5036 struct s1 {int (*f) (int a);};
5037 struct s2 {int (*f) (double a);};
5038 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5044 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5049 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5050 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5052 CC="$ac_save_CC $ac_arg"
5053 if ac_fn_c_try_compile "$LINENO"; then :
5054 ac_cv_prog_cc_c89=$ac_arg
5056 rm -f core conftest.err conftest.$ac_objext
5057 test "x$ac_cv_prog_cc_c89" != "xno" && break
5059 rm -f conftest.$ac_ext
5064 case "x$ac_cv_prog_cc_c89" in
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5067 $as_echo "none needed" >&6; } ;;
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5070 $as_echo "unsupported" >&6; } ;;
5072 CC="$CC $ac_cv_prog_cc_c89"
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5074 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5076 if test "x$ac_cv_prog_cc_c89" != xno; then :
5081 ac_cpp='$CPP $CPPFLAGS'
5082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5087 ac_cpp='$CPP $CPPFLAGS'
5088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5092 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5093 if ${am_cv_prog_cc_c_o+:} false; then :
5094 $as_echo_n "(cached) " >&6
5096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5097 /* end confdefs.h. */
5107 # Make sure it works both with $CC and with simple cc.
5108 # Following AC_PROG_CC_C_O, we do the test twice because some
5109 # compilers refuse to overwrite an existing .o file with -o,
5110 # though they will create one.
5111 am_cv_prog_cc_c_o=yes
5113 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5114 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5117 (exit $ac_status); } \
5118 && test -f conftest2.$ac_objext; then
5121 am_cv_prog_cc_c_o=no
5125 rm -f core conftest*
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5129 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5130 if test "$am_cv_prog_cc_c_o" != yes; then
5131 # Losing compiler, so override with the script.
5132 # FIXME: It is wrong to rewrite CC.
5133 # But if we don't then we get into trouble of one sort or another.
5134 # A longer-term fix would be to have automake use am__CC in this case,
5135 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5136 CC="$am_aux_dir/compile $CC"
5139 ac_cpp='$CPP $CPPFLAGS'
5140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5145 depcc="$CC" am_compiler_list=
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5148 $as_echo_n "checking dependency style of $depcc... " >&6; }
5149 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5150 $as_echo_n "(cached) " >&6
5152 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5153 # We make a subdir and do the tests there. Otherwise we can end up
5154 # making bogus files that we don't know about and never remove. For
5155 # instance it was reported that on HP-UX the gcc test will end up
5156 # making a dummy file named 'D' -- because '-MD' means "put the output
5160 # Copy depcomp to subdir because otherwise we won't find it if we're
5161 # using a relative directory.
5162 cp "$am_depcomp" conftest.dir
5164 # We will build objects and dependencies in a subdirectory because
5165 # it helps to detect inapplicable dependency modes. For instance
5166 # both Tru64's cc and ICC support -MD to output dependencies as a
5167 # side effect of compilation, but ICC will put the dependencies in
5168 # the current directory while Tru64 will put them in the object
5172 am_cv_CC_dependencies_compiler_type=none
5173 if test "$am_compiler_list" = ""; then
5174 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5177 case " $depcc " in #(
5178 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5181 for depmode in $am_compiler_list; do
5182 # Setup a source with many dependencies, because some compilers
5183 # like to wrap large dependency lists on column 80 (with \), and
5184 # we should not choose a depcomp mode which is confused by this.
5186 # We need to recreate these files for each test, as the compiler may
5187 # overwrite some of them when testing with obscure command lines.
5188 # This happens at least with the AIX C compiler.
5190 for i in 1 2 3 4 5 6; do
5191 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5192 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5193 # Solaris 10 /bin/sh.
5194 echo '/* dummy */' > sub/conftst$i.h
5196 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5198 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5199 # mode. It turns out that the SunPro C++ compiler does not properly
5200 # handle '-M -o', and we need to detect this. Also, some Intel
5201 # versions had trouble with output in subdirs.
5202 am__obj=sub/conftest.${OBJEXT-o}
5203 am__minus_obj="-o $am__obj"
5206 # This depmode causes a compiler race in universal mode.
5207 test "$am__universal" = false || continue
5210 # After this tag, mechanisms are not by side-effect, so they'll
5211 # only be used when explicitly requested.
5212 if test "x$enable_dependency_tracking" = xyes; then
5218 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5219 # This compiler won't grok '-c -o', but also, the minuso test has
5220 # not run yet. These depmodes are late enough in the game, and
5221 # so weak that their functioning should not be impacted.
5222 am__obj=conftest.${OBJEXT-o}
5227 if depmode=$depmode \
5228 source=sub/conftest.c object=$am__obj \
5229 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5230 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5231 >/dev/null 2>conftest.err &&
5232 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5233 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5234 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5235 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5236 # icc doesn't choke on unknown options, it will just issue warnings
5237 # or remarks (even with -Werror). So we grep stderr for any message
5238 # that says an option was ignored or not supported.
5239 # When given -MP, icc 7.0 and 7.1 complain thusly:
5240 # icc: Command line warning: ignoring option '-M'; no argument required
5241 # The diagnosis changed in icc 8.0:
5242 # icc: Command line remark: option '-MP' not supported
5243 if (grep 'ignoring option' conftest.err ||
5244 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5245 am_cv_CC_dependencies_compiler_type=$depmode
5254 am_cv_CC_dependencies_compiler_type=none
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5259 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5260 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5263 test "x$enable_dependency_tracking" != xno \
5264 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5266 am__fastdepCC_FALSE='#'
5268 am__fastdepCC_TRUE='#'
5269 am__fastdepCC_FALSE=
5274 ac_cpp='$CXXCPP $CPPFLAGS'
5275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5278 if test -z "$CXX"; then
5279 if test -n "$CCC"; then
5282 if test -n "$ac_tool_prefix"; then
5283 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5285 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5286 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5288 $as_echo_n "checking for $ac_word... " >&6; }
5289 if ${ac_cv_prog_CXX+:} false; then :
5290 $as_echo_n "(cached) " >&6
5292 if test -n "$CXX"; then
5293 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5299 test -z "$as_dir" && as_dir=.
5300 for ac_exec_ext in '' $ac_executable_extensions; do
5301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5302 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5313 if test -n "$CXX"; then
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5315 $as_echo "$CXX" >&6; }
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5318 $as_echo "no" >&6; }
5322 test -n "$CXX" && break
5325 if test -z "$CXX"; then
5327 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5329 # Extract the first word of "$ac_prog", so it can be a program name with args.
5330 set dummy $ac_prog; ac_word=$2
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5332 $as_echo_n "checking for $ac_word... " >&6; }
5333 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5334 $as_echo_n "(cached) " >&6
5336 if test -n "$ac_ct_CXX"; then
5337 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5343 test -z "$as_dir" && as_dir=.
5344 for ac_exec_ext in '' $ac_executable_extensions; do
5345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5346 ac_cv_prog_ac_ct_CXX="$ac_prog"
5347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5356 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5357 if test -n "$ac_ct_CXX"; then
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5359 $as_echo "$ac_ct_CXX" >&6; }
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5362 $as_echo "no" >&6; }
5366 test -n "$ac_ct_CXX" && break
5369 if test "x$ac_ct_CXX" = x; then
5372 case $cross_compiling:$ac_tool_warned in
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5376 ac_tool_warned=yes ;;
5384 # Provide some information about the compiler.
5385 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5388 for ac_option in --version -v -V -qversion; do
5389 { { ac_try="$ac_compiler $ac_option >&5"
5391 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5392 *) ac_try_echo
=$ac_try;;
5394 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5395 $as_echo "$ac_try_echo"; } >&5
5396 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5398 if test -s conftest.err
; then
5400 ... rest of stderr output deleted ...
5401 10q' conftest.err
>conftest.er1
5402 cat conftest.er1
>&5
5404 rm -f conftest.er1 conftest.err
5405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5406 test $ac_status = 0; }
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5410 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5411 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5412 $as_echo_n "(cached) " >&6
5414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5415 /* end confdefs.h. */
5428 if ac_fn_cxx_try_compile
"$LINENO"; then :
5433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5434 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5438 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5439 if test $ac_compiler_gnu = yes; then
5444 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5445 ac_save_CXXFLAGS
=$CXXFLAGS
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5447 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5448 if ${ac_cv_prog_cxx_g+:} false
; then :
5449 $as_echo_n "(cached) " >&6
5451 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5452 ac_cxx_werror_flag
=yes
5455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5456 /* end confdefs.h. */
5466 if ac_fn_cxx_try_compile
"$LINENO"; then :
5467 ac_cv_prog_cxx_g
=yes
5470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5471 /* end confdefs.h. */
5481 if ac_fn_cxx_try_compile
"$LINENO"; then :
5484 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5487 /* end confdefs.h. */
5497 if ac_fn_cxx_try_compile
"$LINENO"; then :
5498 ac_cv_prog_cxx_g
=yes
5500 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5502 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5504 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5505 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5508 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5509 if test "$ac_test_CXXFLAGS" = set; then
5510 CXXFLAGS
=$ac_save_CXXFLAGS
5511 elif test $ac_cv_prog_cxx_g = yes; then
5512 if test "$GXX" = yes; then
5518 if test "$GXX" = yes; then
5525 ac_cpp
='$CPP $CPPFLAGS'
5526 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5527 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5528 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5530 depcc
="$CXX" am_compiler_list
=
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5533 $as_echo_n "checking dependency style of $depcc... " >&6; }
5534 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
5535 $as_echo_n "(cached) " >&6
5537 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5538 # We make a subdir and do the tests there. Otherwise we can end up
5539 # making bogus files that we don't know about and never remove. For
5540 # instance it was reported that on HP-UX the gcc test will end up
5541 # making a dummy file named 'D' -- because '-MD' means "put the output
5545 # Copy depcomp to subdir because otherwise we won't find it if we're
5546 # using a relative directory.
5547 cp "$am_depcomp" conftest.dir
5549 # We will build objects and dependencies in a subdirectory because
5550 # it helps to detect inapplicable dependency modes. For instance
5551 # both Tru64's cc and ICC support -MD to output dependencies as a
5552 # side effect of compilation, but ICC will put the dependencies in
5553 # the current directory while Tru64 will put them in the object
5557 am_cv_CXX_dependencies_compiler_type
=none
5558 if test "$am_compiler_list" = ""; then
5559 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5562 case " $depcc " in #(
5563 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5566 for depmode
in $am_compiler_list; do
5567 # Setup a source with many dependencies, because some compilers
5568 # like to wrap large dependency lists on column 80 (with \), and
5569 # we should not choose a depcomp mode which is confused by this.
5571 # We need to recreate these files for each test, as the compiler may
5572 # overwrite some of them when testing with obscure command lines.
5573 # This happens at least with the AIX C compiler.
5575 for i
in 1 2 3 4 5 6; do
5576 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5577 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5578 # Solaris 10 /bin/sh.
5579 echo '/* dummy */' > sub
/conftst
$i.h
5581 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5583 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5584 # mode. It turns out that the SunPro C++ compiler does not properly
5585 # handle '-M -o', and we need to detect this. Also, some Intel
5586 # versions had trouble with output in subdirs.
5587 am__obj
=sub
/conftest.
${OBJEXT-o}
5588 am__minus_obj
="-o $am__obj"
5591 # This depmode causes a compiler race in universal mode.
5592 test "$am__universal" = false ||
continue
5595 # After this tag, mechanisms are not by side-effect, so they'll
5596 # only be used when explicitly requested.
5597 if test "x$enable_dependency_tracking" = xyes
; then
5603 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5604 # This compiler won't grok '-c -o', but also, the minuso test has
5605 # not run yet. These depmodes are late enough in the game, and
5606 # so weak that their functioning should not be impacted.
5607 am__obj
=conftest.
${OBJEXT-o}
5612 if depmode
=$depmode \
5613 source=sub
/conftest.c object
=$am__obj \
5614 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5615 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5616 >/dev
/null
2>conftest.err
&&
5617 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5618 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5619 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5620 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5621 # icc doesn't choke on unknown options, it will just issue warnings
5622 # or remarks (even with -Werror). So we grep stderr for any message
5623 # that says an option was ignored or not supported.
5624 # When given -MP, icc 7.0 and 7.1 complain thusly:
5625 # icc: Command line warning: ignoring option '-M'; no argument required
5626 # The diagnosis changed in icc 8.0:
5627 # icc: Command line remark: option '-MP' not supported
5628 if (grep 'ignoring option' conftest.err ||
5629 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5630 am_cv_CXX_dependencies_compiler_type
=$depmode
5639 am_cv_CXX_dependencies_compiler_type
=none
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5644 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5645 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5648 test "x$enable_dependency_tracking" != xno \
5649 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5650 am__fastdepCXX_TRUE
=
5651 am__fastdepCXX_FALSE
='#'
5653 am__fastdepCXX_TRUE
='#'
5654 am__fastdepCXX_FALSE
=
5659 if test -n "$ac_tool_prefix"; then
5660 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5661 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5663 $as_echo_n "checking for $ac_word... " >&6; }
5664 if ${ac_cv_prog_RANLIB+:} false
; then :
5665 $as_echo_n "(cached) " >&6
5667 if test -n "$RANLIB"; then
5668 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5674 test -z "$as_dir" && as_dir
=.
5675 for ac_exec_ext
in '' $ac_executable_extensions; do
5676 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5677 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5687 RANLIB
=$ac_cv_prog_RANLIB
5688 if test -n "$RANLIB"; then
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5690 $as_echo "$RANLIB" >&6; }
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5693 $as_echo "no" >&6; }
5698 if test -z "$ac_cv_prog_RANLIB"; then
5699 ac_ct_RANLIB
=$RANLIB
5700 # Extract the first word of "ranlib", so it can be a program name with args.
5701 set dummy 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_ac_ct_RANLIB+:} false
; then :
5705 $as_echo_n "(cached) " >&6
5707 if test -n "$ac_ct_RANLIB"; then
5708 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_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_ac_ct_RANLIB
="ranlib"
5718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5727 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5728 if test -n "$ac_ct_RANLIB"; then
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5730 $as_echo "$ac_ct_RANLIB" >&6; }
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5733 $as_echo "no" >&6; }
5736 if test "x$ac_ct_RANLIB" = x
; then
5739 case $cross_compiling:$ac_tool_warned in
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5742 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5743 ac_tool_warned
=yes ;;
5745 RANLIB
=$ac_ct_RANLIB
5748 RANLIB
="$ac_cv_prog_RANLIB"
5751 if test -n "$ac_tool_prefix"; then
5752 for ac_prog
in ar lib
"link -lib"
5754 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5755 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5757 $as_echo_n "checking for $ac_word... " >&6; }
5758 if ${ac_cv_prog_AR+:} false
; then :
5759 $as_echo_n "(cached) " >&6
5761 if test -n "$AR"; then
5762 ac_cv_prog_AR
="$AR" # Let the user override the test.
5764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5768 test -z "$as_dir" && as_dir
=.
5769 for ac_exec_ext
in '' $ac_executable_extensions; do
5770 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5771 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5782 if test -n "$AR"; then
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5784 $as_echo "$AR" >&6; }
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5787 $as_echo "no" >&6; }
5791 test -n "$AR" && break
5794 if test -z "$AR"; then
5796 for ac_prog
in ar lib
"link -lib"
5798 # Extract the first word of "$ac_prog", so it can be a program name with args.
5799 set dummy
$ac_prog; ac_word
=$2
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5801 $as_echo_n "checking for $ac_word... " >&6; }
5802 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5803 $as_echo_n "(cached) " >&6
5805 if test -n "$ac_ct_AR"; then
5806 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5812 test -z "$as_dir" && as_dir
=.
5813 for ac_exec_ext
in '' $ac_executable_extensions; do
5814 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5815 ac_cv_prog_ac_ct_AR
="$ac_prog"
5816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5825 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5826 if test -n "$ac_ct_AR"; then
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5828 $as_echo "$ac_ct_AR" >&6; }
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5831 $as_echo "no" >&6; }
5835 test -n "$ac_ct_AR" && break
5838 if test "x$ac_ct_AR" = x
; then
5841 case $cross_compiling:$ac_tool_warned in
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5844 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5845 ac_tool_warned
=yes ;;
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
5854 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
5855 if ${am_cv_ar_interface+:} false
; then :
5856 $as_echo_n "(cached) " >&6
5859 ac_cpp
='$CPP $CPPFLAGS'
5860 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5861 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5862 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5864 am_cv_ar_interface
=ar
5865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5866 /* end confdefs.h. */
5867 int some_variable = 0;
5869 if ac_fn_c_try_compile
"$LINENO"; then :
5870 am_ar_try
='$AR cru libconftest.a conftest.$ac_objext >&5'
5871 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5872 (eval $am_ar_try) 2>&5
5874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5875 test $ac_status = 0; }
5876 if test "$ac_status" -eq 0; then
5877 am_cv_ar_interface
=ar
5879 am_ar_try
='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
5880 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5881 (eval $am_ar_try) 2>&5
5883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5884 test $ac_status = 0; }
5885 if test "$ac_status" -eq 0; then
5886 am_cv_ar_interface
=lib
5888 am_cv_ar_interface
=unknown
5891 rm -f conftest.lib libconftest.a
5894 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5896 ac_cpp
='$CPP $CPPFLAGS'
5897 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5898 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5899 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5903 $as_echo "$am_cv_ar_interface" >&6; }
5905 case $am_cv_ar_interface in
5909 # Microsoft lib, so override with the ar-lib wrapper script.
5910 # FIXME: It is wrong to rewrite AR.
5911 # But if we don't then we get into trouble of one sort or another.
5912 # A longer-term fix would be to have automake use am__AR in this case,
5913 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5915 AR
="$am_aux_dir/ar-lib $AR"
5918 as_fn_error $?
"could not determine $AR interface" "$LINENO" 5
5923 # Check whether --enable-shared was given.
5924 if test "${enable_shared+set}" = set; then :
5925 enableval
=$enable_shared; p
=${PACKAGE-default}
5927 yes) enable_shared
=yes ;;
5928 no
) enable_shared
=no
;;
5931 # Look at the argument we got. We use all the common list separators.
5932 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5933 for pkg
in $enableval; do
5935 if test "X$pkg" = "X$p"; then
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5957 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5962 macro_version
='2.2.7a'
5963 macro_revision
='1.3134'
5977 ltmain
="$ac_aux_dir/ltmain.sh"
5979 # Make sure we can run config.sub.
5980 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
5981 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5984 $as_echo_n "checking build system type... " >&6; }
5985 if ${ac_cv_build+:} false
; then :
5986 $as_echo_n "(cached) " >&6
5988 ac_build_alias
=$build_alias
5989 test "x$ac_build_alias" = x
&&
5990 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
5991 test "x$ac_build_alias" = x
&&
5992 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
5993 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5994 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5998 $as_echo "$ac_cv_build" >&6; }
5999 case $ac_cv_build in
6001 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
6004 ac_save_IFS
=$IFS; IFS
='-'
6010 # Remember, the first character of IFS is used to create $*,
6011 # except with old shells:
6014 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6018 $as_echo_n "checking host system type... " >&6; }
6019 if ${ac_cv_host+:} false
; then :
6020 $as_echo_n "(cached) " >&6
6022 if test "x$host_alias" = x
; then
6023 ac_cv_host
=$ac_cv_build
6025 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6026 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6031 $as_echo "$ac_cv_host" >&6; }
6034 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
6037 ac_save_IFS
=$IFS; IFS
='-'
6043 # Remember, the first character of IFS is used to create $*,
6044 # except with old shells:
6047 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
6050 # Backslashify metacharacters that are still active within
6051 # double-quoted strings.
6052 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6054 # Same as above, but do not quote variable references.
6055 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6057 # Sed substitution to delay expansion of an escaped shell variable in a
6058 # double_quote_subst'ed string.
6059 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6061 # Sed substitution to delay expansion of an escaped single quote.
6062 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6064 # Sed substitution to avoid accidental globbing in evaled expressions
6065 no_glob_subst
='s/\*/\\\*/g'
6067 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6068 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6069 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6072 $as_echo_n "checking how to print strings... " >&6; }
6073 # Test print first, because it will be a builtin if present.
6074 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6075 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6077 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6080 # Use this function as a fallback that always works.
6081 func_fallback_echo ()
6083 eval 'cat <<_LTECHO_EOF
6087 ECHO='func_fallback_echo
'
6090 # func_echo_all arg...
6091 # Invoke $ECHO with all args, space-separated.
6098 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6099 $as_echo "printf" >&6; } ;;
6100 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6101 $as_echo "print -r" >&6; } ;;
6102 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6103 $as_echo "cat" >&6; } ;;
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6120 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6121 if ${ac_cv_path_SED+:} false; then :
6122 $as_echo_n "(cached) " >&6
6124 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6125 for ac_i in 1 2 3 4 5 6 7; do
6126 ac_script="$ac_script$as_nl$ac_script"
6128 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6129 { ac_script=; unset ac_script;}
6130 if test -z "$SED"; then
6131 ac_path_SED_found=false
6132 # Loop through the user's path and
test for each of PROGNAME-LIST
6133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6137 test -z "$as_dir" && as_dir
=.
6138 for ac_prog
in sed gsed
; do
6139 for ac_exec_ext
in '' $ac_executable_extensions; do
6140 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6141 as_fn_executable_p
"$ac_path_SED" ||
continue
6142 # Check for GNU ac_path_SED and select it if it is found.
6143 # Check for GNU $ac_path_SED
6144 case `"$ac_path_SED" --version 2>&1` in
6146 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6149 $as_echo_n 0123456789 >"conftest.in"
6152 cat "conftest.in" "conftest.in" >"conftest.tmp"
6153 mv "conftest.tmp" "conftest.in"
6154 cp "conftest.in" "conftest.nl"
6155 $as_echo '' >> "conftest.nl"
6156 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6157 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6158 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6159 if test $ac_count -gt ${ac_path_SED_max-0}; then
6160 # Best one so far, save it but keep looking for a better one
6161 ac_cv_path_SED
="$ac_path_SED"
6162 ac_path_SED_max
=$ac_count
6164 # 10*(2^10) chars as input seems more than enough
6165 test $ac_count -gt 10 && break
6167 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6170 $ac_path_SED_found && break 3
6175 if test -z "$ac_cv_path_SED"; then
6176 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6184 $as_echo "$ac_cv_path_SED" >&6; }
6185 SED
="$ac_cv_path_SED"
6188 test -z "$SED" && SED
=sed
6189 Xsed
="$SED -e 1s/^X//"
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6202 $as_echo_n "checking for fgrep... " >&6; }
6203 if ${ac_cv_path_FGREP+:} false
; then :
6204 $as_echo_n "(cached) " >&6
6206 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6207 then ac_cv_path_FGREP
="$GREP -F"
6209 if test -z "$FGREP"; then
6210 ac_path_FGREP_found
=false
6211 # Loop through the user's path and test for each of PROGNAME-LIST
6212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6213 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6216 test -z "$as_dir" && as_dir
=.
6217 for ac_prog
in fgrep
; do
6218 for ac_exec_ext
in '' $ac_executable_extensions; do
6219 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6220 as_fn_executable_p
"$ac_path_FGREP" ||
continue
6221 # Check for GNU ac_path_FGREP and select it if it is found.
6222 # Check for GNU $ac_path_FGREP
6223 case `"$ac_path_FGREP" --version 2>&1` in
6225 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6228 $as_echo_n 0123456789 >"conftest.in"
6231 cat "conftest.in" "conftest.in" >"conftest.tmp"
6232 mv "conftest.tmp" "conftest.in"
6233 cp "conftest.in" "conftest.nl"
6234 $as_echo 'FGREP' >> "conftest.nl"
6235 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6236 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6237 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6238 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6239 # Best one so far, save it but keep looking for a better one
6240 ac_cv_path_FGREP
="$ac_path_FGREP"
6241 ac_path_FGREP_max
=$ac_count
6243 # 10*(2^10) chars as input seems more than enough
6244 test $ac_count -gt 10 && break
6246 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6249 $ac_path_FGREP_found && break 3
6254 if test -z "$ac_cv_path_FGREP"; then
6255 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6258 ac_cv_path_FGREP
=$FGREP
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6264 $as_echo "$ac_cv_path_FGREP" >&6; }
6265 FGREP
="$ac_cv_path_FGREP"
6268 test -z "$GREP" && GREP
=grep
6288 # Check whether --with-gnu-ld was given.
6289 if test "${with_gnu_ld+set}" = set; then :
6290 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6296 if test "$GCC" = yes; then
6297 # Check if gcc -print-prog-name=ld gives a path.
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6299 $as_echo_n "checking for ld used by $CC... " >&6; }
6302 # gcc leaves a trailing carriage return which upsets mingw
6303 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6305 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6308 # Accept absolute paths.
6310 re_direlt
='/[^/][^/]*/\.\./'
6311 # Canonicalize the pathname of ld
6312 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6313 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6314 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6316 test -z "$LD" && LD
="$ac_prog"
6319 # If it fails, then pretend we aren't using GCC.
6323 # If it is relative, then search for the first ld in PATH.
6327 elif test "$with_gnu_ld" = yes; then
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6329 $as_echo_n "checking for GNU ld... " >&6; }
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6332 $as_echo_n "checking for non-GNU ld... " >&6; }
6334 if ${lt_cv_path_LD+:} false
; then :
6335 $as_echo_n "(cached) " >&6
6337 if test -z "$LD"; then
6338 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6339 for ac_dir
in $PATH; do
6341 test -z "$ac_dir" && ac_dir
=.
6342 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6343 lt_cv_path_LD
="$ac_dir/$ac_prog"
6344 # Check to see if the program is GNU ld. I'd rather use --version,
6345 # but apparently some variants of GNU ld only accept -v.
6346 # Break only if it was the GNU/non-GNU ld that we prefer.
6347 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6348 *GNU
* |
*'with BFD'*)
6349 test "$with_gnu_ld" != no
&& break
6352 test "$with_gnu_ld" != yes && break
6359 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6364 if test -n "$LD"; then
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6366 $as_echo "$LD" >&6; }
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6369 $as_echo "no" >&6; }
6371 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6373 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6374 if ${lt_cv_prog_gnu_ld+:} false
; then :
6375 $as_echo_n "(cached) " >&6
6377 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6378 case `$LD -v 2>&1 </dev/null` in
6379 *GNU
* |
*'with BFD'*)
6380 lt_cv_prog_gnu_ld
=yes
6383 lt_cv_prog_gnu_ld
=no
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6388 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6389 with_gnu_ld
=$lt_cv_prog_gnu_ld
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6400 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6401 if ${lt_cv_path_NM+:} false
; then :
6402 $as_echo_n "(cached) " >&6
6404 if test -n "$NM"; then
6405 # Let the user override the nm to test.
6406 lt_nm_to_check
="$NM"
6408 lt_nm_to_check
="${ac_tool_prefix}nm"
6409 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6410 lt_nm_to_check
="$lt_nm_to_check nm"
6413 for lt_tmp_nm
in $lt_nm_to_check; do
6414 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6415 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6417 test -z "$ac_dir" && ac_dir
=.
6418 case "$lt_tmp_nm" in
6419 */*|
*\\*) tmp_nm
="$lt_tmp_nm";;
6420 *) tmp_nm
="$ac_dir/$lt_tmp_nm";;
6422 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
6423 # Check to see if the nm accepts a BSD-compat flag.
6424 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6425 # nm: unknown option "B" ignored
6426 case `"$tmp_nm" -B "$tmp_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6427 *$tmp_nm*) lt_cv_path_NM
="$tmp_nm -B"
6431 case `"$tmp_nm" -p "$tmp_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6433 lt_cv_path_NM
="$tmp_nm -p"
6437 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6438 continue # so that we can try to find one that supports BSD flags
6447 : ${lt_cv_path_NM=no}
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6450 $as_echo "$lt_cv_path_NM" >&6; }
6451 if test "$lt_cv_path_NM" != "no"; then
6454 # Didn't find any BSD compatible name lister, look for dumpbin.
6455 if test -n "$DUMPBIN"; then :
6456 # Let the user override the test.
6458 if test -n "$ac_tool_prefix"; then
6459 for ac_prog
in dumpbin
"link -dump"
6461 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6462 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6464 $as_echo_n "checking for $ac_word... " >&6; }
6465 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6466 $as_echo_n "(cached) " >&6
6468 if test -n "$DUMPBIN"; then
6469 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6475 test -z "$as_dir" && as_dir
=.
6476 for ac_exec_ext
in '' $ac_executable_extensions; do
6477 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6478 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6488 DUMPBIN
=$ac_cv_prog_DUMPBIN
6489 if test -n "$DUMPBIN"; then
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6491 $as_echo "$DUMPBIN" >&6; }
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6494 $as_echo "no" >&6; }
6498 test -n "$DUMPBIN" && break
6501 if test -z "$DUMPBIN"; then
6502 ac_ct_DUMPBIN
=$DUMPBIN
6503 for ac_prog
in dumpbin
"link -dump"
6505 # Extract the first word of "$ac_prog", so it can be a program name with args.
6506 set dummy
$ac_prog; ac_word
=$2
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6508 $as_echo_n "checking for $ac_word... " >&6; }
6509 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6510 $as_echo_n "(cached) " >&6
6512 if test -n "$ac_ct_DUMPBIN"; then
6513 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6519 test -z "$as_dir" && as_dir
=.
6520 for ac_exec_ext
in '' $ac_executable_extensions; do
6521 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6522 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6532 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6533 if test -n "$ac_ct_DUMPBIN"; then
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6535 $as_echo "$ac_ct_DUMPBIN" >&6; }
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6538 $as_echo "no" >&6; }
6542 test -n "$ac_ct_DUMPBIN" && break
6545 if test "x$ac_ct_DUMPBIN" = x
; then
6548 case $cross_compiling:$ac_tool_warned in
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6551 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6552 ac_tool_warned
=yes ;;
6554 DUMPBIN
=$ac_ct_DUMPBIN
6558 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6560 DUMPBIN
="$DUMPBIN -symbols"
6568 if test "$DUMPBIN" != ":"; then
6572 test -z "$NM" && NM
=nm
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6580 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6581 if ${lt_cv_nm_interface+:} false
; then :
6582 $as_echo_n "(cached) " >&6
6584 lt_cv_nm_interface
="BSD nm"
6585 echo "int some_variable = 0;" > conftest.
$ac_ext
6586 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6587 (eval "$ac_compile" 2>conftest.err
)
6588 cat conftest.err
>&5
6589 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6590 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6591 cat conftest.err
>&5
6592 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6593 cat conftest.out
>&5
6594 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6595 lt_cv_nm_interface
="MS dumpbin"
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6600 $as_echo "$lt_cv_nm_interface" >&6; }
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6603 $as_echo_n "checking whether ln -s works... " >&6; }
6605 if test "$LN_S" = "ln -s"; then
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6607 $as_echo "yes" >&6; }
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6610 $as_echo "no, using $LN_S" >&6; }
6613 # find the maximum length of command line arguments
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6615 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6616 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6617 $as_echo_n "(cached) " >&6
6624 # On DJGPP, this test can blow up pretty badly due to problems in libc
6625 # (any single argument exceeding 2000 bytes causes a buffer overrun
6626 # during glob expansion). Even if it were fixed, the result of this
6627 # check would be larger than it should be.
6628 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6632 # Under GNU Hurd, this test is not required because there is
6633 # no limit to the length of command line arguments.
6634 # Libtool will interpret -1 as no limit whatsoever
6635 lt_cv_sys_max_cmd_len
=-1;
6638 cygwin
* | mingw
* | cegcc
*)
6639 # On Win9x/ME, this test blows up -- it succeeds, but takes
6640 # about 5 minutes as the teststring grows exponentially.
6641 # Worse, since 9x/ME are not pre-emptively multitasking,
6642 # you end up with a "frozen" computer, even though with patience
6643 # the test eventually succeeds (with a max line length of 256k).
6644 # Instead, let's just punt: use the minimum linelength reported by
6645 # all of the supported platforms: 8192 (on NT/2K/XP).
6646 lt_cv_sys_max_cmd_len
=8192;
6650 # On MiNT this can take a long time and run out of memory.
6651 lt_cv_sys_max_cmd_len
=8192;
6655 # On AmigaOS with pdksh, this test takes hours, literally.
6656 # So we just punt and use a minimum line length of 8192.
6657 lt_cv_sys_max_cmd_len
=8192;
6660 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6661 # This has been around since 386BSD, at least. Likely further.
6662 if test -x /sbin
/sysctl
; then
6663 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6664 elif test -x /usr
/sbin
/sysctl
; then
6665 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6667 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6669 # And add a safety zone
6670 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6671 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6675 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6676 lt_cv_sys_max_cmd_len
=196608
6680 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6681 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6682 # nice to cause kernel panics so lets avoid the loop below.
6683 # First set a reasonable default.
6684 lt_cv_sys_max_cmd_len
=16384
6686 if test -x /sbin
/sysconfig
; then
6687 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6688 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6693 lt_cv_sys_max_cmd_len
=102400
6695 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6696 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6697 if test -n "$kargmax"; then
6698 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6700 lt_cv_sys_max_cmd_len
=32768
6704 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6705 if test -n "$lt_cv_sys_max_cmd_len"; then
6706 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6707 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6709 # Make teststring a little bigger before we do anything with it.
6710 # a 1K string should be a reasonable start.
6711 for i
in 1 2 3 4 5 6 7 8 ; do
6712 teststring
=$teststring$teststring
6714 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6715 # If test is not a shell built-in, we'll probably end up computing a
6716 # maximum length that is only half of the actual maximum length, but
6718 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6719 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6720 test $i != 17 # 1/2 MB should be enough
6723 teststring
=$teststring$teststring
6725 # Only check the string length outside the loop.
6726 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6728 # Add a significant safety factor because C++ compilers can tack on
6729 # massive amounts of additional arguments before passing them to the
6730 # linker. It appears as though 1/2 is a usable value.
6731 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6738 if test -n $lt_cv_sys_max_cmd_len ; then
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6740 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6743 $as_echo "none" >&6; }
6745 max_cmd_len
=$lt_cv_sys_max_cmd_len
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6757 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6758 # Try some XSI features
6761 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6763 && eval 'test $(( 1 + 1 )) -eq 2 \
6764 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6767 $as_echo "$xsi_shell" >&6; }
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6771 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6773 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6775 && lt_shell_append=yes
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6777 $as_echo "$lt_shell_append" >&6; }
6780 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6790 # test EBCDIC or ASCII
6791 case `echo X|tr X '\101'` in
6792 A) # ASCII based system
6793 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6794 lt_SP2NL='tr \040 \012'
6795 lt_NL2SP='tr \015\012 \040\040'
6797 *) # EBCDIC based system
6798 lt_SP2NL='tr \100 \n'
6799 lt_NL2SP='tr \r\n \100\100'
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6812 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6813 if ${lt_cv_ld_reload_flag+:} false; then :
6814 $as_echo_n "(cached
) " >&6
6816 lt_cv_ld_reload_flag='-r'
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6819 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6820 reload_flag=$lt_cv_ld_reload_flag
6821 case $reload_flag in
6823 *) reload_flag=" $reload_flag" ;;
6825 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6828 if test "$GCC" = yes; then
6829 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6831 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6844 if test -n "$ac_tool_prefix"; then
6845 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6846 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6848 $as_echo_n "checking
for $ac_word...
" >&6; }
6849 if ${ac_cv_prog_OBJDUMP+:} false; then :
6850 $as_echo_n "(cached
) " >&6
6852 if test -n "$OBJDUMP"; then
6853 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6859 test -z "$as_dir" && as_dir=.
6860 for ac_exec_ext in '' $ac_executable_extensions; do
6861 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6862 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6863 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6872 OBJDUMP=$ac_cv_prog_OBJDUMP
6873 if test -n "$OBJDUMP"; then
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6875 $as_echo "$OBJDUMP" >&6; }
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6878 $as_echo "no
" >&6; }
6883 if test -z "$ac_cv_prog_OBJDUMP"; then
6884 ac_ct_OBJDUMP=$OBJDUMP
6885 # Extract the first word of "objdump
", so it can be a program name with args.
6886 set dummy objdump; ac_word=$2
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6888 $as_echo_n "checking
for $ac_word...
" >&6; }
6889 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6890 $as_echo_n "(cached
) " >&6
6892 if test -n "$ac_ct_OBJDUMP"; then
6893 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6899 test -z "$as_dir" && as_dir=.
6900 for ac_exec_ext in '' $ac_executable_extensions; do
6901 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6902 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6903 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6912 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6913 if test -n "$ac_ct_OBJDUMP"; then
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6915 $as_echo "$ac_ct_OBJDUMP" >&6; }
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6918 $as_echo "no
" >&6; }
6921 if test "x
$ac_ct_OBJDUMP" = x; then
6924 case $cross_compiling:$ac_tool_warned in
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6927 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6928 ac_tool_warned=yes ;;
6930 OBJDUMP=$ac_ct_OBJDUMP
6933 OBJDUMP="$ac_cv_prog_OBJDUMP"
6936 test -z "$OBJDUMP" && OBJDUMP=objdump
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6947 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6948 if ${lt_cv_deplibs_check_method+:} false; then :
6949 $as_echo_n "(cached
) " >&6
6951 lt_cv_file_magic_cmd='$MAGIC_CMD'
6952 lt_cv_file_magic_test_file=
6953 lt_cv_deplibs_check_method='unknown'
6954 # Need to set the preceding variable on all platforms that support
6955 # interlibrary dependencies.
6956 # 'none' -- dependencies not supported.
6957 # `unknown' -- same as none, but documents that we really don't know.
6958 # 'pass_all' -- all dependencies passed with no checks.
6959 # 'test_compile' -- check by making test program.
6960 # 'file_magic [[regex]]' -- check by looking for files in library path
6961 # which responds to the $file_magic_cmd with a given extended regex.
6962 # If you have `file' or equivalent on your system and you're not sure
6963 # whether `pass_all' will *always* work, you probably want this one.
6967 lt_cv_deplibs_check_method=pass_all
6971 lt_cv_deplibs_check_method=pass_all
6975 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6976 lt_cv_file_magic_cmd='/usr/bin/file -L'
6977 lt_cv_file_magic_test_file=/shlib/libc.so
6981 # func_win32_libid is a shell function defined in ltmain.sh
6982 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6983 lt_cv_file_magic_cmd='func_win32_libid'
6987 # Base MSYS/MinGW do not provide the 'file' command needed by
6988 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6989 # unless we find 'file', for example because we are cross-compiling.
6990 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6991 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6992 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6993 lt_cv_file_magic_cmd='func_win32_libid'
6995 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6996 lt_cv_file_magic_cmd='$OBJDUMP -f'
7001 # use the weaker test based on 'objdump'. See mingw*.
7002 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7003 lt_cv_file_magic_cmd='$OBJDUMP -f'
7006 darwin* | rhapsody*)
7007 lt_cv_deplibs_check_method=pass_all
7010 freebsd* | dragonfly*)
7011 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7014 # Not sure whether the presence of OpenBSD here was a mistake.
7015 # Let's accept both of them until this is cleared up.
7016 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7017 lt_cv_file_magic_cmd=/usr/bin/file
7018 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7022 lt_cv_deplibs_check_method=pass_all
7027 lt_cv_deplibs_check_method=pass_all
7031 lt_cv_deplibs_check_method=pass_all
7034 hpux10.20* | hpux11*)
7035 lt_cv_file_magic_cmd=/usr/bin/file
7038 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7039 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7042 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]'
7043 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7046 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7047 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7053 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7054 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7057 irix5* | irix6* | nonstopux*)
7059 *-32|*"-32 ") libmagic=32-bit;;
7060 *-n32|*"-n32 ") libmagic=N32;;
7061 *-64|*"-64 ") libmagic=64-bit;;
7062 *) libmagic=never-match;;
7064 lt_cv_deplibs_check_method=pass_all
7067 # This must be Linux ELF.
7068 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7069 lt_cv_deplibs_check_method=pass_all
7073 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7074 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7076 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7081 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7082 lt_cv_file_magic_cmd=/usr/bin/file
7083 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7087 lt_cv_deplibs_check_method=pass_all
7091 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7092 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7094 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7098 osf3* | osf4* | osf5*)
7099 lt_cv_deplibs_check_method=pass_all
7103 lt_cv_deplibs_check_method=pass_all
7107 lt_cv_deplibs_check_method=pass_all
7110 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7111 lt_cv_deplibs_check_method=pass_all
7115 case $host_vendor in
7117 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]'
7118 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7121 lt_cv_deplibs_check_method=pass_all
7124 lt_cv_file_magic_cmd='/bin/file'
7125 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7128 lt_cv_file_magic_cmd='/bin/file'
7129 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
7130 lt_cv_file_magic_test_file=/lib/libc.so
7133 lt_cv_deplibs_check_method=pass_all
7136 lt_cv_deplibs_check_method=pass_all
7142 lt_cv_deplibs_check_method=pass_all
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
7148 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7149 file_magic_cmd=$lt_cv_file_magic_cmd
7150 deplibs_check_method=$lt_cv_deplibs_check_method
7151 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7165 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
7166 for plugin in $plugin_names; do
7167 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
7168 if test x$plugin_so = x$plugin; then
7169 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
7171 if test x$plugin_so != x$plugin; then
7172 plugin_option="--plugin $plugin_so"
7177 if test -n "$ac_tool_prefix"; then
7178 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7179 set dummy ${ac_tool_prefix}ar; ac_word=$2
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7181 $as_echo_n "checking
for $ac_word...
" >&6; }
7182 if ${ac_cv_prog_AR+:} false; then :
7183 $as_echo_n "(cached
) " >&6
7185 if test -n "$AR"; then
7186 ac_cv_prog_AR="$AR" # Let the user override the test.
7188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7192 test -z "$as_dir" && as_dir=.
7193 for ac_exec_ext in '' $ac_executable_extensions; do
7194 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7195 ac_cv_prog_AR="${ac_tool_prefix}ar"
7196 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7206 if test -n "$AR"; then
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7208 $as_echo "$AR" >&6; }
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7211 $as_echo "no
" >&6; }
7216 if test -z "$ac_cv_prog_AR"; then
7218 # Extract the first word of "ar", so it can be a program name with args.
7219 set dummy ar; ac_word=$2
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7221 $as_echo_n "checking
for $ac_word...
" >&6; }
7222 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7223 $as_echo_n "(cached
) " >&6
7225 if test -n "$ac_ct_AR"; then
7226 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7232 test -z "$as_dir" && as_dir=.
7233 for ac_exec_ext in '' $ac_executable_extensions; do
7234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7235 ac_cv_prog_ac_ct_AR="ar"
7236 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7245 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7246 if test -n "$ac_ct_AR"; then
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
7248 $as_echo "$ac_ct_AR" >&6; }
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7251 $as_echo "no
" >&6; }
7254 if test "x
$ac_ct_AR" = x; then
7257 case $cross_compiling:$ac_tool_warned in
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7260 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7261 ac_tool_warned=yes ;;
7269 test -z "$AR" && AR=ar
7270 if test -n "$plugin_option"; then
7271 if $AR --help 2>&1 | grep -q "\
--plugin"; then
7273 $AR $plugin_option rc conftest.a conftest.c
7274 if test "$?
" != 0; then
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
7276 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
7278 AR="$AR $plugin_option"
7283 test -z "$AR_FLAGS" && AR_FLAGS=cru
7295 if test -n "$ac_tool_prefix"; then
7296 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7297 set dummy ${ac_tool_prefix}strip; ac_word=$2
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7299 $as_echo_n "checking
for $ac_word...
" >&6; }
7300 if ${ac_cv_prog_STRIP+:} false; then :
7301 $as_echo_n "(cached
) " >&6
7303 if test -n "$STRIP"; then
7304 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7310 test -z "$as_dir" && as_dir=.
7311 for ac_exec_ext in '' $ac_executable_extensions; do
7312 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7313 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7314 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7323 STRIP=$ac_cv_prog_STRIP
7324 if test -n "$STRIP"; then
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
7326 $as_echo "$STRIP" >&6; }
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7329 $as_echo "no
" >&6; }
7334 if test -z "$ac_cv_prog_STRIP"; then
7336 # Extract the first word of "strip
", so it can be a program name with args.
7337 set dummy strip; ac_word=$2
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7339 $as_echo_n "checking
for $ac_word...
" >&6; }
7340 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7341 $as_echo_n "(cached
) " >&6
7343 if test -n "$ac_ct_STRIP"; then
7344 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7350 test -z "$as_dir" && as_dir=.
7351 for ac_exec_ext in '' $ac_executable_extensions; do
7352 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7353 ac_cv_prog_ac_ct_STRIP="strip
"
7354 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7363 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7364 if test -n "$ac_ct_STRIP"; then
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
7366 $as_echo "$ac_ct_STRIP" >&6; }
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7369 $as_echo "no
" >&6; }
7372 if test "x
$ac_ct_STRIP" = x; then
7375 case $cross_compiling:$ac_tool_warned in
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7378 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7379 ac_tool_warned=yes ;;
7384 STRIP="$ac_cv_prog_STRIP"
7387 test -z "$STRIP" && STRIP=:
7394 if test -n "$ac_tool_prefix"; then
7395 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7396 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7398 $as_echo_n "checking
for $ac_word...
" >&6; }
7399 if ${ac_cv_prog_RANLIB+:} false; then :
7400 $as_echo_n "(cached
) " >&6
7402 if test -n "$RANLIB"; then
7403 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7409 test -z "$as_dir" && as_dir=.
7410 for ac_exec_ext in '' $ac_executable_extensions; do
7411 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7412 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7413 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7422 RANLIB=$ac_cv_prog_RANLIB
7423 if test -n "$RANLIB"; then
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7425 $as_echo "$RANLIB" >&6; }
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7428 $as_echo "no
" >&6; }
7433 if test -z "$ac_cv_prog_RANLIB"; then
7434 ac_ct_RANLIB=$RANLIB
7435 # Extract the first word of "ranlib
", so it can be a program name with args.
7436 set dummy ranlib; ac_word=$2
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7438 $as_echo_n "checking
for $ac_word...
" >&6; }
7439 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7440 $as_echo_n "(cached
) " >&6
7442 if test -n "$ac_ct_RANLIB"; then
7443 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7449 test -z "$as_dir" && as_dir=.
7450 for ac_exec_ext in '' $ac_executable_extensions; do
7451 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7452 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7453 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7462 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7463 if test -n "$ac_ct_RANLIB"; then
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7465 $as_echo "$ac_ct_RANLIB" >&6; }
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7468 $as_echo "no
" >&6; }
7471 if test "x
$ac_ct_RANLIB" = x; then
7474 case $cross_compiling:$ac_tool_warned in
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7477 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7478 ac_tool_warned=yes ;;
7480 RANLIB=$ac_ct_RANLIB
7483 RANLIB="$ac_cv_prog_RANLIB"
7486 test -z "$RANLIB" && RANLIB=:
7487 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
7488 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
7489 RANLIB="$RANLIB $plugin_option"
7498 # Determine commands to create old-style static archives.
7499 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7500 old_postinstall_cmds='chmod 644 $oldlib'
7501 old_postuninstall_cmds=
7503 if test -n "$RANLIB"; then
7506 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7509 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7512 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7517 lock_old_archive_extraction=yes ;;
7519 lock_old_archive_extraction=no ;;
7560 # If no C compiler was specified, use CC.
7563 # If no C compiler flags were specified, use CFLAGS.
7564 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7566 # Allow CC to be a program name with arguments.
7570 # Check for command to grab the raw symbol name followed by C symbol from nm.
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7572 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7573 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7574 $as_echo_n "(cached
) " >&6
7577 # These are sane defaults that work on at least a few old systems.
7578 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7580 # Character class describing NM global symbol codes.
7581 symcode='[BCDEGRST]'
7583 # Regexp to match symbols that can be accessed directly from C.
7584 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7586 # Define system-specific variables.
7591 cygwin* | mingw* | pw32* | cegcc*)
7592 symcode='[ABCDGISTW]'
7595 if test "$host_cpu" = ia64; then
7596 symcode='[ABCDEGRST]'
7600 symcode='[BCDEGRST]'
7603 symcode='[BCDEGQRST]'
7614 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7622 # If we're using GNU nm, then use its standard symbol codes.
7623 case `$NM -V 2>&1` in
7624 *GNU* | *'with BFD'*)
7625 symcode='[ABCDGIRSTW]' ;;
7628 # Transform an extracted symbol line into a proper C declaration.
7629 # Some systems (esp. on ia64) link data and code symbols differently,
7630 # so use this general approach.
7631 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7633 # Transform an extracted symbol line into symbol name and symbol address
7634 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7635 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'"
7637 # Handle CRLF in mingw tool chain
7641 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7645 # Try without a prefix underscore, then with it.
7646 for ac_symprfx in "" "_
"; do
7648 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7649 symxfrm="\\1 $ac_symprfx\\2 \\2"
7651 # Write the raw and C identifiers.
7652 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7653 # Fake it for dumpbin and say T for any non-static function
7654 # and D for any global variable.
7655 # Also find C++ and __fastcall symbols from MSVC++,
7656 # which start with @ or ?.
7657 lt_cv_sys_global_symbol_pipe="$AWK '"\
7658 " {last_section=section; section=\$ 3};"\
7659 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7660 " \$ 0!~/External *\|/{next};"\
7661 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7662 " {if(hide[section]) next};"\
7663 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7664 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7665 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7666 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7667 " ' prfx
=^
$ac_symprfx"
7669 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7672 # Check to see that the pipe works correctly.
7676 cat > conftest.$ac_ext <<_LT_EOF
7681 void nm_test_func(void);
7682 void nm_test_func(void){}
7686 int main(){nm_test_var='a';nm_test_func();return(0);}
7689 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7690 (eval $ac_compile) 2>&5
7692 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7693 test $ac_status = 0; }; then
7694 # Now try to grab the symbols.
7696 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7697 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7699 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7700 test $ac_status = 0; } && test -s "$nlist"; then
7701 # Try sorting and uniquifying the output.
7702 if sort "$nlist" | uniq > "$nlist"T; then
7703 mv -f "$nlist"T "$nlist"
7708 # Make sure that we snagged all the symbols we need.
7709 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7710 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7711 cat <<_LT_EOF > conftest.$ac_ext
7717 # Now generate the symbol file.
7718 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7720 cat <<_LT_EOF >> conftest.$ac_ext
7722 /* The mapping between symbol names and symbols. */
7727 lt__PROGRAM__LTX_preloaded_symbols[] =
7729 { "@PROGRAM@
", (void *) 0 },
7731 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7732 cat <<\_LT_EOF >> conftest.$ac_ext
7736 /* This works around a problem in FreeBSD linker */
7737 #ifdef FREEBSD_WORKAROUND
7738 static const void *lt_preloaded_setup() {
7739 return lt__PROGRAM__LTX_preloaded_symbols;
7747 # Now try linking the two files.
7748 mv conftest.$ac_objext conftstm.$ac_objext
7749 lt_save_LIBS="$LIBS"
7750 lt_save_CFLAGS="$CFLAGS"
7751 LIBS="conftstm.
$ac_objext"
7752 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7753 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7754 (eval $ac_link) 2>&5
7756 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7757 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7760 LIBS="$lt_save_LIBS"
7761 CFLAGS="$lt_save_CFLAGS"
7763 echo "cannot
find nm_test_func
in $nlist" >&5
7766 echo "cannot
find nm_test_var
in $nlist" >&5
7769 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7772 echo "$progname: failed program was
:" >&5
7773 cat conftest.$ac_ext >&5
7775 rm -rf conftest* conftst*
7777 # Do not use the global_symbol_pipe unless it works.
7778 if test "$pipe_works" = yes; then
7781 lt_cv_sys_global_symbol_pipe=
7787 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7788 lt_cv_sys_global_symbol_to_cdecl=
7790 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7792 $as_echo "failed
" >&6; }
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7795 $as_echo "ok
" >&6; }
7819 # Check whether --enable-libtool-lock was given.
7820 if test "${enable_libtool_lock+set}" = set; then :
7821 enableval=$enable_libtool_lock;
7824 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7826 # Some flags need to be propagated to the compiler or linker for good
7830 # Find out which ABI we are using.
7831 echo 'int i;' > conftest.$ac_ext
7832 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7833 (eval $ac_compile) 2>&5
7835 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7836 test $ac_status = 0; }; then
7837 case `/usr/bin/file conftest.$ac_objext` in
7849 # Find out which ABI we are using.
7850 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7851 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7852 (eval $ac_compile) 2>&5
7854 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7855 test $ac_status = 0; }; then
7856 if test "$lt_cv_prog_gnu_ld" = yes; then
7857 case `/usr/bin/file conftest.$ac_objext` in
7859 LD="${LD-ld} -melf32bsmip"
7862 LD="${LD-ld} -melf32bmipn32"
7865 LD="${LD-ld} -melf64bmip"
7869 case `/usr/bin/file conftest.$ac_objext` in
7885 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7886 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7887 # Find out which ABI we are using.
7888 echo 'int i;' > conftest.$ac_ext
7889 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7890 (eval $ac_compile) 2>&5
7892 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7893 test $ac_status = 0; }; then
7894 case `/usr/bin/file conftest.o` in
7897 x86_64-*kfreebsd*-gnu)
7898 LD="${LD-ld} -m elf_i386_fbsd
"
7901 case `/usr/bin/file conftest.o` in
7903 LD="${LD-ld} -m elf32_x86_64
"
7906 LD="${LD-ld} -m elf_i386
"
7910 powerpc64le-*linux*)
7911 LD="${LD-ld} -m elf32lppclinux
"
7914 LD="${LD-ld} -m elf32ppclinux
"
7917 LD="${LD-ld} -m elf_s390
"
7920 LD="${LD-ld} -m elf32_sparc
"
7926 x86_64-*kfreebsd*-gnu)
7927 LD="${LD-ld} -m elf_x86_64_fbsd
"
7930 LD="${LD-ld} -m elf_x86_64
"
7933 LD="${LD-ld} -m elf64lppc
"
7936 LD="${LD-ld} -m elf64ppc
"
7938 s390*-*linux*|s390*-*tpf*)
7939 LD="${LD-ld} -m elf64_s390
"
7942 LD="${LD-ld} -m elf64_sparc
"
7952 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7953 SAVE_CFLAGS="$CFLAGS"
7954 CFLAGS="$CFLAGS -belf"
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7956 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7957 if ${lt_cv_cc_needs_belf+:} false; then :
7958 $as_echo_n "(cached
) " >&6
7961 ac_cpp='$CPP $CPPFLAGS'
7962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7967 /* end confdefs.h. */
7977 if ac_fn_c_try_link "$LINENO"; then :
7978 lt_cv_cc_needs_belf=yes
7980 lt_cv_cc_needs_belf=no
7982 rm -f core conftest.err conftest.$ac_objext \
7983 conftest$ac_exeext conftest.$ac_ext
7985 ac_cpp='$CPP $CPPFLAGS'
7986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7992 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7993 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7994 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7995 CFLAGS="$SAVE_CFLAGS"
7999 # Find out which ABI we are using.
8000 echo 'int i;' > conftest.$ac_ext
8001 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8002 (eval $ac_compile) 2>&5
8004 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8005 test $ac_status = 0; }; then
8006 case `/usr/bin/file conftest.o` in
8008 case $lt_cv_prog_gnu_ld in
8009 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
8011 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8023 need_locks="$enable_libtool_lock"
8027 rhapsody* | darwin*)
8028 if test -n "$ac_tool_prefix"; then
8029 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8030 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8032 $as_echo_n "checking
for $ac_word...
" >&6; }
8033 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8034 $as_echo_n "(cached
) " >&6
8036 if test -n "$DSYMUTIL"; then
8037 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8043 test -z "$as_dir" && as_dir=.
8044 for ac_exec_ext in '' $ac_executable_extensions; do
8045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8046 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8047 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8056 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8057 if test -n "$DSYMUTIL"; then
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8059 $as_echo "$DSYMUTIL" >&6; }
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8062 $as_echo "no
" >&6; }
8067 if test -z "$ac_cv_prog_DSYMUTIL"; then
8068 ac_ct_DSYMUTIL=$DSYMUTIL
8069 # Extract the first word of "dsymutil
", so it can be a program name with args.
8070 set dummy dsymutil; ac_word=$2
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8072 $as_echo_n "checking
for $ac_word...
" >&6; }
8073 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8074 $as_echo_n "(cached
) " >&6
8076 if test -n "$ac_ct_DSYMUTIL"; then
8077 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8083 test -z "$as_dir" && as_dir=.
8084 for ac_exec_ext in '' $ac_executable_extensions; do
8085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8086 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8087 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8096 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8097 if test -n "$ac_ct_DSYMUTIL"; then
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8099 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8102 $as_echo "no
" >&6; }
8105 if test "x
$ac_ct_DSYMUTIL" = x; then
8108 case $cross_compiling:$ac_tool_warned in
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8111 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8112 ac_tool_warned=yes ;;
8114 DSYMUTIL=$ac_ct_DSYMUTIL
8117 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8120 if test -n "$ac_tool_prefix"; then
8121 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8122 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8124 $as_echo_n "checking
for $ac_word...
" >&6; }
8125 if ${ac_cv_prog_NMEDIT+:} false; then :
8126 $as_echo_n "(cached
) " >&6
8128 if test -n "$NMEDIT"; then
8129 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8135 test -z "$as_dir" && as_dir=.
8136 for ac_exec_ext in '' $ac_executable_extensions; do
8137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8138 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8139 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8148 NMEDIT=$ac_cv_prog_NMEDIT
8149 if test -n "$NMEDIT"; then
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8151 $as_echo "$NMEDIT" >&6; }
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8154 $as_echo "no
" >&6; }
8159 if test -z "$ac_cv_prog_NMEDIT"; then
8160 ac_ct_NMEDIT=$NMEDIT
8161 # Extract the first word of "nmedit
", so it can be a program name with args.
8162 set dummy nmedit; ac_word=$2
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8164 $as_echo_n "checking
for $ac_word...
" >&6; }
8165 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8166 $as_echo_n "(cached
) " >&6
8168 if test -n "$ac_ct_NMEDIT"; then
8169 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8175 test -z "$as_dir" && as_dir=.
8176 for ac_exec_ext in '' $ac_executable_extensions; do
8177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8178 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8179 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8188 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8189 if test -n "$ac_ct_NMEDIT"; then
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8191 $as_echo "$ac_ct_NMEDIT" >&6; }
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8194 $as_echo "no
" >&6; }
8197 if test "x
$ac_ct_NMEDIT" = x; then
8200 case $cross_compiling:$ac_tool_warned in
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8203 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8204 ac_tool_warned=yes ;;
8206 NMEDIT=$ac_ct_NMEDIT
8209 NMEDIT="$ac_cv_prog_NMEDIT"
8212 if test -n "$ac_tool_prefix"; then
8213 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8214 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8216 $as_echo_n "checking
for $ac_word...
" >&6; }
8217 if ${ac_cv_prog_LIPO+:} false; then :
8218 $as_echo_n "(cached
) " >&6
8220 if test -n "$LIPO"; then
8221 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8227 test -z "$as_dir" && as_dir=.
8228 for ac_exec_ext in '' $ac_executable_extensions; do
8229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8230 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8231 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8240 LIPO=$ac_cv_prog_LIPO
8241 if test -n "$LIPO"; then
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8243 $as_echo "$LIPO" >&6; }
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8246 $as_echo "no
" >&6; }
8251 if test -z "$ac_cv_prog_LIPO"; then
8253 # Extract the first word of "lipo
", so it can be a program name with args.
8254 set dummy lipo; ac_word=$2
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8256 $as_echo_n "checking
for $ac_word...
" >&6; }
8257 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8258 $as_echo_n "(cached
) " >&6
8260 if test -n "$ac_ct_LIPO"; then
8261 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8267 test -z "$as_dir" && as_dir=.
8268 for ac_exec_ext in '' $ac_executable_extensions; do
8269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8270 ac_cv_prog_ac_ct_LIPO="lipo
"
8271 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8280 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8281 if test -n "$ac_ct_LIPO"; then
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8283 $as_echo "$ac_ct_LIPO" >&6; }
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8286 $as_echo "no
" >&6; }
8289 if test "x
$ac_ct_LIPO" = x; then
8292 case $cross_compiling:$ac_tool_warned in
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8295 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8296 ac_tool_warned=yes ;;
8301 LIPO="$ac_cv_prog_LIPO"
8304 if test -n "$ac_tool_prefix"; then
8305 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8306 set dummy ${ac_tool_prefix}otool; ac_word=$2
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8308 $as_echo_n "checking
for $ac_word...
" >&6; }
8309 if ${ac_cv_prog_OTOOL+:} false; then :
8310 $as_echo_n "(cached
) " >&6
8312 if test -n "$OTOOL"; then
8313 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8319 test -z "$as_dir" && as_dir=.
8320 for ac_exec_ext in '' $ac_executable_extensions; do
8321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8322 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8323 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8332 OTOOL=$ac_cv_prog_OTOOL
8333 if test -n "$OTOOL"; then
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8335 $as_echo "$OTOOL" >&6; }
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8338 $as_echo "no
" >&6; }
8343 if test -z "$ac_cv_prog_OTOOL"; then
8345 # Extract the first word of "otool
", so it can be a program name with args.
8346 set dummy otool; ac_word=$2
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8348 $as_echo_n "checking
for $ac_word...
" >&6; }
8349 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8350 $as_echo_n "(cached
) " >&6
8352 if test -n "$ac_ct_OTOOL"; then
8353 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8359 test -z "$as_dir" && as_dir=.
8360 for ac_exec_ext in '' $ac_executable_extensions; do
8361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8362 ac_cv_prog_ac_ct_OTOOL="otool
"
8363 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8372 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8373 if test -n "$ac_ct_OTOOL"; then
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8375 $as_echo "$ac_ct_OTOOL" >&6; }
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8378 $as_echo "no
" >&6; }
8381 if test "x
$ac_ct_OTOOL" = x; then
8384 case $cross_compiling:$ac_tool_warned in
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8387 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8388 ac_tool_warned=yes ;;
8393 OTOOL="$ac_cv_prog_OTOOL"
8396 if test -n "$ac_tool_prefix"; then
8397 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8398 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8400 $as_echo_n "checking
for $ac_word...
" >&6; }
8401 if ${ac_cv_prog_OTOOL64+:} false; then :
8402 $as_echo_n "(cached
) " >&6
8404 if test -n "$OTOOL64"; then
8405 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8411 test -z "$as_dir" && as_dir=.
8412 for ac_exec_ext in '' $ac_executable_extensions; do
8413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8414 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8415 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8424 OTOOL64=$ac_cv_prog_OTOOL64
8425 if test -n "$OTOOL64"; then
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8427 $as_echo "$OTOOL64" >&6; }
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8430 $as_echo "no
" >&6; }
8435 if test -z "$ac_cv_prog_OTOOL64"; then
8436 ac_ct_OTOOL64=$OTOOL64
8437 # Extract the first word of "otool64
", so it can be a program name with args.
8438 set dummy otool64; ac_word=$2
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8440 $as_echo_n "checking
for $ac_word...
" >&6; }
8441 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8442 $as_echo_n "(cached
) " >&6
8444 if test -n "$ac_ct_OTOOL64"; then
8445 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8451 test -z "$as_dir" && as_dir=.
8452 for ac_exec_ext in '' $ac_executable_extensions; do
8453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8454 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8455 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8464 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8465 if test -n "$ac_ct_OTOOL64"; then
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8467 $as_echo "$ac_ct_OTOOL64" >&6; }
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8470 $as_echo "no
" >&6; }
8473 if test "x
$ac_ct_OTOOL64" = x; then
8476 case $cross_compiling:$ac_tool_warned in
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8479 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8480 ac_tool_warned=yes ;;
8482 OTOOL64=$ac_ct_OTOOL64
8485 OTOOL64="$ac_cv_prog_OTOOL64"
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8515 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8516 if ${lt_cv_apple_cc_single_mod+:} false; then :
8517 $as_echo_n "(cached
) " >&6
8519 lt_cv_apple_cc_single_mod=no
8520 if test -z "${LT_MULTI_MODULE}"; then
8521 # By default we will add the -single_module flag. You can override
8522 # by either setting the environment variable LT_MULTI_MODULE
8523 # non-empty at configure time, or by adding -multi_module to the
8525 rm -rf libconftest.dylib*
8526 echo "int foo
(void
){return 1;}" > conftest.c
8527 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8528 -dynamiclib -Wl,-single_module conftest.c
" >&5
8529 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8530 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8532 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8533 lt_cv_apple_cc_single_mod=yes
8535 cat conftest.err >&5
8537 rm -rf libconftest.dylib*
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8542 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8544 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8545 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8546 $as_echo_n "(cached
) " >&6
8548 lt_cv_ld_exported_symbols_list=no
8549 save_LDFLAGS=$LDFLAGS
8550 echo "_main
" > conftest.sym
8551 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8553 /* end confdefs.h. */
8563 if ac_fn_c_try_link "$LINENO"; then :
8564 lt_cv_ld_exported_symbols_list=yes
8566 lt_cv_ld_exported_symbols_list=no
8568 rm -f core conftest.err conftest.$ac_objext \
8569 conftest$ac_exeext conftest.$ac_ext
8570 LDFLAGS="$save_LDFLAGS"
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8574 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8576 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8577 if ${lt_cv_ld_force_load+:} false; then :
8578 $as_echo_n "(cached
) " >&6
8580 lt_cv_ld_force_load=no
8581 cat > conftest.c << _LT_EOF
8582 int forced_loaded() { return 2;}
8584 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8585 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8586 echo "$AR cru libconftest.a conftest.o
" >&5
8587 $AR cru libconftest.a conftest.o 2>&5
8588 cat > conftest.c << _LT_EOF
8589 int main() { return 0;}
8591 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8592 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8594 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8595 lt_cv_ld_force_load=yes
8597 cat conftest.err >&5
8599 rm -f conftest.err libconftest.a conftest conftest.c
8600 rm -rf conftest.dSYM
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8604 $as_echo "$lt_cv_ld_force_load" >&6; }
8606 rhapsody* | darwin1.[012])
8607 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8609 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8610 darwin*) # darwin 5.x on
8611 # if running on 10.5 or later, the deployment target defaults
8612 # to the OS version, if on x86, and 10.4, the deployment
8613 # target defaults to 10.4. Don't you love it?
8614 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8615 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8616 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8618 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8620 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8624 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8625 _lt_dar_single_mod='$single_module'
8627 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8628 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8630 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8632 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8633 _lt_dsymutil='~$DSYMUTIL $lib || :'
8640 for ac_header in dlfcn.h
8642 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8644 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
8645 cat >>confdefs.h <<_ACEOF
8646 #define HAVE_DLFCN_H 1
8669 # Check whether --enable-static was given.
8670 if test "${enable_static+set}" = set; then :
8671 enableval=$enable_static; p=${PACKAGE-default}
8673 yes) enable_static=yes ;;
8674 no) enable_static=no ;;
8677 # Look at the argument we got. We use all the common list separators.
8678 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8679 for pkg in $enableval; do
8681 if test "X
$pkg" = "X
$p"; then
8701 # Check whether --with-pic was given.
8702 if test "${with_pic+set}" = set; then :
8703 withval=$with_pic; pic_mode="$withval"
8709 test -z "$pic_mode" && pic_mode=default
8717 # Check whether --enable-fast-install was given.
8718 if test "${enable_fast_install+set}" = set; then :
8719 enableval=$enable_fast_install; p=${PACKAGE-default}
8721 yes) enable_fast_install=yes ;;
8722 no) enable_fast_install=no ;;
8724 enable_fast_install=no
8725 # Look at the argument we got. We use all the common list separators.
8726 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8727 for pkg in $enableval; do
8729 if test "X
$pkg" = "X
$p"; then
8730 enable_fast_install=yes
8737 enable_fast_install=yes
8750 # This can be used to rebuild libtool when needed
8751 LIBTOOL_DEPS="$ltmain"
8753 # Always use our own libtool.
8754 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8781 test -z "$LN_S" && LN_S="ln -s"
8796 if test -n "${ZSH_VERSION+set}" ; then
8797 setopt NO_GLOB_SUBST
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8801 $as_echo_n "checking
for objdir...
" >&6; }
8802 if ${lt_cv_objdir+:} false; then :
8803 $as_echo_n "(cached
) " >&6
8805 rm -f .libs 2>/dev/null
8806 mkdir .libs 2>/dev/null
8807 if test -d .libs; then
8810 # MS-DOS does not allow filenames that begin with a dot.
8813 rmdir .libs 2>/dev/null
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8816 $as_echo "$lt_cv_objdir" >&6; }
8817 objdir=$lt_cv_objdir
8823 cat >>confdefs.h <<_ACEOF
8824 #define LT_OBJDIR "$lt_cv_objdir/"
8832 # AIX sometimes has problems with the GCC collect2 program. For some
8833 # reason, if we set the COLLECT_NAMES environment variable, the problems
8834 # vanish in a puff of smoke.
8835 if test "X
${COLLECT_NAMES+set}" != Xset; then
8837 export COLLECT_NAMES
8844 can_build_shared=yes
8846 # All known linkers require a `.a' archive for static linking (except MSVC,
8847 # which needs '.lib').
8850 with_gnu_ld="$lt_cv_prog_gnu_ld"
8853 old_CFLAGS="$CFLAGS"
8855 # Set sane defaults for various variables
8856 test -z "$CC" && CC=cc
8857 test -z "$LTCC" && LTCC=$CC
8858 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8859 test -z "$LD" && LD=ld
8860 test -z "$ac_objext" && ac_objext=o
8862 for cc_temp in $compiler""; do
8864 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8865 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8870 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
8873 # Only perform the check for file, if the check method requires it
8874 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8875 case $deplibs_check_method in
8877 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
8879 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
8880 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8881 $as_echo_n "(cached
) " >&6
8885 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8888 lt_save_MAGIC_CMD="$MAGIC_CMD"
8889 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8890 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8891 for ac_dir in $ac_dummy; do
8893 test -z "$ac_dir" && ac_dir=.
8894 if test -f $ac_dir/${ac_tool_prefix}file; then
8895 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8896 if test -n "$file_magic_test_file"; then
8897 case $deplibs_check_method in
8899 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8900 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8901 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8902 $EGREP "$file_magic_regex" > /dev/null; then
8907 *** Warning: the command libtool uses to detect shared libraries,
8908 *** $file_magic_cmd, produces output that libtool cannot recognize.
8909 *** The result is that libtool may fail to recognize shared libraries
8910 *** as such. This will affect the creation of libtool libraries that
8911 *** depend on shared libraries, but programs linked with such libtool
8912 *** libraries will work regardless of this problem. Nevertheless, you
8913 *** may want to report the problem to your system manager and/or to
8914 *** bug-libtool@gnu.org
8924 MAGIC_CMD="$lt_save_MAGIC_CMD"
8929 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8930 if test -n "$MAGIC_CMD"; then
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8932 $as_echo "$MAGIC_CMD" >&6; }
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8935 $as_echo "no
" >&6; }
8942 if test -z "$lt_cv_path_MAGIC_CMD"; then
8943 if test -n "$ac_tool_prefix"; then
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8945 $as_echo_n "checking
for file...
" >&6; }
8946 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8947 $as_echo_n "(cached
) " >&6
8951 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8954 lt_save_MAGIC_CMD="$MAGIC_CMD"
8955 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8956 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8957 for ac_dir in $ac_dummy; do
8959 test -z "$ac_dir" && ac_dir=.
8960 if test -f $ac_dir/file; then
8961 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8962 if test -n "$file_magic_test_file"; then
8963 case $deplibs_check_method in
8965 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8966 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8967 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8968 $EGREP "$file_magic_regex" > /dev/null; then
8973 *** Warning: the command libtool uses to detect shared libraries,
8974 *** $file_magic_cmd, produces output that libtool cannot recognize.
8975 *** The result is that libtool may fail to recognize shared libraries
8976 *** as such. This will affect the creation of libtool libraries that
8977 *** depend on shared libraries, but programs linked with such libtool
8978 *** libraries will work regardless of this problem. Nevertheless, you
8979 *** may want to report the problem to your system manager and/or to
8980 *** bug-libtool@gnu.org
8990 MAGIC_CMD="$lt_save_MAGIC_CMD"
8995 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8996 if test -n "$MAGIC_CMD"; then
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8998 $as_echo "$MAGIC_CMD" >&6; }
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9001 $as_echo "no
" >&6; }
9014 # Use C for the default configuration in the libtool script
9018 ac_cpp='$CPP $CPPFLAGS'
9019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9024 # Source file extension for C test sources.
9027 # Object file extension for compiled C test sources.
9031 # Code to be used in simple compile tests
9032 lt_simple_compile_test_code="int some_variable
= 0;"
9034 # Code to be used in simple link tests
9035 lt_simple_link_test_code='int main(){return(0);}'
9043 # If no C compiler was specified, use CC.
9046 # If no C compiler flags were specified, use CFLAGS.
9047 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9049 # Allow CC to be a program name with arguments.
9052 # Save the default compiler, since it gets overwritten when the other
9053 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9054 compiler_DEFAULT=$CC
9056 # save warnings/boilerplate of simple test code
9057 ac_outfile=conftest.$ac_objext
9058 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9059 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9060 _lt_compiler_boilerplate=`cat conftest.err`
9063 ac_outfile=conftest.$ac_objext
9064 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9065 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9066 _lt_linker_boilerplate=`cat conftest.err`
9071 ## There is no encapsulation within the following macros, do not change
9072 ## the running order or otherwise move them around unless you know exactly
9073 ## what you are doing...
9074 if test -n "$compiler"; then
9076 lt_prog_compiler_no_builtin_flag=
9078 if test "$GCC" = yes; then
9079 case $cc_basename in
9081 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9083 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
9087 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
9088 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9089 $as_echo_n "(cached
) " >&6
9091 lt_cv_prog_compiler_rtti_exceptions=no
9092 ac_outfile=conftest.$ac_objext
9093 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9094 lt_compiler_flag="-fno-rtti -fno-exceptions"
9095 # Insert the option either (1) after the last *FLAGS variable, or
9096 # (2) before a word containing "conftest.
", or (3) at the end.
9097 # Note that $ac_compile itself does not contain backslashes and begins
9098 # with a dollar sign (not a hyphen), so the echo should work correctly.
9099 # The option is referenced via a variable to avoid confusing sed.
9100 lt_compile=`echo "$ac_compile" | $SED \
9101 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9102 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9103 -e 's:$: $lt_compiler_flag:'`
9104 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9105 (eval "$lt_compile" 2>conftest.err)
9107 cat conftest.err >&5
9108 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9109 if (exit $ac_status) && test -s "$ac_outfile"; then
9110 # The compiler can only warn and ignore the option if not recognized
9111 # So say no if there are warnings other than the usual output.
9112 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9113 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9114 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9115 lt_cv_prog_compiler_rtti_exceptions=yes
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
9122 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9124 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9125 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9137 lt_prog_compiler_wl=
9138 lt_prog_compiler_pic=
9139 lt_prog_compiler_static=
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
9142 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
9144 if test "$GCC" = yes; then
9145 lt_prog_compiler_wl='-Wl,'
9146 lt_prog_compiler_static='-static'
9150 # All AIX code is PIC.
9151 if test "$host_cpu" = ia64; then
9152 # AIX 5 now supports IA64 processor
9153 lt_prog_compiler_static='-Bstatic'
9155 lt_prog_compiler_pic='-fPIC'
9161 # see comment about AmigaOS4 .so support
9162 lt_prog_compiler_pic='-fPIC'
9165 # FIXME: we need at least 68020 code to build shared libraries, but
9166 # adding the `-m68020' flag to GCC prevents building anything better,
9168 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9173 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9174 # PIC is the default for these OSes.
9177 mingw* | cygwin* | pw32* | os2* | cegcc*)
9178 # This hack is so that the source file can tell whether it is being
9179 # built for inclusion in a dll (and should export symbols for example).
9180 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9181 # (--disable-auto-import) libraries
9182 lt_prog_compiler_pic='-DDLL_EXPORT'
9185 darwin* | rhapsody*)
9186 # PIC is the default on this platform
9187 # Common symbols not allowed in MH_DYLIB files
9188 lt_prog_compiler_pic='-fno-common'
9192 # PIC is the default for Haiku.
9193 # The "-static" flag exists, but is broken.
9194 lt_prog_compiler_static=
9198 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9199 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9200 # sets the default TLS model and affects inlining.
9206 lt_prog_compiler_pic='-fPIC'
9212 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9213 # Instead, we relocate shared libraries at runtime.
9217 # Just because we use GCC doesn't mean we suddenly get shared libraries
9218 # on systems that don't support them.
9219 lt_prog_compiler_can_build_shared=no
9224 # QNX uses GNU C++, but need to define -shared option too, otherwise
9226 lt_prog_compiler_pic='-fPIC -shared'
9230 if test -d /usr/nec; then
9231 lt_prog_compiler_pic=-Kconform_pic
9236 lt_prog_compiler_pic='-fPIC'
9240 case $cc_basename in
9241 nvcc*) # Cuda Compiler Driver 2.2
9242 lt_prog_compiler_wl='-Xlinker '
9243 lt_prog_compiler_pic='-Xcompiler -fPIC'
9247 # PORTME Check for flag to pass linker flags through the system compiler.
9250 lt_prog_compiler_wl='-Wl,'
9251 if test "$host_cpu" = ia64; then
9252 # AIX 5 now supports IA64 processor
9253 lt_prog_compiler_static='-Bstatic'
9255 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9259 mingw* | cygwin* | pw32* | os2* | cegcc*)
9260 # This hack is so that the source file can tell whether it is being
9261 # built for inclusion in a dll (and should export symbols for example).
9262 lt_prog_compiler_pic='-DDLL_EXPORT'
9265 hpux9* | hpux10* | hpux11*)
9266 lt_prog_compiler_wl='-Wl,'
9267 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9274 lt_prog_compiler_pic='+Z'
9277 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9278 lt_prog_compiler_static='${wl}-a ${wl}archive'
9281 irix5* | irix6* | nonstopux*)
9282 lt_prog_compiler_wl='-Wl,'
9283 # PIC (with -KPIC) is the default.
9284 lt_prog_compiler_static='-non_shared'
9287 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9288 case $cc_basename in
9289 # old Intel for x86_64 which still supported -KPIC.
9291 lt_prog_compiler_wl='-Wl,'
9292 lt_prog_compiler_pic='-KPIC'
9293 lt_prog_compiler_static='-static'
9295 # icc used to be incompatible with GCC.
9296 # ICC 10 doesn't accept -KPIC any more.
9298 lt_prog_compiler_wl='-Wl,'
9299 lt_prog_compiler_pic='-fPIC'
9300 lt_prog_compiler_static='-static'
9302 # Lahey Fortran 8.1.
9304 lt_prog_compiler_wl='-Wl,'
9305 lt_prog_compiler_pic='--shared'
9306 lt_prog_compiler_static='--static'
9308 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9309 # Portland Group compilers (*not* the Pentium gcc compiler,
9310 # which looks to be a dead project)
9311 lt_prog_compiler_wl='-Wl,'
9312 lt_prog_compiler_pic='-fpic'
9313 lt_prog_compiler_static='-Bstatic'
9316 lt_prog_compiler_wl='-Wl,'
9317 # All Alpha code is PIC.
9318 lt_prog_compiler_static='-non_shared'
9320 xl* | bgxl* | bgf* | mpixl*)
9321 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9322 lt_prog_compiler_wl='-Wl,'
9323 lt_prog_compiler_pic='-qpic'
9324 lt_prog_compiler_static='-qstaticlink'
9327 case `$CC -V 2>&1 | sed 5q` in
9328 *Sun\ F* | *Sun*Fortran*)
9329 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9330 lt_prog_compiler_pic='-KPIC'
9331 lt_prog_compiler_static='-Bstatic'
9332 lt_prog_compiler_wl=''
9336 lt_prog_compiler_pic='-KPIC'
9337 lt_prog_compiler_static='-Bstatic'
9338 lt_prog_compiler_wl='-Wl,'
9346 lt_prog_compiler_pic='-KPIC'
9347 lt_prog_compiler_static='-Bstatic'
9351 # QNX uses GNU C++, but need to define -shared option too, otherwise
9353 lt_prog_compiler_pic='-fPIC -shared'
9356 osf3* | osf4* | osf5*)
9357 lt_prog_compiler_wl='-Wl,'
9358 # All OSF/1 code is PIC.
9359 lt_prog_compiler_static='-non_shared'
9363 lt_prog_compiler_static='-non_shared'
9367 lt_prog_compiler_pic='-KPIC'
9368 lt_prog_compiler_static='-Bstatic'
9369 case $cc_basename in
9371 lt_prog_compiler_wl='-Qoption ld ';;
9373 lt_prog_compiler_wl='-Wl,';;
9378 lt_prog_compiler_wl='-Qoption ld '
9379 lt_prog_compiler_pic='-PIC'
9380 lt_prog_compiler_static='-Bstatic'
9383 sysv4 | sysv4.2uw2* | sysv4.3*)
9384 lt_prog_compiler_wl='-Wl,'
9385 lt_prog_compiler_pic='-KPIC'
9386 lt_prog_compiler_static='-Bstatic'
9390 if test -d /usr/nec ;then
9391 lt_prog_compiler_pic='-Kconform_pic'
9392 lt_prog_compiler_static='-Bstatic'
9396 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9397 lt_prog_compiler_wl='-Wl,'
9398 lt_prog_compiler_pic='-KPIC'
9399 lt_prog_compiler_static='-Bstatic'
9403 lt_prog_compiler_wl='-Wl,'
9404 lt_prog_compiler_can_build_shared=no
9408 lt_prog_compiler_pic='-pic'
9409 lt_prog_compiler_static='-Bstatic'
9413 lt_prog_compiler_can_build_shared=no
9419 # For platforms which do not support PIC, -DPIC is meaningless:
9421 lt_prog_compiler_pic=
9424 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
9428 $as_echo "$lt_prog_compiler_pic" >&6; }
9436 # Check to make sure the PIC flag actually works.
9438 if test -n "$lt_prog_compiler_pic"; then
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
9440 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
9441 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9442 $as_echo_n "(cached
) " >&6
9444 lt_cv_prog_compiler_pic_works=no
9445 ac_outfile=conftest.$ac_objext
9446 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9447 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9448 # Insert the option either (1) after the last *FLAGS variable, or
9449 # (2) before a word containing "conftest.
", or (3) at the end.
9450 # Note that $ac_compile itself does not contain backslashes and begins
9451 # with a dollar sign (not a hyphen), so the echo should work correctly.
9452 # The option is referenced via a variable to avoid confusing sed.
9453 lt_compile=`echo "$ac_compile" | $SED \
9454 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9455 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9456 -e 's:$: $lt_compiler_flag:'`
9457 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9458 (eval "$lt_compile" 2>conftest.err)
9460 cat conftest.err >&5
9461 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9462 if (exit $ac_status) && test -s "$ac_outfile"; then
9463 # The compiler can only warn and ignore the option if not recognized
9464 # So say no if there are warnings other than the usual output.
9465 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9466 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9467 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9468 lt_cv_prog_compiler_pic_works=yes
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9475 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9477 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9478 case $lt_prog_compiler_pic in
9480 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9483 lt_prog_compiler_pic=
9484 lt_prog_compiler_can_build_shared=no
9495 # Check to make sure the static flag actually works.
9497 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9499 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9500 if ${lt_cv_prog_compiler_static_works+:} false; then :
9501 $as_echo_n "(cached
) " >&6
9503 lt_cv_prog_compiler_static_works=no
9504 save_LDFLAGS="$LDFLAGS"
9505 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9506 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9507 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9508 # The linker can only warn and ignore the option if not recognized
9509 # So say no if there are warnings
9510 if test -s conftest.err; then
9511 # Append any errors to the config.log.
9512 cat conftest.err 1>&5
9513 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9514 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9515 if diff conftest.exp conftest.er2 >/dev/null; then
9516 lt_cv_prog_compiler_static_works=yes
9519 lt_cv_prog_compiler_static_works=yes
9523 LDFLAGS="$save_LDFLAGS"
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9527 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9529 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9532 lt_prog_compiler_static=
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9542 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9543 if ${lt_cv_prog_compiler_c_o+:} false; then :
9544 $as_echo_n "(cached
) " >&6
9546 lt_cv_prog_compiler_c_o=no
9547 $RM -r conftest 2>/dev/null
9551 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9553 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9554 # Insert the option either (1) after the last *FLAGS variable, or
9555 # (2) before a word containing "conftest.
", or (3) at the end.
9556 # Note that $ac_compile itself does not contain backslashes and begins
9557 # with a dollar sign (not a hyphen), so the echo should work correctly.
9558 lt_compile=`echo "$ac_compile" | $SED \
9559 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9560 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9561 -e 's:$: $lt_compiler_flag:'`
9562 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9563 (eval "$lt_compile" 2>out/conftest.err)
9565 cat out/conftest.err >&5
9566 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9567 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9569 # The compiler can only warn and ignore the option if not recognized
9570 # So say no if there are warnings
9571 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9572 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9573 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9574 lt_cv_prog_compiler_c_o=yes
9579 # SGI C++ compiler will create directory out/ii_files/ for
9580 # template instantiation
9581 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9582 $RM out/* && rmdir out
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9589 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9597 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9598 if ${lt_cv_prog_compiler_c_o+:} false; then :
9599 $as_echo_n "(cached
) " >&6
9601 lt_cv_prog_compiler_c_o=no
9602 $RM -r conftest 2>/dev/null
9606 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9608 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9609 # Insert the option either (1) after the last *FLAGS variable, or
9610 # (2) before a word containing "conftest.
", or (3) at the end.
9611 # Note that $ac_compile itself does not contain backslashes and begins
9612 # with a dollar sign (not a hyphen), so the echo should work correctly.
9613 lt_compile=`echo "$ac_compile" | $SED \
9614 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9615 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9616 -e 's:$: $lt_compiler_flag:'`
9617 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9618 (eval "$lt_compile" 2>out/conftest.err)
9620 cat out/conftest.err >&5
9621 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9622 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9624 # The compiler can only warn and ignore the option if not recognized
9625 # So say no if there are warnings
9626 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9627 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9628 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9629 lt_cv_prog_compiler_c_o=yes
9634 # SGI C++ compiler will create directory out/ii_files/ for
9635 # template instantiation
9636 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9637 $RM out/* && rmdir out
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9644 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9649 hard_links="nottested
"
9650 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9651 # do not overwrite the value of need_locks provided by the user
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9653 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9656 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9658 ln conftest.a conftest.b 2>&5 || hard_links=no
9659 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9661 $as_echo "$hard_links" >&6; }
9662 if test "$hard_links" = no; then
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
9664 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9677 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9680 allow_undefined_flag=
9681 always_export_symbols=no
9683 archive_expsym_cmds=
9684 compiler_needs_object=no
9685 enable_shared_with_static_runtimes=no
9686 export_dynamic_flag_spec=
9687 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9688 hardcode_automatic=no
9690 hardcode_direct_absolute=no
9691 hardcode_libdir_flag_spec=
9692 hardcode_libdir_flag_spec_ld=
9693 hardcode_libdir_separator=
9695 hardcode_shlibpath_var=unsupported
9697 link_all_deplibs=unknown
9700 old_archive_from_new_cmds=
9701 old_archive_from_expsyms_cmds=
9702 thread_safe_flag_spec=
9703 whole_archive_flag_spec=
9704 # include_expsyms should be a list of space-separated symbols to be *always*
9705 # included in the symbol list
9707 # exclude_expsyms can be an extended regexp of symbols to exclude
9708 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9709 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9710 # as well as any symbol that contains `d'.
9711 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9712 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9713 # platforms (ab)use it in PIC code, but their linkers get confused if
9714 # the symbol is explicitly referenced. Since portable code cannot
9715 # rely on this symbol name, it's probably fine to never include it in
9716 # preloaded symbol tables.
9717 # Exclude shared library initialization/finalization symbols.
9718 extract_expsyms_cmds=
9721 cygwin* | mingw* | pw32* | cegcc*)
9722 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9723 # When not using gcc, we currently assume that we are using
9724 # Microsoft Visual C++.
9725 if test "$GCC" != yes; then
9730 # we just hope/assume this is gcc and not c89 (= MSVC++)
9740 # On some targets, GNU ld is compatible enough with the native linker
9741 # that we're better off using the native interface for both.
9742 lt_use_gnu_ld_interface=no
9743 if test "$with_gnu_ld" = yes; then
9746 # The AIX port of GNU ld has always aspired to compatibility
9747 # with the native linker. However, as the warning in the GNU ld
9748 # block says, versions before 2.19.5* couldn't really create working
9749 # shared libraries, regardless of the interface used.
9750 case `$LD -v 2>&1` in
9751 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9752 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9753 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9755 lt_use_gnu_ld_interface=yes
9760 lt_use_gnu_ld_interface=yes
9765 if test "$lt_use_gnu_ld_interface" = yes; then
9766 # If archive_cmds runs LD, not CC, wlarc should be empty
9769 # Set some defaults for GNU ld with shared library support. These
9770 # are reset later if shared libraries are not supported. Putting them
9771 # here allows them to be overridden if necessary.
9772 runpath_var=LD_RUN_PATH
9773 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9774 export_dynamic_flag_spec='${wl}--export-dynamic'
9775 # ancient GNU ld didn't support --whole-archive et. al.
9776 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9777 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9779 whole_archive_flag_spec=
9781 supports_anon_versioning=no
9782 case `$LD -v 2>&1` in
9783 *GNU\ gold*) supports_anon_versioning=yes ;;
9784 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9785 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9786 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9787 *\ 2.11.*) ;; # other 2.11 versions
9788 *) supports_anon_versioning=yes ;;
9791 # See if GNU ld supports shared libraries.
9794 # On AIX/PPC, the GNU linker is very broken
9795 if test "$host_cpu" != ia64; then
9799 *** Warning: the GNU linker, at least up to release 2.19, is reported
9800 *** to be unable to reliably create shared libraries on AIX.
9801 *** Therefore, libtool is disabling shared libraries support. If you
9802 *** really care for shared libraries, you may want to install binutils
9803 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9804 *** You will then need to restart the configuration process.
9813 # see comment about AmigaOS4 .so support
9814 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9815 archive_expsym_cmds=''
9818 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)'
9819 hardcode_libdir_flag_spec
='-L$libdir'
9820 hardcode_minus_L
=yes
9826 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9827 allow_undefined_flag
=unsupported
9828 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9829 # support --undefined. This deserves some investigation. FIXME
9830 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9836 cygwin
* | mingw
* | pw32
* | cegcc
*)
9837 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9838 # as there is no search path for DLLs.
9839 hardcode_libdir_flag_spec
='-L$libdir'
9840 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9841 allow_undefined_flag
=unsupported
9842 always_export_symbols
=no
9843 enable_shared_with_static_runtimes
=yes
9844 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9846 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9847 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9848 # If the export-symbols file already is a .def file (1st line
9849 # is EXPORTS), use it as is; otherwise, prepend...
9850 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9851 cp $export_symbols $output_objdir/$soname.def;
9853 echo EXPORTS > $output_objdir/$soname.def;
9854 cat $export_symbols >> $output_objdir/$soname.def;
9856 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9863 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9864 link_all_deplibs
=yes
9869 hardcode_shlibpath_var
=no
9870 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9871 export_dynamic_flag_spec
='${wl}-E'
9872 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9873 # Instead, shared libraries are loaded at an image base (0x10000000 by
9874 # default) and relocated if they conflict, which is a slow very memory
9875 # consuming and fragmenting process. To avoid this, we pick a random,
9876 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9877 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9878 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9879 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'
9882 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9884 if test "$host_os" = linux-dietlibc
; then
9885 case $cc_basename in
9886 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9889 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9890 && test "$tmp_diet" = no
9892 tmp_addflag
=' $pic_flag'
9893 tmp_sharedflag
='-shared'
9894 case $cc_basename,$host_cpu in
9895 pgcc
*) # Portland Group C compiler
9896 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'
9897 tmp_addflag
=' $pic_flag'
9899 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9900 # Portland Group f77 and f90 compilers
9901 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'
9902 tmp_addflag
=' $pic_flag -Mnomain' ;;
9903 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9904 tmp_addflag
=' -i_dynamic' ;;
9905 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9906 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9907 ifc
* | ifort
*) # Intel Fortran compiler
9908 tmp_addflag
=' -nofor_main' ;;
9909 lf95
*) # Lahey Fortran 8.1
9910 whole_archive_flag_spec
=
9911 tmp_sharedflag
='--shared' ;;
9912 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9913 tmp_sharedflag
='-qmkshrobj'
9915 nvcc
*) # Cuda Compiler Driver 2.2
9916 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'
9917 compiler_needs_object
=yes
9920 case `$CC -V 2>&1 | sed 5q` in
9921 *Sun\ C
*) # Sun C 5.9
9922 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'
9923 compiler_needs_object
=yes
9924 tmp_sharedflag
='-G' ;;
9925 *Sun\ F
*) # Sun Fortran 8.3
9926 tmp_sharedflag
='-G' ;;
9928 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9930 if test "x$supports_anon_versioning" = xyes
; then
9931 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9932 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9933 echo "local: *; };" >> $output_objdir/$libname.ver~
9934 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9937 case $cc_basename in
9938 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9939 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9940 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9941 hardcode_libdir_flag_spec
=
9942 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9943 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9944 if test "x$supports_anon_versioning" = xyes
; then
9945 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9946 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9947 echo "local: *; };" >> $output_objdir/$libname.ver~
9948 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9958 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9959 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
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'
9968 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9972 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9973 *** create shared libraries on Solaris systems. Therefore, libtool
9974 *** is disabling shared libraries support. We urge you to upgrade GNU
9975 *** binutils to release 2.9.1 or newer. Another option is to modify
9976 *** your PATH or compiler configuration so that the native linker is
9977 *** used, and then restart.
9980 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9981 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9982 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9988 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9989 case `$LD -v 2>&1` in
9990 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9994 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9995 *** reliably create shared libraries on SCO systems. Therefore, libtool
9996 *** is disabling shared libraries support. We urge you to upgrade GNU
9997 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9998 *** your PATH or compiler configuration so that the native linker is
9999 *** used, and then restart.
10004 # For security reasons, it is highly recommended that you always
10005 # use absolute paths for naming shared libraries, and exclude the
10006 # DT_RUNPATH tag from executables and libraries. But doing so
10007 # requires that you compile everything twice, which is a pain.
10008 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10009 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10010 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10011 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10020 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10022 hardcode_direct
=yes
10023 hardcode_shlibpath_var
=no
10027 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10028 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10029 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10036 if test "$ld_shlibs" = no
; then
10038 hardcode_libdir_flag_spec
=
10039 export_dynamic_flag_spec
=
10040 whole_archive_flag_spec
=
10043 # PORTME fill in a description of your system's linker (not GNU ld)
10046 allow_undefined_flag
=unsupported
10047 always_export_symbols
=yes
10048 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'
10049 # Note: this linker hardcodes the directories in LIBPATH if there
10050 # are no directories specified by -L.
10051 hardcode_minus_L
=yes
10052 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10053 # Neither direct hardcoding nor static linking is supported with a
10055 hardcode_direct
=unsupported
10060 if test "$host_cpu" = ia64
; then
10061 # On IA64, the linker does run time linking by default, so we don't
10062 # have to do anything special.
10063 aix_use_runtimelinking
=no
10064 exp_sym_flag
='-Bexport'
10067 # If we're using GNU nm, then we don't want the "-C" option.
10068 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10069 # Also, AIX nm treats weak defined symbols like other global
10070 # defined symbols, whereas GNU nm marks them as "W".
10071 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10072 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'
10074 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'
10076 aix_use_runtimelinking
=no
10078 # Test if we are trying to use run time linking or normal
10079 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10080 # need to do runtime linking.
10081 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10082 for ld_flag
in $LDFLAGS; do
10083 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10084 aix_use_runtimelinking
=yes
10091 exp_sym_flag
='-bexport'
10092 no_entry_flag
='-bnoentry'
10095 # When large executables or shared objects are built, AIX ld can
10096 # have problems creating the table of contents. If linking a library
10097 # or program results in "error TOC overflow" add -mminimal-toc to
10098 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10099 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10102 hardcode_direct
=yes
10103 hardcode_direct_absolute
=yes
10104 hardcode_libdir_separator
=':'
10105 link_all_deplibs
=yes
10106 file_list_spec
='${wl}-f,'
10108 if test "$GCC" = yes; then
10109 case $host_os in aix4.
[012]|aix4.
[012].
*)
10110 # We only want to do this on AIX 4.2 and lower, the check
10111 # below for broken collect2 doesn't work under 4.3+
10112 collect2name
=`${CC} -print-prog-name=collect2`
10113 if test -f "$collect2name" &&
10114 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10116 # We have reworked collect2
10119 # We have old collect2
10120 hardcode_direct
=unsupported
10121 # It fails to find uninstalled libraries when the uninstalled
10122 # path is not listed in the libpath. Setting hardcode_minus_L
10123 # to unsupported forces relinking
10124 hardcode_minus_L
=yes
10125 hardcode_libdir_flag_spec
='-L$libdir'
10126 hardcode_libdir_separator
=
10130 shared_flag
='-shared'
10131 if test "$aix_use_runtimelinking" = yes; then
10132 shared_flag
="$shared_flag "'${wl}-G'
10136 if test "$host_cpu" = ia64
; then
10137 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10138 # chokes on -Wl,-G. The following line is correct:
10141 if test "$aix_use_runtimelinking" = yes; then
10142 shared_flag
='${wl}-G'
10144 shared_flag
='${wl}-bM:SRE'
10149 export_dynamic_flag_spec
='${wl}-bexpall'
10150 # It seems that -bexpall does not export symbols beginning with
10151 # underscore (_), so it is better to generate a list of symbols to export.
10152 always_export_symbols
=yes
10153 if test "$aix_use_runtimelinking" = yes; then
10154 # Warning - without using the other runtime loading flags (-brtl),
10155 # -berok will link without error, but may produce a broken library.
10156 allow_undefined_flag
='-berok'
10157 # Determine the default libpath from the value encoded in an
10158 # empty executable.
10159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10160 /* end confdefs.h. */
10170 if ac_fn_c_try_link
"$LINENO"; then :
10172 lt_aix_libpath_sed
='
10173 /Import File Strings/,/^$/ {
10179 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10180 # Check for a 64-bit object if we didn't find anything.
10181 if test -z "$aix_libpath"; then
10182 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10185 rm -f core conftest.err conftest.
$ac_objext \
10186 conftest
$ac_exeext conftest.
$ac_ext
10187 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10189 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10190 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"
10192 if test "$host_cpu" = ia64
; then
10193 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10194 allow_undefined_flag
="-z nodefs"
10195 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"
10197 # Determine the default libpath from the value encoded in an
10198 # empty executable.
10199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10200 /* end confdefs.h. */
10210 if ac_fn_c_try_link
"$LINENO"; then :
10212 lt_aix_libpath_sed
='
10213 /Import File Strings/,/^$/ {
10219 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10220 # Check for a 64-bit object if we didn't find anything.
10221 if test -z "$aix_libpath"; then
10222 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10225 rm -f core conftest.err conftest.
$ac_objext \
10226 conftest
$ac_exeext conftest.
$ac_ext
10227 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10229 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10230 # Warning - without using the other run time loading flags,
10231 # -berok will link without error, but may produce a broken library.
10232 no_undefined_flag
=' ${wl}-bernotok'
10233 allow_undefined_flag
=' ${wl}-berok'
10234 if test "$with_gnu_ld" = yes; then
10235 # We only use this code for GNU lds that support --whole-archive.
10236 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10238 # Exported symbols can be pulled into shared objects from archives
10239 whole_archive_flag_spec
='$convenience'
10241 archive_cmds_need_lc
=yes
10242 # This is similar to how AIX traditionally builds its shared libraries.
10243 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'
10251 # see comment about AmigaOS4 .so support
10252 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10253 archive_expsym_cmds
=''
10256 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)'
10257 hardcode_libdir_flag_spec
='-L$libdir'
10258 hardcode_minus_L
=yes
10264 export_dynamic_flag_spec
=-rdynamic
10267 cygwin
* | mingw
* | pw32
* | cegcc
*)
10268 # When not using gcc, we currently assume that we are using
10269 # Microsoft Visual C++.
10270 # hardcode_libdir_flag_spec is actually meaningless, as there is
10271 # no search path for DLLs.
10272 hardcode_libdir_flag_spec
=' '
10273 allow_undefined_flag
=unsupported
10274 # Tell ltmain to make .lib files, not .a files.
10276 # Tell ltmain to make .dll files, not .so files.
10278 # FIXME: Setting linknames here is a bad hack.
10279 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10280 # The linker will automatically build a .lib file if we build a DLL.
10281 old_archive_from_new_cmds
='true'
10282 # FIXME: Should let the user specify the lib program.
10283 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10284 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10285 enable_shared_with_static_runtimes
=yes
10288 darwin
* | rhapsody
*)
10291 archive_cmds_need_lc
=no
10293 hardcode_automatic
=yes
10294 hardcode_shlibpath_var
=unsupported
10295 if test "$lt_cv_ld_force_load" = "yes"; then
10296 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\"`'
10298 whole_archive_flag_spec
=''
10300 link_all_deplibs
=yes
10301 allow_undefined_flag
="$_lt_dar_allow_undefined"
10302 case $cc_basename in
10303 ifort
*) _lt_dar_can_shared
=yes ;;
10304 *) _lt_dar_can_shared
=$GCC ;;
10306 if test "$_lt_dar_can_shared" = "yes"; then
10307 output_verbose_link_cmd
=func_echo_all
10308 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10309 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10310 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}"
10311 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}"
10320 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10321 hardcode_libdir_flag_spec
='-L$libdir'
10322 hardcode_shlibpath_var
=no
10325 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10326 # support. Future versions do this automatically, but an explicit c++rt0.o
10327 # does not break anything, and helps significantly (at the cost of a little
10330 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10331 hardcode_libdir_flag_spec
='-R$libdir'
10332 hardcode_direct
=yes
10333 hardcode_shlibpath_var
=no
10336 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10338 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10339 hardcode_direct
=yes
10340 hardcode_minus_L
=yes
10341 hardcode_shlibpath_var
=no
10344 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10345 freebsd
* | dragonfly
*)
10346 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10347 hardcode_libdir_flag_spec
='-R$libdir'
10348 hardcode_direct
=yes
10349 hardcode_shlibpath_var
=no
10353 if test "$GCC" = yes; then
10354 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'
10356 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'
10358 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10359 hardcode_libdir_separator
=:
10360 hardcode_direct
=yes
10362 # hardcode_minus_L: Not really in the search PATH,
10363 # but as the default location of the library.
10364 hardcode_minus_L
=yes
10365 export_dynamic_flag_spec
='${wl}-E'
10369 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10370 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10372 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10374 if test "$with_gnu_ld" = no
; then
10375 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10376 hardcode_libdir_flag_spec_ld
='+b $libdir'
10377 hardcode_libdir_separator
=:
10378 hardcode_direct
=yes
10379 hardcode_direct_absolute
=yes
10380 export_dynamic_flag_spec
='${wl}-E'
10381 # hardcode_minus_L: Not really in the search PATH,
10382 # but as the default location of the library.
10383 hardcode_minus_L
=yes
10388 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10391 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10394 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10397 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10403 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10406 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10410 # Older versions of the 11.00 compiler do not understand -b yet
10411 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10413 $as_echo_n "checking if $CC understands -b... " >&6; }
10414 if ${lt_cv_prog_compiler__b+:} false
; then :
10415 $as_echo_n "(cached) " >&6
10417 lt_cv_prog_compiler__b
=no
10418 save_LDFLAGS
="$LDFLAGS"
10419 LDFLAGS
="$LDFLAGS -b"
10420 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10421 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10422 # The linker can only warn and ignore the option if not recognized
10423 # So say no if there are warnings
10424 if test -s conftest.err
; then
10425 # Append any errors to the config.log.
10426 cat conftest.err
1>&5
10427 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10428 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10429 if diff conftest.exp conftest.er2
>/dev
/null
; then
10430 lt_cv_prog_compiler__b
=yes
10433 lt_cv_prog_compiler__b
=yes
10437 LDFLAGS
="$save_LDFLAGS"
10440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10441 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10443 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10444 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10446 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10452 if test "$with_gnu_ld" = no
; then
10453 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10454 hardcode_libdir_separator
=:
10459 hardcode_shlibpath_var
=no
10462 hardcode_direct
=yes
10463 hardcode_direct_absolute
=yes
10464 export_dynamic_flag_spec
='${wl}-E'
10466 # hardcode_minus_L: Not really in the search PATH,
10467 # but as the default location of the library.
10468 hardcode_minus_L
=yes
10474 irix5
* | irix6
* | nonstopux
*)
10475 if test "$GCC" = yes; then
10476 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'
10477 # Try to use the -exported_symbol ld option, if it does not
10478 # work, assume that -exports_file does not work either and
10479 # implicitly export all symbols.
10480 save_LDFLAGS
="$LDFLAGS"
10481 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10483 /* end confdefs.h. */
10486 if ac_fn_c_try_link
"$LINENO"; then :
10487 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'
10490 rm -f core conftest.err conftest.
$ac_objext \
10491 conftest
$ac_exeext conftest.
$ac_ext
10492 LDFLAGS
="$save_LDFLAGS"
10494 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'
10495 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'
10497 archive_cmds_need_lc
='no'
10498 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10499 hardcode_libdir_separator
=:
10501 link_all_deplibs
=yes
10505 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10506 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10508 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10510 hardcode_libdir_flag_spec
='-R$libdir'
10511 hardcode_direct
=yes
10512 hardcode_shlibpath_var
=no
10516 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10517 hardcode_direct
=yes
10518 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10519 hardcode_libdir_separator
=:
10520 hardcode_shlibpath_var
=no
10527 if test -f /usr
/libexec
/ld.so
; then
10528 hardcode_direct
=yes
10529 hardcode_shlibpath_var
=no
10530 hardcode_direct_absolute
=yes
10531 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10532 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10533 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10534 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10535 export_dynamic_flag_spec
='${wl}-E'
10538 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10539 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10540 hardcode_libdir_flag_spec
='-R$libdir'
10543 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10544 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10554 hardcode_libdir_flag_spec
='-L$libdir'
10555 hardcode_minus_L
=yes
10556 allow_undefined_flag
=unsupported
10557 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'
10558 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10562 if test "$GCC" = yes; then
10563 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10564 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'
10566 allow_undefined_flag
=' -expect_unresolved \*'
10567 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'
10569 archive_cmds_need_lc
='no'
10570 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10571 hardcode_libdir_separator
=:
10574 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10575 if test "$GCC" = yes; then
10576 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10577 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'
10578 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10580 allow_undefined_flag
=' -expect_unresolved \*'
10581 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'
10582 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~
10583 $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'
10585 # Both c and cxx compiler support -rpath directly
10586 hardcode_libdir_flag_spec
='-rpath $libdir'
10588 archive_cmds_need_lc
='no'
10589 hardcode_libdir_separator
=:
10593 no_undefined_flag
=' -z defs'
10594 if test "$GCC" = yes; then
10596 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10597 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10598 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10600 case `$CC -V 2>&1` in
10603 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10604 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10605 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10609 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10610 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10611 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10615 hardcode_libdir_flag_spec
='-R$libdir'
10616 hardcode_shlibpath_var
=no
10618 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10620 # The compiler driver will combine and reorder linker options,
10621 # but understands `-z linker_flag'. GCC discards it without `$wl',
10622 # but is careful enough not to reorder.
10623 # Supported since Solaris 2.6 (maybe 2.5.1?)
10624 if test "$GCC" = yes; then
10625 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10627 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10631 link_all_deplibs
=yes
10635 if test "x$host_vendor" = xsequent
; then
10636 # Use $CC to link under sequent, because it throws in some extra .o
10637 # files that make .init and .fini sections work.
10638 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10640 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10642 hardcode_libdir_flag_spec
='-L$libdir'
10643 hardcode_direct
=yes
10644 hardcode_minus_L
=yes
10645 hardcode_shlibpath_var
=no
10649 case $host_vendor in
10651 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10652 hardcode_direct
=yes # is this really true???
10655 ## LD is ld it makes a PLAMLIB
10656 ## CC just makes a GrossModule.
10657 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10658 reload_cmds
='$CC -r -o $output$reload_objs'
10662 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10663 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10666 runpath_var
='LD_RUN_PATH'
10667 hardcode_shlibpath_var
=no
10671 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10672 hardcode_shlibpath_var
=no
10673 export_dynamic_flag_spec
='-Bexport'
10677 if test -d /usr
/nec
; then
10678 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10679 hardcode_shlibpath_var
=no
10680 runpath_var
=LD_RUN_PATH
10681 hardcode_runpath_var
=yes
10686 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10687 no_undefined_flag
='${wl}-z,text'
10688 archive_cmds_need_lc
=no
10689 hardcode_shlibpath_var
=no
10690 runpath_var
='LD_RUN_PATH'
10692 if test "$GCC" = yes; then
10693 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10694 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10696 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10697 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10701 sysv5
* | sco3.2v5
* | sco5v6
*)
10702 # Note: We can NOT use -z defs as we might desire, because we do not
10703 # link with -lc, and that would cause any symbols used from libc to
10704 # always be unresolved, which means just about no library would
10705 # ever link correctly. If we're not using GNU ld we use -z text
10706 # though, which does catch some bad symbols but isn't as heavy-handed
10708 no_undefined_flag
='${wl}-z,text'
10709 allow_undefined_flag
='${wl}-z,nodefs'
10710 archive_cmds_need_lc
=no
10711 hardcode_shlibpath_var
=no
10712 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10713 hardcode_libdir_separator
=':'
10714 link_all_deplibs
=yes
10715 export_dynamic_flag_spec
='${wl}-Bexport'
10716 runpath_var
='LD_RUN_PATH'
10718 if test "$GCC" = yes; then
10719 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10720 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10722 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10723 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10728 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10729 hardcode_libdir_flag_spec
='-L$libdir'
10730 hardcode_shlibpath_var
=no
10738 if test x
$host_vendor = xsni
; then
10740 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10741 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10748 $as_echo "$ld_shlibs" >&6; }
10749 test "$ld_shlibs" = no
&& can_build_shared
=no
10751 with_gnu_ld
=$with_gnu_ld
10768 # Do we need to explicitly link libc?
10770 case "x$archive_cmds_need_lc" in
10772 # Assume -lc should be added
10773 archive_cmds_need_lc
=yes
10775 if test "$enable_shared" = yes && test "$GCC" = yes; then
10776 case $archive_cmds in
10778 # FIXME: we may have to deal with multi-command sequences.
10781 # Test whether the compiler implicitly links with -lc since on some
10782 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10783 # to ld, don't add -lc before -lgcc.
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10785 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10786 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10787 $as_echo_n "(cached) " >&6
10790 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10792 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10793 (eval $ac_compile) 2>&5
10795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10796 test $ac_status = 0; } 2>conftest.err
; then
10799 libobjs
=conftest.
$ac_objext
10801 wl
=$lt_prog_compiler_wl
10802 pic_flag
=$lt_prog_compiler_pic
10808 lt_save_allow_undefined_flag
=$allow_undefined_flag
10809 allow_undefined_flag
=
10810 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10811 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10814 test $ac_status = 0; }
10816 lt_cv_archive_cmds_need_lc
=no
10818 lt_cv_archive_cmds_need_lc
=yes
10820 allow_undefined_flag
=$lt_save_allow_undefined_flag
10822 cat conftest.err
1>&5
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10828 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10829 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10993 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10995 if test "$GCC" = yes; then
10997 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10998 *) lt_awk_arg
="/^libraries:/" ;;
11001 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11002 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11004 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11005 case $lt_search_path_spec in
11007 # if the path contains ";" then we assume it to be the separator
11008 # otherwise default to the standard path separator (i.e. ":") - it is
11009 # assumed that no part of a normal pathname contains ";" but that should
11010 # okay in the real world where ";" in dirpaths is itself problematic.
11011 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11014 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11017 # Ok, now we have the path, separated by spaces, we can step through it
11018 # and add multilib dir if necessary.
11019 lt_tmp_lt_search_path_spec
=
11020 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11021 for lt_sys_path
in $lt_search_path_spec; do
11022 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11023 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11025 test -d "$lt_sys_path" && \
11026 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11029 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11030 BEGIN {RS=" "; FS="/|\n";} {
11033 for (lt_i = NF; lt_i > 0; lt_i--) {
11034 if ($lt_i != "" && $lt_i != ".") {
11035 if ($lt_i == "..") {
11038 if (lt_count == 0) {
11039 lt_foo="/" $lt_i lt_foo;
11046 if (lt_foo != "") { lt_freq[lt_foo]++; }
11047 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11049 # AWK program above erroneously prepends '/' to C:/dos/paths
11052 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11053 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11055 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11057 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11059 library_names_spec
=
11060 libname_spec
='lib$name'
11064 postuninstall_cmds
=
11068 shlibpath_overrides_runpath
=unknown
11070 dynamic_linker
="$host_os ld.so"
11071 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11072 need_lib_prefix
=unknown
11073 hardcode_into_libs
=no
11075 # when you set need_version to no, make sure it does not cause -set_version
11076 # flags to be left without arguments
11077 need_version
=unknown
11082 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11083 shlibpath_var
=LIBPATH
11085 # AIX 3 has no versioning support, so we append a major version to the name.
11086 soname_spec
='${libname}${release}${shared_ext}$major'
11093 hardcode_into_libs
=yes
11094 if test "$host_cpu" = ia64
; then
11095 # AIX 5 supports IA64
11096 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11097 shlibpath_var
=LD_LIBRARY_PATH
11099 # With GCC up to 2.95.x, collect2 would create an import file
11100 # for dependence libraries. The import file would start with
11101 # the line `#! .'. This would cause the generated library to
11102 # depend on `.', always an invalid library. This was fixed in
11103 # development snapshots of GCC prior to 3.0.
11105 aix4 | aix4.
[01] | aix4.
[01].
*)
11106 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11108 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11111 can_build_shared
=no
11115 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11116 # soname into executable. Probably we can add versioning support to
11117 # collect2, so additional links can be useful in future.
11118 if test "$aix_use_runtimelinking" = yes; then
11119 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11120 # instead of lib<name>.a to let people know that these are not
11121 # typical AIX shared libraries.
11122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11124 # We preserve .a as extension for shared libraries through AIX4.2
11125 # and later when we are not doing run time linking.
11126 library_names_spec
='${libname}${release}.a $libname.a'
11127 soname_spec
='${libname}${release}${shared_ext}$major'
11129 shlibpath_var
=LIBPATH
11136 # Since July 2007 AmigaOS4 officially supports .so libraries.
11137 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11138 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11141 library_names_spec
='$libname.ixlibrary $libname.a'
11142 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11143 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'
11149 library_names_spec
='${libname}${shared_ext}'
11150 dynamic_linker
="$host_os ld.so"
11151 shlibpath_var
=LIBRARY_PATH
11157 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11158 soname_spec
='${libname}${release}${shared_ext}$major'
11159 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11160 shlibpath_var
=LD_LIBRARY_PATH
11161 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11162 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11163 # the default ld.so.conf also contains /usr/contrib/lib and
11164 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11165 # libtool to hard-code these into programs
11168 cygwin
* | mingw
* | pw32
* | cegcc
*)
11169 version_type
=windows
11174 case $GCC,$host_os in
11175 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11176 library_names_spec
='$libname.dll.a'
11177 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11178 postinstall_cmds
='base_file=`basename \${file}`~
11179 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11180 dldir=$destdir/`dirname \$dlpath`~
11181 test -d \$dldir || mkdir -p \$dldir~
11182 $install_prog $dir/$dlname \$dldir/$dlname~
11183 chmod a+x \$dldir/$dlname~
11184 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11185 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11187 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11188 dlpath=$dir/\$dldll~
11190 shlibpath_overrides_runpath
=yes
11194 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11195 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11197 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11200 # MinGW DLLs use traditional 'lib' prefix
11201 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11204 # pw32 DLLs use 'pw' prefix rather than 'lib'
11205 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11211 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11214 dynamic_linker
='Win32 ld.exe'
11215 # FIXME: first we should search . and the directory the executable is in
11219 darwin
* | rhapsody
*)
11220 dynamic_linker
="$host_os dyld"
11221 version_type
=darwin
11224 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11225 soname_spec
='${libname}${release}${major}$shared_ext'
11226 shlibpath_overrides_runpath
=yes
11227 shlibpath_var
=DYLD_LIBRARY_PATH
11228 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11230 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11231 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11238 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11239 soname_spec
='${libname}${release}${shared_ext}$major'
11240 shlibpath_var
=LD_LIBRARY_PATH
11243 freebsd
* | dragonfly
*)
11244 # DragonFly does not have aout. When/if they implement a new
11245 # versioning mechanism, adjust this.
11246 if test -x /usr
/bin
/objformat
; then
11247 objformat
=`/usr/bin/objformat`
11250 freebsd
[23].
*) objformat
=aout
;;
11251 *) objformat
=elf
;;
11254 version_type
=freebsd-
$objformat
11255 case $version_type in
11257 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11262 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11266 shlibpath_var
=LD_LIBRARY_PATH
11269 shlibpath_overrides_runpath
=yes
11271 freebsd3.
[01]* | freebsdelf3.
[01]*)
11272 shlibpath_overrides_runpath
=yes
11273 hardcode_into_libs
=yes
11275 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11276 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11277 shlibpath_overrides_runpath
=no
11278 hardcode_into_libs
=yes
11280 *) # from 4.6 on, and DragonFly
11281 shlibpath_overrides_runpath
=yes
11282 hardcode_into_libs
=yes
11291 dynamic_linker
="$host_os runtime_loader"
11292 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11293 soname_spec
='${libname}${release}${shared_ext}$major'
11294 shlibpath_var
=LIBRARY_PATH
11295 shlibpath_overrides_runpath
=yes
11296 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11297 hardcode_into_libs
=yes
11300 hpux9
* | hpux10
* | hpux11
*)
11301 # Give a soname corresponding to the major version so that dld.sl refuses to
11302 # link against other versions.
11309 hardcode_into_libs
=yes
11310 dynamic_linker
="$host_os dld.so"
11311 shlibpath_var
=LD_LIBRARY_PATH
11312 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11313 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11314 soname_spec
='${libname}${release}${shared_ext}$major'
11315 if test "X$HPUX_IA64_MODE" = X32
; then
11316 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11318 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11320 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11324 hardcode_into_libs
=yes
11325 dynamic_linker
="$host_os dld.sl"
11326 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11327 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11328 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11329 soname_spec
='${libname}${release}${shared_ext}$major'
11330 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11331 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11335 dynamic_linker
="$host_os dld.sl"
11336 shlibpath_var
=SHLIB_PATH
11337 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11338 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11339 soname_spec
='${libname}${release}${shared_ext}$major'
11342 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11343 postinstall_cmds
='chmod 555 $lib'
11344 # or fails outright, so override atomically:
11345 install_override_mode
=555
11352 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11353 soname_spec
='${libname}${release}${shared_ext}$major'
11354 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11355 shlibpath_var
=LD_LIBRARY_PATH
11356 shlibpath_overrides_runpath
=no
11357 hardcode_into_libs
=yes
11360 irix5
* | irix6
* | nonstopux
*)
11362 nonstopux
*) version_type
=nonstopux
;;
11364 if test "$lt_cv_prog_gnu_ld" = yes; then
11372 soname_spec
='${libname}${release}${shared_ext}$major'
11373 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11375 irix5
* | nonstopux
*)
11376 libsuff
= shlibsuff
=
11379 case $LD in # libtool.m4 will add one of these switches to LD
11380 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11381 libsuff
= shlibsuff
= libmagic
=32-bit;;
11382 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11383 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11384 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11385 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11386 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11390 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11391 shlibpath_overrides_runpath
=no
11392 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11393 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11394 hardcode_into_libs
=yes
11397 # No shared lib support for Linux oldld, aout, or coff.
11398 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11402 # This must be Linux ELF.
11403 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11407 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11408 soname_spec
='${libname}${release}${shared_ext}$major'
11409 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11410 shlibpath_var
=LD_LIBRARY_PATH
11411 shlibpath_overrides_runpath
=no
11413 # Some binutils ld are patched to set DT_RUNPATH
11414 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11415 $as_echo_n "(cached) " >&6
11417 lt_cv_shlibpath_overrides_runpath
=no
11418 save_LDFLAGS
=$LDFLAGS
11419 save_libdir
=$libdir
11420 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11421 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11423 /* end confdefs.h. */
11433 if ac_fn_c_try_link
"$LINENO"; then :
11434 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11435 lt_cv_shlibpath_overrides_runpath
=yes
11438 rm -f core conftest.err conftest.
$ac_objext \
11439 conftest
$ac_exeext conftest.
$ac_ext
11440 LDFLAGS
=$save_LDFLAGS
11441 libdir
=$save_libdir
11445 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11447 # This implies no fast_install, which is unacceptable.
11448 # Some rework will be needed to allow for fast_install
11449 # before this can be enabled.
11450 hardcode_into_libs
=yes
11452 # Append ld.so.conf contents to the search path
11453 if test -f /etc
/ld.so.conf
; then
11454 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' ' '`
11455 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11458 # We used to test for /lib/ld.so.1 and disable shared libraries on
11459 # powerpc, because MkLinux only supported shared libraries with the
11460 # GNU dynamic linker. Since this was broken with cross compilers,
11461 # most powerpc-linux boxes support dynamic linking these days and
11462 # people can always --disable-shared, the test was removed, and we
11463 # assume the GNU/Linux dynamic linker is in use.
11464 dynamic_linker
='GNU/Linux ld.so'
11471 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11472 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11473 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11474 dynamic_linker
='NetBSD (a.out) ld.so'
11476 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11477 soname_spec
='${libname}${release}${shared_ext}$major'
11478 dynamic_linker
='NetBSD ld.elf_so'
11480 shlibpath_var
=LD_LIBRARY_PATH
11481 shlibpath_overrides_runpath
=yes
11482 hardcode_into_libs
=yes
11487 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11488 shlibpath_var
=LD_LIBRARY_PATH
11489 shlibpath_overrides_runpath
=yes
11496 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11497 soname_spec
='${libname}${release}${shared_ext}$major'
11498 shlibpath_var
=LD_LIBRARY_PATH
11499 shlibpath_overrides_runpath
=no
11500 hardcode_into_libs
=yes
11501 dynamic_linker
='ldqnx.so'
11506 sys_lib_dlsearch_path_spec
="/usr/lib"
11508 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11510 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11511 *) need_version
=no
;;
11513 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11514 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11515 shlibpath_var
=LD_LIBRARY_PATH
11516 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11518 openbsd2.
[89] | openbsd2.
[89].
*)
11519 shlibpath_overrides_runpath
=no
11522 shlibpath_overrides_runpath
=yes
11526 shlibpath_overrides_runpath
=yes
11531 libname_spec
='$name'
11534 library_names_spec
='$libname${shared_ext} $libname.a'
11535 dynamic_linker
='OS/2 ld.exe'
11536 shlibpath_var
=LIBPATH
11539 osf3
* | osf4
* | osf5
*)
11543 soname_spec
='${libname}${release}${shared_ext}$major'
11544 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11545 shlibpath_var
=LD_LIBRARY_PATH
11546 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11547 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11558 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11559 soname_spec
='${libname}${release}${shared_ext}$major'
11560 shlibpath_var
=LD_LIBRARY_PATH
11561 shlibpath_overrides_runpath
=yes
11562 hardcode_into_libs
=yes
11563 # ldd complains unless libraries are executable
11564 postinstall_cmds
='chmod +x $lib'
11569 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11570 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11571 shlibpath_var
=LD_LIBRARY_PATH
11572 shlibpath_overrides_runpath
=yes
11573 if test "$with_gnu_ld" = yes; then
11581 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11582 soname_spec
='${libname}${release}${shared_ext}$major'
11583 shlibpath_var
=LD_LIBRARY_PATH
11584 case $host_vendor in
11586 shlibpath_overrides_runpath
=no
11588 runpath_var
=LD_RUN_PATH
11596 shlibpath_overrides_runpath
=no
11597 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11603 if test -d /usr
/nec
;then
11605 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11606 soname_spec
='$libname${shared_ext}.$major'
11607 shlibpath_var
=LD_LIBRARY_PATH
11611 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11612 version_type
=freebsd-elf
11615 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11616 soname_spec
='${libname}${release}${shared_ext}$major'
11617 shlibpath_var
=LD_LIBRARY_PATH
11618 shlibpath_overrides_runpath
=yes
11619 hardcode_into_libs
=yes
11620 if test "$with_gnu_ld" = yes; then
11621 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11623 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11626 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11630 sys_lib_dlsearch_path_spec
='/usr/lib'
11634 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11638 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11639 shlibpath_var
=LD_LIBRARY_PATH
11640 shlibpath_overrides_runpath
=no
11641 hardcode_into_libs
=yes
11646 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11647 soname_spec
='${libname}${release}${shared_ext}$major'
11648 shlibpath_var
=LD_LIBRARY_PATH
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11656 $as_echo "$dynamic_linker" >&6; }
11657 test "$dynamic_linker" = no
&& can_build_shared
=no
11659 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11660 if test "$GCC" = yes; then
11661 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11664 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11665 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11667 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11668 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11763 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11765 if test -n "$hardcode_libdir_flag_spec" ||
11766 test -n "$runpath_var" ||
11767 test "X$hardcode_automatic" = "Xyes" ; then
11769 # We can hardcode non-existent directories.
11770 if test "$hardcode_direct" != no
&&
11771 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11772 # have to relink, otherwise we might link with an installed library
11773 # when we should be linking with a yet-to-be-installed one
11774 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11775 test "$hardcode_minus_L" != no
; then
11776 # Linking always hardcodes the temporary library directory.
11777 hardcode_action
=relink
11779 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11780 hardcode_action
=immediate
11783 # We cannot hardcode anything, or else we can only hardcode existing
11785 hardcode_action
=unsupported
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11788 $as_echo "$hardcode_action" >&6; }
11790 if test "$hardcode_action" = relink ||
11791 test "$inherit_rpath" = yes; then
11792 # Fast installation is not supported
11793 enable_fast_install
=no
11794 elif test "$shlibpath_overrides_runpath" = yes ||
11795 test "$enable_shared" = no
; then
11796 # Fast installation is not necessary
11797 enable_fast_install
=needless
11805 if test "x$enable_dlopen" != xyes
; then
11806 enable_dlopen
=unknown
11807 enable_dlopen_self
=unknown
11808 enable_dlopen_self_static
=unknown
11815 lt_cv_dlopen
="load_add_on"
11817 lt_cv_dlopen_self
=yes
11820 mingw
* | pw32
* | cegcc
*)
11821 lt_cv_dlopen
="LoadLibrary"
11826 lt_cv_dlopen
="dlopen"
11831 # if libdl is installed we need to link against it
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11833 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11834 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11835 $as_echo_n "(cached) " >&6
11837 ac_check_lib_save_LIBS
=$LIBS
11839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11840 /* end confdefs.h. */
11842 /* Override any GCC internal prototype to avoid an error.
11843 Use char because int might match the return type of a GCC
11844 builtin and then its argument prototype would still apply. */
11857 if ac_fn_c_try_link
"$LINENO"; then :
11858 ac_cv_lib_dl_dlopen
=yes
11860 ac_cv_lib_dl_dlopen
=no
11862 rm -f core conftest.err conftest.
$ac_objext \
11863 conftest
$ac_exeext conftest.
$ac_ext
11864 LIBS
=$ac_check_lib_save_LIBS
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11867 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11868 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11869 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11872 lt_cv_dlopen
="dyld"
11874 lt_cv_dlopen_self
=yes
11881 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11882 if test "x$ac_cv_func_shl_load" = xyes
; then :
11883 lt_cv_dlopen
="shl_load"
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11886 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11887 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11888 $as_echo_n "(cached) " >&6
11890 ac_check_lib_save_LIBS
=$LIBS
11892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11893 /* end confdefs.h. */
11895 /* Override any GCC internal prototype to avoid an error.
11896 Use char because int might match the return type of a GCC
11897 builtin and then its argument prototype would still apply. */
11905 return shl_load ();
11910 if ac_fn_c_try_link
"$LINENO"; then :
11911 ac_cv_lib_dld_shl_load
=yes
11913 ac_cv_lib_dld_shl_load
=no
11915 rm -f core conftest.err conftest.
$ac_objext \
11916 conftest
$ac_exeext conftest.
$ac_ext
11917 LIBS
=$ac_check_lib_save_LIBS
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11920 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11921 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11922 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11924 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11925 if test "x$ac_cv_func_dlopen" = xyes
; then :
11926 lt_cv_dlopen
="dlopen"
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11929 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11930 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11931 $as_echo_n "(cached) " >&6
11933 ac_check_lib_save_LIBS
=$LIBS
11935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11936 /* end confdefs.h. */
11938 /* Override any GCC internal prototype to avoid an error.
11939 Use char because int might match the return type of a GCC
11940 builtin and then its argument prototype would still apply. */
11953 if ac_fn_c_try_link
"$LINENO"; then :
11954 ac_cv_lib_dl_dlopen
=yes
11956 ac_cv_lib_dl_dlopen
=no
11958 rm -f core conftest.err conftest.
$ac_objext \
11959 conftest
$ac_exeext conftest.
$ac_ext
11960 LIBS
=$ac_check_lib_save_LIBS
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11963 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11964 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11965 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11968 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11969 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11970 $as_echo_n "(cached) " >&6
11972 ac_check_lib_save_LIBS
=$LIBS
11973 LIBS
="-lsvld $LIBS"
11974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11975 /* end confdefs.h. */
11977 /* Override any GCC internal prototype to avoid an error.
11978 Use char because int might match the return type of a GCC
11979 builtin and then its argument prototype would still apply. */
11992 if ac_fn_c_try_link
"$LINENO"; then :
11993 ac_cv_lib_svld_dlopen
=yes
11995 ac_cv_lib_svld_dlopen
=no
11997 rm -f core conftest.err conftest.
$ac_objext \
11998 conftest
$ac_exeext conftest.
$ac_ext
11999 LIBS
=$ac_check_lib_save_LIBS
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12002 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12003 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12004 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12007 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12008 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12009 $as_echo_n "(cached) " >&6
12011 ac_check_lib_save_LIBS
=$LIBS
12013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12014 /* end confdefs.h. */
12016 /* Override any GCC internal prototype to avoid an error.
12017 Use char because int might match the return type of a GCC
12018 builtin and then its argument prototype would still apply. */
12026 return dld_link ();
12031 if ac_fn_c_try_link
"$LINENO"; then :
12032 ac_cv_lib_dld_dld_link
=yes
12034 ac_cv_lib_dld_dld_link
=no
12036 rm -f core conftest.err conftest.
$ac_objext \
12037 conftest
$ac_exeext conftest.
$ac_ext
12038 LIBS
=$ac_check_lib_save_LIBS
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12041 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12042 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12043 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12064 if test "x$lt_cv_dlopen" != xno
; then
12070 case $lt_cv_dlopen in
12072 save_CPPFLAGS
="$CPPFLAGS"
12073 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12075 save_LDFLAGS
="$LDFLAGS"
12076 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12079 LIBS
="$lt_cv_dlopen_libs $LIBS"
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12082 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12083 if ${lt_cv_dlopen_self+:} false
; then :
12084 $as_echo_n "(cached) " >&6
12086 if test "$cross_compiling" = yes; then :
12087 lt_cv_dlopen_self
=cross
12089 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12090 lt_status
=$lt_dlunknown
12091 cat > conftest.
$ac_ext <<_LT_EOF
12092 #line 12092 "configure"
12093 #include "confdefs.h"
12102 # define LT_DLGLOBAL RTLD_GLOBAL
12105 # define LT_DLGLOBAL DL_GLOBAL
12107 # define LT_DLGLOBAL 0
12111 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12112 find out it does not work in some platform. */
12113 #ifndef LT_DLLAZY_OR_NOW
12115 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12118 # define LT_DLLAZY_OR_NOW DL_LAZY
12121 # define LT_DLLAZY_OR_NOW RTLD_NOW
12124 # define LT_DLLAZY_OR_NOW DL_NOW
12126 # define LT_DLLAZY_OR_NOW 0
12133 /* When -fvisbility=hidden is used, assume the code has been annotated
12134 correspondingly for the symbols needed. */
12135 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12136 void fnord () __attribute__((visibility("default")));
12139 void fnord () { int i=42; }
12142 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12143 int status = $lt_dlunknown;
12147 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12150 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12151 else puts (dlerror ());
12153 /* dlclose (self); */
12161 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12162 (eval $ac_link) 2>&5
12164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12165 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12166 (.
/conftest
; exit; ) >&5 2>/dev
/null
12168 case x
$lt_status in
12169 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12170 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12171 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12174 # compilation failed
12175 lt_cv_dlopen_self
=no
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12183 $as_echo "$lt_cv_dlopen_self" >&6; }
12185 if test "x$lt_cv_dlopen_self" = xyes
; then
12186 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12188 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12189 if ${lt_cv_dlopen_self_static+:} false
; then :
12190 $as_echo_n "(cached) " >&6
12192 if test "$cross_compiling" = yes; then :
12193 lt_cv_dlopen_self_static
=cross
12195 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12196 lt_status
=$lt_dlunknown
12197 cat > conftest.
$ac_ext <<_LT_EOF
12198 #line 12198 "configure"
12199 #include "confdefs.h"
12208 # define LT_DLGLOBAL RTLD_GLOBAL
12211 # define LT_DLGLOBAL DL_GLOBAL
12213 # define LT_DLGLOBAL 0
12217 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12218 find out it does not work in some platform. */
12219 #ifndef LT_DLLAZY_OR_NOW
12221 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12224 # define LT_DLLAZY_OR_NOW DL_LAZY
12227 # define LT_DLLAZY_OR_NOW RTLD_NOW
12230 # define LT_DLLAZY_OR_NOW DL_NOW
12232 # define LT_DLLAZY_OR_NOW 0
12239 /* When -fvisbility=hidden is used, assume the code has been annotated
12240 correspondingly for the symbols needed. */
12241 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12242 void fnord () __attribute__((visibility("default")));
12245 void fnord () { int i=42; }
12248 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12249 int status = $lt_dlunknown;
12253 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12256 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12257 else puts (dlerror ());
12259 /* dlclose (self); */
12267 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12268 (eval $ac_link) 2>&5
12270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12271 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12272 (.
/conftest
; exit; ) >&5 2>/dev
/null
12274 case x
$lt_status in
12275 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12276 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12277 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12280 # compilation failed
12281 lt_cv_dlopen_self_static
=no
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12289 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12292 CPPFLAGS
="$save_CPPFLAGS"
12293 LDFLAGS
="$save_LDFLAGS"
12298 case $lt_cv_dlopen_self in
12299 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12300 *) enable_dlopen_self
=unknown
;;
12303 case $lt_cv_dlopen_self_static in
12304 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12305 *) enable_dlopen_self_static
=unknown
;;
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12328 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12329 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12330 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12331 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12333 $as_echo "yes" >&6; }
12335 # FIXME - insert some real tests, host_os isn't really good enough
12338 if test -n "$STRIP" ; then
12339 striplib
="$STRIP -x"
12340 old_striplib
="$STRIP -S"
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12342 $as_echo "yes" >&6; }
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12345 $as_echo "no" >&6; }
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12350 $as_echo "no" >&6; }
12366 # Report which library types will actually be built
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12368 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12370 $as_echo "$can_build_shared" >&6; }
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12373 $as_echo_n "checking whether to build shared libraries... " >&6; }
12374 test "$can_build_shared" = "no" && enable_shared
=no
12376 # On AIX, shared libraries and static libraries use the same namespace, and
12377 # are all built from PIC.
12380 test "$enable_shared" = yes && enable_static
=no
12381 if test -n "$RANLIB"; then
12382 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12383 postinstall_cmds
='$RANLIB $lib'
12388 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12389 test "$enable_shared" = yes && enable_static
=no
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12394 $as_echo "$enable_shared" >&6; }
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12397 $as_echo_n "checking whether to build static libraries... " >&6; }
12398 # Make sure either enable_shared or enable_static is yes.
12399 test "$enable_shared" = yes || enable_static
=yes
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12401 $as_echo "$enable_static" >&6; }
12408 ac_cpp
='$CPP $CPPFLAGS'
12409 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12410 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12411 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12415 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12416 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12417 (test "X$CXX" != "Xg++"))) ; then
12419 ac_cpp
='$CXXCPP $CPPFLAGS'
12420 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12421 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12422 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12424 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12425 if test -z "$CXXCPP"; then
12426 if ${ac_cv_prog_CXXCPP+:} false
; then :
12427 $as_echo_n "(cached) " >&6
12429 # Double quotes because CXXCPP needs to be expanded
12430 for CXXCPP
in "$CXX -E" "/lib/cpp"
12432 ac_preproc_ok
=false
12433 for ac_cxx_preproc_warn_flag
in '' yes
12435 # Use a header file that comes with gcc, so configuring glibc
12436 # with a fresh cross-compiler works.
12437 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12438 # <limits.h> exists even on freestanding compilers.
12439 # On the NeXT, cc -E runs the code through the compiler's parser,
12440 # not just through cpp. "Syntax error" is here to catch this case.
12441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12442 /* end confdefs.h. */
12444 # include <limits.h>
12446 # include <assert.h>
12450 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12453 # Broken: fails on valid input.
12456 rm -f conftest.err conftest.i conftest.
$ac_ext
12458 # OK, works on sane cases. Now check whether nonexistent headers
12459 # can be detected and how.
12460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12461 /* end confdefs.h. */
12462 #include <ac_nonexistent.h>
12464 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12465 # Broken: success on invalid input.
12468 # Passes both tests.
12472 rm -f conftest.err conftest.i conftest.
$ac_ext
12475 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12476 rm -f conftest.i conftest.err conftest.
$ac_ext
12477 if $ac_preproc_ok; then :
12482 ac_cv_prog_CXXCPP
=$CXXCPP
12485 CXXCPP
=$ac_cv_prog_CXXCPP
12487 ac_cv_prog_CXXCPP
=$CXXCPP
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12490 $as_echo "$CXXCPP" >&6; }
12491 ac_preproc_ok
=false
12492 for ac_cxx_preproc_warn_flag
in '' yes
12494 # Use a header file that comes with gcc, so configuring glibc
12495 # with a fresh cross-compiler works.
12496 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12497 # <limits.h> exists even on freestanding compilers.
12498 # On the NeXT, cc -E runs the code through the compiler's parser,
12499 # not just through cpp. "Syntax error" is here to catch this case.
12500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12501 /* end confdefs.h. */
12503 # include <limits.h>
12505 # include <assert.h>
12509 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12512 # Broken: fails on valid input.
12515 rm -f conftest.err conftest.i conftest.
$ac_ext
12517 # OK, works on sane cases. Now check whether nonexistent headers
12518 # can be detected and how.
12519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12520 /* end confdefs.h. */
12521 #include <ac_nonexistent.h>
12523 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12524 # Broken: success on invalid input.
12527 # Passes both tests.
12531 rm -f conftest.err conftest.i conftest.
$ac_ext
12534 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12535 rm -f conftest.i conftest.err conftest.
$ac_ext
12536 if $ac_preproc_ok; then :
12539 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12540 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12541 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12542 See \`config.log' for more details" "$LINENO" 5; }
12546 ac_cpp
='$CPP $CPPFLAGS'
12547 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12548 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12549 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12552 _lt_caught_CXX_error
=yes
12556 ac_cpp
='$CXXCPP $CPPFLAGS'
12557 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12558 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12559 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12561 archive_cmds_need_lc_CXX
=no
12562 allow_undefined_flag_CXX
=
12563 always_export_symbols_CXX
=no
12564 archive_expsym_cmds_CXX
=
12565 compiler_needs_object_CXX
=no
12566 export_dynamic_flag_spec_CXX
=
12567 hardcode_direct_CXX
=no
12568 hardcode_direct_absolute_CXX
=no
12569 hardcode_libdir_flag_spec_CXX
=
12570 hardcode_libdir_flag_spec_ld_CXX
=
12571 hardcode_libdir_separator_CXX
=
12572 hardcode_minus_L_CXX
=no
12573 hardcode_shlibpath_var_CXX
=unsupported
12574 hardcode_automatic_CXX
=no
12575 inherit_rpath_CXX
=no
12577 module_expsym_cmds_CXX
=
12578 link_all_deplibs_CXX
=unknown
12579 old_archive_cmds_CXX
=$old_archive_cmds
12580 reload_flag_CXX
=$reload_flag
12581 reload_cmds_CXX
=$reload_cmds
12582 no_undefined_flag_CXX
=
12583 whole_archive_flag_spec_CXX
=
12584 enable_shared_with_static_runtimes_CXX
=no
12586 # Source file extension for C++ test sources.
12589 # Object file extension for compiled C++ test sources.
12593 # No sense in running all these tests if we already determined that
12594 # the CXX compiler isn't working. Some variables (like enable_shared)
12595 # are currently assumed to apply to all compilers on this platform,
12596 # and will be corrupted by setting them based on a non-working compiler.
12597 if test "$_lt_caught_CXX_error" != yes; then
12598 # Code to be used in simple compile tests
12599 lt_simple_compile_test_code
="int some_variable = 0;"
12601 # Code to be used in simple link tests
12602 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12604 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12611 # If no C compiler was specified, use CC.
12614 # If no C compiler flags were specified, use CFLAGS.
12615 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12617 # Allow CC to be a program name with arguments.
12621 # save warnings/boilerplate of simple test code
12622 ac_outfile
=conftest.
$ac_objext
12623 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12624 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12625 _lt_compiler_boilerplate
=`cat conftest.err`
12628 ac_outfile
=conftest.
$ac_objext
12629 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12630 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12631 _lt_linker_boilerplate
=`cat conftest.err`
12635 # Allow CC to be a program name with arguments.
12640 lt_save_with_gnu_ld
=$with_gnu_ld
12641 lt_save_path_LD
=$lt_cv_path_LD
12642 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12643 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12645 $as_unset lt_cv_prog_gnu_ld
12647 if test -n "${lt_cv_path_LDCXX+set}"; then
12648 lt_cv_path_LD
=$lt_cv_path_LDCXX
12650 $as_unset lt_cv_path_LD
12652 test -z "${LDCXX+set}" || LD
=$LDCXX
12656 for cc_temp
in $compiler""; do
12658 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12659 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12664 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12667 if test -n "$compiler"; then
12668 # We don't want -fno-exception when compiling C++ code, so set the
12669 # no_builtin_flag separately
12670 if test "$GXX" = yes; then
12671 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12673 lt_prog_compiler_no_builtin_flag_CXX
=
12676 if test "$GXX" = yes; then
12677 # Set up default GNU C++ configuration
12681 # Check whether --with-gnu-ld was given.
12682 if test "${with_gnu_ld+set}" = set; then :
12683 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12689 if test "$GCC" = yes; then
12690 # Check if gcc -print-prog-name=ld gives a path.
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12692 $as_echo_n "checking for ld used by $CC... " >&6; }
12695 # gcc leaves a trailing carriage return which upsets mingw
12696 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12698 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12701 # Accept absolute paths.
12703 re_direlt
='/[^/][^/]*/\.\./'
12704 # Canonicalize the pathname of ld
12705 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12706 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12707 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12709 test -z "$LD" && LD
="$ac_prog"
12712 # If it fails, then pretend we aren't using GCC.
12716 # If it is relative, then search for the first ld in PATH.
12717 with_gnu_ld
=unknown
12720 elif test "$with_gnu_ld" = yes; then
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12722 $as_echo_n "checking for GNU ld... " >&6; }
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12725 $as_echo_n "checking for non-GNU ld... " >&6; }
12727 if ${lt_cv_path_LD+:} false
; then :
12728 $as_echo_n "(cached) " >&6
12730 if test -z "$LD"; then
12731 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12732 for ac_dir
in $PATH; do
12734 test -z "$ac_dir" && ac_dir
=.
12735 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12736 lt_cv_path_LD
="$ac_dir/$ac_prog"
12737 # Check to see if the program is GNU ld. I'd rather use --version,
12738 # but apparently some variants of GNU ld only accept -v.
12739 # Break only if it was the GNU/non-GNU ld that we prefer.
12740 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12741 *GNU
* |
*'with BFD'*)
12742 test "$with_gnu_ld" != no
&& break
12745 test "$with_gnu_ld" != yes && break
12752 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12756 LD
="$lt_cv_path_LD"
12757 if test -n "$LD"; then
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12759 $as_echo "$LD" >&6; }
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12762 $as_echo "no" >&6; }
12764 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12766 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12767 if ${lt_cv_prog_gnu_ld+:} false
; then :
12768 $as_echo_n "(cached) " >&6
12770 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12771 case `$LD -v 2>&1 </dev/null` in
12772 *GNU
* |
*'with BFD'*)
12773 lt_cv_prog_gnu_ld
=yes
12776 lt_cv_prog_gnu_ld
=no
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12781 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12782 with_gnu_ld
=$lt_cv_prog_gnu_ld
12790 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12791 # archiving commands below assume that GNU ld is being used.
12792 if test "$with_gnu_ld" = yes; then
12793 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12794 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'
12796 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12797 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12799 # If archive_cmds runs LD, not CC, wlarc should be empty
12800 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12801 # investigate it a little bit more. (MM)
12804 # ancient GNU ld didn't support --whole-archive et. al.
12805 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12806 $GREP 'no-whole-archive' > /dev
/null
; then
12807 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12809 whole_archive_flag_spec_CXX
=
12815 # A generic and very simple default shared library creation
12816 # command for GNU C++ for the case where it uses the native
12817 # linker, instead of GNU ld. If possible, this setting should
12818 # overridden to take advantage of the native linker features on
12819 # the platform it is being used on.
12820 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12823 # Commands to make compiler produce verbose output that lists
12824 # what "hidden" libraries, object files and flags are used when
12825 # linking a shared library.
12826 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12834 # PORTME: fill in a description of your system's C++ link characteristics
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12836 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12840 # FIXME: insert proper C++ library support
12844 if test "$host_cpu" = ia64
; then
12845 # On IA64, the linker does run time linking by default, so we don't
12846 # have to do anything special.
12847 aix_use_runtimelinking
=no
12848 exp_sym_flag
='-Bexport'
12851 aix_use_runtimelinking
=no
12853 # Test if we are trying to use run time linking or normal
12854 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12855 # need to do runtime linking.
12856 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12857 for ld_flag
in $LDFLAGS; do
12860 aix_use_runtimelinking
=yes
12868 exp_sym_flag
='-bexport'
12869 no_entry_flag
='-bnoentry'
12872 # When large executables or shared objects are built, AIX ld can
12873 # have problems creating the table of contents. If linking a library
12874 # or program results in "error TOC overflow" add -mminimal-toc to
12875 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12876 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12878 archive_cmds_CXX
=''
12879 hardcode_direct_CXX
=yes
12880 hardcode_direct_absolute_CXX
=yes
12881 hardcode_libdir_separator_CXX
=':'
12882 link_all_deplibs_CXX
=yes
12883 file_list_spec_CXX
='${wl}-f,'
12885 if test "$GXX" = yes; then
12886 case $host_os in aix4.
[012]|aix4.
[012].
*)
12887 # We only want to do this on AIX 4.2 and lower, the check
12888 # below for broken collect2 doesn't work under 4.3+
12889 collect2name
=`${CC} -print-prog-name=collect2`
12890 if test -f "$collect2name" &&
12891 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12893 # We have reworked collect2
12896 # We have old collect2
12897 hardcode_direct_CXX
=unsupported
12898 # It fails to find uninstalled libraries when the uninstalled
12899 # path is not listed in the libpath. Setting hardcode_minus_L
12900 # to unsupported forces relinking
12901 hardcode_minus_L_CXX
=yes
12902 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12903 hardcode_libdir_separator_CXX
=
12906 shared_flag
='-shared'
12907 if test "$aix_use_runtimelinking" = yes; then
12908 shared_flag
="$shared_flag "'${wl}-G'
12912 if test "$host_cpu" = ia64
; then
12913 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12914 # chokes on -Wl,-G. The following line is correct:
12917 if test "$aix_use_runtimelinking" = yes; then
12918 shared_flag
='${wl}-G'
12920 shared_flag
='${wl}-bM:SRE'
12925 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12926 # It seems that -bexpall does not export symbols beginning with
12927 # underscore (_), so it is better to generate a list of symbols to
12929 always_export_symbols_CXX
=yes
12930 if test "$aix_use_runtimelinking" = yes; then
12931 # Warning - without using the other runtime loading flags (-brtl),
12932 # -berok will link without error, but may produce a broken library.
12933 allow_undefined_flag_CXX
='-berok'
12934 # Determine the default libpath from the value encoded in an empty
12936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12937 /* end confdefs.h. */
12947 if ac_fn_cxx_try_link
"$LINENO"; then :
12949 lt_aix_libpath_sed
='
12950 /Import File Strings/,/^$/ {
12956 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12957 # Check for a 64-bit object if we didn't find anything.
12958 if test -z "$aix_libpath"; then
12959 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12962 rm -f core conftest.err conftest.
$ac_objext \
12963 conftest
$ac_exeext conftest.
$ac_ext
12964 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12966 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12968 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"
12970 if test "$host_cpu" = ia64
; then
12971 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12972 allow_undefined_flag_CXX
="-z nodefs"
12973 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"
12975 # Determine the default libpath from the value encoded in an
12976 # empty executable.
12977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12978 /* end confdefs.h. */
12988 if ac_fn_cxx_try_link
"$LINENO"; then :
12990 lt_aix_libpath_sed
='
12991 /Import File Strings/,/^$/ {
12997 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12998 # Check for a 64-bit object if we didn't find anything.
12999 if test -z "$aix_libpath"; then
13000 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13003 rm -f core conftest.err conftest.
$ac_objext \
13004 conftest
$ac_exeext conftest.
$ac_ext
13005 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13007 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13008 # Warning - without using the other run time loading flags,
13009 # -berok will link without error, but may produce a broken library.
13010 no_undefined_flag_CXX
=' ${wl}-bernotok'
13011 allow_undefined_flag_CXX
=' ${wl}-berok'
13012 if test "$with_gnu_ld" = yes; then
13013 # We only use this code for GNU lds that support --whole-archive.
13014 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13016 # Exported symbols can be pulled into shared objects from archives
13017 whole_archive_flag_spec_CXX
='$convenience'
13019 archive_cmds_need_lc_CXX
=yes
13020 # This is similar to how AIX traditionally builds its shared
13022 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'
13028 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13029 allow_undefined_flag_CXX
=unsupported
13030 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13031 # support --undefined. This deserves some investigation. FIXME
13032 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13039 case $cc_basename in
13041 # FIXME: insert proper C++ library support
13047 cygwin
* | mingw
* | pw32
* | cegcc
*)
13048 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13049 # as there is no search path for DLLs.
13050 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13051 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13052 allow_undefined_flag_CXX
=unsupported
13053 always_export_symbols_CXX
=no
13054 enable_shared_with_static_runtimes_CXX
=yes
13056 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13057 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'
13058 # If the export-symbols file already is a .def file (1st line
13059 # is EXPORTS), use it as is; otherwise, prepend...
13060 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13061 cp $export_symbols $output_objdir/$soname.def;
13063 echo EXPORTS > $output_objdir/$soname.def;
13064 cat $export_symbols >> $output_objdir/$soname.def;
13066 $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'
13071 darwin
* | rhapsody
*)
13074 archive_cmds_need_lc_CXX
=no
13075 hardcode_direct_CXX
=no
13076 hardcode_automatic_CXX
=yes
13077 hardcode_shlibpath_var_CXX
=unsupported
13078 if test "$lt_cv_ld_force_load" = "yes"; then
13079 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\"`'
13081 whole_archive_flag_spec_CXX
=''
13083 link_all_deplibs_CXX
=yes
13084 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13085 case $cc_basename in
13086 ifort
*) _lt_dar_can_shared
=yes ;;
13087 *) _lt_dar_can_shared
=$GCC ;;
13089 if test "$_lt_dar_can_shared" = "yes"; then
13090 output_verbose_link_cmd
=func_echo_all
13091 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}"
13092 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13093 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}"
13094 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}"
13095 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13096 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}"
13097 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}"
13107 case $cc_basename in
13109 # FIXME: insert proper C++ library support
13113 # Green Hills C++ Compiler
13114 # FIXME: insert proper C++ library support
13118 # FIXME: insert proper C++ library support
13125 # C++ shared libraries reported to be fairly broken before
13131 archive_cmds_need_lc_CXX
=no
13134 freebsd
* | dragonfly
*)
13135 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13144 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13145 link_all_deplibs_CXX
=yes
13149 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13150 hardcode_libdir_separator_CXX
=:
13151 export_dynamic_flag_spec_CXX
='${wl}-E'
13152 hardcode_direct_CXX
=yes
13153 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13154 # but as the default
13155 # location of the library.
13157 case $cc_basename in
13159 # FIXME: insert proper C++ library support
13163 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'
13164 # Commands to make compiler produce verbose output that lists
13165 # what "hidden" libraries, object files and flags are used when
13166 # linking a shared library.
13168 # There doesn't appear to be a way to prevent this compiler from
13169 # explicitly linking system object files so we need to strip them
13170 # from the output so that they don't get included in the library
13172 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"'
13175 if test "$GXX" = yes; then
13176 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'
13178 # FIXME: insert proper C++ library support
13186 if test $with_gnu_ld = no
; then
13187 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13188 hardcode_libdir_separator_CXX
=:
13194 export_dynamic_flag_spec_CXX
='${wl}-E'
13200 hardcode_direct_CXX
=no
13201 hardcode_shlibpath_var_CXX
=no
13204 hardcode_direct_CXX
=yes
13205 hardcode_direct_absolute_CXX
=yes
13206 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13207 # but as the default
13208 # location of the library.
13212 case $cc_basename in
13214 # FIXME: insert proper C++ library support
13220 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13223 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13226 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13229 # Commands to make compiler produce verbose output that lists
13230 # what "hidden" libraries, object files and flags are used when
13231 # linking a shared library.
13233 # There doesn't appear to be a way to prevent this compiler from
13234 # explicitly linking system object files so we need to strip them
13235 # from the output so that they don't get included in the library
13237 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"'
13240 if test "$GXX" = yes; then
13241 if test $with_gnu_ld = no
; then
13244 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13247 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13250 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'
13255 # FIXME: insert proper C++ library support
13263 hardcode_direct_CXX
=no
13264 hardcode_shlibpath_var_CXX
=no
13265 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13266 export_dynamic_flag_spec_CXX
='${wl}-E'
13267 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13268 # Instead, shared libraries are loaded at an image base (0x10000000 by
13269 # default) and relocated if they conflict, which is a slow very memory
13270 # consuming and fragmenting process. To avoid this, we pick a random,
13271 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13272 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13273 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'
13274 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'
13277 case $cc_basename in
13280 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'
13282 # Archives containing C++ object files must be created using
13283 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13284 # necessary to make sure instantiated templates are included
13286 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13289 if test "$GXX" = yes; then
13290 if test "$with_gnu_ld" = no
; then
13291 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'
13293 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'
13296 link_all_deplibs_CXX
=yes
13299 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13300 hardcode_libdir_separator_CXX
=:
13301 inherit_rpath_CXX
=yes
13304 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13305 case $cc_basename in
13307 # Kuck and Associates, Inc. (KAI) C++ Compiler
13309 # KCC will only create a shared library if the output file
13310 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13311 # to its proper name (with version) after linking.
13312 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'
13313 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'
13314 # Commands to make compiler produce verbose output that lists
13315 # what "hidden" libraries, object files and flags are used when
13316 # linking a shared library.
13318 # There doesn't appear to be a way to prevent this compiler from
13319 # explicitly linking system object files so we need to strip them
13320 # from the output so that they don't get included in the library
13322 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"'
13324 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13325 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13327 # Archives containing C++ object files must be created using
13328 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13329 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13334 # version 8.0 and above of icpc choke on multiply defined symbols
13335 # if we add $predep_objects and $postdep_objects, however 7.1 and
13336 # earlier do not add the objects themselves.
13337 case `$CC -V 2>&1` in
13339 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13340 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'
13342 *) # Version 8.0 or newer
13345 ia64
*) tmp_idyn
=' -i_dynamic';;
13347 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13348 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'
13351 archive_cmds_need_lc_CXX
=no
13352 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13353 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13354 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13357 # Portland Group C++ compiler
13359 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13360 prelink_cmds_CXX
='tpldir=Template.dir~
13362 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13363 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13364 old_archive_cmds_CXX
='tpldir=Template.dir~
13366 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13367 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13369 archive_cmds_CXX
='tpldir=Template.dir~
13371 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13372 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13373 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13375 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13376 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13378 *) # Version 6 and above use weak symbols
13379 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13380 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'
13384 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13385 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13386 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'
13390 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13391 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'
13393 runpath_var
=LD_RUN_PATH
13394 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13395 hardcode_libdir_separator_CXX
=:
13397 # Commands to make compiler produce verbose output that lists
13398 # what "hidden" libraries, object files and flags are used when
13399 # linking a shared library.
13401 # There doesn't appear to be a way to prevent this compiler from
13402 # explicitly linking system object files so we need to strip them
13403 # from the output so that they don't get included in the library
13405 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'
13407 xl
* | mpixl
* | bgxl
*)
13408 # IBM XL 8.0 on PPC, with GNU ld
13409 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13410 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13411 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13412 if test "x$supports_anon_versioning" = xyes
; then
13413 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13414 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13415 echo "local: *; };" >> $output_objdir/$libname.ver~
13416 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13420 case `$CC -V 2>&1 | sed 5q` in
13423 no_undefined_flag_CXX
=' -zdefs'
13424 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13425 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'
13426 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13427 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'
13428 compiler_needs_object_CXX
=yes
13430 # Not sure whether something based on
13431 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13433 output_verbose_link_cmd
='func_echo_all'
13435 # Archives containing C++ object files must be created using
13436 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13437 # necessary to make sure instantiated templates are included
13439 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13447 # FIXME: insert proper C++ library support
13452 # FIXME: insert proper C++ library support
13457 case $cc_basename in
13459 # FIXME: insert proper C++ library support
13463 # FIXME: insert proper C++ library support
13470 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13471 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13473 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13474 hardcode_direct_CXX
=yes
13475 hardcode_shlibpath_var_CXX
=no
13477 # Workaround some broken pre-1.5 toolchains
13478 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13486 # C++ shared libraries are fairly broken
13491 if test -f /usr
/libexec
/ld.so
; then
13492 hardcode_direct_CXX
=yes
13493 hardcode_shlibpath_var_CXX
=no
13494 hardcode_direct_absolute_CXX
=yes
13495 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13496 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13497 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13498 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13499 export_dynamic_flag_spec_CXX
='${wl}-E'
13500 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13502 output_verbose_link_cmd
=func_echo_all
13508 osf3
* | osf4
* | osf5
*)
13509 case $cc_basename in
13511 # Kuck and Associates, Inc. (KAI) C++ Compiler
13513 # KCC will only create a shared library if the output file
13514 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13515 # to its proper name (with version) after linking.
13516 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'
13518 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13519 hardcode_libdir_separator_CXX
=:
13521 # Archives containing C++ object files must be created using
13522 # the KAI C++ compiler.
13524 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13525 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13529 # Rational C++ 2.4.1
13530 # FIXME: insert proper C++ library support
13536 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13537 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'
13538 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13541 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13542 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'
13543 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13544 echo "-hidden">> $lib.exp~
13545 $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~
13547 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13551 hardcode_libdir_separator_CXX
=:
13553 # Commands to make compiler produce verbose output that lists
13554 # what "hidden" libraries, object files and flags are used when
13555 # linking a shared library.
13557 # There doesn't appear to be a way to prevent this compiler from
13558 # explicitly linking system object files so we need to strip them
13559 # from the output so that they don't get included in the library
13561 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"'
13564 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13565 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13568 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'
13571 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'
13575 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13576 hardcode_libdir_separator_CXX
=:
13578 # Commands to make compiler produce verbose output that lists
13579 # what "hidden" libraries, object files and flags are used when
13580 # linking a shared library.
13581 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13584 # FIXME: insert proper C++ library support
13592 # FIXME: insert proper C++ library support
13597 case $cc_basename in
13600 # FIXME: insert proper C++ library support
13605 # FIXME: insert proper C++ library support
13609 # FIXME: insert proper C++ library support
13616 case $cc_basename in
13618 # Sun C++ 4.2, 5.x and Centerline C++
13619 archive_cmds_need_lc_CXX
=yes
13620 no_undefined_flag_CXX
=' -zdefs'
13621 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13622 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13623 $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'
13625 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13626 hardcode_shlibpath_var_CXX
=no
13628 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13630 # The compiler driver will combine and reorder linker options,
13631 # but understands `-z linker_flag'.
13632 # Supported since Solaris 2.6 (maybe 2.5.1?)
13633 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13636 link_all_deplibs_CXX
=yes
13638 output_verbose_link_cmd
='func_echo_all'
13640 # Archives containing C++ object files must be created using
13641 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13642 # necessary to make sure instantiated templates are included
13644 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13647 # Green Hills C++ Compiler
13648 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13650 # The C++ compiler must be used to create the archive.
13651 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13654 # GNU C++ compiler with Solaris linker
13655 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13656 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13657 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13658 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13659 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13660 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13662 # Commands to make compiler produce verbose output that lists
13663 # what "hidden" libraries, object files and flags are used when
13664 # linking a shared library.
13665 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13667 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13669 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13670 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13671 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13673 # Commands to make compiler produce verbose output that lists
13674 # what "hidden" libraries, object files and flags are used when
13675 # linking a shared library.
13676 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13679 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13681 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13683 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13691 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13692 no_undefined_flag_CXX
='${wl}-z,text'
13693 archive_cmds_need_lc_CXX
=no
13694 hardcode_shlibpath_var_CXX
=no
13695 runpath_var
='LD_RUN_PATH'
13697 case $cc_basename in
13699 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13700 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13703 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13704 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13709 sysv5
* | sco3.2v5
* | sco5v6
*)
13710 # Note: We can NOT use -z defs as we might desire, because we do not
13711 # link with -lc, and that would cause any symbols used from libc to
13712 # always be unresolved, which means just about no library would
13713 # ever link correctly. If we're not using GNU ld we use -z text
13714 # though, which does catch some bad symbols but isn't as heavy-handed
13716 no_undefined_flag_CXX
='${wl}-z,text'
13717 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13718 archive_cmds_need_lc_CXX
=no
13719 hardcode_shlibpath_var_CXX
=no
13720 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13721 hardcode_libdir_separator_CXX
=':'
13722 link_all_deplibs_CXX
=yes
13723 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13724 runpath_var
='LD_RUN_PATH'
13726 case $cc_basename in
13728 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13729 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13730 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13731 '"$old_archive_cmds_CXX"
13732 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13733 '"$reload_cmds_CXX"
13736 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13737 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13743 case $cc_basename in
13745 # NonStop-UX NCC 3.20
13746 # FIXME: insert proper C++ library support
13750 # FIXME: insert proper C++ library support
13757 # FIXME: insert proper C++ library support
13762 # FIXME: insert proper C++ library support
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13768 $as_echo "$ld_shlibs_CXX" >&6; }
13769 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13775 ## There is no encapsulation within the following macros, do not change
13776 ## the running order or otherwise move them around unless you know exactly
13777 ## what you are doing...
13778 # Dependencies to place before and after the object being linked:
13779 predep_objects_CXX
=
13780 postdep_objects_CXX
=
13783 compiler_lib_search_path_CXX
=
13785 cat > conftest.
$ac_ext <<_LT_EOF
13789 Foo (void) { a = 0; }
13795 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13796 (eval $ac_compile) 2>&5
13798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13799 test $ac_status = 0; }; then
13800 # Parse the compiler output and extract the necessary
13801 # objects, libraries and library flags.
13803 # Sentinel used to keep track of whether or not we are before
13804 # the conftest object file.
13805 pre_test_object_deps_done
=no
13807 for p
in `eval "$output_verbose_link_cmd"`; do
13811 # Some compilers place space between "-{L,R}" and the path.
13812 # Remove the space.
13813 if test $p = "-L" ||
13814 test $p = "-R"; then
13821 if test "$pre_test_object_deps_done" = no
; then
13824 # Internal compiler library paths should come after those
13825 # provided the user. The postdeps already come after the
13826 # user supplied libs so there is no need to process them.
13827 if test -z "$compiler_lib_search_path_CXX"; then
13828 compiler_lib_search_path_CXX
="${prev}${p}"
13830 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13833 # The "-l" case would never come before the object being
13834 # linked, so don't bother handling this case.
13837 if test -z "$postdeps_CXX"; then
13838 postdeps_CXX
="${prev}${p}"
13840 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13846 # This assumes that the test object file only shows up
13847 # once in the compiler output.
13848 if test "$p" = "conftest.$objext"; then
13849 pre_test_object_deps_done
=yes
13853 if test "$pre_test_object_deps_done" = no
; then
13854 if test -z "$predep_objects_CXX"; then
13855 predep_objects_CXX
="$p"
13857 predep_objects_CXX
="$predep_objects_CXX $p"
13860 if test -z "$postdep_objects_CXX"; then
13861 postdep_objects_CXX
="$p"
13863 postdep_objects_CXX
="$postdep_objects_CXX $p"
13868 *) ;; # Ignore the rest.
13876 echo "libtool.m4: error: problem compiling CXX test program"
13879 $RM -f confest.
$objext
13881 # PORTME: override above test on systems where it is broken
13884 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13885 # hack all around it, let's just trust "g++" to DTRT.
13886 predep_objects_CXX
=
13887 postdep_objects_CXX
=
13892 case `$CC -V 2>&1 | sed 5q` in
13896 # The more standards-conforming stlport4 library is
13897 # incompatible with the Cstd library. Avoid specifying
13898 # it if it's in CXXFLAGS. Ignore libCrun as
13899 # -library=stlport4 depends on it.
13900 case " $CXX $CXXFLAGS " in
13901 *" -library=stlport4 "*)
13902 solaris_use_stlport4
=yes
13906 if test "$solaris_use_stlport4" != yes; then
13907 postdeps_CXX
='-library=Cstd -library=Crun'
13914 case $cc_basename in
13916 # The more standards-conforming stlport4 library is
13917 # incompatible with the Cstd library. Avoid specifying
13918 # it if it's in CXXFLAGS. Ignore libCrun as
13919 # -library=stlport4 depends on it.
13920 case " $CXX $CXXFLAGS " in
13921 *" -library=stlport4 "*)
13922 solaris_use_stlport4
=yes
13926 # Adding this requires a known-good setup of shared libraries for
13927 # Sun compiler versions before 5.6, else PIC objects from an old
13928 # archive will be linked into the output, leading to subtle bugs.
13929 if test "$solaris_use_stlport4" != yes; then
13930 postdeps_CXX
='-library=Cstd -library=Crun'
13938 case " $postdeps_CXX " in
13939 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13941 compiler_lib_search_dirs_CXX
=
13942 if test -n "${compiler_lib_search_path_CXX}"; then
13943 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13976 lt_prog_compiler_wl_CXX
=
13977 lt_prog_compiler_pic_CXX
=
13978 lt_prog_compiler_static_CXX
=
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13981 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13983 # C++ specific cases for pic, static, wl, etc.
13984 if test "$GXX" = yes; then
13985 lt_prog_compiler_wl_CXX
='-Wl,'
13986 lt_prog_compiler_static_CXX
='-static'
13990 # All AIX code is PIC.
13991 if test "$host_cpu" = ia64
; then
13992 # AIX 5 now supports IA64 processor
13993 lt_prog_compiler_static_CXX
='-Bstatic'
13995 lt_prog_compiler_pic_CXX
='-fPIC'
14001 # see comment about AmigaOS4 .so support
14002 lt_prog_compiler_pic_CXX
='-fPIC'
14005 # FIXME: we need at least 68020 code to build shared libraries, but
14006 # adding the `-m68020' flag to GCC prevents building anything better,
14008 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14013 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14014 # PIC is the default for these OSes.
14016 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14017 # This hack is so that the source file can tell whether it is being
14018 # built for inclusion in a dll (and should export symbols for example).
14019 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14020 # (--disable-auto-import) libraries
14021 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14023 darwin
* | rhapsody
*)
14024 # PIC is the default on this platform
14025 # Common symbols not allowed in MH_DYLIB files
14026 lt_prog_compiler_pic_CXX
='-fno-common'
14029 # DJGPP does not support shared libraries at all
14030 lt_prog_compiler_pic_CXX
=
14033 # PIC is the default for Haiku.
14034 # The "-static" flag exists, but is broken.
14035 lt_prog_compiler_static_CXX
=
14038 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14039 # Instead, we relocate shared libraries at runtime.
14042 if test -d /usr
/nec
; then
14043 lt_prog_compiler_pic_CXX
=-Kconform_pic
14047 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14048 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14049 # sets the default TLS model and affects inlining.
14054 lt_prog_compiler_pic_CXX
='-fPIC'
14059 # QNX uses GNU C++, but need to define -shared option too, otherwise
14060 # it will coredump.
14061 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14064 lt_prog_compiler_pic_CXX
='-fPIC'
14070 # All AIX code is PIC.
14071 if test "$host_cpu" = ia64
; then
14072 # AIX 5 now supports IA64 processor
14073 lt_prog_compiler_static_CXX
='-Bstatic'
14075 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14079 case $cc_basename in
14081 # Green Hills C++ Compiler
14082 # _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"
14087 case $cc_basename in
14089 lt_prog_compiler_pic_CXX
='-KPIC'
14092 # Green Hills C++ Compiler
14093 lt_prog_compiler_pic_CXX
='-pic'
14099 freebsd
* | dragonfly
*)
14100 # FreeBSD uses GNU C++
14102 hpux9
* | hpux10
* | hpux11
*)
14103 case $cc_basename in
14105 lt_prog_compiler_wl_CXX
='-Wl,'
14106 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14107 if test "$host_cpu" != ia64
; then
14108 lt_prog_compiler_pic_CXX
='+Z'
14112 lt_prog_compiler_wl_CXX
='-Wl,'
14113 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14119 lt_prog_compiler_pic_CXX
='+Z'
14128 # This is c89, which is MS Visual C++ (no shared libs)
14129 # Anyone wants to do a port?
14131 irix5
* | irix6
* | nonstopux
*)
14132 case $cc_basename in
14134 lt_prog_compiler_wl_CXX
='-Wl,'
14135 lt_prog_compiler_static_CXX
='-non_shared'
14136 # CC pic flag -KPIC is the default.
14142 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14143 case $cc_basename in
14146 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14147 lt_prog_compiler_pic_CXX
='-fPIC'
14150 # old Intel C++ for x86_64 which still supported -KPIC.
14151 lt_prog_compiler_wl_CXX
='-Wl,'
14152 lt_prog_compiler_pic_CXX
='-KPIC'
14153 lt_prog_compiler_static_CXX
='-static'
14156 # Intel C++, used to be incompatible with GCC.
14157 # ICC 10 doesn't accept -KPIC any more.
14158 lt_prog_compiler_wl_CXX
='-Wl,'
14159 lt_prog_compiler_pic_CXX
='-fPIC'
14160 lt_prog_compiler_static_CXX
='-static'
14163 # Portland Group C++ compiler
14164 lt_prog_compiler_wl_CXX
='-Wl,'
14165 lt_prog_compiler_pic_CXX
='-fpic'
14166 lt_prog_compiler_static_CXX
='-Bstatic'
14170 # Make sure the PIC flag is empty. It appears that all Alpha
14171 # Linux and Compaq Tru64 Unix objects are PIC.
14172 lt_prog_compiler_pic_CXX
=
14173 lt_prog_compiler_static_CXX
='-non_shared'
14175 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14176 # IBM XL 8.0, 9.0 on PPC and BlueGene
14177 lt_prog_compiler_wl_CXX
='-Wl,'
14178 lt_prog_compiler_pic_CXX
='-qpic'
14179 lt_prog_compiler_static_CXX
='-qstaticlink'
14182 case `$CC -V 2>&1 | sed 5q` in
14185 lt_prog_compiler_pic_CXX
='-KPIC'
14186 lt_prog_compiler_static_CXX
='-Bstatic'
14187 lt_prog_compiler_wl_CXX
='-Qoption ld '
14198 case $cc_basename in
14200 lt_prog_compiler_pic_CXX
='-W c,exportall'
14209 # QNX uses GNU C++, but need to define -shared option too, otherwise
14210 # it will coredump.
14211 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14213 osf3
* | osf4
* | osf5
*)
14214 case $cc_basename in
14216 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14219 # Rational C++ 2.4.1
14220 lt_prog_compiler_pic_CXX
='-pic'
14223 # Digital/Compaq C++
14224 lt_prog_compiler_wl_CXX
='-Wl,'
14225 # Make sure the PIC flag is empty. It appears that all Alpha
14226 # Linux and Compaq Tru64 Unix objects are PIC.
14227 lt_prog_compiler_pic_CXX
=
14228 lt_prog_compiler_static_CXX
='-non_shared'
14237 case $cc_basename in
14239 # Sun C++ 4.2, 5.x and Centerline C++
14240 lt_prog_compiler_pic_CXX
='-KPIC'
14241 lt_prog_compiler_static_CXX
='-Bstatic'
14242 lt_prog_compiler_wl_CXX
='-Qoption ld '
14245 # Green Hills C++ Compiler
14246 lt_prog_compiler_pic_CXX
='-PIC'
14253 case $cc_basename in
14256 lt_prog_compiler_pic_CXX
='-pic'
14257 lt_prog_compiler_static_CXX
='-Bstatic'
14261 lt_prog_compiler_pic_CXX
='-pic'
14267 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14268 case $cc_basename in
14270 lt_prog_compiler_wl_CXX
='-Wl,'
14271 lt_prog_compiler_pic_CXX
='-KPIC'
14272 lt_prog_compiler_static_CXX
='-Bstatic'
14277 case $cc_basename in
14279 # NonStop-UX NCC 3.20
14280 lt_prog_compiler_pic_CXX
='-KPIC'
14289 lt_prog_compiler_can_build_shared_CXX
=no
14295 # For platforms which do not support PIC, -DPIC is meaningless:
14297 lt_prog_compiler_pic_CXX
=
14300 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14304 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14309 # Check to make sure the PIC flag actually works.
14311 if test -n "$lt_prog_compiler_pic_CXX"; then
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14313 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14314 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14315 $as_echo_n "(cached) " >&6
14317 lt_cv_prog_compiler_pic_works_CXX
=no
14318 ac_outfile
=conftest.
$ac_objext
14319 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14320 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14321 # Insert the option either (1) after the last *FLAGS variable, or
14322 # (2) before a word containing "conftest.", or (3) at the end.
14323 # Note that $ac_compile itself does not contain backslashes and begins
14324 # with a dollar sign (not a hyphen), so the echo should work correctly.
14325 # The option is referenced via a variable to avoid confusing sed.
14326 lt_compile
=`echo "$ac_compile" | $SED \
14327 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14328 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14329 -e 's:$: $lt_compiler_flag:'`
14330 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14331 (eval "$lt_compile" 2>conftest.err
)
14333 cat conftest.err
>&5
14334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14335 if (exit $ac_status) && test -s "$ac_outfile"; then
14336 # The compiler can only warn and ignore the option if not recognized
14337 # So say no if there are warnings other than the usual output.
14338 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14339 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14340 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14341 lt_cv_prog_compiler_pic_works_CXX
=yes
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14348 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14350 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14351 case $lt_prog_compiler_pic_CXX in
14353 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14356 lt_prog_compiler_pic_CXX
=
14357 lt_prog_compiler_can_build_shared_CXX
=no
14365 # Check to make sure the static flag actually works.
14367 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14369 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14370 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14371 $as_echo_n "(cached) " >&6
14373 lt_cv_prog_compiler_static_works_CXX
=no
14374 save_LDFLAGS
="$LDFLAGS"
14375 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14376 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14377 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14378 # The linker can only warn and ignore the option if not recognized
14379 # So say no if there are warnings
14380 if test -s conftest.err
; then
14381 # Append any errors to the config.log.
14382 cat conftest.err
1>&5
14383 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14384 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14385 if diff conftest.exp conftest.er2
>/dev
/null
; then
14386 lt_cv_prog_compiler_static_works_CXX
=yes
14389 lt_cv_prog_compiler_static_works_CXX
=yes
14393 LDFLAGS
="$save_LDFLAGS"
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14397 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14399 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14402 lt_prog_compiler_static_CXX
=
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14409 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14410 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14411 $as_echo_n "(cached) " >&6
14413 lt_cv_prog_compiler_c_o_CXX
=no
14414 $RM -r conftest
2>/dev
/null
14418 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14420 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14421 # Insert the option either (1) after the last *FLAGS variable, or
14422 # (2) before a word containing "conftest.", or (3) at the end.
14423 # Note that $ac_compile itself does not contain backslashes and begins
14424 # with a dollar sign (not a hyphen), so the echo should work correctly.
14425 lt_compile
=`echo "$ac_compile" | $SED \
14426 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14427 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14428 -e 's:$: $lt_compiler_flag:'`
14429 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14430 (eval "$lt_compile" 2>out
/conftest.err
)
14432 cat out
/conftest.err
>&5
14433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14434 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14436 # The compiler can only warn and ignore the option if not recognized
14437 # So say no if there are warnings
14438 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14439 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14440 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14441 lt_cv_prog_compiler_c_o_CXX
=yes
14446 # SGI C++ compiler will create directory out/ii_files/ for
14447 # template instantiation
14448 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14449 $RM out
/* && rmdir out
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14456 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14461 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14462 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14463 $as_echo_n "(cached) " >&6
14465 lt_cv_prog_compiler_c_o_CXX
=no
14466 $RM -r conftest
2>/dev
/null
14470 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14472 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14473 # Insert the option either (1) after the last *FLAGS variable, or
14474 # (2) before a word containing "conftest.", or (3) at the end.
14475 # Note that $ac_compile itself does not contain backslashes and begins
14476 # with a dollar sign (not a hyphen), so the echo should work correctly.
14477 lt_compile
=`echo "$ac_compile" | $SED \
14478 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14479 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14480 -e 's:$: $lt_compiler_flag:'`
14481 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14482 (eval "$lt_compile" 2>out
/conftest.err
)
14484 cat out
/conftest.err
>&5
14485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14486 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14488 # The compiler can only warn and ignore the option if not recognized
14489 # So say no if there are warnings
14490 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14491 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14492 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14493 lt_cv_prog_compiler_c_o_CXX
=yes
14498 # SGI C++ compiler will create directory out/ii_files/ for
14499 # template instantiation
14500 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14501 $RM out
/* && rmdir out
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14508 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14513 hard_links
="nottested"
14514 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14515 # do not overwrite the value of need_locks provided by the user
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14517 $as_echo_n "checking if we can lock with hard links... " >&6; }
14520 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14522 ln conftest.a conftest.b
2>&5 || hard_links
=no
14523 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14525 $as_echo "$hard_links" >&6; }
14526 if test "$hard_links" = no
; then
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14528 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14538 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14540 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14543 # If we're using GNU nm, then we don't want the "-C" option.
14544 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14545 # Also, AIX nm treats weak defined symbols like other global defined
14546 # symbols, whereas GNU nm marks them as "W".
14547 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14548 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'
14550 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'
14554 export_symbols_cmds_CXX
="$ltdll_cmds"
14556 cygwin
* | mingw
* | cegcc
*)
14557 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'
14560 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14563 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14566 $as_echo "$ld_shlibs_CXX" >&6; }
14567 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14569 with_gnu_ld_CXX
=$with_gnu_ld
14577 # Do we need to explicitly link libc?
14579 case "x$archive_cmds_need_lc_CXX" in
14581 # Assume -lc should be added
14582 archive_cmds_need_lc_CXX
=yes
14584 if test "$enable_shared" = yes && test "$GCC" = yes; then
14585 case $archive_cmds_CXX in
14587 # FIXME: we may have to deal with multi-command sequences.
14590 # Test whether the compiler implicitly links with -lc since on some
14591 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14592 # to ld, don't add -lc before -lgcc.
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14594 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14595 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14596 $as_echo_n "(cached) " >&6
14599 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14601 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14602 (eval $ac_compile) 2>&5
14604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14605 test $ac_status = 0; } 2>conftest.err
; then
14608 libobjs
=conftest.
$ac_objext
14610 wl
=$lt_prog_compiler_wl_CXX
14611 pic_flag
=$lt_prog_compiler_pic_CXX
14617 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14618 allow_undefined_flag_CXX
=
14619 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14620 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14623 test $ac_status = 0; }
14625 lt_cv_archive_cmds_need_lc_CXX
=no
14627 lt_cv_archive_cmds_need_lc_CXX
=yes
14629 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14631 cat conftest.err
1>&5
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14637 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14638 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14709 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14711 library_names_spec
=
14712 libname_spec
='lib$name'
14716 postuninstall_cmds
=
14720 shlibpath_overrides_runpath
=unknown
14722 dynamic_linker
="$host_os ld.so"
14723 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14724 need_lib_prefix
=unknown
14725 hardcode_into_libs
=no
14727 # when you set need_version to no, make sure it does not cause -set_version
14728 # flags to be left without arguments
14729 need_version
=unknown
14734 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14735 shlibpath_var
=LIBPATH
14737 # AIX 3 has no versioning support, so we append a major version to the name.
14738 soname_spec
='${libname}${release}${shared_ext}$major'
14745 hardcode_into_libs
=yes
14746 if test "$host_cpu" = ia64
; then
14747 # AIX 5 supports IA64
14748 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14749 shlibpath_var
=LD_LIBRARY_PATH
14751 # With GCC up to 2.95.x, collect2 would create an import file
14752 # for dependence libraries. The import file would start with
14753 # the line `#! .'. This would cause the generated library to
14754 # depend on `.', always an invalid library. This was fixed in
14755 # development snapshots of GCC prior to 3.0.
14757 aix4 | aix4.
[01] | aix4.
[01].
*)
14758 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14760 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14763 can_build_shared
=no
14767 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14768 # soname into executable. Probably we can add versioning support to
14769 # collect2, so additional links can be useful in future.
14770 if test "$aix_use_runtimelinking" = yes; then
14771 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14772 # instead of lib<name>.a to let people know that these are not
14773 # typical AIX shared libraries.
14774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14776 # We preserve .a as extension for shared libraries through AIX4.2
14777 # and later when we are not doing run time linking.
14778 library_names_spec
='${libname}${release}.a $libname.a'
14779 soname_spec
='${libname}${release}${shared_ext}$major'
14781 shlibpath_var
=LIBPATH
14788 # Since July 2007 AmigaOS4 officially supports .so libraries.
14789 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14790 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14793 library_names_spec
='$libname.ixlibrary $libname.a'
14794 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14795 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'
14801 library_names_spec
='${libname}${shared_ext}'
14802 dynamic_linker
="$host_os ld.so"
14803 shlibpath_var
=LIBRARY_PATH
14809 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14810 soname_spec
='${libname}${release}${shared_ext}$major'
14811 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14812 shlibpath_var
=LD_LIBRARY_PATH
14813 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14814 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14815 # the default ld.so.conf also contains /usr/contrib/lib and
14816 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14817 # libtool to hard-code these into programs
14820 cygwin
* | mingw
* | pw32
* | cegcc
*)
14821 version_type
=windows
14826 case $GCC,$host_os in
14827 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14828 library_names_spec
='$libname.dll.a'
14829 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14830 postinstall_cmds
='base_file=`basename \${file}`~
14831 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14832 dldir=$destdir/`dirname \$dlpath`~
14833 test -d \$dldir || mkdir -p \$dldir~
14834 $install_prog $dir/$dlname \$dldir/$dlname~
14835 chmod a+x \$dldir/$dlname~
14836 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14837 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14839 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14840 dlpath=$dir/\$dldll~
14842 shlibpath_overrides_runpath
=yes
14846 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14847 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14851 # MinGW DLLs use traditional 'lib' prefix
14852 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14855 # pw32 DLLs use 'pw' prefix rather than 'lib'
14856 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14862 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14865 dynamic_linker
='Win32 ld.exe'
14866 # FIXME: first we should search . and the directory the executable is in
14870 darwin
* | rhapsody
*)
14871 dynamic_linker
="$host_os dyld"
14872 version_type
=darwin
14875 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14876 soname_spec
='${libname}${release}${major}$shared_ext'
14877 shlibpath_overrides_runpath
=yes
14878 shlibpath_var
=DYLD_LIBRARY_PATH
14879 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14881 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14888 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14889 soname_spec
='${libname}${release}${shared_ext}$major'
14890 shlibpath_var
=LD_LIBRARY_PATH
14893 freebsd
* | dragonfly
*)
14894 # DragonFly does not have aout. When/if they implement a new
14895 # versioning mechanism, adjust this.
14896 if test -x /usr
/bin
/objformat
; then
14897 objformat
=`/usr/bin/objformat`
14900 freebsd
[23].
*) objformat
=aout
;;
14901 *) objformat
=elf
;;
14904 version_type
=freebsd-
$objformat
14905 case $version_type in
14907 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14912 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14916 shlibpath_var
=LD_LIBRARY_PATH
14919 shlibpath_overrides_runpath
=yes
14921 freebsd3.
[01]* | freebsdelf3.
[01]*)
14922 shlibpath_overrides_runpath
=yes
14923 hardcode_into_libs
=yes
14925 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14926 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14927 shlibpath_overrides_runpath
=no
14928 hardcode_into_libs
=yes
14930 *) # from 4.6 on, and DragonFly
14931 shlibpath_overrides_runpath
=yes
14932 hardcode_into_libs
=yes
14941 dynamic_linker
="$host_os runtime_loader"
14942 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14943 soname_spec
='${libname}${release}${shared_ext}$major'
14944 shlibpath_var
=LIBRARY_PATH
14945 shlibpath_overrides_runpath
=yes
14946 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14947 hardcode_into_libs
=yes
14950 hpux9
* | hpux10
* | hpux11
*)
14951 # Give a soname corresponding to the major version so that dld.sl refuses to
14952 # link against other versions.
14959 hardcode_into_libs
=yes
14960 dynamic_linker
="$host_os dld.so"
14961 shlibpath_var
=LD_LIBRARY_PATH
14962 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14963 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14964 soname_spec
='${libname}${release}${shared_ext}$major'
14965 if test "X$HPUX_IA64_MODE" = X32
; then
14966 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14968 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14970 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14974 hardcode_into_libs
=yes
14975 dynamic_linker
="$host_os dld.sl"
14976 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14977 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14978 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14979 soname_spec
='${libname}${release}${shared_ext}$major'
14980 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14981 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14985 dynamic_linker
="$host_os dld.sl"
14986 shlibpath_var
=SHLIB_PATH
14987 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14988 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14989 soname_spec
='${libname}${release}${shared_ext}$major'
14992 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14993 postinstall_cmds
='chmod 555 $lib'
14994 # or fails outright, so override atomically:
14995 install_override_mode
=555
15002 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15003 soname_spec
='${libname}${release}${shared_ext}$major'
15004 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15005 shlibpath_var
=LD_LIBRARY_PATH
15006 shlibpath_overrides_runpath
=no
15007 hardcode_into_libs
=yes
15010 irix5
* | irix6
* | nonstopux
*)
15012 nonstopux
*) version_type
=nonstopux
;;
15014 if test "$lt_cv_prog_gnu_ld" = yes; then
15022 soname_spec
='${libname}${release}${shared_ext}$major'
15023 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15025 irix5
* | nonstopux
*)
15026 libsuff
= shlibsuff
=
15029 case $LD in # libtool.m4 will add one of these switches to LD
15030 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15031 libsuff
= shlibsuff
= libmagic
=32-bit;;
15032 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15033 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15034 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15035 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15036 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15040 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15041 shlibpath_overrides_runpath
=no
15042 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15043 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15044 hardcode_into_libs
=yes
15047 # No shared lib support for Linux oldld, aout, or coff.
15048 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15052 # This must be Linux ELF.
15053 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
15057 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15058 soname_spec
='${libname}${release}${shared_ext}$major'
15059 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15060 shlibpath_var
=LD_LIBRARY_PATH
15061 shlibpath_overrides_runpath
=no
15063 # Some binutils ld are patched to set DT_RUNPATH
15064 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15065 $as_echo_n "(cached) " >&6
15067 lt_cv_shlibpath_overrides_runpath
=no
15068 save_LDFLAGS
=$LDFLAGS
15069 save_libdir
=$libdir
15070 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15071 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15073 /* end confdefs.h. */
15083 if ac_fn_cxx_try_link
"$LINENO"; then :
15084 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15085 lt_cv_shlibpath_overrides_runpath
=yes
15088 rm -f core conftest.err conftest.
$ac_objext \
15089 conftest
$ac_exeext conftest.
$ac_ext
15090 LDFLAGS
=$save_LDFLAGS
15091 libdir
=$save_libdir
15095 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15097 # This implies no fast_install, which is unacceptable.
15098 # Some rework will be needed to allow for fast_install
15099 # before this can be enabled.
15100 hardcode_into_libs
=yes
15102 # Append ld.so.conf contents to the search path
15103 if test -f /etc
/ld.so.conf
; then
15104 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' ' '`
15105 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15108 # We used to test for /lib/ld.so.1 and disable shared libraries on
15109 # powerpc, because MkLinux only supported shared libraries with the
15110 # GNU dynamic linker. Since this was broken with cross compilers,
15111 # most powerpc-linux boxes support dynamic linking these days and
15112 # people can always --disable-shared, the test was removed, and we
15113 # assume the GNU/Linux dynamic linker is in use.
15114 dynamic_linker
='GNU/Linux ld.so'
15121 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15123 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15124 dynamic_linker
='NetBSD (a.out) ld.so'
15126 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15127 soname_spec
='${libname}${release}${shared_ext}$major'
15128 dynamic_linker
='NetBSD ld.elf_so'
15130 shlibpath_var
=LD_LIBRARY_PATH
15131 shlibpath_overrides_runpath
=yes
15132 hardcode_into_libs
=yes
15137 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15138 shlibpath_var
=LD_LIBRARY_PATH
15139 shlibpath_overrides_runpath
=yes
15146 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15147 soname_spec
='${libname}${release}${shared_ext}$major'
15148 shlibpath_var
=LD_LIBRARY_PATH
15149 shlibpath_overrides_runpath
=no
15150 hardcode_into_libs
=yes
15151 dynamic_linker
='ldqnx.so'
15156 sys_lib_dlsearch_path_spec
="/usr/lib"
15158 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15160 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15161 *) need_version
=no
;;
15163 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15164 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15165 shlibpath_var
=LD_LIBRARY_PATH
15166 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15168 openbsd2.
[89] | openbsd2.
[89].
*)
15169 shlibpath_overrides_runpath
=no
15172 shlibpath_overrides_runpath
=yes
15176 shlibpath_overrides_runpath
=yes
15181 libname_spec
='$name'
15184 library_names_spec
='$libname${shared_ext} $libname.a'
15185 dynamic_linker
='OS/2 ld.exe'
15186 shlibpath_var
=LIBPATH
15189 osf3
* | osf4
* | osf5
*)
15193 soname_spec
='${libname}${release}${shared_ext}$major'
15194 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15195 shlibpath_var
=LD_LIBRARY_PATH
15196 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15197 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15208 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15209 soname_spec
='${libname}${release}${shared_ext}$major'
15210 shlibpath_var
=LD_LIBRARY_PATH
15211 shlibpath_overrides_runpath
=yes
15212 hardcode_into_libs
=yes
15213 # ldd complains unless libraries are executable
15214 postinstall_cmds
='chmod +x $lib'
15219 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15220 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15221 shlibpath_var
=LD_LIBRARY_PATH
15222 shlibpath_overrides_runpath
=yes
15223 if test "$with_gnu_ld" = yes; then
15231 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15232 soname_spec
='${libname}${release}${shared_ext}$major'
15233 shlibpath_var
=LD_LIBRARY_PATH
15234 case $host_vendor in
15236 shlibpath_overrides_runpath
=no
15238 runpath_var
=LD_RUN_PATH
15246 shlibpath_overrides_runpath
=no
15247 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15253 if test -d /usr
/nec
;then
15255 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15256 soname_spec
='$libname${shared_ext}.$major'
15257 shlibpath_var
=LD_LIBRARY_PATH
15261 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15262 version_type
=freebsd-elf
15265 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15266 soname_spec
='${libname}${release}${shared_ext}$major'
15267 shlibpath_var
=LD_LIBRARY_PATH
15268 shlibpath_overrides_runpath
=yes
15269 hardcode_into_libs
=yes
15270 if test "$with_gnu_ld" = yes; then
15271 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15273 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15276 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15280 sys_lib_dlsearch_path_spec
='/usr/lib'
15284 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15288 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15289 shlibpath_var
=LD_LIBRARY_PATH
15290 shlibpath_overrides_runpath
=no
15291 hardcode_into_libs
=yes
15296 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15297 soname_spec
='${libname}${release}${shared_ext}$major'
15298 shlibpath_var
=LD_LIBRARY_PATH
15305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15306 $as_echo "$dynamic_linker" >&6; }
15307 test "$dynamic_linker" = no
&& can_build_shared
=no
15309 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15310 if test "$GCC" = yes; then
15311 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15314 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15315 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15317 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15318 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15359 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15360 hardcode_action_CXX
=
15361 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15362 test -n "$runpath_var_CXX" ||
15363 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15365 # We can hardcode non-existent directories.
15366 if test "$hardcode_direct_CXX" != no
&&
15367 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15368 # have to relink, otherwise we might link with an installed library
15369 # when we should be linking with a yet-to-be-installed one
15370 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15371 test "$hardcode_minus_L_CXX" != no
; then
15372 # Linking always hardcodes the temporary library directory.
15373 hardcode_action_CXX
=relink
15375 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15376 hardcode_action_CXX
=immediate
15379 # We cannot hardcode anything, or else we can only hardcode existing
15381 hardcode_action_CXX
=unsupported
15383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15384 $as_echo "$hardcode_action_CXX" >&6; }
15386 if test "$hardcode_action_CXX" = relink ||
15387 test "$inherit_rpath_CXX" = yes; then
15388 # Fast installation is not supported
15389 enable_fast_install
=no
15390 elif test "$shlibpath_overrides_runpath" = yes ||
15391 test "$enable_shared" = no
; then
15392 # Fast installation is not necessary
15393 enable_fast_install
=needless
15402 fi # test -n "$compiler"
15408 with_gnu_ld
=$lt_save_with_gnu_ld
15409 lt_cv_path_LDCXX
=$lt_cv_path_LD
15410 lt_cv_path_LD
=$lt_save_path_LD
15411 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15412 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15413 fi # test "$_lt_caught_CXX_error" != yes
15416 ac_cpp
='$CPP $CPPFLAGS'
15417 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15418 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15419 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15433 ac_config_commands
="$ac_config_commands libtool"
15438 # Only expand once:
15442 GPROFNG_LIBADD
="-L../../libiberty -liberty"
15443 if test "$enable_shared" = "yes"; then
15444 GPROFNG_LIBADD
="-L../../libiberty/pic -liberty"
15448 # Figure out what compiler warnings we can enable.
15449 # See config/warnings.m4 for details.
15452 ac_cpp
='$CPP $CPPFLAGS'
15453 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15454 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15455 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15458 # Check whether --enable-werror-always was given.
15459 if test "${enable_werror_always+set}" = set; then :
15460 enableval
=$enable_werror_always;
15462 enable_werror_always
=no
15465 if test $enable_werror_always = yes; then :
15466 WERROR
="$WERROR${WERROR:+ }-Werror"
15470 ac_cpp
='$CPP $CPPFLAGS'
15471 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15472 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15473 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15477 ac_cpp
='$CPP $CPPFLAGS'
15478 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15479 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15480 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15483 save_CFLAGS
="$CFLAGS"
15484 for real_option
in -Wall; do
15485 # Do the check with the no- prefix removed since gcc silently
15486 # accepts any -Wno-* option on purpose
15487 case $real_option in
15488 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
15489 *) option
=$real_option ;;
15491 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
15494 $as_echo_n "checking whether $CC supports $option... " >&6; }
15495 if eval \
${$as_acx_Woption+:} false
; then :
15496 $as_echo_n "(cached) " >&6
15499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15500 /* end confdefs.h. */
15510 if ac_fn_c_try_compile
"$LINENO"; then :
15511 eval "$as_acx_Woption=yes"
15513 eval "$as_acx_Woption=no"
15515 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15518 eval ac_res
=\$
$as_acx_Woption
15519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15520 $as_echo "$ac_res" >&6; }
15521 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
15522 gprofng_cflags
="$gprofng_cflags${gprofng_cflags:+ }$real_option"
15525 CFLAGS
="$save_CFLAGS"
15527 ac_cpp
='$CPP $CPPFLAGS'
15528 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15529 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15530 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15533 gprofng_cppflags
="-U_ASM"
15537 # This is annoying: it means we have to pass --enable-shared explicitly to
15538 # get gprofng, while the configure default is supposed to be that shared libs
15539 # are on by default. But as long as libiberty has code like this, so must
15542 case "${target}" in
15545 build_collector
=true
15548 build_collector
=true
15549 build_collector
=true
15553 build_collector
=true
15556 # Check whether --enable-gprofng-tools was given.
15557 if test "${enable_gprofng_tools+set}" = set; then :
15558 enableval
=$enable_gprofng_tools; build_src
=$enableval
15562 if test x
$build_collector = xtrue
; then
15563 BUILD_COLLECTOR_TRUE
=
15564 BUILD_COLLECTOR_FALSE
='#'
15566 BUILD_COLLECTOR_TRUE
='#'
15567 BUILD_COLLECTOR_FALSE
=
15570 if test x
$build_src = xtrue
; then
15572 BUILD_SRC_FALSE
='#'
15580 if test x
$build_collector = xtrue
; then
15583 subdirs
="$subdirs libcollector"
15585 if test x
${host} = x
${target}; then
15589 if test x
$run_tests = xtrue
; then
15591 RUN_TESTS_FALSE
='#'
15602 ac_cpp
='$CPP $CPPFLAGS'
15603 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15604 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15605 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15609 # We used to check for pthread.h first, but this fails if pthread.h
15610 # requires special compiler flags (e.g. on Tru64 or Sequent).
15611 # It gets checked for in the link test anyway.
15613 # First of all, check if the user has set any of the PTHREAD_LIBS,
15614 # etcetera environment variables, and if threads linking works using
15616 if test "x$PTHREAD_CFLAGS$PTHREAD_LIBS" != "x"; then
15617 ax_pthread_save_CC
="$CC"
15618 ax_pthread_save_CFLAGS
="$CFLAGS"
15619 ax_pthread_save_LIBS
="$LIBS"
15620 if test "x$PTHREAD_CC" != "x"; then :
15623 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
15624 LIBS
="$PTHREAD_LIBS $LIBS"
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5
15626 $as_echo_n "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; }
15627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15628 /* end confdefs.h. */
15630 /* Override any GCC internal prototype to avoid an error.
15631 Use char because int might match the return type of a GCC
15632 builtin and then its argument prototype would still apply. */
15636 char pthread_join ();
15640 return pthread_join ();
15645 if ac_fn_c_try_link
"$LINENO"; then :
15648 rm -f core conftest.err conftest.
$ac_objext \
15649 conftest
$ac_exeext conftest.
$ac_ext
15650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
15651 $as_echo "$ax_pthread_ok" >&6; }
15652 if test "x$ax_pthread_ok" = "xno"; then
15656 CC
="$ax_pthread_save_CC"
15657 CFLAGS
="$ax_pthread_save_CFLAGS"
15658 LIBS
="$ax_pthread_save_LIBS"
15661 # We must check for the threads library under a number of different
15662 # names; the ordering is very important because some systems
15663 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
15664 # libraries is broken (non-POSIX).
15666 # Create a list of thread flags to try. Items starting with a "-" are
15667 # C compiler flags, and other items are library names, except for "none"
15668 # which indicates that we try without any flags at all, and "pthread-config"
15669 # which is a program returning the flags for the Pth emulation library.
15671 ax_pthread_flags
="pthreads none -Kthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
15673 # The ordering *is* (sometimes) important. Some notes on the
15674 # individual items follow:
15676 # pthreads: AIX (must check this before -lpthread)
15677 # none: in case threads are in libc; should be tried before -Kthread and
15678 # other compiler flags to prevent continual compiler warnings
15679 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
15680 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
15681 # (Note: HP C rejects this with "bad form for `-t' option")
15682 # -pthreads: Solaris/gcc (Note: HP C also rejects)
15683 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
15684 # doesn't hurt to check since this sometimes defines pthreads and
15685 # -D_REENTRANT too), HP C (must be checked before -lpthread, which
15686 # is present but should not be used directly; and before -mthreads,
15687 # because the compiler interprets this as "-mt" + "-hreads")
15688 # -mthreads: Mingw32/gcc, Lynx/gcc
15689 # pthread: Linux, etcetera
15690 # --thread-safe: KAI C++
15691 # pthread-config: use pthread-config program (for GNU Pth library)
15697 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
15698 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
15700 ax_pthread_flags
="-kthread lthread $ax_pthread_flags"
15705 # From the cc(1) man page: "[-mt] Sets various -D flags to enable
15706 # multi-threading and also sets -lpthread."
15708 ax_pthread_flags
="-mt -pthread pthread $ax_pthread_flags"
15713 # IBM z/OS requires a feature-test macro to be defined in order to
15714 # enable POSIX threads at all, so give the user a hint if this is
15715 # not set. (We don't define these ourselves, as they can affect
15716 # other portions of the system API in unpredictable ways.)
15718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15719 /* end confdefs.h. */
15721 # if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
15722 AX_PTHREAD_ZOS_MISSING
15726 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15727 $EGREP "AX_PTHREAD_ZOS_MISSING" >/dev
/null
2>&1; then :
15728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&5
15729 $as_echo "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;}
15737 # On Solaris (at least, for some versions), libc contains stubbed
15738 # (non-functional) versions of the pthreads routines, so link-based
15739 # tests will erroneously succeed. (N.B.: The stubs are missing
15740 # pthread_cleanup_push, or rather a function called by this macro,
15741 # so we could check for that, but who knows whether they'll stub
15742 # that too in a future libc.) So we'll check first for the
15743 # standard Solaris way of linking pthreads (-mt -lpthread).
15745 ax_pthread_flags
="-mt,pthread pthread $ax_pthread_flags"
15749 # GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC)
15751 if test "x$GCC" = "xyes"; then :
15752 ax_pthread_flags
="-pthread -pthreads $ax_pthread_flags"
15755 # The presence of a feature test macro requesting re-entrant function
15756 # definitions is, on some systems, a strong hint that pthreads support is
15757 # correctly enabled
15760 darwin
* | hpux
* | linux
* | osf
* | solaris
*)
15761 ax_pthread_check_macro
="_REENTRANT"
15765 ax_pthread_check_macro
="_THREAD_SAFE"
15769 ax_pthread_check_macro
="--"
15772 if test "x$ax_pthread_check_macro" = "x--"; then :
15773 ax_pthread_check_cond
=0
15775 ax_pthread_check_cond
="!defined($ax_pthread_check_macro)"
15778 # Are we compiling with Clang?
15780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC is Clang" >&5
15781 $as_echo_n "checking whether $CC is Clang... " >&6; }
15782 if ${ax_cv_PTHREAD_CLANG+:} false
; then :
15783 $as_echo_n "(cached) " >&6
15785 ax_cv_PTHREAD_CLANG
=no
15786 # Note that Autoconf sets GCC=yes for Clang as well as GCC
15787 if test "x$GCC" = "xyes"; then
15788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15789 /* end confdefs.h. */
15790 /* Note: Clang 2.7 lacks __clang_[a-z]+__ */
15791 # if defined(__clang__) && defined(__llvm__)
15792 AX_PTHREAD_CC_IS_CLANG
15796 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15797 $EGREP "AX_PTHREAD_CC_IS_CLANG" >/dev
/null
2>&1; then :
15798 ax_cv_PTHREAD_CLANG
=yes
15805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG" >&5
15806 $as_echo "$ax_cv_PTHREAD_CLANG" >&6; }
15807 ax_pthread_clang
="$ax_cv_PTHREAD_CLANG"
15809 ax_pthread_clang_warning
=no
15811 # Clang needs special handling, because older versions handle the -pthread
15812 # option in a rather... idiosyncratic way
15814 if test "x$ax_pthread_clang" = "xyes"; then
15816 # Clang takes -pthread; it has never supported any other flag
15818 # (Note 1: This will need to be revisited if a system that Clang
15819 # supports has POSIX threads in a separate library. This tends not
15820 # to be the way of modern systems, but it's conceivable.)
15822 # (Note 2: On some systems, notably Darwin, -pthread is not needed
15823 # to get POSIX threads support; the API is always present and
15824 # active. We could reasonably leave PTHREAD_CFLAGS empty. But
15825 # -pthread does define _REENTRANT, and while the Darwin headers
15826 # ignore this macro, third-party headers might not.)
15828 PTHREAD_CFLAGS
="-pthread"
15833 # However, older versions of Clang make a point of warning the user
15834 # that, in an invocation where only linking and no compilation is
15835 # taking place, the -pthread option has no effect ("argument unused
15836 # during compilation"). They expect -pthread to be passed in only
15837 # when source code is being compiled.
15839 # Problem is, this is at odds with the way Automake and most other
15840 # C build frameworks function, which is that the same flags used in
15841 # compilation (CFLAGS) are also used in linking. Many systems
15842 # supported by AX_PTHREAD require exactly this for POSIX threads
15843 # support, and in fact it is often not straightforward to specify a
15844 # flag that is used only in the compilation phase and not in
15845 # linking. Such a scenario is extremely rare in practice.
15847 # Even though use of the -pthread flag in linking would only print
15848 # a warning, this can be a nuisance for well-run software projects
15849 # that build with -Werror. So if the active version of Clang has
15850 # this misfeature, we search for an option to squash it.
15852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread" >&5
15853 $as_echo_n "checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread... " >&6; }
15854 if ${ax_cv_PTHREAD_CLANG_NO_WARN_FLAG+:} false
; then :
15855 $as_echo_n "(cached) " >&6
15857 ax_cv_PTHREAD_CLANG_NO_WARN_FLAG
=unknown
15858 # Create an alternate version of $ac_link that compiles and
15859 # links in two steps (.c -> .o, .o -> exe) instead of one
15860 # (.c -> exe), because the warning occurs only in the second
15862 ax_pthread_save_ac_link
="$ac_link"
15863 ax_pthread_sed
='s/conftest\.\$ac_ext/conftest.$ac_objext/g'
15864 ax_pthread_link_step
=`$as_echo "$ac_link" | sed "$ax_pthread_sed"`
15865 ax_pthread_2step_ac_link
="($ac_compile) && (echo ==== >&5) && ($ax_pthread_link_step)"
15866 ax_pthread_save_CFLAGS
="$CFLAGS"
15867 for ax_pthread_try
in '' -Qunused-arguments -Wno-unused-command-line-argument unknown
; do
15868 if test "x$ax_pthread_try" = "xunknown"; then :
15871 CFLAGS
="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS"
15872 ac_link
="$ax_pthread_save_ac_link"
15873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15874 /* end confdefs.h. */
15875 int main(void){return 0;}
15877 if ac_fn_c_try_link
"$LINENO"; then :
15878 ac_link
="$ax_pthread_2step_ac_link"
15879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15880 /* end confdefs.h. */
15881 int main(void){return 0;}
15883 if ac_fn_c_try_link
"$LINENO"; then :
15886 rm -f core conftest.err conftest.
$ac_objext \
15887 conftest
$ac_exeext conftest.
$ac_ext
15890 rm -f core conftest.err conftest.
$ac_objext \
15891 conftest
$ac_exeext conftest.
$ac_ext
15893 ac_link
="$ax_pthread_save_ac_link"
15894 CFLAGS
="$ax_pthread_save_CFLAGS"
15895 if test "x$ax_pthread_try" = "x"; then :
15898 ax_cv_PTHREAD_CLANG_NO_WARN_FLAG
="$ax_pthread_try"
15901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&5
15902 $as_echo "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&6; }
15904 case "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" in
15906 *) PTHREAD_CFLAGS
="$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG $PTHREAD_CFLAGS" ;;
15909 fi # $ax_pthread_clang = yes
15911 if test "x$ax_pthread_ok" = "xno"; then
15912 for ax_pthread_try_flag
in $ax_pthread_flags; do
15914 case $ax_pthread_try_flag in
15916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
15917 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
15921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with -mt -lpthread" >&5
15922 $as_echo_n "checking whether pthreads work with -mt -lpthread... " >&6; }
15923 PTHREAD_CFLAGS
="-mt"
15924 PTHREAD_LIBS
="-lpthread"
15928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $ax_pthread_try_flag" >&5
15929 $as_echo_n "checking whether pthreads work with $ax_pthread_try_flag... " >&6; }
15930 PTHREAD_CFLAGS
="$ax_pthread_try_flag"
15934 # Extract the first word of "pthread-config", so it can be a program name with args.
15935 set dummy pthread-config
; ac_word
=$2
15936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15937 $as_echo_n "checking for $ac_word... " >&6; }
15938 if ${ac_cv_prog_ax_pthread_config+:} false
; then :
15939 $as_echo_n "(cached) " >&6
15941 if test -n "$ax_pthread_config"; then
15942 ac_cv_prog_ax_pthread_config
="$ax_pthread_config" # Let the user override the test.
15944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15945 for as_dir
in $PATH
15948 test -z "$as_dir" && as_dir
=.
15949 for ac_exec_ext
in '' $ac_executable_extensions; do
15950 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15951 ac_cv_prog_ax_pthread_config
="yes"
15952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15959 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config
="no"
15962 ax_pthread_config
=$ac_cv_prog_ax_pthread_config
15963 if test -n "$ax_pthread_config"; then
15964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
15965 $as_echo "$ax_pthread_config" >&6; }
15967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15968 $as_echo "no" >&6; }
15972 if test "x$ax_pthread_config" = "xno"; then :
15975 PTHREAD_CFLAGS
="`pthread-config --cflags`"
15976 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$ax_pthread_try_flag" >&5
15981 $as_echo_n "checking for the pthreads library -l$ax_pthread_try_flag... " >&6; }
15982 PTHREAD_LIBS
="-l$ax_pthread_try_flag"
15986 ax_pthread_save_CFLAGS
="$CFLAGS"
15987 ax_pthread_save_LIBS
="$LIBS"
15988 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
15989 LIBS
="$PTHREAD_LIBS $LIBS"
15991 # Check for various functions. We must include pthread.h,
15992 # since some functions may be macros. (On the Sequent, we
15993 # need a special flag -Kthread to make this header compile.)
15994 # We check for pthread_join because it is in -lpthread on IRIX
15995 # while pthread_create is in libc. We check for pthread_attr_init
15996 # due to DEC craziness with -lpthreads. We check for
15997 # pthread_cleanup_push because it is one of the few pthread
15998 # functions on Solaris that doesn't have a non-functional libc stub.
15999 # We try pthread_create on general principles.
16001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16002 /* end confdefs.h. */
16003 #include <pthread.h>
16004 # if $ax_pthread_check_cond
16005 # error "$ax_pthread_check_macro must be defined"
16007 static void routine(void *a) { a = 0; }
16008 static void *start_routine(void *a) { return a; }
16012 pthread_t th; pthread_attr_t attr;
16013 pthread_create(&th, 0, start_routine, 0);
16014 pthread_join(th, 0);
16015 pthread_attr_init(&attr);
16016 pthread_cleanup_push(routine, 0);
16017 pthread_cleanup_pop(0) /* ; */
16022 if ac_fn_c_try_link
"$LINENO"; then :
16025 rm -f core conftest.err conftest.
$ac_objext \
16026 conftest
$ac_exeext conftest.
$ac_ext
16028 CFLAGS
="$ax_pthread_save_CFLAGS"
16029 LIBS
="$ax_pthread_save_LIBS"
16031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
16032 $as_echo "$ax_pthread_ok" >&6; }
16033 if test "x$ax_pthread_ok" = "xyes"; then :
16042 # Various other checks:
16043 if test "x$ax_pthread_ok" = "xyes"; then
16044 ax_pthread_save_CFLAGS
="$CFLAGS"
16045 ax_pthread_save_LIBS
="$LIBS"
16046 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
16047 LIBS
="$PTHREAD_LIBS $LIBS"
16049 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
16050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
16051 $as_echo_n "checking for joinable pthread attribute... " >&6; }
16052 if ${ax_cv_PTHREAD_JOINABLE_ATTR+:} false
; then :
16053 $as_echo_n "(cached) " >&6
16055 ax_cv_PTHREAD_JOINABLE_ATTR
=unknown
16056 for ax_pthread_attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
16057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16058 /* end confdefs.h. */
16059 #include <pthread.h>
16063 int attr = $ax_pthread_attr; return attr /* ; */
16068 if ac_fn_c_try_link
"$LINENO"; then :
16069 ax_cv_PTHREAD_JOINABLE_ATTR
=$ax_pthread_attr; break
16071 rm -f core conftest.err conftest.
$ac_objext \
16072 conftest
$ac_exeext conftest.
$ac_ext
16076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
16077 $as_echo "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; }
16078 if test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xunknown" && \
16079 test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xPTHREAD_CREATE_JOINABLE" && \
16080 test "x$ax_pthread_joinable_attr_defined" != "xyes"; then :
16082 cat >>confdefs.h
<<_ACEOF
16083 #define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR
16086 ax_pthread_joinable_attr_defined
=yes
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether more special flags are required for pthreads" >&5
16091 $as_echo_n "checking whether more special flags are required for pthreads... " >&6; }
16092 if ${ax_cv_PTHREAD_SPECIAL_FLAGS+:} false
; then :
16093 $as_echo_n "(cached) " >&6
16095 ax_cv_PTHREAD_SPECIAL_FLAGS
=no
16098 ax_cv_PTHREAD_SPECIAL_FLAGS
="-D_POSIX_PTHREAD_SEMANTICS"
16103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
16104 $as_echo "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; }
16105 if test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
16106 test "x$ax_pthread_special_flags_added" != "xyes"; then :
16107 PTHREAD_CFLAGS
="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
16108 ax_pthread_special_flags_added
=yes
16111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
16112 $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
16113 if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false
; then :
16114 $as_echo_n "(cached) " >&6
16116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16117 /* end confdefs.h. */
16118 #include <pthread.h>
16122 int i = PTHREAD_PRIO_INHERIT;
16127 if ac_fn_c_try_link
"$LINENO"; then :
16128 ax_cv_PTHREAD_PRIO_INHERIT
=yes
16130 ax_cv_PTHREAD_PRIO_INHERIT
=no
16132 rm -f core conftest.err conftest.
$ac_objext \
16133 conftest
$ac_exeext conftest.
$ac_ext
16136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
16137 $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
16138 if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes" && \
16139 test "x$ax_pthread_prio_inherit_defined" != "xyes"; then :
16141 $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
16143 ax_pthread_prio_inherit_defined
=yes
16147 CFLAGS
="$ax_pthread_save_CFLAGS"
16148 LIBS
="$ax_pthread_save_LIBS"
16150 # More AIX lossage: compile with *_r variant
16151 if test "x$GCC" != "xyes"; then
16155 x
*/c89|x
*/c89_128|x
*/c99|x
*/c99_128|x
*/cc|x
*/cc128|x
*/xlc|x
*/xlc_v6|x
*/xlc128|x
*/xlc128_v6
) :
16156 #handle absolute path differently from PATH based program lookup
16159 if as_fn_executable_p
${CC}_r
; then :
16160 PTHREAD_CC
="${CC}_r"
16163 for ac_prog
in ${CC}_r
16165 # Extract the first word of "$ac_prog", so it can be a program name with args.
16166 set dummy
$ac_prog; ac_word
=$2
16167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16168 $as_echo_n "checking for $ac_word... " >&6; }
16169 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
16170 $as_echo_n "(cached) " >&6
16172 if test -n "$PTHREAD_CC"; then
16173 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
16175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16176 for as_dir
in $PATH
16179 test -z "$as_dir" && as_dir
=.
16180 for ac_exec_ext
in '' $ac_executable_extensions; do
16181 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16182 ac_cv_prog_PTHREAD_CC
="$ac_prog"
16183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16192 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
16193 if test -n "$PTHREAD_CC"; then
16194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
16195 $as_echo "$PTHREAD_CC" >&6; }
16197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16198 $as_echo "no" >&6; }
16202 test -n "$PTHREAD_CC" && break
16204 test -n "$PTHREAD_CC" || PTHREAD_CC
="$CC"
16215 test -n "$PTHREAD_CC" || PTHREAD_CC
="$CC"
16221 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
16222 if test "x$ax_pthread_ok" = "xyes"; then
16224 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
16232 ac_cpp
='$CPP $CPPFLAGS'
16233 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16234 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16235 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16239 # Specify a location for JDK
16243 # Check whether --with-jdk was given.
16244 if test "${with_jdk+set}" = set; then :
16249 if test "x$with_jdk" != x
; then
16250 jdk_inc
="-I$with_jdk/include -I$with_jdk/include/linux"
16251 enable_gprofng_jp
=yes
16253 # Extract the first word of "javac", so it can be a program name with args.
16254 set dummy javac
; ac_word
=$2
16255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16256 $as_echo_n "checking for $ac_word... " >&6; }
16257 if ${ac_cv_path_JAVAC+:} false
; then :
16258 $as_echo_n "(cached) " >&6
16262 ac_cv_path_JAVAC
="$JAVAC" # Let the user override the test with a path.
16265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16266 for as_dir
in $PATH
16269 test -z "$as_dir" && as_dir
=.
16270 for ac_exec_ext
in '' $ac_executable_extensions; do
16271 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16272 ac_cv_path_JAVAC
="$as_dir/$ac_word$ac_exec_ext"
16273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16280 test -z "$ac_cv_path_JAVAC" && ac_cv_path_JAVAC
="javac"
16284 JAVAC
=$ac_cv_path_JAVAC
16285 if test -n "$JAVAC"; then
16286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
16287 $as_echo "$JAVAC" >&6; }
16289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16290 $as_echo "no" >&6; }
16294 if test -f $JAVAC; then
16295 x
=`readlink -f $JAVAC`
16298 if ! test -f $x/include
/jni.h
; then
16301 if test -f $x/include
/jni.h
; then
16302 jdk_inc
="-I$x/include -I$x/include/linux"
16303 enable_gprofng_jp
=yes
16307 if test "x$enable_gprofng_jp" = x
; then
16308 # Extract the first word of "java", so it can be a program name with args.
16309 set dummy java
; ac_word
=$2
16310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16311 $as_echo_n "checking for $ac_word... " >&6; }
16312 if ${ac_cv_path_JAVA+:} false
; then :
16313 $as_echo_n "(cached) " >&6
16317 ac_cv_path_JAVA
="$JAVA" # Let the user override the test with a path.
16320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16321 for as_dir
in $PATH
16324 test -z "$as_dir" && as_dir
=.
16325 for ac_exec_ext
in '' $ac_executable_extensions; do
16326 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16327 ac_cv_path_JAVA
="$as_dir/$ac_word$ac_exec_ext"
16328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16335 test -z "$ac_cv_path_JAVA" && ac_cv_path_JAVA
="java"
16339 JAVA
=$ac_cv_path_JAVA
16340 if test -n "$JAVA"; then
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
16342 $as_echo "$JAVA" >&6; }
16344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16345 $as_echo "no" >&6; }
16349 if test -f $JAVA; then
16350 x
=`readlink -f $JAVA`
16353 if ! test -f $x/include
/jni.h
; then
16356 if test -f $x/include
/jni.h
; then
16357 jdk_inc
="-I$x/include -I$x/include/linux"
16358 enable_gprofng_jp
=yes
16362 if test "x$enable_gprofng_jp" = x
; then
16363 ac_fn_c_check_header_compile
"$LINENO" "jni.h" "ac_cv_header_jni_h" "
16365 if test "x$ac_cv_header_jni_h" = xyes
; then :
16366 enable_gprofng_jp
=yes
16371 if test "x$enable_gprofng_jp" = x
; then
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find the JDK include directory.
16373 gprofng will be build without support for profiling Java applications.
16374 Use --with-jdk=PATH to specify directory for the installed JDK" >&5
16375 $as_echo "$as_me: WARNING: Cannot find the JDK include directory.
16376 gprofng will be build without support for profiling Java applications.
16377 Use --with-jdk=PATH to specify directory for the installed JDK" >&2;}
16380 $as_echo "#define GPROFNG_JAVA_PROFILING 1" >>confdefs.h
16386 # Check whether --enable-gprofng-debug was given.
16387 if test "${enable_gprofng_debug+set}" = set; then :
16388 enableval
=$enable_gprofng_debug;
16389 case "$enableval" in
16391 *) as_fn_error $?
"Argument to enable/disable gprofng-debug must be yes or no" "$LINENO" 5 ;;
16395 enable_gprofng_debug
=no
16399 if test "${enable_gprofng_debug}" = yes; then
16401 $as_echo "#define DEBUG 1" >>confdefs.h
16405 # Check if linker supports --as-needed and --no-as-needed options.
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker --as-needed support" >&5
16407 $as_echo_n "checking linker --as-needed support... " >&6; }
16408 if ${bfd_cv_ld_as_needed+:} false
; then :
16409 $as_echo_n "(cached) " >&6
16411 bfd_cv_ld_as_needed
=no
16412 if $LD --help 2>/dev
/null |
grep as-needed
> /dev
/null
; then
16413 bfd_cv_ld_as_needed
=yes
16417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_ld_as_needed" >&5
16418 $as_echo "$bfd_cv_ld_as_needed" >&6; }
16421 if test x
"$bfd_cv_ld_as_needed" = xyes
; then
16422 no_as_needed
='-Wl,--no-as-needed'
16425 # Extract the first word of "expect", so it can be a program name with args.
16426 set dummy expect
; ac_word
=$2
16427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16428 $as_echo_n "checking for $ac_word... " >&6; }
16429 if ${ac_cv_path_EXPECT+:} false
; then :
16430 $as_echo_n "(cached) " >&6
16434 ac_cv_path_EXPECT
="$EXPECT" # Let the user override the test with a path.
16437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16438 for as_dir
in $PATH
16441 test -z "$as_dir" && as_dir
=.
16442 for ac_exec_ext
in '' $ac_executable_extensions; do
16443 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16444 ac_cv_path_EXPECT
="$as_dir/$ac_word$ac_exec_ext"
16445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16455 EXPECT
=$ac_cv_path_EXPECT
16456 if test -n "$EXPECT"; then
16457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPECT" >&5
16458 $as_echo "$EXPECT" >&6; }
16460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16461 $as_echo "no" >&6; }
16465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl supporting try/catch" >&5
16466 $as_echo_n "checking for Tcl supporting try/catch... " >&6; }
16467 if ${ac_cv_libctf_tcl_try+:} false
; then :
16468 $as_echo_n "(cached) " >&6
16470 ac_cv_libctf_tcl_try
=`if test -z $EXPECT; then echo no; else $EXPECT << EOF
16471 if [llength [info commands try]] then { puts yes } else { puts no }
16476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libctf_tcl_try" >&5
16477 $as_echo "$ac_cv_libctf_tcl_try" >&6; }
16478 if test "${ac_cv_libctf_tcl_try}" = yes; then
16488 # Generate manpages, if possible.
16489 if test $cross_compiling = no
; then
16491 HELP2MAN
=${HELP2MAN-"${am_missing_run}help2man"}
16497 if test x
$build_man = xtrue
; then
16499 BUILD_MAN_FALSE
='#'
16506 LD_NO_AS_NEEDED
=${no_as_needed}
16508 GPROFNG_CFLAGS
=${gprofng_cflags}
16510 GPROFNG_CPPFLAGS
=${gprofng_cppflags}
16512 GPROFNG_LIBDIR
=${libdir}
16515 ac_fn_c_check_decl
"$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
16516 if test "x$ac_cv_have_decl_basename" = xyes
; then :
16522 cat >>confdefs.h
<<_ACEOF
16523 #define HAVE_DECL_BASENAME $ac_have_decl
16526 for ac_func
in clock_gettime strsignal
16528 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16529 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16530 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16531 cat >>confdefs.h
<<_ACEOF
16532 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16541 ac_config_files
="$ac_config_files Makefile src/Makefile gp-display-html/Makefile doc/Makefile"
16543 ac_config_headers
="$ac_config_headers config.h:common/config.h.in"
16546 cat >confcache
<<\_ACEOF
16547 # This file is a shell script that caches the results of configure
16548 # tests run on this system so they can be shared between configure
16549 # scripts and configure runs, see configure's option --config-cache.
16550 # It is not useful on other systems. If it contains results you don't
16551 # want to keep, you may remove or edit it.
16553 # config.status only pays attention to the cache file if you give it
16554 # the --recheck option to rerun configure.
16556 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16557 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16558 # following values.
16562 # The following way of writing the cache mishandles newlines in values,
16563 # but we know of no workaround that is simple, portable, and efficient.
16564 # So, we kill variables containing newlines.
16565 # Ultrix sh set writes to stderr and can't be redirected directly,
16566 # and sets the high bit in the cache file unless we assign to the vars.
16568 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16569 eval ac_val
=\$
$ac_var
16573 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16574 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16577 _ | IFS | as_nl
) ;; #(
16578 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16579 *) { eval $ac_var=; unset $ac_var;} ;;
16585 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16586 *${as_nl}ac_space
=\
*)
16587 # `set' does not quote correctly, so add quotes: double-quote
16588 # substitution turns \\\\ into \\, and sed turns \\ into \.
16591 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16594 # `set' quotes correctly as required by POSIX, so do not add quotes.
16595 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16604 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16606 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16608 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16609 if test -w "$cache_file"; then
16610 if test "x$cache_file" != "x/dev/null"; then
16611 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16612 $as_echo "$as_me: updating cache $cache_file" >&6;}
16613 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16614 cat confcache
>"$cache_file"
16616 case $cache_file in #(
16618 mv -f confcache
"$cache_file"$$
&&
16619 mv -f "$cache_file"$$
"$cache_file" ;; #(
16621 mv -f confcache
"$cache_file" ;;
16626 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16627 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16632 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16633 # Let make expand exec_prefix.
16634 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16636 DEFS
=-DHAVE_CONFIG_H
16641 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16642 # 1. Remove the extension, and $U if already installed.
16643 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16644 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16645 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16646 # will be set to the directory where LIBOBJS objects are built.
16647 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16648 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16650 LIBOBJS
=$ac_libobjs
16652 LTLIBOBJS
=$ac_ltlibobjs
16655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16656 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16657 if test -n "$am_sleep_pid"; then
16658 # Hide warnings about reused PIDs.
16659 wait $am_sleep_pid 2>/dev
/null
16661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16662 $as_echo "done" >&6; }
16663 if test -n "$EXEEXT"; then
16665 am__EXEEXT_FALSE
='#'
16667 am__EXEEXT_TRUE
='#'
16671 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16672 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
16673 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16675 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16676 as_fn_error $?
"conditional \"AMDEP\" was never defined.
16677 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16679 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16680 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
16681 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16683 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16684 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
16685 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16687 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16688 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
16689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16691 if test -z "${BUILD_COLLECTOR_TRUE}" && test -z "${BUILD_COLLECTOR_FALSE}"; then
16692 as_fn_error $?
"conditional \"BUILD_COLLECTOR\" was never defined.
16693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16695 if test -z "${BUILD_SRC_TRUE}" && test -z "${BUILD_SRC_FALSE}"; then
16696 as_fn_error $?
"conditional \"BUILD_SRC\" was never defined.
16697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16699 if test -z "${RUN_TESTS_TRUE}" && test -z "${RUN_TESTS_FALSE}"; then
16700 as_fn_error $?
"conditional \"RUN_TESTS\" was never defined.
16701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16703 if test -z "${TCL_TRY_TRUE}" && test -z "${TCL_TRY_FALSE}"; then
16704 as_fn_error $?
"conditional \"TCL_TRY\" was never defined.
16705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16707 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
16708 as_fn_error $?
"conditional \"BUILD_MAN\" was never defined.
16709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16712 : "${CONFIG_STATUS=./config.status}"
16714 ac_clean_files_save
=$ac_clean_files
16715 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16716 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16717 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16719 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16721 # Generated by $as_me.
16722 # Run this file to recreate the current configuration.
16723 # Compiler output produced by configure, useful for debugging
16724 # configure, is in config.log if it exists.
16727 ac_cs_recheck=false
16730 SHELL=\${CONFIG_SHELL-$SHELL}
16733 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16734 ## -------------------- ##
16735 ## M4sh Initialization. ##
16736 ## -------------------- ##
16738 # Be more Bourne compatible
16739 DUALCASE
=1; export DUALCASE
# for MKS sh
16740 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16743 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16744 # is contrary to our usage. Disable this feature.
16745 alias -g '${1+"$@"}'='"$@"'
16746 setopt NO_GLOB_SUBST
16748 case `(set -o) 2>/dev/null` in #(
16760 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16761 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16762 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16763 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16764 # Prefer a ksh shell builtin over an external printf program on Solaris,
16765 # but without wasting forks for bash or zsh.
16766 if test -z "$BASH_VERSION$ZSH_VERSION" \
16767 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16768 as_echo='print
-r --'
16769 as_echo_n='print
-rn --'
16770 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16771 as_echo='printf %s
\n'
16772 as_echo_n='printf %s
'
16774 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16775 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16776 as_echo_n='/usr
/ucb
/echo -n'
16778 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16779 as_echo_n_body='eval
16783 expr "X$arg" : "X\\(.*\\)$as_nl";
16784 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16786 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16788 export as_echo_n_body
16789 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16791 export as_echo_body
16792 as_echo='sh
-c $as_echo_body as_echo
'
16795 # The user is always right.
16796 if test "${PATH_SEPARATOR+set}" != set; then
16798 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16799 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16806 # We need space, tab and new line, in precisely that order. Quoting is
16807 # there to prevent editors from complaining about space-tab.
16808 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16809 # splitting by setting IFS to empty value.)
16812 # Find who we are. Look in the path if we contain no directory separator.
16815 *[\\/]* ) as_myself=$0 ;;
16816 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16817 for as_dir in $PATH
16820 test -z "$as_dir" && as_dir=.
16821 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16827 # We did not find ourselves, most probably we were run as `sh COMMAND'
16828 # in which case we are not to be found in the path.
16829 if test "x$as_myself" = x
; then
16832 if test ! -f "$as_myself"; then
16833 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16837 # Unset variables that we do not need and which cause bugs (e.g. in
16838 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16839 # suppresses any "Segmentation fault" message there. '((' could
16840 # trigger a bug in pdksh 5.2.14.
16841 for as_var
in BASH_ENV ENV MAIL MAILPATH
16842 do eval test x\
${$as_var+set} = xset \
16843 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16856 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16859 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16860 # ----------------------------------------
16861 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16862 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16863 # script with STATUS, using 1 if that was 0.
16866 as_status
=$1; test $as_status -eq 0 && as_status
=1
16868 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16869 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16871 $as_echo "$as_me: error: $2" >&2
16872 as_fn_exit
$as_status
16876 # as_fn_set_status STATUS
16877 # -----------------------
16878 # Set $? to STATUS, without forking.
16879 as_fn_set_status
()
16882 } # as_fn_set_status
16884 # as_fn_exit STATUS
16885 # -----------------
16886 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16890 as_fn_set_status
$1
16896 # Portably unset VAR.
16899 { eval $1=; unset $1;}
16901 as_unset
=as_fn_unset
16902 # as_fn_append VAR VALUE
16903 # ----------------------
16904 # Append the text in VALUE to the end of the definition contained in VAR. Take
16905 # advantage of any shell optimizations that allow amortized linear growth over
16906 # repeated appends, instead of the typical quadratic growth present in naive
16908 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16909 eval 'as_fn_append ()
16920 # as_fn_arith ARG...
16921 # ------------------
16922 # Perform arithmetic evaluation on the ARGs, and store the result in the
16923 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16924 # must be portable across $(()) and expr.
16925 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16926 eval 'as_fn_arith ()
16933 as_val
=`expr "$@" || test $? -eq 1`
16938 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16939 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16945 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16946 as_basename
=basename
16951 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16957 as_me
=`$as_basename -- "$0" ||
16958 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16959 X"$0" : 'X\(//\)$' \| \
16960 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16962 sed '/^.*\/\([^/][^/]*\)\/*$/{
16976 # Avoid depending upon Character Ranges.
16977 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16978 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16979 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16980 as_cr_digits
='0123456789'
16981 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16983 ECHO_C
= ECHO_N
= ECHO_T
=
16984 case `echo -n x` in #(((((
16986 case `echo 'xy\c'` in
16987 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16989 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16996 rm -f conf$$ conf$$.exe conf$$.
file
16997 if test -d conf$$.dir
; then
16998 rm -f conf$$.dir
/conf$$.
file
17001 mkdir conf$$.dir
2>/dev
/null
17003 if (echo >conf$$.
file) 2>/dev
/null
; then
17004 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17006 # ... but there are two gotchas:
17007 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17008 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17009 # In both cases, we have to default to `cp -pR'.
17010 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17012 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17020 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17021 rmdir conf$$.dir
2>/dev
/null
17026 # Create "$as_dir" as a directory, including parents if necessary.
17031 -*) as_dir
=.
/$as_dir;;
17033 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17037 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17038 *) as_qdir
=$as_dir;;
17040 as_dirs
="'$as_qdir' $as_dirs"
17041 as_dir
=`$as_dirname -- "$as_dir" ||
17042 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17043 X"$as_dir" : 'X\(//\)[^/]' \| \
17044 X"$as_dir" : 'X\(//\)$' \| \
17045 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17046 $as_echo X"$as_dir" |
17047 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17051 /^X\(\/\/\)[^/].*/{
17064 test -d "$as_dir" && break
17066 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17067 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17071 if mkdir
-p .
2>/dev
/null
; then
17072 as_mkdir_p
='mkdir -p "$as_dir"'
17074 test -d .
/-p && rmdir .
/-p
17079 # as_fn_executable_p FILE
17080 # -----------------------
17081 # Test if FILE is an executable regular file.
17082 as_fn_executable_p
()
17084 test -f "$1" && test -x "$1"
17085 } # as_fn_executable_p
17086 as_test_x
='test -x'
17087 as_executable_p
=as_fn_executable_p
17089 # Sed expression to map a string onto a valid CPP name.
17090 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17092 # Sed expression to map a string onto a valid variable name.
17093 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17097 ## ----------------------------------- ##
17098 ## Main body of $CONFIG_STATUS script. ##
17099 ## ----------------------------------- ##
17101 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17103 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17104 # Save the log message, to keep $0 and so on meaningful, and to
17105 # report actual input values of CONFIG_FILES etc. instead of their
17106 # values after options handling.
17108 This file was extended by gprofng $as_me 2.38.50, which was
17109 generated by GNU Autoconf 2.69. Invocation command line was
17111 CONFIG_FILES = $CONFIG_FILES
17112 CONFIG_HEADERS = $CONFIG_HEADERS
17113 CONFIG_LINKS = $CONFIG_LINKS
17114 CONFIG_COMMANDS = $CONFIG_COMMANDS
17117 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17122 case $ac_config_files in *"
17123 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17126 case $ac_config_headers in *"
17127 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17132 # Files that config.status was made for.
17133 config_files="$ac_config_files"
17134 config_headers="$ac_config_headers"
17135 config_commands="$ac_config_commands"
17139 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17141 \`$as_me' instantiates files and other configuration actions
17142 from templates according to the current configuration. Unless the files
17143 and actions are specified as TAGs, all are instantiated by default.
17145 Usage: $0 [OPTION]... [TAG]...
17147 -h, --help print this help, then exit
17148 -V, --version print version number and configuration settings, then exit
17149 --config print configuration, then exit
17150 -q, --quiet, --silent
17151 do not print progress messages
17152 -d, --debug don't remove temporary files
17153 --recheck update $as_me by reconfiguring in the same conditions
17154 --file=FILE[:TEMPLATE]
17155 instantiate the configuration file FILE
17156 --header=FILE[:TEMPLATE]
17157 instantiate the configuration header FILE
17159 Configuration files:
17162 Configuration headers:
17165 Configuration commands:
17168 Report bugs to the package provider."
17171 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17172 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17174 gprofng config.status 2.38.50
17175 configured by $0, generated by GNU Autoconf 2.69,
17176 with options \\"\$ac_cs_config\\"
17178 Copyright (C) 2012 Free Software Foundation, Inc.
17179 This config.status script is free software; the Free Software Foundation
17180 gives unlimited permission to copy, distribute and modify it."
17187 test -n "\$AWK" || AWK=awk
17190 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17191 # The default lists apply if the user does not specify any file.
17197 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17198 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17202 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17214 # Handling of the options.
17215 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17217 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17218 $as_echo "$ac_cs_version"; exit ;;
17219 --config |
--confi |
--conf |
--con |
--co |
--c )
17220 $as_echo "$ac_cs_config"; exit ;;
17221 --debug |
--debu |
--deb |
--de |
--d |
-d )
17223 --file |
--fil |
--fi |
--f )
17226 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17227 '') as_fn_error $?
"missing file argument" ;;
17229 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17230 ac_need_defaults
=false
;;
17231 --header |
--heade |
--head |
--hea )
17234 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17236 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17237 ac_need_defaults
=false
;;
17239 # Conflict between --help and --header
17240 as_fn_error $?
"ambiguous option: \`$1'
17241 Try \`$0 --help' for more information.";;
17242 --help |
--hel |
-h )
17243 $as_echo "$ac_cs_usage"; exit ;;
17244 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17245 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17248 # This is an error.
17249 -*) as_fn_error $?
"unrecognized option: \`$1'
17250 Try \`$0 --help' for more information." ;;
17252 *) as_fn_append ac_config_targets
" $1"
17253 ac_need_defaults
=false
;;
17259 ac_configure_extra_args
=
17261 if $ac_cs_silent; then
17263 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17267 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17268 if \$ac_cs_recheck; then
17269 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17271 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17272 CONFIG_SHELL='$SHELL'
17273 export CONFIG_SHELL
17278 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17282 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17283 ## Running $as_me. ##
17289 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17293 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17296 # The HP-UX ksh and POSIX shell print the target directory to stdout
17297 # if CDPATH is set.
17298 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17300 sed_quote_subst='$sed_quote_subst'
17301 double_quote_subst='$double_quote_subst'
17302 delay_variable_subst='$delay_variable_subst'
17303 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17304 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17305 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17306 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17307 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17308 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17309 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17310 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17311 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17312 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17313 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17314 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17315 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17316 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17317 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17318 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17319 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17320 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17321 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17322 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17323 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17324 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17325 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17326 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17327 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17328 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17329 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17330 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17331 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17332 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17333 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17334 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17335 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17336 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17337 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17338 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17339 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17340 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17341 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17342 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17343 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17344 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17345 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17346 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17347 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17348 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17349 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17350 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17351 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"`'
17352 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17353 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17354 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17355 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17356 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17357 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17358 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17359 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17360 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17361 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17362 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17363 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17364 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17365 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17366 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17367 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17368 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17369 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17370 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17371 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17372 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17373 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17374 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17375 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17376 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17377 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17378 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17379 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17380 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17381 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17382 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17383 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17384 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17385 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17386 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17387 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17388 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17389 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17390 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17391 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17392 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
17393 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17394 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17395 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17396 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17397 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17398 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17399 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17400 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17401 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17402 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17403 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17404 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17405 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17406 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17407 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17408 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17409 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17410 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17411 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17412 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17413 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17414 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17415 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17416 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17417 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17418 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17419 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17420 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17421 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17422 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17423 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17424 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17425 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17426 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17427 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17428 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17429 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17430 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17431 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17432 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17433 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17434 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17435 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17436 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17437 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17438 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17439 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17440 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17441 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17442 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17443 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17444 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17445 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17446 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17447 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17448 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17449 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17450 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17451 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17452 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17453 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17454 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17455 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
17456 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17457 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17458 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17459 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17460 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17461 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17462 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17463 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17464 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
17465 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17466 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17467 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17468 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17469 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17470 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17471 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17472 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17473 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17474 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17475 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17476 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17477 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17480 LTCFLAGS='$LTCFLAGS'
17481 compiler='$compiler_DEFAULT'
17483 # A function that is used when there is no print builtin or printf.
17484 func_fallback_echo ()
17486 eval 'cat <<_LTECHO_EOF
17491 # Quote evaled strings.
17505 deplibs_check_method \
17514 lt_cv_sys_global_symbol_pipe \
17515 lt_cv_sys_global_symbol_to_cdecl \
17516 lt_cv_sys_global_symbol_to_c_name_address \
17517 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17518 lt_prog_compiler_no_builtin_flag \
17519 lt_prog_compiler_wl \
17520 lt_prog_compiler_pic \
17521 lt_prog_compiler_static \
17522 lt_cv_prog_compiler_c_o \
17530 export_dynamic_flag_spec \
17531 whole_archive_flag_spec \
17532 compiler_needs_object \
17534 allow_undefined_flag \
17535 no_undefined_flag \
17536 hardcode_libdir_flag_spec \
17537 hardcode_libdir_flag_spec_ld \
17538 hardcode_libdir_separator \
17543 variables_saved_for_relink \
17545 library_names_spec \
17547 install_override_mode \
17551 compiler_lib_search_dirs \
17556 compiler_lib_search_path \
17560 lt_prog_compiler_no_builtin_flag_CXX \
17561 lt_prog_compiler_wl_CXX \
17562 lt_prog_compiler_pic_CXX \
17563 lt_prog_compiler_static_CXX \
17564 lt_cv_prog_compiler_c_o_CXX \
17565 export_dynamic_flag_spec_CXX \
17566 whole_archive_flag_spec_CXX \
17567 compiler_needs_object_CXX \
17569 allow_undefined_flag_CXX \
17570 no_undefined_flag_CXX \
17571 hardcode_libdir_flag_spec_CXX \
17572 hardcode_libdir_flag_spec_ld_CXX \
17573 hardcode_libdir_separator_CXX \
17574 fix_srcfile_path_CXX \
17575 exclude_expsyms_CXX \
17576 include_expsyms_CXX \
17577 file_list_spec_CXX \
17578 compiler_lib_search_dirs_CXX \
17579 predep_objects_CXX \
17580 postdep_objects_CXX \
17583 compiler_lib_search_path_CXX; do
17584 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17585 *[\\\\\\\`\\"\\\$]*)
17586 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17589 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17594 # Double-quote double-evaled strings.
17595 for var in reload_cmds \
17596 old_postinstall_cmds \
17597 old_postuninstall_cmds \
17599 extract_expsyms_cmds \
17600 old_archive_from_new_cmds \
17601 old_archive_from_expsyms_cmds \
17603 archive_expsym_cmds \
17605 module_expsym_cmds \
17606 export_symbols_cmds \
17609 postuninstall_cmds \
17611 sys_lib_search_path_spec \
17612 sys_lib_dlsearch_path_spec \
17614 old_archive_cmds_CXX \
17615 old_archive_from_new_cmds_CXX \
17616 old_archive_from_expsyms_cmds_CXX \
17618 archive_expsym_cmds_CXX \
17620 module_expsym_cmds_CXX \
17621 export_symbols_cmds_CXX \
17622 prelink_cmds_CXX; do
17623 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17624 *[\\\\\\\`\\"\\\$]*)
17625 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17628 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17633 ac_aux_dir='$ac_aux_dir'
17634 xsi_shell='$xsi_shell'
17635 lt_shell_append='$lt_shell_append'
17637 # See if we are running on zsh, and set the options which allow our
17638 # commands through without removal of \ escapes INIT.
17639 if test -n "\${ZSH_VERSION+set}" ; then
17640 setopt NO_GLOB_SUBST
17646 TIMESTAMP='$TIMESTAMP'
17657 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17659 # Handling of arguments.
17660 for ac_config_target
in $ac_config_targets
17662 case $ac_config_target in
17663 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17664 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17665 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17666 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
17667 "gp-display-html/Makefile") CONFIG_FILES
="$CONFIG_FILES gp-display-html/Makefile" ;;
17668 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
17669 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:common/config.h.in" ;;
17671 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17676 # If the user did not use the arguments to specify the items to instantiate,
17677 # then the envvar interface is used. Set only those that are not.
17678 # We use the long form for the default assignment because of an extremely
17679 # bizarre bug on SunOS 4.1.3.
17680 if $ac_need_defaults; then
17681 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17682 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17683 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17686 # Have a temporary directory for convenience. Make it in the build tree
17687 # simply because there is no reason against having it here, and in addition,
17688 # creating and moving files from /tmp can sometimes cause problems.
17689 # Hook for its removal unless debugging.
17690 # Note that there is a small window in which the directory will not be cleaned:
17691 # after its creation but before its name has been assigned to `$tmp'.
17695 trap 'exit_status=$?
17696 : "${ac_tmp:=$tmp}"
17697 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17699 trap 'as_fn_exit 1' 1 2 13 15
17701 # Create a (secure) tmp directory for tmp files.
17704 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17708 tmp
=.
/conf$$
-$RANDOM
17709 (umask 077 && mkdir
"$tmp")
17710 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
17713 # Set up the scripts for CONFIG_FILES section.
17714 # No need to generate them if there are no CONFIG_FILES.
17715 # This happens for instance with `./config.status config.h'.
17716 if test -n "$CONFIG_FILES"; then
17719 ac_cr
=`echo X | tr X '\015'`
17720 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17721 # But we know of no other shell where ac_cr would be empty at this
17722 # point, so we can use a bashism as a fallback.
17723 if test "x$ac_cr" = x
; then
17724 eval ac_cr
=\$
\'\\r
\'
17726 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17727 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17730 ac_cs_awk_cr
=$ac_cr
17733 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17738 echo "cat >conf$$subs.awk <<_ACEOF" &&
17739 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17741 } >conf$$subs.sh ||
17742 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17743 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17745 for ac_last_try in false false false false false :; do
17746 . ./conf$$subs.sh ||
17747 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17749 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17750 if test $ac_delim_n = $ac_delim_num; then
17752 elif $ac_last_try; then
17753 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17755 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17758 rm -f conf$$subs.sh
17760 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17761 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
17765 s/^/S["/; s
/!.
*/"]=/
17775 s/\(.\{148\}\)..*/\1/
17777 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17782 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17789 s/\(.\{148\}\)..*/\1/
17791 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17795 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17800 ' <conf$$subs.awk | sed '
17805 ' >>$CONFIG_STATUS || ac_write_fail=1
17806 rm -f conf$$subs.awk
17807 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17809 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17810 for (key in S) S_is_set[key] = 1
17816 nfields = split(line, field, "@
")
17818 len = length(field[1])
17819 for (i = 2; i < nfields; i++) {
17821 keylen = length(key)
17822 if (S_is_set[key]) {
17824 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17825 len += length(value) + length(field[++i])
17836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17837 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17838 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17841 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17842 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17845 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17846 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17847 # trailing colons and then remove the whole line if VPATH becomes empty
17848 # (actually we leave an empty line to preserve line numbers).
17849 if test "x
$srcdir" = x.; then
17850 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17868 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17869 fi # test -n "$CONFIG_FILES"
17871 # Set up the scripts for CONFIG_HEADERS section.
17872 # No need to generate them if there are no CONFIG_HEADERS.
17873 # This happens for instance with `./config.status Makefile'.
17874 if test -n "$CONFIG_HEADERS"; then
17875 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
17879 # Transform confdefs.h into an awk script `defines.awk', embedded as
17880 # here-document in config.status, that substitutes the proper values into
17881 # config.h.in to produce config.h.
17883 # Create a delimiter string that does not exist in confdefs.h, to ease
17884 # handling of long lines.
17886 for ac_last_try in false false :; do
17887 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
17888 if test -z "$ac_tt"; then
17890 elif $ac_last_try; then
17891 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
17893 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17897 # For the awk script, D is an array of macro values keyed by name,
17898 # likewise P contains macro parameters if any. Preserve backslash
17899 # newline sequences.
17901 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17903 s/.\{148\}/&'"$ac_delim"'/g
17906 s/^[ ]*#[ ]*define[ ][ ]*/ /
17913 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17915 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17919 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17920 D["\
1"]=" \
3\\\\\\n
"\\/p
17922 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17927 s/.\{148\}/&'"$ac_delim"'/g
17932 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17935 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17937 ' <confdefs.h | sed '
17938 s/'"$ac_delim"'/"\\\
17939 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17941 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17942 for (key in D) D_is_set[key] = 1
17945 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17947 split(line, arg, " ")
17948 if (arg[1] == "#") {
17952 defundef
= substr
(arg
[1], 2)
17955 split(mac1
, mac2
, "(") #)
17957 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17958 if (D_is_set
[macro
]) {
17959 # Preserve the white space surrounding the "#".
17960 print prefix
"define", macro P
[macro
] D
[macro
]
17963 # Replace #undef with comments. This is necessary, for example,
17964 # in the case of _POSIX_SOURCE, which is predefined and required
17965 # on some systems where configure will not decide to define it.
17966 if (defundef
== "undef") {
17967 print
"/*", prefix defundef
, macro
, "*/"
17975 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17976 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
17977 fi # test -n "$CONFIG_HEADERS"
17980 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17985 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17987 case $ac_mode$ac_tag in
17989 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17990 :[FH
]-) ac_tag
=-:-;;
17991 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18008 -) ac_f
="$ac_tmp/stdin";;
18009 *) # Look for the file first in the build tree, then in the source tree
18010 # (if the path is not absolute). The absolute path cannot be DOS-style,
18011 # because $ac_f cannot contain `:'.
18015 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18017 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18019 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18020 as_fn_append ac_file_inputs
" '$ac_f'"
18023 # Let's still pretend it is `configure' which instantiates (i.e., don't
18024 # use $as_me), people would be surprised to read:
18025 # /* config.h. Generated by config.status. */
18026 configure_input
='Generated from '`
18027 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18029 if test x
"$ac_file" != x-
; then
18030 configure_input
="$ac_file. $configure_input"
18031 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18032 $as_echo "$as_me: creating $ac_file" >&6;}
18034 # Neutralize special characters interpreted by sed in replacement strings.
18035 case $configure_input in #(
18036 *\
&* |
*\|
* |
*\\* )
18037 ac_sed_conf_input
=`$as_echo "$configure_input" |
18038 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18039 *) ac_sed_conf_input
=$configure_input;;
18043 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18044 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18049 ac_dir
=`$as_dirname -- "$ac_file" ||
18050 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18051 X"$ac_file" : 'X\(//\)[^/]' \| \
18052 X"$ac_file" : 'X\(//\)$' \| \
18053 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18054 $as_echo X"$ac_file" |
18055 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18059 /^X\(\/\/\)[^/].*/{
18072 as_dir
="$ac_dir"; as_fn_mkdir_p
18076 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18078 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18079 # A ".." for each directory in $ac_dir_suffix.
18080 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18081 case $ac_top_builddir_sub in
18082 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18083 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18086 ac_abs_top_builddir
=$ac_pwd
18087 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18088 # for backward compatibility:
18089 ac_top_builddir
=$ac_top_build_prefix
18092 .
) # We are building in place.
18094 ac_top_srcdir
=$ac_top_builddir_sub
18095 ac_abs_top_srcdir
=$ac_pwd ;;
18096 [\\/]* | ?
:[\\/]* ) # Absolute name.
18097 ac_srcdir
=$srcdir$ac_dir_suffix;
18098 ac_top_srcdir
=$srcdir
18099 ac_abs_top_srcdir
=$srcdir ;;
18100 *) # Relative name.
18101 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18102 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18103 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18105 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18115 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18116 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
18118 ac_MKDIR_P
=$MKDIR_P
18120 [\\/$
]* | ?
:[\\/]* ) ;;
18121 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
18125 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18126 # If the template does not know about datarootdir, expand it.
18127 # FIXME: This hack should be removed a few years after 2.60.
18128 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18139 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18140 *datarootdir
*) ac_datarootdir_seen
=yes;;
18141 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18143 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18146 ac_datarootdir_hack='
18147 s&@datadir@&$datadir&g
18148 s&@docdir@&$docdir&g
18149 s&@infodir@&$infodir&g
18150 s&@localedir@&$localedir&g
18151 s&@mandir@&$mandir&g
18152 s&\\\${datarootdir}&$datarootdir&g' ;;
18156 # Neutralize VPATH when `$srcdir' = `.'.
18157 # Shell code in configure.ac might set extrasub.
18158 # FIXME: do we really want to maintain this feature?
18159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18160 ac_sed_extra="$ac_vpsub
18163 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18165 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18166 s|@configure_input@|
$ac_sed_conf_input|
;t t
18167 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18168 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18169 s
&@srcdir@
&$ac_srcdir&;t t
18170 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18171 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18172 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18173 s
&@builddir@
&$ac_builddir&;t t
18174 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18175 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18176 s
&@INSTALL@
&$ac_INSTALL&;t t
18177 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18178 $ac_datarootdir_hack
18180 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18181 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18183 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18184 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18185 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18186 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18188 which seems to be undefined. Please make sure it is defined" >&5
18189 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18190 which seems to be undefined. Please make sure it is defined" >&2;}
18192 rm -f "$ac_tmp/stdin"
18194 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18195 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18197 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18203 if test x"$ac_file" != x-; then
18205 $as_echo "/* $configure_input */" \
18206 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18207 } >"$ac_tmp/config.h" \
18208 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18209 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18210 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18211 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18214 mv "$ac_tmp/config.h" "$ac_file" \
18215 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18218 $as_echo "/* $configure_input */" \
18219 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18220 || as_fn_error $? "could not create -" "$LINENO" 5
18222 # Compute "$ac_file"'s index
in $config_headers.
18225 for _am_header
in $config_headers :; do
18226 case $_am_header in
18227 $_am_arg |
$_am_arg:* )
18230 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18233 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18234 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18235 X"$_am_arg" : 'X\(//\)[^/]' \| \
18236 X"$_am_arg" : 'X\(//\)$' \| \
18237 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18238 $as_echo X"$_am_arg" |
18239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18243 /^X\(\/\/\)[^/].*/{
18255 s/.*/./; q'`/stamp-h
$_am_stamp_count
18258 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18259 $as_echo "$as_me: executing $ac_file commands" >&6;}
18264 case $ac_file$ac_mode in
18265 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
18266 # Older Autoconf quotes --file arguments for eval, but not when files
18267 # are listed without --file. Let's play safe and only enable the eval
18268 # if we detect the quoting.
18269 case $CONFIG_FILES in
18270 *\'*) eval set x
"$CONFIG_FILES" ;;
18271 *) set x
$CONFIG_FILES ;;
18276 # Strip MF so we end up with the name of the file.
18277 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18278 # Check whether this is an Automake generated Makefile or not.
18279 # We used to match only the files named 'Makefile.in', but
18280 # some people rename them; so instead we look at the file content.
18281 # Grep'ing the first line is not enough: some people post-process
18282 # each Makefile.in and add a new line on top of each file to say so.
18283 # Grep'ing the whole file is not good either: AIX grep has a line
18284 # limit of 2048, but all sed's we know have understand at least 4000.
18285 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
18286 dirpart
=`$as_dirname -- "$mf" ||
18287 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18288 X"$mf" : 'X\(//\)[^/]' \| \
18289 X"$mf" : 'X\(//\)$' \| \
18290 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18292 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18296 /^X\(\/\/\)[^/].*/{
18312 # Extract the definition of DEPDIR, am__include, and am__quote
18313 # from the Makefile without running 'make'.
18314 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18315 test -z "$DEPDIR" && continue
18316 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18317 test -z "$am__include" && continue
18318 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18319 # Find all dependency output files, they are included files with
18320 # $(DEPDIR) in their names. We invoke sed twice because it is the
18321 # simplest approach to changing $(DEPDIR) to its actual value in the
18323 for file in `sed -n "
18324 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18325 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18326 # Make sure the directory exists.
18327 test -f "$dirpart/$file" && continue
18328 fdir
=`$as_dirname -- "$file" ||
18329 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18330 X"$file" : 'X\(//\)[^/]' \| \
18331 X"$file" : 'X\(//\)$' \| \
18332 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18333 $as_echo X"$file" |
18334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18338 /^X\(\/\/\)[^/].*/{
18351 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
18352 # echo "creating $dirpart/$file"
18353 echo '# dummy' > "$dirpart/$file"
18360 # See if we are running on zsh, and set the options which allow our
18361 # commands through without removal of \ escapes.
18362 if test -n "${ZSH_VERSION+set}" ; then
18363 setopt NO_GLOB_SUBST
18366 cfgfile
="${ofile}T"
18367 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18370 cat <<_LT_EOF >> "$cfgfile"
18373 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18374 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18375 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18376 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18378 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18379 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
18380 # Written by Gordon Matzigkeit, 1996
18382 # This file is part of GNU Libtool.
18384 # GNU Libtool is free software; you can redistribute it and/or
18385 # modify it under the terms of the GNU General Public License as
18386 # published by the Free Software Foundation; either version 2 of
18387 # the License, or (at your option) any later version.
18389 # As a special exception to the GNU General Public License,
18390 # if you distribute this file as part of a program or library that
18391 # is built using GNU Libtool, you may include this file under the
18392 # same distribution terms that you use for the rest of that program.
18394 # GNU Libtool is distributed in the hope that it will be useful,
18395 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18396 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18397 # GNU General Public License for more details.
18399 # You should have received a copy of the GNU General Public License
18400 # along with GNU Libtool; see the file COPYING. If not, a copy
18401 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18402 # obtained by writing to the Free Software Foundation, Inc.,
18403 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18406 # The names of the tagged configurations supported by this script.
18407 available_tags="CXX "
18409 # ### BEGIN LIBTOOL CONFIG
18411 # Whether or not to build shared libraries.
18412 build_libtool_libs=$enable_shared
18414 # Which release of libtool.m4 was used?
18415 macro_version=$macro_version
18416 macro_revision=$macro_revision
18418 # Whether or not to build static libraries.
18419 build_old_libs=$enable_static
18421 # What type of objects to build.
18424 # Whether or not to optimize for fast installation.
18425 fast_install=$enable_fast_install
18427 # Shell to use when invoking shell scripts.
18430 # An echo program that protects backslashes.
18434 host_alias=$host_alias
18438 # The build system.
18439 build_alias=$build_alias
18443 # A sed program that does not truncate output.
18446 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18447 Xsed="\$SED -e 1s/^X//"
18449 # A grep program that handles long lines.
18455 # A literal string matcher.
18458 # A BSD- or MS-compatible name lister.
18461 # Whether we need soft or hard links.
18464 # What is the maximum length of a command?
18465 max_cmd_len=$max_cmd_len
18467 # Object file suffix (normally "o").
18470 # Executable file suffix (normally "").
18473 # whether the shell understands "unset".
18476 # turn spaces into newlines.
18479 # turn newlines into spaces.
18482 # An object symbol dumper.
18483 OBJDUMP=$lt_OBJDUMP
18485 # Method to check whether dependent libraries are shared objects.
18486 deplibs_check_method=$lt_deplibs_check_method
18488 # Command to use when deplibs_check_method == "file_magic".
18489 file_magic_cmd=$lt_file_magic_cmd
18493 AR_FLAGS=$lt_AR_FLAGS
18495 # A symbol stripping program.
18498 # Commands used to install an old-style archive.
18500 old_postinstall_cmds=$lt_old_postinstall_cmds
18501 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18503 # Whether to use a lock for old archive extraction.
18504 lock_old_archive_extraction=$lock_old_archive_extraction
18509 # LTCC compiler flags.
18510 LTCFLAGS=$lt_CFLAGS
18512 # Take the output of nm and produce a listing of raw symbols and C names.
18513 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18515 # Transform the output of nm in a proper C declaration.
18516 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18518 # Transform the output of nm in a C name address pair.
18519 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18521 # Transform the output of nm in a C name address pair when lib prefix is needed.
18522 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18524 # The name of the directory that contains temporary libtool files.
18527 # Used to examine libraries when file_magic_cmd begins with "file".
18528 MAGIC_CMD=$MAGIC_CMD
18530 # Must we lock files when doing compilation?
18531 need_locks=$lt_need_locks
18533 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18534 DSYMUTIL=$lt_DSYMUTIL
18536 # Tool to change global to local symbols on Mac OS X.
18539 # Tool to manipulate fat objects and archives on Mac OS X.
18542 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18545 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18546 OTOOL64=$lt_OTOOL64
18548 # Old archive suffix (normally "a").
18551 # Shared library suffix (normally ".so").
18552 shrext_cmds=$lt_shrext_cmds
18554 # The commands to extract the exported symbol list from a shared archive.
18555 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18557 # Variables whose values should be saved in libtool wrapper scripts and
18558 # restored at link time.
18559 variables_saved_for_relink=$lt_variables_saved_for_relink
18561 # Do we need the "lib" prefix for modules?
18562 need_lib_prefix=$need_lib_prefix
18564 # Do we need a version for libraries?
18565 need_version=$need_version
18567 # Library versioning type.
18568 version_type=$version_type
18570 # Shared library runtime path variable.
18571 runpath_var=$runpath_var
18573 # Shared library path variable.
18574 shlibpath_var=$shlibpath_var
18576 # Is shlibpath searched before the hard-coded library search path?
18577 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18579 # Format of library name prefix.
18580 libname_spec=$lt_libname_spec
18582 # List of archive names. First name is the real one, the rest are links.
18583 # The last name is the one that the linker finds with -lNAME
18584 library_names_spec=$lt_library_names_spec
18586 # The coded name of the library, if different from the real name.
18587 soname_spec=$lt_soname_spec
18589 # Permission mode override for installation of shared libraries.
18590 install_override_mode=$lt_install_override_mode
18592 # Command to use after installation of a shared archive.
18593 postinstall_cmds=$lt_postinstall_cmds
18595 # Command to use after uninstallation of a shared archive.
18596 postuninstall_cmds=$lt_postuninstall_cmds
18598 # Commands used to finish a libtool library installation in a directory.
18599 finish_cmds=$lt_finish_cmds
18601 # As "finish_cmds", except a single script fragment to be evaled but
18603 finish_eval=$lt_finish_eval
18605 # Whether we should hardcode library paths into libraries.
18606 hardcode_into_libs=$hardcode_into_libs
18608 # Compile-time system search path for libraries.
18609 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18611 # Run-time system search path for libraries.
18612 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18614 # Whether dlopen is supported.
18615 dlopen_support=$enable_dlopen
18617 # Whether dlopen of programs is supported.
18618 dlopen_self=$enable_dlopen_self
18620 # Whether dlopen of statically linked programs is supported.
18621 dlopen_self_static=$enable_dlopen_self_static
18623 # Commands to strip libraries.
18624 old_striplib=$lt_old_striplib
18625 striplib=$lt_striplib
18628 # The linker used to build libraries.
18631 # How to create reloadable object files.
18632 reload_flag=$lt_reload_flag
18633 reload_cmds=$lt_reload_cmds
18635 # Commands used to build an old-style archive.
18636 old_archive_cmds=$lt_old_archive_cmds
18638 # A language specific compiler.
18641 # Is the compiler the GNU compiler?
18644 # Compiler flag to turn off builtin functions.
18645 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18647 # How to pass a linker flag through the compiler.
18648 wl=$lt_lt_prog_compiler_wl
18650 # Additional compiler flags for building library objects.
18651 pic_flag=$lt_lt_prog_compiler_pic
18653 # Compiler flag to prevent dynamic linking.
18654 link_static_flag=$lt_lt_prog_compiler_static
18656 # Does compiler simultaneously support -c and -o options?
18657 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18659 # Whether or not to add -lc for building shared libraries.
18660 build_libtool_need_lc=$archive_cmds_need_lc
18662 # Whether or not to disallow shared libs when runtime libs are static.
18663 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18665 # Compiler flag to allow reflexive dlopens.
18666 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18668 # Compiler flag to generate shared objects directly from archives.
18669 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18671 # Whether the compiler copes with passing no objects directly.
18672 compiler_needs_object=$lt_compiler_needs_object
18674 # Create an old-style archive from a shared archive.
18675 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18677 # Create a temporary old-style archive to link instead of a shared archive.
18678 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18680 # Commands used to build a shared archive.
18681 archive_cmds=$lt_archive_cmds
18682 archive_expsym_cmds=$lt_archive_expsym_cmds
18684 # Commands used to build a loadable module if different from building
18685 # a shared archive.
18686 module_cmds=$lt_module_cmds
18687 module_expsym_cmds=$lt_module_expsym_cmds
18689 # Whether we are building with GNU ld or not.
18690 with_gnu_ld=$lt_with_gnu_ld
18692 # Flag that allows shared libraries with undefined symbols to be built.
18693 allow_undefined_flag=$lt_allow_undefined_flag
18695 # Flag that enforces no undefined symbols.
18696 no_undefined_flag=$lt_no_undefined_flag
18698 # Flag to hardcode \$libdir into a binary during linking.
18699 # This must work even if \$libdir does not exist
18700 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18702 # If ld is used when linking, flag to hardcode \$libdir into a binary
18703 # during linking. This must work even if \$libdir does not exist.
18704 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18706 # Whether we need a single "-rpath" flag with a separated argument.
18707 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18709 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18710 # DIR into the resulting binary.
18711 hardcode_direct=$hardcode_direct
18713 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18714 # DIR into the resulting binary and the resulting library dependency is
18715 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18716 # library is relocated.
18717 hardcode_direct_absolute=$hardcode_direct_absolute
18719 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18720 # into the resulting binary.
18721 hardcode_minus_L=$hardcode_minus_L
18723 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18724 # into the resulting binary.
18725 hardcode_shlibpath_var=$hardcode_shlibpath_var
18727 # Set to "yes" if building a shared library automatically hardcodes DIR
18728 # into the library and all subsequent libraries and executables linked
18730 hardcode_automatic=$hardcode_automatic
18732 # Set to yes if linker adds runtime paths of dependent libraries
18733 # to runtime path list.
18734 inherit_rpath=$inherit_rpath
18736 # Whether libtool must link a program against all its dependency libraries.
18737 link_all_deplibs=$link_all_deplibs
18739 # Fix the shell variable \$srcfile for the compiler.
18740 fix_srcfile_path=$lt_fix_srcfile_path
18742 # Set to "yes" if exported symbols are required.
18743 always_export_symbols=$always_export_symbols
18745 # The commands to list exported symbols.
18746 export_symbols_cmds=$lt_export_symbols_cmds
18748 # Symbols that should not be listed in the preloaded symbols.
18749 exclude_expsyms=$lt_exclude_expsyms
18751 # Symbols that must always be exported.
18752 include_expsyms=$lt_include_expsyms
18754 # Commands necessary for linking programs (against libraries) with templates.
18755 prelink_cmds=$lt_prelink_cmds
18757 # Specify filename containing input files.
18758 file_list_spec=$lt_file_list_spec
18760 # How to hardcode a shared library path into an executable.
18761 hardcode_action=$hardcode_action
18763 # The directories searched by this compiler when creating a shared library.
18764 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18766 # Dependencies to place before and after the objects being linked to
18767 # create a shared library.
18768 predep_objects=$lt_predep_objects
18769 postdep_objects=$lt_postdep_objects
18770 predeps=$lt_predeps
18771 postdeps=$lt_postdeps
18773 # The library search path used internally by the compiler when linking
18774 # a shared library.
18775 compiler_lib_search_path=$lt_compiler_lib_search_path
18777 # ### END LIBTOOL CONFIG
18783 cat <<\_LT_EOF
>> "$cfgfile"
18784 # AIX sometimes has problems with the GCC collect2 program. For some
18785 # reason, if we set the COLLECT_NAMES environment variable, the problems
18786 # vanish in a puff of smoke.
18787 if test "X${COLLECT_NAMES+set}" != Xset
; then
18789 export COLLECT_NAMES
18796 ltmain
="$ac_aux_dir/ltmain.sh"
18799 # We use sed instead of cat because bash on DJGPP gets confused if
18800 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18801 # text mode, it properly converts lines to CR/LF. This bash problem
18802 # is reportedly fixed, but why not run on old versions too?
18803 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18804 ||
(rm -f "$cfgfile"; exit 1)
18808 cat << \_LT_EOF
>> "$cfgfile"
18810 # func_dirname file append nondir_replacement
18811 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18812 # otherwise set result to NONDIR_REPLACEMENT.
18816 */*) func_dirname_result
="${1%/*}${2}" ;;
18817 * ) func_dirname_result
="${3}" ;;
18821 # func_basename file
18824 func_basename_result
="${1##*/}"
18827 # func_dirname_and_basename file append nondir_replacement
18828 # perform func_basename and func_dirname in a single function
18830 # dirname: Compute the dirname of FILE. If nonempty,
18831 # add APPEND to the result, otherwise set result
18832 # to NONDIR_REPLACEMENT.
18833 # value returned in "$func_dirname_result"
18834 # basename: Compute filename of FILE.
18835 # value retuned in "$func_basename_result"
18836 # Implementation must be kept synchronized with func_dirname
18837 # and func_basename. For efficiency, we do not delegate to
18838 # those functions but instead duplicate the functionality here.
18839 func_dirname_and_basename
()
18842 */*) func_dirname_result
="${1%/*}${2}" ;;
18843 * ) func_dirname_result
="${3}" ;;
18845 func_basename_result
="${1##*/}"
18848 # func_stripname prefix suffix name
18849 # strip PREFIX and SUFFIX off of NAME.
18850 # PREFIX and SUFFIX must not contain globbing or regex special
18851 # characters, hashes, percent signs, but SUFFIX may contain a leading
18852 # dot (in which case that matches only a dot).
18855 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18856 # positional parameters, so assign one to ordinary parameter first.
18857 func_stripname_result
=${3}
18858 func_stripname_result
=${func_stripname_result#"${1}"}
18859 func_stripname_result
=${func_stripname_result%"${2}"}
18865 func_opt_split_opt
=${1%%=*}
18866 func_opt_split_arg
=${1#*=}
18873 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
18874 *) func_lo2o_result
=${1} ;;
18878 # func_xform libobj-or-source
18881 func_xform_result
=${1%.*}.lo
18884 # func_arith arithmetic-term...
18887 func_arith_result
=$
(( $
* ))
18891 # STRING may not start with a hyphen.
18894 func_len_result
=${#1}
18899 *) # Bourne compatible functions.
18900 cat << \_LT_EOF
>> "$cfgfile"
18902 # func_dirname file append nondir_replacement
18903 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18904 # otherwise set result to NONDIR_REPLACEMENT.
18907 # Extract subdirectory from the argument.
18908 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
18909 if test "X$func_dirname_result" = "X${1}"; then
18910 func_dirname_result
="${3}"
18912 func_dirname_result
="$func_dirname_result${2}"
18916 # func_basename file
18919 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
18923 # func_stripname prefix suffix name
18924 # strip PREFIX and SUFFIX off of NAME.
18925 # PREFIX and SUFFIX must not contain globbing or regex special
18926 # characters, hashes, percent signs, but SUFFIX may contain a leading
18927 # dot (in which case that matches only a dot).
18928 # func_strip_suffix prefix name
18932 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
18933 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
18938 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18939 my_sed_long_arg
='1s/^-[^=]*=//'
18944 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
18945 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
18951 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
18954 # func_xform libobj-or-source
18957 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
18960 # func_arith arithmetic-term...
18963 func_arith_result
=`expr "$@"`
18967 # STRING may not start with a hyphen.
18970 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18976 case $lt_shell_append in
18978 cat << \_LT_EOF
>> "$cfgfile"
18980 # func_append var value
18981 # Append VALUE to the end of shell variable VAR.
18989 cat << \_LT_EOF
>> "$cfgfile"
18991 # func_append var value
18992 # Append VALUE to the end of shell variable VAR.
19003 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19004 ||
(rm -f "$cfgfile"; exit 1)
19006 mv -f "$cfgfile" "$ofile" ||
19007 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19011 cat <<_LT_EOF >> "$ofile"
19013 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19015 # The linker used to build libraries.
19018 # How to create reloadable object files.
19019 reload_flag=$lt_reload_flag_CXX
19020 reload_cmds=$lt_reload_cmds_CXX
19022 # Commands used to build an old-style archive.
19023 old_archive_cmds=$lt_old_archive_cmds_CXX
19025 # A language specific compiler.
19026 CC=$lt_compiler_CXX
19028 # Is the compiler the GNU compiler?
19031 # Compiler flag to turn off builtin functions.
19032 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19034 # How to pass a linker flag through the compiler.
19035 wl=$lt_lt_prog_compiler_wl_CXX
19037 # Additional compiler flags for building library objects.
19038 pic_flag=$lt_lt_prog_compiler_pic_CXX
19040 # Compiler flag to prevent dynamic linking.
19041 link_static_flag=$lt_lt_prog_compiler_static_CXX
19043 # Does compiler simultaneously support -c and -o options?
19044 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19046 # Whether or not to add -lc for building shared libraries.
19047 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19049 # Whether or not to disallow shared libs when runtime libs are static.
19050 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19052 # Compiler flag to allow reflexive dlopens.
19053 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19055 # Compiler flag to generate shared objects directly from archives.
19056 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19058 # Whether the compiler copes with passing no objects directly.
19059 compiler_needs_object=$lt_compiler_needs_object_CXX
19061 # Create an old-style archive from a shared archive.
19062 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19064 # Create a temporary old-style archive to link instead of a shared archive.
19065 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19067 # Commands used to build a shared archive.
19068 archive_cmds=$lt_archive_cmds_CXX
19069 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19071 # Commands used to build a loadable module if different from building
19072 # a shared archive.
19073 module_cmds=$lt_module_cmds_CXX
19074 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19076 # Whether we are building with GNU ld or not.
19077 with_gnu_ld=$lt_with_gnu_ld_CXX
19079 # Flag that allows shared libraries with undefined symbols to be built.
19080 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19082 # Flag that enforces no undefined symbols.
19083 no_undefined_flag=$lt_no_undefined_flag_CXX
19085 # Flag to hardcode \$libdir into a binary during linking.
19086 # This must work even if \$libdir does not exist
19087 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19089 # If ld is used when linking, flag to hardcode \$libdir into a binary
19090 # during linking. This must work even if \$libdir does not exist.
19091 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
19093 # Whether we need a single "-rpath" flag with a separated argument.
19094 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19096 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19097 # DIR into the resulting binary.
19098 hardcode_direct=$hardcode_direct_CXX
19100 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19101 # DIR into the resulting binary and the resulting library dependency is
19102 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19103 # library is relocated.
19104 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19106 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19107 # into the resulting binary.
19108 hardcode_minus_L=$hardcode_minus_L_CXX
19110 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19111 # into the resulting binary.
19112 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19114 # Set to "yes" if building a shared library automatically hardcodes DIR
19115 # into the library and all subsequent libraries and executables linked
19117 hardcode_automatic=$hardcode_automatic_CXX
19119 # Set to yes if linker adds runtime paths of dependent libraries
19120 # to runtime path list.
19121 inherit_rpath=$inherit_rpath_CXX
19123 # Whether libtool must link a program against all its dependency libraries.
19124 link_all_deplibs=$link_all_deplibs_CXX
19126 # Fix the shell variable \$srcfile for the compiler.
19127 fix_srcfile_path=$lt_fix_srcfile_path_CXX
19129 # Set to "yes" if exported symbols are required.
19130 always_export_symbols=$always_export_symbols_CXX
19132 # The commands to list exported symbols.
19133 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19135 # Symbols that should not be listed in the preloaded symbols.
19136 exclude_expsyms=$lt_exclude_expsyms_CXX
19138 # Symbols that must always be exported.
19139 include_expsyms=$lt_include_expsyms_CXX
19141 # Commands necessary for linking programs (against libraries) with templates.
19142 prelink_cmds=$lt_prelink_cmds_CXX
19144 # Specify filename containing input files.
19145 file_list_spec=$lt_file_list_spec_CXX
19147 # How to hardcode a shared library path into an executable.
19148 hardcode_action=$hardcode_action_CXX
19150 # The directories searched by this compiler when creating a shared library.
19151 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19153 # Dependencies to place before and after the objects being linked to
19154 # create a shared library.
19155 predep_objects=$lt_predep_objects_CXX
19156 postdep_objects=$lt_postdep_objects_CXX
19157 predeps=$lt_predeps_CXX
19158 postdeps=$lt_postdeps_CXX
19160 # The library search path used internally by the compiler when linking
19161 # a shared library.
19162 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19164 # ### END LIBTOOL TAG CONFIG: CXX
19175 ac_clean_files
=$ac_clean_files_save
19177 test $ac_write_fail = 0 ||
19178 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
19181 # configure is writing to config.log, and then calls config.status.
19182 # config.status does its own redirection, appending to config.log.
19183 # Unfortunately, on DOS this fails, as config.log is still kept open
19184 # by configure, so config.status won't be able to write to it; its
19185 # output is simply discarded. So we exec the FD to /dev/null,
19186 # effectively closing config.log, so it can be properly (re)opened and
19187 # appended to by config.status. When coming back to configure, we
19188 # need to make the FD available again.
19189 if test "$no_create" != yes; then
19191 ac_config_status_args
=
19192 test "$silent" = yes &&
19193 ac_config_status_args
="$ac_config_status_args --quiet"
19195 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19197 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19198 # would make configure fail if this is the last instruction.
19199 $ac_cs_success || as_fn_exit
1
19203 # CONFIG_SUBDIRS section.
19205 if test "$no_recursion" != yes; then
19207 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
19208 # so they do not pile up.
19209 ac_sub_configure_args
=
19211 eval "set x $ac_configure_args"
19215 if test -n "$ac_prev"; then
19220 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
19221 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
19222 ac_prev
=cache_file
;;
19223 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
19224 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
19227 --config-cache |
-C)
19229 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
19231 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
19233 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
19235 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
19237 --disable-option-checking)
19241 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
19243 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
19247 # Always prepend --prefix to ensure using the same prefix
19248 # in subdir configurations.
19249 ac_arg
="--prefix=$prefix"
19251 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
19253 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
19256 if test "$silent" = yes; then
19257 ac_sub_configure_args
="--silent $ac_sub_configure_args"
19260 # Always prepend --disable-option-checking to silence warnings, since
19261 # different subdirs can have different --enable and --with options.
19262 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
19265 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
19267 # Do not complain, so a configure script can configure whichever
19268 # parts of a large source tree are present.
19269 test -d "$srcdir/$ac_dir" ||
continue
19271 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
19272 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
19273 $as_echo "$ac_msg" >&6
19274 as_dir
="$ac_dir"; as_fn_mkdir_p
19278 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19280 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19281 # A ".." for each directory in $ac_dir_suffix.
19282 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19283 case $ac_top_builddir_sub in
19284 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19285 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19288 ac_abs_top_builddir
=$ac_pwd
19289 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19290 # for backward compatibility:
19291 ac_top_builddir
=$ac_top_build_prefix
19294 .
) # We are building in place.
19296 ac_top_srcdir
=$ac_top_builddir_sub
19297 ac_abs_top_srcdir
=$ac_pwd ;;
19298 [\\/]* | ?
:[\\/]* ) # Absolute name.
19299 ac_srcdir
=$srcdir$ac_dir_suffix;
19300 ac_top_srcdir
=$srcdir
19301 ac_abs_top_srcdir
=$srcdir ;;
19302 *) # Relative name.
19303 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19304 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19305 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19307 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19312 # Check for guested configure; otherwise get Cygnus style configure.
19313 if test -f "$ac_srcdir/configure.gnu"; then
19314 ac_sub_configure
=$ac_srcdir/configure.gnu
19315 elif test -f "$ac_srcdir/configure"; then
19316 ac_sub_configure
=$ac_srcdir/configure
19317 elif test -f "$ac_srcdir/configure.in"; then
19318 # This should be Cygnus configure.
19319 ac_sub_configure
=$ac_aux_dir/configure
19321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
19322 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
19326 # The recursion is here.
19327 if test -n "$ac_sub_configure"; then
19328 # Make the cache file name correct relative to the subdirectory.
19329 case $cache_file in
19330 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
19331 *) # Relative name.
19332 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
19335 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
19336 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
19337 # The eval makes quoting arguments work.
19338 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
19339 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
19340 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
19346 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19348 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}