2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gprofng 2.40.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.40.50'
591 PACKAGE_STRING
='gprofng 2.40.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
639 GPROFNG_NO_FORMAT_TRUNCATION_CFLAGS
665 BUILD_COLLECTOR_FALSE
667 GPROFNG_NO_SWITCH_CFLAGS
717 MAINTAINER_MODE_FALSE
731 INSTALL_STRIP_PROGRAM
785 program_transform_name
798 enable_option_checking
800 enable_maintainer_mode
801 enable_dependency_tracking
814 ac_precious_vars
='build_alias
827 ac_subdirs_all
='libcollector'
829 # Initialize some variables set by options.
831 ac_init_version
=false
832 ac_unrecognized_opts
=
834 # The variables have the same names as the options, with
835 # dashes changed to underlines.
843 program_transform_name
=s
,x
,x
,
851 # Installation directory options.
852 # These are left unexpanded so users can "make install exec_prefix=/foo"
853 # and all the variables that are supposed to be based on exec_prefix
854 # by default will actually change.
855 # Use braces instead of parens because sh, perl, etc. also accept them.
856 # (The list follows the same order as the GNU Coding Standards.)
857 bindir
='${exec_prefix}/bin'
858 sbindir
='${exec_prefix}/sbin'
859 libexecdir
='${exec_prefix}/libexec'
860 datarootdir
='${prefix}/share'
861 datadir
='${datarootdir}'
862 sysconfdir
='${prefix}/etc'
863 sharedstatedir
='${prefix}/com'
864 localstatedir
='${prefix}/var'
865 includedir
='${prefix}/include'
866 oldincludedir
='/usr/include'
867 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
868 infodir
='${datarootdir}/info'
873 libdir
='${exec_prefix}/lib'
874 localedir
='${datarootdir}/locale'
875 mandir
='${datarootdir}/man'
881 # If the previous option needs an argument, assign it.
882 if test -n "$ac_prev"; then
883 eval $ac_prev=\
$ac_option
889 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
894 # Accept the important Cygnus configure options, so we can diagnose typos.
896 case $ac_dashdash$ac_option in
900 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
902 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
905 -build |
--build |
--buil |
--bui |
--bu)
906 ac_prev
=build_alias
;;
907 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
908 build_alias
=$ac_optarg ;;
910 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
911 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
912 ac_prev
=cache_file
;;
913 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
914 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
915 cache_file
=$ac_optarg ;;
918 cache_file
=config.cache
;;
920 -datadir |
--datadir |
--datadi |
--datad)
922 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
923 datadir
=$ac_optarg ;;
925 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
926 |
--dataroo |
--dataro |
--datar)
927 ac_prev
=datarootdir
;;
928 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
929 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
930 datarootdir
=$ac_optarg ;;
932 -disable-* |
--disable-*)
933 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
934 # Reject names that are not valid shell variable names.
935 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
936 as_fn_error $?
"invalid feature name: $ac_useropt"
937 ac_useropt_orig
=$ac_useropt
938 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
939 case $ac_user_opts in
943 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
944 ac_unrecognized_sep
=', ';;
946 eval enable_
$ac_useropt=no
;;
948 -docdir |
--docdir |
--docdi |
--doc |
--do)
950 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
953 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
955 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
958 -enable-* |
--enable-*)
959 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
960 # Reject names that are not valid shell variable names.
961 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
962 as_fn_error $?
"invalid feature name: $ac_useropt"
963 ac_useropt_orig
=$ac_useropt
964 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
965 case $ac_user_opts in
969 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
970 ac_unrecognized_sep
=', ';;
972 eval enable_
$ac_useropt=\
$ac_optarg ;;
974 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
975 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
976 |
--exec |
--exe |
--ex)
977 ac_prev
=exec_prefix
;;
978 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
979 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
980 |
--exec=* |
--exe=* |
--ex=*)
981 exec_prefix
=$ac_optarg ;;
983 -gas |
--gas |
--ga |
--g)
984 # Obsolete; use --with-gas.
987 -help |
--help |
--hel |
--he |
-h)
989 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
990 ac_init_help
=recursive
;;
991 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
992 ac_init_help
=short
;;
994 -host |
--host |
--hos |
--ho)
995 ac_prev
=host_alias
;;
996 -host=* |
--host=* |
--hos=* |
--ho=*)
997 host_alias
=$ac_optarg ;;
999 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1001 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1003 htmldir
=$ac_optarg ;;
1005 -includedir |
--includedir |
--includedi |
--included |
--include \
1006 |
--includ |
--inclu |
--incl |
--inc)
1007 ac_prev
=includedir
;;
1008 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1009 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1010 includedir
=$ac_optarg ;;
1012 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1014 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1015 infodir
=$ac_optarg ;;
1017 -libdir |
--libdir |
--libdi |
--libd)
1019 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1020 libdir
=$ac_optarg ;;
1022 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1023 |
--libexe |
--libex |
--libe)
1024 ac_prev
=libexecdir
;;
1025 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1026 |
--libexe=* |
--libex=* |
--libe=*)
1027 libexecdir
=$ac_optarg ;;
1029 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1030 ac_prev
=localedir
;;
1031 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1032 localedir
=$ac_optarg ;;
1034 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1035 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1036 ac_prev
=localstatedir
;;
1037 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1038 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1039 localstatedir
=$ac_optarg ;;
1041 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1043 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1044 mandir
=$ac_optarg ;;
1046 -nfp |
--nfp |
--nf)
1047 # Obsolete; use --without-fp.
1050 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1051 |
--no-cr |
--no-c |
-n)
1054 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1055 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1058 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1059 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1060 |
--oldin |
--oldi |
--old |
--ol |
--o)
1061 ac_prev
=oldincludedir
;;
1062 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1063 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1064 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1065 oldincludedir
=$ac_optarg ;;
1067 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1069 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1070 prefix
=$ac_optarg ;;
1072 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1073 |
--program-pre |
--program-pr |
--program-p)
1074 ac_prev
=program_prefix
;;
1075 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1076 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1077 program_prefix
=$ac_optarg ;;
1079 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1080 |
--program-suf |
--program-su |
--program-s)
1081 ac_prev
=program_suffix
;;
1082 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1083 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1084 program_suffix
=$ac_optarg ;;
1086 -program-transform-name |
--program-transform-name \
1087 |
--program-transform-nam |
--program-transform-na \
1088 |
--program-transform-n |
--program-transform- \
1089 |
--program-transform |
--program-transfor \
1090 |
--program-transfo |
--program-transf \
1091 |
--program-trans |
--program-tran \
1092 |
--progr-tra |
--program-tr |
--program-t)
1093 ac_prev
=program_transform_name
;;
1094 -program-transform-name=* |
--program-transform-name=* \
1095 |
--program-transform-nam=* |
--program-transform-na=* \
1096 |
--program-transform-n=* |
--program-transform-=* \
1097 |
--program-transform=* |
--program-transfor=* \
1098 |
--program-transfo=* |
--program-transf=* \
1099 |
--program-trans=* |
--program-tran=* \
1100 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1101 program_transform_name
=$ac_optarg ;;
1103 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1105 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1106 pdfdir
=$ac_optarg ;;
1108 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1110 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1113 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1114 |
-silent |
--silent |
--silen |
--sile |
--sil)
1117 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1119 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1121 sbindir
=$ac_optarg ;;
1123 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1124 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1125 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1127 ac_prev
=sharedstatedir
;;
1128 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1129 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1130 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1132 sharedstatedir
=$ac_optarg ;;
1134 -site |
--site |
--sit)
1136 -site=* |
--site=* |
--sit=*)
1139 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1141 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1142 srcdir
=$ac_optarg ;;
1144 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1145 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1146 ac_prev
=sysconfdir
;;
1147 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1148 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1149 sysconfdir
=$ac_optarg ;;
1151 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1152 ac_prev
=target_alias
;;
1153 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1154 target_alias
=$ac_optarg ;;
1156 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1159 -version |
--version |
--versio |
--versi |
--vers |
-V)
1160 ac_init_version
=: ;;
1163 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1164 # Reject names that are not valid shell variable names.
1165 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1166 as_fn_error $?
"invalid package name: $ac_useropt"
1167 ac_useropt_orig
=$ac_useropt
1168 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1169 case $ac_user_opts in
1173 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1174 ac_unrecognized_sep
=', ';;
1176 eval with_
$ac_useropt=\
$ac_optarg ;;
1178 -without-* |
--without-*)
1179 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1182 as_fn_error $?
"invalid package name: $ac_useropt"
1183 ac_useropt_orig
=$ac_useropt
1184 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1185 case $ac_user_opts in
1189 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1190 ac_unrecognized_sep
=', ';;
1192 eval with_
$ac_useropt=no
;;
1195 # Obsolete; use --with-x.
1198 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1199 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1200 ac_prev
=x_includes
;;
1201 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1202 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1203 x_includes
=$ac_optarg ;;
1205 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1206 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1207 ac_prev
=x_libraries
;;
1208 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1209 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1210 x_libraries
=$ac_optarg ;;
1212 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1213 Try \`$0 --help' for more information"
1217 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1218 # Reject names that are not valid shell variable names.
1219 case $ac_envvar in #(
1220 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1221 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1223 eval $ac_envvar=\
$ac_optarg
1224 export $ac_envvar ;;
1227 # FIXME: should be removed in autoconf 3.0.
1228 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1229 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1230 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1231 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1237 if test -n "$ac_prev"; then
1238 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1239 as_fn_error $?
"missing argument to $ac_option"
1242 if test -n "$ac_unrecognized_opts"; then
1243 case $enable_option_checking in
1245 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1246 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1250 # Check all directory arguments for consistency.
1251 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1252 datadir sysconfdir sharedstatedir localstatedir includedir \
1253 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1254 libdir localedir mandir
1256 eval ac_val
=\$
$ac_var
1257 # Remove trailing slashes.
1260 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1261 eval $ac_var=\
$ac_val;;
1263 # Be sure to have absolute directory names.
1265 [\\/$
]* | ?
:[\\/]* ) continue;;
1266 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1268 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1271 # There might be people who depend on the old broken behavior: `$host'
1272 # used to hold the argument of --host etc.
1273 # FIXME: To remove some day.
1276 target
=$target_alias
1278 # FIXME: To remove some day.
1279 if test "x$host_alias" != x
; then
1280 if test "x$build_alias" = x
; then
1281 cross_compiling
=maybe
1282 elif test "x$build_alias" != "x$host_alias"; then
1288 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1290 test "$silent" = yes && exec 6>/dev
/null
1293 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1294 ac_ls_di
=`ls -di .` &&
1295 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1296 as_fn_error $?
"working directory cannot be determined"
1297 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1298 as_fn_error $?
"pwd does not report name of working directory"
1301 # Find the source files, if location was not specified.
1302 if test -z "$srcdir"; then
1303 ac_srcdir_defaulted
=yes
1304 # Try the directory containing this script, then the parent directory.
1305 ac_confdir
=`$as_dirname -- "$as_myself" ||
1306 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1307 X"$as_myself" : 'X\(//\)[^/]' \| \
1308 X"$as_myself" : 'X\(//\)$' \| \
1309 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1310 $as_echo X"$as_myself" |
1311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1329 if test ! -r "$srcdir/$ac_unique_file"; then
1333 ac_srcdir_defaulted
=no
1335 if test ! -r "$srcdir/$ac_unique_file"; then
1336 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1337 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1339 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1341 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1343 # When building in place, set srcdir=.
1344 if test "$ac_abs_confdir" = "$ac_pwd"; then
1347 # Remove unnecessary trailing slashes from srcdir.
1348 # Double slashes in file names in object file debugging info
1349 # mess up M-x gdb in Emacs.
1351 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1353 for ac_var
in $ac_precious_vars; do
1354 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1355 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1356 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1357 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1361 # Report the --help message.
1363 if test "$ac_init_help" = "long"; then
1364 # Omit some internal or obsolete options to make the list less imposing.
1365 # This message is too long to be a string in the A/UX 3.1 sh.
1367 \`configure' configures gprofng 2.40.50 to adapt to many kinds of systems.
1369 Usage: $0 [OPTION]... [VAR=VALUE]...
1371 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1372 VAR=VALUE. See below for descriptions of some of the useful variables.
1374 Defaults for the options are specified in brackets.
1377 -h, --help display this help and exit
1378 --help=short display options specific to this package
1379 --help=recursive display the short help of all the included packages
1380 -V, --version display version information and exit
1381 -q, --quiet, --silent do not print \`checking ...' messages
1382 --cache-file=FILE cache test results in FILE [disabled]
1383 -C, --config-cache alias for \`--cache-file=config.cache'
1384 -n, --no-create do not create output files
1385 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1387 Installation directories:
1388 --prefix=PREFIX install architecture-independent files in PREFIX
1389 [$ac_default_prefix]
1390 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1393 By default, \`make install' will install all the files in
1394 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1395 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1396 for instance \`--prefix=\$HOME'.
1398 For better control, use the options below.
1400 Fine tuning of the installation directories:
1401 --bindir=DIR user executables [EPREFIX/bin]
1402 --sbindir=DIR system admin executables [EPREFIX/sbin]
1403 --libexecdir=DIR program executables [EPREFIX/libexec]
1404 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1405 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1406 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1407 --libdir=DIR object code libraries [EPREFIX/lib]
1408 --includedir=DIR C header files [PREFIX/include]
1409 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1410 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1411 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1412 --infodir=DIR info documentation [DATAROOTDIR/info]
1413 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1414 --mandir=DIR man documentation [DATAROOTDIR/man]
1415 --docdir=DIR documentation root [DATAROOTDIR/doc/gprofng]
1416 --htmldir=DIR html documentation [DOCDIR]
1417 --dvidir=DIR dvi documentation [DOCDIR]
1418 --pdfdir=DIR pdf documentation [DOCDIR]
1419 --psdir=DIR ps documentation [DOCDIR]
1425 --program-prefix=PREFIX prepend PREFIX to installed program names
1426 --program-suffix=SUFFIX append SUFFIX to installed program names
1427 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1430 --build=BUILD configure
for building on BUILD
[guessed
]
1431 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1432 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1436 if test -n "$ac_init_help"; then
1437 case $ac_init_help in
1438 short | recursive
) echo "Configuration of gprofng 2.40.50:";;
1443 --disable-option-checking ignore unrecognized
--enable/--with options
1444 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1445 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1446 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1447 --disable-silent-rules verbose build output
(undo
: "make V=0")
1448 --enable-maintainer-mode
1449 enable make rules and dependencies not useful
(and
1450 sometimes confusing
) to the casual installer
1451 --enable-dependency-tracking
1452 do not reject slow dependency extractors
1453 --disable-dependency-tracking
1454 speeds up one-time build
1455 --enable-shared[=PKGS
] build shared libraries
[default
=no
]
1456 --enable-static[=PKGS
] build static libraries
[default
=yes]
1457 --enable-fast-install[=PKGS
]
1458 optimize
for fast installation
[default
=yes]
1459 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1460 --enable-werror-always enable -Werror despite compiler version
1461 --disable-gprofng-tools do not build gprofng
/src directory
1462 --enable-gprofng-debug Enable debugging output
[default
=no
]
1465 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1466 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1467 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1469 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1470 --with-jdk=PATH specify prefix directory
for installed JDK.
1471 --with-system-zlib use installed libz
1473 Some influential environment variables
:
1474 CC C compiler
command
1475 CFLAGS C compiler flags
1476 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1477 nonstandard directory
<lib dir
>
1478 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1479 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1480 you have headers
in a nonstandard directory
<include dir
>
1482 CXX C
++ compiler
command
1483 CXXFLAGS C
++ compiler flags
1484 CXXCPP C
++ preprocessor
1486 Use these variables to override the choices made by
`configure' or to help
1487 it to find libraries and programs with nonstandard names/locations.
1489 Report bugs to the package provider.
1494 if test "$ac_init_help" = "recursive"; then
1495 # If there are subdirs, report their specific --help.
1496 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1497 test -d "$ac_dir" ||
1498 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1503 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1505 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1506 # A ".." for each directory in $ac_dir_suffix.
1507 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1508 case $ac_top_builddir_sub in
1509 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1510 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1513 ac_abs_top_builddir=$ac_pwd
1514 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1515 # for backward compatibility:
1516 ac_top_builddir=$ac_top_build_prefix
1519 .) # We are building in place.
1521 ac_top_srcdir=$ac_top_builddir_sub
1522 ac_abs_top_srcdir=$ac_pwd ;;
1523 [\\/]* | ?:[\\/]* ) # Absolute name.
1524 ac_srcdir=$srcdir$ac_dir_suffix;
1525 ac_top_srcdir=$srcdir
1526 ac_abs_top_srcdir=$srcdir ;;
1528 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1529 ac_top_srcdir=$ac_top_build_prefix$srcdir
1530 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1532 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1534 cd "$ac_dir" || { ac_status=$?; continue; }
1535 # Check for guested configure.
1536 if test -f "$ac_srcdir/configure.gnu"; then
1538 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1539 elif test -f "$ac_srcdir/configure"; then
1541 $SHELL "$ac_srcdir/configure" --help=recursive
1543 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1545 cd "$ac_pwd" || { ac_status=$?; break; }
1549 test -n "$ac_init_help" && exit $ac_status
1550 if $ac_init_version; then
1552 gprofng configure 2.40.50
1553 generated by GNU Autoconf 2.69
1555 Copyright (C) 2012 Free Software Foundation, Inc.
1556 This configure script is free software; the Free Software Foundation
1557 gives unlimited permission to copy, distribute and modify it.
1562 ## ------------------------ ##
1563 ## Autoconf initialization. ##
1564 ## ------------------------ ##
1566 # ac_fn_c_try_compile LINENO
1567 # --------------------------
1568 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1569 ac_fn_c_try_compile ()
1571 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1572 rm -f conftest.$ac_objext
1573 if { { ac_try="$ac_compile"
1575 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1576 *) ac_try_echo
=$ac_try;;
1578 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1579 $as_echo "$ac_try_echo"; } >&5
1580 (eval "$ac_compile") 2>conftest.err
1582 if test -s conftest.err
; then
1583 grep -v '^ *+' conftest.err
>conftest.er1
1584 cat conftest.er1
>&5
1585 mv -f conftest.er1 conftest.err
1587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1588 test $ac_status = 0; } && {
1589 test -z "$ac_c_werror_flag" ||
1590 test ! -s conftest.err
1591 } && test -s conftest.
$ac_objext; then :
1594 $as_echo "$as_me: failed program was:" >&5
1595 sed 's/^/| /' conftest.
$ac_ext >&5
1599 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1600 as_fn_set_status
$ac_retval
1602 } # ac_fn_c_try_compile
1604 # ac_fn_c_try_cpp LINENO
1605 # ----------------------
1606 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1609 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1610 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1612 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1613 *) ac_try_echo=$ac_try;;
1615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1616 $as_echo "$ac_try_echo"; } >&5
1617 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1619 if test -s conftest.err; then
1620 grep -v '^ *+' conftest.err >conftest.er1
1621 cat conftest.er1 >&5
1622 mv -f conftest.er1 conftest.err
1624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1625 test $ac_status = 0; } > conftest.i && {
1626 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1627 test ! -s conftest.err
1631 $as_echo "$as_me: failed program was:" >&5
1632 sed 's/^/| /' conftest.$ac_ext >&5
1636 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1637 as_fn_set_status $ac_retval
1641 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1642 # -------------------------------------------------------
1643 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1644 # the include files in INCLUDES and setting the cache variable VAR
1646 ac_fn_c_check_header_mongrel ()
1648 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1649 if eval \${$3+:} false; then :
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1651 $as_echo_n "checking for $2... " >&6; }
1652 if eval \${$3+:} false; then :
1653 $as_echo_n "(cached) " >&6
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1657 $as_echo "$ac_res" >&6; }
1659 # Is the header compilable?
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1661 $as_echo_n "checking $2 usability... " >&6; }
1662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1663 /* end confdefs.h. */
1667 if ac_fn_c_try_compile "$LINENO"; then :
1668 ac_header_compiler=yes
1670 ac_header_compiler=no
1672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1674 $as_echo "$ac_header_compiler" >&6; }
1676 # Is the header present?
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1678 $as_echo_n "checking $2 presence... " >&6; }
1679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1680 /* end confdefs.h. */
1683 if ac_fn_c_try_cpp "$LINENO"; then :
1684 ac_header_preproc=yes
1686 ac_header_preproc=no
1688 rm -f conftest.err conftest.i conftest.$ac_ext
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1690 $as_echo "$ac_header_preproc" >&6; }
1692 # So? What about this header?
1693 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1696 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1698 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1702 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1704 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1706 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1708 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1710 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1714 $as_echo_n "checking for $2... " >&6; }
1715 if eval \${$3+:} false; then :
1716 $as_echo_n "(cached) " >&6
1718 eval "$3=\$ac_header_compiler"
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1722 $as_echo "$ac_res" >&6; }
1724 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1726 } # ac_fn_c_check_header_mongrel
1728 # ac_fn_c_try_run LINENO
1729 # ----------------------
1730 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1731 # that executables *can* be run.
1734 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1735 if { { ac_try="$ac_link"
1737 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1738 *) ac_try_echo
=$ac_try;;
1740 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1741 $as_echo "$ac_try_echo"; } >&5
1742 (eval "$ac_link") 2>&5
1744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1745 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1746 { { case "(($ac_try" in
1747 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1748 *) ac_try_echo=$ac_try;;
1750 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1751 $as_echo "$ac_try_echo"; } >&5
1752 (eval "$ac_try") 2>&5
1754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1755 test $ac_status = 0; }; }; then :
1758 $as_echo "$as_me: program exited with status $ac_status" >&5
1759 $as_echo "$as_me: failed program was:" >&5
1760 sed 's/^/| /' conftest.$ac_ext >&5
1762 ac_retval=$ac_status
1764 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1766 as_fn_set_status $ac_retval
1770 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1771 # -------------------------------------------------------
1772 # Tests whether HEADER exists and can be compiled using the include files in
1773 # INCLUDES, setting the cache variable VAR accordingly.
1774 ac_fn_c_check_header_compile ()
1776 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1778 $as_echo_n "checking for $2... " >&6; }
1779 if eval \${$3+:} false; then :
1780 $as_echo_n "(cached) " >&6
1782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1783 /* end confdefs.h. */
1787 if ac_fn_c_try_compile "$LINENO"; then :
1792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1796 $as_echo "$ac_res" >&6; }
1797 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1799 } # ac_fn_c_check_header_compile
1801 # ac_fn_cxx_try_compile LINENO
1802 # ----------------------------
1803 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1804 ac_fn_cxx_try_compile ()
1806 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1807 rm -f conftest.$ac_objext
1808 if { { ac_try="$ac_compile"
1810 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1811 *) ac_try_echo
=$ac_try;;
1813 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1814 $as_echo "$ac_try_echo"; } >&5
1815 (eval "$ac_compile") 2>conftest.err
1817 if test -s conftest.err
; then
1818 grep -v '^ *+' conftest.err
>conftest.er1
1819 cat conftest.er1
>&5
1820 mv -f conftest.er1 conftest.err
1822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1823 test $ac_status = 0; } && {
1824 test -z "$ac_cxx_werror_flag" ||
1825 test ! -s conftest.err
1826 } && test -s conftest.
$ac_objext; then :
1829 $as_echo "$as_me: failed program was:" >&5
1830 sed 's/^/| /' conftest.
$ac_ext >&5
1834 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1835 as_fn_set_status
$ac_retval
1837 } # ac_fn_cxx_try_compile
1839 # ac_fn_c_try_link LINENO
1840 # -----------------------
1841 # Try to link conftest.$ac_ext, and return whether this succeeded.
1844 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1845 rm -f conftest.
$ac_objext conftest
$ac_exeext
1846 if { { ac_try
="$ac_link"
1848 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1849 *) ac_try_echo=$ac_try;;
1851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1852 $as_echo "$ac_try_echo"; } >&5
1853 (eval "$ac_link") 2>conftest.err
1855 if test -s conftest.err; then
1856 grep -v '^ *+' conftest.err >conftest.er1
1857 cat conftest.er1 >&5
1858 mv -f conftest.er1 conftest.err
1860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1861 test $ac_status = 0; } && {
1862 test -z "$ac_c_werror_flag" ||
1863 test ! -s conftest.err
1864 } && test -s conftest$ac_exeext && {
1865 test "$cross_compiling" = yes ||
1866 test -x conftest$ac_exeext
1870 $as_echo "$as_me: failed program was:" >&5
1871 sed 's/^/| /' conftest.$ac_ext >&5
1875 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1876 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1877 # interfere with the next link command; also delete a directory that is
1878 # left behind by Apple's compiler. We do this before executing the actions.
1879 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1880 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1881 as_fn_set_status $ac_retval
1883 } # ac_fn_c_try_link
1885 # ac_fn_c_check_func LINENO FUNC VAR
1886 # ----------------------------------
1887 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1888 ac_fn_c_check_func ()
1890 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1892 $as_echo_n "checking for $2... " >&6; }
1893 if eval \${$3+:} false; then :
1894 $as_echo_n "(cached) " >&6
1896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1897 /* end confdefs.h. */
1898 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1900 #define $2 innocuous_$2
1902 /* System header to define __stub macros and hopefully few prototypes,
1903 which can conflict with char $2 (); below.
1904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1905 <limits.h> exists even on freestanding compilers. */
1908 # include <limits.h>
1910 # include <assert.h>
1915 /* Override any GCC internal prototype to avoid an error.
1916 Use char because int might match the return type of a GCC
1917 builtin and then its argument prototype would still apply. */
1922 /* The GNU C library defines this for functions which it implements
1923 to always fail with ENOSYS. Some functions are actually named
1924 something starting with __ and the normal name is an alias. */
1925 #if defined __stub_$2 || defined __stub___$2
1937 if ac_fn_c_try_link "$LINENO"; then :
1942 rm -f core conftest.err conftest.$ac_objext \
1943 conftest$ac_exeext conftest.$ac_ext
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1947 $as_echo "$ac_res" >&6; }
1948 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1950 } # ac_fn_c_check_func
1952 # ac_fn_cxx_try_cpp LINENO
1953 # ------------------------
1954 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1955 ac_fn_cxx_try_cpp ()
1957 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1958 if { { ac_try="$ac_cpp conftest.$ac_ext"
1960 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1961 *) ac_try_echo
=$ac_try;;
1963 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1964 $as_echo "$ac_try_echo"; } >&5
1965 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1967 if test -s conftest.err
; then
1968 grep -v '^ *+' conftest.err
>conftest.er1
1969 cat conftest.er1
>&5
1970 mv -f conftest.er1 conftest.err
1972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1973 test $ac_status = 0; } > conftest.i
&& {
1974 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1975 test ! -s conftest.err
1979 $as_echo "$as_me: failed program was:" >&5
1980 sed 's/^/| /' conftest.
$ac_ext >&5
1984 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1985 as_fn_set_status
$ac_retval
1987 } # ac_fn_cxx_try_cpp
1989 # ac_fn_cxx_try_link LINENO
1990 # -------------------------
1991 # Try to link conftest.$ac_ext, and return whether this succeeded.
1992 ac_fn_cxx_try_link
()
1994 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1995 rm -f conftest.
$ac_objext conftest
$ac_exeext
1996 if { { ac_try
="$ac_link"
1998 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1999 *) ac_try_echo=$ac_try;;
2001 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2002 $as_echo "$ac_try_echo"; } >&5
2003 (eval "$ac_link") 2>conftest.err
2005 if test -s conftest.err; then
2006 grep -v '^ *+' conftest.err >conftest.er1
2007 cat conftest.er1 >&5
2008 mv -f conftest.er1 conftest.err
2010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2011 test $ac_status = 0; } && {
2012 test -z "$ac_cxx_werror_flag" ||
2013 test ! -s conftest.err
2014 } && test -s conftest$ac_exeext && {
2015 test "$cross_compiling" = yes ||
2016 test -x conftest$ac_exeext
2020 $as_echo "$as_me: failed program was:" >&5
2021 sed 's/^/| /' conftest.$ac_ext >&5
2025 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2026 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2027 # interfere with the next link command; also delete a directory that is
2028 # left behind by Apple's compiler. We do this before executing the actions.
2029 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2030 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2031 as_fn_set_status $ac_retval
2033 } # ac_fn_cxx_try_link
2035 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2036 # ---------------------------------------------
2037 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2039 ac_fn_c_check_decl ()
2041 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2042 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2043 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2045 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2046 if eval \${$3+:} false; then :
2047 $as_echo_n "(cached) " >&6
2049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2050 /* end confdefs.h. */
2055 #ifndef $as_decl_name
2057 (void) $as_decl_use;
2059 (void) $as_decl_name;
2067 if ac_fn_c_try_compile "$LINENO"; then :
2072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2076 $as_echo "$ac_res" >&6; }
2077 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2079 } # ac_fn_c_check_decl
2080 cat >config.log <<_ACEOF
2081 This file contains any messages produced by compilers while
2082 running configure, to aid debugging if configure makes a mistake.
2084 It was created by gprofng $as_me 2.40.50, which was
2085 generated by GNU Autoconf 2.69. Invocation command line was
2097 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2098 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2099 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2100 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2101 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2103 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2104 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2106 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2107 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2108 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2109 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2110 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2111 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2112 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2120 test -z "$as_dir" && as_dir=.
2121 $as_echo "PATH: $as_dir"
2137 # Keep a trace of the command line.
2138 # Strip out --no-create and --no-recursion so they do not pile up.
2139 # Strip out --silent because we don't want to record it for future runs.
2140 # Also quote any args containing shell meta-characters.
2141 # Make two passes to allow for proper duplicate-argument suppression.
2145 ac_must_keep_next=false
2151 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2152 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2153 | -silent | --silent | --silen | --sile | --sil)
2156 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2159 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2161 as_fn_append ac_configure_args1 " '$ac_arg'"
2162 if test $ac_must_keep_next = true; then
2163 ac_must_keep_next=false # Got value, back to normal.
2166 *=* | --config-cache | -C | -disable-* | --disable-* \
2167 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2168 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2169 | -with-* | --with-* | -without-* | --without-* | --x)
2170 case "$ac_configure_args0 " in
2171 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2174 -* ) ac_must_keep_next=true ;;
2177 as_fn_append ac_configure_args " '$ac_arg'"
2182 { ac_configure_args0=; unset ac_configure_args0;}
2183 { ac_configure_args1=; unset ac_configure_args1;}
2185 # When interrupted or exit'd, cleanup temporary files, and complete
2186 # config.log. We remove comments because anyway the quotes in there
2187 # would cause problems or look ugly.
2188 # WARNING: Use '\'' to represent an apostrophe within the trap.
2189 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2190 trap 'exit_status=$?
2191 # Save into config.log some information that might help in debugging.
2195 $as_echo "## ---------------- ##
2196 ## Cache variables. ##
2197 ## ---------------- ##"
2199 # The following way of writing the cache mishandles newlines in values,
2201 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2202 eval ac_val=\$$ac_var
2206 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2207 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2210 _ | IFS | as_nl) ;; #(
2211 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2212 *) { eval $ac_var=; unset $ac_var;} ;;
2217 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2218 *${as_nl}ac_space=\ *)
2220 "s/'\''/'\''\\\\'\'''\''/g;
2221 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2224 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2231 $as_echo "## ----------------- ##
2232 ## Output variables. ##
2233 ## ----------------- ##"
2235 for ac_var in $ac_subst_vars
2237 eval ac_val=\$$ac_var
2239 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2241 $as_echo "$ac_var='\''$ac_val'\''"
2245 if test -n "$ac_subst_files"; then
2246 $as_echo "## ------------------- ##
2247 ## File substitutions. ##
2248 ## ------------------- ##"
2250 for ac_var in $ac_subst_files
2252 eval ac_val=\$$ac_var
2254 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2256 $as_echo "$ac_var='\''$ac_val'\''"
2261 if test -s confdefs.h; then
2262 $as_echo "## ----------- ##
2269 test "$ac_signal" != 0 &&
2270 $as_echo "$as_me: caught signal $ac_signal"
2271 $as_echo "$as_me: exit $exit_status"
2273 rm -f core *.core core.conftest.* &&
2274 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2277 for ac_signal in 1 2 13 15; do
2278 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2282 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2283 rm -f -r conftest* confdefs.h
2285 $as_echo "/* confdefs.h */" > confdefs.h
2287 # Predefined preprocessor variables.
2289 cat >>confdefs.h <<_ACEOF
2290 #define PACKAGE_NAME "$PACKAGE_NAME"
2293 cat >>confdefs.h <<_ACEOF
2294 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2297 cat >>confdefs.h <<_ACEOF
2298 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2301 cat >>confdefs.h <<_ACEOF
2302 #define PACKAGE_STRING "$PACKAGE_STRING"
2305 cat >>confdefs.h <<_ACEOF
2306 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2309 cat >>confdefs.h <<_ACEOF
2310 #define PACKAGE_URL "$PACKAGE_URL"
2314 # Let the site file select an alternate cache file if it wants to.
2315 # Prefer an explicitly selected file to automatically selected ones.
2318 if test -n "$CONFIG_SITE"; then
2319 # We do not want a PATH search for config.site.
2320 case $CONFIG_SITE in #((
2321 -*) ac_site_file1=./$CONFIG_SITE;;
2322 */*) ac_site_file1=$CONFIG_SITE;;
2323 *) ac_site_file1=./$CONFIG_SITE;;
2325 elif test "x$prefix" != xNONE; then
2326 ac_site_file1=$prefix/share/config.site
2327 ac_site_file2=$prefix/etc/config.site
2329 ac_site_file1=$ac_default_prefix/share/config.site
2330 ac_site_file2=$ac_default_prefix/etc/config.site
2332 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2334 test "x$ac_site_file" = xNONE && continue
2335 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2337 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2338 sed 's/^/| /' "$ac_site_file" >&5
2340 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2341 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2342 as_fn_error $? "failed to load site
script $ac_site_file
2343 See \
`config.log' for more details" "$LINENO" 5; }
2347 if test -r "$cache_file"; then
2348 # Some versions of bash will fail to source /dev/null (special files
2349 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2350 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2352 $as_echo "$as_me: loading cache $cache_file" >&6;}
2354 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2355 *) . "./$cache_file";;
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2360 $as_echo "$as_me: creating cache $cache_file" >&6;}
2364 # Check that the precious variables saved in the cache have kept the same
2366 ac_cache_corrupted=false
2367 for ac_var in $ac_precious_vars; do
2368 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2369 eval ac_new_set=\$ac_env_${ac_var}_set
2370 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2371 eval ac_new_val=\$ac_env_${ac_var}_value
2372 case $ac_old_set,$ac_new_set in
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2375 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2376 ac_cache_corrupted=: ;;
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2379 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2380 ac_cache_corrupted=: ;;
2383 if test "x$ac_old_val" != "x$ac_new_val"; then
2384 # differences in whitespace do not lead to failure.
2385 ac_old_val_w=`echo x
$ac_old_val`
2386 ac_new_val_w=`echo x
$ac_new_val`
2387 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2389 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2390 ac_cache_corrupted=:
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2393 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2394 eval $ac_var=\$ac_old_val
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2397 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2399 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2402 # Pass precious variables to config.status.
2403 if test "$ac_new_set" = set; then
2405 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2406 *) ac_arg=$ac_var=$ac_new_val ;;
2408 case " $ac_configure_args " in
2409 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2410 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2414 if $ac_cache_corrupted; then
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2416 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2418 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2419 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2421 ## -------------------- ##
2422 ## Main body of script. ##
2423 ## -------------------- ##
2426 ac_cpp='$CPP $CPPFLAGS'
2427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2433 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2434 if test -f "$ac_dir/install-sh"; then
2436 ac_install_sh="$ac_aux_dir/install-sh -c"
2438 elif test -f "$ac_dir/install.sh"; then
2440 ac_install_sh="$ac_aux_dir/install.sh -c"
2442 elif test -f "$ac_dir/shtool"; then
2444 ac_install_sh="$ac_aux_dir/shtool install -c"
2448 if test -z "$ac_aux_dir"; then
2449 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2452 # These three variables are undocumented and unsupported,
2453 # and are intended to be withdrawn in a future Autoconf release.
2454 # They can cause serious problems if a builder's source tree is in a directory
2455 # whose full name contains unusual characters.
2456 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2457 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2458 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2461 # Make sure we can run config.sub.
2462 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2463 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2466 $as_echo_n "checking build system type... " >&6; }
2467 if ${ac_cv_build+:} false; then :
2468 $as_echo_n "(cached) " >&6
2470 ac_build_alias=$build_alias
2471 test "x$ac_build_alias" = x &&
2472 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2473 test "x$ac_build_alias" = x &&
2474 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2475 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2476 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2480 $as_echo "$ac_cv_build" >&6; }
2481 case $ac_cv_build in
2483 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2486 ac_save_IFS=$IFS; IFS='-'
2492 # Remember, the first character of IFS is used to create $*,
2493 # except with old shells:
2496 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2500 $as_echo_n "checking host system type... " >&6; }
2501 if ${ac_cv_host+:} false; then :
2502 $as_echo_n "(cached) " >&6
2504 if test "x$host_alias" = x; then
2505 ac_cv_host=$ac_cv_build
2507 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2508 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2513 $as_echo "$ac_cv_host" >&6; }
2516 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2519 ac_save_IFS=$IFS; IFS='-'
2525 # Remember, the first character of IFS is used to create $*,
2526 # except with old shells:
2529 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2533 $as_echo_n "checking target system type... " >&6; }
2534 if ${ac_cv_target+:} false; then :
2535 $as_echo_n "(cached) " >&6
2537 if test "x$target_alias" = x; then
2538 ac_cv_target=$ac_cv_host
2540 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2541 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2546 $as_echo "$ac_cv_target" >&6; }
2547 case $ac_cv_target in
2549 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2551 target=$ac_cv_target
2552 ac_save_IFS=$IFS; IFS='-'
2558 # Remember, the first character of IFS is used to create $*,
2559 # except with old shells:
2562 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2565 # The aliases save the names the user supplied, while $host etc.
2566 # will get canonicalized.
2567 test -n "$target_alias" &&
2568 test "$program_prefix$program_suffix$program_transform_name" = \
2570 program_prefix=${target_alias}-
2571 am__api_version='1.15'
2573 # Find a good install program. We prefer a C program (faster),
2574 # so one script is as good as another. But avoid the broken or
2575 # incompatible versions:
2576 # SysV /etc/install, /usr/sbin/install
2577 # SunOS /usr/etc/install
2578 # IRIX /sbin/install
2580 # AmigaOS /C/install, which installs bootblocks on floppy discs
2581 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2582 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2583 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2584 # OS/2's system install, which has a completely different semantic
2585 # ./install, which can be erroneously created by make from ./install.sh.
2586 # Reject install programs that cannot install multiple files.
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2588 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2589 if test -z "$INSTALL"; then
2590 if ${ac_cv_path_install+:} false; then :
2591 $as_echo_n "(cached) " >&6
2593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2597 test -z "$as_dir" && as_dir=.
2598 # Account for people who put trailing slashes in PATH elements.
2599 case $as_dir/ in #((
2600 ./ | .// | /[cC]/* | \
2601 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2602 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2605 # OSF1 and SCO ODT 3.0 have their own names for install.
2606 # Don't use installbsd from OSF since it installs stuff as root
2608 for ac_prog in ginstall scoinst install; do
2609 for ac_exec_ext in '' $ac_executable_extensions; do
2610 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2611 if test $ac_prog = install &&
2612 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2613 # AIX install. It has an incompatible calling convention.
2615 elif test $ac_prog = install &&
2616 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2617 # program-specific install script used by HP pwplus--don't use.
2620 rm -rf conftest.one conftest.two conftest.dir
2621 echo one > conftest.one
2622 echo two > conftest.two
2624 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2625 test -s conftest.one && test -s conftest.two &&
2626 test -s conftest.dir/conftest.one &&
2627 test -s conftest.dir/conftest.two
2629 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2642 rm -rf conftest.one conftest.two conftest.dir
2645 if test "${ac_cv_path_install+set}" = set; then
2646 INSTALL=$ac_cv_path_install
2648 # As a last resort, use the slow shell script. Don't cache a
2649 # value for INSTALL within a source directory, because that will
2650 # break other packages using the cache if that directory is
2651 # removed, or if the value is a relative name.
2652 INSTALL=$ac_install_sh
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2656 $as_echo "$INSTALL" >&6; }
2658 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2659 # It thinks the first close brace ends the variable substitution.
2660 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2662 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2664 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2667 $as_echo_n "checking whether build environment is sane... " >&6; }
2668 # Reject unsafe characters in $srcdir or the absolute working directory
2669 # name. Accept space and tab only in the latter.
2673 *[\\\"\#\$\&\'\`$am_lf]*)
2674 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2677 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2678 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2681 # Do 'set' in a subshell so we don't clobber the current shell's
2682 # arguments. Must try -L first in case configure is actually a
2683 # symlink; some systems play weird games with the mod time of symlinks
2684 # (eg FreeBSD returns the mod time of the symlink's containing
2688 for am_try
in 1 2; do
2689 echo "timestamp, slept: $am_has_slept" > conftest.
file
2690 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2691 if test "$*" = "X"; then
2693 set X
`ls -t "$srcdir/configure" conftest.file`
2695 if test "$*" != "X $srcdir/configure conftest.file" \
2696 && test "$*" != "X conftest.file $srcdir/configure"; then
2698 # If neither matched, then we have a broken ls. This can happen
2699 # if, for instance, CONFIG_SHELL is bash and it inherits a
2700 # broken ls alias from the environment. This has actually
2701 # happened. Such a system could not be considered "sane".
2702 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2703 alias in your environment" "$LINENO" 5
2705 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2712 test "$2" = conftest.
file
2718 as_fn_error $?
"newly created file is older than distributed files!
2719 Check your system clock" "$LINENO" 5
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2722 $as_echo "yes" >&6; }
2723 # If we didn't sleep, we still need to ensure time stamps of config.status and
2724 # generated files are strictly newer.
2726 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2733 test "$program_prefix" != NONE
&&
2734 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2735 # Use a double $ so make ignores it.
2736 test "$program_suffix" != NONE
&&
2737 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2738 # Double any \ or $.
2739 # By default was `s,x,x', remove it if useless.
2740 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2741 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2743 # Expand $ac_aux_dir to an absolute path.
2744 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2746 if test x
"${MISSING+set}" != xset
; then
2749 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2751 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2754 # Use eval to expand $SHELL
2755 if eval "$MISSING --is-lightweight"; then
2756 am_missing_run
="$MISSING "
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2760 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2763 if test x
"${install_sh+set}" != xset
; then
2766 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2768 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2772 # Installed binaries are usually stripped using 'strip' when the user
2773 # run "make install-strip". However 'strip' might not be the right
2774 # tool to use in cross-compilation environments, therefore Automake
2775 # will honor the 'STRIP' environment variable to overrule this program.
2776 if test "$cross_compiling" != no
; then
2777 if test -n "$ac_tool_prefix"; then
2778 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2779 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2781 $as_echo_n "checking for $ac_word... " >&6; }
2782 if ${ac_cv_prog_STRIP+:} false
; then :
2783 $as_echo_n "(cached) " >&6
2785 if test -n "$STRIP"; then
2786 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2792 test -z "$as_dir" && as_dir
=.
2793 for ac_exec_ext
in '' $ac_executable_extensions; do
2794 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2795 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2805 STRIP
=$ac_cv_prog_STRIP
2806 if test -n "$STRIP"; then
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2808 $as_echo "$STRIP" >&6; }
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2811 $as_echo "no" >&6; }
2816 if test -z "$ac_cv_prog_STRIP"; then
2818 # Extract the first word of "strip", so it can be a program name with args.
2819 set dummy strip
; ac_word
=$2
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2821 $as_echo_n "checking for $ac_word... " >&6; }
2822 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2823 $as_echo_n "(cached) " >&6
2825 if test -n "$ac_ct_STRIP"; then
2826 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2832 test -z "$as_dir" && as_dir
=.
2833 for ac_exec_ext
in '' $ac_executable_extensions; do
2834 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2835 ac_cv_prog_ac_ct_STRIP
="strip"
2836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2845 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2846 if test -n "$ac_ct_STRIP"; then
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2848 $as_echo "$ac_ct_STRIP" >&6; }
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2851 $as_echo "no" >&6; }
2854 if test "x$ac_ct_STRIP" = x
; then
2857 case $cross_compiling:$ac_tool_warned in
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2860 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2861 ac_tool_warned
=yes ;;
2866 STRIP
="$ac_cv_prog_STRIP"
2870 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2873 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2874 if test -z "$MKDIR_P"; then
2875 if ${ac_cv_path_mkdir+:} false
; then :
2876 $as_echo_n "(cached) " >&6
2878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2879 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2882 test -z "$as_dir" && as_dir
=.
2883 for ac_prog
in mkdir gmkdir
; do
2884 for ac_exec_ext
in '' $ac_executable_extensions; do
2885 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2886 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2887 'mkdir (GNU coreutils) '* | \
2888 'mkdir (coreutils) '* | \
2889 'mkdir (fileutils) '4.1*)
2890 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2900 test -d .
/--version && rmdir .
/--version
2901 if test "${ac_cv_path_mkdir+set}" = set; then
2902 MKDIR_P
="$ac_cv_path_mkdir -p"
2904 # As a last resort, use the slow shell script. Don't cache a
2905 # value for MKDIR_P within a source directory, because that will
2906 # break other packages using the cache if that directory is
2907 # removed, or if the value is a relative name.
2908 MKDIR_P
="$ac_install_sh -d"
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2912 $as_echo "$MKDIR_P" >&6; }
2914 for ac_prog
in gawk mawk nawk
awk
2916 # Extract the first word of "$ac_prog", so it can be a program name with args.
2917 set dummy
$ac_prog; ac_word
=$2
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2919 $as_echo_n "checking for $ac_word... " >&6; }
2920 if ${ac_cv_prog_AWK+:} false
; then :
2921 $as_echo_n "(cached) " >&6
2923 if test -n "$AWK"; then
2924 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2930 test -z "$as_dir" && as_dir
=.
2931 for ac_exec_ext
in '' $ac_executable_extensions; do
2932 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2933 ac_cv_prog_AWK
="$ac_prog"
2934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2944 if test -n "$AWK"; then
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2946 $as_echo "$AWK" >&6; }
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2949 $as_echo "no" >&6; }
2953 test -n "$AWK" && break
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2957 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2959 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2960 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2961 $as_echo_n "(cached) " >&6
2963 cat >conftest.
make <<\_ACEOF
2966 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2968 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2969 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2971 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2973 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2977 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2979 $as_echo "yes" >&6; }
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2983 $as_echo "no" >&6; }
2984 SET_MAKE
="MAKE=${MAKE-make}"
2987 rm -rf .tst
2>/dev
/null
2988 mkdir .tst
2>/dev
/null
2989 if test -d .tst
; then
2994 rmdir .tst
2>/dev
/null
2996 # Check whether --enable-silent-rules was given.
2997 if test "${enable_silent_rules+set}" = set; then :
2998 enableval
=$enable_silent_rules;
3001 case $enable_silent_rules in # (((
3002 yes) AM_DEFAULT_VERBOSITY
=0;;
3003 no
) AM_DEFAULT_VERBOSITY
=1;;
3004 *) AM_DEFAULT_VERBOSITY
=1;;
3006 am_make
=${MAKE-make}
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3008 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3009 if ${am_cv_make_support_nested_variables+:} false
; then :
3010 $as_echo_n "(cached) " >&6
3012 if $as_echo 'TRUE=$(BAR$(V))
3018 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3019 am_cv_make_support_nested_variables
=yes
3021 am_cv_make_support_nested_variables
=no
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3025 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3026 if test $am_cv_make_support_nested_variables = yes; then
3028 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3030 AM_V
=$AM_DEFAULT_VERBOSITY
3031 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3035 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3036 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3037 # is not polluted with repeated "-I."
3038 am__isrc
=' -I$(srcdir)'
3039 # test to see if srcdir already configured
3040 if test -f $srcdir/config.status
; then
3041 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3045 # test whether we have cygpath
3046 if test -z "$CYGPATH_W"; then
3047 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3048 CYGPATH_W
='cygpath -w'
3055 # Define the identity of the package.
3060 cat >>confdefs.h
<<_ACEOF
3061 #define PACKAGE "$PACKAGE"
3065 cat >>confdefs.h
<<_ACEOF
3066 #define VERSION "$VERSION"
3069 # Some tools Automake needs.
3071 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3074 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3077 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3080 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3083 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3085 # For better backward compatibility. To be removed once Automake 1.9.x
3086 # dies out for good. For more background, see:
3087 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3088 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3089 mkdir_p
='$(MKDIR_P)'
3091 # We need awk for the "check" target (and possibly the TAP driver). The
3092 # system "awk" is bad on some platforms.
3093 # Always define AMTAR for backward compatibility. Yes, it's still used
3094 # in the wild :-( We should find a proper way to deprecate it ...
3098 # We'll loop over all known methods to create a tar archive until one works.
3099 _am_tools
='gnutar pax cpio none'
3101 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3108 # POSIX will say in a future version that running "rm -f" with no argument
3109 # is OK; and we want to be able to make that assumption in our Makefile
3110 # recipes. So use an aggressive probe to check that the usage we want is
3111 # actually supported "in the wild" to an acceptable degree.
3112 # See automake bug#10828.
3113 # To make any issue more visible, cause the running configure to be aborted
3114 # by default if the 'rm' program in use doesn't match our expectations; the
3115 # user can still override this though.
3116 if rm -f && rm -fr && rm -rf; then : OK
; else
3120 Your 'rm' program seems unable to run without file operands specified
3121 on the command line, even when the '-f' option is present. This is contrary
3122 to the behaviour of most rm programs out there, and not conforming with
3123 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3125 Please tell bug-automake@gnu.org about your system, including the value
3126 of your $PATH and any error possibly output before this message. This
3127 can help us improve future automake versions.
3130 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3131 echo 'Configuration will proceed anyway, since you have set the' >&2
3132 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3136 Aborting the configuration process, to ensure you take notice of the issue.
3138 You can download and install GNU coreutils to get an 'rm' implementation
3139 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3141 If you want to complete the configuration process using your problematic
3142 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3143 to "yes", and re-run configure.
3146 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3152 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3153 # Check whether --enable-maintainer-mode was given.
3154 if test "${enable_maintainer_mode+set}" = set; then :
3155 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3157 USE_MAINTAINER_MODE
=no
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3161 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3162 if test $USE_MAINTAINER_MODE = yes; then
3163 MAINTAINER_MODE_TRUE
=
3164 MAINTAINER_MODE_FALSE
='#'
3166 MAINTAINER_MODE_TRUE
='#'
3167 MAINTAINER_MODE_FALSE
=
3170 MAINT
=$MAINTAINER_MODE_TRUE
3174 DEPDIR
="${am__leading_dot}deps"
3176 ac_config_commands
="$ac_config_commands depfiles"
3179 am_make
=${MAKE-make}
3180 cat > confinc
<< 'END'
3182 @
echo this is the am__doit target
3185 # If we don't find an include directive, just comment out the code.
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3187 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3191 # First try GNU make style include.
3192 echo "include confinc" > confmf
3193 # Ignore all kinds of additional output from 'make'.
3194 case `$am_make -s -f confmf 2> /dev/null` in #(
3195 *the\ am__doit\ target
*)
3201 # Now try BSD make style include.
3202 if test "$am__include" = "#"; then
3203 echo '.include "confinc"' > confmf
3204 case `$am_make -s -f confmf 2> /dev/null` in #(
3205 *the\ am__doit\ target
*)
3206 am__include
=.include
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3215 $as_echo "$_am_result" >&6; }
3216 rm -f confinc confmf
3218 # Check whether --enable-dependency-tracking was given.
3219 if test "${enable_dependency_tracking+set}" = set; then :
3220 enableval
=$enable_dependency_tracking;
3223 if test "x$enable_dependency_tracking" != xno
; then
3224 am_depcomp
="$ac_aux_dir/depcomp"
3228 if test "x$enable_dependency_tracking" != xno; then
3238 ac_cpp
='$CPP $CPPFLAGS'
3239 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3240 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3241 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3242 if test -n "$ac_tool_prefix"; then
3243 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3244 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3246 $as_echo_n "checking for $ac_word... " >&6; }
3247 if ${ac_cv_prog_CC+:} false
; then :
3248 $as_echo_n "(cached) " >&6
3250 if test -n "$CC"; then
3251 ac_cv_prog_CC
="$CC" # Let the user override the test.
3253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3257 test -z "$as_dir" && as_dir
=.
3258 for ac_exec_ext
in '' $ac_executable_extensions; do
3259 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3260 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3271 if test -n "$CC"; then
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3273 $as_echo "$CC" >&6; }
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3276 $as_echo "no" >&6; }
3281 if test -z "$ac_cv_prog_CC"; then
3283 # Extract the first word of "gcc", so it can be a program name with args.
3284 set dummy gcc
; ac_word
=$2
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3286 $as_echo_n "checking for $ac_word... " >&6; }
3287 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3288 $as_echo_n "(cached) " >&6
3290 if test -n "$ac_ct_CC"; then
3291 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3297 test -z "$as_dir" && as_dir
=.
3298 for ac_exec_ext
in '' $ac_executable_extensions; do
3299 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3300 ac_cv_prog_ac_ct_CC
="gcc"
3301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3310 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3311 if test -n "$ac_ct_CC"; then
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3313 $as_echo "$ac_ct_CC" >&6; }
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3316 $as_echo "no" >&6; }
3319 if test "x$ac_ct_CC" = x
; then
3322 case $cross_compiling:$ac_tool_warned in
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3325 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3326 ac_tool_warned
=yes ;;
3334 if test -z "$CC"; then
3335 if test -n "$ac_tool_prefix"; then
3336 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3337 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3339 $as_echo_n "checking for $ac_word... " >&6; }
3340 if ${ac_cv_prog_CC+:} false
; then :
3341 $as_echo_n "(cached) " >&6
3343 if test -n "$CC"; then
3344 ac_cv_prog_CC
="$CC" # Let the user override the test.
3346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3350 test -z "$as_dir" && as_dir
=.
3351 for ac_exec_ext
in '' $ac_executable_extensions; do
3352 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3353 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3364 if test -n "$CC"; then
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3366 $as_echo "$CC" >&6; }
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3369 $as_echo "no" >&6; }
3375 if test -z "$CC"; then
3376 # Extract the first word of "cc", so it can be a program name with args.
3377 set dummy cc
; ac_word
=$2
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3379 $as_echo_n "checking for $ac_word... " >&6; }
3380 if ${ac_cv_prog_CC+:} false
; then :
3381 $as_echo_n "(cached) " >&6
3383 if test -n "$CC"; then
3384 ac_cv_prog_CC
="$CC" # Let the user override the test.
3387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3391 test -z "$as_dir" && as_dir
=.
3392 for ac_exec_ext
in '' $ac_executable_extensions; do
3393 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3394 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3395 ac_prog_rejected
=yes
3399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3406 if test $ac_prog_rejected = yes; then
3407 # We found a bogon in the path, so make sure we never use it.
3408 set dummy
$ac_cv_prog_CC
3410 if test $# != 0; then
3411 # We chose a different compiler from the bogus one.
3412 # However, it has the same basename, so the bogon will be chosen
3413 # first if we set CC to just the basename; use the full file name.
3415 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3421 if test -n "$CC"; then
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3423 $as_echo "$CC" >&6; }
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3426 $as_echo "no" >&6; }
3431 if test -z "$CC"; then
3432 if test -n "$ac_tool_prefix"; then
3433 for ac_prog
in cl.exe
3435 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3436 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3438 $as_echo_n "checking for $ac_word... " >&6; }
3439 if ${ac_cv_prog_CC+:} false
; then :
3440 $as_echo_n "(cached) " >&6
3442 if test -n "$CC"; then
3443 ac_cv_prog_CC
="$CC" # Let the user override the test.
3445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3449 test -z "$as_dir" && as_dir
=.
3450 for ac_exec_ext
in '' $ac_executable_extensions; do
3451 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3452 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3463 if test -n "$CC"; then
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3465 $as_echo "$CC" >&6; }
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3468 $as_echo "no" >&6; }
3472 test -n "$CC" && break
3475 if test -z "$CC"; then
3477 for ac_prog
in cl.exe
3479 # Extract the first word of "$ac_prog", so it can be a program name with args.
3480 set dummy
$ac_prog; ac_word
=$2
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3482 $as_echo_n "checking for $ac_word... " >&6; }
3483 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3484 $as_echo_n "(cached) " >&6
3486 if test -n "$ac_ct_CC"; then
3487 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3493 test -z "$as_dir" && as_dir
=.
3494 for ac_exec_ext
in '' $ac_executable_extensions; do
3495 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3496 ac_cv_prog_ac_ct_CC
="$ac_prog"
3497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3506 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3507 if test -n "$ac_ct_CC"; then
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3509 $as_echo "$ac_ct_CC" >&6; }
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3512 $as_echo "no" >&6; }
3516 test -n "$ac_ct_CC" && break
3519 if test "x$ac_ct_CC" = x
; then
3522 case $cross_compiling:$ac_tool_warned in
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3526 ac_tool_warned
=yes ;;
3535 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3537 as_fn_error $?
"no acceptable C compiler found in \$PATH
3538 See \`config.log' for more details" "$LINENO" 5; }
3540 # Provide some information about the compiler.
3541 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3544 for ac_option
in --version -v -V -qversion; do
3545 { { ac_try
="$ac_compiler $ac_option >&5"
3547 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3548 *) ac_try_echo=$ac_try;;
3550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3551 $as_echo "$ac_try_echo"; } >&5
3552 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3554 if test -s conftest.err; then
3556 ... rest of stderr output deleted ...
3557 10q' conftest.err >conftest.er1
3558 cat conftest.er1 >&5
3560 rm -f conftest.er1 conftest.err
3561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3562 test $ac_status = 0; }
3565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3566 /* end confdefs.h. */
3576 ac_clean_files_save=$ac_clean_files
3577 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3578 # Try to create an executable without -o first, disregard a.out.
3579 # It will help us diagnose broken compilers, and finding out an intuition
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3582 $as_echo_n "checking whether the C compiler works... " >&6; }
3583 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3585 # The possible output files:
3586 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3589 for ac_file in $ac_files
3592 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3593 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3598 if { { ac_try="$ac_link_default"
3600 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3601 *) ac_try_echo
=$ac_try;;
3603 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3604 $as_echo "$ac_try_echo"; } >&5
3605 (eval "$ac_link_default") 2>&5
3607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3608 test $ac_status = 0; }; then :
3609 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3610 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3611 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3612 # so that the user can short-circuit this test for compilers unknown to
3614 for ac_file
in $ac_files ''
3616 test -f "$ac_file" ||
continue
3618 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3621 # We found the default executable, but exeext='' is most
3625 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3627 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3629 # We set ac_cv_exeext here because the later test for it is not
3630 # safe: cross compilers may not add the suffix if given an `-o'
3631 # argument, so we may need to know it at that point already.
3632 # Even if this section looks crufty: it has the advantage of
3639 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3644 if test -z "$ac_file"; then :
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3646 $as_echo "no" >&6; }
3647 $as_echo "$as_me: failed program was:" >&5
3648 sed 's/^/| /' conftest.
$ac_ext >&5
3650 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3651 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3652 as_fn_error
77 "C compiler cannot create executables
3653 See \`config.log' for more details" "$LINENO" 5; }
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3656 $as_echo "yes" >&6; }
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3659 $as_echo_n "checking for C compiler default output file name... " >&6; }
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3661 $as_echo "$ac_file" >&6; }
3662 ac_exeext
=$ac_cv_exeext
3664 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3665 ac_clean_files
=$ac_clean_files_save
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3667 $as_echo_n "checking for suffix of executables... " >&6; }
3668 if { { ac_try
="$ac_link"
3670 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3671 *) ac_try_echo=$ac_try;;
3673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3674 $as_echo "$ac_try_echo"; } >&5
3675 (eval "$ac_link") 2>&5
3677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3678 test $ac_status = 0; }; then :
3679 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3680 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3681 # work properly (i.e., refer to `conftest.exe'), while it won't with
3683 for ac_file
in conftest.exe conftest conftest.
*; do
3684 test -f "$ac_file" ||
continue
3686 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3687 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3693 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3694 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3695 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3696 See \`config.log' for more details" "$LINENO" 5; }
3698 rm -f conftest conftest
$ac_cv_exeext
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3700 $as_echo "$ac_cv_exeext" >&6; }
3702 rm -f conftest.
$ac_ext
3703 EXEEXT
=$ac_cv_exeext
3705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3706 /* end confdefs.h. */
3711 FILE *f = fopen ("conftest.out", "w");
3712 return ferror (f) || fclose (f) != 0;
3718 ac_clean_files
="$ac_clean_files conftest.out"
3719 # Check that the compiler produces executables we can run. If not, either
3720 # the compiler is broken, or we cross compile.
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3722 $as_echo_n "checking whether we are cross compiling... " >&6; }
3723 if test "$cross_compiling" != yes; then
3724 { { ac_try
="$ac_link"
3726 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3727 *) ac_try_echo=$ac_try;;
3729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3730 $as_echo "$ac_try_echo"; } >&5
3731 (eval "$ac_link") 2>&5
3733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3734 test $ac_status = 0; }
3735 if { ac_try='./conftest$ac_cv_exeext'
3736 { { case "(($ac_try" in
3737 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3738 *) ac_try_echo
=$ac_try;;
3740 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3741 $as_echo "$ac_try_echo"; } >&5
3742 (eval "$ac_try") 2>&5
3744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3745 test $ac_status = 0; }; }; then
3748 if test "$cross_compiling" = maybe
; then
3751 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3752 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3753 as_fn_error $?
"cannot run C compiled programs.
3754 If you meant to cross compile, use \`--host'.
3755 See \`config.log' for more details" "$LINENO" 5; }
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3760 $as_echo "$cross_compiling" >&6; }
3762 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3763 ac_clean_files
=$ac_clean_files_save
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3765 $as_echo_n "checking for suffix of object files... " >&6; }
3766 if ${ac_cv_objext+:} false
; then :
3767 $as_echo_n "(cached) " >&6
3769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3770 /* end confdefs.h. */
3780 rm -f conftest.o conftest.obj
3781 if { { ac_try
="$ac_compile"
3783 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3784 *) ac_try_echo=$ac_try;;
3786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3787 $as_echo "$ac_try_echo"; } >&5
3788 (eval "$ac_compile") 2>&5
3790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3791 test $ac_status = 0; }; then :
3792 for ac_file in conftest.o conftest.obj conftest.*; do
3793 test -f "$ac_file" || continue;
3795 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3796 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3801 $as_echo "$as_me: failed program was:" >&5
3802 sed 's/^/| /' conftest.$ac_ext >&5
3804 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3806 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3807 See \
`config.log' for more details" "$LINENO" 5; }
3809 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3812 $as_echo "$ac_cv_objext" >&6; }
3813 OBJEXT=$ac_cv_objext
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3816 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3817 if ${ac_cv_c_compiler_gnu+:} false; then :
3818 $as_echo_n "(cached) " >&6
3820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3821 /* end confdefs.h. */
3834 if ac_fn_c_try_compile "$LINENO"; then :
3839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3840 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3844 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3845 if test $ac_compiler_gnu = yes; then
3850 ac_test_CFLAGS=${CFLAGS+set}
3851 ac_save_CFLAGS=$CFLAGS
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3853 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3854 if ${ac_cv_prog_cc_g+:} false; then :
3855 $as_echo_n "(cached) " >&6
3857 ac_save_c_werror_flag=$ac_c_werror_flag
3858 ac_c_werror_flag=yes
3861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3862 /* end confdefs.h. */
3872 if ac_fn_c_try_compile "$LINENO"; then :
3876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3877 /* end confdefs.h. */
3887 if ac_fn_c_try_compile "$LINENO"; then :
3890 ac_c_werror_flag=$ac_save_c_werror_flag
3892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3893 /* end confdefs.h. */
3903 if ac_fn_c_try_compile "$LINENO"; then :
3906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3911 ac_c_werror_flag=$ac_save_c_werror_flag
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3914 $as_echo "$ac_cv_prog_cc_g" >&6; }
3915 if test "$ac_test_CFLAGS" = set; then
3916 CFLAGS=$ac_save_CFLAGS
3917 elif test $ac_cv_prog_cc_g = yes; then
3918 if test "$GCC" = yes; then
3924 if test "$GCC" = yes; then
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3931 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3932 if ${ac_cv_prog_cc_c89+:} false; then :
3933 $as_echo_n "(cached) " >&6
3935 ac_cv_prog_cc_c89=no
3937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3938 /* end confdefs.h. */
3942 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3943 struct buf { int x; };
3944 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3945 static char *e (p, i)
3951 static char *f (char * (*g) (char **, int), char **p, ...)
3956 s = g (p, va_arg (v,int));
3961 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3962 function prototypes and stuff, but not '\xHH' hex character constants.
3963 These don't provoke an error unfortunately, instead are silently treated
3964 as 'x'. The following induces an error, until -std is added to get
3965 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3966 array size at least. It's necessary to write '\x00'==0 to get something
3967 that's true only with -std. */
3968 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3970 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3971 inside strings and character constants. */
3973 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3975 int test (int i, double x);
3976 struct s1 {int (*f) (int a);};
3977 struct s2 {int (*f) (double a);};
3978 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3984 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3989 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3990 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3992 CC="$ac_save_CC $ac_arg"
3993 if ac_fn_c_try_compile "$LINENO"; then :
3994 ac_cv_prog_cc_c89=$ac_arg
3996 rm -f core conftest.err conftest.$ac_objext
3997 test "x$ac_cv_prog_cc_c89" != "xno" && break
3999 rm -f conftest.$ac_ext
4004 case "x$ac_cv_prog_cc_c89" in
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4007 $as_echo "none needed" >&6; } ;;
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4010 $as_echo "unsupported" >&6; } ;;
4012 CC="$CC $ac_cv_prog_cc_c89"
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4014 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4016 if test "x$ac_cv_prog_cc_c89" != xno; then :
4021 ac_cpp='$CPP $CPPFLAGS'
4022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4027 ac_cpp='$CPP $CPPFLAGS'
4028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4032 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4033 if ${am_cv_prog_cc_c_o+:} false; then :
4034 $as_echo_n "(cached) " >&6
4036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4037 /* end confdefs.h. */
4047 # Make sure it works both with $CC and with simple cc.
4048 # Following AC_PROG_CC_C_O, we do the test twice because some
4049 # compilers refuse to overwrite an existing .o file with -o,
4050 # though they will create one.
4051 am_cv_prog_cc_c_o=yes
4053 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4054 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4057 (exit $ac_status); } \
4058 && test -f conftest2.$ac_objext; then
4061 am_cv_prog_cc_c_o=no
4065 rm -f core conftest*
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4069 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4070 if test "$am_cv_prog_cc_c_o" != yes; then
4071 # Losing compiler, so override with the script.
4072 # FIXME: It is wrong to rewrite CC.
4073 # But if we don't then we get into trouble of one sort or another.
4074 # A longer-term fix would be to have automake use am__CC in this case,
4075 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4076 CC="$am_aux_dir/compile $CC"
4079 ac_cpp='$CPP $CPPFLAGS'
4080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4085 depcc="$CC" am_compiler_list=
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4088 $as_echo_n "checking dependency style of $depcc... " >&6; }
4089 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4090 $as_echo_n "(cached) " >&6
4092 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4093 # We make a subdir and do the tests there. Otherwise we can end up
4094 # making bogus files that we don't know about and never remove. For
4095 # instance it was reported that on HP-UX the gcc test will end up
4096 # making a dummy file named 'D' -- because '-MD' means "put the output
4100 # Copy depcomp to subdir because otherwise we won't find it if we're
4101 # using a relative directory.
4102 cp "$am_depcomp" conftest.dir
4104 # We will build objects and dependencies in a subdirectory because
4105 # it helps to detect inapplicable dependency modes. For instance
4106 # both Tru64's cc and ICC support -MD to output dependencies as a
4107 # side effect of compilation, but ICC will put the dependencies in
4108 # the current directory while Tru64 will put them in the object
4112 am_cv_CC_dependencies_compiler_type=none
4113 if test "$am_compiler_list" = ""; then
4114 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4117 case " $depcc " in #(
4118 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4121 for depmode in $am_compiler_list; do
4122 # Setup a source with many dependencies, because some compilers
4123 # like to wrap large dependency lists on column 80 (with \), and
4124 # we should not choose a depcomp mode which is confused by this.
4126 # We need to recreate these files for each test, as the compiler may
4127 # overwrite some of them when testing with obscure command lines.
4128 # This happens at least with the AIX C compiler.
4130 for i in 1 2 3 4 5 6; do
4131 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4132 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4133 # Solaris 10 /bin/sh.
4134 echo '/* dummy */' > sub/conftst$i.h
4136 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4138 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4139 # mode. It turns out that the SunPro C++ compiler does not properly
4140 # handle '-M -o', and we need to detect this. Also, some Intel
4141 # versions had trouble with output in subdirs.
4142 am__obj=sub/conftest.${OBJEXT-o}
4143 am__minus_obj="-o $am__obj"
4146 # This depmode causes a compiler race in universal mode.
4147 test "$am__universal" = false || continue
4150 # After this tag, mechanisms are not by side-effect, so they'll
4151 # only be used when explicitly requested.
4152 if test "x$enable_dependency_tracking" = xyes; then
4158 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4159 # This compiler won't grok '-c -o', but also, the minuso test has
4160 # not run yet. These depmodes are late enough in the game, and
4161 # so weak that their functioning should not be impacted.
4162 am__obj=conftest.${OBJEXT-o}
4167 if depmode=$depmode \
4168 source=sub/conftest.c object=$am__obj \
4169 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4170 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4171 >/dev/null 2>conftest.err &&
4172 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4173 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4174 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4175 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4176 # icc doesn't choke on unknown options, it will just issue warnings
4177 # or remarks (even with -Werror). So we grep stderr for any message
4178 # that says an option was ignored or not supported.
4179 # When given -MP, icc 7.0 and 7.1 complain thusly:
4180 # icc: Command line warning: ignoring option '-M'; no argument required
4181 # The diagnosis changed in icc 8.0:
4182 # icc: Command line remark: option '-MP' not supported
4183 if (grep 'ignoring option' conftest.err ||
4184 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4185 am_cv_CC_dependencies_compiler_type=$depmode
4194 am_cv_CC_dependencies_compiler_type=none
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4199 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4200 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4203 test "x$enable_dependency_tracking" != xno \
4204 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4206 am__fastdepCC_FALSE='#'
4208 am__fastdepCC_TRUE='#'
4209 am__fastdepCC_FALSE=
4215 ac_cpp='$CPP $CPPFLAGS'
4216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4220 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4221 # On Suns, sometimes $CPP names a directory.
4222 if test -n "$CPP" && test -d "$CPP"; then
4225 if test -z "$CPP"; then
4226 if ${ac_cv_prog_CPP+:} false; then :
4227 $as_echo_n "(cached) " >&6
4229 # Double quotes because CPP needs to be expanded
4230 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4233 for ac_c_preproc_warn_flag in '' yes
4235 # Use a header file that comes with gcc, so configuring glibc
4236 # with a fresh cross-compiler works.
4237 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4238 # <limits.h> exists even on freestanding compilers.
4239 # On the NeXT, cc -E runs the code through the compiler's parser,
4240 # not just through cpp. "Syntax error" is here to catch this case.
4241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h. */
4244 # include <limits.h>
4246 # include <assert.h>
4250 if ac_fn_c_try_cpp "$LINENO"; then :
4253 # Broken: fails on valid input.
4256 rm -f conftest.err conftest.i conftest.$ac_ext
4258 # OK, works on sane cases. Now check whether nonexistent headers
4259 # can be detected and how.
4260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4261 /* end confdefs.h. */
4262 #include <ac_nonexistent.h>
4264 if ac_fn_c_try_cpp "$LINENO"; then :
4265 # Broken: success on invalid input.
4268 # Passes both tests.
4272 rm -f conftest.err conftest.i conftest.$ac_ext
4275 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4276 rm -f conftest.i conftest.err conftest.
$ac_ext
4277 if $ac_preproc_ok; then :
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4290 $as_echo "$CPP" >&6; }
4292 for ac_c_preproc_warn_flag
in '' yes
4294 # Use a header file that comes with gcc, so configuring glibc
4295 # with a fresh cross-compiler works.
4296 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4297 # <limits.h> exists even on freestanding compilers.
4298 # On the NeXT, cc -E runs the code through the compiler's parser,
4299 # not just through cpp. "Syntax error" is here to catch this case.
4300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4301 /* end confdefs.h. */
4303 # include <limits.h>
4305 # include <assert.h>
4309 if ac_fn_c_try_cpp
"$LINENO"; then :
4312 # Broken: fails on valid input.
4315 rm -f conftest.err conftest.i conftest.
$ac_ext
4317 # OK, works on sane cases. Now check whether nonexistent headers
4318 # can be detected and how.
4319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4320 /* end confdefs.h. */
4321 #include <ac_nonexistent.h>
4323 if ac_fn_c_try_cpp
"$LINENO"; then :
4324 # Broken: success on invalid input.
4327 # Passes both tests.
4331 rm -f conftest.err conftest.i conftest.
$ac_ext
4334 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4335 rm -f conftest.i conftest.err conftest.
$ac_ext
4336 if $ac_preproc_ok; then :
4339 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4340 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4341 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4342 See \`config.log' for more details" "$LINENO" 5; }
4346 ac_cpp
='$CPP $CPPFLAGS'
4347 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4348 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4349 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4353 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4354 if ${ac_cv_path_GREP+:} false
; then :
4355 $as_echo_n "(cached) " >&6
4357 if test -z "$GREP"; then
4358 ac_path_GREP_found
=false
4359 # Loop through the user's path and test for each of PROGNAME-LIST
4360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4361 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4364 test -z "$as_dir" && as_dir
=.
4365 for ac_prog
in grep ggrep
; do
4366 for ac_exec_ext
in '' $ac_executable_extensions; do
4367 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4368 as_fn_executable_p
"$ac_path_GREP" ||
continue
4369 # Check for GNU ac_path_GREP and select it if it is found.
4370 # Check for GNU $ac_path_GREP
4371 case `"$ac_path_GREP" --version 2>&1` in
4373 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4376 $as_echo_n 0123456789 >"conftest.in"
4379 cat "conftest.in" "conftest.in" >"conftest.tmp"
4380 mv "conftest.tmp" "conftest.in"
4381 cp "conftest.in" "conftest.nl"
4382 $as_echo 'GREP' >> "conftest.nl"
4383 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4384 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4385 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4386 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4387 # Best one so far, save it but keep looking for a better one
4388 ac_cv_path_GREP
="$ac_path_GREP"
4389 ac_path_GREP_max
=$ac_count
4391 # 10*(2^10) chars as input seems more than enough
4392 test $ac_count -gt 10 && break
4394 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4397 $ac_path_GREP_found && break 3
4402 if test -z "$ac_cv_path_GREP"; then
4403 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4406 ac_cv_path_GREP
=$GREP
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4411 $as_echo "$ac_cv_path_GREP" >&6; }
4412 GREP
="$ac_cv_path_GREP"
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4416 $as_echo_n "checking for egrep... " >&6; }
4417 if ${ac_cv_path_EGREP+:} false
; then :
4418 $as_echo_n "(cached) " >&6
4420 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4421 then ac_cv_path_EGREP
="$GREP -E"
4423 if test -z "$EGREP"; then
4424 ac_path_EGREP_found
=false
4425 # Loop through the user's path and test for each of PROGNAME-LIST
4426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4427 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4430 test -z "$as_dir" && as_dir
=.
4431 for ac_prog
in egrep; do
4432 for ac_exec_ext
in '' $ac_executable_extensions; do
4433 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4434 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4435 # Check for GNU ac_path_EGREP and select it if it is found.
4436 # Check for GNU $ac_path_EGREP
4437 case `"$ac_path_EGREP" --version 2>&1` in
4439 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4442 $as_echo_n 0123456789 >"conftest.in"
4445 cat "conftest.in" "conftest.in" >"conftest.tmp"
4446 mv "conftest.tmp" "conftest.in"
4447 cp "conftest.in" "conftest.nl"
4448 $as_echo 'EGREP' >> "conftest.nl"
4449 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4450 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4451 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4452 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4453 # Best one so far, save it but keep looking for a better one
4454 ac_cv_path_EGREP
="$ac_path_EGREP"
4455 ac_path_EGREP_max
=$ac_count
4457 # 10*(2^10) chars as input seems more than enough
4458 test $ac_count -gt 10 && break
4460 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4463 $ac_path_EGREP_found && break 3
4468 if test -z "$ac_cv_path_EGREP"; then
4469 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4472 ac_cv_path_EGREP
=$EGREP
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4478 $as_echo "$ac_cv_path_EGREP" >&6; }
4479 EGREP
="$ac_cv_path_EGREP"
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4483 $as_echo_n "checking for ANSI C header files... " >&6; }
4484 if ${ac_cv_header_stdc+:} false
; then :
4485 $as_echo_n "(cached) " >&6
4487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4488 /* end confdefs.h. */
4502 if ac_fn_c_try_compile
"$LINENO"; then :
4503 ac_cv_header_stdc
=yes
4505 ac_cv_header_stdc
=no
4507 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4509 if test $ac_cv_header_stdc = yes; then
4510 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4512 /* end confdefs.h. */
4516 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4517 $EGREP "memchr" >/dev
/null
2>&1; then :
4520 ac_cv_header_stdc
=no
4526 if test $ac_cv_header_stdc = yes; then
4527 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4529 /* end confdefs.h. */
4533 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4534 $EGREP "free" >/dev
/null
2>&1; then :
4537 ac_cv_header_stdc
=no
4543 if test $ac_cv_header_stdc = yes; then
4544 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4545 if test "$cross_compiling" = yes; then :
4548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4549 /* end confdefs.h. */
4552 #if ((' ' & 0x0FF) == 0x020)
4553 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4554 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4556 # define ISLOWER(c) \
4557 (('a' <= (c) && (c) <= 'i') \
4558 || ('j' <= (c) && (c) <= 'r') \
4559 || ('s' <= (c) && (c) <= 'z'))
4560 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4563 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4568 for (i = 0; i < 256; i++)
4569 if (XOR (islower (i), ISLOWER (i))
4570 || toupper (i) != TOUPPER (i))
4575 if ac_fn_c_try_run
"$LINENO"; then :
4578 ac_cv_header_stdc
=no
4580 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4581 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4587 $as_echo "$ac_cv_header_stdc" >&6; }
4588 if test $ac_cv_header_stdc = yes; then
4590 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4594 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4595 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4596 inttypes.h stdint.h unistd.h
4598 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4599 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4601 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4602 cat >>confdefs.h
<<_ACEOF
4603 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4612 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4613 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4620 if test "$MINIX" = yes; then
4622 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4625 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4628 $as_echo "#define _MINIX 1" >>confdefs.h
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4634 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4635 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4636 $as_echo_n "(cached) " >&6
4638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4639 /* end confdefs.h. */
4641 # define __EXTENSIONS__ 1
4642 $ac_includes_default
4651 if ac_fn_c_try_compile
"$LINENO"; then :
4652 ac_cv_safe_to_define___extensions__
=yes
4654 ac_cv_safe_to_define___extensions__
=no
4656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4659 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4660 test $ac_cv_safe_to_define___extensions__ = yes &&
4661 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4663 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4665 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4667 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4669 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4673 ac_cpp
='$CPP $CPPFLAGS'
4674 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4675 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4676 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4677 if test -n "$ac_tool_prefix"; then
4678 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4679 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4681 $as_echo_n "checking for $ac_word... " >&6; }
4682 if ${ac_cv_prog_CC+:} false
; then :
4683 $as_echo_n "(cached) " >&6
4685 if test -n "$CC"; then
4686 ac_cv_prog_CC
="$CC" # Let the user override the test.
4688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4692 test -z "$as_dir" && as_dir
=.
4693 for ac_exec_ext
in '' $ac_executable_extensions; do
4694 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4695 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4706 if test -n "$CC"; then
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4708 $as_echo "$CC" >&6; }
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4711 $as_echo "no" >&6; }
4716 if test -z "$ac_cv_prog_CC"; then
4718 # Extract the first word of "gcc", so it can be a program name with args.
4719 set dummy gcc
; ac_word
=$2
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4721 $as_echo_n "checking for $ac_word... " >&6; }
4722 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4723 $as_echo_n "(cached) " >&6
4725 if test -n "$ac_ct_CC"; then
4726 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4732 test -z "$as_dir" && as_dir
=.
4733 for ac_exec_ext
in '' $ac_executable_extensions; do
4734 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4735 ac_cv_prog_ac_ct_CC
="gcc"
4736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4745 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4746 if test -n "$ac_ct_CC"; then
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4748 $as_echo "$ac_ct_CC" >&6; }
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4751 $as_echo "no" >&6; }
4754 if test "x$ac_ct_CC" = x
; then
4757 case $cross_compiling:$ac_tool_warned in
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4760 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4761 ac_tool_warned
=yes ;;
4769 if test -z "$CC"; then
4770 if test -n "$ac_tool_prefix"; then
4771 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4772 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4774 $as_echo_n "checking for $ac_word... " >&6; }
4775 if ${ac_cv_prog_CC+:} false
; then :
4776 $as_echo_n "(cached) " >&6
4778 if test -n "$CC"; then
4779 ac_cv_prog_CC
="$CC" # Let the user override the test.
4781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4785 test -z "$as_dir" && as_dir
=.
4786 for ac_exec_ext
in '' $ac_executable_extensions; do
4787 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4788 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4799 if test -n "$CC"; then
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4801 $as_echo "$CC" >&6; }
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4804 $as_echo "no" >&6; }
4810 if test -z "$CC"; then
4811 # Extract the first word of "cc", so it can be a program name with args.
4812 set dummy cc
; ac_word
=$2
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4814 $as_echo_n "checking for $ac_word... " >&6; }
4815 if ${ac_cv_prog_CC+:} false
; then :
4816 $as_echo_n "(cached) " >&6
4818 if test -n "$CC"; then
4819 ac_cv_prog_CC
="$CC" # Let the user override the test.
4822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4826 test -z "$as_dir" && as_dir
=.
4827 for ac_exec_ext
in '' $ac_executable_extensions; do
4828 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4829 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4830 ac_prog_rejected
=yes
4834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4841 if test $ac_prog_rejected = yes; then
4842 # We found a bogon in the path, so make sure we never use it.
4843 set dummy
$ac_cv_prog_CC
4845 if test $# != 0; then
4846 # We chose a different compiler from the bogus one.
4847 # However, it has the same basename, so the bogon will be chosen
4848 # first if we set CC to just the basename; use the full file name.
4850 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4856 if test -n "$CC"; then
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4858 $as_echo "$CC" >&6; }
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4861 $as_echo "no" >&6; }
4866 if test -z "$CC"; then
4867 if test -n "$ac_tool_prefix"; then
4868 for ac_prog
in cl.exe
4870 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4871 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4873 $as_echo_n "checking for $ac_word... " >&6; }
4874 if ${ac_cv_prog_CC+:} false
; then :
4875 $as_echo_n "(cached) " >&6
4877 if test -n "$CC"; then
4878 ac_cv_prog_CC
="$CC" # Let the user override the test.
4880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4884 test -z "$as_dir" && as_dir
=.
4885 for ac_exec_ext
in '' $ac_executable_extensions; do
4886 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4887 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4898 if test -n "$CC"; then
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4900 $as_echo "$CC" >&6; }
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4903 $as_echo "no" >&6; }
4907 test -n "$CC" && break
4910 if test -z "$CC"; then
4912 for ac_prog
in cl.exe
4914 # Extract the first word of "$ac_prog", so it can be a program name with args.
4915 set dummy
$ac_prog; ac_word
=$2
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4917 $as_echo_n "checking for $ac_word... " >&6; }
4918 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4919 $as_echo_n "(cached) " >&6
4921 if test -n "$ac_ct_CC"; then
4922 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4928 test -z "$as_dir" && as_dir
=.
4929 for ac_exec_ext
in '' $ac_executable_extensions; do
4930 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4931 ac_cv_prog_ac_ct_CC
="$ac_prog"
4932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4941 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4942 if test -n "$ac_ct_CC"; then
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4944 $as_echo "$ac_ct_CC" >&6; }
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4947 $as_echo "no" >&6; }
4951 test -n "$ac_ct_CC" && break
4954 if test "x$ac_ct_CC" = x
; then
4957 case $cross_compiling:$ac_tool_warned in
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4961 ac_tool_warned
=yes ;;
4970 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4971 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4972 as_fn_error $?
"no acceptable C compiler found in \$PATH
4973 See \`config.log' for more details" "$LINENO" 5; }
4975 # Provide some information about the compiler.
4976 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4979 for ac_option
in --version -v -V -qversion; do
4980 { { ac_try
="$ac_compiler $ac_option >&5"
4982 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4983 *) ac_try_echo=$ac_try;;
4985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4986 $as_echo "$ac_try_echo"; } >&5
4987 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4989 if test -s conftest.err; then
4991 ... rest of stderr output deleted ...
4992 10q' conftest.err >conftest.er1
4993 cat conftest.er1 >&5
4995 rm -f conftest.er1 conftest.err
4996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4997 test $ac_status = 0; }
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5001 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5002 if ${ac_cv_c_compiler_gnu+:} false; then :
5003 $as_echo_n "(cached) " >&6
5005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5006 /* end confdefs.h. */
5019 if ac_fn_c_try_compile "$LINENO"; then :
5024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5025 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5029 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5030 if test $ac_compiler_gnu = yes; then
5035 ac_test_CFLAGS=${CFLAGS+set}
5036 ac_save_CFLAGS=$CFLAGS
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5038 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5039 if ${ac_cv_prog_cc_g+:} false; then :
5040 $as_echo_n "(cached) " >&6
5042 ac_save_c_werror_flag=$ac_c_werror_flag
5043 ac_c_werror_flag=yes
5046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5047 /* end confdefs.h. */
5057 if ac_fn_c_try_compile "$LINENO"; then :
5061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5062 /* end confdefs.h. */
5072 if ac_fn_c_try_compile "$LINENO"; then :
5075 ac_c_werror_flag=$ac_save_c_werror_flag
5077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5078 /* end confdefs.h. */
5088 if ac_fn_c_try_compile "$LINENO"; then :
5091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5096 ac_c_werror_flag=$ac_save_c_werror_flag
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5099 $as_echo "$ac_cv_prog_cc_g" >&6; }
5100 if test "$ac_test_CFLAGS" = set; then
5101 CFLAGS=$ac_save_CFLAGS
5102 elif test $ac_cv_prog_cc_g = yes; then
5103 if test "$GCC" = yes; then
5109 if test "$GCC" = yes; then
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5116 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5117 if ${ac_cv_prog_cc_c89+:} false; then :
5118 $as_echo_n "(cached) " >&6
5120 ac_cv_prog_cc_c89=no
5122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5123 /* end confdefs.h. */
5127 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5128 struct buf { int x; };
5129 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5130 static char *e (p, i)
5136 static char *f (char * (*g) (char **, int), char **p, ...)
5141 s = g (p, va_arg (v,int));
5146 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5147 function prototypes and stuff, but not '\xHH' hex character constants.
5148 These don't provoke an error unfortunately, instead are silently treated
5149 as 'x'. The following induces an error, until -std is added to get
5150 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5151 array size at least. It's necessary to write '\x00'==0 to get something
5152 that's true only with -std. */
5153 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5155 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5156 inside strings and character constants. */
5158 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5160 int test (int i, double x);
5161 struct s1 {int (*f) (int a);};
5162 struct s2 {int (*f) (double a);};
5163 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5169 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5174 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5175 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5177 CC="$ac_save_CC $ac_arg"
5178 if ac_fn_c_try_compile "$LINENO"; then :
5179 ac_cv_prog_cc_c89=$ac_arg
5181 rm -f core conftest.err conftest.$ac_objext
5182 test "x$ac_cv_prog_cc_c89" != "xno" && break
5184 rm -f conftest.$ac_ext
5189 case "x$ac_cv_prog_cc_c89" in
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5192 $as_echo "none needed" >&6; } ;;
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5195 $as_echo "unsupported" >&6; } ;;
5197 CC="$CC $ac_cv_prog_cc_c89"
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5199 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5201 if test "x$ac_cv_prog_cc_c89" != xno; then :
5206 ac_cpp='$CPP $CPPFLAGS'
5207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5212 ac_cpp='$CPP $CPPFLAGS'
5213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5217 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5218 if ${am_cv_prog_cc_c_o+:} false; then :
5219 $as_echo_n "(cached) " >&6
5221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5222 /* end confdefs.h. */
5232 # Make sure it works both with $CC and with simple cc.
5233 # Following AC_PROG_CC_C_O, we do the test twice because some
5234 # compilers refuse to overwrite an existing .o file with -o,
5235 # though they will create one.
5236 am_cv_prog_cc_c_o=yes
5238 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5239 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5242 (exit $ac_status); } \
5243 && test -f conftest2.$ac_objext; then
5246 am_cv_prog_cc_c_o=no
5250 rm -f core conftest*
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5254 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5255 if test "$am_cv_prog_cc_c_o" != yes; then
5256 # Losing compiler, so override with the script.
5257 # FIXME: It is wrong to rewrite CC.
5258 # But if we don't then we get into trouble of one sort or another.
5259 # A longer-term fix would be to have automake use am__CC in this case,
5260 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5261 CC="$am_aux_dir/compile $CC"
5264 ac_cpp='$CPP $CPPFLAGS'
5265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5270 depcc="$CC" am_compiler_list=
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5273 $as_echo_n "checking dependency style of $depcc... " >&6; }
5274 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5275 $as_echo_n "(cached) " >&6
5277 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5278 # We make a subdir and do the tests there. Otherwise we can end up
5279 # making bogus files that we don't know about and never remove. For
5280 # instance it was reported that on HP-UX the gcc test will end up
5281 # making a dummy file named 'D' -- because '-MD' means "put the output
5285 # Copy depcomp to subdir because otherwise we won't find it if we're
5286 # using a relative directory.
5287 cp "$am_depcomp" conftest.dir
5289 # We will build objects and dependencies in a subdirectory because
5290 # it helps to detect inapplicable dependency modes. For instance
5291 # both Tru64's cc and ICC support -MD to output dependencies as a
5292 # side effect of compilation, but ICC will put the dependencies in
5293 # the current directory while Tru64 will put them in the object
5297 am_cv_CC_dependencies_compiler_type=none
5298 if test "$am_compiler_list" = ""; then
5299 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5302 case " $depcc " in #(
5303 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5306 for depmode in $am_compiler_list; do
5307 # Setup a source with many dependencies, because some compilers
5308 # like to wrap large dependency lists on column 80 (with \), and
5309 # we should not choose a depcomp mode which is confused by this.
5311 # We need to recreate these files for each test, as the compiler may
5312 # overwrite some of them when testing with obscure command lines.
5313 # This happens at least with the AIX C compiler.
5315 for i in 1 2 3 4 5 6; do
5316 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5317 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5318 # Solaris 10 /bin/sh.
5319 echo '/* dummy */' > sub/conftst$i.h
5321 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5323 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5324 # mode. It turns out that the SunPro C++ compiler does not properly
5325 # handle '-M -o', and we need to detect this. Also, some Intel
5326 # versions had trouble with output in subdirs.
5327 am__obj=sub/conftest.${OBJEXT-o}
5328 am__minus_obj="-o $am__obj"
5331 # This depmode causes a compiler race in universal mode.
5332 test "$am__universal" = false || continue
5335 # After this tag, mechanisms are not by side-effect, so they'll
5336 # only be used when explicitly requested.
5337 if test "x$enable_dependency_tracking" = xyes; then
5343 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5344 # This compiler won't grok '-c -o', but also, the minuso test has
5345 # not run yet. These depmodes are late enough in the game, and
5346 # so weak that their functioning should not be impacted.
5347 am__obj=conftest.${OBJEXT-o}
5352 if depmode=$depmode \
5353 source=sub/conftest.c object=$am__obj \
5354 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5355 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5356 >/dev/null 2>conftest.err &&
5357 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5358 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5359 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5360 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5361 # icc doesn't choke on unknown options, it will just issue warnings
5362 # or remarks (even with -Werror). So we grep stderr for any message
5363 # that says an option was ignored or not supported.
5364 # When given -MP, icc 7.0 and 7.1 complain thusly:
5365 # icc: Command line warning: ignoring option '-M'; no argument required
5366 # The diagnosis changed in icc 8.0:
5367 # icc: Command line remark: option '-MP' not supported
5368 if (grep 'ignoring option' conftest.err ||
5369 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5370 am_cv_CC_dependencies_compiler_type=$depmode
5379 am_cv_CC_dependencies_compiler_type=none
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5384 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5385 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5388 test "x$enable_dependency_tracking" != xno \
5389 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5391 am__fastdepCC_FALSE='#'
5393 am__fastdepCC_TRUE='#'
5394 am__fastdepCC_FALSE=
5399 ac_cpp='$CXXCPP $CPPFLAGS'
5400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5403 if test -z "$CXX"; then
5404 if test -n "$CCC"; then
5407 if test -n "$ac_tool_prefix"; then
5408 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5410 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5411 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5413 $as_echo_n "checking for $ac_word... " >&6; }
5414 if ${ac_cv_prog_CXX+:} false; then :
5415 $as_echo_n "(cached) " >&6
5417 if test -n "$CXX"; then
5418 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5424 test -z "$as_dir" && as_dir=.
5425 for ac_exec_ext in '' $ac_executable_extensions; do
5426 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5427 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5438 if test -n "$CXX"; then
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5440 $as_echo "$CXX" >&6; }
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5443 $as_echo "no" >&6; }
5447 test -n "$CXX" && break
5450 if test -z "$CXX"; then
5452 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5454 # Extract the first word of "$ac_prog", so it can be a program name with args.
5455 set dummy $ac_prog; ac_word=$2
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5457 $as_echo_n "checking for $ac_word... " >&6; }
5458 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5459 $as_echo_n "(cached) " >&6
5461 if test -n "$ac_ct_CXX"; then
5462 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5468 test -z "$as_dir" && as_dir=.
5469 for ac_exec_ext in '' $ac_executable_extensions; do
5470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5471 ac_cv_prog_ac_ct_CXX="$ac_prog"
5472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5481 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5482 if test -n "$ac_ct_CXX"; then
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5484 $as_echo "$ac_ct_CXX" >&6; }
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5487 $as_echo "no" >&6; }
5491 test -n "$ac_ct_CXX" && break
5494 if test "x$ac_ct_CXX" = x; then
5497 case $cross_compiling:$ac_tool_warned in
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5500 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5501 ac_tool_warned=yes ;;
5509 # Provide some information about the compiler.
5510 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5513 for ac_option in --version -v -V -qversion; do
5514 { { ac_try="$ac_compiler $ac_option >&5"
5516 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5517 *) ac_try_echo
=$ac_try;;
5519 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5520 $as_echo "$ac_try_echo"; } >&5
5521 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5523 if test -s conftest.err
; then
5525 ... rest of stderr output deleted ...
5526 10q' conftest.err
>conftest.er1
5527 cat conftest.er1
>&5
5529 rm -f conftest.er1 conftest.err
5530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5531 test $ac_status = 0; }
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5535 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5536 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5537 $as_echo_n "(cached) " >&6
5539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5540 /* end confdefs.h. */
5553 if ac_fn_cxx_try_compile
"$LINENO"; then :
5558 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5559 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5563 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5564 if test $ac_compiler_gnu = yes; then
5569 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5570 ac_save_CXXFLAGS
=$CXXFLAGS
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5572 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5573 if ${ac_cv_prog_cxx_g+:} false
; then :
5574 $as_echo_n "(cached) " >&6
5576 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5577 ac_cxx_werror_flag
=yes
5580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5581 /* end confdefs.h. */
5591 if ac_fn_cxx_try_compile
"$LINENO"; then :
5592 ac_cv_prog_cxx_g
=yes
5595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5596 /* end confdefs.h. */
5606 if ac_fn_cxx_try_compile
"$LINENO"; then :
5609 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5612 /* end confdefs.h. */
5622 if ac_fn_cxx_try_compile
"$LINENO"; then :
5623 ac_cv_prog_cxx_g
=yes
5625 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5627 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5629 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5630 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5633 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5634 if test "$ac_test_CXXFLAGS" = set; then
5635 CXXFLAGS
=$ac_save_CXXFLAGS
5636 elif test $ac_cv_prog_cxx_g = yes; then
5637 if test "$GXX" = yes; then
5643 if test "$GXX" = yes; then
5650 ac_cpp
='$CPP $CPPFLAGS'
5651 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5652 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5653 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5655 depcc
="$CXX" am_compiler_list
=
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5658 $as_echo_n "checking dependency style of $depcc... " >&6; }
5659 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
5660 $as_echo_n "(cached) " >&6
5662 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5663 # We make a subdir and do the tests there. Otherwise we can end up
5664 # making bogus files that we don't know about and never remove. For
5665 # instance it was reported that on HP-UX the gcc test will end up
5666 # making a dummy file named 'D' -- because '-MD' means "put the output
5670 # Copy depcomp to subdir because otherwise we won't find it if we're
5671 # using a relative directory.
5672 cp "$am_depcomp" conftest.dir
5674 # We will build objects and dependencies in a subdirectory because
5675 # it helps to detect inapplicable dependency modes. For instance
5676 # both Tru64's cc and ICC support -MD to output dependencies as a
5677 # side effect of compilation, but ICC will put the dependencies in
5678 # the current directory while Tru64 will put them in the object
5682 am_cv_CXX_dependencies_compiler_type
=none
5683 if test "$am_compiler_list" = ""; then
5684 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5687 case " $depcc " in #(
5688 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5691 for depmode
in $am_compiler_list; do
5692 # Setup a source with many dependencies, because some compilers
5693 # like to wrap large dependency lists on column 80 (with \), and
5694 # we should not choose a depcomp mode which is confused by this.
5696 # We need to recreate these files for each test, as the compiler may
5697 # overwrite some of them when testing with obscure command lines.
5698 # This happens at least with the AIX C compiler.
5700 for i
in 1 2 3 4 5 6; do
5701 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5702 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5703 # Solaris 10 /bin/sh.
5704 echo '/* dummy */' > sub
/conftst
$i.h
5706 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5708 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5709 # mode. It turns out that the SunPro C++ compiler does not properly
5710 # handle '-M -o', and we need to detect this. Also, some Intel
5711 # versions had trouble with output in subdirs.
5712 am__obj
=sub
/conftest.
${OBJEXT-o}
5713 am__minus_obj
="-o $am__obj"
5716 # This depmode causes a compiler race in universal mode.
5717 test "$am__universal" = false ||
continue
5720 # After this tag, mechanisms are not by side-effect, so they'll
5721 # only be used when explicitly requested.
5722 if test "x$enable_dependency_tracking" = xyes
; then
5728 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5729 # This compiler won't grok '-c -o', but also, the minuso test has
5730 # not run yet. These depmodes are late enough in the game, and
5731 # so weak that their functioning should not be impacted.
5732 am__obj
=conftest.
${OBJEXT-o}
5737 if depmode
=$depmode \
5738 source=sub
/conftest.c object
=$am__obj \
5739 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5740 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5741 >/dev
/null
2>conftest.err
&&
5742 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5743 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5744 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5745 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5746 # icc doesn't choke on unknown options, it will just issue warnings
5747 # or remarks (even with -Werror). So we grep stderr for any message
5748 # that says an option was ignored or not supported.
5749 # When given -MP, icc 7.0 and 7.1 complain thusly:
5750 # icc: Command line warning: ignoring option '-M'; no argument required
5751 # The diagnosis changed in icc 8.0:
5752 # icc: Command line remark: option '-MP' not supported
5753 if (grep 'ignoring option' conftest.err ||
5754 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5755 am_cv_CXX_dependencies_compiler_type
=$depmode
5764 am_cv_CXX_dependencies_compiler_type
=none
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5769 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5770 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5773 test "x$enable_dependency_tracking" != xno \
5774 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5775 am__fastdepCXX_TRUE
=
5776 am__fastdepCXX_FALSE
='#'
5778 am__fastdepCXX_TRUE
='#'
5779 am__fastdepCXX_FALSE
=
5784 if test -n "$ac_tool_prefix"; then
5785 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5786 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5788 $as_echo_n "checking for $ac_word... " >&6; }
5789 if ${ac_cv_prog_RANLIB+:} false
; then :
5790 $as_echo_n "(cached) " >&6
5792 if test -n "$RANLIB"; then
5793 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5799 test -z "$as_dir" && as_dir
=.
5800 for ac_exec_ext
in '' $ac_executable_extensions; do
5801 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5802 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5812 RANLIB
=$ac_cv_prog_RANLIB
5813 if test -n "$RANLIB"; then
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5815 $as_echo "$RANLIB" >&6; }
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5818 $as_echo "no" >&6; }
5823 if test -z "$ac_cv_prog_RANLIB"; then
5824 ac_ct_RANLIB
=$RANLIB
5825 # Extract the first word of "ranlib", so it can be a program name with args.
5826 set dummy ranlib
; ac_word
=$2
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5828 $as_echo_n "checking for $ac_word... " >&6; }
5829 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5830 $as_echo_n "(cached) " >&6
5832 if test -n "$ac_ct_RANLIB"; then
5833 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5839 test -z "$as_dir" && as_dir
=.
5840 for ac_exec_ext
in '' $ac_executable_extensions; do
5841 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5842 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5852 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5853 if test -n "$ac_ct_RANLIB"; then
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5855 $as_echo "$ac_ct_RANLIB" >&6; }
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5858 $as_echo "no" >&6; }
5861 if test "x$ac_ct_RANLIB" = x
; then
5864 case $cross_compiling:$ac_tool_warned in
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5867 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5868 ac_tool_warned
=yes ;;
5870 RANLIB
=$ac_ct_RANLIB
5873 RANLIB
="$ac_cv_prog_RANLIB"
5876 if test -n "$ac_tool_prefix"; then
5877 for ac_prog
in ar lib
"link -lib"
5879 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5880 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5882 $as_echo_n "checking for $ac_word... " >&6; }
5883 if ${ac_cv_prog_AR+:} false
; then :
5884 $as_echo_n "(cached) " >&6
5886 if test -n "$AR"; then
5887 ac_cv_prog_AR
="$AR" # Let the user override the test.
5889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5893 test -z "$as_dir" && as_dir
=.
5894 for ac_exec_ext
in '' $ac_executable_extensions; do
5895 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5896 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5907 if test -n "$AR"; then
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5909 $as_echo "$AR" >&6; }
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5912 $as_echo "no" >&6; }
5916 test -n "$AR" && break
5919 if test -z "$AR"; then
5921 for ac_prog
in ar lib
"link -lib"
5923 # Extract the first word of "$ac_prog", so it can be a program name with args.
5924 set dummy
$ac_prog; ac_word
=$2
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5926 $as_echo_n "checking for $ac_word... " >&6; }
5927 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5928 $as_echo_n "(cached) " >&6
5930 if test -n "$ac_ct_AR"; then
5931 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5937 test -z "$as_dir" && as_dir
=.
5938 for ac_exec_ext
in '' $ac_executable_extensions; do
5939 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5940 ac_cv_prog_ac_ct_AR
="$ac_prog"
5941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5950 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5951 if test -n "$ac_ct_AR"; then
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5953 $as_echo "$ac_ct_AR" >&6; }
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5956 $as_echo "no" >&6; }
5960 test -n "$ac_ct_AR" && break
5963 if test "x$ac_ct_AR" = x
; then
5966 case $cross_compiling:$ac_tool_warned in
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5969 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5970 ac_tool_warned
=yes ;;
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
5979 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
5980 if ${am_cv_ar_interface+:} false
; then :
5981 $as_echo_n "(cached) " >&6
5984 ac_cpp
='$CPP $CPPFLAGS'
5985 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5986 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5987 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5989 am_cv_ar_interface
=ar
5990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5991 /* end confdefs.h. */
5992 int some_variable = 0;
5994 if ac_fn_c_try_compile
"$LINENO"; then :
5995 am_ar_try
='$AR cru libconftest.a conftest.$ac_objext >&5'
5996 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5997 (eval $am_ar_try) 2>&5
5999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6000 test $ac_status = 0; }
6001 if test "$ac_status" -eq 0; then
6002 am_cv_ar_interface
=ar
6004 am_ar_try
='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
6005 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
6006 (eval $am_ar_try) 2>&5
6008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6009 test $ac_status = 0; }
6010 if test "$ac_status" -eq 0; then
6011 am_cv_ar_interface
=lib
6013 am_cv_ar_interface
=unknown
6016 rm -f conftest.lib libconftest.a
6019 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6021 ac_cpp
='$CPP $CPPFLAGS'
6022 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6023 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6024 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
6028 $as_echo "$am_cv_ar_interface" >&6; }
6030 case $am_cv_ar_interface in
6034 # Microsoft lib, so override with the ar-lib wrapper script.
6035 # FIXME: It is wrong to rewrite AR.
6036 # But if we don't then we get into trouble of one sort or another.
6037 # A longer-term fix would be to have automake use am__AR in this case,
6038 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
6040 AR
="$am_aux_dir/ar-lib $AR"
6043 as_fn_error $?
"could not determine $AR interface" "$LINENO" 5
6048 for ac_prog
in bison
6050 # Extract the first word of "$ac_prog", so it can be a program name with args.
6051 set dummy
$ac_prog; ac_word
=$2
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6053 $as_echo_n "checking for $ac_word... " >&6; }
6054 if ${ac_cv_prog_BISON+:} false
; then :
6055 $as_echo_n "(cached) " >&6
6057 if test -n "$BISON"; then
6058 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6064 test -z "$as_dir" && as_dir
=.
6065 for ac_exec_ext
in '' $ac_executable_extensions; do
6066 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6067 ac_cv_prog_BISON
="$ac_prog"
6068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6077 BISON
=$ac_cv_prog_BISON
6078 if test -n "$BISON"; then
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6080 $as_echo "$BISON" >&6; }
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6083 $as_echo "no" >&6; }
6087 test -n "$BISON" && break
6090 if test -z "$BISON"; then
6093 cat >conftest.y
<<_ACEOF
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison 3.0.4 or newer" >&5
6099 $as_echo_n "checking for bison 3.0.4 or newer... " >&6; }
6100 ac_prog_version
=`$BISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
6101 : ${ac_prog_version:='v. ?.??'}
6102 if $BISON conftest.y
-o conftest.c
2>/dev
/null
; then
6103 ac_prog_version
="$ac_prog_version, ok"
6106 ac_prog_version
="$ac_prog_version, bad"
6109 rm -f conftest.y conftest.c
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
6111 $as_echo "$ac_prog_version" >&6; }
6113 if test $ac_verc_fail = yes; then
6118 if test x
$BISON = "x:"; then
6119 as_fn_error $?
"Building gprofng requires bison 3.0.4 or later." "$LINENO" 5
6122 # Check whether --enable-shared was given.
6123 if test "${enable_shared+set}" = set; then :
6124 enableval
=$enable_shared; p
=${PACKAGE-default}
6126 yes) enable_shared
=yes ;;
6127 no
) enable_shared
=no
;;
6130 # Look at the argument we got. We use all the common list separators.
6131 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6132 for pkg
in $enableval; do
6134 if test "X$pkg" = "X$p"; then
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6156 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6161 macro_version
='2.2.7a'
6162 macro_revision
='1.3134'
6176 ltmain
="$ac_aux_dir/ltmain.sh"
6178 # Backslashify metacharacters that are still active within
6179 # double-quoted strings.
6180 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6182 # Same as above, but do not quote variable references.
6183 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6185 # Sed substitution to delay expansion of an escaped shell variable in a
6186 # double_quote_subst'ed string.
6187 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6189 # Sed substitution to delay expansion of an escaped single quote.
6190 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6192 # Sed substitution to avoid accidental globbing in evaled expressions
6193 no_glob_subst
='s/\*/\\\*/g'
6195 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6196 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6197 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6200 $as_echo_n "checking how to print strings... " >&6; }
6201 # Test print first, because it will be a builtin if present.
6202 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6203 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6205 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6208 # Use this function as a fallback that always works.
6209 func_fallback_echo ()
6211 eval 'cat <<_LTECHO_EOF
6215 ECHO='func_fallback_echo
'
6218 # func_echo_all arg...
6219 # Invoke $ECHO with all args, space-separated.
6226 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6227 $as_echo "printf" >&6; } ;;
6228 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6229 $as_echo "print -r" >&6; } ;;
6230 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6231 $as_echo "cat" >&6; } ;;
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6248 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6249 if ${ac_cv_path_SED+:} false; then :
6250 $as_echo_n "(cached) " >&6
6252 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6253 for ac_i in 1 2 3 4 5 6 7; do
6254 ac_script="$ac_script$as_nl$ac_script"
6256 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6257 { ac_script=; unset ac_script;}
6258 if test -z "$SED"; then
6259 ac_path_SED_found=false
6260 # Loop through the user's path and
test for each of PROGNAME-LIST
6261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6265 test -z "$as_dir" && as_dir
=.
6266 for ac_prog
in sed gsed
; do
6267 for ac_exec_ext
in '' $ac_executable_extensions; do
6268 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6269 as_fn_executable_p
"$ac_path_SED" ||
continue
6270 # Check for GNU ac_path_SED and select it if it is found.
6271 # Check for GNU $ac_path_SED
6272 case `"$ac_path_SED" --version 2>&1` in
6274 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6277 $as_echo_n 0123456789 >"conftest.in"
6280 cat "conftest.in" "conftest.in" >"conftest.tmp"
6281 mv "conftest.tmp" "conftest.in"
6282 cp "conftest.in" "conftest.nl"
6283 $as_echo '' >> "conftest.nl"
6284 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6285 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6286 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6287 if test $ac_count -gt ${ac_path_SED_max-0}; then
6288 # Best one so far, save it but keep looking for a better one
6289 ac_cv_path_SED
="$ac_path_SED"
6290 ac_path_SED_max
=$ac_count
6292 # 10*(2^10) chars as input seems more than enough
6293 test $ac_count -gt 10 && break
6295 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6298 $ac_path_SED_found && break 3
6303 if test -z "$ac_cv_path_SED"; then
6304 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6312 $as_echo "$ac_cv_path_SED" >&6; }
6313 SED
="$ac_cv_path_SED"
6316 test -z "$SED" && SED
=sed
6317 Xsed
="$SED -e 1s/^X//"
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6330 $as_echo_n "checking for fgrep... " >&6; }
6331 if ${ac_cv_path_FGREP+:} false
; then :
6332 $as_echo_n "(cached) " >&6
6334 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6335 then ac_cv_path_FGREP
="$GREP -F"
6337 if test -z "$FGREP"; then
6338 ac_path_FGREP_found
=false
6339 # Loop through the user's path and test for each of PROGNAME-LIST
6340 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6341 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6344 test -z "$as_dir" && as_dir
=.
6345 for ac_prog
in fgrep
; do
6346 for ac_exec_ext
in '' $ac_executable_extensions; do
6347 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6348 as_fn_executable_p
"$ac_path_FGREP" ||
continue
6349 # Check for GNU ac_path_FGREP and select it if it is found.
6350 # Check for GNU $ac_path_FGREP
6351 case `"$ac_path_FGREP" --version 2>&1` in
6353 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6356 $as_echo_n 0123456789 >"conftest.in"
6359 cat "conftest.in" "conftest.in" >"conftest.tmp"
6360 mv "conftest.tmp" "conftest.in"
6361 cp "conftest.in" "conftest.nl"
6362 $as_echo 'FGREP' >> "conftest.nl"
6363 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6364 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6365 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6366 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6367 # Best one so far, save it but keep looking for a better one
6368 ac_cv_path_FGREP
="$ac_path_FGREP"
6369 ac_path_FGREP_max
=$ac_count
6371 # 10*(2^10) chars as input seems more than enough
6372 test $ac_count -gt 10 && break
6374 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6377 $ac_path_FGREP_found && break 3
6382 if test -z "$ac_cv_path_FGREP"; then
6383 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6386 ac_cv_path_FGREP
=$FGREP
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6392 $as_echo "$ac_cv_path_FGREP" >&6; }
6393 FGREP
="$ac_cv_path_FGREP"
6396 test -z "$GREP" && GREP
=grep
6416 # Check whether --with-gnu-ld was given.
6417 if test "${with_gnu_ld+set}" = set; then :
6418 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6424 if test "$GCC" = yes; then
6425 # Check if gcc -print-prog-name=ld gives a path.
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6427 $as_echo_n "checking for ld used by $CC... " >&6; }
6430 # gcc leaves a trailing carriage return which upsets mingw
6431 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6433 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6436 # Accept absolute paths.
6438 re_direlt
='/[^/][^/]*/\.\./'
6439 # Canonicalize the pathname of ld
6440 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6441 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6442 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6444 test -z "$LD" && LD
="$ac_prog"
6447 # If it fails, then pretend we aren't using GCC.
6451 # If it is relative, then search for the first ld in PATH.
6455 elif test "$with_gnu_ld" = yes; then
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6457 $as_echo_n "checking for GNU ld... " >&6; }
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6460 $as_echo_n "checking for non-GNU ld... " >&6; }
6462 if ${lt_cv_path_LD+:} false
; then :
6463 $as_echo_n "(cached) " >&6
6465 if test -z "$LD"; then
6466 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6467 for ac_dir
in $PATH; do
6469 test -z "$ac_dir" && ac_dir
=.
6470 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6471 lt_cv_path_LD
="$ac_dir/$ac_prog"
6472 # Check to see if the program is GNU ld. I'd rather use --version,
6473 # but apparently some variants of GNU ld only accept -v.
6474 # Break only if it was the GNU/non-GNU ld that we prefer.
6475 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6476 *GNU
* |
*'with BFD'*)
6477 test "$with_gnu_ld" != no
&& break
6480 test "$with_gnu_ld" != yes && break
6487 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6492 if test -n "$LD"; then
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6494 $as_echo "$LD" >&6; }
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6497 $as_echo "no" >&6; }
6499 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6501 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6502 if ${lt_cv_prog_gnu_ld+:} false
; then :
6503 $as_echo_n "(cached) " >&6
6505 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6506 case `$LD -v 2>&1 </dev/null` in
6507 *GNU
* |
*'with BFD'*)
6508 lt_cv_prog_gnu_ld
=yes
6511 lt_cv_prog_gnu_ld
=no
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6516 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6517 with_gnu_ld
=$lt_cv_prog_gnu_ld
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6528 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6529 if ${lt_cv_path_NM+:} false
; then :
6530 $as_echo_n "(cached) " >&6
6532 if test -n "$NM"; then
6533 # Let the user override the nm to test.
6534 lt_nm_to_check
="$NM"
6536 lt_nm_to_check
="${ac_tool_prefix}nm"
6537 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6538 lt_nm_to_check
="$lt_nm_to_check nm"
6541 for lt_tmp_nm
in "$lt_nm_to_check"; do
6542 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6543 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6545 test -z "$ac_dir" && ac_dir
=.
6546 # Strip out any user-provided options from the nm to test twice,
6547 # the first time to test to see if nm (rather than its options) has
6548 # an explicit path, the second time to yield a file which can be
6550 tmp_nm_path
="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
6551 case "$tmp_nm_path" in
6552 */*|
*\\*) tmp_nm
="$lt_tmp_nm";;
6553 *) tmp_nm
="$ac_dir/$lt_tmp_nm";;
6555 tmp_nm_to_nm
="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
6556 if test -f "$tmp_nm_to_nm" ||
test -f "$tmp_nm_to_nm$ac_exeext" ; then
6557 # Check to see if the nm accepts a BSD-compat flag.
6558 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6559 # nm: unknown option "B" ignored
6560 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6561 *$tmp_nm*) lt_cv_path_NM
="$tmp_nm -B"
6565 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6567 lt_cv_path_NM
="$tmp_nm -p"
6571 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6572 continue # so that we can try to find one that supports BSD flags
6581 : ${lt_cv_path_NM=no}
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6584 $as_echo "$lt_cv_path_NM" >&6; }
6585 if test "$lt_cv_path_NM" != "no"; then
6588 # Didn't find any BSD compatible name lister, look for dumpbin.
6589 if test -n "$DUMPBIN"; then :
6590 # Let the user override the test.
6592 if test -n "$ac_tool_prefix"; then
6593 for ac_prog
in dumpbin
"link -dump"
6595 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6596 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6598 $as_echo_n "checking for $ac_word... " >&6; }
6599 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6600 $as_echo_n "(cached) " >&6
6602 if test -n "$DUMPBIN"; then
6603 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6609 test -z "$as_dir" && as_dir
=.
6610 for ac_exec_ext
in '' $ac_executable_extensions; do
6611 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6612 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6622 DUMPBIN
=$ac_cv_prog_DUMPBIN
6623 if test -n "$DUMPBIN"; then
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6625 $as_echo "$DUMPBIN" >&6; }
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6628 $as_echo "no" >&6; }
6632 test -n "$DUMPBIN" && break
6635 if test -z "$DUMPBIN"; then
6636 ac_ct_DUMPBIN
=$DUMPBIN
6637 for ac_prog
in dumpbin
"link -dump"
6639 # Extract the first word of "$ac_prog", so it can be a program name with args.
6640 set dummy
$ac_prog; ac_word
=$2
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6642 $as_echo_n "checking for $ac_word... " >&6; }
6643 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6644 $as_echo_n "(cached) " >&6
6646 if test -n "$ac_ct_DUMPBIN"; then
6647 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6653 test -z "$as_dir" && as_dir
=.
6654 for ac_exec_ext
in '' $ac_executable_extensions; do
6655 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6656 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6666 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6667 if test -n "$ac_ct_DUMPBIN"; then
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6669 $as_echo "$ac_ct_DUMPBIN" >&6; }
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6672 $as_echo "no" >&6; }
6676 test -n "$ac_ct_DUMPBIN" && break
6679 if test "x$ac_ct_DUMPBIN" = x
; then
6682 case $cross_compiling:$ac_tool_warned in
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6686 ac_tool_warned
=yes ;;
6688 DUMPBIN
=$ac_ct_DUMPBIN
6692 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6694 DUMPBIN
="$DUMPBIN -symbols"
6702 if test "$DUMPBIN" != ":"; then
6706 test -z "$NM" && NM
=nm
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6714 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6715 if ${lt_cv_nm_interface+:} false
; then :
6716 $as_echo_n "(cached) " >&6
6718 lt_cv_nm_interface
="BSD nm"
6719 echo "int some_variable = 0;" > conftest.
$ac_ext
6720 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6721 (eval "$ac_compile" 2>conftest.err
)
6722 cat conftest.err
>&5
6723 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6724 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6725 cat conftest.err
>&5
6726 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6727 cat conftest.out
>&5
6728 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6729 lt_cv_nm_interface
="MS dumpbin"
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6734 $as_echo "$lt_cv_nm_interface" >&6; }
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6737 $as_echo_n "checking whether ln -s works... " >&6; }
6739 if test "$LN_S" = "ln -s"; then
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6741 $as_echo "yes" >&6; }
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6744 $as_echo "no, using $LN_S" >&6; }
6747 # find the maximum length of command line arguments
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6749 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6750 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6751 $as_echo_n "(cached) " >&6
6758 # On DJGPP, this test can blow up pretty badly due to problems in libc
6759 # (any single argument exceeding 2000 bytes causes a buffer overrun
6760 # during glob expansion). Even if it were fixed, the result of this
6761 # check would be larger than it should be.
6762 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6766 # Under GNU Hurd, this test is not required because there is
6767 # no limit to the length of command line arguments.
6768 # Libtool will interpret -1 as no limit whatsoever
6769 lt_cv_sys_max_cmd_len
=-1;
6772 cygwin
* | mingw
* | cegcc
*)
6773 # On Win9x/ME, this test blows up -- it succeeds, but takes
6774 # about 5 minutes as the teststring grows exponentially.
6775 # Worse, since 9x/ME are not pre-emptively multitasking,
6776 # you end up with a "frozen" computer, even though with patience
6777 # the test eventually succeeds (with a max line length of 256k).
6778 # Instead, let's just punt: use the minimum linelength reported by
6779 # all of the supported platforms: 8192 (on NT/2K/XP).
6780 lt_cv_sys_max_cmd_len
=8192;
6784 # On MiNT this can take a long time and run out of memory.
6785 lt_cv_sys_max_cmd_len
=8192;
6789 # On AmigaOS with pdksh, this test takes hours, literally.
6790 # So we just punt and use a minimum line length of 8192.
6791 lt_cv_sys_max_cmd_len
=8192;
6794 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6795 # This has been around since 386BSD, at least. Likely further.
6796 if test -x /sbin
/sysctl
; then
6797 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6798 elif test -x /usr
/sbin
/sysctl
; then
6799 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6801 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6803 # And add a safety zone
6804 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6805 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6809 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6810 lt_cv_sys_max_cmd_len
=196608
6814 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6815 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6816 # nice to cause kernel panics so lets avoid the loop below.
6817 # First set a reasonable default.
6818 lt_cv_sys_max_cmd_len
=16384
6820 if test -x /sbin
/sysconfig
; then
6821 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6822 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6827 lt_cv_sys_max_cmd_len
=102400
6829 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6830 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6831 if test -n "$kargmax"; then
6832 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6834 lt_cv_sys_max_cmd_len
=32768
6838 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6839 if test -n "$lt_cv_sys_max_cmd_len"; then
6840 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6841 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6843 # Make teststring a little bigger before we do anything with it.
6844 # a 1K string should be a reasonable start.
6845 for i
in 1 2 3 4 5 6 7 8 ; do
6846 teststring
=$teststring$teststring
6848 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6849 # If test is not a shell built-in, we'll probably end up computing a
6850 # maximum length that is only half of the actual maximum length, but
6852 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6853 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6854 test $i != 17 # 1/2 MB should be enough
6857 teststring
=$teststring$teststring
6859 # Only check the string length outside the loop.
6860 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6862 # Add a significant safety factor because C++ compilers can tack on
6863 # massive amounts of additional arguments before passing them to the
6864 # linker. It appears as though 1/2 is a usable value.
6865 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6872 if test -n $lt_cv_sys_max_cmd_len ; then
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6874 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6877 $as_echo "none" >&6; }
6879 max_cmd_len
=$lt_cv_sys_max_cmd_len
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6891 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6892 # Try some XSI features
6895 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6897 && eval 'test $(( 1 + 1 )) -eq 2 \
6898 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6901 $as_echo "$xsi_shell" >&6; }
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6905 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6907 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6909 && lt_shell_append=yes
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6911 $as_echo "$lt_shell_append" >&6; }
6914 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6924 # test EBCDIC or ASCII
6925 case `echo X|tr X '\101'` in
6926 A) # ASCII based system
6927 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6928 lt_SP2NL='tr \040 \012'
6929 lt_NL2SP='tr \015\012 \040\040'
6931 *) # EBCDIC based system
6932 lt_SP2NL='tr \100 \n'
6933 lt_NL2SP='tr \r\n \100\100'
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6946 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6947 if ${lt_cv_ld_reload_flag+:} false; then :
6948 $as_echo_n "(cached
) " >&6
6950 lt_cv_ld_reload_flag='-r'
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6953 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6954 reload_flag=$lt_cv_ld_reload_flag
6955 case $reload_flag in
6957 *) reload_flag=" $reload_flag" ;;
6959 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6962 if test "$GCC" = yes; then
6963 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6965 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6978 if test -n "$ac_tool_prefix"; then
6979 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6980 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6982 $as_echo_n "checking
for $ac_word...
" >&6; }
6983 if ${ac_cv_prog_OBJDUMP+:} false; then :
6984 $as_echo_n "(cached
) " >&6
6986 if test -n "$OBJDUMP"; then
6987 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6993 test -z "$as_dir" && as_dir=.
6994 for ac_exec_ext in '' $ac_executable_extensions; do
6995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6996 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6997 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7006 OBJDUMP=$ac_cv_prog_OBJDUMP
7007 if test -n "$OBJDUMP"; then
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
7009 $as_echo "$OBJDUMP" >&6; }
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7012 $as_echo "no
" >&6; }
7017 if test -z "$ac_cv_prog_OBJDUMP"; then
7018 ac_ct_OBJDUMP=$OBJDUMP
7019 # Extract the first word of "objdump
", so it can be a program name with args.
7020 set dummy objdump; ac_word=$2
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7022 $as_echo_n "checking
for $ac_word...
" >&6; }
7023 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7024 $as_echo_n "(cached
) " >&6
7026 if test -n "$ac_ct_OBJDUMP"; then
7027 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7033 test -z "$as_dir" && as_dir=.
7034 for ac_exec_ext in '' $ac_executable_extensions; do
7035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7036 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
7037 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7046 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7047 if test -n "$ac_ct_OBJDUMP"; then
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
7049 $as_echo "$ac_ct_OBJDUMP" >&6; }
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7052 $as_echo "no
" >&6; }
7055 if test "x
$ac_ct_OBJDUMP" = x; then
7058 case $cross_compiling:$ac_tool_warned in
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7061 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7062 ac_tool_warned=yes ;;
7064 OBJDUMP=$ac_ct_OBJDUMP
7067 OBJDUMP="$ac_cv_prog_OBJDUMP"
7070 test -z "$OBJDUMP" && OBJDUMP=objdump
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
7081 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
7082 if ${lt_cv_deplibs_check_method+:} false; then :
7083 $as_echo_n "(cached
) " >&6
7085 lt_cv_file_magic_cmd='$MAGIC_CMD'
7086 lt_cv_file_magic_test_file=
7087 lt_cv_deplibs_check_method='unknown'
7088 # Need to set the preceding variable on all platforms that support
7089 # interlibrary dependencies.
7090 # 'none' -- dependencies not supported.
7091 # `unknown' -- same as none, but documents that we really don't know.
7092 # 'pass_all' -- all dependencies passed with no checks.
7093 # 'test_compile' -- check by making test program.
7094 # 'file_magic [[regex]]' -- check by looking for files in library path
7095 # which responds to the $file_magic_cmd with a given extended regex.
7096 # If you have `file' or equivalent on your system and you're not sure
7097 # whether `pass_all' will *always* work, you probably want this one.
7101 lt_cv_deplibs_check_method=pass_all
7105 lt_cv_deplibs_check_method=pass_all
7109 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7110 lt_cv_file_magic_cmd='/usr/bin/file -L'
7111 lt_cv_file_magic_test_file=/shlib/libc.so
7115 # func_win32_libid is a shell function defined in ltmain.sh
7116 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7117 lt_cv_file_magic_cmd='func_win32_libid'
7121 # Base MSYS/MinGW do not provide the 'file' command needed by
7122 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7123 # unless we find 'file', for example because we are cross-compiling.
7124 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7125 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
7126 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7127 lt_cv_file_magic_cmd='func_win32_libid'
7129 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7130 lt_cv_file_magic_cmd='$OBJDUMP -f'
7135 # use the weaker test based on 'objdump'. See mingw*.
7136 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7137 lt_cv_file_magic_cmd='$OBJDUMP -f'
7140 darwin* | rhapsody*)
7141 lt_cv_deplibs_check_method=pass_all
7144 freebsd* | dragonfly*)
7145 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7148 # Not sure whether the presence of OpenBSD here was a mistake.
7149 # Let's accept both of them until this is cleared up.
7150 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7151 lt_cv_file_magic_cmd=/usr/bin/file
7152 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7156 lt_cv_deplibs_check_method=pass_all
7161 lt_cv_deplibs_check_method=pass_all
7165 lt_cv_deplibs_check_method=pass_all
7168 hpux10.20* | hpux11*)
7169 lt_cv_file_magic_cmd=/usr/bin/file
7172 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7173 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7176 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]'
7177 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7180 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7181 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7187 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7188 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7191 irix5* | irix6* | nonstopux*)
7193 *-32|*"-32 ") libmagic=32-bit;;
7194 *-n32|*"-n32 ") libmagic=N32;;
7195 *-64|*"-64 ") libmagic=64-bit;;
7196 *) libmagic=never-match;;
7198 lt_cv_deplibs_check_method=pass_all
7201 # This must be Linux ELF.
7202 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7203 lt_cv_deplibs_check_method=pass_all
7207 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7208 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7210 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7215 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7216 lt_cv_file_magic_cmd=/usr/bin/file
7217 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7221 lt_cv_deplibs_check_method=pass_all
7225 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7226 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7228 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7232 osf3* | osf4* | osf5*)
7233 lt_cv_deplibs_check_method=pass_all
7237 lt_cv_deplibs_check_method=pass_all
7241 lt_cv_deplibs_check_method=pass_all
7244 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7245 lt_cv_deplibs_check_method=pass_all
7249 case $host_vendor in
7251 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]'
7252 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7255 lt_cv_deplibs_check_method=pass_all
7258 lt_cv_file_magic_cmd='/bin/file'
7259 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7262 lt_cv_file_magic_cmd='/bin/file'
7263 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
7264 lt_cv_file_magic_test_file=/lib/libc.so
7267 lt_cv_deplibs_check_method=pass_all
7270 lt_cv_deplibs_check_method=pass_all
7276 lt_cv_deplibs_check_method=pass_all
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
7282 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7283 file_magic_cmd=$lt_cv_file_magic_cmd
7284 deplibs_check_method=$lt_cv_deplibs_check_method
7285 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7299 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
7300 for plugin in $plugin_names; do
7301 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
7302 if test x$plugin_so = x$plugin; then
7303 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
7305 if test x$plugin_so != x$plugin; then
7306 plugin_option="--plugin $plugin_so"
7311 if test -n "$ac_tool_prefix"; then
7312 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7313 set dummy ${ac_tool_prefix}ar; ac_word=$2
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7315 $as_echo_n "checking
for $ac_word...
" >&6; }
7316 if ${ac_cv_prog_AR+:} false; then :
7317 $as_echo_n "(cached
) " >&6
7319 if test -n "$AR"; then
7320 ac_cv_prog_AR="$AR" # Let the user override the test.
7322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7326 test -z "$as_dir" && as_dir=.
7327 for ac_exec_ext in '' $ac_executable_extensions; do
7328 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7329 ac_cv_prog_AR="${ac_tool_prefix}ar"
7330 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7340 if test -n "$AR"; then
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7342 $as_echo "$AR" >&6; }
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7345 $as_echo "no
" >&6; }
7350 if test -z "$ac_cv_prog_AR"; then
7352 # Extract the first word of "ar", so it can be a program name with args.
7353 set dummy ar; ac_word=$2
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7355 $as_echo_n "checking
for $ac_word...
" >&6; }
7356 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7357 $as_echo_n "(cached
) " >&6
7359 if test -n "$ac_ct_AR"; then
7360 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7366 test -z "$as_dir" && as_dir=.
7367 for ac_exec_ext in '' $ac_executable_extensions; do
7368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7369 ac_cv_prog_ac_ct_AR="ar"
7370 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7379 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7380 if test -n "$ac_ct_AR"; then
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
7382 $as_echo "$ac_ct_AR" >&6; }
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7385 $as_echo "no
" >&6; }
7388 if test "x
$ac_ct_AR" = x; then
7391 case $cross_compiling:$ac_tool_warned in
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7394 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7395 ac_tool_warned=yes ;;
7403 test -z "$AR" && AR=ar
7404 if test -n "$plugin_option"; then
7405 if $AR --help 2>&1 | grep -q "\
--plugin"; then
7407 $AR $plugin_option rc conftest.a conftest.c
7408 if test "$?
" != 0; then
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
7410 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
7412 AR="$AR $plugin_option"
7417 test -z "$AR_FLAGS" && AR_FLAGS=cru
7429 if test -n "$ac_tool_prefix"; then
7430 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7431 set dummy ${ac_tool_prefix}strip; ac_word=$2
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7433 $as_echo_n "checking
for $ac_word...
" >&6; }
7434 if ${ac_cv_prog_STRIP+:} false; then :
7435 $as_echo_n "(cached
) " >&6
7437 if test -n "$STRIP"; then
7438 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7444 test -z "$as_dir" && as_dir=.
7445 for ac_exec_ext in '' $ac_executable_extensions; do
7446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7447 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7448 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7457 STRIP=$ac_cv_prog_STRIP
7458 if test -n "$STRIP"; then
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
7460 $as_echo "$STRIP" >&6; }
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7463 $as_echo "no
" >&6; }
7468 if test -z "$ac_cv_prog_STRIP"; then
7470 # Extract the first word of "strip
", so it can be a program name with args.
7471 set dummy strip; ac_word=$2
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7473 $as_echo_n "checking
for $ac_word...
" >&6; }
7474 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7475 $as_echo_n "(cached
) " >&6
7477 if test -n "$ac_ct_STRIP"; then
7478 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7484 test -z "$as_dir" && as_dir=.
7485 for ac_exec_ext in '' $ac_executable_extensions; do
7486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7487 ac_cv_prog_ac_ct_STRIP="strip
"
7488 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7497 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7498 if test -n "$ac_ct_STRIP"; then
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
7500 $as_echo "$ac_ct_STRIP" >&6; }
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7503 $as_echo "no
" >&6; }
7506 if test "x
$ac_ct_STRIP" = x; then
7509 case $cross_compiling:$ac_tool_warned in
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7512 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7513 ac_tool_warned=yes ;;
7518 STRIP="$ac_cv_prog_STRIP"
7521 test -z "$STRIP" && STRIP=:
7528 if test -n "$ac_tool_prefix"; then
7529 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7530 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7532 $as_echo_n "checking
for $ac_word...
" >&6; }
7533 if ${ac_cv_prog_RANLIB+:} false; then :
7534 $as_echo_n "(cached
) " >&6
7536 if test -n "$RANLIB"; then
7537 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7543 test -z "$as_dir" && as_dir=.
7544 for ac_exec_ext in '' $ac_executable_extensions; do
7545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7546 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7547 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7556 RANLIB=$ac_cv_prog_RANLIB
7557 if test -n "$RANLIB"; then
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7559 $as_echo "$RANLIB" >&6; }
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7562 $as_echo "no
" >&6; }
7567 if test -z "$ac_cv_prog_RANLIB"; then
7568 ac_ct_RANLIB=$RANLIB
7569 # Extract the first word of "ranlib
", so it can be a program name with args.
7570 set dummy ranlib; ac_word=$2
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7572 $as_echo_n "checking
for $ac_word...
" >&6; }
7573 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7574 $as_echo_n "(cached
) " >&6
7576 if test -n "$ac_ct_RANLIB"; then
7577 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7583 test -z "$as_dir" && as_dir=.
7584 for ac_exec_ext in '' $ac_executable_extensions; do
7585 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7586 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7587 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7596 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7597 if test -n "$ac_ct_RANLIB"; then
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7599 $as_echo "$ac_ct_RANLIB" >&6; }
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7602 $as_echo "no
" >&6; }
7605 if test "x
$ac_ct_RANLIB" = x; then
7608 case $cross_compiling:$ac_tool_warned in
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7611 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7612 ac_tool_warned=yes ;;
7614 RANLIB=$ac_ct_RANLIB
7617 RANLIB="$ac_cv_prog_RANLIB"
7620 test -z "$RANLIB" && RANLIB=:
7621 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
7622 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
7623 RANLIB="$RANLIB $plugin_option"
7632 # Determine commands to create old-style static archives.
7633 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7634 old_postinstall_cmds='chmod 644 $oldlib'
7635 old_postuninstall_cmds=
7637 if test -n "$RANLIB"; then
7640 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7643 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7646 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7651 lock_old_archive_extraction=yes ;;
7653 lock_old_archive_extraction=no ;;
7694 # If no C compiler was specified, use CC.
7697 # If no C compiler flags were specified, use CFLAGS.
7698 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7700 # Allow CC to be a program name with arguments.
7704 # Check for command to grab the raw symbol name followed by C symbol from nm.
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7706 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7707 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7708 $as_echo_n "(cached
) " >&6
7711 # These are sane defaults that work on at least a few old systems.
7712 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7714 # Character class describing NM global symbol codes.
7715 symcode='[BCDEGRST]'
7717 # Regexp to match symbols that can be accessed directly from C.
7718 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7720 # Define system-specific variables.
7725 cygwin* | mingw* | pw32* | cegcc*)
7726 symcode='[ABCDGISTW]'
7729 if test "$host_cpu" = ia64; then
7730 symcode='[ABCDEGRST]'
7734 symcode='[BCDEGRST]'
7737 symcode='[BCDEGQRST]'
7748 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7756 # If we're using GNU nm, then use its standard symbol codes.
7757 case `$NM -V 2>&1` in
7758 *GNU* | *'with BFD'*)
7759 symcode='[ABCDGIRSTW]' ;;
7762 # Transform an extracted symbol line into a proper C declaration.
7763 # Some systems (esp. on ia64) link data and code symbols differently,
7764 # so use this general approach.
7765 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7767 # Transform an extracted symbol line into symbol name and symbol address
7768 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7769 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'"
7771 # Handle CRLF in mingw tool chain
7775 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7779 # Try without a prefix underscore, then with it.
7780 for ac_symprfx in "" "_
"; do
7782 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7783 symxfrm="\\1 $ac_symprfx\\2 \\2"
7785 # Write the raw and C identifiers.
7786 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7787 # Fake it for dumpbin and say T for any non-static function
7788 # and D for any global variable.
7789 # Also find C++ and __fastcall symbols from MSVC++,
7790 # which start with @ or ?.
7791 lt_cv_sys_global_symbol_pipe="$AWK '"\
7792 " {last_section=section; section=\$ 3};"\
7793 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7794 " \$ 0!~/External *\|/{next};"\
7795 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7796 " {if(hide[section]) next};"\
7797 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7798 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7799 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7800 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7801 " ' prfx
=^
$ac_symprfx"
7803 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7806 # Check to see that the pipe works correctly.
7810 cat > conftest.$ac_ext <<_LT_EOF
7815 void nm_test_func(void);
7816 void nm_test_func(void){}
7820 int main(){nm_test_var='a';nm_test_func();return(0);}
7823 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7824 (eval $ac_compile) 2>&5
7826 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7827 test $ac_status = 0; }; then
7828 # Now try to grab the symbols.
7830 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7831 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7833 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7834 test $ac_status = 0; } && test -s "$nlist"; then
7835 # Try sorting and uniquifying the output.
7836 if sort "$nlist" | uniq > "$nlist"T; then
7837 mv -f "$nlist"T "$nlist"
7842 # Make sure that we snagged all the symbols we need.
7843 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7844 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7845 cat <<_LT_EOF > conftest.$ac_ext
7851 # Now generate the symbol file.
7852 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7854 cat <<_LT_EOF >> conftest.$ac_ext
7856 /* The mapping between symbol names and symbols. */
7861 lt__PROGRAM__LTX_preloaded_symbols[] =
7863 { "@PROGRAM@
", (void *) 0 },
7865 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7866 cat <<\_LT_EOF >> conftest.$ac_ext
7870 /* This works around a problem in FreeBSD linker */
7871 #ifdef FREEBSD_WORKAROUND
7872 static const void *lt_preloaded_setup() {
7873 return lt__PROGRAM__LTX_preloaded_symbols;
7881 # Now try linking the two files.
7882 mv conftest.$ac_objext conftstm.$ac_objext
7883 lt_save_LIBS="$LIBS"
7884 lt_save_CFLAGS="$CFLAGS"
7885 LIBS="conftstm.
$ac_objext"
7886 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7887 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7888 (eval $ac_link) 2>&5
7890 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7891 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7894 LIBS="$lt_save_LIBS"
7895 CFLAGS="$lt_save_CFLAGS"
7897 echo "cannot
find nm_test_func
in $nlist" >&5
7900 echo "cannot
find nm_test_var
in $nlist" >&5
7903 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7906 echo "$progname: failed program was
:" >&5
7907 cat conftest.$ac_ext >&5
7909 rm -rf conftest* conftst*
7911 # Do not use the global_symbol_pipe unless it works.
7912 if test "$pipe_works" = yes; then
7915 lt_cv_sys_global_symbol_pipe=
7921 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7922 lt_cv_sys_global_symbol_to_cdecl=
7924 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7926 $as_echo "failed
" >&6; }
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7929 $as_echo "ok
" >&6; }
7953 # Check whether --enable-libtool-lock was given.
7954 if test "${enable_libtool_lock+set}" = set; then :
7955 enableval=$enable_libtool_lock;
7958 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7960 # Some flags need to be propagated to the compiler or linker for good
7964 # Find out which ABI we are using.
7965 echo 'int i;' > conftest.$ac_ext
7966 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7967 (eval $ac_compile) 2>&5
7969 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7970 test $ac_status = 0; }; then
7971 case `/usr/bin/file conftest.$ac_objext` in
7983 # Find out which ABI we are using.
7984 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7985 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7986 (eval $ac_compile) 2>&5
7988 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7989 test $ac_status = 0; }; then
7990 if test "$lt_cv_prog_gnu_ld" = yes; then
7991 case `/usr/bin/file conftest.$ac_objext` in
7993 LD="${LD-ld} -melf32bsmip"
7996 LD="${LD-ld} -melf32bmipn32"
7999 LD="${LD-ld} -melf64bmip"
8003 case `/usr/bin/file conftest.$ac_objext` in
8019 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8020 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8021 # Find out which ABI we are using.
8022 echo 'int i;' > conftest.$ac_ext
8023 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8024 (eval $ac_compile) 2>&5
8026 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8027 test $ac_status = 0; }; then
8028 case `/usr/bin/file conftest.o` in
8031 x86_64-*kfreebsd*-gnu)
8032 LD="${LD-ld} -m elf_i386_fbsd
"
8035 case `/usr/bin/file conftest.o` in
8037 LD="${LD-ld} -m elf32_x86_64
"
8040 LD="${LD-ld} -m elf_i386
"
8044 powerpc64le-*linux*)
8045 LD="${LD-ld} -m elf32lppclinux
"
8048 LD="${LD-ld} -m elf32ppclinux
"
8051 LD="${LD-ld} -m elf_s390
"
8054 LD="${LD-ld} -m elf32_sparc
"
8060 x86_64-*kfreebsd*-gnu)
8061 LD="${LD-ld} -m elf_x86_64_fbsd
"
8064 LD="${LD-ld} -m elf_x86_64
"
8067 LD="${LD-ld} -m elf64lppc
"
8070 LD="${LD-ld} -m elf64ppc
"
8072 s390*-*linux*|s390*-*tpf*)
8073 LD="${LD-ld} -m elf64_s390
"
8076 LD="${LD-ld} -m elf64_sparc
"
8086 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8087 SAVE_CFLAGS="$CFLAGS"
8088 CFLAGS="$CFLAGS -belf"
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
8090 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
8091 if ${lt_cv_cc_needs_belf+:} false; then :
8092 $as_echo_n "(cached
) " >&6
8095 ac_cpp='$CPP $CPPFLAGS'
8096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8101 /* end confdefs.h. */
8111 if ac_fn_c_try_link "$LINENO"; then :
8112 lt_cv_cc_needs_belf=yes
8114 lt_cv_cc_needs_belf=no
8116 rm -f core conftest.err conftest.$ac_objext \
8117 conftest$ac_exeext conftest.$ac_ext
8119 ac_cpp='$CPP $CPPFLAGS'
8120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
8126 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8127 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8128 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8129 CFLAGS="$SAVE_CFLAGS"
8133 # Find out which ABI we are using.
8134 echo 'int i;' > conftest.$ac_ext
8135 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8136 (eval $ac_compile) 2>&5
8138 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8139 test $ac_status = 0; }; then
8140 case `/usr/bin/file conftest.o` in
8142 case $lt_cv_prog_gnu_ld in
8143 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
8145 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8157 need_locks="$enable_libtool_lock"
8161 rhapsody* | darwin*)
8162 if test -n "$ac_tool_prefix"; then
8163 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8164 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8166 $as_echo_n "checking
for $ac_word...
" >&6; }
8167 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8168 $as_echo_n "(cached
) " >&6
8170 if test -n "$DSYMUTIL"; then
8171 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8177 test -z "$as_dir" && as_dir=.
8178 for ac_exec_ext in '' $ac_executable_extensions; do
8179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8180 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8181 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8190 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8191 if test -n "$DSYMUTIL"; then
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8193 $as_echo "$DSYMUTIL" >&6; }
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8196 $as_echo "no
" >&6; }
8201 if test -z "$ac_cv_prog_DSYMUTIL"; then
8202 ac_ct_DSYMUTIL=$DSYMUTIL
8203 # Extract the first word of "dsymutil
", so it can be a program name with args.
8204 set dummy dsymutil; ac_word=$2
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8206 $as_echo_n "checking
for $ac_word...
" >&6; }
8207 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8208 $as_echo_n "(cached
) " >&6
8210 if test -n "$ac_ct_DSYMUTIL"; then
8211 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8217 test -z "$as_dir" && as_dir=.
8218 for ac_exec_ext in '' $ac_executable_extensions; do
8219 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8220 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8221 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8230 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8231 if test -n "$ac_ct_DSYMUTIL"; then
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8233 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8236 $as_echo "no
" >&6; }
8239 if test "x
$ac_ct_DSYMUTIL" = x; then
8242 case $cross_compiling:$ac_tool_warned in
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8245 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8246 ac_tool_warned=yes ;;
8248 DSYMUTIL=$ac_ct_DSYMUTIL
8251 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8254 if test -n "$ac_tool_prefix"; then
8255 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8256 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8258 $as_echo_n "checking
for $ac_word...
" >&6; }
8259 if ${ac_cv_prog_NMEDIT+:} false; then :
8260 $as_echo_n "(cached
) " >&6
8262 if test -n "$NMEDIT"; then
8263 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8269 test -z "$as_dir" && as_dir=.
8270 for ac_exec_ext in '' $ac_executable_extensions; do
8271 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8272 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8273 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8282 NMEDIT=$ac_cv_prog_NMEDIT
8283 if test -n "$NMEDIT"; then
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8285 $as_echo "$NMEDIT" >&6; }
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8288 $as_echo "no
" >&6; }
8293 if test -z "$ac_cv_prog_NMEDIT"; then
8294 ac_ct_NMEDIT=$NMEDIT
8295 # Extract the first word of "nmedit
", so it can be a program name with args.
8296 set dummy nmedit; ac_word=$2
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8298 $as_echo_n "checking
for $ac_word...
" >&6; }
8299 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8300 $as_echo_n "(cached
) " >&6
8302 if test -n "$ac_ct_NMEDIT"; then
8303 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8309 test -z "$as_dir" && as_dir=.
8310 for ac_exec_ext in '' $ac_executable_extensions; do
8311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8312 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8313 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8322 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8323 if test -n "$ac_ct_NMEDIT"; then
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8325 $as_echo "$ac_ct_NMEDIT" >&6; }
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8328 $as_echo "no
" >&6; }
8331 if test "x
$ac_ct_NMEDIT" = x; then
8334 case $cross_compiling:$ac_tool_warned in
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8337 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8338 ac_tool_warned=yes ;;
8340 NMEDIT=$ac_ct_NMEDIT
8343 NMEDIT="$ac_cv_prog_NMEDIT"
8346 if test -n "$ac_tool_prefix"; then
8347 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8348 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8350 $as_echo_n "checking
for $ac_word...
" >&6; }
8351 if ${ac_cv_prog_LIPO+:} false; then :
8352 $as_echo_n "(cached
) " >&6
8354 if test -n "$LIPO"; then
8355 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8361 test -z "$as_dir" && as_dir=.
8362 for ac_exec_ext in '' $ac_executable_extensions; do
8363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8364 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8365 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8374 LIPO=$ac_cv_prog_LIPO
8375 if test -n "$LIPO"; then
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8377 $as_echo "$LIPO" >&6; }
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8380 $as_echo "no
" >&6; }
8385 if test -z "$ac_cv_prog_LIPO"; then
8387 # Extract the first word of "lipo
", so it can be a program name with args.
8388 set dummy lipo; ac_word=$2
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8390 $as_echo_n "checking
for $ac_word...
" >&6; }
8391 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8392 $as_echo_n "(cached
) " >&6
8394 if test -n "$ac_ct_LIPO"; then
8395 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8401 test -z "$as_dir" && as_dir=.
8402 for ac_exec_ext in '' $ac_executable_extensions; do
8403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8404 ac_cv_prog_ac_ct_LIPO="lipo
"
8405 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8414 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8415 if test -n "$ac_ct_LIPO"; then
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8417 $as_echo "$ac_ct_LIPO" >&6; }
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8420 $as_echo "no
" >&6; }
8423 if test "x
$ac_ct_LIPO" = x; then
8426 case $cross_compiling:$ac_tool_warned in
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8429 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8430 ac_tool_warned=yes ;;
8435 LIPO="$ac_cv_prog_LIPO"
8438 if test -n "$ac_tool_prefix"; then
8439 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8440 set dummy ${ac_tool_prefix}otool; ac_word=$2
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8442 $as_echo_n "checking
for $ac_word...
" >&6; }
8443 if ${ac_cv_prog_OTOOL+:} false; then :
8444 $as_echo_n "(cached
) " >&6
8446 if test -n "$OTOOL"; then
8447 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8453 test -z "$as_dir" && as_dir=.
8454 for ac_exec_ext in '' $ac_executable_extensions; do
8455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8456 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8457 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8466 OTOOL=$ac_cv_prog_OTOOL
8467 if test -n "$OTOOL"; then
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8469 $as_echo "$OTOOL" >&6; }
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8472 $as_echo "no
" >&6; }
8477 if test -z "$ac_cv_prog_OTOOL"; then
8479 # Extract the first word of "otool
", so it can be a program name with args.
8480 set dummy otool; ac_word=$2
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8482 $as_echo_n "checking
for $ac_word...
" >&6; }
8483 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8484 $as_echo_n "(cached
) " >&6
8486 if test -n "$ac_ct_OTOOL"; then
8487 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8493 test -z "$as_dir" && as_dir=.
8494 for ac_exec_ext in '' $ac_executable_extensions; do
8495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8496 ac_cv_prog_ac_ct_OTOOL="otool
"
8497 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8506 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8507 if test -n "$ac_ct_OTOOL"; then
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8509 $as_echo "$ac_ct_OTOOL" >&6; }
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8512 $as_echo "no
" >&6; }
8515 if test "x
$ac_ct_OTOOL" = x; then
8518 case $cross_compiling:$ac_tool_warned in
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8521 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8522 ac_tool_warned=yes ;;
8527 OTOOL="$ac_cv_prog_OTOOL"
8530 if test -n "$ac_tool_prefix"; then
8531 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8532 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8534 $as_echo_n "checking
for $ac_word...
" >&6; }
8535 if ${ac_cv_prog_OTOOL64+:} false; then :
8536 $as_echo_n "(cached
) " >&6
8538 if test -n "$OTOOL64"; then
8539 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8545 test -z "$as_dir" && as_dir=.
8546 for ac_exec_ext in '' $ac_executable_extensions; do
8547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8548 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8549 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8558 OTOOL64=$ac_cv_prog_OTOOL64
8559 if test -n "$OTOOL64"; then
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8561 $as_echo "$OTOOL64" >&6; }
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8564 $as_echo "no
" >&6; }
8569 if test -z "$ac_cv_prog_OTOOL64"; then
8570 ac_ct_OTOOL64=$OTOOL64
8571 # Extract the first word of "otool64
", so it can be a program name with args.
8572 set dummy otool64; ac_word=$2
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8574 $as_echo_n "checking
for $ac_word...
" >&6; }
8575 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8576 $as_echo_n "(cached
) " >&6
8578 if test -n "$ac_ct_OTOOL64"; then
8579 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8585 test -z "$as_dir" && as_dir=.
8586 for ac_exec_ext in '' $ac_executable_extensions; do
8587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8588 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8589 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8598 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8599 if test -n "$ac_ct_OTOOL64"; then
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8601 $as_echo "$ac_ct_OTOOL64" >&6; }
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8604 $as_echo "no
" >&6; }
8607 if test "x
$ac_ct_OTOOL64" = x; then
8610 case $cross_compiling:$ac_tool_warned in
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8613 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8614 ac_tool_warned=yes ;;
8616 OTOOL64=$ac_ct_OTOOL64
8619 OTOOL64="$ac_cv_prog_OTOOL64"
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8649 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8650 if ${lt_cv_apple_cc_single_mod+:} false; then :
8651 $as_echo_n "(cached
) " >&6
8653 lt_cv_apple_cc_single_mod=no
8654 if test -z "${LT_MULTI_MODULE}"; then
8655 # By default we will add the -single_module flag. You can override
8656 # by either setting the environment variable LT_MULTI_MODULE
8657 # non-empty at configure time, or by adding -multi_module to the
8659 rm -rf libconftest.dylib*
8660 echo "int foo
(void
){return 1;}" > conftest.c
8661 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8662 -dynamiclib -Wl,-single_module conftest.c
" >&5
8663 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8664 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8666 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8667 lt_cv_apple_cc_single_mod=yes
8669 cat conftest.err >&5
8671 rm -rf libconftest.dylib*
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8676 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8678 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8679 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8680 $as_echo_n "(cached
) " >&6
8682 lt_cv_ld_exported_symbols_list=no
8683 save_LDFLAGS=$LDFLAGS
8684 echo "_main
" > conftest.sym
8685 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8687 /* end confdefs.h. */
8697 if ac_fn_c_try_link "$LINENO"; then :
8698 lt_cv_ld_exported_symbols_list=yes
8700 lt_cv_ld_exported_symbols_list=no
8702 rm -f core conftest.err conftest.$ac_objext \
8703 conftest$ac_exeext conftest.$ac_ext
8704 LDFLAGS="$save_LDFLAGS"
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8708 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8710 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8711 if ${lt_cv_ld_force_load+:} false; then :
8712 $as_echo_n "(cached
) " >&6
8714 lt_cv_ld_force_load=no
8715 cat > conftest.c << _LT_EOF
8716 int forced_loaded() { return 2;}
8718 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8719 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8720 echo "$AR cru libconftest.a conftest.o
" >&5
8721 $AR cru libconftest.a conftest.o 2>&5
8722 cat > conftest.c << _LT_EOF
8723 int main() { return 0;}
8725 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8726 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8728 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8729 lt_cv_ld_force_load=yes
8731 cat conftest.err >&5
8733 rm -f conftest.err libconftest.a conftest conftest.c
8734 rm -rf conftest.dSYM
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8738 $as_echo "$lt_cv_ld_force_load" >&6; }
8740 rhapsody* | darwin1.[012])
8741 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8743 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8744 darwin*) # darwin 5.x on
8745 # if running on 10.5 or later, the deployment target defaults
8746 # to the OS version, if on x86, and 10.4, the deployment
8747 # target defaults to 10.4. Don't you love it?
8748 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8749 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8750 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8752 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8754 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8758 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8759 _lt_dar_single_mod='$single_module'
8761 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8762 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8764 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8766 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8767 _lt_dsymutil='~$DSYMUTIL $lib || :'
8774 for ac_header in dlfcn.h
8776 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8778 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
8779 cat >>confdefs.h <<_ACEOF
8780 #define HAVE_DLFCN_H 1
8803 # Check whether --enable-static was given.
8804 if test "${enable_static+set}" = set; then :
8805 enableval=$enable_static; p=${PACKAGE-default}
8807 yes) enable_static=yes ;;
8808 no) enable_static=no ;;
8811 # Look at the argument we got. We use all the common list separators.
8812 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8813 for pkg in $enableval; do
8815 if test "X
$pkg" = "X
$p"; then
8835 # Check whether --with-pic was given.
8836 if test "${with_pic+set}" = set; then :
8837 withval=$with_pic; pic_mode="$withval"
8843 test -z "$pic_mode" && pic_mode=default
8851 # Check whether --enable-fast-install was given.
8852 if test "${enable_fast_install+set}" = set; then :
8853 enableval=$enable_fast_install; p=${PACKAGE-default}
8855 yes) enable_fast_install=yes ;;
8856 no) enable_fast_install=no ;;
8858 enable_fast_install=no
8859 # Look at the argument we got. We use all the common list separators.
8860 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8861 for pkg in $enableval; do
8863 if test "X
$pkg" = "X
$p"; then
8864 enable_fast_install=yes
8871 enable_fast_install=yes
8884 # This can be used to rebuild libtool when needed
8885 LIBTOOL_DEPS="$ltmain"
8887 # Always use our own libtool.
8888 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8915 test -z "$LN_S" && LN_S="ln -s"
8930 if test -n "${ZSH_VERSION+set}" ; then
8931 setopt NO_GLOB_SUBST
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8935 $as_echo_n "checking
for objdir...
" >&6; }
8936 if ${lt_cv_objdir+:} false; then :
8937 $as_echo_n "(cached
) " >&6
8939 rm -f .libs 2>/dev/null
8940 mkdir .libs 2>/dev/null
8941 if test -d .libs; then
8944 # MS-DOS does not allow filenames that begin with a dot.
8947 rmdir .libs 2>/dev/null
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8950 $as_echo "$lt_cv_objdir" >&6; }
8951 objdir=$lt_cv_objdir
8957 cat >>confdefs.h <<_ACEOF
8958 #define LT_OBJDIR "$lt_cv_objdir/"
8966 # AIX sometimes has problems with the GCC collect2 program. For some
8967 # reason, if we set the COLLECT_NAMES environment variable, the problems
8968 # vanish in a puff of smoke.
8969 if test "X
${COLLECT_NAMES+set}" != Xset; then
8971 export COLLECT_NAMES
8978 can_build_shared=yes
8980 # All known linkers require a `.a' archive for static linking (except MSVC,
8981 # which needs '.lib').
8984 with_gnu_ld="$lt_cv_prog_gnu_ld"
8987 old_CFLAGS="$CFLAGS"
8989 # Set sane defaults for various variables
8990 test -z "$CC" && CC=cc
8991 test -z "$LTCC" && LTCC=$CC
8992 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8993 test -z "$LD" && LD=ld
8994 test -z "$ac_objext" && ac_objext=o
8996 for cc_temp in $compiler""; do
8998 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8999 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9004 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
9007 # Only perform the check for file, if the check method requires it
9008 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9009 case $deplibs_check_method in
9011 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
9013 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
9014 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9015 $as_echo_n "(cached
) " >&6
9019 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9022 lt_save_MAGIC_CMD="$MAGIC_CMD"
9023 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9024 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9025 for ac_dir in $ac_dummy; do
9027 test -z "$ac_dir" && ac_dir=.
9028 if test -f $ac_dir/${ac_tool_prefix}file; then
9029 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9030 if test -n "$file_magic_test_file"; then
9031 case $deplibs_check_method in
9033 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9034 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9035 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9036 $EGREP "$file_magic_regex" > /dev/null; then
9041 *** Warning: the command libtool uses to detect shared libraries,
9042 *** $file_magic_cmd, produces output that libtool cannot recognize.
9043 *** The result is that libtool may fail to recognize shared libraries
9044 *** as such. This will affect the creation of libtool libraries that
9045 *** depend on shared libraries, but programs linked with such libtool
9046 *** libraries will work regardless of this problem. Nevertheless, you
9047 *** may want to report the problem to your system manager and/or to
9048 *** bug-libtool@gnu.org
9058 MAGIC_CMD="$lt_save_MAGIC_CMD"
9063 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9064 if test -n "$MAGIC_CMD"; then
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9066 $as_echo "$MAGIC_CMD" >&6; }
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9069 $as_echo "no
" >&6; }
9076 if test -z "$lt_cv_path_MAGIC_CMD"; then
9077 if test -n "$ac_tool_prefix"; then
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
9079 $as_echo_n "checking
for file...
" >&6; }
9080 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9081 $as_echo_n "(cached
) " >&6
9085 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9088 lt_save_MAGIC_CMD="$MAGIC_CMD"
9089 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9090 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9091 for ac_dir in $ac_dummy; do
9093 test -z "$ac_dir" && ac_dir=.
9094 if test -f $ac_dir/file; then
9095 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9096 if test -n "$file_magic_test_file"; then
9097 case $deplibs_check_method in
9099 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9100 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9101 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9102 $EGREP "$file_magic_regex" > /dev/null; then
9107 *** Warning: the command libtool uses to detect shared libraries,
9108 *** $file_magic_cmd, produces output that libtool cannot recognize.
9109 *** The result is that libtool may fail to recognize shared libraries
9110 *** as such. This will affect the creation of libtool libraries that
9111 *** depend on shared libraries, but programs linked with such libtool
9112 *** libraries will work regardless of this problem. Nevertheless, you
9113 *** may want to report the problem to your system manager and/or to
9114 *** bug-libtool@gnu.org
9124 MAGIC_CMD="$lt_save_MAGIC_CMD"
9129 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9130 if test -n "$MAGIC_CMD"; then
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9132 $as_echo "$MAGIC_CMD" >&6; }
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9135 $as_echo "no
" >&6; }
9148 # Use C for the default configuration in the libtool script
9152 ac_cpp='$CPP $CPPFLAGS'
9153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9158 # Source file extension for C test sources.
9161 # Object file extension for compiled C test sources.
9165 # Code to be used in simple compile tests
9166 lt_simple_compile_test_code="int some_variable
= 0;"
9168 # Code to be used in simple link tests
9169 lt_simple_link_test_code='int main(){return(0);}'
9177 # If no C compiler was specified, use CC.
9180 # If no C compiler flags were specified, use CFLAGS.
9181 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9183 # Allow CC to be a program name with arguments.
9186 # Save the default compiler, since it gets overwritten when the other
9187 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9188 compiler_DEFAULT=$CC
9190 # save warnings/boilerplate of simple test code
9191 ac_outfile=conftest.$ac_objext
9192 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9193 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9194 _lt_compiler_boilerplate=`cat conftest.err`
9197 ac_outfile=conftest.$ac_objext
9198 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9199 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9200 _lt_linker_boilerplate=`cat conftest.err`
9205 ## There is no encapsulation within the following macros, do not change
9206 ## the running order or otherwise move them around unless you know exactly
9207 ## what you are doing...
9208 if test -n "$compiler"; then
9210 lt_prog_compiler_no_builtin_flag=
9212 if test "$GCC" = yes; then
9213 case $cc_basename in
9215 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9217 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
9221 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
9222 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9223 $as_echo_n "(cached
) " >&6
9225 lt_cv_prog_compiler_rtti_exceptions=no
9226 ac_outfile=conftest.$ac_objext
9227 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9228 lt_compiler_flag="-fno-rtti -fno-exceptions"
9229 # Insert the option either (1) after the last *FLAGS variable, or
9230 # (2) before a word containing "conftest.
", or (3) at the end.
9231 # Note that $ac_compile itself does not contain backslashes and begins
9232 # with a dollar sign (not a hyphen), so the echo should work correctly.
9233 # The option is referenced via a variable to avoid confusing sed.
9234 lt_compile=`echo "$ac_compile" | $SED \
9235 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9236 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9237 -e 's:$: $lt_compiler_flag:'`
9238 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9239 (eval "$lt_compile" 2>conftest.err)
9241 cat conftest.err >&5
9242 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9243 if (exit $ac_status) && test -s "$ac_outfile"; then
9244 # The compiler can only warn and ignore the option if not recognized
9245 # So say no if there are warnings other than the usual output.
9246 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9247 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9248 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9249 lt_cv_prog_compiler_rtti_exceptions=yes
9255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
9256 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9258 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9259 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9271 lt_prog_compiler_wl=
9272 lt_prog_compiler_pic=
9273 lt_prog_compiler_static=
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
9276 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
9278 if test "$GCC" = yes; then
9279 lt_prog_compiler_wl='-Wl,'
9280 lt_prog_compiler_static='-static'
9284 # All AIX code is PIC.
9285 if test "$host_cpu" = ia64; then
9286 # AIX 5 now supports IA64 processor
9287 lt_prog_compiler_static='-Bstatic'
9289 lt_prog_compiler_pic='-fPIC'
9295 # see comment about AmigaOS4 .so support
9296 lt_prog_compiler_pic='-fPIC'
9299 # FIXME: we need at least 68020 code to build shared libraries, but
9300 # adding the `-m68020' flag to GCC prevents building anything better,
9302 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9307 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9308 # PIC is the default for these OSes.
9311 mingw* | cygwin* | pw32* | os2* | cegcc*)
9312 # This hack is so that the source file can tell whether it is being
9313 # built for inclusion in a dll (and should export symbols for example).
9314 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9315 # (--disable-auto-import) libraries
9316 lt_prog_compiler_pic='-DDLL_EXPORT'
9319 darwin* | rhapsody*)
9320 # PIC is the default on this platform
9321 # Common symbols not allowed in MH_DYLIB files
9322 lt_prog_compiler_pic='-fno-common'
9326 # PIC is the default for Haiku.
9327 # The "-static" flag exists, but is broken.
9328 lt_prog_compiler_static=
9332 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9333 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9334 # sets the default TLS model and affects inlining.
9340 lt_prog_compiler_pic='-fPIC'
9346 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9347 # Instead, we relocate shared libraries at runtime.
9351 # Just because we use GCC doesn't mean we suddenly get shared libraries
9352 # on systems that don't support them.
9353 lt_prog_compiler_can_build_shared=no
9358 # QNX uses GNU C++, but need to define -shared option too, otherwise
9360 lt_prog_compiler_pic='-fPIC -shared'
9364 if test -d /usr/nec; then
9365 lt_prog_compiler_pic=-Kconform_pic
9370 lt_prog_compiler_pic='-fPIC'
9374 case $cc_basename in
9375 nvcc*) # Cuda Compiler Driver 2.2
9376 lt_prog_compiler_wl='-Xlinker '
9377 lt_prog_compiler_pic='-Xcompiler -fPIC'
9381 # PORTME Check for flag to pass linker flags through the system compiler.
9384 lt_prog_compiler_wl='-Wl,'
9385 if test "$host_cpu" = ia64; then
9386 # AIX 5 now supports IA64 processor
9387 lt_prog_compiler_static='-Bstatic'
9389 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9393 mingw* | cygwin* | pw32* | os2* | cegcc*)
9394 # This hack is so that the source file can tell whether it is being
9395 # built for inclusion in a dll (and should export symbols for example).
9396 lt_prog_compiler_pic='-DDLL_EXPORT'
9399 hpux9* | hpux10* | hpux11*)
9400 lt_prog_compiler_wl='-Wl,'
9401 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9408 lt_prog_compiler_pic='+Z'
9411 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9412 lt_prog_compiler_static='${wl}-a ${wl}archive'
9415 irix5* | irix6* | nonstopux*)
9416 lt_prog_compiler_wl='-Wl,'
9417 # PIC (with -KPIC) is the default.
9418 lt_prog_compiler_static='-non_shared'
9421 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9422 case $cc_basename in
9423 # old Intel for x86_64 which still supported -KPIC.
9425 lt_prog_compiler_wl='-Wl,'
9426 lt_prog_compiler_pic='-KPIC'
9427 lt_prog_compiler_static='-static'
9429 # icc used to be incompatible with GCC.
9430 # ICC 10 doesn't accept -KPIC any more.
9432 lt_prog_compiler_wl='-Wl,'
9433 lt_prog_compiler_pic='-fPIC'
9434 lt_prog_compiler_static='-static'
9436 # Lahey Fortran 8.1.
9438 lt_prog_compiler_wl='-Wl,'
9439 lt_prog_compiler_pic='--shared'
9440 lt_prog_compiler_static='--static'
9442 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9443 # Portland Group compilers (*not* the Pentium gcc compiler,
9444 # which looks to be a dead project)
9445 lt_prog_compiler_wl='-Wl,'
9446 lt_prog_compiler_pic='-fpic'
9447 lt_prog_compiler_static='-Bstatic'
9450 lt_prog_compiler_wl='-Wl,'
9451 # All Alpha code is PIC.
9452 lt_prog_compiler_static='-non_shared'
9454 xl* | bgxl* | bgf* | mpixl*)
9455 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9456 lt_prog_compiler_wl='-Wl,'
9457 lt_prog_compiler_pic='-qpic'
9458 lt_prog_compiler_static='-qstaticlink'
9461 case `$CC -V 2>&1 | sed 5q` in
9462 *Sun\ F* | *Sun*Fortran*)
9463 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9464 lt_prog_compiler_pic='-KPIC'
9465 lt_prog_compiler_static='-Bstatic'
9466 lt_prog_compiler_wl=''
9470 lt_prog_compiler_pic='-KPIC'
9471 lt_prog_compiler_static='-Bstatic'
9472 lt_prog_compiler_wl='-Wl,'
9480 lt_prog_compiler_pic='-KPIC'
9481 lt_prog_compiler_static='-Bstatic'
9485 # QNX uses GNU C++, but need to define -shared option too, otherwise
9487 lt_prog_compiler_pic='-fPIC -shared'
9490 osf3* | osf4* | osf5*)
9491 lt_prog_compiler_wl='-Wl,'
9492 # All OSF/1 code is PIC.
9493 lt_prog_compiler_static='-non_shared'
9497 lt_prog_compiler_static='-non_shared'
9501 lt_prog_compiler_pic='-KPIC'
9502 lt_prog_compiler_static='-Bstatic'
9503 case $cc_basename in
9505 lt_prog_compiler_wl='-Qoption ld ';;
9507 lt_prog_compiler_wl='-Wl,';;
9512 lt_prog_compiler_wl='-Qoption ld '
9513 lt_prog_compiler_pic='-PIC'
9514 lt_prog_compiler_static='-Bstatic'
9517 sysv4 | sysv4.2uw2* | sysv4.3*)
9518 lt_prog_compiler_wl='-Wl,'
9519 lt_prog_compiler_pic='-KPIC'
9520 lt_prog_compiler_static='-Bstatic'
9524 if test -d /usr/nec ;then
9525 lt_prog_compiler_pic='-Kconform_pic'
9526 lt_prog_compiler_static='-Bstatic'
9530 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9531 lt_prog_compiler_wl='-Wl,'
9532 lt_prog_compiler_pic='-KPIC'
9533 lt_prog_compiler_static='-Bstatic'
9537 lt_prog_compiler_wl='-Wl,'
9538 lt_prog_compiler_can_build_shared=no
9542 lt_prog_compiler_pic='-pic'
9543 lt_prog_compiler_static='-Bstatic'
9547 lt_prog_compiler_can_build_shared=no
9553 # For platforms which do not support PIC, -DPIC is meaningless:
9555 lt_prog_compiler_pic=
9558 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
9562 $as_echo "$lt_prog_compiler_pic" >&6; }
9570 # Check to make sure the PIC flag actually works.
9572 if test -n "$lt_prog_compiler_pic"; then
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
9574 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
9575 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9576 $as_echo_n "(cached
) " >&6
9578 lt_cv_prog_compiler_pic_works=no
9579 ac_outfile=conftest.$ac_objext
9580 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9581 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9582 # Insert the option either (1) after the last *FLAGS variable, or
9583 # (2) before a word containing "conftest.
", or (3) at the end.
9584 # Note that $ac_compile itself does not contain backslashes and begins
9585 # with a dollar sign (not a hyphen), so the echo should work correctly.
9586 # The option is referenced via a variable to avoid confusing sed.
9587 lt_compile=`echo "$ac_compile" | $SED \
9588 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9589 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9590 -e 's:$: $lt_compiler_flag:'`
9591 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9592 (eval "$lt_compile" 2>conftest.err)
9594 cat conftest.err >&5
9595 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9596 if (exit $ac_status) && test -s "$ac_outfile"; then
9597 # The compiler can only warn and ignore the option if not recognized
9598 # So say no if there are warnings other than the usual output.
9599 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9600 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9601 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9602 lt_cv_prog_compiler_pic_works=yes
9608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9609 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9611 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9612 case $lt_prog_compiler_pic in
9614 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9617 lt_prog_compiler_pic=
9618 lt_prog_compiler_can_build_shared=no
9629 # Check to make sure the static flag actually works.
9631 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9633 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9634 if ${lt_cv_prog_compiler_static_works+:} false; then :
9635 $as_echo_n "(cached
) " >&6
9637 lt_cv_prog_compiler_static_works=no
9638 save_LDFLAGS="$LDFLAGS"
9639 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9640 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9641 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9642 # The linker can only warn and ignore the option if not recognized
9643 # So say no if there are warnings
9644 if test -s conftest.err; then
9645 # Append any errors to the config.log.
9646 cat conftest.err 1>&5
9647 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9648 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9649 if diff conftest.exp conftest.er2 >/dev/null; then
9650 lt_cv_prog_compiler_static_works=yes
9653 lt_cv_prog_compiler_static_works=yes
9657 LDFLAGS="$save_LDFLAGS"
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9661 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9663 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9666 lt_prog_compiler_static=
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9676 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9677 if ${lt_cv_prog_compiler_c_o+:} false; then :
9678 $as_echo_n "(cached
) " >&6
9680 lt_cv_prog_compiler_c_o=no
9681 $RM -r conftest 2>/dev/null
9685 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9687 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9688 # Insert the option either (1) after the last *FLAGS variable, or
9689 # (2) before a word containing "conftest.
", or (3) at the end.
9690 # Note that $ac_compile itself does not contain backslashes and begins
9691 # with a dollar sign (not a hyphen), so the echo should work correctly.
9692 lt_compile=`echo "$ac_compile" | $SED \
9693 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9694 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9695 -e 's:$: $lt_compiler_flag:'`
9696 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9697 (eval "$lt_compile" 2>out/conftest.err)
9699 cat out/conftest.err >&5
9700 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9701 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9703 # The compiler can only warn and ignore the option if not recognized
9704 # So say no if there are warnings
9705 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9706 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9707 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9708 lt_cv_prog_compiler_c_o=yes
9713 # SGI C++ compiler will create directory out/ii_files/ for
9714 # template instantiation
9715 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9716 $RM out/* && rmdir out
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9723 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9731 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9732 if ${lt_cv_prog_compiler_c_o+:} false; then :
9733 $as_echo_n "(cached
) " >&6
9735 lt_cv_prog_compiler_c_o=no
9736 $RM -r conftest 2>/dev/null
9740 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9742 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9743 # Insert the option either (1) after the last *FLAGS variable, or
9744 # (2) before a word containing "conftest.
", or (3) at the end.
9745 # Note that $ac_compile itself does not contain backslashes and begins
9746 # with a dollar sign (not a hyphen), so the echo should work correctly.
9747 lt_compile=`echo "$ac_compile" | $SED \
9748 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9749 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9750 -e 's:$: $lt_compiler_flag:'`
9751 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9752 (eval "$lt_compile" 2>out/conftest.err)
9754 cat out/conftest.err >&5
9755 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9756 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9758 # The compiler can only warn and ignore the option if not recognized
9759 # So say no if there are warnings
9760 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9761 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9762 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9763 lt_cv_prog_compiler_c_o=yes
9768 # SGI C++ compiler will create directory out/ii_files/ for
9769 # template instantiation
9770 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9771 $RM out/* && rmdir out
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9778 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9783 hard_links="nottested
"
9784 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9785 # do not overwrite the value of need_locks provided by the user
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9787 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9790 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9792 ln conftest.a conftest.b 2>&5 || hard_links=no
9793 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9795 $as_echo "$hard_links" >&6; }
9796 if test "$hard_links" = no; then
9797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
9798 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9811 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9814 allow_undefined_flag=
9815 always_export_symbols=no
9817 archive_expsym_cmds=
9818 compiler_needs_object=no
9819 enable_shared_with_static_runtimes=no
9820 export_dynamic_flag_spec=
9821 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9822 hardcode_automatic=no
9824 hardcode_direct_absolute=no
9825 hardcode_libdir_flag_spec=
9826 hardcode_libdir_flag_spec_ld=
9827 hardcode_libdir_separator=
9829 hardcode_shlibpath_var=unsupported
9831 link_all_deplibs=unknown
9834 old_archive_from_new_cmds=
9835 old_archive_from_expsyms_cmds=
9836 thread_safe_flag_spec=
9837 whole_archive_flag_spec=
9838 # include_expsyms should be a list of space-separated symbols to be *always*
9839 # included in the symbol list
9841 # exclude_expsyms can be an extended regexp of symbols to exclude
9842 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9843 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9844 # as well as any symbol that contains `d'.
9845 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9846 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9847 # platforms (ab)use it in PIC code, but their linkers get confused if
9848 # the symbol is explicitly referenced. Since portable code cannot
9849 # rely on this symbol name, it's probably fine to never include it in
9850 # preloaded symbol tables.
9851 # Exclude shared library initialization/finalization symbols.
9852 extract_expsyms_cmds=
9855 cygwin* | mingw* | pw32* | cegcc*)
9856 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9857 # When not using gcc, we currently assume that we are using
9858 # Microsoft Visual C++.
9859 if test "$GCC" != yes; then
9864 # we just hope/assume this is gcc and not c89 (= MSVC++)
9874 # On some targets, GNU ld is compatible enough with the native linker
9875 # that we're better off using the native interface for both.
9876 lt_use_gnu_ld_interface=no
9877 if test "$with_gnu_ld" = yes; then
9880 # The AIX port of GNU ld has always aspired to compatibility
9881 # with the native linker. However, as the warning in the GNU ld
9882 # block says, versions before 2.19.5* couldn't really create working
9883 # shared libraries, regardless of the interface used.
9884 case `$LD -v 2>&1` in
9885 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9886 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9887 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9889 lt_use_gnu_ld_interface=yes
9894 lt_use_gnu_ld_interface=yes
9899 if test "$lt_use_gnu_ld_interface" = yes; then
9900 # If archive_cmds runs LD, not CC, wlarc should be empty
9903 # Set some defaults for GNU ld with shared library support. These
9904 # are reset later if shared libraries are not supported. Putting them
9905 # here allows them to be overridden if necessary.
9906 runpath_var=LD_RUN_PATH
9907 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9908 export_dynamic_flag_spec='${wl}--export-dynamic'
9909 # ancient GNU ld didn't support --whole-archive et. al.
9910 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9911 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9913 whole_archive_flag_spec=
9915 supports_anon_versioning=no
9916 case `$LD -v 2>&1` in
9917 *GNU\ gold*) supports_anon_versioning=yes ;;
9918 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9919 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9920 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9921 *\ 2.11.*) ;; # other 2.11 versions
9922 *) supports_anon_versioning=yes ;;
9925 # See if GNU ld supports shared libraries.
9928 # On AIX/PPC, the GNU linker is very broken
9929 if test "$host_cpu" != ia64; then
9933 *** Warning: the GNU linker, at least up to release 2.19, is reported
9934 *** to be unable to reliably create shared libraries on AIX.
9935 *** Therefore, libtool is disabling shared libraries support. If you
9936 *** really care for shared libraries, you may want to install binutils
9937 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9938 *** You will then need to restart the configuration process.
9947 # see comment about AmigaOS4 .so support
9948 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9949 archive_expsym_cmds=''
9952 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)'
9953 hardcode_libdir_flag_spec
='-L$libdir'
9954 hardcode_minus_L
=yes
9960 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9961 allow_undefined_flag
=unsupported
9962 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9963 # support --undefined. This deserves some investigation. FIXME
9964 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9970 cygwin
* | mingw
* | pw32
* | cegcc
*)
9971 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9972 # as there is no search path for DLLs.
9973 hardcode_libdir_flag_spec
='-L$libdir'
9974 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9975 allow_undefined_flag
=unsupported
9976 always_export_symbols
=no
9977 enable_shared_with_static_runtimes
=yes
9978 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9980 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9981 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9982 # If the export-symbols file already is a .def file (1st line
9983 # is EXPORTS), use it as is; otherwise, prepend...
9984 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9985 cp $export_symbols $output_objdir/$soname.def;
9987 echo EXPORTS > $output_objdir/$soname.def;
9988 cat $export_symbols >> $output_objdir/$soname.def;
9990 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9997 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9998 link_all_deplibs
=yes
10003 hardcode_shlibpath_var
=no
10004 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10005 export_dynamic_flag_spec
='${wl}-E'
10006 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10007 # Instead, shared libraries are loaded at an image base (0x10000000 by
10008 # default) and relocated if they conflict, which is a slow very memory
10009 # consuming and fragmenting process. To avoid this, we pick a random,
10010 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10011 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10012 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10013 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'
10016 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10018 if test "$host_os" = linux-dietlibc
; then
10019 case $cc_basename in
10020 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10023 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10024 && test "$tmp_diet" = no
10026 tmp_addflag
=' $pic_flag'
10027 tmp_sharedflag
='-shared'
10028 case $cc_basename,$host_cpu in
10029 pgcc
*) # Portland Group C compiler
10030 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'
10031 tmp_addflag
=' $pic_flag'
10033 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10034 # Portland Group f77 and f90 compilers
10035 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'
10036 tmp_addflag
=' $pic_flag -Mnomain' ;;
10037 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10038 tmp_addflag
=' -i_dynamic' ;;
10039 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10040 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10041 ifc
* | ifort
*) # Intel Fortran compiler
10042 tmp_addflag
=' -nofor_main' ;;
10043 lf95
*) # Lahey Fortran 8.1
10044 whole_archive_flag_spec
=
10045 tmp_sharedflag
='--shared' ;;
10046 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10047 tmp_sharedflag
='-qmkshrobj'
10049 nvcc
*) # Cuda Compiler Driver 2.2
10050 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'
10051 compiler_needs_object
=yes
10054 case `$CC -V 2>&1 | sed 5q` in
10055 *Sun\ C
*) # Sun C 5.9
10056 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'
10057 compiler_needs_object
=yes
10058 tmp_sharedflag
='-G' ;;
10059 *Sun\ F
*) # Sun Fortran 8.3
10060 tmp_sharedflag
='-G' ;;
10062 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10064 if test "x$supports_anon_versioning" = xyes
; then
10065 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10066 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10067 echo "local: *; };" >> $output_objdir/$libname.ver~
10068 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10071 case $cc_basename in
10072 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10073 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10074 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10075 hardcode_libdir_flag_spec
=
10076 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10077 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10078 if test "x$supports_anon_versioning" = xyes
; then
10079 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10080 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10081 echo "local: *; };" >> $output_objdir/$libname.ver~
10082 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10092 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10093 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10096 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10097 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10102 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10106 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10107 *** create shared libraries on Solaris systems. Therefore, libtool
10108 *** is disabling shared libraries support. We urge you to upgrade GNU
10109 *** binutils to release 2.9.1 or newer. Another option is to modify
10110 *** your PATH or compiler configuration so that the native linker is
10111 *** used, and then restart.
10114 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10115 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10116 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10122 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10123 case `$LD -v 2>&1` in
10124 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10128 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10129 *** reliably create shared libraries on SCO systems. Therefore, libtool
10130 *** is disabling shared libraries support. We urge you to upgrade GNU
10131 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10132 *** your PATH or compiler configuration so that the native linker is
10133 *** used, and then restart.
10138 # For security reasons, it is highly recommended that you always
10139 # use absolute paths for naming shared libraries, and exclude the
10140 # DT_RUNPATH tag from executables and libraries. But doing so
10141 # requires that you compile everything twice, which is a pain.
10142 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10143 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10144 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10145 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10154 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10156 hardcode_direct
=yes
10157 hardcode_shlibpath_var
=no
10161 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10162 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10163 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10170 if test "$ld_shlibs" = no
; then
10172 hardcode_libdir_flag_spec
=
10173 export_dynamic_flag_spec
=
10174 whole_archive_flag_spec
=
10177 # PORTME fill in a description of your system's linker (not GNU ld)
10180 allow_undefined_flag
=unsupported
10181 always_export_symbols
=yes
10182 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'
10183 # Note: this linker hardcodes the directories in LIBPATH if there
10184 # are no directories specified by -L.
10185 hardcode_minus_L
=yes
10186 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10187 # Neither direct hardcoding nor static linking is supported with a
10189 hardcode_direct
=unsupported
10194 if test "$host_cpu" = ia64
; then
10195 # On IA64, the linker does run time linking by default, so we don't
10196 # have to do anything special.
10197 aix_use_runtimelinking
=no
10198 exp_sym_flag
='-Bexport'
10201 # If we're using GNU nm, then we don't want the "-C" option.
10202 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10203 # Also, AIX nm treats weak defined symbols like other global
10204 # defined symbols, whereas GNU nm marks them as "W".
10205 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10206 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'
10208 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'
10210 aix_use_runtimelinking
=no
10212 # Test if we are trying to use run time linking or normal
10213 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10214 # need to do runtime linking.
10215 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10216 for ld_flag
in $LDFLAGS; do
10217 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10218 aix_use_runtimelinking
=yes
10225 exp_sym_flag
='-bexport'
10226 no_entry_flag
='-bnoentry'
10229 # When large executables or shared objects are built, AIX ld can
10230 # have problems creating the table of contents. If linking a library
10231 # or program results in "error TOC overflow" add -mminimal-toc to
10232 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10233 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10236 hardcode_direct
=yes
10237 hardcode_direct_absolute
=yes
10238 hardcode_libdir_separator
=':'
10239 link_all_deplibs
=yes
10240 file_list_spec
='${wl}-f,'
10242 if test "$GCC" = yes; then
10243 case $host_os in aix4.
[012]|aix4.
[012].
*)
10244 # We only want to do this on AIX 4.2 and lower, the check
10245 # below for broken collect2 doesn't work under 4.3+
10246 collect2name
=`${CC} -print-prog-name=collect2`
10247 if test -f "$collect2name" &&
10248 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10250 # We have reworked collect2
10253 # We have old collect2
10254 hardcode_direct
=unsupported
10255 # It fails to find uninstalled libraries when the uninstalled
10256 # path is not listed in the libpath. Setting hardcode_minus_L
10257 # to unsupported forces relinking
10258 hardcode_minus_L
=yes
10259 hardcode_libdir_flag_spec
='-L$libdir'
10260 hardcode_libdir_separator
=
10264 shared_flag
='-shared'
10265 if test "$aix_use_runtimelinking" = yes; then
10266 shared_flag
="$shared_flag "'${wl}-G'
10270 if test "$host_cpu" = ia64
; then
10271 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10272 # chokes on -Wl,-G. The following line is correct:
10275 if test "$aix_use_runtimelinking" = yes; then
10276 shared_flag
='${wl}-G'
10278 shared_flag
='${wl}-bM:SRE'
10283 export_dynamic_flag_spec
='${wl}-bexpall'
10284 # It seems that -bexpall does not export symbols beginning with
10285 # underscore (_), so it is better to generate a list of symbols to export.
10286 always_export_symbols
=yes
10287 if test "$aix_use_runtimelinking" = yes; then
10288 # Warning - without using the other runtime loading flags (-brtl),
10289 # -berok will link without error, but may produce a broken library.
10290 allow_undefined_flag
='-berok'
10291 # Determine the default libpath from the value encoded in an
10292 # empty executable.
10293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10294 /* end confdefs.h. */
10304 if ac_fn_c_try_link
"$LINENO"; then :
10306 lt_aix_libpath_sed
='
10307 /Import File Strings/,/^$/ {
10313 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10314 # Check for a 64-bit object if we didn't find anything.
10315 if test -z "$aix_libpath"; then
10316 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10319 rm -f core conftest.err conftest.
$ac_objext \
10320 conftest
$ac_exeext conftest.
$ac_ext
10321 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10323 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10324 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"
10326 if test "$host_cpu" = ia64
; then
10327 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10328 allow_undefined_flag
="-z nodefs"
10329 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"
10331 # Determine the default libpath from the value encoded in an
10332 # empty executable.
10333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10334 /* end confdefs.h. */
10344 if ac_fn_c_try_link
"$LINENO"; then :
10346 lt_aix_libpath_sed
='
10347 /Import File Strings/,/^$/ {
10353 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10354 # Check for a 64-bit object if we didn't find anything.
10355 if test -z "$aix_libpath"; then
10356 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10359 rm -f core conftest.err conftest.
$ac_objext \
10360 conftest
$ac_exeext conftest.
$ac_ext
10361 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10363 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10364 # Warning - without using the other run time loading flags,
10365 # -berok will link without error, but may produce a broken library.
10366 no_undefined_flag
=' ${wl}-bernotok'
10367 allow_undefined_flag
=' ${wl}-berok'
10368 if test "$with_gnu_ld" = yes; then
10369 # We only use this code for GNU lds that support --whole-archive.
10370 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10372 # Exported symbols can be pulled into shared objects from archives
10373 whole_archive_flag_spec
='$convenience'
10375 archive_cmds_need_lc
=yes
10376 # This is similar to how AIX traditionally builds its shared libraries.
10377 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'
10385 # see comment about AmigaOS4 .so support
10386 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10387 archive_expsym_cmds
=''
10390 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)'
10391 hardcode_libdir_flag_spec
='-L$libdir'
10392 hardcode_minus_L
=yes
10398 export_dynamic_flag_spec
=-rdynamic
10401 cygwin
* | mingw
* | pw32
* | cegcc
*)
10402 # When not using gcc, we currently assume that we are using
10403 # Microsoft Visual C++.
10404 # hardcode_libdir_flag_spec is actually meaningless, as there is
10405 # no search path for DLLs.
10406 hardcode_libdir_flag_spec
=' '
10407 allow_undefined_flag
=unsupported
10408 # Tell ltmain to make .lib files, not .a files.
10410 # Tell ltmain to make .dll files, not .so files.
10412 # FIXME: Setting linknames here is a bad hack.
10413 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10414 # The linker will automatically build a .lib file if we build a DLL.
10415 old_archive_from_new_cmds
='true'
10416 # FIXME: Should let the user specify the lib program.
10417 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10418 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10419 enable_shared_with_static_runtimes
=yes
10422 darwin
* | rhapsody
*)
10425 archive_cmds_need_lc
=no
10427 hardcode_automatic
=yes
10428 hardcode_shlibpath_var
=unsupported
10429 if test "$lt_cv_ld_force_load" = "yes"; then
10430 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\"`'
10432 whole_archive_flag_spec
=''
10434 link_all_deplibs
=yes
10435 allow_undefined_flag
="$_lt_dar_allow_undefined"
10436 case $cc_basename in
10437 ifort
*) _lt_dar_can_shared
=yes ;;
10438 *) _lt_dar_can_shared
=$GCC ;;
10440 if test "$_lt_dar_can_shared" = "yes"; then
10441 output_verbose_link_cmd
=func_echo_all
10442 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10443 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10444 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}"
10445 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}"
10454 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10455 hardcode_libdir_flag_spec
='-L$libdir'
10456 hardcode_shlibpath_var
=no
10459 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10460 # support. Future versions do this automatically, but an explicit c++rt0.o
10461 # does not break anything, and helps significantly (at the cost of a little
10464 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10465 hardcode_libdir_flag_spec
='-R$libdir'
10466 hardcode_direct
=yes
10467 hardcode_shlibpath_var
=no
10470 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10472 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10473 hardcode_direct
=yes
10474 hardcode_minus_L
=yes
10475 hardcode_shlibpath_var
=no
10478 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10479 freebsd
* | dragonfly
*)
10480 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10481 hardcode_libdir_flag_spec
='-R$libdir'
10482 hardcode_direct
=yes
10483 hardcode_shlibpath_var
=no
10487 if test "$GCC" = yes; then
10488 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'
10490 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'
10492 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10493 hardcode_libdir_separator
=:
10494 hardcode_direct
=yes
10496 # hardcode_minus_L: Not really in the search PATH,
10497 # but as the default location of the library.
10498 hardcode_minus_L
=yes
10499 export_dynamic_flag_spec
='${wl}-E'
10503 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10504 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10506 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10508 if test "$with_gnu_ld" = no
; then
10509 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10510 hardcode_libdir_flag_spec_ld
='+b $libdir'
10511 hardcode_libdir_separator
=:
10512 hardcode_direct
=yes
10513 hardcode_direct_absolute
=yes
10514 export_dynamic_flag_spec
='${wl}-E'
10515 # hardcode_minus_L: Not really in the search PATH,
10516 # but as the default location of the library.
10517 hardcode_minus_L
=yes
10522 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10525 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10528 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10531 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10537 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10540 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10544 # Older versions of the 11.00 compiler do not understand -b yet
10545 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10547 $as_echo_n "checking if $CC understands -b... " >&6; }
10548 if ${lt_cv_prog_compiler__b+:} false
; then :
10549 $as_echo_n "(cached) " >&6
10551 lt_cv_prog_compiler__b
=no
10552 save_LDFLAGS
="$LDFLAGS"
10553 LDFLAGS
="$LDFLAGS -b"
10554 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10555 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10556 # The linker can only warn and ignore the option if not recognized
10557 # So say no if there are warnings
10558 if test -s conftest.err
; then
10559 # Append any errors to the config.log.
10560 cat conftest.err
1>&5
10561 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10562 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10563 if diff conftest.exp conftest.er2
>/dev
/null
; then
10564 lt_cv_prog_compiler__b
=yes
10567 lt_cv_prog_compiler__b
=yes
10571 LDFLAGS
="$save_LDFLAGS"
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10575 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10577 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10578 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10580 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10586 if test "$with_gnu_ld" = no
; then
10587 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10588 hardcode_libdir_separator
=:
10593 hardcode_shlibpath_var
=no
10596 hardcode_direct
=yes
10597 hardcode_direct_absolute
=yes
10598 export_dynamic_flag_spec
='${wl}-E'
10600 # hardcode_minus_L: Not really in the search PATH,
10601 # but as the default location of the library.
10602 hardcode_minus_L
=yes
10608 irix5
* | irix6
* | nonstopux
*)
10609 if test "$GCC" = yes; then
10610 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'
10611 # Try to use the -exported_symbol ld option, if it does not
10612 # work, assume that -exports_file does not work either and
10613 # implicitly export all symbols.
10614 save_LDFLAGS
="$LDFLAGS"
10615 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10617 /* end confdefs.h. */
10620 if ac_fn_c_try_link
"$LINENO"; then :
10621 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'
10624 rm -f core conftest.err conftest.
$ac_objext \
10625 conftest
$ac_exeext conftest.
$ac_ext
10626 LDFLAGS
="$save_LDFLAGS"
10628 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'
10629 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'
10631 archive_cmds_need_lc
='no'
10632 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10633 hardcode_libdir_separator
=:
10635 link_all_deplibs
=yes
10639 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10640 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10642 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10644 hardcode_libdir_flag_spec
='-R$libdir'
10645 hardcode_direct
=yes
10646 hardcode_shlibpath_var
=no
10650 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10651 hardcode_direct
=yes
10652 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10653 hardcode_libdir_separator
=:
10654 hardcode_shlibpath_var
=no
10661 if test -f /usr
/libexec
/ld.so
; then
10662 hardcode_direct
=yes
10663 hardcode_shlibpath_var
=no
10664 hardcode_direct_absolute
=yes
10665 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10666 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10667 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10668 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10669 export_dynamic_flag_spec
='${wl}-E'
10672 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10673 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10674 hardcode_libdir_flag_spec
='-R$libdir'
10677 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10678 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10688 hardcode_libdir_flag_spec
='-L$libdir'
10689 hardcode_minus_L
=yes
10690 allow_undefined_flag
=unsupported
10691 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'
10692 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10696 if test "$GCC" = yes; then
10697 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10698 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'
10700 allow_undefined_flag
=' -expect_unresolved \*'
10701 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'
10703 archive_cmds_need_lc
='no'
10704 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10705 hardcode_libdir_separator
=:
10708 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10709 if test "$GCC" = yes; then
10710 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10711 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'
10712 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10714 allow_undefined_flag
=' -expect_unresolved \*'
10715 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'
10716 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~
10717 $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'
10719 # Both c and cxx compiler support -rpath directly
10720 hardcode_libdir_flag_spec
='-rpath $libdir'
10722 archive_cmds_need_lc
='no'
10723 hardcode_libdir_separator
=:
10727 no_undefined_flag
=' -z defs'
10728 if test "$GCC" = yes; then
10730 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10731 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10732 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10734 case `$CC -V 2>&1` in
10737 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10738 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10739 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10743 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10744 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10745 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10749 hardcode_libdir_flag_spec
='-R$libdir'
10750 hardcode_shlibpath_var
=no
10752 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10754 # The compiler driver will combine and reorder linker options,
10755 # but understands `-z linker_flag'. GCC discards it without `$wl',
10756 # but is careful enough not to reorder.
10757 # Supported since Solaris 2.6 (maybe 2.5.1?)
10758 if test "$GCC" = yes; then
10759 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10761 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10765 link_all_deplibs
=yes
10769 if test "x$host_vendor" = xsequent
; then
10770 # Use $CC to link under sequent, because it throws in some extra .o
10771 # files that make .init and .fini sections work.
10772 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10774 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10776 hardcode_libdir_flag_spec
='-L$libdir'
10777 hardcode_direct
=yes
10778 hardcode_minus_L
=yes
10779 hardcode_shlibpath_var
=no
10783 case $host_vendor in
10785 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10786 hardcode_direct
=yes # is this really true???
10789 ## LD is ld it makes a PLAMLIB
10790 ## CC just makes a GrossModule.
10791 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10792 reload_cmds
='$CC -r -o $output$reload_objs'
10796 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10797 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10800 runpath_var
='LD_RUN_PATH'
10801 hardcode_shlibpath_var
=no
10805 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10806 hardcode_shlibpath_var
=no
10807 export_dynamic_flag_spec
='-Bexport'
10811 if test -d /usr
/nec
; then
10812 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10813 hardcode_shlibpath_var
=no
10814 runpath_var
=LD_RUN_PATH
10815 hardcode_runpath_var
=yes
10820 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10821 no_undefined_flag
='${wl}-z,text'
10822 archive_cmds_need_lc
=no
10823 hardcode_shlibpath_var
=no
10824 runpath_var
='LD_RUN_PATH'
10826 if test "$GCC" = yes; then
10827 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10828 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10830 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10831 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10835 sysv5
* | sco3.2v5
* | sco5v6
*)
10836 # Note: We can NOT use -z defs as we might desire, because we do not
10837 # link with -lc, and that would cause any symbols used from libc to
10838 # always be unresolved, which means just about no library would
10839 # ever link correctly. If we're not using GNU ld we use -z text
10840 # though, which does catch some bad symbols but isn't as heavy-handed
10842 no_undefined_flag
='${wl}-z,text'
10843 allow_undefined_flag
='${wl}-z,nodefs'
10844 archive_cmds_need_lc
=no
10845 hardcode_shlibpath_var
=no
10846 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10847 hardcode_libdir_separator
=':'
10848 link_all_deplibs
=yes
10849 export_dynamic_flag_spec
='${wl}-Bexport'
10850 runpath_var
='LD_RUN_PATH'
10852 if test "$GCC" = yes; then
10853 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10854 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10856 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10857 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10862 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10863 hardcode_libdir_flag_spec
='-L$libdir'
10864 hardcode_shlibpath_var
=no
10872 if test x
$host_vendor = xsni
; then
10874 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10875 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10882 $as_echo "$ld_shlibs" >&6; }
10883 test "$ld_shlibs" = no
&& can_build_shared
=no
10885 with_gnu_ld
=$with_gnu_ld
10902 # Do we need to explicitly link libc?
10904 case "x$archive_cmds_need_lc" in
10906 # Assume -lc should be added
10907 archive_cmds_need_lc
=yes
10909 if test "$enable_shared" = yes && test "$GCC" = yes; then
10910 case $archive_cmds in
10912 # FIXME: we may have to deal with multi-command sequences.
10915 # Test whether the compiler implicitly links with -lc since on some
10916 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10917 # to ld, don't add -lc before -lgcc.
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10919 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10920 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10921 $as_echo_n "(cached) " >&6
10924 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10926 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10927 (eval $ac_compile) 2>&5
10929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10930 test $ac_status = 0; } 2>conftest.err
; then
10933 libobjs
=conftest.
$ac_objext
10935 wl
=$lt_prog_compiler_wl
10936 pic_flag
=$lt_prog_compiler_pic
10942 lt_save_allow_undefined_flag
=$allow_undefined_flag
10943 allow_undefined_flag
=
10944 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10945 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10948 test $ac_status = 0; }
10950 lt_cv_archive_cmds_need_lc
=no
10952 lt_cv_archive_cmds_need_lc
=yes
10954 allow_undefined_flag
=$lt_save_allow_undefined_flag
10956 cat conftest.err
1>&5
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10962 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10963 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11127 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11129 if test "$GCC" = yes; then
11131 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11132 *) lt_awk_arg
="/^libraries:/" ;;
11135 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11136 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11138 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11139 case $lt_search_path_spec in
11141 # if the path contains ";" then we assume it to be the separator
11142 # otherwise default to the standard path separator (i.e. ":") - it is
11143 # assumed that no part of a normal pathname contains ";" but that should
11144 # okay in the real world where ";" in dirpaths is itself problematic.
11145 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11148 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11151 # Ok, now we have the path, separated by spaces, we can step through it
11152 # and add multilib dir if necessary.
11153 lt_tmp_lt_search_path_spec
=
11154 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11155 for lt_sys_path
in $lt_search_path_spec; do
11156 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11157 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11159 test -d "$lt_sys_path" && \
11160 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11163 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11164 BEGIN {RS=" "; FS="/|\n";} {
11167 for (lt_i = NF; lt_i > 0; lt_i--) {
11168 if ($lt_i != "" && $lt_i != ".") {
11169 if ($lt_i == "..") {
11172 if (lt_count == 0) {
11173 lt_foo="/" $lt_i lt_foo;
11180 if (lt_foo != "") { lt_freq[lt_foo]++; }
11181 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11183 # AWK program above erroneously prepends '/' to C:/dos/paths
11186 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11187 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11189 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11191 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11193 library_names_spec
=
11194 libname_spec
='lib$name'
11198 postuninstall_cmds
=
11202 shlibpath_overrides_runpath
=unknown
11204 dynamic_linker
="$host_os ld.so"
11205 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11206 need_lib_prefix
=unknown
11207 hardcode_into_libs
=no
11209 # when you set need_version to no, make sure it does not cause -set_version
11210 # flags to be left without arguments
11211 need_version
=unknown
11216 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11217 shlibpath_var
=LIBPATH
11219 # AIX 3 has no versioning support, so we append a major version to the name.
11220 soname_spec
='${libname}${release}${shared_ext}$major'
11227 hardcode_into_libs
=yes
11228 if test "$host_cpu" = ia64
; then
11229 # AIX 5 supports IA64
11230 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11231 shlibpath_var
=LD_LIBRARY_PATH
11233 # With GCC up to 2.95.x, collect2 would create an import file
11234 # for dependence libraries. The import file would start with
11235 # the line `#! .'. This would cause the generated library to
11236 # depend on `.', always an invalid library. This was fixed in
11237 # development snapshots of GCC prior to 3.0.
11239 aix4 | aix4.
[01] | aix4.
[01].
*)
11240 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11242 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11245 can_build_shared
=no
11249 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11250 # soname into executable. Probably we can add versioning support to
11251 # collect2, so additional links can be useful in future.
11252 if test "$aix_use_runtimelinking" = yes; then
11253 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11254 # instead of lib<name>.a to let people know that these are not
11255 # typical AIX shared libraries.
11256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11258 # We preserve .a as extension for shared libraries through AIX4.2
11259 # and later when we are not doing run time linking.
11260 library_names_spec
='${libname}${release}.a $libname.a'
11261 soname_spec
='${libname}${release}${shared_ext}$major'
11263 shlibpath_var
=LIBPATH
11270 # Since July 2007 AmigaOS4 officially supports .so libraries.
11271 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11272 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11275 library_names_spec
='$libname.ixlibrary $libname.a'
11276 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11277 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'
11283 library_names_spec
='${libname}${shared_ext}'
11284 dynamic_linker
="$host_os ld.so"
11285 shlibpath_var
=LIBRARY_PATH
11291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11292 soname_spec
='${libname}${release}${shared_ext}$major'
11293 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11294 shlibpath_var
=LD_LIBRARY_PATH
11295 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11296 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11297 # the default ld.so.conf also contains /usr/contrib/lib and
11298 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11299 # libtool to hard-code these into programs
11302 cygwin
* | mingw
* | pw32
* | cegcc
*)
11303 version_type
=windows
11308 case $GCC,$host_os in
11309 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11310 library_names_spec
='$libname.dll.a'
11311 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11312 postinstall_cmds
='base_file=`basename \${file}`~
11313 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11314 dldir=$destdir/`dirname \$dlpath`~
11315 test -d \$dldir || mkdir -p \$dldir~
11316 $install_prog $dir/$dlname \$dldir/$dlname~
11317 chmod a+x \$dldir/$dlname~
11318 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11319 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11321 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11322 dlpath=$dir/\$dldll~
11324 shlibpath_overrides_runpath
=yes
11328 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11329 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11331 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11334 # MinGW DLLs use traditional 'lib' prefix
11335 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11338 # pw32 DLLs use 'pw' prefix rather than 'lib'
11339 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11345 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11348 dynamic_linker
='Win32 ld.exe'
11349 # FIXME: first we should search . and the directory the executable is in
11353 darwin
* | rhapsody
*)
11354 dynamic_linker
="$host_os dyld"
11355 version_type
=darwin
11358 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11359 soname_spec
='${libname}${release}${major}$shared_ext'
11360 shlibpath_overrides_runpath
=yes
11361 shlibpath_var
=DYLD_LIBRARY_PATH
11362 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11364 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11365 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11372 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11373 soname_spec
='${libname}${release}${shared_ext}$major'
11374 shlibpath_var
=LD_LIBRARY_PATH
11377 freebsd
* | dragonfly
*)
11378 # DragonFly does not have aout. When/if they implement a new
11379 # versioning mechanism, adjust this.
11380 if test -x /usr
/bin
/objformat
; then
11381 objformat
=`/usr/bin/objformat`
11384 freebsd
[23].
*) objformat
=aout
;;
11385 *) objformat
=elf
;;
11388 version_type
=freebsd-
$objformat
11389 case $version_type in
11391 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11396 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11400 shlibpath_var
=LD_LIBRARY_PATH
11403 shlibpath_overrides_runpath
=yes
11405 freebsd3.
[01]* | freebsdelf3.
[01]*)
11406 shlibpath_overrides_runpath
=yes
11407 hardcode_into_libs
=yes
11409 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11410 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11411 shlibpath_overrides_runpath
=no
11412 hardcode_into_libs
=yes
11414 *) # from 4.6 on, and DragonFly
11415 shlibpath_overrides_runpath
=yes
11416 hardcode_into_libs
=yes
11425 dynamic_linker
="$host_os runtime_loader"
11426 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11427 soname_spec
='${libname}${release}${shared_ext}$major'
11428 shlibpath_var
=LIBRARY_PATH
11429 shlibpath_overrides_runpath
=yes
11430 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11431 hardcode_into_libs
=yes
11434 hpux9
* | hpux10
* | hpux11
*)
11435 # Give a soname corresponding to the major version so that dld.sl refuses to
11436 # link against other versions.
11443 hardcode_into_libs
=yes
11444 dynamic_linker
="$host_os dld.so"
11445 shlibpath_var
=LD_LIBRARY_PATH
11446 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11447 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11448 soname_spec
='${libname}${release}${shared_ext}$major'
11449 if test "X$HPUX_IA64_MODE" = X32
; then
11450 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11452 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11454 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11458 hardcode_into_libs
=yes
11459 dynamic_linker
="$host_os dld.sl"
11460 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11461 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11463 soname_spec
='${libname}${release}${shared_ext}$major'
11464 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11465 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11469 dynamic_linker
="$host_os dld.sl"
11470 shlibpath_var
=SHLIB_PATH
11471 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11472 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11473 soname_spec
='${libname}${release}${shared_ext}$major'
11476 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11477 postinstall_cmds
='chmod 555 $lib'
11478 # or fails outright, so override atomically:
11479 install_override_mode
=555
11486 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11487 soname_spec
='${libname}${release}${shared_ext}$major'
11488 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11489 shlibpath_var
=LD_LIBRARY_PATH
11490 shlibpath_overrides_runpath
=no
11491 hardcode_into_libs
=yes
11494 irix5
* | irix6
* | nonstopux
*)
11496 nonstopux
*) version_type
=nonstopux
;;
11498 if test "$lt_cv_prog_gnu_ld" = yes; then
11506 soname_spec
='${libname}${release}${shared_ext}$major'
11507 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11509 irix5
* | nonstopux
*)
11510 libsuff
= shlibsuff
=
11513 case $LD in # libtool.m4 will add one of these switches to LD
11514 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11515 libsuff
= shlibsuff
= libmagic
=32-bit;;
11516 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11517 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11518 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11519 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11520 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11524 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11525 shlibpath_overrides_runpath
=no
11526 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11527 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11528 hardcode_into_libs
=yes
11531 # No shared lib support for Linux oldld, aout, or coff.
11532 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11536 # This must be Linux ELF.
11537 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11541 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11542 soname_spec
='${libname}${release}${shared_ext}$major'
11543 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11544 shlibpath_var
=LD_LIBRARY_PATH
11545 shlibpath_overrides_runpath
=no
11547 # Some binutils ld are patched to set DT_RUNPATH
11548 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11549 $as_echo_n "(cached) " >&6
11551 lt_cv_shlibpath_overrides_runpath
=no
11552 save_LDFLAGS
=$LDFLAGS
11553 save_libdir
=$libdir
11554 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11555 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11557 /* end confdefs.h. */
11567 if ac_fn_c_try_link
"$LINENO"; then :
11568 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11569 lt_cv_shlibpath_overrides_runpath
=yes
11572 rm -f core conftest.err conftest.
$ac_objext \
11573 conftest
$ac_exeext conftest.
$ac_ext
11574 LDFLAGS
=$save_LDFLAGS
11575 libdir
=$save_libdir
11579 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11581 # This implies no fast_install, which is unacceptable.
11582 # Some rework will be needed to allow for fast_install
11583 # before this can be enabled.
11584 hardcode_into_libs
=yes
11586 # Append ld.so.conf contents to the search path
11587 if test -f /etc
/ld.so.conf
; then
11588 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' ' '`
11589 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11592 # We used to test for /lib/ld.so.1 and disable shared libraries on
11593 # powerpc, because MkLinux only supported shared libraries with the
11594 # GNU dynamic linker. Since this was broken with cross compilers,
11595 # most powerpc-linux boxes support dynamic linking these days and
11596 # people can always --disable-shared, the test was removed, and we
11597 # assume the GNU/Linux dynamic linker is in use.
11598 dynamic_linker
='GNU/Linux ld.so'
11605 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11606 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11607 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11608 dynamic_linker
='NetBSD (a.out) ld.so'
11610 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11611 soname_spec
='${libname}${release}${shared_ext}$major'
11612 dynamic_linker
='NetBSD ld.elf_so'
11614 shlibpath_var
=LD_LIBRARY_PATH
11615 shlibpath_overrides_runpath
=yes
11616 hardcode_into_libs
=yes
11621 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11622 shlibpath_var
=LD_LIBRARY_PATH
11623 shlibpath_overrides_runpath
=yes
11630 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11631 soname_spec
='${libname}${release}${shared_ext}$major'
11632 shlibpath_var
=LD_LIBRARY_PATH
11633 shlibpath_overrides_runpath
=no
11634 hardcode_into_libs
=yes
11635 dynamic_linker
='ldqnx.so'
11640 sys_lib_dlsearch_path_spec
="/usr/lib"
11642 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11644 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11645 *) need_version
=no
;;
11647 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11648 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11649 shlibpath_var
=LD_LIBRARY_PATH
11650 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11652 openbsd2.
[89] | openbsd2.
[89].
*)
11653 shlibpath_overrides_runpath
=no
11656 shlibpath_overrides_runpath
=yes
11660 shlibpath_overrides_runpath
=yes
11665 libname_spec
='$name'
11668 library_names_spec
='$libname${shared_ext} $libname.a'
11669 dynamic_linker
='OS/2 ld.exe'
11670 shlibpath_var
=LIBPATH
11673 osf3
* | osf4
* | osf5
*)
11677 soname_spec
='${libname}${release}${shared_ext}$major'
11678 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11679 shlibpath_var
=LD_LIBRARY_PATH
11680 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11681 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11692 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11693 soname_spec
='${libname}${release}${shared_ext}$major'
11694 shlibpath_var
=LD_LIBRARY_PATH
11695 shlibpath_overrides_runpath
=yes
11696 hardcode_into_libs
=yes
11697 # ldd complains unless libraries are executable
11698 postinstall_cmds
='chmod +x $lib'
11703 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11704 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11705 shlibpath_var
=LD_LIBRARY_PATH
11706 shlibpath_overrides_runpath
=yes
11707 if test "$with_gnu_ld" = yes; then
11715 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11716 soname_spec
='${libname}${release}${shared_ext}$major'
11717 shlibpath_var
=LD_LIBRARY_PATH
11718 case $host_vendor in
11720 shlibpath_overrides_runpath
=no
11722 runpath_var
=LD_RUN_PATH
11730 shlibpath_overrides_runpath
=no
11731 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11737 if test -d /usr
/nec
;then
11739 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11740 soname_spec
='$libname${shared_ext}.$major'
11741 shlibpath_var
=LD_LIBRARY_PATH
11745 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11746 version_type
=freebsd-elf
11749 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11750 soname_spec
='${libname}${release}${shared_ext}$major'
11751 shlibpath_var
=LD_LIBRARY_PATH
11752 shlibpath_overrides_runpath
=yes
11753 hardcode_into_libs
=yes
11754 if test "$with_gnu_ld" = yes; then
11755 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11757 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11760 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11764 sys_lib_dlsearch_path_spec
='/usr/lib'
11768 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11772 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11773 shlibpath_var
=LD_LIBRARY_PATH
11774 shlibpath_overrides_runpath
=no
11775 hardcode_into_libs
=yes
11780 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11781 soname_spec
='${libname}${release}${shared_ext}$major'
11782 shlibpath_var
=LD_LIBRARY_PATH
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11790 $as_echo "$dynamic_linker" >&6; }
11791 test "$dynamic_linker" = no
&& can_build_shared
=no
11793 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11794 if test "$GCC" = yes; then
11795 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11798 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11799 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11801 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11802 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11897 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11899 if test -n "$hardcode_libdir_flag_spec" ||
11900 test -n "$runpath_var" ||
11901 test "X$hardcode_automatic" = "Xyes" ; then
11903 # We can hardcode non-existent directories.
11904 if test "$hardcode_direct" != no
&&
11905 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11906 # have to relink, otherwise we might link with an installed library
11907 # when we should be linking with a yet-to-be-installed one
11908 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11909 test "$hardcode_minus_L" != no
; then
11910 # Linking always hardcodes the temporary library directory.
11911 hardcode_action
=relink
11913 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11914 hardcode_action
=immediate
11917 # We cannot hardcode anything, or else we can only hardcode existing
11919 hardcode_action
=unsupported
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11922 $as_echo "$hardcode_action" >&6; }
11924 if test "$hardcode_action" = relink ||
11925 test "$inherit_rpath" = yes; then
11926 # Fast installation is not supported
11927 enable_fast_install
=no
11928 elif test "$shlibpath_overrides_runpath" = yes ||
11929 test "$enable_shared" = no
; then
11930 # Fast installation is not necessary
11931 enable_fast_install
=needless
11939 if test "x$enable_dlopen" != xyes
; then
11940 enable_dlopen
=unknown
11941 enable_dlopen_self
=unknown
11942 enable_dlopen_self_static
=unknown
11949 lt_cv_dlopen
="load_add_on"
11951 lt_cv_dlopen_self
=yes
11954 mingw
* | pw32
* | cegcc
*)
11955 lt_cv_dlopen
="LoadLibrary"
11960 lt_cv_dlopen
="dlopen"
11965 # if libdl is installed we need to link against it
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11967 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11968 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11969 $as_echo_n "(cached) " >&6
11971 ac_check_lib_save_LIBS
=$LIBS
11973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11974 /* end confdefs.h. */
11976 /* Override any GCC internal prototype to avoid an error.
11977 Use char because int might match the return type of a GCC
11978 builtin and then its argument prototype would still apply. */
11991 if ac_fn_c_try_link
"$LINENO"; then :
11992 ac_cv_lib_dl_dlopen
=yes
11994 ac_cv_lib_dl_dlopen
=no
11996 rm -f core conftest.err conftest.
$ac_objext \
11997 conftest
$ac_exeext conftest.
$ac_ext
11998 LIBS
=$ac_check_lib_save_LIBS
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12001 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12002 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12003 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12006 lt_cv_dlopen
="dyld"
12008 lt_cv_dlopen_self
=yes
12015 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12016 if test "x$ac_cv_func_shl_load" = xyes
; then :
12017 lt_cv_dlopen
="shl_load"
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12020 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12021 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12022 $as_echo_n "(cached) " >&6
12024 ac_check_lib_save_LIBS
=$LIBS
12026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12027 /* end confdefs.h. */
12029 /* Override any GCC internal prototype to avoid an error.
12030 Use char because int might match the return type of a GCC
12031 builtin and then its argument prototype would still apply. */
12039 return shl_load ();
12044 if ac_fn_c_try_link
"$LINENO"; then :
12045 ac_cv_lib_dld_shl_load
=yes
12047 ac_cv_lib_dld_shl_load
=no
12049 rm -f core conftest.err conftest.
$ac_objext \
12050 conftest
$ac_exeext conftest.
$ac_ext
12051 LIBS
=$ac_check_lib_save_LIBS
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12054 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12055 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12056 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12058 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12059 if test "x$ac_cv_func_dlopen" = xyes
; then :
12060 lt_cv_dlopen
="dlopen"
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12063 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12064 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12065 $as_echo_n "(cached) " >&6
12067 ac_check_lib_save_LIBS
=$LIBS
12069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12070 /* end confdefs.h. */
12072 /* Override any GCC internal prototype to avoid an error.
12073 Use char because int might match the return type of a GCC
12074 builtin and then its argument prototype would still apply. */
12087 if ac_fn_c_try_link
"$LINENO"; then :
12088 ac_cv_lib_dl_dlopen
=yes
12090 ac_cv_lib_dl_dlopen
=no
12092 rm -f core conftest.err conftest.
$ac_objext \
12093 conftest
$ac_exeext conftest.
$ac_ext
12094 LIBS
=$ac_check_lib_save_LIBS
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12097 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12098 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12099 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12102 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12103 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12104 $as_echo_n "(cached) " >&6
12106 ac_check_lib_save_LIBS
=$LIBS
12107 LIBS
="-lsvld $LIBS"
12108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12109 /* end confdefs.h. */
12111 /* Override any GCC internal prototype to avoid an error.
12112 Use char because int might match the return type of a GCC
12113 builtin and then its argument prototype would still apply. */
12126 if ac_fn_c_try_link
"$LINENO"; then :
12127 ac_cv_lib_svld_dlopen
=yes
12129 ac_cv_lib_svld_dlopen
=no
12131 rm -f core conftest.err conftest.
$ac_objext \
12132 conftest
$ac_exeext conftest.
$ac_ext
12133 LIBS
=$ac_check_lib_save_LIBS
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12136 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12137 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12138 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12141 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12142 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12143 $as_echo_n "(cached) " >&6
12145 ac_check_lib_save_LIBS
=$LIBS
12147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12148 /* end confdefs.h. */
12150 /* Override any GCC internal prototype to avoid an error.
12151 Use char because int might match the return type of a GCC
12152 builtin and then its argument prototype would still apply. */
12160 return dld_link ();
12165 if ac_fn_c_try_link
"$LINENO"; then :
12166 ac_cv_lib_dld_dld_link
=yes
12168 ac_cv_lib_dld_dld_link
=no
12170 rm -f core conftest.err conftest.
$ac_objext \
12171 conftest
$ac_exeext conftest.
$ac_ext
12172 LIBS
=$ac_check_lib_save_LIBS
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12175 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12176 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12177 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12198 if test "x$lt_cv_dlopen" != xno
; then
12204 case $lt_cv_dlopen in
12206 save_CPPFLAGS
="$CPPFLAGS"
12207 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12209 save_LDFLAGS
="$LDFLAGS"
12210 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12213 LIBS
="$lt_cv_dlopen_libs $LIBS"
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12216 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12217 if ${lt_cv_dlopen_self+:} false
; then :
12218 $as_echo_n "(cached) " >&6
12220 if test "$cross_compiling" = yes; then :
12221 lt_cv_dlopen_self
=cross
12223 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12224 lt_status
=$lt_dlunknown
12225 cat > conftest.
$ac_ext <<_LT_EOF
12226 #line 12226 "configure"
12227 #include "confdefs.h"
12236 # define LT_DLGLOBAL RTLD_GLOBAL
12239 # define LT_DLGLOBAL DL_GLOBAL
12241 # define LT_DLGLOBAL 0
12245 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12246 find out it does not work in some platform. */
12247 #ifndef LT_DLLAZY_OR_NOW
12249 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12252 # define LT_DLLAZY_OR_NOW DL_LAZY
12255 # define LT_DLLAZY_OR_NOW RTLD_NOW
12258 # define LT_DLLAZY_OR_NOW DL_NOW
12260 # define LT_DLLAZY_OR_NOW 0
12267 /* When -fvisbility=hidden is used, assume the code has been annotated
12268 correspondingly for the symbols needed. */
12269 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12270 void fnord () __attribute__((visibility("default")));
12273 void fnord () { int i=42; }
12276 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12277 int status = $lt_dlunknown;
12281 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12284 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12285 else puts (dlerror ());
12287 /* dlclose (self); */
12295 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12296 (eval $ac_link) 2>&5
12298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12299 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12300 (.
/conftest
; exit; ) >&5 2>/dev
/null
12302 case x
$lt_status in
12303 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12304 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12305 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12308 # compilation failed
12309 lt_cv_dlopen_self
=no
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12317 $as_echo "$lt_cv_dlopen_self" >&6; }
12319 if test "x$lt_cv_dlopen_self" = xyes
; then
12320 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12322 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12323 if ${lt_cv_dlopen_self_static+:} false
; then :
12324 $as_echo_n "(cached) " >&6
12326 if test "$cross_compiling" = yes; then :
12327 lt_cv_dlopen_self_static
=cross
12329 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12330 lt_status
=$lt_dlunknown
12331 cat > conftest.
$ac_ext <<_LT_EOF
12332 #line 12332 "configure"
12333 #include "confdefs.h"
12342 # define LT_DLGLOBAL RTLD_GLOBAL
12345 # define LT_DLGLOBAL DL_GLOBAL
12347 # define LT_DLGLOBAL 0
12351 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12352 find out it does not work in some platform. */
12353 #ifndef LT_DLLAZY_OR_NOW
12355 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12358 # define LT_DLLAZY_OR_NOW DL_LAZY
12361 # define LT_DLLAZY_OR_NOW RTLD_NOW
12364 # define LT_DLLAZY_OR_NOW DL_NOW
12366 # define LT_DLLAZY_OR_NOW 0
12373 /* When -fvisbility=hidden is used, assume the code has been annotated
12374 correspondingly for the symbols needed. */
12375 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12376 void fnord () __attribute__((visibility("default")));
12379 void fnord () { int i=42; }
12382 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12383 int status = $lt_dlunknown;
12387 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12390 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12391 else puts (dlerror ());
12393 /* dlclose (self); */
12401 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12402 (eval $ac_link) 2>&5
12404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12405 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12406 (.
/conftest
; exit; ) >&5 2>/dev
/null
12408 case x
$lt_status in
12409 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12410 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12411 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12414 # compilation failed
12415 lt_cv_dlopen_self_static
=no
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12423 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12426 CPPFLAGS
="$save_CPPFLAGS"
12427 LDFLAGS
="$save_LDFLAGS"
12432 case $lt_cv_dlopen_self in
12433 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12434 *) enable_dlopen_self
=unknown
;;
12437 case $lt_cv_dlopen_self_static in
12438 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12439 *) enable_dlopen_self_static
=unknown
;;
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12462 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12463 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12464 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12465 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12467 $as_echo "yes" >&6; }
12469 # FIXME - insert some real tests, host_os isn't really good enough
12472 if test -n "$STRIP" ; then
12473 striplib
="$STRIP -x"
12474 old_striplib
="$STRIP -S"
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12476 $as_echo "yes" >&6; }
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12479 $as_echo "no" >&6; }
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12484 $as_echo "no" >&6; }
12500 # Report which library types will actually be built
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12502 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12504 $as_echo "$can_build_shared" >&6; }
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12507 $as_echo_n "checking whether to build shared libraries... " >&6; }
12508 test "$can_build_shared" = "no" && enable_shared
=no
12510 # On AIX, shared libraries and static libraries use the same namespace, and
12511 # are all built from PIC.
12514 test "$enable_shared" = yes && enable_static
=no
12515 if test -n "$RANLIB"; then
12516 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12517 postinstall_cmds
='$RANLIB $lib'
12522 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12523 test "$enable_shared" = yes && enable_static
=no
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12528 $as_echo "$enable_shared" >&6; }
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12531 $as_echo_n "checking whether to build static libraries... " >&6; }
12532 # Make sure either enable_shared or enable_static is yes.
12533 test "$enable_shared" = yes || enable_static
=yes
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12535 $as_echo "$enable_static" >&6; }
12542 ac_cpp
='$CPP $CPPFLAGS'
12543 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12544 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12545 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12549 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12550 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12551 (test "X$CXX" != "Xg++"))) ; then
12553 ac_cpp
='$CXXCPP $CPPFLAGS'
12554 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12555 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12556 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12558 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12559 if test -z "$CXXCPP"; then
12560 if ${ac_cv_prog_CXXCPP+:} false
; then :
12561 $as_echo_n "(cached) " >&6
12563 # Double quotes because CXXCPP needs to be expanded
12564 for CXXCPP
in "$CXX -E" "/lib/cpp"
12566 ac_preproc_ok
=false
12567 for ac_cxx_preproc_warn_flag
in '' yes
12569 # Use a header file that comes with gcc, so configuring glibc
12570 # with a fresh cross-compiler works.
12571 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12572 # <limits.h> exists even on freestanding compilers.
12573 # On the NeXT, cc -E runs the code through the compiler's parser,
12574 # not just through cpp. "Syntax error" is here to catch this case.
12575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12576 /* end confdefs.h. */
12578 # include <limits.h>
12580 # include <assert.h>
12584 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12587 # Broken: fails on valid input.
12590 rm -f conftest.err conftest.i conftest.
$ac_ext
12592 # OK, works on sane cases. Now check whether nonexistent headers
12593 # can be detected and how.
12594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12595 /* end confdefs.h. */
12596 #include <ac_nonexistent.h>
12598 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12599 # Broken: success on invalid input.
12602 # Passes both tests.
12606 rm -f conftest.err conftest.i conftest.
$ac_ext
12609 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12610 rm -f conftest.i conftest.err conftest.
$ac_ext
12611 if $ac_preproc_ok; then :
12616 ac_cv_prog_CXXCPP
=$CXXCPP
12619 CXXCPP
=$ac_cv_prog_CXXCPP
12621 ac_cv_prog_CXXCPP
=$CXXCPP
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12624 $as_echo "$CXXCPP" >&6; }
12625 ac_preproc_ok
=false
12626 for ac_cxx_preproc_warn_flag
in '' yes
12628 # Use a header file that comes with gcc, so configuring glibc
12629 # with a fresh cross-compiler works.
12630 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12631 # <limits.h> exists even on freestanding compilers.
12632 # On the NeXT, cc -E runs the code through the compiler's parser,
12633 # not just through cpp. "Syntax error" is here to catch this case.
12634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12635 /* end confdefs.h. */
12637 # include <limits.h>
12639 # include <assert.h>
12643 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12646 # Broken: fails on valid input.
12649 rm -f conftest.err conftest.i conftest.
$ac_ext
12651 # OK, works on sane cases. Now check whether nonexistent headers
12652 # can be detected and how.
12653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12654 /* end confdefs.h. */
12655 #include <ac_nonexistent.h>
12657 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12658 # Broken: success on invalid input.
12661 # Passes both tests.
12665 rm -f conftest.err conftest.i conftest.
$ac_ext
12668 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12669 rm -f conftest.i conftest.err conftest.
$ac_ext
12670 if $ac_preproc_ok; then :
12673 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12674 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12675 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12676 See \`config.log' for more details" "$LINENO" 5; }
12680 ac_cpp
='$CPP $CPPFLAGS'
12681 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12682 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12683 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12686 _lt_caught_CXX_error
=yes
12690 ac_cpp
='$CXXCPP $CPPFLAGS'
12691 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12692 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12693 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12695 archive_cmds_need_lc_CXX
=no
12696 allow_undefined_flag_CXX
=
12697 always_export_symbols_CXX
=no
12698 archive_expsym_cmds_CXX
=
12699 compiler_needs_object_CXX
=no
12700 export_dynamic_flag_spec_CXX
=
12701 hardcode_direct_CXX
=no
12702 hardcode_direct_absolute_CXX
=no
12703 hardcode_libdir_flag_spec_CXX
=
12704 hardcode_libdir_flag_spec_ld_CXX
=
12705 hardcode_libdir_separator_CXX
=
12706 hardcode_minus_L_CXX
=no
12707 hardcode_shlibpath_var_CXX
=unsupported
12708 hardcode_automatic_CXX
=no
12709 inherit_rpath_CXX
=no
12711 module_expsym_cmds_CXX
=
12712 link_all_deplibs_CXX
=unknown
12713 old_archive_cmds_CXX
=$old_archive_cmds
12714 reload_flag_CXX
=$reload_flag
12715 reload_cmds_CXX
=$reload_cmds
12716 no_undefined_flag_CXX
=
12717 whole_archive_flag_spec_CXX
=
12718 enable_shared_with_static_runtimes_CXX
=no
12720 # Source file extension for C++ test sources.
12723 # Object file extension for compiled C++ test sources.
12727 # No sense in running all these tests if we already determined that
12728 # the CXX compiler isn't working. Some variables (like enable_shared)
12729 # are currently assumed to apply to all compilers on this platform,
12730 # and will be corrupted by setting them based on a non-working compiler.
12731 if test "$_lt_caught_CXX_error" != yes; then
12732 # Code to be used in simple compile tests
12733 lt_simple_compile_test_code
="int some_variable = 0;"
12735 # Code to be used in simple link tests
12736 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12738 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12745 # If no C compiler was specified, use CC.
12748 # If no C compiler flags were specified, use CFLAGS.
12749 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12751 # Allow CC to be a program name with arguments.
12755 # save warnings/boilerplate of simple test code
12756 ac_outfile
=conftest.
$ac_objext
12757 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12758 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12759 _lt_compiler_boilerplate
=`cat conftest.err`
12762 ac_outfile
=conftest.
$ac_objext
12763 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12764 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12765 _lt_linker_boilerplate
=`cat conftest.err`
12769 # Allow CC to be a program name with arguments.
12774 lt_save_with_gnu_ld
=$with_gnu_ld
12775 lt_save_path_LD
=$lt_cv_path_LD
12776 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12777 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12779 $as_unset lt_cv_prog_gnu_ld
12781 if test -n "${lt_cv_path_LDCXX+set}"; then
12782 lt_cv_path_LD
=$lt_cv_path_LDCXX
12784 $as_unset lt_cv_path_LD
12786 test -z "${LDCXX+set}" || LD
=$LDCXX
12790 for cc_temp
in $compiler""; do
12792 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12793 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12798 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12801 if test -n "$compiler"; then
12802 # We don't want -fno-exception when compiling C++ code, so set the
12803 # no_builtin_flag separately
12804 if test "$GXX" = yes; then
12805 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12807 lt_prog_compiler_no_builtin_flag_CXX
=
12810 if test "$GXX" = yes; then
12811 # Set up default GNU C++ configuration
12815 # Check whether --with-gnu-ld was given.
12816 if test "${with_gnu_ld+set}" = set; then :
12817 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12823 if test "$GCC" = yes; then
12824 # Check if gcc -print-prog-name=ld gives a path.
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12826 $as_echo_n "checking for ld used by $CC... " >&6; }
12829 # gcc leaves a trailing carriage return which upsets mingw
12830 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12832 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12835 # Accept absolute paths.
12837 re_direlt
='/[^/][^/]*/\.\./'
12838 # Canonicalize the pathname of ld
12839 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12840 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12841 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12843 test -z "$LD" && LD
="$ac_prog"
12846 # If it fails, then pretend we aren't using GCC.
12850 # If it is relative, then search for the first ld in PATH.
12851 with_gnu_ld
=unknown
12854 elif test "$with_gnu_ld" = yes; then
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12856 $as_echo_n "checking for GNU ld... " >&6; }
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12859 $as_echo_n "checking for non-GNU ld... " >&6; }
12861 if ${lt_cv_path_LD+:} false
; then :
12862 $as_echo_n "(cached) " >&6
12864 if test -z "$LD"; then
12865 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12866 for ac_dir
in $PATH; do
12868 test -z "$ac_dir" && ac_dir
=.
12869 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12870 lt_cv_path_LD
="$ac_dir/$ac_prog"
12871 # Check to see if the program is GNU ld. I'd rather use --version,
12872 # but apparently some variants of GNU ld only accept -v.
12873 # Break only if it was the GNU/non-GNU ld that we prefer.
12874 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12875 *GNU
* |
*'with BFD'*)
12876 test "$with_gnu_ld" != no
&& break
12879 test "$with_gnu_ld" != yes && break
12886 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12890 LD
="$lt_cv_path_LD"
12891 if test -n "$LD"; then
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12893 $as_echo "$LD" >&6; }
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12896 $as_echo "no" >&6; }
12898 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12900 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12901 if ${lt_cv_prog_gnu_ld+:} false
; then :
12902 $as_echo_n "(cached) " >&6
12904 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12905 case `$LD -v 2>&1 </dev/null` in
12906 *GNU
* |
*'with BFD'*)
12907 lt_cv_prog_gnu_ld
=yes
12910 lt_cv_prog_gnu_ld
=no
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12915 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12916 with_gnu_ld
=$lt_cv_prog_gnu_ld
12924 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12925 # archiving commands below assume that GNU ld is being used.
12926 if test "$with_gnu_ld" = yes; then
12927 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12928 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'
12930 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12931 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12933 # If archive_cmds runs LD, not CC, wlarc should be empty
12934 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12935 # investigate it a little bit more. (MM)
12938 # ancient GNU ld didn't support --whole-archive et. al.
12939 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12940 $GREP 'no-whole-archive' > /dev
/null
; then
12941 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12943 whole_archive_flag_spec_CXX
=
12949 # A generic and very simple default shared library creation
12950 # command for GNU C++ for the case where it uses the native
12951 # linker, instead of GNU ld. If possible, this setting should
12952 # overridden to take advantage of the native linker features on
12953 # the platform it is being used on.
12954 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12957 # Commands to make compiler produce verbose output that lists
12958 # what "hidden" libraries, object files and flags are used when
12959 # linking a shared library.
12960 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12968 # PORTME: fill in a description of your system's C++ link characteristics
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12970 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12974 # FIXME: insert proper C++ library support
12978 if test "$host_cpu" = ia64
; then
12979 # On IA64, the linker does run time linking by default, so we don't
12980 # have to do anything special.
12981 aix_use_runtimelinking
=no
12982 exp_sym_flag
='-Bexport'
12985 aix_use_runtimelinking
=no
12987 # Test if we are trying to use run time linking or normal
12988 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12989 # need to do runtime linking.
12990 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12991 for ld_flag
in $LDFLAGS; do
12994 aix_use_runtimelinking
=yes
13002 exp_sym_flag
='-bexport'
13003 no_entry_flag
='-bnoentry'
13006 # When large executables or shared objects are built, AIX ld can
13007 # have problems creating the table of contents. If linking a library
13008 # or program results in "error TOC overflow" add -mminimal-toc to
13009 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13010 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13012 archive_cmds_CXX
=''
13013 hardcode_direct_CXX
=yes
13014 hardcode_direct_absolute_CXX
=yes
13015 hardcode_libdir_separator_CXX
=':'
13016 link_all_deplibs_CXX
=yes
13017 file_list_spec_CXX
='${wl}-f,'
13019 if test "$GXX" = yes; then
13020 case $host_os in aix4.
[012]|aix4.
[012].
*)
13021 # We only want to do this on AIX 4.2 and lower, the check
13022 # below for broken collect2 doesn't work under 4.3+
13023 collect2name
=`${CC} -print-prog-name=collect2`
13024 if test -f "$collect2name" &&
13025 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13027 # We have reworked collect2
13030 # We have old collect2
13031 hardcode_direct_CXX
=unsupported
13032 # It fails to find uninstalled libraries when the uninstalled
13033 # path is not listed in the libpath. Setting hardcode_minus_L
13034 # to unsupported forces relinking
13035 hardcode_minus_L_CXX
=yes
13036 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13037 hardcode_libdir_separator_CXX
=
13040 shared_flag
='-shared'
13041 if test "$aix_use_runtimelinking" = yes; then
13042 shared_flag
="$shared_flag "'${wl}-G'
13046 if test "$host_cpu" = ia64
; then
13047 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13048 # chokes on -Wl,-G. The following line is correct:
13051 if test "$aix_use_runtimelinking" = yes; then
13052 shared_flag
='${wl}-G'
13054 shared_flag
='${wl}-bM:SRE'
13059 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13060 # It seems that -bexpall does not export symbols beginning with
13061 # underscore (_), so it is better to generate a list of symbols to
13063 always_export_symbols_CXX
=yes
13064 if test "$aix_use_runtimelinking" = yes; then
13065 # Warning - without using the other runtime loading flags (-brtl),
13066 # -berok will link without error, but may produce a broken library.
13067 allow_undefined_flag_CXX
='-berok'
13068 # Determine the default libpath from the value encoded in an empty
13070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13071 /* end confdefs.h. */
13081 if ac_fn_cxx_try_link
"$LINENO"; then :
13083 lt_aix_libpath_sed
='
13084 /Import File Strings/,/^$/ {
13090 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13091 # Check for a 64-bit object if we didn't find anything.
13092 if test -z "$aix_libpath"; then
13093 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13096 rm -f core conftest.err conftest.
$ac_objext \
13097 conftest
$ac_exeext conftest.
$ac_ext
13098 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13100 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13102 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"
13104 if test "$host_cpu" = ia64
; then
13105 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13106 allow_undefined_flag_CXX
="-z nodefs"
13107 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"
13109 # Determine the default libpath from the value encoded in an
13110 # empty executable.
13111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13112 /* end confdefs.h. */
13122 if ac_fn_cxx_try_link
"$LINENO"; then :
13124 lt_aix_libpath_sed
='
13125 /Import File Strings/,/^$/ {
13131 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13132 # Check for a 64-bit object if we didn't find anything.
13133 if test -z "$aix_libpath"; then
13134 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13137 rm -f core conftest.err conftest.
$ac_objext \
13138 conftest
$ac_exeext conftest.
$ac_ext
13139 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13141 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13142 # Warning - without using the other run time loading flags,
13143 # -berok will link without error, but may produce a broken library.
13144 no_undefined_flag_CXX
=' ${wl}-bernotok'
13145 allow_undefined_flag_CXX
=' ${wl}-berok'
13146 if test "$with_gnu_ld" = yes; then
13147 # We only use this code for GNU lds that support --whole-archive.
13148 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13150 # Exported symbols can be pulled into shared objects from archives
13151 whole_archive_flag_spec_CXX
='$convenience'
13153 archive_cmds_need_lc_CXX
=yes
13154 # This is similar to how AIX traditionally builds its shared
13156 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'
13162 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13163 allow_undefined_flag_CXX
=unsupported
13164 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13165 # support --undefined. This deserves some investigation. FIXME
13166 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13173 case $cc_basename in
13175 # FIXME: insert proper C++ library support
13181 cygwin
* | mingw
* | pw32
* | cegcc
*)
13182 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13183 # as there is no search path for DLLs.
13184 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13185 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13186 allow_undefined_flag_CXX
=unsupported
13187 always_export_symbols_CXX
=no
13188 enable_shared_with_static_runtimes_CXX
=yes
13190 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13191 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'
13192 # If the export-symbols file already is a .def file (1st line
13193 # is EXPORTS), use it as is; otherwise, prepend...
13194 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13195 cp $export_symbols $output_objdir/$soname.def;
13197 echo EXPORTS > $output_objdir/$soname.def;
13198 cat $export_symbols >> $output_objdir/$soname.def;
13200 $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'
13205 darwin
* | rhapsody
*)
13208 archive_cmds_need_lc_CXX
=no
13209 hardcode_direct_CXX
=no
13210 hardcode_automatic_CXX
=yes
13211 hardcode_shlibpath_var_CXX
=unsupported
13212 if test "$lt_cv_ld_force_load" = "yes"; then
13213 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\"`'
13215 whole_archive_flag_spec_CXX
=''
13217 link_all_deplibs_CXX
=yes
13218 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13219 case $cc_basename in
13220 ifort
*) _lt_dar_can_shared
=yes ;;
13221 *) _lt_dar_can_shared
=$GCC ;;
13223 if test "$_lt_dar_can_shared" = "yes"; then
13224 output_verbose_link_cmd
=func_echo_all
13225 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}"
13226 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13227 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}"
13228 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}"
13229 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13230 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}"
13231 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}"
13241 case $cc_basename in
13243 # FIXME: insert proper C++ library support
13247 # Green Hills C++ Compiler
13248 # FIXME: insert proper C++ library support
13252 # FIXME: insert proper C++ library support
13259 # C++ shared libraries reported to be fairly broken before
13265 archive_cmds_need_lc_CXX
=no
13268 freebsd
* | dragonfly
*)
13269 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13278 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13279 link_all_deplibs_CXX
=yes
13283 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13284 hardcode_libdir_separator_CXX
=:
13285 export_dynamic_flag_spec_CXX
='${wl}-E'
13286 hardcode_direct_CXX
=yes
13287 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13288 # but as the default
13289 # location of the library.
13291 case $cc_basename in
13293 # FIXME: insert proper C++ library support
13297 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'
13298 # Commands to make compiler produce verbose output that lists
13299 # what "hidden" libraries, object files and flags are used when
13300 # linking a shared library.
13302 # There doesn't appear to be a way to prevent this compiler from
13303 # explicitly linking system object files so we need to strip them
13304 # from the output so that they don't get included in the library
13306 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"'
13309 if test "$GXX" = yes; then
13310 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'
13312 # FIXME: insert proper C++ library support
13320 if test $with_gnu_ld = no
; then
13321 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13322 hardcode_libdir_separator_CXX
=:
13328 export_dynamic_flag_spec_CXX
='${wl}-E'
13334 hardcode_direct_CXX
=no
13335 hardcode_shlibpath_var_CXX
=no
13338 hardcode_direct_CXX
=yes
13339 hardcode_direct_absolute_CXX
=yes
13340 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13341 # but as the default
13342 # location of the library.
13346 case $cc_basename in
13348 # FIXME: insert proper C++ library support
13354 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13357 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13360 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13363 # Commands to make compiler produce verbose output that lists
13364 # what "hidden" libraries, object files and flags are used when
13365 # linking a shared library.
13367 # There doesn't appear to be a way to prevent this compiler from
13368 # explicitly linking system object files so we need to strip them
13369 # from the output so that they don't get included in the library
13371 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"'
13374 if test "$GXX" = yes; then
13375 if test $with_gnu_ld = no
; then
13378 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13381 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13384 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'
13389 # FIXME: insert proper C++ library support
13397 hardcode_direct_CXX
=no
13398 hardcode_shlibpath_var_CXX
=no
13399 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13400 export_dynamic_flag_spec_CXX
='${wl}-E'
13401 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13402 # Instead, shared libraries are loaded at an image base (0x10000000 by
13403 # default) and relocated if they conflict, which is a slow very memory
13404 # consuming and fragmenting process. To avoid this, we pick a random,
13405 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13406 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13407 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'
13408 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'
13411 case $cc_basename in
13414 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'
13416 # Archives containing C++ object files must be created using
13417 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13418 # necessary to make sure instantiated templates are included
13420 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13423 if test "$GXX" = yes; then
13424 if test "$with_gnu_ld" = no
; then
13425 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'
13427 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'
13430 link_all_deplibs_CXX
=yes
13433 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13434 hardcode_libdir_separator_CXX
=:
13435 inherit_rpath_CXX
=yes
13438 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13439 case $cc_basename in
13441 # Kuck and Associates, Inc. (KAI) C++ Compiler
13443 # KCC will only create a shared library if the output file
13444 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13445 # to its proper name (with version) after linking.
13446 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'
13447 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'
13448 # Commands to make compiler produce verbose output that lists
13449 # what "hidden" libraries, object files and flags are used when
13450 # linking a shared library.
13452 # There doesn't appear to be a way to prevent this compiler from
13453 # explicitly linking system object files so we need to strip them
13454 # from the output so that they don't get included in the library
13456 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"'
13458 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13459 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13461 # Archives containing C++ object files must be created using
13462 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13463 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13468 # version 8.0 and above of icpc choke on multiply defined symbols
13469 # if we add $predep_objects and $postdep_objects, however 7.1 and
13470 # earlier do not add the objects themselves.
13471 case `$CC -V 2>&1` in
13473 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13474 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'
13476 *) # Version 8.0 or newer
13479 ia64
*) tmp_idyn
=' -i_dynamic';;
13481 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13482 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'
13485 archive_cmds_need_lc_CXX
=no
13486 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13487 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13488 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13491 # Portland Group C++ compiler
13493 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13494 prelink_cmds_CXX
='tpldir=Template.dir~
13496 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13497 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13498 old_archive_cmds_CXX
='tpldir=Template.dir~
13500 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13501 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13503 archive_cmds_CXX
='tpldir=Template.dir~
13505 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13506 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13507 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13509 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13510 $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'
13512 *) # Version 6 and above use weak symbols
13513 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13514 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'
13518 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13519 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13520 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'
13524 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13525 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'
13527 runpath_var
=LD_RUN_PATH
13528 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13529 hardcode_libdir_separator_CXX
=:
13531 # Commands to make compiler produce verbose output that lists
13532 # what "hidden" libraries, object files and flags are used when
13533 # linking a shared library.
13535 # There doesn't appear to be a way to prevent this compiler from
13536 # explicitly linking system object files so we need to strip them
13537 # from the output so that they don't get included in the library
13539 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'
13541 xl
* | mpixl
* | bgxl
*)
13542 # IBM XL 8.0 on PPC, with GNU ld
13543 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13544 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13545 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13546 if test "x$supports_anon_versioning" = xyes
; then
13547 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13548 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13549 echo "local: *; };" >> $output_objdir/$libname.ver~
13550 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13554 case `$CC -V 2>&1 | sed 5q` in
13557 no_undefined_flag_CXX
=' -zdefs'
13558 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13559 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'
13560 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13561 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'
13562 compiler_needs_object_CXX
=yes
13564 # Not sure whether something based on
13565 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13567 output_verbose_link_cmd
='func_echo_all'
13569 # Archives containing C++ object files must be created using
13570 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13571 # necessary to make sure instantiated templates are included
13573 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13581 # FIXME: insert proper C++ library support
13586 # FIXME: insert proper C++ library support
13591 case $cc_basename in
13593 # FIXME: insert proper C++ library support
13597 # FIXME: insert proper C++ library support
13604 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13605 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13607 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13608 hardcode_direct_CXX
=yes
13609 hardcode_shlibpath_var_CXX
=no
13611 # Workaround some broken pre-1.5 toolchains
13612 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13620 # C++ shared libraries are fairly broken
13625 if test -f /usr
/libexec
/ld.so
; then
13626 hardcode_direct_CXX
=yes
13627 hardcode_shlibpath_var_CXX
=no
13628 hardcode_direct_absolute_CXX
=yes
13629 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13630 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13631 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13632 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13633 export_dynamic_flag_spec_CXX
='${wl}-E'
13634 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13636 output_verbose_link_cmd
=func_echo_all
13642 osf3
* | osf4
* | osf5
*)
13643 case $cc_basename in
13645 # Kuck and Associates, Inc. (KAI) C++ Compiler
13647 # KCC will only create a shared library if the output file
13648 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13649 # to its proper name (with version) after linking.
13650 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'
13652 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13653 hardcode_libdir_separator_CXX
=:
13655 # Archives containing C++ object files must be created using
13656 # the KAI C++ compiler.
13658 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13659 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13663 # Rational C++ 2.4.1
13664 # FIXME: insert proper C++ library support
13670 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13671 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'
13672 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13675 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13676 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'
13677 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13678 echo "-hidden">> $lib.exp~
13679 $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~
13681 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13685 hardcode_libdir_separator_CXX
=:
13687 # Commands to make compiler produce verbose output that lists
13688 # what "hidden" libraries, object files and flags are used when
13689 # linking a shared library.
13691 # There doesn't appear to be a way to prevent this compiler from
13692 # explicitly linking system object files so we need to strip them
13693 # from the output so that they don't get included in the library
13695 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"'
13698 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13699 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13702 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'
13705 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'
13709 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13710 hardcode_libdir_separator_CXX
=:
13712 # Commands to make compiler produce verbose output that lists
13713 # what "hidden" libraries, object files and flags are used when
13714 # linking a shared library.
13715 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13718 # FIXME: insert proper C++ library support
13726 # FIXME: insert proper C++ library support
13731 case $cc_basename in
13734 # FIXME: insert proper C++ library support
13739 # FIXME: insert proper C++ library support
13743 # FIXME: insert proper C++ library support
13750 case $cc_basename in
13752 # Sun C++ 4.2, 5.x and Centerline C++
13753 archive_cmds_need_lc_CXX
=yes
13754 no_undefined_flag_CXX
=' -zdefs'
13755 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13756 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13757 $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'
13759 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13760 hardcode_shlibpath_var_CXX
=no
13762 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13764 # The compiler driver will combine and reorder linker options,
13765 # but understands `-z linker_flag'.
13766 # Supported since Solaris 2.6 (maybe 2.5.1?)
13767 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13770 link_all_deplibs_CXX
=yes
13772 output_verbose_link_cmd
='func_echo_all'
13774 # Archives containing C++ object files must be created using
13775 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13776 # necessary to make sure instantiated templates are included
13778 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13781 # Green Hills C++ Compiler
13782 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13784 # The C++ compiler must be used to create the archive.
13785 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13788 # GNU C++ compiler with Solaris linker
13789 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13790 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13791 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13792 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13793 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13794 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13796 # Commands to make compiler produce verbose output that lists
13797 # what "hidden" libraries, object files and flags are used when
13798 # linking a shared library.
13799 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13801 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13803 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13804 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13805 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13807 # Commands to make compiler produce verbose output that lists
13808 # what "hidden" libraries, object files and flags are used when
13809 # linking a shared library.
13810 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13813 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13815 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13817 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13825 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13826 no_undefined_flag_CXX
='${wl}-z,text'
13827 archive_cmds_need_lc_CXX
=no
13828 hardcode_shlibpath_var_CXX
=no
13829 runpath_var
='LD_RUN_PATH'
13831 case $cc_basename in
13833 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13834 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13837 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13838 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13843 sysv5
* | sco3.2v5
* | sco5v6
*)
13844 # Note: We can NOT use -z defs as we might desire, because we do not
13845 # link with -lc, and that would cause any symbols used from libc to
13846 # always be unresolved, which means just about no library would
13847 # ever link correctly. If we're not using GNU ld we use -z text
13848 # though, which does catch some bad symbols but isn't as heavy-handed
13850 no_undefined_flag_CXX
='${wl}-z,text'
13851 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13852 archive_cmds_need_lc_CXX
=no
13853 hardcode_shlibpath_var_CXX
=no
13854 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13855 hardcode_libdir_separator_CXX
=':'
13856 link_all_deplibs_CXX
=yes
13857 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13858 runpath_var
='LD_RUN_PATH'
13860 case $cc_basename in
13862 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13863 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13864 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13865 '"$old_archive_cmds_CXX"
13866 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13867 '"$reload_cmds_CXX"
13870 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13871 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13877 case $cc_basename in
13879 # NonStop-UX NCC 3.20
13880 # FIXME: insert proper C++ library support
13884 # FIXME: insert proper C++ library support
13891 # FIXME: insert proper C++ library support
13896 # FIXME: insert proper C++ library support
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13902 $as_echo "$ld_shlibs_CXX" >&6; }
13903 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13909 ## There is no encapsulation within the following macros, do not change
13910 ## the running order or otherwise move them around unless you know exactly
13911 ## what you are doing...
13912 # Dependencies to place before and after the object being linked:
13913 predep_objects_CXX
=
13914 postdep_objects_CXX
=
13917 compiler_lib_search_path_CXX
=
13919 cat > conftest.
$ac_ext <<_LT_EOF
13923 Foo (void) { a = 0; }
13929 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13930 (eval $ac_compile) 2>&5
13932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13933 test $ac_status = 0; }; then
13934 # Parse the compiler output and extract the necessary
13935 # objects, libraries and library flags.
13937 # Sentinel used to keep track of whether or not we are before
13938 # the conftest object file.
13939 pre_test_object_deps_done
=no
13941 for p
in `eval "$output_verbose_link_cmd"`; do
13945 # Some compilers place space between "-{L,R}" and the path.
13946 # Remove the space.
13947 if test $p = "-L" ||
13948 test $p = "-R"; then
13955 if test "$pre_test_object_deps_done" = no
; then
13958 # Internal compiler library paths should come after those
13959 # provided the user. The postdeps already come after the
13960 # user supplied libs so there is no need to process them.
13961 if test -z "$compiler_lib_search_path_CXX"; then
13962 compiler_lib_search_path_CXX
="${prev}${p}"
13964 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13967 # The "-l" case would never come before the object being
13968 # linked, so don't bother handling this case.
13971 if test -z "$postdeps_CXX"; then
13972 postdeps_CXX
="${prev}${p}"
13974 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13980 # This assumes that the test object file only shows up
13981 # once in the compiler output.
13982 if test "$p" = "conftest.$objext"; then
13983 pre_test_object_deps_done
=yes
13987 if test "$pre_test_object_deps_done" = no
; then
13988 if test -z "$predep_objects_CXX"; then
13989 predep_objects_CXX
="$p"
13991 predep_objects_CXX
="$predep_objects_CXX $p"
13994 if test -z "$postdep_objects_CXX"; then
13995 postdep_objects_CXX
="$p"
13997 postdep_objects_CXX
="$postdep_objects_CXX $p"
14002 *) ;; # Ignore the rest.
14010 echo "libtool.m4: error: problem compiling CXX test program"
14013 $RM -f confest.
$objext
14015 # PORTME: override above test on systems where it is broken
14018 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14019 # hack all around it, let's just trust "g++" to DTRT.
14020 predep_objects_CXX
=
14021 postdep_objects_CXX
=
14026 case `$CC -V 2>&1 | sed 5q` in
14030 # The more standards-conforming stlport4 library is
14031 # incompatible with the Cstd library. Avoid specifying
14032 # it if it's in CXXFLAGS. Ignore libCrun as
14033 # -library=stlport4 depends on it.
14034 case " $CXX $CXXFLAGS " in
14035 *" -library=stlport4 "*)
14036 solaris_use_stlport4
=yes
14040 if test "$solaris_use_stlport4" != yes; then
14041 postdeps_CXX
='-library=Cstd -library=Crun'
14048 case $cc_basename in
14050 # The more standards-conforming stlport4 library is
14051 # incompatible with the Cstd library. Avoid specifying
14052 # it if it's in CXXFLAGS. Ignore libCrun as
14053 # -library=stlport4 depends on it.
14054 case " $CXX $CXXFLAGS " in
14055 *" -library=stlport4 "*)
14056 solaris_use_stlport4
=yes
14060 # Adding this requires a known-good setup of shared libraries for
14061 # Sun compiler versions before 5.6, else PIC objects from an old
14062 # archive will be linked into the output, leading to subtle bugs.
14063 if test "$solaris_use_stlport4" != yes; then
14064 postdeps_CXX
='-library=Cstd -library=Crun'
14072 case " $postdeps_CXX " in
14073 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14075 compiler_lib_search_dirs_CXX
=
14076 if test -n "${compiler_lib_search_path_CXX}"; then
14077 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14110 lt_prog_compiler_wl_CXX
=
14111 lt_prog_compiler_pic_CXX
=
14112 lt_prog_compiler_static_CXX
=
14114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14115 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14117 # C++ specific cases for pic, static, wl, etc.
14118 if test "$GXX" = yes; then
14119 lt_prog_compiler_wl_CXX
='-Wl,'
14120 lt_prog_compiler_static_CXX
='-static'
14124 # All AIX code is PIC.
14125 if test "$host_cpu" = ia64
; then
14126 # AIX 5 now supports IA64 processor
14127 lt_prog_compiler_static_CXX
='-Bstatic'
14129 lt_prog_compiler_pic_CXX
='-fPIC'
14135 # see comment about AmigaOS4 .so support
14136 lt_prog_compiler_pic_CXX
='-fPIC'
14139 # FIXME: we need at least 68020 code to build shared libraries, but
14140 # adding the `-m68020' flag to GCC prevents building anything better,
14142 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14147 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14148 # PIC is the default for these OSes.
14150 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14151 # This hack is so that the source file can tell whether it is being
14152 # built for inclusion in a dll (and should export symbols for example).
14153 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14154 # (--disable-auto-import) libraries
14155 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14157 darwin
* | rhapsody
*)
14158 # PIC is the default on this platform
14159 # Common symbols not allowed in MH_DYLIB files
14160 lt_prog_compiler_pic_CXX
='-fno-common'
14163 # DJGPP does not support shared libraries at all
14164 lt_prog_compiler_pic_CXX
=
14167 # PIC is the default for Haiku.
14168 # The "-static" flag exists, but is broken.
14169 lt_prog_compiler_static_CXX
=
14172 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14173 # Instead, we relocate shared libraries at runtime.
14176 if test -d /usr
/nec
; then
14177 lt_prog_compiler_pic_CXX
=-Kconform_pic
14181 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14182 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14183 # sets the default TLS model and affects inlining.
14188 lt_prog_compiler_pic_CXX
='-fPIC'
14193 # QNX uses GNU C++, but need to define -shared option too, otherwise
14194 # it will coredump.
14195 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14198 lt_prog_compiler_pic_CXX
='-fPIC'
14204 # All AIX code is PIC.
14205 if test "$host_cpu" = ia64
; then
14206 # AIX 5 now supports IA64 processor
14207 lt_prog_compiler_static_CXX
='-Bstatic'
14209 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14213 case $cc_basename in
14215 # Green Hills C++ Compiler
14216 # _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"
14221 case $cc_basename in
14223 lt_prog_compiler_pic_CXX
='-KPIC'
14226 # Green Hills C++ Compiler
14227 lt_prog_compiler_pic_CXX
='-pic'
14233 freebsd
* | dragonfly
*)
14234 # FreeBSD uses GNU C++
14236 hpux9
* | hpux10
* | hpux11
*)
14237 case $cc_basename in
14239 lt_prog_compiler_wl_CXX
='-Wl,'
14240 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14241 if test "$host_cpu" != ia64
; then
14242 lt_prog_compiler_pic_CXX
='+Z'
14246 lt_prog_compiler_wl_CXX
='-Wl,'
14247 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14253 lt_prog_compiler_pic_CXX
='+Z'
14262 # This is c89, which is MS Visual C++ (no shared libs)
14263 # Anyone wants to do a port?
14265 irix5
* | irix6
* | nonstopux
*)
14266 case $cc_basename in
14268 lt_prog_compiler_wl_CXX
='-Wl,'
14269 lt_prog_compiler_static_CXX
='-non_shared'
14270 # CC pic flag -KPIC is the default.
14276 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14277 case $cc_basename in
14280 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14281 lt_prog_compiler_pic_CXX
='-fPIC'
14284 # old Intel C++ for x86_64 which still supported -KPIC.
14285 lt_prog_compiler_wl_CXX
='-Wl,'
14286 lt_prog_compiler_pic_CXX
='-KPIC'
14287 lt_prog_compiler_static_CXX
='-static'
14290 # Intel C++, used to be incompatible with GCC.
14291 # ICC 10 doesn't accept -KPIC any more.
14292 lt_prog_compiler_wl_CXX
='-Wl,'
14293 lt_prog_compiler_pic_CXX
='-fPIC'
14294 lt_prog_compiler_static_CXX
='-static'
14297 # Portland Group C++ compiler
14298 lt_prog_compiler_wl_CXX
='-Wl,'
14299 lt_prog_compiler_pic_CXX
='-fpic'
14300 lt_prog_compiler_static_CXX
='-Bstatic'
14304 # Make sure the PIC flag is empty. It appears that all Alpha
14305 # Linux and Compaq Tru64 Unix objects are PIC.
14306 lt_prog_compiler_pic_CXX
=
14307 lt_prog_compiler_static_CXX
='-non_shared'
14309 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14310 # IBM XL 8.0, 9.0 on PPC and BlueGene
14311 lt_prog_compiler_wl_CXX
='-Wl,'
14312 lt_prog_compiler_pic_CXX
='-qpic'
14313 lt_prog_compiler_static_CXX
='-qstaticlink'
14316 case `$CC -V 2>&1 | sed 5q` in
14319 lt_prog_compiler_pic_CXX
='-KPIC'
14320 lt_prog_compiler_static_CXX
='-Bstatic'
14321 lt_prog_compiler_wl_CXX
='-Qoption ld '
14332 case $cc_basename in
14334 lt_prog_compiler_pic_CXX
='-W c,exportall'
14343 # QNX uses GNU C++, but need to define -shared option too, otherwise
14344 # it will coredump.
14345 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14347 osf3
* | osf4
* | osf5
*)
14348 case $cc_basename in
14350 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14353 # Rational C++ 2.4.1
14354 lt_prog_compiler_pic_CXX
='-pic'
14357 # Digital/Compaq C++
14358 lt_prog_compiler_wl_CXX
='-Wl,'
14359 # Make sure the PIC flag is empty. It appears that all Alpha
14360 # Linux and Compaq Tru64 Unix objects are PIC.
14361 lt_prog_compiler_pic_CXX
=
14362 lt_prog_compiler_static_CXX
='-non_shared'
14371 case $cc_basename in
14373 # Sun C++ 4.2, 5.x and Centerline C++
14374 lt_prog_compiler_pic_CXX
='-KPIC'
14375 lt_prog_compiler_static_CXX
='-Bstatic'
14376 lt_prog_compiler_wl_CXX
='-Qoption ld '
14379 # Green Hills C++ Compiler
14380 lt_prog_compiler_pic_CXX
='-PIC'
14387 case $cc_basename in
14390 lt_prog_compiler_pic_CXX
='-pic'
14391 lt_prog_compiler_static_CXX
='-Bstatic'
14395 lt_prog_compiler_pic_CXX
='-pic'
14401 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14402 case $cc_basename in
14404 lt_prog_compiler_wl_CXX
='-Wl,'
14405 lt_prog_compiler_pic_CXX
='-KPIC'
14406 lt_prog_compiler_static_CXX
='-Bstatic'
14411 case $cc_basename in
14413 # NonStop-UX NCC 3.20
14414 lt_prog_compiler_pic_CXX
='-KPIC'
14423 lt_prog_compiler_can_build_shared_CXX
=no
14429 # For platforms which do not support PIC, -DPIC is meaningless:
14431 lt_prog_compiler_pic_CXX
=
14434 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14438 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14443 # Check to make sure the PIC flag actually works.
14445 if test -n "$lt_prog_compiler_pic_CXX"; then
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14447 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14448 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14449 $as_echo_n "(cached) " >&6
14451 lt_cv_prog_compiler_pic_works_CXX
=no
14452 ac_outfile
=conftest.
$ac_objext
14453 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14454 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14455 # Insert the option either (1) after the last *FLAGS variable, or
14456 # (2) before a word containing "conftest.", or (3) at the end.
14457 # Note that $ac_compile itself does not contain backslashes and begins
14458 # with a dollar sign (not a hyphen), so the echo should work correctly.
14459 # The option is referenced via a variable to avoid confusing sed.
14460 lt_compile
=`echo "$ac_compile" | $SED \
14461 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14462 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14463 -e 's:$: $lt_compiler_flag:'`
14464 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14465 (eval "$lt_compile" 2>conftest.err
)
14467 cat conftest.err
>&5
14468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14469 if (exit $ac_status) && test -s "$ac_outfile"; then
14470 # The compiler can only warn and ignore the option if not recognized
14471 # So say no if there are warnings other than the usual output.
14472 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14473 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14474 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14475 lt_cv_prog_compiler_pic_works_CXX
=yes
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14482 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14484 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14485 case $lt_prog_compiler_pic_CXX in
14487 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14490 lt_prog_compiler_pic_CXX
=
14491 lt_prog_compiler_can_build_shared_CXX
=no
14499 # Check to make sure the static flag actually works.
14501 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14503 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14504 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14505 $as_echo_n "(cached) " >&6
14507 lt_cv_prog_compiler_static_works_CXX
=no
14508 save_LDFLAGS
="$LDFLAGS"
14509 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14510 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14511 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14512 # The linker can only warn and ignore the option if not recognized
14513 # So say no if there are warnings
14514 if test -s conftest.err
; then
14515 # Append any errors to the config.log.
14516 cat conftest.err
1>&5
14517 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14518 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14519 if diff conftest.exp conftest.er2
>/dev
/null
; then
14520 lt_cv_prog_compiler_static_works_CXX
=yes
14523 lt_cv_prog_compiler_static_works_CXX
=yes
14527 LDFLAGS
="$save_LDFLAGS"
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14531 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14533 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14536 lt_prog_compiler_static_CXX
=
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14543 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14544 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14545 $as_echo_n "(cached) " >&6
14547 lt_cv_prog_compiler_c_o_CXX
=no
14548 $RM -r conftest
2>/dev
/null
14552 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14554 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14555 # Insert the option either (1) after the last *FLAGS variable, or
14556 # (2) before a word containing "conftest.", or (3) at the end.
14557 # Note that $ac_compile itself does not contain backslashes and begins
14558 # with a dollar sign (not a hyphen), so the echo should work correctly.
14559 lt_compile
=`echo "$ac_compile" | $SED \
14560 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14561 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14562 -e 's:$: $lt_compiler_flag:'`
14563 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14564 (eval "$lt_compile" 2>out
/conftest.err
)
14566 cat out
/conftest.err
>&5
14567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14568 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14570 # The compiler can only warn and ignore the option if not recognized
14571 # So say no if there are warnings
14572 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14573 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14574 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14575 lt_cv_prog_compiler_c_o_CXX
=yes
14580 # SGI C++ compiler will create directory out/ii_files/ for
14581 # template instantiation
14582 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14583 $RM out
/* && rmdir out
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14590 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14595 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14596 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14597 $as_echo_n "(cached) " >&6
14599 lt_cv_prog_compiler_c_o_CXX
=no
14600 $RM -r conftest
2>/dev
/null
14604 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14606 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14607 # Insert the option either (1) after the last *FLAGS variable, or
14608 # (2) before a word containing "conftest.", or (3) at the end.
14609 # Note that $ac_compile itself does not contain backslashes and begins
14610 # with a dollar sign (not a hyphen), so the echo should work correctly.
14611 lt_compile
=`echo "$ac_compile" | $SED \
14612 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14613 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14614 -e 's:$: $lt_compiler_flag:'`
14615 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14616 (eval "$lt_compile" 2>out
/conftest.err
)
14618 cat out
/conftest.err
>&5
14619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14620 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14622 # The compiler can only warn and ignore the option if not recognized
14623 # So say no if there are warnings
14624 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14625 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14626 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14627 lt_cv_prog_compiler_c_o_CXX
=yes
14632 # SGI C++ compiler will create directory out/ii_files/ for
14633 # template instantiation
14634 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14635 $RM out
/* && rmdir out
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14642 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14647 hard_links
="nottested"
14648 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14649 # do not overwrite the value of need_locks provided by the user
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14651 $as_echo_n "checking if we can lock with hard links... " >&6; }
14654 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14656 ln conftest.a conftest.b
2>&5 || hard_links
=no
14657 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14659 $as_echo "$hard_links" >&6; }
14660 if test "$hard_links" = no
; then
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14662 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14672 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14674 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14677 # If we're using GNU nm, then we don't want the "-C" option.
14678 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14679 # Also, AIX nm treats weak defined symbols like other global defined
14680 # symbols, whereas GNU nm marks them as "W".
14681 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14682 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'
14684 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'
14688 export_symbols_cmds_CXX
="$ltdll_cmds"
14690 cygwin
* | mingw
* | cegcc
*)
14691 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'
14694 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14697 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14700 $as_echo "$ld_shlibs_CXX" >&6; }
14701 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14703 with_gnu_ld_CXX
=$with_gnu_ld
14711 # Do we need to explicitly link libc?
14713 case "x$archive_cmds_need_lc_CXX" in
14715 # Assume -lc should be added
14716 archive_cmds_need_lc_CXX
=yes
14718 if test "$enable_shared" = yes && test "$GCC" = yes; then
14719 case $archive_cmds_CXX in
14721 # FIXME: we may have to deal with multi-command sequences.
14724 # Test whether the compiler implicitly links with -lc since on some
14725 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14726 # to ld, don't add -lc before -lgcc.
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14728 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14729 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14730 $as_echo_n "(cached) " >&6
14733 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14735 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14736 (eval $ac_compile) 2>&5
14738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14739 test $ac_status = 0; } 2>conftest.err
; then
14742 libobjs
=conftest.
$ac_objext
14744 wl
=$lt_prog_compiler_wl_CXX
14745 pic_flag
=$lt_prog_compiler_pic_CXX
14751 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14752 allow_undefined_flag_CXX
=
14753 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14754 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14757 test $ac_status = 0; }
14759 lt_cv_archive_cmds_need_lc_CXX
=no
14761 lt_cv_archive_cmds_need_lc_CXX
=yes
14763 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14765 cat conftest.err
1>&5
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14771 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14772 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14843 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14845 library_names_spec
=
14846 libname_spec
='lib$name'
14850 postuninstall_cmds
=
14854 shlibpath_overrides_runpath
=unknown
14856 dynamic_linker
="$host_os ld.so"
14857 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14858 need_lib_prefix
=unknown
14859 hardcode_into_libs
=no
14861 # when you set need_version to no, make sure it does not cause -set_version
14862 # flags to be left without arguments
14863 need_version
=unknown
14868 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14869 shlibpath_var
=LIBPATH
14871 # AIX 3 has no versioning support, so we append a major version to the name.
14872 soname_spec
='${libname}${release}${shared_ext}$major'
14879 hardcode_into_libs
=yes
14880 if test "$host_cpu" = ia64
; then
14881 # AIX 5 supports IA64
14882 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14883 shlibpath_var
=LD_LIBRARY_PATH
14885 # With GCC up to 2.95.x, collect2 would create an import file
14886 # for dependence libraries. The import file would start with
14887 # the line `#! .'. This would cause the generated library to
14888 # depend on `.', always an invalid library. This was fixed in
14889 # development snapshots of GCC prior to 3.0.
14891 aix4 | aix4.
[01] | aix4.
[01].
*)
14892 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14894 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14897 can_build_shared
=no
14901 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14902 # soname into executable. Probably we can add versioning support to
14903 # collect2, so additional links can be useful in future.
14904 if test "$aix_use_runtimelinking" = yes; then
14905 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14906 # instead of lib<name>.a to let people know that these are not
14907 # typical AIX shared libraries.
14908 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14910 # We preserve .a as extension for shared libraries through AIX4.2
14911 # and later when we are not doing run time linking.
14912 library_names_spec
='${libname}${release}.a $libname.a'
14913 soname_spec
='${libname}${release}${shared_ext}$major'
14915 shlibpath_var
=LIBPATH
14922 # Since July 2007 AmigaOS4 officially supports .so libraries.
14923 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14924 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14927 library_names_spec
='$libname.ixlibrary $libname.a'
14928 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14929 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'
14935 library_names_spec
='${libname}${shared_ext}'
14936 dynamic_linker
="$host_os ld.so"
14937 shlibpath_var
=LIBRARY_PATH
14943 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14944 soname_spec
='${libname}${release}${shared_ext}$major'
14945 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14946 shlibpath_var
=LD_LIBRARY_PATH
14947 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14948 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14949 # the default ld.so.conf also contains /usr/contrib/lib and
14950 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14951 # libtool to hard-code these into programs
14954 cygwin
* | mingw
* | pw32
* | cegcc
*)
14955 version_type
=windows
14960 case $GCC,$host_os in
14961 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14962 library_names_spec
='$libname.dll.a'
14963 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14964 postinstall_cmds
='base_file=`basename \${file}`~
14965 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14966 dldir=$destdir/`dirname \$dlpath`~
14967 test -d \$dldir || mkdir -p \$dldir~
14968 $install_prog $dir/$dlname \$dldir/$dlname~
14969 chmod a+x \$dldir/$dlname~
14970 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14971 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14973 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14974 dlpath=$dir/\$dldll~
14976 shlibpath_overrides_runpath
=yes
14980 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14981 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14985 # MinGW DLLs use traditional 'lib' prefix
14986 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14989 # pw32 DLLs use 'pw' prefix rather than 'lib'
14990 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14996 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14999 dynamic_linker
='Win32 ld.exe'
15000 # FIXME: first we should search . and the directory the executable is in
15004 darwin
* | rhapsody
*)
15005 dynamic_linker
="$host_os dyld"
15006 version_type
=darwin
15009 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15010 soname_spec
='${libname}${release}${major}$shared_ext'
15011 shlibpath_overrides_runpath
=yes
15012 shlibpath_var
=DYLD_LIBRARY_PATH
15013 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15015 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15022 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15023 soname_spec
='${libname}${release}${shared_ext}$major'
15024 shlibpath_var
=LD_LIBRARY_PATH
15027 freebsd
* | dragonfly
*)
15028 # DragonFly does not have aout. When/if they implement a new
15029 # versioning mechanism, adjust this.
15030 if test -x /usr
/bin
/objformat
; then
15031 objformat
=`/usr/bin/objformat`
15034 freebsd
[23].
*) objformat
=aout
;;
15035 *) objformat
=elf
;;
15038 version_type
=freebsd-
$objformat
15039 case $version_type in
15041 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15046 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15050 shlibpath_var
=LD_LIBRARY_PATH
15053 shlibpath_overrides_runpath
=yes
15055 freebsd3.
[01]* | freebsdelf3.
[01]*)
15056 shlibpath_overrides_runpath
=yes
15057 hardcode_into_libs
=yes
15059 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15060 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15061 shlibpath_overrides_runpath
=no
15062 hardcode_into_libs
=yes
15064 *) # from 4.6 on, and DragonFly
15065 shlibpath_overrides_runpath
=yes
15066 hardcode_into_libs
=yes
15075 dynamic_linker
="$host_os runtime_loader"
15076 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15077 soname_spec
='${libname}${release}${shared_ext}$major'
15078 shlibpath_var
=LIBRARY_PATH
15079 shlibpath_overrides_runpath
=yes
15080 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15081 hardcode_into_libs
=yes
15084 hpux9
* | hpux10
* | hpux11
*)
15085 # Give a soname corresponding to the major version so that dld.sl refuses to
15086 # link against other versions.
15093 hardcode_into_libs
=yes
15094 dynamic_linker
="$host_os dld.so"
15095 shlibpath_var
=LD_LIBRARY_PATH
15096 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15097 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15098 soname_spec
='${libname}${release}${shared_ext}$major'
15099 if test "X$HPUX_IA64_MODE" = X32
; then
15100 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15102 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15104 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15108 hardcode_into_libs
=yes
15109 dynamic_linker
="$host_os dld.sl"
15110 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15111 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15112 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15113 soname_spec
='${libname}${release}${shared_ext}$major'
15114 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15115 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15119 dynamic_linker
="$host_os dld.sl"
15120 shlibpath_var
=SHLIB_PATH
15121 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15123 soname_spec
='${libname}${release}${shared_ext}$major'
15126 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15127 postinstall_cmds
='chmod 555 $lib'
15128 # or fails outright, so override atomically:
15129 install_override_mode
=555
15136 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15137 soname_spec
='${libname}${release}${shared_ext}$major'
15138 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15139 shlibpath_var
=LD_LIBRARY_PATH
15140 shlibpath_overrides_runpath
=no
15141 hardcode_into_libs
=yes
15144 irix5
* | irix6
* | nonstopux
*)
15146 nonstopux
*) version_type
=nonstopux
;;
15148 if test "$lt_cv_prog_gnu_ld" = yes; then
15156 soname_spec
='${libname}${release}${shared_ext}$major'
15157 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15159 irix5
* | nonstopux
*)
15160 libsuff
= shlibsuff
=
15163 case $LD in # libtool.m4 will add one of these switches to LD
15164 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15165 libsuff
= shlibsuff
= libmagic
=32-bit;;
15166 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15167 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15168 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15169 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15170 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15174 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15175 shlibpath_overrides_runpath
=no
15176 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15177 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15178 hardcode_into_libs
=yes
15181 # No shared lib support for Linux oldld, aout, or coff.
15182 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15186 # This must be Linux ELF.
15187 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
15191 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15192 soname_spec
='${libname}${release}${shared_ext}$major'
15193 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15194 shlibpath_var
=LD_LIBRARY_PATH
15195 shlibpath_overrides_runpath
=no
15197 # Some binutils ld are patched to set DT_RUNPATH
15198 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15199 $as_echo_n "(cached) " >&6
15201 lt_cv_shlibpath_overrides_runpath
=no
15202 save_LDFLAGS
=$LDFLAGS
15203 save_libdir
=$libdir
15204 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15205 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15207 /* end confdefs.h. */
15217 if ac_fn_cxx_try_link
"$LINENO"; then :
15218 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15219 lt_cv_shlibpath_overrides_runpath
=yes
15222 rm -f core conftest.err conftest.
$ac_objext \
15223 conftest
$ac_exeext conftest.
$ac_ext
15224 LDFLAGS
=$save_LDFLAGS
15225 libdir
=$save_libdir
15229 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15231 # This implies no fast_install, which is unacceptable.
15232 # Some rework will be needed to allow for fast_install
15233 # before this can be enabled.
15234 hardcode_into_libs
=yes
15236 # Append ld.so.conf contents to the search path
15237 if test -f /etc
/ld.so.conf
; then
15238 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' ' '`
15239 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15242 # We used to test for /lib/ld.so.1 and disable shared libraries on
15243 # powerpc, because MkLinux only supported shared libraries with the
15244 # GNU dynamic linker. Since this was broken with cross compilers,
15245 # most powerpc-linux boxes support dynamic linking these days and
15246 # people can always --disable-shared, the test was removed, and we
15247 # assume the GNU/Linux dynamic linker is in use.
15248 dynamic_linker
='GNU/Linux ld.so'
15255 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15257 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15258 dynamic_linker
='NetBSD (a.out) ld.so'
15260 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15261 soname_spec
='${libname}${release}${shared_ext}$major'
15262 dynamic_linker
='NetBSD ld.elf_so'
15264 shlibpath_var
=LD_LIBRARY_PATH
15265 shlibpath_overrides_runpath
=yes
15266 hardcode_into_libs
=yes
15271 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15272 shlibpath_var
=LD_LIBRARY_PATH
15273 shlibpath_overrides_runpath
=yes
15280 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15281 soname_spec
='${libname}${release}${shared_ext}$major'
15282 shlibpath_var
=LD_LIBRARY_PATH
15283 shlibpath_overrides_runpath
=no
15284 hardcode_into_libs
=yes
15285 dynamic_linker
='ldqnx.so'
15290 sys_lib_dlsearch_path_spec
="/usr/lib"
15292 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15294 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15295 *) need_version
=no
;;
15297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15298 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15299 shlibpath_var
=LD_LIBRARY_PATH
15300 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15302 openbsd2.
[89] | openbsd2.
[89].
*)
15303 shlibpath_overrides_runpath
=no
15306 shlibpath_overrides_runpath
=yes
15310 shlibpath_overrides_runpath
=yes
15315 libname_spec
='$name'
15318 library_names_spec
='$libname${shared_ext} $libname.a'
15319 dynamic_linker
='OS/2 ld.exe'
15320 shlibpath_var
=LIBPATH
15323 osf3
* | osf4
* | osf5
*)
15327 soname_spec
='${libname}${release}${shared_ext}$major'
15328 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15329 shlibpath_var
=LD_LIBRARY_PATH
15330 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15331 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15342 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15343 soname_spec
='${libname}${release}${shared_ext}$major'
15344 shlibpath_var
=LD_LIBRARY_PATH
15345 shlibpath_overrides_runpath
=yes
15346 hardcode_into_libs
=yes
15347 # ldd complains unless libraries are executable
15348 postinstall_cmds
='chmod +x $lib'
15353 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15354 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15355 shlibpath_var
=LD_LIBRARY_PATH
15356 shlibpath_overrides_runpath
=yes
15357 if test "$with_gnu_ld" = yes; then
15365 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15366 soname_spec
='${libname}${release}${shared_ext}$major'
15367 shlibpath_var
=LD_LIBRARY_PATH
15368 case $host_vendor in
15370 shlibpath_overrides_runpath
=no
15372 runpath_var
=LD_RUN_PATH
15380 shlibpath_overrides_runpath
=no
15381 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15387 if test -d /usr
/nec
;then
15389 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15390 soname_spec
='$libname${shared_ext}.$major'
15391 shlibpath_var
=LD_LIBRARY_PATH
15395 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15396 version_type
=freebsd-elf
15399 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15400 soname_spec
='${libname}${release}${shared_ext}$major'
15401 shlibpath_var
=LD_LIBRARY_PATH
15402 shlibpath_overrides_runpath
=yes
15403 hardcode_into_libs
=yes
15404 if test "$with_gnu_ld" = yes; then
15405 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15407 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15410 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15414 sys_lib_dlsearch_path_spec
='/usr/lib'
15418 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15422 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15423 shlibpath_var
=LD_LIBRARY_PATH
15424 shlibpath_overrides_runpath
=no
15425 hardcode_into_libs
=yes
15430 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15431 soname_spec
='${libname}${release}${shared_ext}$major'
15432 shlibpath_var
=LD_LIBRARY_PATH
15439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15440 $as_echo "$dynamic_linker" >&6; }
15441 test "$dynamic_linker" = no
&& can_build_shared
=no
15443 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15444 if test "$GCC" = yes; then
15445 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15448 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15449 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15451 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15452 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15493 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15494 hardcode_action_CXX
=
15495 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15496 test -n "$runpath_var_CXX" ||
15497 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15499 # We can hardcode non-existent directories.
15500 if test "$hardcode_direct_CXX" != no
&&
15501 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15502 # have to relink, otherwise we might link with an installed library
15503 # when we should be linking with a yet-to-be-installed one
15504 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15505 test "$hardcode_minus_L_CXX" != no
; then
15506 # Linking always hardcodes the temporary library directory.
15507 hardcode_action_CXX
=relink
15509 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15510 hardcode_action_CXX
=immediate
15513 # We cannot hardcode anything, or else we can only hardcode existing
15515 hardcode_action_CXX
=unsupported
15517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15518 $as_echo "$hardcode_action_CXX" >&6; }
15520 if test "$hardcode_action_CXX" = relink ||
15521 test "$inherit_rpath_CXX" = yes; then
15522 # Fast installation is not supported
15523 enable_fast_install
=no
15524 elif test "$shlibpath_overrides_runpath" = yes ||
15525 test "$enable_shared" = no
; then
15526 # Fast installation is not necessary
15527 enable_fast_install
=needless
15536 fi # test -n "$compiler"
15542 with_gnu_ld
=$lt_save_with_gnu_ld
15543 lt_cv_path_LDCXX
=$lt_cv_path_LD
15544 lt_cv_path_LD
=$lt_save_path_LD
15545 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15546 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15547 fi # test "$_lt_caught_CXX_error" != yes
15550 ac_cpp
='$CPP $CPPFLAGS'
15551 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15552 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15553 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15567 ac_config_commands
="$ac_config_commands libtool"
15572 # Only expand once:
15576 GPROFNG_LIBADD
="-L../../libiberty -liberty"
15577 if test "$enable_shared" = "yes"; then
15578 GPROFNG_LIBADD
="-L../../libiberty/pic -liberty"
15582 # Figure out what compiler warnings we can enable.
15583 # See config/warnings.m4 for details.
15586 ac_cpp
='$CPP $CPPFLAGS'
15587 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15588 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15589 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15592 # Check whether --enable-werror-always was given.
15593 if test "${enable_werror_always+set}" = set; then :
15594 enableval
=$enable_werror_always;
15596 enable_werror_always
=no
15599 if test $enable_werror_always = yes; then :
15600 WERROR
="$WERROR${WERROR:+ }-Werror"
15604 ac_cpp
='$CPP $CPPFLAGS'
15605 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15606 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15607 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15611 ac_cpp
='$CPP $CPPFLAGS'
15612 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15613 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15614 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15617 save_CFLAGS
="$CFLAGS"
15618 for real_option
in -Wall; do
15619 # Do the check with the no- prefix removed since gcc silently
15620 # accepts any -Wno-* option on purpose
15621 case $real_option in
15622 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
15623 *) option
=$real_option ;;
15625 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
15628 $as_echo_n "checking whether $CC supports $option... " >&6; }
15629 if eval \
${$as_acx_Woption+:} false
; then :
15630 $as_echo_n "(cached) " >&6
15633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15634 /* end confdefs.h. */
15644 if ac_fn_c_try_compile
"$LINENO"; then :
15645 eval "$as_acx_Woption=yes"
15647 eval "$as_acx_Woption=no"
15649 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15652 eval ac_res
=\$
$as_acx_Woption
15653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15654 $as_echo "$ac_res" >&6; }
15655 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
15656 gprofng_cflags
="$gprofng_cflags${gprofng_cflags:+ }$real_option"
15659 CFLAGS
="$save_CFLAGS"
15661 ac_cpp
='$CPP $CPPFLAGS'
15662 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15663 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15664 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15668 ac_cpp
='$CPP $CPPFLAGS'
15669 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15670 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15671 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15673 GPROFNG_NO_SWITCH_CFLAGS
=
15674 save_CFLAGS
="$CFLAGS"
15675 for real_option
in -Wno-switch; do
15676 # Do the check with the no- prefix removed since gcc silently
15677 # accepts any -Wno-* option on purpose
15678 case $real_option in
15679 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
15680 *) option
=$real_option ;;
15682 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
15685 $as_echo_n "checking whether $CC supports $option... " >&6; }
15686 if eval \
${$as_acx_Woption+:} false
; then :
15687 $as_echo_n "(cached) " >&6
15690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15691 /* end confdefs.h. */
15701 if ac_fn_c_try_compile
"$LINENO"; then :
15702 eval "$as_acx_Woption=yes"
15704 eval "$as_acx_Woption=no"
15706 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15709 eval ac_res
=\$
$as_acx_Woption
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15711 $as_echo "$ac_res" >&6; }
15712 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
15713 GPROFNG_NO_SWITCH_CFLAGS
="$GPROFNG_NO_SWITCH_CFLAGS${GPROFNG_NO_SWITCH_CFLAGS:+ }$real_option"
15716 CFLAGS
="$save_CFLAGS"
15718 ac_cpp
='$CPP $CPPFLAGS'
15719 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15720 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15721 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15724 gprofng_cppflags
="-U_ASM"
15731 build_collector
=true
15735 build_collector
=true
15739 build_collector
=true
15742 # Check whether --enable-gprofng-tools was given.
15743 if test "${enable_gprofng_tools+set}" = set; then :
15744 enableval
=$enable_gprofng_tools; build_src
=$enableval
15748 if test x
$build_collector = xtrue
; then
15749 BUILD_COLLECTOR_TRUE
=
15750 BUILD_COLLECTOR_FALSE
='#'
15752 BUILD_COLLECTOR_TRUE
='#'
15753 BUILD_COLLECTOR_FALSE
=
15756 if test x
$build_src = xtrue
; then
15758 BUILD_SRC_FALSE
='#'
15766 if test x
$build_collector = xtrue
; then
15769 subdirs
="$subdirs libcollector"
15771 if test x
${host} = x
${target}; then
15775 if test x
$run_tests = xtrue
; then
15777 RUN_TESTS_FALSE
='#'
15788 ac_cpp
='$CPP $CPPFLAGS'
15789 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15790 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15791 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15795 # We used to check for pthread.h first, but this fails if pthread.h
15796 # requires special compiler flags (e.g. on Tru64 or Sequent).
15797 # It gets checked for in the link test anyway.
15799 # First of all, check if the user has set any of the PTHREAD_LIBS,
15800 # etcetera environment variables, and if threads linking works using
15802 if test "x$PTHREAD_CFLAGS$PTHREAD_LIBS" != "x"; then
15803 ax_pthread_save_CC
="$CC"
15804 ax_pthread_save_CFLAGS
="$CFLAGS"
15805 ax_pthread_save_LIBS
="$LIBS"
15806 if test "x$PTHREAD_CC" != "x"; then :
15809 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
15810 LIBS
="$PTHREAD_LIBS $LIBS"
15811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5
15812 $as_echo_n "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; }
15813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15814 /* end confdefs.h. */
15816 /* Override any GCC internal prototype to avoid an error.
15817 Use char because int might match the return type of a GCC
15818 builtin and then its argument prototype would still apply. */
15822 char pthread_join ();
15826 return pthread_join ();
15831 if ac_fn_c_try_link
"$LINENO"; then :
15834 rm -f core conftest.err conftest.
$ac_objext \
15835 conftest
$ac_exeext conftest.
$ac_ext
15836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
15837 $as_echo "$ax_pthread_ok" >&6; }
15838 if test "x$ax_pthread_ok" = "xno"; then
15842 CC
="$ax_pthread_save_CC"
15843 CFLAGS
="$ax_pthread_save_CFLAGS"
15844 LIBS
="$ax_pthread_save_LIBS"
15847 # We must check for the threads library under a number of different
15848 # names; the ordering is very important because some systems
15849 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
15850 # libraries is broken (non-POSIX).
15852 # Create a list of thread flags to try. Items starting with a "-" are
15853 # C compiler flags, and other items are library names, except for "none"
15854 # which indicates that we try without any flags at all, and "pthread-config"
15855 # which is a program returning the flags for the Pth emulation library.
15857 ax_pthread_flags
="pthreads none -Kthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
15859 # The ordering *is* (sometimes) important. Some notes on the
15860 # individual items follow:
15862 # pthreads: AIX (must check this before -lpthread)
15863 # none: in case threads are in libc; should be tried before -Kthread and
15864 # other compiler flags to prevent continual compiler warnings
15865 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
15866 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
15867 # (Note: HP C rejects this with "bad form for `-t' option")
15868 # -pthreads: Solaris/gcc (Note: HP C also rejects)
15869 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
15870 # doesn't hurt to check since this sometimes defines pthreads and
15871 # -D_REENTRANT too), HP C (must be checked before -lpthread, which
15872 # is present but should not be used directly; and before -mthreads,
15873 # because the compiler interprets this as "-mt" + "-hreads")
15874 # -mthreads: Mingw32/gcc, Lynx/gcc
15875 # pthread: Linux, etcetera
15876 # --thread-safe: KAI C++
15877 # pthread-config: use pthread-config program (for GNU Pth library)
15883 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
15884 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
15886 ax_pthread_flags
="-kthread lthread $ax_pthread_flags"
15891 # From the cc(1) man page: "[-mt] Sets various -D flags to enable
15892 # multi-threading and also sets -lpthread."
15894 ax_pthread_flags
="-mt -pthread pthread $ax_pthread_flags"
15899 # IBM z/OS requires a feature-test macro to be defined in order to
15900 # enable POSIX threads at all, so give the user a hint if this is
15901 # not set. (We don't define these ourselves, as they can affect
15902 # other portions of the system API in unpredictable ways.)
15904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15905 /* end confdefs.h. */
15907 # if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
15908 AX_PTHREAD_ZOS_MISSING
15912 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15913 $EGREP "AX_PTHREAD_ZOS_MISSING" >/dev
/null
2>&1; then :
15914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&5
15915 $as_echo "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;}
15923 # On Solaris (at least, for some versions), libc contains stubbed
15924 # (non-functional) versions of the pthreads routines, so link-based
15925 # tests will erroneously succeed. (N.B.: The stubs are missing
15926 # pthread_cleanup_push, or rather a function called by this macro,
15927 # so we could check for that, but who knows whether they'll stub
15928 # that too in a future libc.) So we'll check first for the
15929 # standard Solaris way of linking pthreads (-mt -lpthread).
15931 ax_pthread_flags
="-mt,pthread pthread $ax_pthread_flags"
15935 # GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC)
15937 if test "x$GCC" = "xyes"; then :
15938 ax_pthread_flags
="-pthread -pthreads $ax_pthread_flags"
15941 # The presence of a feature test macro requesting re-entrant function
15942 # definitions is, on some systems, a strong hint that pthreads support is
15943 # correctly enabled
15946 darwin
* | hpux
* | linux
* | osf
* | solaris
*)
15947 ax_pthread_check_macro
="_REENTRANT"
15951 ax_pthread_check_macro
="_THREAD_SAFE"
15955 ax_pthread_check_macro
="--"
15958 if test "x$ax_pthread_check_macro" = "x--"; then :
15959 ax_pthread_check_cond
=0
15961 ax_pthread_check_cond
="!defined($ax_pthread_check_macro)"
15964 # Are we compiling with Clang?
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC is Clang" >&5
15967 $as_echo_n "checking whether $CC is Clang... " >&6; }
15968 if ${ax_cv_PTHREAD_CLANG+:} false
; then :
15969 $as_echo_n "(cached) " >&6
15971 ax_cv_PTHREAD_CLANG
=no
15972 # Note that Autoconf sets GCC=yes for Clang as well as GCC
15973 if test "x$GCC" = "xyes"; then
15974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15975 /* end confdefs.h. */
15976 /* Note: Clang 2.7 lacks __clang_[a-z]+__ */
15977 # if defined(__clang__) && defined(__llvm__)
15978 AX_PTHREAD_CC_IS_CLANG
15982 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15983 $EGREP "AX_PTHREAD_CC_IS_CLANG" >/dev
/null
2>&1; then :
15984 ax_cv_PTHREAD_CLANG
=yes
15991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG" >&5
15992 $as_echo "$ax_cv_PTHREAD_CLANG" >&6; }
15993 ax_pthread_clang
="$ax_cv_PTHREAD_CLANG"
15995 ax_pthread_clang_warning
=no
15997 # Clang needs special handling, because older versions handle the -pthread
15998 # option in a rather... idiosyncratic way
16000 if test "x$ax_pthread_clang" = "xyes"; then
16002 # Clang takes -pthread; it has never supported any other flag
16004 # (Note 1: This will need to be revisited if a system that Clang
16005 # supports has POSIX threads in a separate library. This tends not
16006 # to be the way of modern systems, but it's conceivable.)
16008 # (Note 2: On some systems, notably Darwin, -pthread is not needed
16009 # to get POSIX threads support; the API is always present and
16010 # active. We could reasonably leave PTHREAD_CFLAGS empty. But
16011 # -pthread does define _REENTRANT, and while the Darwin headers
16012 # ignore this macro, third-party headers might not.)
16014 PTHREAD_CFLAGS
="-pthread"
16019 # However, older versions of Clang make a point of warning the user
16020 # that, in an invocation where only linking and no compilation is
16021 # taking place, the -pthread option has no effect ("argument unused
16022 # during compilation"). They expect -pthread to be passed in only
16023 # when source code is being compiled.
16025 # Problem is, this is at odds with the way Automake and most other
16026 # C build frameworks function, which is that the same flags used in
16027 # compilation (CFLAGS) are also used in linking. Many systems
16028 # supported by AX_PTHREAD require exactly this for POSIX threads
16029 # support, and in fact it is often not straightforward to specify a
16030 # flag that is used only in the compilation phase and not in
16031 # linking. Such a scenario is extremely rare in practice.
16033 # Even though use of the -pthread flag in linking would only print
16034 # a warning, this can be a nuisance for well-run software projects
16035 # that build with -Werror. So if the active version of Clang has
16036 # this misfeature, we search for an option to squash it.
16038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread" >&5
16039 $as_echo_n "checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread... " >&6; }
16040 if ${ax_cv_PTHREAD_CLANG_NO_WARN_FLAG+:} false
; then :
16041 $as_echo_n "(cached) " >&6
16043 ax_cv_PTHREAD_CLANG_NO_WARN_FLAG
=unknown
16044 # Create an alternate version of $ac_link that compiles and
16045 # links in two steps (.c -> .o, .o -> exe) instead of one
16046 # (.c -> exe), because the warning occurs only in the second
16048 ax_pthread_save_ac_link
="$ac_link"
16049 ax_pthread_sed
='s/conftest\.\$ac_ext/conftest.$ac_objext/g'
16050 ax_pthread_link_step
=`$as_echo "$ac_link" | sed "$ax_pthread_sed"`
16051 ax_pthread_2step_ac_link
="($ac_compile) && (echo ==== >&5) && ($ax_pthread_link_step)"
16052 ax_pthread_save_CFLAGS
="$CFLAGS"
16053 for ax_pthread_try
in '' -Qunused-arguments -Wno-unused-command-line-argument unknown
; do
16054 if test "x$ax_pthread_try" = "xunknown"; then :
16057 CFLAGS
="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS"
16058 ac_link
="$ax_pthread_save_ac_link"
16059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16060 /* end confdefs.h. */
16061 int main(void){return 0;}
16063 if ac_fn_c_try_link
"$LINENO"; then :
16064 ac_link
="$ax_pthread_2step_ac_link"
16065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16066 /* end confdefs.h. */
16067 int main(void){return 0;}
16069 if ac_fn_c_try_link
"$LINENO"; then :
16072 rm -f core conftest.err conftest.
$ac_objext \
16073 conftest
$ac_exeext conftest.
$ac_ext
16076 rm -f core conftest.err conftest.
$ac_objext \
16077 conftest
$ac_exeext conftest.
$ac_ext
16079 ac_link
="$ax_pthread_save_ac_link"
16080 CFLAGS
="$ax_pthread_save_CFLAGS"
16081 if test "x$ax_pthread_try" = "x"; then :
16084 ax_cv_PTHREAD_CLANG_NO_WARN_FLAG
="$ax_pthread_try"
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&5
16088 $as_echo "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&6; }
16090 case "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" in
16092 *) PTHREAD_CFLAGS
="$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG $PTHREAD_CFLAGS" ;;
16095 fi # $ax_pthread_clang = yes
16097 if test "x$ax_pthread_ok" = "xno"; then
16098 for ax_pthread_try_flag
in $ax_pthread_flags; do
16100 case $ax_pthread_try_flag in
16102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
16103 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
16107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with -mt -lpthread" >&5
16108 $as_echo_n "checking whether pthreads work with -mt -lpthread... " >&6; }
16109 PTHREAD_CFLAGS
="-mt"
16110 PTHREAD_LIBS
="-lpthread"
16114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $ax_pthread_try_flag" >&5
16115 $as_echo_n "checking whether pthreads work with $ax_pthread_try_flag... " >&6; }
16116 PTHREAD_CFLAGS
="$ax_pthread_try_flag"
16120 # Extract the first word of "pthread-config", so it can be a program name with args.
16121 set dummy pthread-config
; ac_word
=$2
16122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16123 $as_echo_n "checking for $ac_word... " >&6; }
16124 if ${ac_cv_prog_ax_pthread_config+:} false
; then :
16125 $as_echo_n "(cached) " >&6
16127 if test -n "$ax_pthread_config"; then
16128 ac_cv_prog_ax_pthread_config
="$ax_pthread_config" # Let the user override the test.
16130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16131 for as_dir
in $PATH
16134 test -z "$as_dir" && as_dir
=.
16135 for ac_exec_ext
in '' $ac_executable_extensions; do
16136 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16137 ac_cv_prog_ax_pthread_config
="yes"
16138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16145 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config
="no"
16148 ax_pthread_config
=$ac_cv_prog_ax_pthread_config
16149 if test -n "$ax_pthread_config"; then
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
16151 $as_echo "$ax_pthread_config" >&6; }
16153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16154 $as_echo "no" >&6; }
16158 if test "x$ax_pthread_config" = "xno"; then :
16161 PTHREAD_CFLAGS
="`pthread-config --cflags`"
16162 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
16166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$ax_pthread_try_flag" >&5
16167 $as_echo_n "checking for the pthreads library -l$ax_pthread_try_flag... " >&6; }
16168 PTHREAD_LIBS
="-l$ax_pthread_try_flag"
16172 ax_pthread_save_CFLAGS
="$CFLAGS"
16173 ax_pthread_save_LIBS
="$LIBS"
16174 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
16175 LIBS
="$PTHREAD_LIBS $LIBS"
16177 # Check for various functions. We must include pthread.h,
16178 # since some functions may be macros. (On the Sequent, we
16179 # need a special flag -Kthread to make this header compile.)
16180 # We check for pthread_join because it is in -lpthread on IRIX
16181 # while pthread_create is in libc. We check for pthread_attr_init
16182 # due to DEC craziness with -lpthreads. We check for
16183 # pthread_cleanup_push because it is one of the few pthread
16184 # functions on Solaris that doesn't have a non-functional libc stub.
16185 # We try pthread_create on general principles.
16187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16188 /* end confdefs.h. */
16189 #include <pthread.h>
16190 # if $ax_pthread_check_cond
16191 # error "$ax_pthread_check_macro must be defined"
16193 static void routine(void *a) { a = 0; }
16194 static void *start_routine(void *a) { return a; }
16198 pthread_t th; pthread_attr_t attr;
16199 pthread_create(&th, 0, start_routine, 0);
16200 pthread_join(th, 0);
16201 pthread_attr_init(&attr);
16202 pthread_cleanup_push(routine, 0);
16203 pthread_cleanup_pop(0) /* ; */
16208 if ac_fn_c_try_link
"$LINENO"; then :
16211 rm -f core conftest.err conftest.
$ac_objext \
16212 conftest
$ac_exeext conftest.
$ac_ext
16214 CFLAGS
="$ax_pthread_save_CFLAGS"
16215 LIBS
="$ax_pthread_save_LIBS"
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
16218 $as_echo "$ax_pthread_ok" >&6; }
16219 if test "x$ax_pthread_ok" = "xyes"; then :
16228 # Various other checks:
16229 if test "x$ax_pthread_ok" = "xyes"; then
16230 ax_pthread_save_CFLAGS
="$CFLAGS"
16231 ax_pthread_save_LIBS
="$LIBS"
16232 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
16233 LIBS
="$PTHREAD_LIBS $LIBS"
16235 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
16237 $as_echo_n "checking for joinable pthread attribute... " >&6; }
16238 if ${ax_cv_PTHREAD_JOINABLE_ATTR+:} false
; then :
16239 $as_echo_n "(cached) " >&6
16241 ax_cv_PTHREAD_JOINABLE_ATTR
=unknown
16242 for ax_pthread_attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
16243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16244 /* end confdefs.h. */
16245 #include <pthread.h>
16249 int attr = $ax_pthread_attr; return attr /* ; */
16254 if ac_fn_c_try_link
"$LINENO"; then :
16255 ax_cv_PTHREAD_JOINABLE_ATTR
=$ax_pthread_attr; break
16257 rm -f core conftest.err conftest.
$ac_objext \
16258 conftest
$ac_exeext conftest.
$ac_ext
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
16263 $as_echo "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; }
16264 if test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xunknown" && \
16265 test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xPTHREAD_CREATE_JOINABLE" && \
16266 test "x$ax_pthread_joinable_attr_defined" != "xyes"; then :
16268 cat >>confdefs.h
<<_ACEOF
16269 #define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR
16272 ax_pthread_joinable_attr_defined
=yes
16276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether more special flags are required for pthreads" >&5
16277 $as_echo_n "checking whether more special flags are required for pthreads... " >&6; }
16278 if ${ax_cv_PTHREAD_SPECIAL_FLAGS+:} false
; then :
16279 $as_echo_n "(cached) " >&6
16281 ax_cv_PTHREAD_SPECIAL_FLAGS
=no
16284 ax_cv_PTHREAD_SPECIAL_FLAGS
="-D_POSIX_PTHREAD_SEMANTICS"
16289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
16290 $as_echo "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; }
16291 if test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
16292 test "x$ax_pthread_special_flags_added" != "xyes"; then :
16293 PTHREAD_CFLAGS
="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
16294 ax_pthread_special_flags_added
=yes
16297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
16298 $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
16299 if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false
; then :
16300 $as_echo_n "(cached) " >&6
16302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16303 /* end confdefs.h. */
16304 #include <pthread.h>
16308 int i = PTHREAD_PRIO_INHERIT;
16313 if ac_fn_c_try_link
"$LINENO"; then :
16314 ax_cv_PTHREAD_PRIO_INHERIT
=yes
16316 ax_cv_PTHREAD_PRIO_INHERIT
=no
16318 rm -f core conftest.err conftest.
$ac_objext \
16319 conftest
$ac_exeext conftest.
$ac_ext
16322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
16323 $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
16324 if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes" && \
16325 test "x$ax_pthread_prio_inherit_defined" != "xyes"; then :
16327 $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
16329 ax_pthread_prio_inherit_defined
=yes
16333 CFLAGS
="$ax_pthread_save_CFLAGS"
16334 LIBS
="$ax_pthread_save_LIBS"
16336 # More AIX lossage: compile with *_r variant
16337 if test "x$GCC" != "xyes"; then
16341 x
*/c89|x
*/c89_128|x
*/c99|x
*/c99_128|x
*/cc|x
*/cc128|x
*/xlc|x
*/xlc_v6|x
*/xlc128|x
*/xlc128_v6
) :
16342 #handle absolute path differently from PATH based program lookup
16345 if as_fn_executable_p
${CC}_r
; then :
16346 PTHREAD_CC
="${CC}_r"
16349 for ac_prog
in ${CC}_r
16351 # Extract the first word of "$ac_prog", so it can be a program name with args.
16352 set dummy
$ac_prog; ac_word
=$2
16353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16354 $as_echo_n "checking for $ac_word... " >&6; }
16355 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
16356 $as_echo_n "(cached) " >&6
16358 if test -n "$PTHREAD_CC"; then
16359 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
16361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16362 for as_dir
in $PATH
16365 test -z "$as_dir" && as_dir
=.
16366 for ac_exec_ext
in '' $ac_executable_extensions; do
16367 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16368 ac_cv_prog_PTHREAD_CC
="$ac_prog"
16369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16378 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
16379 if test -n "$PTHREAD_CC"; then
16380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
16381 $as_echo "$PTHREAD_CC" >&6; }
16383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16384 $as_echo "no" >&6; }
16388 test -n "$PTHREAD_CC" && break
16390 test -n "$PTHREAD_CC" || PTHREAD_CC
="$CC"
16401 test -n "$PTHREAD_CC" || PTHREAD_CC
="$CC"
16407 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
16408 if test "x$ax_pthread_ok" = "xyes"; then
16410 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
16418 ac_cpp
='$CPP $CPPFLAGS'
16419 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16420 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16421 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16425 # Specify a location for JDK
16429 # Check whether --with-jdk was given.
16430 if test "${with_jdk+set}" = set; then :
16435 if test "x$with_jdk" != x
; then
16436 jdk_inc
="-I$with_jdk/include -I$with_jdk/include/linux"
16437 enable_gprofng_jp
=yes
16439 # Extract the first word of "javac", so it can be a program name with args.
16440 set dummy javac
; ac_word
=$2
16441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16442 $as_echo_n "checking for $ac_word... " >&6; }
16443 if ${ac_cv_path_JAVAC+:} false
; then :
16444 $as_echo_n "(cached) " >&6
16448 ac_cv_path_JAVAC
="$JAVAC" # Let the user override the test with a path.
16451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16452 for as_dir
in $PATH
16455 test -z "$as_dir" && as_dir
=.
16456 for ac_exec_ext
in '' $ac_executable_extensions; do
16457 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16458 ac_cv_path_JAVAC
="$as_dir/$ac_word$ac_exec_ext"
16459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16466 test -z "$ac_cv_path_JAVAC" && ac_cv_path_JAVAC
="javac"
16470 JAVAC
=$ac_cv_path_JAVAC
16471 if test -n "$JAVAC"; then
16472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
16473 $as_echo "$JAVAC" >&6; }
16475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16476 $as_echo "no" >&6; }
16480 if test -f $JAVAC; then
16481 x
=`readlink -f $JAVAC`
16484 if ! test -f $x/include
/jni.h
; then
16487 if test -f $x/include
/jni.h
; then
16488 jdk_inc
="-I$x/include -I$x/include/linux"
16489 enable_gprofng_jp
=yes
16493 if test "x$enable_gprofng_jp" = x
; then
16494 # Extract the first word of "java", so it can be a program name with args.
16495 set dummy java
; ac_word
=$2
16496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16497 $as_echo_n "checking for $ac_word... " >&6; }
16498 if ${ac_cv_path_JAVA+:} false
; then :
16499 $as_echo_n "(cached) " >&6
16503 ac_cv_path_JAVA
="$JAVA" # Let the user override the test with a path.
16506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16507 for as_dir
in $PATH
16510 test -z "$as_dir" && as_dir
=.
16511 for ac_exec_ext
in '' $ac_executable_extensions; do
16512 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16513 ac_cv_path_JAVA
="$as_dir/$ac_word$ac_exec_ext"
16514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16521 test -z "$ac_cv_path_JAVA" && ac_cv_path_JAVA
="java"
16525 JAVA
=$ac_cv_path_JAVA
16526 if test -n "$JAVA"; then
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
16528 $as_echo "$JAVA" >&6; }
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16531 $as_echo "no" >&6; }
16535 if test -f $JAVA; then
16536 x
=`readlink -f $JAVA`
16539 if ! test -f $x/include
/jni.h
; then
16542 if test -f $x/include
/jni.h
; then
16543 jdk_inc
="-I$x/include -I$x/include/linux"
16544 enable_gprofng_jp
=yes
16548 if test "x$enable_gprofng_jp" = x
; then
16549 ac_fn_c_check_header_compile
"$LINENO" "jni.h" "ac_cv_header_jni_h" "
16551 if test "x$ac_cv_header_jni_h" = xyes
; then :
16552 enable_gprofng_jp
=yes
16557 GPROFNG_BROKEN_JAVAC
=no
16558 if test "x$enable_gprofng_jp" = x
; then
16559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find the JDK include directory.
16560 gprofng will be build without support for profiling Java applications.
16561 Use --with-jdk=PATH to specify directory for the installed JDK" >&5
16562 $as_echo "$as_me: WARNING: Cannot find the JDK include directory.
16563 gprofng will be build without support for profiling Java applications.
16564 Use --with-jdk=PATH to specify directory for the installed JDK" >&2;}
16567 $as_echo "#define GPROFNG_JAVA_PROFILING 1" >>confdefs.h
16569 if test "x$JAVAC" != x
; then
16570 cat > configtest.java
<< EOF
16572 public static void main(String args){
16573 System.out.println("Hello Java");
16577 if { ac_try
='$JAVAC configtest.java >&5 2>&5'
16578 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16579 (eval $ac_try) 2>&5
16581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16582 test $ac_status = 0; }; }; then
16583 GPROFNG_BROKEN_JAVAC
=no
16585 GPROFNG_BROKEN_JAVAC
=yes
16594 # Check whether --enable-gprofng-debug was given.
16595 if test "${enable_gprofng_debug+set}" = set; then :
16596 enableval
=$enable_gprofng_debug;
16597 case "$enableval" in
16599 *) as_fn_error $?
"Argument to enable/disable gprofng-debug must be yes or no" "$LINENO" 5 ;;
16603 enable_gprofng_debug
=no
16607 if test "${enable_gprofng_debug}" = yes; then
16609 $as_echo "#define DEBUG 1" >>confdefs.h
16613 cat > "dummy.c" << EOF
16614 #include <features.h>
16615 #if defined(__UCLIBC__)
16617 #elif defined(__dietlibc__)
16619 #elif defined(__GLIBC__)
16622 #include <stdarg.h>
16623 /* First heuristic to detect musl libc. */
16624 #ifdef __DEFINED_va_list
16631 cc_set_libc
=`$CC -E "dummy.c" 2>/dev/null | grep '^LIBC=' | sed 's, ,,g'`
16632 eval "$cc_set_libc"
16633 if test "$LIBC" = musl
; then
16635 $as_echo "#define __MUSL_LIBC 1" >>confdefs.h
16640 # Check if linker supports --as-needed and --no-as-needed options.
16641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker --as-needed support" >&5
16642 $as_echo_n "checking linker --as-needed support... " >&6; }
16643 if ${bfd_cv_ld_as_needed+:} false
; then :
16644 $as_echo_n "(cached) " >&6
16646 bfd_cv_ld_as_needed
=no
16647 if $LD --help 2>/dev
/null |
grep as-needed
> /dev
/null
; then
16648 bfd_cv_ld_as_needed
=yes
16652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_ld_as_needed" >&5
16653 $as_echo "$bfd_cv_ld_as_needed" >&6; }
16656 if test x
"$bfd_cv_ld_as_needed" = xyes
; then
16657 no_as_needed
='-Wl,--no-as-needed'
16660 # Extract the first word of "expect", so it can be a program name with args.
16661 set dummy expect
; ac_word
=$2
16662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16663 $as_echo_n "checking for $ac_word... " >&6; }
16664 if ${ac_cv_path_EXPECT+:} false
; then :
16665 $as_echo_n "(cached) " >&6
16669 ac_cv_path_EXPECT
="$EXPECT" # Let the user override the test with a path.
16672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16673 for as_dir
in $PATH
16676 test -z "$as_dir" && as_dir
=.
16677 for ac_exec_ext
in '' $ac_executable_extensions; do
16678 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16679 ac_cv_path_EXPECT
="$as_dir/$ac_word$ac_exec_ext"
16680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16690 EXPECT
=$ac_cv_path_EXPECT
16691 if test -n "$EXPECT"; then
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPECT" >&5
16693 $as_echo "$EXPECT" >&6; }
16695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16696 $as_echo "no" >&6; }
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl supporting try/catch" >&5
16701 $as_echo_n "checking for Tcl supporting try/catch... " >&6; }
16702 if ${ac_cv_libctf_tcl_try+:} false
; then :
16703 $as_echo_n "(cached) " >&6
16705 ac_cv_libctf_tcl_try
=`if test -z $EXPECT; then echo no; else $EXPECT << EOF
16706 if [llength [info commands try]] then { puts yes } else { puts no }
16711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libctf_tcl_try" >&5
16712 $as_echo "$ac_cv_libctf_tcl_try" >&6; }
16713 if test "${ac_cv_libctf_tcl_try}" = yes; then
16723 # Use the system's zlib library.
16724 zlibdir
="-L\$(top_builddir)/../zlib"
16725 zlibinc
="-I\$(top_srcdir)/../zlib"
16727 # Check whether --with-system-zlib was given.
16728 if test "${with_system_zlib+set}" = set; then :
16729 withval
=$with_system_zlib; if test x
$with_system_zlib = xyes
; then
16740 # Generate manpages, if possible.
16743 if test $cross_compiling = no
; then
16744 for ac_prog
in help2man
16746 # Extract the first word of "$ac_prog", so it can be a program name with args.
16747 set dummy
$ac_prog; ac_word
=$2
16748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16749 $as_echo_n "checking for $ac_word... " >&6; }
16750 if ${ac_cv_prog_HELP2MAN+:} false
; then :
16751 $as_echo_n "(cached) " >&6
16753 if test -n "$HELP2MAN"; then
16754 ac_cv_prog_HELP2MAN
="$HELP2MAN" # Let the user override the test.
16756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16757 for as_dir
in $PATH
16760 test -z "$as_dir" && as_dir
=.
16761 for ac_exec_ext
in '' $ac_executable_extensions; do
16762 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16763 ac_cv_prog_HELP2MAN
="$ac_prog"
16764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16773 HELP2MAN
=$ac_cv_prog_HELP2MAN
16774 if test -n "$HELP2MAN"; then
16775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELP2MAN" >&5
16776 $as_echo "$HELP2MAN" >&6; }
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16779 $as_echo "no" >&6; }
16783 test -n "$HELP2MAN" && break
16785 test -n "$HELP2MAN" || HELP2MAN
="$MISSING help2man"
16787 case "x$HELP2MAN" in
16788 x |
*/missing\ help2man
* )
16789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gprofng: help2man is missing. Man pages will not be built." >&5
16790 $as_echo "$as_me: WARNING: gprofng: help2man is missing. Man pages will not be built." >&2;}
16792 * ) build_man
=true
;;
16795 for ac_prog
in makeinfo
16797 # Extract the first word of "$ac_prog", so it can be a program name with args.
16798 set dummy
$ac_prog; ac_word
=$2
16799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16800 $as_echo_n "checking for $ac_word... " >&6; }
16801 if ${ac_cv_prog_MAKEINFO+:} false
; then :
16802 $as_echo_n "(cached) " >&6
16804 if test -n "$MAKEINFO"; then
16805 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
16807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16808 for as_dir
in $PATH
16811 test -z "$as_dir" && as_dir
=.
16812 for ac_exec_ext
in '' $ac_executable_extensions; do
16813 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16814 ac_cv_prog_MAKEINFO
="$ac_prog"
16815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16824 MAKEINFO
=$ac_cv_prog_MAKEINFO
16825 if test -n "$MAKEINFO"; then
16826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
16827 $as_echo "$MAKEINFO" >&6; }
16829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16830 $as_echo "no" >&6; }
16834 test -n "$MAKEINFO" && break
16836 test -n "$MAKEINFO" || MAKEINFO
="$MISSING makeinfo"
16838 case "x$MAKEINFO" in
16839 x |
*/missing\ makeinfo
*)
16840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gprofng: makeinfo is missing. Info documentation will not be built." >&5
16841 $as_echo "$as_me: WARNING: gprofng: makeinfo is missing. Info documentation will not be built." >&2;}
16844 case x
"`$MAKEINFO --version | grep 'GNU texinfo'`" in
16845 x
*\
[1-5].
*|x
*\
6.
[0-4].
* )
16846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gprofng: $MAKEINFO is too old. Info documentation will not be built." >&5
16847 $as_echo "$as_me: WARNING: gprofng: $MAKEINFO is too old. Info documentation will not be built." >&2;}
16848 MAKEINFO
="@echo $MAKEINFO is too old, 6.5 or newer required; true"
16850 x
* ) build_doc
=true
;;
16856 if test x
$build_man = xtrue
; then
16858 BUILD_MAN_FALSE
='#'
16864 if test x
$build_doc = xtrue
; then
16866 BUILD_DOC_FALSE
='#'
16873 LD_NO_AS_NEEDED
=${no_as_needed}
16875 GPROFNG_CFLAGS
=${gprofng_cflags}
16879 GPROFNG_CPPFLAGS
=${gprofng_cppflags}
16882 ac_fn_c_check_decl
"$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
16883 if test "x$ac_cv_have_decl_basename" = xyes
; then :
16889 cat >>confdefs.h
<<_ACEOF
16890 #define HAVE_DECL_BASENAME $ac_have_decl
16893 for ac_func
in clock_gettime strsignal
16895 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16896 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16897 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16898 cat >>confdefs.h
<<_ACEOF
16899 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16906 clock_gettime_link
=
16907 # At least for glibc, clock_gettime is in librt. But don't
16908 # pull that in if it still doesn't give us the function we want. This
16909 # test is copied from libgomp, and modified to not link in -lrt as
16910 # we're using this for test timing only.
16911 if test "$ac_cv_func_clock_gettime" = no
; then
16912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
16913 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
16914 if ${ac_cv_lib_rt_clock_gettime+:} false
; then :
16915 $as_echo_n "(cached) " >&6
16917 ac_check_lib_save_LIBS
=$LIBS
16919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16920 /* end confdefs.h. */
16922 /* Override any GCC internal prototype to avoid an error.
16923 Use char because int might match the return type of a GCC
16924 builtin and then its argument prototype would still apply. */
16928 char clock_gettime ();
16932 return clock_gettime ();
16937 if ac_fn_c_try_link
"$LINENO"; then :
16938 ac_cv_lib_rt_clock_gettime
=yes
16940 ac_cv_lib_rt_clock_gettime
=no
16942 rm -f core conftest.err conftest.
$ac_objext \
16943 conftest
$ac_exeext conftest.
$ac_ext
16944 LIBS
=$ac_check_lib_save_LIBS
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
16947 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
16948 if test "x$ac_cv_lib_rt_clock_gettime" = xyes
; then :
16949 CLOCK_GETTIME_LINK
=-lrt
16951 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16960 ac_config_files
="$ac_config_files Makefile src/Makefile gp-display-html/Makefile doc/Makefile"
16962 ac_config_headers
="$ac_config_headers config.h:common/config.h.in"
16965 cat >confcache
<<\_ACEOF
16966 # This file is a shell script that caches the results of configure
16967 # tests run on this system so they can be shared between configure
16968 # scripts and configure runs, see configure's option --config-cache.
16969 # It is not useful on other systems. If it contains results you don't
16970 # want to keep, you may remove or edit it.
16972 # config.status only pays attention to the cache file if you give it
16973 # the --recheck option to rerun configure.
16975 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16976 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16977 # following values.
16981 # The following way of writing the cache mishandles newlines in values,
16982 # but we know of no workaround that is simple, portable, and efficient.
16983 # So, we kill variables containing newlines.
16984 # Ultrix sh set writes to stderr and can't be redirected directly,
16985 # and sets the high bit in the cache file unless we assign to the vars.
16987 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16988 eval ac_val
=\$
$ac_var
16992 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16993 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16996 _ | IFS | as_nl
) ;; #(
16997 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16998 *) { eval $ac_var=; unset $ac_var;} ;;
17004 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17005 *${as_nl}ac_space
=\
*)
17006 # `set' does not quote correctly, so add quotes: double-quote
17007 # substitution turns \\\\ into \\, and sed turns \\ into \.
17010 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17013 # `set' quotes correctly as required by POSIX, so do not add quotes.
17014 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17023 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17025 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17027 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17028 if test -w "$cache_file"; then
17029 if test "x$cache_file" != "x/dev/null"; then
17030 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17031 $as_echo "$as_me: updating cache $cache_file" >&6;}
17032 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17033 cat confcache
>"$cache_file"
17035 case $cache_file in #(
17037 mv -f confcache
"$cache_file"$$
&&
17038 mv -f "$cache_file"$$
"$cache_file" ;; #(
17040 mv -f confcache
"$cache_file" ;;
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17046 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17051 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17052 # Let make expand exec_prefix.
17053 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17055 DEFS
=-DHAVE_CONFIG_H
17060 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17061 # 1. Remove the extension, and $U if already installed.
17062 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17063 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17064 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17065 # will be set to the directory where LIBOBJS objects are built.
17066 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17067 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17069 LIBOBJS
=$ac_libobjs
17071 LTLIBOBJS
=$ac_ltlibobjs
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17075 $as_echo_n "checking that generated files are newer than configure... " >&6; }
17076 if test -n "$am_sleep_pid"; then
17077 # Hide warnings about reused PIDs.
17078 wait $am_sleep_pid 2>/dev
/null
17080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17081 $as_echo "done" >&6; }
17082 if test -n "$EXEEXT"; then
17084 am__EXEEXT_FALSE
='#'
17086 am__EXEEXT_TRUE
='#'
17090 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17091 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
17092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17094 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17095 as_fn_error $?
"conditional \"AMDEP\" was never defined.
17096 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17098 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17099 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
17100 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17102 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17103 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
17104 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17106 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17107 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
17108 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17110 if test -z "${BUILD_COLLECTOR_TRUE}" && test -z "${BUILD_COLLECTOR_FALSE}"; then
17111 as_fn_error $?
"conditional \"BUILD_COLLECTOR\" was never defined.
17112 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17114 if test -z "${BUILD_SRC_TRUE}" && test -z "${BUILD_SRC_FALSE}"; then
17115 as_fn_error $?
"conditional \"BUILD_SRC\" was never defined.
17116 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17118 if test -z "${RUN_TESTS_TRUE}" && test -z "${RUN_TESTS_FALSE}"; then
17119 as_fn_error $?
"conditional \"RUN_TESTS\" was never defined.
17120 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17122 if test -z "${TCL_TRY_TRUE}" && test -z "${TCL_TRY_FALSE}"; then
17123 as_fn_error $?
"conditional \"TCL_TRY\" was never defined.
17124 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17126 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
17127 as_fn_error $?
"conditional \"BUILD_MAN\" was never defined.
17128 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17130 if test -z "${BUILD_DOC_TRUE}" && test -z "${BUILD_DOC_FALSE}"; then
17131 as_fn_error $?
"conditional \"BUILD_DOC\" was never defined.
17132 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17135 : "${CONFIG_STATUS=./config.status}"
17137 ac_clean_files_save
=$ac_clean_files
17138 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17140 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17142 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17144 # Generated by $as_me.
17145 # Run this file to recreate the current configuration.
17146 # Compiler output produced by configure, useful for debugging
17147 # configure, is in config.log if it exists.
17150 ac_cs_recheck=false
17153 SHELL=\${CONFIG_SHELL-$SHELL}
17156 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17157 ## -------------------- ##
17158 ## M4sh Initialization. ##
17159 ## -------------------- ##
17161 # Be more Bourne compatible
17162 DUALCASE
=1; export DUALCASE
# for MKS sh
17163 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17166 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17167 # is contrary to our usage. Disable this feature.
17168 alias -g '${1+"$@"}'='"$@"'
17169 setopt NO_GLOB_SUBST
17171 case `(set -o) 2>/dev/null` in #(
17183 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17184 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17185 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17186 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17187 # Prefer a ksh shell builtin over an external printf program on Solaris,
17188 # but without wasting forks for bash or zsh.
17189 if test -z "$BASH_VERSION$ZSH_VERSION" \
17190 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17191 as_echo='print
-r --'
17192 as_echo_n='print
-rn --'
17193 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17194 as_echo='printf %s
\n'
17195 as_echo_n='printf %s
'
17197 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17198 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17199 as_echo_n='/usr
/ucb
/echo -n'
17201 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17202 as_echo_n_body='eval
17206 expr "X$arg" : "X\\(.*\\)$as_nl";
17207 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17209 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17211 export as_echo_n_body
17212 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17214 export as_echo_body
17215 as_echo='sh
-c $as_echo_body as_echo
'
17218 # The user is always right.
17219 if test "${PATH_SEPARATOR+set}" != set; then
17221 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17222 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17229 # We need space, tab and new line, in precisely that order. Quoting is
17230 # there to prevent editors from complaining about space-tab.
17231 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17232 # splitting by setting IFS to empty value.)
17235 # Find who we are. Look in the path if we contain no directory separator.
17238 *[\\/]* ) as_myself=$0 ;;
17239 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17240 for as_dir in $PATH
17243 test -z "$as_dir" && as_dir=.
17244 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17250 # We did not find ourselves, most probably we were run as `sh COMMAND'
17251 # in which case we are not to be found in the path.
17252 if test "x$as_myself" = x
; then
17255 if test ! -f "$as_myself"; then
17256 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17260 # Unset variables that we do not need and which cause bugs (e.g. in
17261 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17262 # suppresses any "Segmentation fault" message there. '((' could
17263 # trigger a bug in pdksh 5.2.14.
17264 for as_var
in BASH_ENV ENV MAIL MAILPATH
17265 do eval test x\
${$as_var+set} = xset \
17266 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17279 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17282 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17283 # ----------------------------------------
17284 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17285 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17286 # script with STATUS, using 1 if that was 0.
17289 as_status
=$1; test $as_status -eq 0 && as_status
=1
17291 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17292 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17294 $as_echo "$as_me: error: $2" >&2
17295 as_fn_exit
$as_status
17299 # as_fn_set_status STATUS
17300 # -----------------------
17301 # Set $? to STATUS, without forking.
17302 as_fn_set_status
()
17305 } # as_fn_set_status
17307 # as_fn_exit STATUS
17308 # -----------------
17309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17313 as_fn_set_status
$1
17319 # Portably unset VAR.
17322 { eval $1=; unset $1;}
17324 as_unset
=as_fn_unset
17325 # as_fn_append VAR VALUE
17326 # ----------------------
17327 # Append the text in VALUE to the end of the definition contained in VAR. Take
17328 # advantage of any shell optimizations that allow amortized linear growth over
17329 # repeated appends, instead of the typical quadratic growth present in naive
17331 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17332 eval 'as_fn_append ()
17343 # as_fn_arith ARG...
17344 # ------------------
17345 # Perform arithmetic evaluation on the ARGs, and store the result in the
17346 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17347 # must be portable across $(()) and expr.
17348 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17349 eval 'as_fn_arith ()
17356 as_val
=`expr "$@" || test $? -eq 1`
17361 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17362 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17368 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17369 as_basename
=basename
17374 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17380 as_me
=`$as_basename -- "$0" ||
17381 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17382 X"$0" : 'X\(//\)$' \| \
17383 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17385 sed '/^.*\/\([^/][^/]*\)\/*$/{
17399 # Avoid depending upon Character Ranges.
17400 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17401 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17402 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17403 as_cr_digits
='0123456789'
17404 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17406 ECHO_C
= ECHO_N
= ECHO_T
=
17407 case `echo -n x` in #(((((
17409 case `echo 'xy\c'` in
17410 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17412 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17419 rm -f conf$$ conf$$.exe conf$$.
file
17420 if test -d conf$$.dir
; then
17421 rm -f conf$$.dir
/conf$$.
file
17424 mkdir conf$$.dir
2>/dev
/null
17426 if (echo >conf$$.
file) 2>/dev
/null
; then
17427 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17429 # ... but there are two gotchas:
17430 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17431 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17432 # In both cases, we have to default to `cp -pR'.
17433 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17435 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17443 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17444 rmdir conf$$.dir
2>/dev
/null
17449 # Create "$as_dir" as a directory, including parents if necessary.
17454 -*) as_dir
=.
/$as_dir;;
17456 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17460 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17461 *) as_qdir
=$as_dir;;
17463 as_dirs
="'$as_qdir' $as_dirs"
17464 as_dir
=`$as_dirname -- "$as_dir" ||
17465 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17466 X"$as_dir" : 'X\(//\)[^/]' \| \
17467 X"$as_dir" : 'X\(//\)$' \| \
17468 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17469 $as_echo X"$as_dir" |
17470 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17474 /^X\(\/\/\)[^/].*/{
17487 test -d "$as_dir" && break
17489 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17490 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17494 if mkdir
-p .
2>/dev
/null
; then
17495 as_mkdir_p
='mkdir -p "$as_dir"'
17497 test -d .
/-p && rmdir .
/-p
17502 # as_fn_executable_p FILE
17503 # -----------------------
17504 # Test if FILE is an executable regular file.
17505 as_fn_executable_p
()
17507 test -f "$1" && test -x "$1"
17508 } # as_fn_executable_p
17509 as_test_x
='test -x'
17510 as_executable_p
=as_fn_executable_p
17512 # Sed expression to map a string onto a valid CPP name.
17513 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17515 # Sed expression to map a string onto a valid variable name.
17516 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17520 ## ----------------------------------- ##
17521 ## Main body of $CONFIG_STATUS script. ##
17522 ## ----------------------------------- ##
17524 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17526 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17527 # Save the log message, to keep $0 and so on meaningful, and to
17528 # report actual input values of CONFIG_FILES etc. instead of their
17529 # values after options handling.
17531 This file was extended by gprofng $as_me 2.40.50, which was
17532 generated by GNU Autoconf 2.69. Invocation command line was
17534 CONFIG_FILES = $CONFIG_FILES
17535 CONFIG_HEADERS = $CONFIG_HEADERS
17536 CONFIG_LINKS = $CONFIG_LINKS
17537 CONFIG_COMMANDS = $CONFIG_COMMANDS
17540 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17545 case $ac_config_files in *"
17546 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17549 case $ac_config_headers in *"
17550 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17554 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17555 # Files that config.status was made for.
17556 config_files="$ac_config_files"
17557 config_headers="$ac_config_headers"
17558 config_commands="$ac_config_commands"
17562 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17564 \`$as_me' instantiates files and other configuration actions
17565 from templates according to the current configuration. Unless the files
17566 and actions are specified as TAGs, all are instantiated by default.
17568 Usage: $0 [OPTION]... [TAG]...
17570 -h, --help print this help, then exit
17571 -V, --version print version number and configuration settings, then exit
17572 --config print configuration, then exit
17573 -q, --quiet, --silent
17574 do not print progress messages
17575 -d, --debug don't remove temporary files
17576 --recheck update $as_me by reconfiguring in the same conditions
17577 --file=FILE[:TEMPLATE]
17578 instantiate the configuration file FILE
17579 --header=FILE[:TEMPLATE]
17580 instantiate the configuration header FILE
17582 Configuration files:
17585 Configuration headers:
17588 Configuration commands:
17591 Report bugs to the package provider."
17594 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17595 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17597 gprofng config.status 2.40.50
17598 configured by $0, generated by GNU Autoconf 2.69,
17599 with options \\"\$ac_cs_config\\"
17601 Copyright (C) 2012 Free Software Foundation, Inc.
17602 This config.status script is free software; the Free Software Foundation
17603 gives unlimited permission to copy, distribute and modify it."
17610 test -n "\$AWK" || AWK=awk
17613 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17614 # The default lists apply if the user does not specify any file.
17620 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17621 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17625 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17637 # Handling of the options.
17638 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17640 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17641 $as_echo "$ac_cs_version"; exit ;;
17642 --config |
--confi |
--conf |
--con |
--co |
--c )
17643 $as_echo "$ac_cs_config"; exit ;;
17644 --debug |
--debu |
--deb |
--de |
--d |
-d )
17646 --file |
--fil |
--fi |
--f )
17649 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17650 '') as_fn_error $?
"missing file argument" ;;
17652 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17653 ac_need_defaults
=false
;;
17654 --header |
--heade |
--head |
--hea )
17657 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17659 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17660 ac_need_defaults
=false
;;
17662 # Conflict between --help and --header
17663 as_fn_error $?
"ambiguous option: \`$1'
17664 Try \`$0 --help' for more information.";;
17665 --help |
--hel |
-h )
17666 $as_echo "$ac_cs_usage"; exit ;;
17667 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17668 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17671 # This is an error.
17672 -*) as_fn_error $?
"unrecognized option: \`$1'
17673 Try \`$0 --help' for more information." ;;
17675 *) as_fn_append ac_config_targets
" $1"
17676 ac_need_defaults
=false
;;
17682 ac_configure_extra_args
=
17684 if $ac_cs_silent; then
17686 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17690 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17691 if \$ac_cs_recheck; then
17692 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17694 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17695 CONFIG_SHELL='$SHELL'
17696 export CONFIG_SHELL
17701 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17705 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17706 ## Running $as_me. ##
17712 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17716 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17719 # The HP-UX ksh and POSIX shell print the target directory to stdout
17720 # if CDPATH is set.
17721 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17723 sed_quote_subst='$sed_quote_subst'
17724 double_quote_subst='$double_quote_subst'
17725 delay_variable_subst='$delay_variable_subst'
17726 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17727 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17728 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17729 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17730 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17731 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17732 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17733 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17734 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17735 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17736 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17737 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17738 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17739 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17740 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17741 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17742 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17743 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17744 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17745 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17746 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17747 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17748 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17749 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17750 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17751 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17752 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17753 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17754 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17755 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17756 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17757 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17758 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17759 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17760 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17761 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17762 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17763 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17764 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17765 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17766 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17767 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17768 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17769 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17770 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17771 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17772 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17773 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17774 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"`'
17775 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17776 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17777 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17778 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17779 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17780 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17781 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17782 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17783 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17784 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17785 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17786 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17787 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17788 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17789 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17790 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17791 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17792 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17793 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17794 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17795 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17796 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17797 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17798 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17799 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17800 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17801 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17802 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17803 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17804 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17805 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17806 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17807 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17808 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17809 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17810 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17811 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17812 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17813 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17814 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17815 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
17816 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17817 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17818 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17819 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17820 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17821 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17822 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17823 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17824 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17825 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17826 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17827 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17828 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17829 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17830 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17831 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17832 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17833 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17834 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17835 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17836 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17837 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17838 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17839 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17840 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17841 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17842 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17843 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17844 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17845 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17846 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17847 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17848 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17849 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17850 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17851 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17852 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17853 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17854 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17855 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17856 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17857 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17858 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17859 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17860 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17861 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17862 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17863 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17864 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17865 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17866 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17867 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17868 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17869 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17870 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17871 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17872 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17873 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17874 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17875 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17876 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17877 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17878 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
17879 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17880 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17881 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17882 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17883 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17884 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17885 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17886 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17887 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
17888 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17889 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17890 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17891 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17892 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17893 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17894 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17895 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17896 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17897 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17898 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17899 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17900 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17903 LTCFLAGS='$LTCFLAGS'
17904 compiler='$compiler_DEFAULT'
17906 # A function that is used when there is no print builtin or printf.
17907 func_fallback_echo ()
17909 eval 'cat <<_LTECHO_EOF
17914 # Quote evaled strings.
17928 deplibs_check_method \
17937 lt_cv_sys_global_symbol_pipe \
17938 lt_cv_sys_global_symbol_to_cdecl \
17939 lt_cv_sys_global_symbol_to_c_name_address \
17940 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17941 lt_prog_compiler_no_builtin_flag \
17942 lt_prog_compiler_wl \
17943 lt_prog_compiler_pic \
17944 lt_prog_compiler_static \
17945 lt_cv_prog_compiler_c_o \
17953 export_dynamic_flag_spec \
17954 whole_archive_flag_spec \
17955 compiler_needs_object \
17957 allow_undefined_flag \
17958 no_undefined_flag \
17959 hardcode_libdir_flag_spec \
17960 hardcode_libdir_flag_spec_ld \
17961 hardcode_libdir_separator \
17966 variables_saved_for_relink \
17968 library_names_spec \
17970 install_override_mode \
17974 compiler_lib_search_dirs \
17979 compiler_lib_search_path \
17983 lt_prog_compiler_no_builtin_flag_CXX \
17984 lt_prog_compiler_wl_CXX \
17985 lt_prog_compiler_pic_CXX \
17986 lt_prog_compiler_static_CXX \
17987 lt_cv_prog_compiler_c_o_CXX \
17988 export_dynamic_flag_spec_CXX \
17989 whole_archive_flag_spec_CXX \
17990 compiler_needs_object_CXX \
17992 allow_undefined_flag_CXX \
17993 no_undefined_flag_CXX \
17994 hardcode_libdir_flag_spec_CXX \
17995 hardcode_libdir_flag_spec_ld_CXX \
17996 hardcode_libdir_separator_CXX \
17997 fix_srcfile_path_CXX \
17998 exclude_expsyms_CXX \
17999 include_expsyms_CXX \
18000 file_list_spec_CXX \
18001 compiler_lib_search_dirs_CXX \
18002 predep_objects_CXX \
18003 postdep_objects_CXX \
18006 compiler_lib_search_path_CXX; do
18007 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18008 *[\\\\\\\`\\"\\\$]*)
18009 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18012 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18017 # Double-quote double-evaled strings.
18018 for var in reload_cmds \
18019 old_postinstall_cmds \
18020 old_postuninstall_cmds \
18022 extract_expsyms_cmds \
18023 old_archive_from_new_cmds \
18024 old_archive_from_expsyms_cmds \
18026 archive_expsym_cmds \
18028 module_expsym_cmds \
18029 export_symbols_cmds \
18032 postuninstall_cmds \
18034 sys_lib_search_path_spec \
18035 sys_lib_dlsearch_path_spec \
18037 old_archive_cmds_CXX \
18038 old_archive_from_new_cmds_CXX \
18039 old_archive_from_expsyms_cmds_CXX \
18041 archive_expsym_cmds_CXX \
18043 module_expsym_cmds_CXX \
18044 export_symbols_cmds_CXX \
18045 prelink_cmds_CXX; do
18046 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18047 *[\\\\\\\`\\"\\\$]*)
18048 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18051 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18056 ac_aux_dir='$ac_aux_dir'
18057 xsi_shell='$xsi_shell'
18058 lt_shell_append='$lt_shell_append'
18060 # See if we are running on zsh, and set the options which allow our
18061 # commands through without removal of \ escapes INIT.
18062 if test -n "\${ZSH_VERSION+set}" ; then
18063 setopt NO_GLOB_SUBST
18069 TIMESTAMP='$TIMESTAMP'
18080 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18082 # Handling of arguments.
18083 for ac_config_target
in $ac_config_targets
18085 case $ac_config_target in
18086 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
18087 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
18088 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
18089 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
18090 "gp-display-html/Makefile") CONFIG_FILES
="$CONFIG_FILES gp-display-html/Makefile" ;;
18091 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
18092 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:common/config.h.in" ;;
18094 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18099 # If the user did not use the arguments to specify the items to instantiate,
18100 # then the envvar interface is used. Set only those that are not.
18101 # We use the long form for the default assignment because of an extremely
18102 # bizarre bug on SunOS 4.1.3.
18103 if $ac_need_defaults; then
18104 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18105 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18106 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18109 # Have a temporary directory for convenience. Make it in the build tree
18110 # simply because there is no reason against having it here, and in addition,
18111 # creating and moving files from /tmp can sometimes cause problems.
18112 # Hook for its removal unless debugging.
18113 # Note that there is a small window in which the directory will not be cleaned:
18114 # after its creation but before its name has been assigned to `$tmp'.
18118 trap 'exit_status=$?
18119 : "${ac_tmp:=$tmp}"
18120 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18122 trap 'as_fn_exit 1' 1 2 13 15
18124 # Create a (secure) tmp directory for tmp files.
18127 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18131 tmp
=.
/conf$$
-$RANDOM
18132 (umask 077 && mkdir
"$tmp")
18133 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18136 # Set up the scripts for CONFIG_FILES section.
18137 # No need to generate them if there are no CONFIG_FILES.
18138 # This happens for instance with `./config.status config.h'.
18139 if test -n "$CONFIG_FILES"; then
18142 ac_cr
=`echo X | tr X '\015'`
18143 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18144 # But we know of no other shell where ac_cr would be empty at this
18145 # point, so we can use a bashism as a fallback.
18146 if test "x$ac_cr" = x
; then
18147 eval ac_cr
=\$
\'\\r
\'
18149 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18150 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18153 ac_cs_awk_cr
=$ac_cr
18156 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18161 echo "cat >conf$$subs.awk <<_ACEOF" &&
18162 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18164 } >conf$$subs.sh ||
18165 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18166 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18168 for ac_last_try in false false false false false :; do
18169 . ./conf$$subs.sh ||
18170 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18172 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18173 if test $ac_delim_n = $ac_delim_num; then
18175 elif $ac_last_try; then
18176 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18178 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18181 rm -f conf$$subs.sh
18183 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18184 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18188 s/^/S["/; s
/!.
*/"]=/
18198 s/\(.\{148\}\)..*/\1/
18200 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18205 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18212 s/\(.\{148\}\)..*/\1/
18214 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18218 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18223 ' <conf$$subs.awk | sed '
18228 ' >>$CONFIG_STATUS || ac_write_fail=1
18229 rm -f conf$$subs.awk
18230 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18232 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18233 for (key in S) S_is_set[key] = 1
18239 nfields = split(line, field, "@
")
18241 len = length(field[1])
18242 for (i = 2; i < nfields; i++) {
18244 keylen = length(key)
18245 if (S_is_set[key]) {
18247 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18248 len += length(value) + length(field[++i])
18259 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18260 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18261 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18264 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18265 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18268 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18269 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18270 # trailing colons and then remove the whole line if VPATH becomes empty
18271 # (actually we leave an empty line to preserve line numbers).
18272 if test "x
$srcdir" = x.; then
18273 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18292 fi # test -n "$CONFIG_FILES"
18294 # Set up the scripts for CONFIG_HEADERS section.
18295 # No need to generate them if there are no CONFIG_HEADERS.
18296 # This happens for instance with `./config.status Makefile'.
18297 if test -n "$CONFIG_HEADERS"; then
18298 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18302 # Transform confdefs.h into an awk script `defines.awk', embedded as
18303 # here-document in config.status, that substitutes the proper values into
18304 # config.h.in to produce config.h.
18306 # Create a delimiter string that does not exist in confdefs.h, to ease
18307 # handling of long lines.
18309 for ac_last_try in false false :; do
18310 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18311 if test -z "$ac_tt"; then
18313 elif $ac_last_try; then
18314 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18316 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18320 # For the awk script, D is an array of macro values keyed by name,
18321 # likewise P contains macro parameters if any. Preserve backslash
18322 # newline sequences.
18324 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18326 s/.\{148\}/&'"$ac_delim"'/g
18329 s/^[ ]*#[ ]*define[ ][ ]*/ /
18336 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18338 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18342 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18343 D["\
1"]=" \
3\\\\\\n
"\\/p
18345 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18350 s/.\{148\}/&'"$ac_delim"'/g
18355 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18358 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18360 ' <confdefs.h | sed '
18361 s/'"$ac_delim"'/"\\\
18362 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18364 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18365 for (key in D) D_is_set[key] = 1
18368 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18370 split(line, arg, " ")
18371 if (arg[1] == "#") {
18375 defundef
= substr
(arg
[1], 2)
18378 split(mac1
, mac2
, "(") #)
18380 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18381 if (D_is_set
[macro
]) {
18382 # Preserve the white space surrounding the "#".
18383 print prefix
"define", macro P
[macro
] D
[macro
]
18386 # Replace #undef with comments. This is necessary, for example,
18387 # in the case of _POSIX_SOURCE, which is predefined and required
18388 # on some systems where configure will not decide to define it.
18389 if (defundef
== "undef") {
18390 print
"/*", prefix defundef
, macro
, "*/"
18398 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18399 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18400 fi # test -n "$CONFIG_HEADERS"
18403 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18408 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18410 case $ac_mode$ac_tag in
18412 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18413 :[FH
]-) ac_tag
=-:-;;
18414 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18431 -) ac_f
="$ac_tmp/stdin";;
18432 *) # Look for the file first in the build tree, then in the source tree
18433 # (if the path is not absolute). The absolute path cannot be DOS-style,
18434 # because $ac_f cannot contain `:'.
18438 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18440 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18442 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18443 as_fn_append ac_file_inputs
" '$ac_f'"
18446 # Let's still pretend it is `configure' which instantiates (i.e., don't
18447 # use $as_me), people would be surprised to read:
18448 # /* config.h. Generated by config.status. */
18449 configure_input
='Generated from '`
18450 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18452 if test x
"$ac_file" != x-
; then
18453 configure_input
="$ac_file. $configure_input"
18454 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18455 $as_echo "$as_me: creating $ac_file" >&6;}
18457 # Neutralize special characters interpreted by sed in replacement strings.
18458 case $configure_input in #(
18459 *\
&* |
*\|
* |
*\\* )
18460 ac_sed_conf_input
=`$as_echo "$configure_input" |
18461 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18462 *) ac_sed_conf_input
=$configure_input;;
18466 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18467 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18472 ac_dir
=`$as_dirname -- "$ac_file" ||
18473 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18474 X"$ac_file" : 'X\(//\)[^/]' \| \
18475 X"$ac_file" : 'X\(//\)$' \| \
18476 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18477 $as_echo X"$ac_file" |
18478 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18482 /^X\(\/\/\)[^/].*/{
18495 as_dir
="$ac_dir"; as_fn_mkdir_p
18499 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18501 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18502 # A ".." for each directory in $ac_dir_suffix.
18503 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18504 case $ac_top_builddir_sub in
18505 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18506 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18509 ac_abs_top_builddir
=$ac_pwd
18510 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18511 # for backward compatibility:
18512 ac_top_builddir
=$ac_top_build_prefix
18515 .
) # We are building in place.
18517 ac_top_srcdir
=$ac_top_builddir_sub
18518 ac_abs_top_srcdir
=$ac_pwd ;;
18519 [\\/]* | ?
:[\\/]* ) # Absolute name.
18520 ac_srcdir
=$srcdir$ac_dir_suffix;
18521 ac_top_srcdir
=$srcdir
18522 ac_abs_top_srcdir
=$srcdir ;;
18523 *) # Relative name.
18524 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18525 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18526 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18528 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18538 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18539 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
18541 ac_MKDIR_P
=$MKDIR_P
18543 [\\/$
]* | ?
:[\\/]* ) ;;
18544 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
18548 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18549 # If the template does not know about datarootdir, expand it.
18550 # FIXME: This hack should be removed a few years after 2.60.
18551 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18562 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18563 *datarootdir
*) ac_datarootdir_seen
=yes;;
18564 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18566 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18568 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18569 ac_datarootdir_hack='
18570 s&@datadir@&$datadir&g
18571 s&@docdir@&$docdir&g
18572 s&@infodir@&$infodir&g
18573 s&@localedir@&$localedir&g
18574 s&@mandir@&$mandir&g
18575 s&\\\${datarootdir}&$datarootdir&g' ;;
18579 # Neutralize VPATH when `$srcdir' = `.'.
18580 # Shell code in configure.ac might set extrasub.
18581 # FIXME: do we really want to maintain this feature?
18582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18583 ac_sed_extra="$ac_vpsub
18586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18588 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18589 s|@configure_input@|
$ac_sed_conf_input|
;t t
18590 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18591 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18592 s
&@srcdir@
&$ac_srcdir&;t t
18593 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18594 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18595 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18596 s
&@builddir@
&$ac_builddir&;t t
18597 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18598 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18599 s
&@INSTALL@
&$ac_INSTALL&;t t
18600 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18601 $ac_datarootdir_hack
18603 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18604 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18606 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18607 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18608 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18609 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18611 which seems to be undefined. Please make sure it is defined" >&5
18612 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18613 which seems to be undefined. Please make sure it is defined" >&2;}
18615 rm -f "$ac_tmp/stdin"
18617 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18618 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18620 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18626 if test x"$ac_file" != x-; then
18628 $as_echo "/* $configure_input */" \
18629 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18630 } >"$ac_tmp/config.h" \
18631 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18632 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18633 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18634 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18637 mv "$ac_tmp/config.h" "$ac_file" \
18638 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18641 $as_echo "/* $configure_input */" \
18642 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18643 || as_fn_error $? "could not create -" "$LINENO" 5
18645 # Compute "$ac_file"'s index
in $config_headers.
18648 for _am_header
in $config_headers :; do
18649 case $_am_header in
18650 $_am_arg |
$_am_arg:* )
18653 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18656 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18657 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18658 X"$_am_arg" : 'X\(//\)[^/]' \| \
18659 X"$_am_arg" : 'X\(//\)$' \| \
18660 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18661 $as_echo X"$_am_arg" |
18662 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18666 /^X\(\/\/\)[^/].*/{
18678 s/.*/./; q'`/stamp-h
$_am_stamp_count
18681 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18682 $as_echo "$as_me: executing $ac_file commands" >&6;}
18687 case $ac_file$ac_mode in
18688 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
18689 # Older Autoconf quotes --file arguments for eval, but not when files
18690 # are listed without --file. Let's play safe and only enable the eval
18691 # if we detect the quoting.
18692 case $CONFIG_FILES in
18693 *\'*) eval set x
"$CONFIG_FILES" ;;
18694 *) set x
$CONFIG_FILES ;;
18699 # Strip MF so we end up with the name of the file.
18700 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18701 # Check whether this is an Automake generated Makefile or not.
18702 # We used to match only the files named 'Makefile.in', but
18703 # some people rename them; so instead we look at the file content.
18704 # Grep'ing the first line is not enough: some people post-process
18705 # each Makefile.in and add a new line on top of each file to say so.
18706 # Grep'ing the whole file is not good either: AIX grep has a line
18707 # limit of 2048, but all sed's we know have understand at least 4000.
18708 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
18709 dirpart
=`$as_dirname -- "$mf" ||
18710 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18711 X"$mf" : 'X\(//\)[^/]' \| \
18712 X"$mf" : 'X\(//\)$' \| \
18713 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18719 /^X\(\/\/\)[^/].*/{
18735 # Extract the definition of DEPDIR, am__include, and am__quote
18736 # from the Makefile without running 'make'.
18737 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18738 test -z "$DEPDIR" && continue
18739 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18740 test -z "$am__include" && continue
18741 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18742 # Find all dependency output files, they are included files with
18743 # $(DEPDIR) in their names. We invoke sed twice because it is the
18744 # simplest approach to changing $(DEPDIR) to its actual value in the
18746 for file in `sed -n "
18747 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18748 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18749 # Make sure the directory exists.
18750 test -f "$dirpart/$file" && continue
18751 fdir
=`$as_dirname -- "$file" ||
18752 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18753 X"$file" : 'X\(//\)[^/]' \| \
18754 X"$file" : 'X\(//\)$' \| \
18755 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18756 $as_echo X"$file" |
18757 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18761 /^X\(\/\/\)[^/].*/{
18774 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
18775 # echo "creating $dirpart/$file"
18776 echo '# dummy' > "$dirpart/$file"
18783 # See if we are running on zsh, and set the options which allow our
18784 # commands through without removal of \ escapes.
18785 if test -n "${ZSH_VERSION+set}" ; then
18786 setopt NO_GLOB_SUBST
18789 cfgfile
="${ofile}T"
18790 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18793 cat <<_LT_EOF >> "$cfgfile"
18796 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18797 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18798 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18799 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18801 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18802 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
18803 # Written by Gordon Matzigkeit, 1996
18805 # This file is part of GNU Libtool.
18807 # GNU Libtool is free software; you can redistribute it and/or
18808 # modify it under the terms of the GNU General Public License as
18809 # published by the Free Software Foundation; either version 2 of
18810 # the License, or (at your option) any later version.
18812 # As a special exception to the GNU General Public License,
18813 # if you distribute this file as part of a program or library that
18814 # is built using GNU Libtool, you may include this file under the
18815 # same distribution terms that you use for the rest of that program.
18817 # GNU Libtool is distributed in the hope that it will be useful,
18818 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18819 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18820 # GNU General Public License for more details.
18822 # You should have received a copy of the GNU General Public License
18823 # along with GNU Libtool; see the file COPYING. If not, a copy
18824 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18825 # obtained by writing to the Free Software Foundation, Inc.,
18826 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18829 # The names of the tagged configurations supported by this script.
18830 available_tags="CXX "
18832 # ### BEGIN LIBTOOL CONFIG
18834 # Whether or not to build shared libraries.
18835 build_libtool_libs=$enable_shared
18837 # Which release of libtool.m4 was used?
18838 macro_version=$macro_version
18839 macro_revision=$macro_revision
18841 # Whether or not to build static libraries.
18842 build_old_libs=$enable_static
18844 # What type of objects to build.
18847 # Whether or not to optimize for fast installation.
18848 fast_install=$enable_fast_install
18850 # Shell to use when invoking shell scripts.
18853 # An echo program that protects backslashes.
18857 host_alias=$host_alias
18861 # The build system.
18862 build_alias=$build_alias
18866 # A sed program that does not truncate output.
18869 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18870 Xsed="\$SED -e 1s/^X//"
18872 # A grep program that handles long lines.
18878 # A literal string matcher.
18881 # A BSD- or MS-compatible name lister.
18884 # Whether we need soft or hard links.
18887 # What is the maximum length of a command?
18888 max_cmd_len=$max_cmd_len
18890 # Object file suffix (normally "o").
18893 # Executable file suffix (normally "").
18896 # whether the shell understands "unset".
18899 # turn spaces into newlines.
18902 # turn newlines into spaces.
18905 # An object symbol dumper.
18906 OBJDUMP=$lt_OBJDUMP
18908 # Method to check whether dependent libraries are shared objects.
18909 deplibs_check_method=$lt_deplibs_check_method
18911 # Command to use when deplibs_check_method == "file_magic".
18912 file_magic_cmd=$lt_file_magic_cmd
18916 AR_FLAGS=$lt_AR_FLAGS
18918 # A symbol stripping program.
18921 # Commands used to install an old-style archive.
18923 old_postinstall_cmds=$lt_old_postinstall_cmds
18924 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18926 # Whether to use a lock for old archive extraction.
18927 lock_old_archive_extraction=$lock_old_archive_extraction
18932 # LTCC compiler flags.
18933 LTCFLAGS=$lt_CFLAGS
18935 # Take the output of nm and produce a listing of raw symbols and C names.
18936 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18938 # Transform the output of nm in a proper C declaration.
18939 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18941 # Transform the output of nm in a C name address pair.
18942 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18944 # Transform the output of nm in a C name address pair when lib prefix is needed.
18945 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18947 # The name of the directory that contains temporary libtool files.
18950 # Used to examine libraries when file_magic_cmd begins with "file".
18951 MAGIC_CMD=$MAGIC_CMD
18953 # Must we lock files when doing compilation?
18954 need_locks=$lt_need_locks
18956 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18957 DSYMUTIL=$lt_DSYMUTIL
18959 # Tool to change global to local symbols on Mac OS X.
18962 # Tool to manipulate fat objects and archives on Mac OS X.
18965 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18968 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18969 OTOOL64=$lt_OTOOL64
18971 # Old archive suffix (normally "a").
18974 # Shared library suffix (normally ".so").
18975 shrext_cmds=$lt_shrext_cmds
18977 # The commands to extract the exported symbol list from a shared archive.
18978 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18980 # Variables whose values should be saved in libtool wrapper scripts and
18981 # restored at link time.
18982 variables_saved_for_relink=$lt_variables_saved_for_relink
18984 # Do we need the "lib" prefix for modules?
18985 need_lib_prefix=$need_lib_prefix
18987 # Do we need a version for libraries?
18988 need_version=$need_version
18990 # Library versioning type.
18991 version_type=$version_type
18993 # Shared library runtime path variable.
18994 runpath_var=$runpath_var
18996 # Shared library path variable.
18997 shlibpath_var=$shlibpath_var
18999 # Is shlibpath searched before the hard-coded library search path?
19000 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19002 # Format of library name prefix.
19003 libname_spec=$lt_libname_spec
19005 # List of archive names. First name is the real one, the rest are links.
19006 # The last name is the one that the linker finds with -lNAME
19007 library_names_spec=$lt_library_names_spec
19009 # The coded name of the library, if different from the real name.
19010 soname_spec=$lt_soname_spec
19012 # Permission mode override for installation of shared libraries.
19013 install_override_mode=$lt_install_override_mode
19015 # Command to use after installation of a shared archive.
19016 postinstall_cmds=$lt_postinstall_cmds
19018 # Command to use after uninstallation of a shared archive.
19019 postuninstall_cmds=$lt_postuninstall_cmds
19021 # Commands used to finish a libtool library installation in a directory.
19022 finish_cmds=$lt_finish_cmds
19024 # As "finish_cmds", except a single script fragment to be evaled but
19026 finish_eval=$lt_finish_eval
19028 # Whether we should hardcode library paths into libraries.
19029 hardcode_into_libs=$hardcode_into_libs
19031 # Compile-time system search path for libraries.
19032 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19034 # Run-time system search path for libraries.
19035 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19037 # Whether dlopen is supported.
19038 dlopen_support=$enable_dlopen
19040 # Whether dlopen of programs is supported.
19041 dlopen_self=$enable_dlopen_self
19043 # Whether dlopen of statically linked programs is supported.
19044 dlopen_self_static=$enable_dlopen_self_static
19046 # Commands to strip libraries.
19047 old_striplib=$lt_old_striplib
19048 striplib=$lt_striplib
19051 # The linker used to build libraries.
19054 # How to create reloadable object files.
19055 reload_flag=$lt_reload_flag
19056 reload_cmds=$lt_reload_cmds
19058 # Commands used to build an old-style archive.
19059 old_archive_cmds=$lt_old_archive_cmds
19061 # A language specific compiler.
19064 # Is the compiler the GNU compiler?
19067 # Compiler flag to turn off builtin functions.
19068 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19070 # How to pass a linker flag through the compiler.
19071 wl=$lt_lt_prog_compiler_wl
19073 # Additional compiler flags for building library objects.
19074 pic_flag=$lt_lt_prog_compiler_pic
19076 # Compiler flag to prevent dynamic linking.
19077 link_static_flag=$lt_lt_prog_compiler_static
19079 # Does compiler simultaneously support -c and -o options?
19080 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19082 # Whether or not to add -lc for building shared libraries.
19083 build_libtool_need_lc=$archive_cmds_need_lc
19085 # Whether or not to disallow shared libs when runtime libs are static.
19086 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19088 # Compiler flag to allow reflexive dlopens.
19089 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19091 # Compiler flag to generate shared objects directly from archives.
19092 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19094 # Whether the compiler copes with passing no objects directly.
19095 compiler_needs_object=$lt_compiler_needs_object
19097 # Create an old-style archive from a shared archive.
19098 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19100 # Create a temporary old-style archive to link instead of a shared archive.
19101 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19103 # Commands used to build a shared archive.
19104 archive_cmds=$lt_archive_cmds
19105 archive_expsym_cmds=$lt_archive_expsym_cmds
19107 # Commands used to build a loadable module if different from building
19108 # a shared archive.
19109 module_cmds=$lt_module_cmds
19110 module_expsym_cmds=$lt_module_expsym_cmds
19112 # Whether we are building with GNU ld or not.
19113 with_gnu_ld=$lt_with_gnu_ld
19115 # Flag that allows shared libraries with undefined symbols to be built.
19116 allow_undefined_flag=$lt_allow_undefined_flag
19118 # Flag that enforces no undefined symbols.
19119 no_undefined_flag=$lt_no_undefined_flag
19121 # Flag to hardcode \$libdir into a binary during linking.
19122 # This must work even if \$libdir does not exist
19123 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19125 # If ld is used when linking, flag to hardcode \$libdir into a binary
19126 # during linking. This must work even if \$libdir does not exist.
19127 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19129 # Whether we need a single "-rpath" flag with a separated argument.
19130 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19132 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19133 # DIR into the resulting binary.
19134 hardcode_direct=$hardcode_direct
19136 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19137 # DIR into the resulting binary and the resulting library dependency is
19138 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19139 # library is relocated.
19140 hardcode_direct_absolute=$hardcode_direct_absolute
19142 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19143 # into the resulting binary.
19144 hardcode_minus_L=$hardcode_minus_L
19146 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19147 # into the resulting binary.
19148 hardcode_shlibpath_var=$hardcode_shlibpath_var
19150 # Set to "yes" if building a shared library automatically hardcodes DIR
19151 # into the library and all subsequent libraries and executables linked
19153 hardcode_automatic=$hardcode_automatic
19155 # Set to yes if linker adds runtime paths of dependent libraries
19156 # to runtime path list.
19157 inherit_rpath=$inherit_rpath
19159 # Whether libtool must link a program against all its dependency libraries.
19160 link_all_deplibs=$link_all_deplibs
19162 # Fix the shell variable \$srcfile for the compiler.
19163 fix_srcfile_path=$lt_fix_srcfile_path
19165 # Set to "yes" if exported symbols are required.
19166 always_export_symbols=$always_export_symbols
19168 # The commands to list exported symbols.
19169 export_symbols_cmds=$lt_export_symbols_cmds
19171 # Symbols that should not be listed in the preloaded symbols.
19172 exclude_expsyms=$lt_exclude_expsyms
19174 # Symbols that must always be exported.
19175 include_expsyms=$lt_include_expsyms
19177 # Commands necessary for linking programs (against libraries) with templates.
19178 prelink_cmds=$lt_prelink_cmds
19180 # Specify filename containing input files.
19181 file_list_spec=$lt_file_list_spec
19183 # How to hardcode a shared library path into an executable.
19184 hardcode_action=$hardcode_action
19186 # The directories searched by this compiler when creating a shared library.
19187 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19189 # Dependencies to place before and after the objects being linked to
19190 # create a shared library.
19191 predep_objects=$lt_predep_objects
19192 postdep_objects=$lt_postdep_objects
19193 predeps=$lt_predeps
19194 postdeps=$lt_postdeps
19196 # The library search path used internally by the compiler when linking
19197 # a shared library.
19198 compiler_lib_search_path=$lt_compiler_lib_search_path
19200 # ### END LIBTOOL CONFIG
19206 cat <<\_LT_EOF
>> "$cfgfile"
19207 # AIX sometimes has problems with the GCC collect2 program. For some
19208 # reason, if we set the COLLECT_NAMES environment variable, the problems
19209 # vanish in a puff of smoke.
19210 if test "X${COLLECT_NAMES+set}" != Xset
; then
19212 export COLLECT_NAMES
19219 ltmain
="$ac_aux_dir/ltmain.sh"
19222 # We use sed instead of cat because bash on DJGPP gets confused if
19223 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19224 # text mode, it properly converts lines to CR/LF. This bash problem
19225 # is reportedly fixed, but why not run on old versions too?
19226 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19227 ||
(rm -f "$cfgfile"; exit 1)
19231 cat << \_LT_EOF
>> "$cfgfile"
19233 # func_dirname file append nondir_replacement
19234 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19235 # otherwise set result to NONDIR_REPLACEMENT.
19239 */*) func_dirname_result
="${1%/*}${2}" ;;
19240 * ) func_dirname_result
="${3}" ;;
19244 # func_basename file
19247 func_basename_result
="${1##*/}"
19250 # func_dirname_and_basename file append nondir_replacement
19251 # perform func_basename and func_dirname in a single function
19253 # dirname: Compute the dirname of FILE. If nonempty,
19254 # add APPEND to the result, otherwise set result
19255 # to NONDIR_REPLACEMENT.
19256 # value returned in "$func_dirname_result"
19257 # basename: Compute filename of FILE.
19258 # value retuned in "$func_basename_result"
19259 # Implementation must be kept synchronized with func_dirname
19260 # and func_basename. For efficiency, we do not delegate to
19261 # those functions but instead duplicate the functionality here.
19262 func_dirname_and_basename
()
19265 */*) func_dirname_result
="${1%/*}${2}" ;;
19266 * ) func_dirname_result
="${3}" ;;
19268 func_basename_result
="${1##*/}"
19271 # func_stripname prefix suffix name
19272 # strip PREFIX and SUFFIX off of NAME.
19273 # PREFIX and SUFFIX must not contain globbing or regex special
19274 # characters, hashes, percent signs, but SUFFIX may contain a leading
19275 # dot (in which case that matches only a dot).
19278 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
19279 # positional parameters, so assign one to ordinary parameter first.
19280 func_stripname_result
=${3}
19281 func_stripname_result
=${func_stripname_result#"${1}"}
19282 func_stripname_result
=${func_stripname_result%"${2}"}
19288 func_opt_split_opt
=${1%%=*}
19289 func_opt_split_arg
=${1#*=}
19296 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
19297 *) func_lo2o_result
=${1} ;;
19301 # func_xform libobj-or-source
19304 func_xform_result
=${1%.*}.lo
19307 # func_arith arithmetic-term...
19310 func_arith_result
=$
(( $
* ))
19314 # STRING may not start with a hyphen.
19317 func_len_result
=${#1}
19322 *) # Bourne compatible functions.
19323 cat << \_LT_EOF
>> "$cfgfile"
19325 # func_dirname file append nondir_replacement
19326 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19327 # otherwise set result to NONDIR_REPLACEMENT.
19330 # Extract subdirectory from the argument.
19331 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
19332 if test "X$func_dirname_result" = "X${1}"; then
19333 func_dirname_result
="${3}"
19335 func_dirname_result
="$func_dirname_result${2}"
19339 # func_basename file
19342 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
19346 # func_stripname prefix suffix name
19347 # strip PREFIX and SUFFIX off of NAME.
19348 # PREFIX and SUFFIX must not contain globbing or regex special
19349 # characters, hashes, percent signs, but SUFFIX may contain a leading
19350 # dot (in which case that matches only a dot).
19351 # func_strip_suffix prefix name
19355 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
19356 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
19361 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
19362 my_sed_long_arg
='1s/^-[^=]*=//'
19367 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
19368 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
19374 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
19377 # func_xform libobj-or-source
19380 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
19383 # func_arith arithmetic-term...
19386 func_arith_result
=`expr "$@"`
19390 # STRING may not start with a hyphen.
19393 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19399 case $lt_shell_append in
19401 cat << \_LT_EOF
>> "$cfgfile"
19403 # func_append var value
19404 # Append VALUE to the end of shell variable VAR.
19412 cat << \_LT_EOF
>> "$cfgfile"
19414 # func_append var value
19415 # Append VALUE to the end of shell variable VAR.
19426 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19427 ||
(rm -f "$cfgfile"; exit 1)
19429 mv -f "$cfgfile" "$ofile" ||
19430 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19434 cat <<_LT_EOF >> "$ofile"
19436 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19438 # The linker used to build libraries.
19441 # How to create reloadable object files.
19442 reload_flag=$lt_reload_flag_CXX
19443 reload_cmds=$lt_reload_cmds_CXX
19445 # Commands used to build an old-style archive.
19446 old_archive_cmds=$lt_old_archive_cmds_CXX
19448 # A language specific compiler.
19449 CC=$lt_compiler_CXX
19451 # Is the compiler the GNU compiler?
19454 # Compiler flag to turn off builtin functions.
19455 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19457 # How to pass a linker flag through the compiler.
19458 wl=$lt_lt_prog_compiler_wl_CXX
19460 # Additional compiler flags for building library objects.
19461 pic_flag=$lt_lt_prog_compiler_pic_CXX
19463 # Compiler flag to prevent dynamic linking.
19464 link_static_flag=$lt_lt_prog_compiler_static_CXX
19466 # Does compiler simultaneously support -c and -o options?
19467 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19469 # Whether or not to add -lc for building shared libraries.
19470 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19472 # Whether or not to disallow shared libs when runtime libs are static.
19473 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19475 # Compiler flag to allow reflexive dlopens.
19476 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19478 # Compiler flag to generate shared objects directly from archives.
19479 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19481 # Whether the compiler copes with passing no objects directly.
19482 compiler_needs_object=$lt_compiler_needs_object_CXX
19484 # Create an old-style archive from a shared archive.
19485 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19487 # Create a temporary old-style archive to link instead of a shared archive.
19488 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19490 # Commands used to build a shared archive.
19491 archive_cmds=$lt_archive_cmds_CXX
19492 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19494 # Commands used to build a loadable module if different from building
19495 # a shared archive.
19496 module_cmds=$lt_module_cmds_CXX
19497 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19499 # Whether we are building with GNU ld or not.
19500 with_gnu_ld=$lt_with_gnu_ld_CXX
19502 # Flag that allows shared libraries with undefined symbols to be built.
19503 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19505 # Flag that enforces no undefined symbols.
19506 no_undefined_flag=$lt_no_undefined_flag_CXX
19508 # Flag to hardcode \$libdir into a binary during linking.
19509 # This must work even if \$libdir does not exist
19510 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19512 # If ld is used when linking, flag to hardcode \$libdir into a binary
19513 # during linking. This must work even if \$libdir does not exist.
19514 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
19516 # Whether we need a single "-rpath" flag with a separated argument.
19517 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19519 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19520 # DIR into the resulting binary.
19521 hardcode_direct=$hardcode_direct_CXX
19523 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19524 # DIR into the resulting binary and the resulting library dependency is
19525 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19526 # library is relocated.
19527 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19529 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19530 # into the resulting binary.
19531 hardcode_minus_L=$hardcode_minus_L_CXX
19533 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19534 # into the resulting binary.
19535 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19537 # Set to "yes" if building a shared library automatically hardcodes DIR
19538 # into the library and all subsequent libraries and executables linked
19540 hardcode_automatic=$hardcode_automatic_CXX
19542 # Set to yes if linker adds runtime paths of dependent libraries
19543 # to runtime path list.
19544 inherit_rpath=$inherit_rpath_CXX
19546 # Whether libtool must link a program against all its dependency libraries.
19547 link_all_deplibs=$link_all_deplibs_CXX
19549 # Fix the shell variable \$srcfile for the compiler.
19550 fix_srcfile_path=$lt_fix_srcfile_path_CXX
19552 # Set to "yes" if exported symbols are required.
19553 always_export_symbols=$always_export_symbols_CXX
19555 # The commands to list exported symbols.
19556 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19558 # Symbols that should not be listed in the preloaded symbols.
19559 exclude_expsyms=$lt_exclude_expsyms_CXX
19561 # Symbols that must always be exported.
19562 include_expsyms=$lt_include_expsyms_CXX
19564 # Commands necessary for linking programs (against libraries) with templates.
19565 prelink_cmds=$lt_prelink_cmds_CXX
19567 # Specify filename containing input files.
19568 file_list_spec=$lt_file_list_spec_CXX
19570 # How to hardcode a shared library path into an executable.
19571 hardcode_action=$hardcode_action_CXX
19573 # The directories searched by this compiler when creating a shared library.
19574 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19576 # Dependencies to place before and after the objects being linked to
19577 # create a shared library.
19578 predep_objects=$lt_predep_objects_CXX
19579 postdep_objects=$lt_postdep_objects_CXX
19580 predeps=$lt_predeps_CXX
19581 postdeps=$lt_postdeps_CXX
19583 # The library search path used internally by the compiler when linking
19584 # a shared library.
19585 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19587 # ### END LIBTOOL TAG CONFIG: CXX
19598 ac_clean_files
=$ac_clean_files_save
19600 test $ac_write_fail = 0 ||
19601 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
19604 # configure is writing to config.log, and then calls config.status.
19605 # config.status does its own redirection, appending to config.log.
19606 # Unfortunately, on DOS this fails, as config.log is still kept open
19607 # by configure, so config.status won't be able to write to it; its
19608 # output is simply discarded. So we exec the FD to /dev/null,
19609 # effectively closing config.log, so it can be properly (re)opened and
19610 # appended to by config.status. When coming back to configure, we
19611 # need to make the FD available again.
19612 if test "$no_create" != yes; then
19614 ac_config_status_args
=
19615 test "$silent" = yes &&
19616 ac_config_status_args
="$ac_config_status_args --quiet"
19618 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19620 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19621 # would make configure fail if this is the last instruction.
19622 $ac_cs_success || as_fn_exit
1
19626 # CONFIG_SUBDIRS section.
19628 if test "$no_recursion" != yes; then
19630 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
19631 # so they do not pile up.
19632 ac_sub_configure_args
=
19634 eval "set x $ac_configure_args"
19638 if test -n "$ac_prev"; then
19643 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
19644 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
19645 ac_prev
=cache_file
;;
19646 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
19647 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
19650 --config-cache |
-C)
19652 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
19654 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
19656 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
19658 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
19660 --disable-option-checking)
19664 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
19666 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
19670 # Always prepend --prefix to ensure using the same prefix
19671 # in subdir configurations.
19672 ac_arg
="--prefix=$prefix"
19674 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
19676 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
19679 if test "$silent" = yes; then
19680 ac_sub_configure_args
="--silent $ac_sub_configure_args"
19683 # Always prepend --disable-option-checking to silence warnings, since
19684 # different subdirs can have different --enable and --with options.
19685 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
19688 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
19690 # Do not complain, so a configure script can configure whichever
19691 # parts of a large source tree are present.
19692 test -d "$srcdir/$ac_dir" ||
continue
19694 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
19695 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
19696 $as_echo "$ac_msg" >&6
19697 as_dir
="$ac_dir"; as_fn_mkdir_p
19701 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19703 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19704 # A ".." for each directory in $ac_dir_suffix.
19705 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19706 case $ac_top_builddir_sub in
19707 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19708 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19711 ac_abs_top_builddir
=$ac_pwd
19712 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19713 # for backward compatibility:
19714 ac_top_builddir
=$ac_top_build_prefix
19717 .
) # We are building in place.
19719 ac_top_srcdir
=$ac_top_builddir_sub
19720 ac_abs_top_srcdir
=$ac_pwd ;;
19721 [\\/]* | ?
:[\\/]* ) # Absolute name.
19722 ac_srcdir
=$srcdir$ac_dir_suffix;
19723 ac_top_srcdir
=$srcdir
19724 ac_abs_top_srcdir
=$srcdir ;;
19725 *) # Relative name.
19726 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19727 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19728 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19730 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19735 # Check for guested configure; otherwise get Cygnus style configure.
19736 if test -f "$ac_srcdir/configure.gnu"; then
19737 ac_sub_configure
=$ac_srcdir/configure.gnu
19738 elif test -f "$ac_srcdir/configure"; then
19739 ac_sub_configure
=$ac_srcdir/configure
19740 elif test -f "$ac_srcdir/configure.in"; then
19741 # This should be Cygnus configure.
19742 ac_sub_configure
=$ac_aux_dir/configure
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
19745 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
19749 # The recursion is here.
19750 if test -n "$ac_sub_configure"; then
19751 # Make the cache file name correct relative to the subdirectory.
19752 case $cache_file in
19753 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
19754 *) # Relative name.
19755 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
19758 { $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
19759 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
19760 # The eval makes quoting arguments work.
19761 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
19762 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
19763 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
19769 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19771 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}