2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Report bugs to <libmpx>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1
176 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
177 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
178 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180 PATH=/empty FPATH=/empty; export PATH FPATH
181 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
182 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
183 if (eval "$as_required") 2>/dev
/null
; then :
188 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
193 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
196 test -z "$as_dir" && as_dir
=.
200 for as_base
in sh bash ksh sh5
; do
201 # Try only shells that exist, to save several forks.
202 as_shell
=$as_dir/$as_base
203 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
204 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
205 CONFIG_SHELL
=$as_shell as_have_required
=yes
206 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
214 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
215 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
216 CONFIG_SHELL
=$SHELL as_have_required
=yes
221 if test "x$CONFIG_SHELL" != x
; then :
222 # We cannot yet assume a decent shell, so we have to provide a
223 # neutralization value for shells without unset; and this also
224 # works around shells that cannot unset nonexistent variables.
227 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
229 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
232 if test x
$as_have_required = xno
; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x
${ZSH_VERSION+set} = xset
; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239 $as_echo "$0: Please tell bug-autoconf@gnu.org and libmpx about your
240 $0: system, including any error possibly output before this
241 $0: message. Then install a modern shell, or manually run
242 $0: the script under such a shell if you do have one."
248 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Unset more variables known to interfere with behavior of common tools.
251 CLICOLOR_FORCE
= GREP_OPTIONS
=
252 unset CLICOLOR_FORCE GREP_OPTIONS
254 ## --------------------- ##
255 ## M4sh Shell Functions. ##
256 ## --------------------- ##
259 # Portably unset VAR.
262 { eval $1=; unset $1;}
266 # as_fn_set_status STATUS
267 # -----------------------
268 # Set $? to STATUS, without forking.
276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
286 # Create "$as_dir" as a directory, including parents if necessary.
291 -*) as_dir
=.
/$as_dir;;
293 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
297 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
300 as_dirs
="'$as_qdir' $as_dirs"
301 as_dir
=`$as_dirname -- "$as_dir" ||
302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303 X"$as_dir" : 'X\(//\)[^/]' \| \
304 X"$as_dir" : 'X\(//\)$' \| \
305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306 $as_echo X"$as_dir" |
307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
324 test -d "$as_dir" && break
326 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
327 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
331 # as_fn_append VAR VALUE
332 # ----------------------
333 # Append the text in VALUE to the end of the definition contained in VAR. Take
334 # advantage of any shell optimizations that allow amortized linear growth over
335 # repeated appends, instead of the typical quadratic growth present in naive
337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
338 eval 'as_fn_append ()
351 # Perform arithmetic evaluation on the ARGs, and store the result in the
352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
353 # must be portable across $(()) and expr.
354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
362 as_val
=`expr "$@" || test $? -eq 1`
367 # as_fn_error ERROR [LINENO LOG_FD]
368 # ---------------------------------
369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371 # script with status $?, using 1 if that was 0.
374 as_status
=$?
; test $as_status -eq 0 && as_status
=1
376 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
379 $as_echo "$as_me: error: $1" >&2
380 as_fn_exit
$as_status
383 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
384 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
390 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
396 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
402 as_me
=`$as_basename -- "$0" ||
403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404 X"$0" : 'X\(//\)$' \| \
405 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
407 sed '/^.*\/\([^/][^/]*\)\/*$/{
421 # Avoid depending upon Character Ranges.
422 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
423 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
425 as_cr_digits
='0123456789'
426 as_cr_alnum
=$as_cr_Letters$as_cr_digits
429 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
430 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x
"$as_me.lineno" ||
450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
452 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).
456 # Exit status is that of the last command.
460 ECHO_C
= ECHO_N
= ECHO_T
=
461 case `echo -n x` in #(((((
463 case `echo 'xy\c'` in
464 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
466 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
473 rm -f conf$$ conf$$.exe conf$$.
file
474 if test -d conf$$.dir
; then
475 rm -f conf$$.dir
/conf$$.
file
478 mkdir conf$$.dir
2>/dev
/null
480 if (echo >conf$$.
file) 2>/dev
/null
; then
481 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
483 # ... but there are two gotchas:
484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486 # In both cases, we have to default to `cp -p'.
487 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
489 elif ln conf$$.
file conf$$
2>/dev
/null
; then
497 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
498 rmdir conf$$.dir
2>/dev
/null
500 if mkdir
-p .
2>/dev
/null
; then
501 as_mkdir_p
='mkdir -p "$as_dir"'
503 test -d .
/-p && rmdir .
/-p
507 if test -x / >/dev
/null
2>&1; then
510 if ls -dL / >/dev
/null
2>&1; then
517 if test -d "$1"; then
523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524 ???[sx]*):;;*)false;;esac;fi
528 as_executable_p
=$as_test_x
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
536 SHELL
=${CONFIG_SHELL-/bin/sh}
539 exec 7<&0 </dev
/null
6>&1
542 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
543 # so uname gets run too.
544 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
549 ac_default_prefix
=/usr
/local
551 ac_config_libobj_dir
=.
558 # Identity of this package.
559 PACKAGE_NAME
='package-unused'
560 PACKAGE_TARNAME
='package-unused'
561 PACKAGE_VERSION
='version-unused'
562 PACKAGE_STRING
='package-unused version-unused'
563 PACKAGE_BUGREPORT
='libmpx'
566 # Factoring default headers for most tests.
567 ac_includes_default
="\
569 #ifdef HAVE_SYS_TYPES_H
570 # include <sys/types.h>
572 #ifdef HAVE_SYS_STAT_H
573 # include <sys/stat.h>
579 # ifdef HAVE_STDLIB_H
584 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
589 #ifdef HAVE_STRINGS_H
590 # include <strings.h>
592 #ifdef HAVE_INTTYPES_H
593 # include <inttypes.h>
602 ac_subst_vars
='am__EXEEXT_FALSE
624 MPX_AS_SUPPORTED_FALSE
625 MPX_AS_SUPPORTED_TRUE
647 MAINTAINER_MODE_FALSE
658 INSTALL_STRIP_PROGRAM
674 LIBMPX_SUPPORTED_FALSE
675 LIBMPX_SUPPORTED_TRUE
676 LIBSTDCXX_RAW_CXX_LDFLAGS
677 LIBSTDCXX_RAW_CXX_CXXFLAGS
718 program_transform_name
731 enable_option_checking
732 enable_version_specific_runtime_libs
734 enable_maintainer_mode
742 ac_precious_vars
='build_alias
754 # Initialize some variables set by options.
756 ac_init_version
=false
757 ac_unrecognized_opts
=
759 # The variables have the same names as the options, with
760 # dashes changed to underlines.
768 program_transform_name
=s
,x
,x
,
776 # Installation directory options.
777 # These are left unexpanded so users can "make install exec_prefix=/foo"
778 # and all the variables that are supposed to be based on exec_prefix
779 # by default will actually change.
780 # Use braces instead of parens because sh, perl, etc. also accept them.
781 # (The list follows the same order as the GNU Coding Standards.)
782 bindir
='${exec_prefix}/bin'
783 sbindir
='${exec_prefix}/sbin'
784 libexecdir
='${exec_prefix}/libexec'
785 datarootdir
='${prefix}/share'
786 datadir
='${datarootdir}'
787 sysconfdir
='${prefix}/etc'
788 sharedstatedir
='${prefix}/com'
789 localstatedir
='${prefix}/var'
790 includedir
='${prefix}/include'
791 oldincludedir
='/usr/include'
792 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
793 infodir
='${datarootdir}/info'
798 libdir
='${exec_prefix}/lib'
799 localedir
='${datarootdir}/locale'
800 mandir
='${datarootdir}/man'
806 # If the previous option needs an argument, assign it.
807 if test -n "$ac_prev"; then
808 eval $ac_prev=\
$ac_option
814 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
818 # Accept the important Cygnus configure options, so we can diagnose typos.
820 case $ac_dashdash$ac_option in
824 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
826 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
829 -build |
--build |
--buil |
--bui |
--bu)
830 ac_prev
=build_alias
;;
831 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
832 build_alias
=$ac_optarg ;;
834 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
835 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
836 ac_prev
=cache_file
;;
837 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
838 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
839 cache_file
=$ac_optarg ;;
842 cache_file
=config.cache
;;
844 -datadir |
--datadir |
--datadi |
--datad)
846 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
847 datadir
=$ac_optarg ;;
849 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
850 |
--dataroo |
--dataro |
--datar)
851 ac_prev
=datarootdir
;;
852 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
853 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
854 datarootdir
=$ac_optarg ;;
856 -disable-* |
--disable-*)
857 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
858 # Reject names that are not valid shell variable names.
859 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
860 as_fn_error
"invalid feature name: $ac_useropt"
861 ac_useropt_orig
=$ac_useropt
862 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
863 case $ac_user_opts in
867 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
868 ac_unrecognized_sep
=', ';;
870 eval enable_
$ac_useropt=no
;;
872 -docdir |
--docdir |
--docdi |
--doc |
--do)
874 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
877 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
879 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
882 -enable-* |
--enable-*)
883 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
884 # Reject names that are not valid shell variable names.
885 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
886 as_fn_error
"invalid feature name: $ac_useropt"
887 ac_useropt_orig
=$ac_useropt
888 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
889 case $ac_user_opts in
893 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
894 ac_unrecognized_sep
=', ';;
896 eval enable_
$ac_useropt=\
$ac_optarg ;;
898 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
899 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
900 |
--exec |
--exe |
--ex)
901 ac_prev
=exec_prefix
;;
902 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
903 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
904 |
--exec=* |
--exe=* |
--ex=*)
905 exec_prefix
=$ac_optarg ;;
907 -gas |
--gas |
--ga |
--g)
908 # Obsolete; use --with-gas.
911 -help |
--help |
--hel |
--he |
-h)
913 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
914 ac_init_help
=recursive
;;
915 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
916 ac_init_help
=short
;;
918 -host |
--host |
--hos |
--ho)
919 ac_prev
=host_alias
;;
920 -host=* |
--host=* |
--hos=* |
--ho=*)
921 host_alias
=$ac_optarg ;;
923 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
925 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
927 htmldir
=$ac_optarg ;;
929 -includedir |
--includedir |
--includedi |
--included |
--include \
930 |
--includ |
--inclu |
--incl |
--inc)
931 ac_prev
=includedir
;;
932 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
933 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
934 includedir
=$ac_optarg ;;
936 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
938 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
939 infodir
=$ac_optarg ;;
941 -libdir |
--libdir |
--libdi |
--libd)
943 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
946 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
947 |
--libexe |
--libex |
--libe)
948 ac_prev
=libexecdir
;;
949 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
950 |
--libexe=* |
--libex=* |
--libe=*)
951 libexecdir
=$ac_optarg ;;
953 -localedir |
--localedir |
--localedi |
--localed |
--locale)
955 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
956 localedir
=$ac_optarg ;;
958 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
959 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
960 ac_prev
=localstatedir
;;
961 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
962 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
963 localstatedir
=$ac_optarg ;;
965 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
967 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
971 # Obsolete; use --without-fp.
974 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
975 |
--no-cr |
--no-c |
-n)
978 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
979 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
982 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
983 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
984 |
--oldin |
--oldi |
--old |
--ol |
--o)
985 ac_prev
=oldincludedir
;;
986 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
987 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
988 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
989 oldincludedir
=$ac_optarg ;;
991 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
993 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
996 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
997 |
--program-pre |
--program-pr |
--program-p)
998 ac_prev
=program_prefix
;;
999 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1000 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1001 program_prefix
=$ac_optarg ;;
1003 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1004 |
--program-suf |
--program-su |
--program-s)
1005 ac_prev
=program_suffix
;;
1006 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1007 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1008 program_suffix
=$ac_optarg ;;
1010 -program-transform-name |
--program-transform-name \
1011 |
--program-transform-nam |
--program-transform-na \
1012 |
--program-transform-n |
--program-transform- \
1013 |
--program-transform |
--program-transfor \
1014 |
--program-transfo |
--program-transf \
1015 |
--program-trans |
--program-tran \
1016 |
--progr-tra |
--program-tr |
--program-t)
1017 ac_prev
=program_transform_name
;;
1018 -program-transform-name=* |
--program-transform-name=* \
1019 |
--program-transform-nam=* |
--program-transform-na=* \
1020 |
--program-transform-n=* |
--program-transform-=* \
1021 |
--program-transform=* |
--program-transfor=* \
1022 |
--program-transfo=* |
--program-transf=* \
1023 |
--program-trans=* |
--program-tran=* \
1024 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1025 program_transform_name
=$ac_optarg ;;
1027 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1029 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1030 pdfdir
=$ac_optarg ;;
1032 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1034 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1037 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1038 |
-silent |
--silent |
--silen |
--sile |
--sil)
1041 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1043 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1045 sbindir
=$ac_optarg ;;
1047 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1048 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1049 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1051 ac_prev
=sharedstatedir
;;
1052 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1053 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1054 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1056 sharedstatedir
=$ac_optarg ;;
1058 -site |
--site |
--sit)
1060 -site=* |
--site=* |
--sit=*)
1063 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1065 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1066 srcdir
=$ac_optarg ;;
1068 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1069 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1070 ac_prev
=sysconfdir
;;
1071 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1072 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1073 sysconfdir
=$ac_optarg ;;
1075 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1076 ac_prev
=target_alias
;;
1077 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1078 target_alias
=$ac_optarg ;;
1080 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1083 -version |
--version |
--versio |
--versi |
--vers |
-V)
1084 ac_init_version
=: ;;
1087 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1088 # Reject names that are not valid shell variable names.
1089 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1090 as_fn_error
"invalid package name: $ac_useropt"
1091 ac_useropt_orig
=$ac_useropt
1092 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1093 case $ac_user_opts in
1097 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1098 ac_unrecognized_sep
=', ';;
1100 eval with_
$ac_useropt=\
$ac_optarg ;;
1102 -without-* |
--without-*)
1103 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1104 # Reject names that are not valid shell variable names.
1105 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1106 as_fn_error
"invalid package name: $ac_useropt"
1107 ac_useropt_orig
=$ac_useropt
1108 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1109 case $ac_user_opts in
1113 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1114 ac_unrecognized_sep
=', ';;
1116 eval with_
$ac_useropt=no
;;
1119 # Obsolete; use --with-x.
1122 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1123 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1124 ac_prev
=x_includes
;;
1125 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1126 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1127 x_includes
=$ac_optarg ;;
1129 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1130 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1131 ac_prev
=x_libraries
;;
1132 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1133 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1134 x_libraries
=$ac_optarg ;;
1136 -*) as_fn_error
"unrecognized option: \`$ac_option'
1137 Try \`$0 --help' for more information."
1141 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1142 # Reject names that are not valid shell variable names.
1143 case $ac_envvar in #(
1144 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1145 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1147 eval $ac_envvar=\
$ac_optarg
1148 export $ac_envvar ;;
1151 # FIXME: should be removed in autoconf 3.0.
1152 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1153 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1154 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1155 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1161 if test -n "$ac_prev"; then
1162 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1163 as_fn_error
"missing argument to $ac_option"
1166 if test -n "$ac_unrecognized_opts"; then
1167 case $enable_option_checking in
1169 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1170 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1174 # Check all directory arguments for consistency.
1175 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1176 datadir sysconfdir sharedstatedir localstatedir includedir \
1177 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1178 libdir localedir mandir
1180 eval ac_val
=\$
$ac_var
1181 # Remove trailing slashes.
1184 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1185 eval $ac_var=\
$ac_val;;
1187 # Be sure to have absolute directory names.
1189 [\\/$
]* | ?
:[\\/]* ) continue;;
1190 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1192 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1195 # There might be people who depend on the old broken behavior: `$host'
1196 # used to hold the argument of --host etc.
1197 # FIXME: To remove some day.
1200 target
=$target_alias
1202 # FIXME: To remove some day.
1203 if test "x$host_alias" != x
; then
1204 if test "x$build_alias" = x
; then
1205 cross_compiling
=maybe
1206 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1207 If a cross compiler is detected then cross compile mode will be used." >&2
1208 elif test "x$build_alias" != "x$host_alias"; then
1214 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1216 test "$silent" = yes && exec 6>/dev
/null
1219 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1220 ac_ls_di
=`ls -di .` &&
1221 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1222 as_fn_error
"working directory cannot be determined"
1223 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1224 as_fn_error
"pwd does not report name of working directory"
1227 # Find the source files, if location was not specified.
1228 if test -z "$srcdir"; then
1229 ac_srcdir_defaulted
=yes
1230 # Try the directory containing this script, then the parent directory.
1231 ac_confdir
=`$as_dirname -- "$as_myself" ||
1232 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1233 X"$as_myself" : 'X\(//\)[^/]' \| \
1234 X"$as_myself" : 'X\(//\)$' \| \
1235 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1236 $as_echo X"$as_myself" |
1237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1255 if test ! -r "$srcdir/$ac_unique_file"; then
1259 ac_srcdir_defaulted
=no
1261 if test ! -r "$srcdir/$ac_unique_file"; then
1262 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1263 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1265 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1267 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1269 # When building in place, set srcdir=.
1270 if test "$ac_abs_confdir" = "$ac_pwd"; then
1273 # Remove unnecessary trailing slashes from srcdir.
1274 # Double slashes in file names in object file debugging info
1275 # mess up M-x gdb in Emacs.
1277 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1279 for ac_var
in $ac_precious_vars; do
1280 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1281 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1282 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1283 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1287 # Report the --help message.
1289 if test "$ac_init_help" = "long"; then
1290 # Omit some internal or obsolete options to make the list less imposing.
1291 # This message is too long to be a string in the A/UX 3.1 sh.
1293 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1295 Usage: $0 [OPTION]... [VAR=VALUE]...
1297 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1298 VAR=VALUE. See below for descriptions of some of the useful variables.
1300 Defaults for the options are specified in brackets.
1303 -h, --help display this help and exit
1304 --help=short display options specific to this package
1305 --help=recursive display the short help of all the included packages
1306 -V, --version display version information and exit
1307 -q, --quiet, --silent do not print \`checking...' messages
1308 --cache-file=FILE cache test results in FILE [disabled]
1309 -C, --config-cache alias for \`--cache-file=config.cache'
1310 -n, --no-create do not create output files
1311 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1313 Installation directories:
1314 --prefix=PREFIX install architecture-independent files in PREFIX
1315 [$ac_default_prefix]
1316 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1319 By default, \`make install' will install all the files in
1320 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1321 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1322 for instance \`--prefix=\$HOME'.
1324 For better control, use the options below.
1326 Fine tuning of the installation directories:
1327 --bindir=DIR user executables [EPREFIX/bin]
1328 --sbindir=DIR system admin executables [EPREFIX/sbin]
1329 --libexecdir=DIR program executables [EPREFIX/libexec]
1330 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1331 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1332 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1333 --libdir=DIR object code libraries [EPREFIX/lib]
1334 --includedir=DIR C header files [PREFIX/include]
1335 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1336 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1337 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1338 --infodir=DIR info documentation [DATAROOTDIR/info]
1339 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1340 --mandir=DIR man documentation [DATAROOTDIR/man]
1341 --docdir=DIR documentation root [DATAROOTDIR/doc/package-unused]
1342 --htmldir=DIR html documentation [DOCDIR]
1343 --dvidir=DIR dvi documentation [DOCDIR]
1344 --pdfdir=DIR pdf documentation [DOCDIR]
1345 --psdir=DIR ps documentation [DOCDIR]
1351 --program-prefix=PREFIX prepend PREFIX to installed program names
1352 --program-suffix=SUFFIX append SUFFIX to installed program names
1353 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1356 --build=BUILD configure
for building on BUILD
[guessed
]
1357 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1358 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1362 if test -n "$ac_init_help"; then
1363 case $ac_init_help in
1364 short | recursive
) echo "Configuration of package-unused version-unused:";;
1369 --disable-option-checking ignore unrecognized
--enable/--with options
1370 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1371 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1372 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1373 --enable-multilib build many library versions
(default
)
1374 --enable-maintainer-mode enable make rules and dependencies not useful
1375 (and sometimes confusing
) to the casual installer
1376 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1377 --enable-static[=PKGS
] build static libraries
[default
=yes]
1378 --enable-fast-install[=PKGS
]
1379 optimize
for fast installation
[default
=yes]
1380 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1383 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1384 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1385 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1387 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1389 Some influential environment variables
:
1390 CC C compiler
command
1391 CFLAGS C compiler flags
1392 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1393 nonstandard directory
<lib dir
>
1394 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1395 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1396 you have headers
in a nonstandard directory
<include dir
>
1398 CXX C
++ compiler
command
1399 CXXFLAGS C
++ compiler flags
1400 CXXCPP C
++ preprocessor
1402 Use these variables to override the choices made by
`configure' or to help
1403 it to find libraries and programs with nonstandard names/locations.
1405 Report bugs to <libmpx>.
1410 if test "$ac_init_help" = "recursive"; then
1411 # If there are subdirs, report their specific --help.
1412 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1413 test -d "$ac_dir" ||
1414 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1419 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1421 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1422 # A ".." for each directory in $ac_dir_suffix.
1423 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1424 case $ac_top_builddir_sub in
1425 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1426 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1429 ac_abs_top_builddir=$ac_pwd
1430 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1431 # for backward compatibility:
1432 ac_top_builddir=$ac_top_build_prefix
1435 .) # We are building in place.
1437 ac_top_srcdir=$ac_top_builddir_sub
1438 ac_abs_top_srcdir=$ac_pwd ;;
1439 [\\/]* | ?:[\\/]* ) # Absolute name.
1440 ac_srcdir=$srcdir$ac_dir_suffix;
1441 ac_top_srcdir=$srcdir
1442 ac_abs_top_srcdir=$srcdir ;;
1444 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1445 ac_top_srcdir=$ac_top_build_prefix$srcdir
1446 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1448 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1450 cd "$ac_dir" || { ac_status=$?; continue; }
1451 # Check for guested configure.
1452 if test -f "$ac_srcdir/configure.gnu"; then
1454 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1455 elif test -f "$ac_srcdir/configure"; then
1457 $SHELL "$ac_srcdir/configure" --help=recursive
1459 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1461 cd "$ac_pwd" || { ac_status=$?; break; }
1465 test -n "$ac_init_help" && exit $ac_status
1466 if $ac_init_version; then
1468 package-unused configure version-unused
1469 generated by GNU Autoconf 2.64
1471 Copyright (C) 2009 Free Software Foundation, Inc.
1472 This configure script is free software; the Free Software Foundation
1473 gives unlimited permission to copy, distribute and modify it.
1478 ## ------------------------ ##
1479 ## Autoconf initialization. ##
1480 ## ------------------------ ##
1482 # ac_fn_c_try_compile LINENO
1483 # --------------------------
1484 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1485 ac_fn_c_try_compile ()
1487 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1488 rm -f conftest.$ac_objext
1489 if { { ac_try="$ac_compile"
1491 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1492 *) ac_try_echo
=$ac_try;;
1494 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1495 $as_echo "$ac_try_echo"; } >&5
1496 (eval "$ac_compile") 2>conftest.err
1498 if test -s conftest.err
; then
1499 grep -v '^ *+' conftest.err
>conftest.er1
1500 cat conftest.er1
>&5
1501 mv -f conftest.er1 conftest.err
1503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1504 test $ac_status = 0; } && {
1505 test -z "$ac_c_werror_flag" ||
1506 test ! -s conftest.err
1507 } && test -s conftest.
$ac_objext; then :
1510 $as_echo "$as_me: failed program was:" >&5
1511 sed 's/^/| /' conftest.
$ac_ext >&5
1515 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1518 } # ac_fn_c_try_compile
1520 # ac_fn_c_try_cpp LINENO
1521 # ----------------------
1522 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1525 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1526 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1528 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1529 *) ac_try_echo=$ac_try;;
1531 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1532 $as_echo "$ac_try_echo"; } >&5
1533 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1535 if test -s conftest.err; then
1536 grep -v '^ *+' conftest.err >conftest.er1
1537 cat conftest.er1 >&5
1538 mv -f conftest.er1 conftest.err
1540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1541 test $ac_status = 0; } >/dev/null && {
1542 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1543 test ! -s conftest.err
1547 $as_echo "$as_me: failed program was:" >&5
1548 sed 's/^/| /' conftest.$ac_ext >&5
1552 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1557 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1558 # -------------------------------------------------------
1559 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1560 # the include files in INCLUDES and setting the cache variable VAR
1562 ac_fn_c_check_header_mongrel ()
1564 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1565 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1567 $as_echo_n "checking for $2... " >&6; }
1568 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1569 $as_echo_n "(cached) " >&6
1572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1573 $as_echo "$ac_res" >&6; }
1575 # Is the header compilable?
1576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1577 $as_echo_n "checking $2 usability... " >&6; }
1578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1579 /* end confdefs.h. */
1583 if ac_fn_c_try_compile "$LINENO"; then :
1584 ac_header_compiler=yes
1586 ac_header_compiler=no
1588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1590 $as_echo "$ac_header_compiler" >&6; }
1592 # Is the header present?
1593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1594 $as_echo_n "checking $2 presence... " >&6; }
1595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1596 /* end confdefs.h. */
1599 if ac_fn_c_try_cpp "$LINENO"; then :
1600 ac_header_preproc=yes
1602 ac_header_preproc=no
1604 rm -f conftest.err conftest.$ac_ext
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1606 $as_echo "$ac_header_preproc" >&6; }
1608 # So? What about this header?
1609 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1612 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1614 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1618 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1620 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1622 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1624 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1626 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1628 ## --------------------- ##
1629 ## Report this to libmpx ##
1630 ## --------------------- ##
1632 ) | sed "s/^/$as_me: WARNING: /" >&2
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1636 $as_echo_n "checking for $2... " >&6; }
1637 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1638 $as_echo_n "(cached) " >&6
1640 eval "$3=\$ac_header_compiler"
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1644 $as_echo "$ac_res" >&6; }
1646 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1648 } # ac_fn_c_check_header_mongrel
1650 # ac_fn_c_try_run LINENO
1651 # ----------------------
1652 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1653 # that executables *can* be run.
1656 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1657 if { { ac_try="$ac_link"
1659 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1660 *) ac_try_echo
=$ac_try;;
1662 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1663 $as_echo "$ac_try_echo"; } >&5
1664 (eval "$ac_link") 2>&5
1666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1667 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1668 { { case "(($ac_try" in
1669 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1670 *) ac_try_echo=$ac_try;;
1672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1673 $as_echo "$ac_try_echo"; } >&5
1674 (eval "$ac_try") 2>&5
1676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1677 test $ac_status = 0; }; }; then :
1680 $as_echo "$as_me: program exited with status $ac_status" >&5
1681 $as_echo "$as_me: failed program was:" >&5
1682 sed 's/^/| /' conftest.$ac_ext >&5
1684 ac_retval=$ac_status
1686 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1687 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1692 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1693 # -------------------------------------------------------
1694 # Tests whether HEADER exists and can be compiled using the include files in
1695 # INCLUDES, setting the cache variable VAR accordingly.
1696 ac_fn_c_check_header_compile ()
1698 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1700 $as_echo_n "checking for $2... " >&6; }
1701 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1702 $as_echo_n "(cached) " >&6
1704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1705 /* end confdefs.h. */
1709 if ac_fn_c_try_compile "$LINENO"; then :
1714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1718 $as_echo "$ac_res" >&6; }
1719 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1721 } # ac_fn_c_check_header_compile
1723 # ac_fn_c_try_link LINENO
1724 # -----------------------
1725 # Try to link conftest.$ac_ext, and return whether this succeeded.
1728 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1729 rm -f conftest.$ac_objext conftest$ac_exeext
1730 if { { ac_try="$ac_link"
1732 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1733 *) ac_try_echo
=$ac_try;;
1735 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1736 $as_echo "$ac_try_echo"; } >&5
1737 (eval "$ac_link") 2>conftest.err
1739 if test -s conftest.err
; then
1740 grep -v '^ *+' conftest.err
>conftest.er1
1741 cat conftest.er1
>&5
1742 mv -f conftest.er1 conftest.err
1744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1745 test $ac_status = 0; } && {
1746 test -z "$ac_c_werror_flag" ||
1747 test ! -s conftest.err
1748 } && test -s conftest
$ac_exeext && {
1749 test "$cross_compiling" = yes ||
1750 $as_test_x conftest
$ac_exeext
1754 $as_echo "$as_me: failed program was:" >&5
1755 sed 's/^/| /' conftest.
$ac_ext >&5
1759 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1760 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1761 # interfere with the next link command; also delete a directory that is
1762 # left behind by Apple's compiler. We do this before executing the actions.
1763 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1764 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1767 } # ac_fn_c_try_link
1769 # ac_fn_c_check_func LINENO FUNC VAR
1770 # ----------------------------------
1771 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1772 ac_fn_c_check_func
()
1774 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1776 $as_echo_n "checking for $2... " >&6; }
1777 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1778 $as_echo_n "(cached) " >&6
1780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1781 /* end confdefs.h. */
1782 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1784 #define $2 innocuous_$2
1786 /* System header to define __stub macros and hopefully few prototypes,
1787 which can conflict with char $2 (); below.
1788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1789 <limits.h> exists even on freestanding compilers. */
1792 # include <limits.h>
1794 # include <assert.h>
1799 /* Override any GCC internal prototype to avoid an error.
1800 Use char because int might match the return type of a GCC
1801 builtin and then its argument prototype would still apply. */
1806 /* The GNU C library defines this for functions which it implements
1807 to always fail with ENOSYS. Some functions are actually named
1808 something starting with __ and the normal name is an alias. */
1809 #if defined __stub_$2 || defined __stub___$2
1821 if ac_fn_c_try_link
"$LINENO"; then :
1826 rm -f core conftest.err conftest.
$ac_objext \
1827 conftest
$ac_exeext conftest.
$ac_ext
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1831 $as_echo "$ac_res" >&6; }
1832 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1834 } # ac_fn_c_check_func
1836 # ac_fn_cxx_try_compile LINENO
1837 # ----------------------------
1838 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1839 ac_fn_cxx_try_compile
()
1841 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1842 rm -f conftest.
$ac_objext
1843 if { { ac_try
="$ac_compile"
1845 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1846 *) ac_try_echo=$ac_try;;
1848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1849 $as_echo "$ac_try_echo"; } >&5
1850 (eval "$ac_compile") 2>conftest.err
1852 if test -s conftest.err; then
1853 grep -v '^ *+' conftest.err >conftest.er1
1854 cat conftest.er1 >&5
1855 mv -f conftest.er1 conftest.err
1857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1858 test $ac_status = 0; } && {
1859 test -z "$ac_cxx_werror_flag" ||
1860 test ! -s conftest.err
1861 } && test -s conftest.$ac_objext; then :
1864 $as_echo "$as_me: failed program was:" >&5
1865 sed 's/^/| /' conftest.$ac_ext >&5
1869 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1872 } # ac_fn_cxx_try_compile
1874 # ac_fn_cxx_try_cpp LINENO
1875 # ------------------------
1876 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1877 ac_fn_cxx_try_cpp ()
1879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880 if { { ac_try="$ac_cpp conftest.$ac_ext"
1882 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1883 *) ac_try_echo
=$ac_try;;
1885 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1886 $as_echo "$ac_try_echo"; } >&5
1887 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1889 if test -s conftest.err
; then
1890 grep -v '^ *+' conftest.err
>conftest.er1
1891 cat conftest.er1
>&5
1892 mv -f conftest.er1 conftest.err
1894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1895 test $ac_status = 0; } >/dev
/null
&& {
1896 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1897 test ! -s conftest.err
1901 $as_echo "$as_me: failed program was:" >&5
1902 sed 's/^/| /' conftest.
$ac_ext >&5
1906 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1909 } # ac_fn_cxx_try_cpp
1911 # ac_fn_cxx_try_link LINENO
1912 # -------------------------
1913 # Try to link conftest.$ac_ext, and return whether this succeeded.
1914 ac_fn_cxx_try_link
()
1916 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1917 rm -f conftest.
$ac_objext conftest
$ac_exeext
1918 if { { ac_try
="$ac_link"
1920 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1921 *) ac_try_echo=$ac_try;;
1923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1924 $as_echo "$ac_try_echo"; } >&5
1925 (eval "$ac_link") 2>conftest.err
1927 if test -s conftest.err; then
1928 grep -v '^ *+' conftest.err >conftest.er1
1929 cat conftest.er1 >&5
1930 mv -f conftest.er1 conftest.err
1932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1933 test $ac_status = 0; } && {
1934 test -z "$ac_cxx_werror_flag" ||
1935 test ! -s conftest.err
1936 } && test -s conftest$ac_exeext && {
1937 test "$cross_compiling" = yes ||
1938 $as_test_x conftest$ac_exeext
1942 $as_echo "$as_me: failed program was:" >&5
1943 sed 's/^/| /' conftest.$ac_ext >&5
1947 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1948 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1949 # interfere with the next link command; also delete a directory that is
1950 # left behind by Apple's compiler. We do this before executing the actions.
1951 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1952 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1955 } # ac_fn_cxx_try_link
1956 cat >config.log <<_ACEOF
1957 This file contains any messages produced by compilers while
1958 running configure, to aid debugging if configure makes a mistake.
1960 It was created by package-unused $as_me version-unused, which was
1961 generated by GNU Autoconf 2.64. Invocation command line was
1973 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1974 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1975 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1976 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1977 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1979 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1980 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1982 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1983 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1984 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1985 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1986 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1987 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1988 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1996 test -z "$as_dir" && as_dir=.
1997 $as_echo "PATH: $as_dir"
2013 # Keep a trace of the command line.
2014 # Strip out --no-create and --no-recursion so they do not pile up.
2015 # Strip out --silent because we don't want to record it for future runs.
2016 # Also quote any args containing shell meta-characters.
2017 # Make two passes to allow for proper duplicate-argument suppression.
2021 ac_must_keep_next=false
2027 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2028 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2029 | -silent | --silent | --silen | --sile | --sil)
2032 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2035 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2037 as_fn_append ac_configure_args1 " '$ac_arg'"
2038 if test $ac_must_keep_next = true; then
2039 ac_must_keep_next=false # Got value, back to normal.
2042 *=* | --config-cache | -C | -disable-* | --disable-* \
2043 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2044 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2045 | -with-* | --with-* | -without-* | --without-* | --x)
2046 case "$ac_configure_args0 " in
2047 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2050 -* ) ac_must_keep_next=true ;;
2053 as_fn_append ac_configure_args " '$ac_arg'"
2058 { ac_configure_args0=; unset ac_configure_args0;}
2059 { ac_configure_args1=; unset ac_configure_args1;}
2061 # When interrupted or exit'd, cleanup temporary files, and complete
2062 # config.log. We remove comments because anyway the quotes in there
2063 # would cause problems or look ugly.
2064 # WARNING: Use '\'' to represent an apostrophe within the trap.
2065 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2066 trap 'exit_status=$?
2067 # Save into config.log some information that might help in debugging.
2072 ## ---------------- ##
2073 ## Cache variables. ##
2074 ## ---------------- ##
2077 # The following way of writing the cache mishandles newlines in values,
2079 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2080 eval ac_val=\$$ac_var
2084 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2085 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2088 _ | IFS | as_nl) ;; #(
2089 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2090 *) { eval $ac_var=; unset $ac_var;} ;;
2095 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2096 *${as_nl}ac_space=\ *)
2098 "s/'\''/'\''\\\\'\'''\''/g;
2099 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2102 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2110 ## ----------------- ##
2111 ## Output variables. ##
2112 ## ----------------- ##
2115 for ac_var in $ac_subst_vars
2117 eval ac_val=\$$ac_var
2119 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2121 $as_echo "$ac_var='\''$ac_val'\''"
2125 if test -n "$ac_subst_files"; then
2127 ## ------------------- ##
2128 ## File substitutions. ##
2129 ## ------------------- ##
2132 for ac_var in $ac_subst_files
2134 eval ac_val=\$$ac_var
2136 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2138 $as_echo "$ac_var='\''$ac_val'\''"
2143 if test -s confdefs.h; then
2153 test "$ac_signal" != 0 &&
2154 $as_echo "$as_me: caught signal $ac_signal"
2155 $as_echo "$as_me: exit $exit_status"
2157 rm -f core *.core core.conftest.* &&
2158 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2161 for ac_signal in 1 2 13 15; do
2162 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2166 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2167 rm -f -r conftest* confdefs.h
2169 $as_echo "/* confdefs.h */" > confdefs.h
2171 # Predefined preprocessor variables.
2173 cat >>confdefs.h <<_ACEOF
2174 #define PACKAGE_NAME "$PACKAGE_NAME"
2177 cat >>confdefs.h <<_ACEOF
2178 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2181 cat >>confdefs.h <<_ACEOF
2182 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2185 cat >>confdefs.h <<_ACEOF
2186 #define PACKAGE_STRING "$PACKAGE_STRING"
2189 cat >>confdefs.h <<_ACEOF
2190 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2193 cat >>confdefs.h <<_ACEOF
2194 #define PACKAGE_URL "$PACKAGE_URL"
2198 # Let the site file select an alternate cache file if it wants to.
2199 # Prefer an explicitly selected file to automatically selected ones.
2202 if test -n "$CONFIG_SITE"; then
2203 ac_site_file1=$CONFIG_SITE
2204 elif test "x$prefix" != xNONE; then
2205 ac_site_file1=$prefix/share/config.site
2206 ac_site_file2=$prefix/etc/config.site
2208 ac_site_file1=$ac_default_prefix/share/config.site
2209 ac_site_file2=$ac_default_prefix/etc/config.site
2211 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2213 test "x$ac_site_file" = xNONE && continue
2214 if test -r "$ac_site_file"; then
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2216 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2217 sed 's/^/| /' "$ac_site_file" >&5
2222 if test -r "$cache_file"; then
2223 # Some versions of bash will fail to source /dev/null (special
2224 # files actually), so we avoid doing that.
2225 if test -f "$cache_file"; then
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2227 $as_echo "$as_me: loading cache $cache_file" >&6;}
2229 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2230 *) . "./$cache_file";;
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2235 $as_echo "$as_me: creating cache $cache_file" >&6;}
2239 # Check that the precious variables saved in the cache have kept the same
2241 ac_cache_corrupted=false
2242 for ac_var in $ac_precious_vars; do
2243 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2244 eval ac_new_set=\$ac_env_${ac_var}_set
2245 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2246 eval ac_new_val=\$ac_env_${ac_var}_value
2247 case $ac_old_set,$ac_new_set in
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2250 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2251 ac_cache_corrupted=: ;;
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2254 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2255 ac_cache_corrupted=: ;;
2258 if test "x$ac_old_val" != "x$ac_new_val"; then
2259 # differences in whitespace do not lead to failure.
2260 ac_old_val_w=`echo x
$ac_old_val`
2261 ac_new_val_w=`echo x
$ac_new_val`
2262 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2264 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2265 ac_cache_corrupted=:
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2268 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2269 eval $ac_var=\$ac_old_val
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2272 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2274 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2277 # Pass precious variables to config.status.
2278 if test "$ac_new_set" = set; then
2280 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2281 *) ac_arg=$ac_var=$ac_new_val ;;
2283 case " $ac_configure_args " in
2284 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2285 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2289 if $ac_cache_corrupted; then
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2293 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2294 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2296 ## -------------------- ##
2297 ## Main body of script. ##
2298 ## -------------------- ##
2301 ac_cpp='$CPP $CPPFLAGS'
2302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2315 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2316 # Check whether --enable-version-specific-runtime-libs was given.
2317 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2318 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2319 yes) version_specific_libs=yes ;;
2320 no) version_specific_libs=no ;;
2321 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2324 version_specific_libs=no
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2328 $as_echo "$version_specific_libs" >&6; }
2330 # Do not delete or change the following two lines. For why, see
2331 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2333 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2334 for ac_t in install-sh install.sh shtool; do
2335 if test -f "$ac_dir/$ac_t"; then
2337 ac_install_sh="$ac_aux_dir/$ac_t -c"
2342 if test -z "$ac_aux_dir"; then
2343 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2346 # These three variables are undocumented and unsupported,
2347 # and are intended to be withdrawn in a future Autoconf release.
2348 # They can cause serious problems if a builder's source tree is in a directory
2349 # whose full name contains unusual characters.
2350 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2351 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2352 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2355 # Make sure we can run config.sub.
2356 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2357 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2360 $as_echo_n "checking build system type... " >&6; }
2361 if test "${ac_cv_build+set}" = set; then :
2362 $as_echo_n "(cached) " >&6
2364 ac_build_alias=$build_alias
2365 test "x$ac_build_alias" = x &&
2366 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2367 test "x$ac_build_alias" = x &&
2368 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2369 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2370 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2374 $as_echo "$ac_cv_build" >&6; }
2375 case $ac_cv_build in
2377 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2380 ac_save_IFS=$IFS; IFS='-'
2386 # Remember, the first character of IFS is used to create $*,
2387 # except with old shells:
2390 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2394 $as_echo_n "checking host system type... " >&6; }
2395 if test "${ac_cv_host+set}" = set; then :
2396 $as_echo_n "(cached) " >&6
2398 if test "x$host_alias" = x; then
2399 ac_cv_host=$ac_cv_build
2401 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2402 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2407 $as_echo "$ac_cv_host" >&6; }
2410 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2413 ac_save_IFS=$IFS; IFS='-'
2419 # Remember, the first character of IFS is used to create $*,
2420 # except with old shells:
2423 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2427 $as_echo_n "checking target system type... " >&6; }
2428 if test "${ac_cv_target+set}" = set; then :
2429 $as_echo_n "(cached) " >&6
2431 if test "x$target_alias" = x; then
2432 ac_cv_target=$ac_cv_host
2434 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2435 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2440 $as_echo "$ac_cv_target" >&6; }
2441 case $ac_cv_target in
2443 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2445 target=$ac_cv_target
2446 ac_save_IFS=$IFS; IFS='-'
2452 # Remember, the first character of IFS is used to create $*,
2453 # except with old shells:
2456 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2459 # The aliases save the names the user supplied, while $host etc.
2460 # will get canonicalized.
2461 test -n "$target_alias" &&
2462 test "$program_prefix$program_suffix$program_transform_name" = \
2464 program_prefix=${target_alias}-
2466 target_alias=${target_alias-$host_alias}
2468 case ${build_alias} in
2469 "") build_noncanonical=${build} ;;
2470 *) build_noncanonical=${build_alias} ;;
2473 case ${host_alias} in
2474 "") host_noncanonical=${build_noncanonical} ;;
2475 *) host_noncanonical=${host_alias} ;;
2478 case ${target_alias} in
2479 "") target_noncanonical=${host_noncanonical} ;;
2480 *) target_noncanonical=${target_alias} ;;
2487 LIBSTDCXX_RAW_CXX_CXXFLAGS="\
2488 -I\$(top_builddir)/../libstdc++-v3/include \
2489 -I\$(top_builddir)/../libstdc++-v3/include/\$(target_noncanonical) \
2490 -I\$(top_srcdir)/../libstdc++-v3/libsupc++"
2491 LIBSTDCXX_RAW_CXX_LDFLAGS="\
2492 \$(top_builddir)/../libstdc++-v3/src/libstdc++.la"
2498 unset LIBMPX_SUPPORTED
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target support for Intel MPX runtime library" >&5
2500 $as_echo_n "checking for target support for Intel MPX runtime library... " >&6; }
2501 echo "int i[sizeof (void *) == 4 ? 1 : -1] = { __x86_64__ };" > conftest.c
2502 if { ac_try='${CC} ${CFLAGS} -c -o conftest.o conftest.c 1>&5'
2503 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
2506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2507 test $ac_status = 0; }; }
2511 LIBMPX_SUPPORTED=yes
2513 rm -f conftest.o conftest.c
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBMPX_SUPPORTED" >&5
2515 $as_echo "$LIBMPX_SUPPORTED" >&6; }
2516 if test "x$LIBMPX_SUPPORTED" = "xyes"; then
2517 LIBMPX_SUPPORTED_TRUE=
2518 LIBMPX_SUPPORTED_FALSE='#'
2520 LIBMPX_SUPPORTED_TRUE='#'
2521 LIBMPX_SUPPORTED_FALSE=
2525 link_libmpx="-lpthread"
2528 am__api_version='1.11'
2530 # Find a good install program. We prefer a C program (faster),
2531 # so one script is as good as another. But avoid the broken or
2532 # incompatible versions:
2533 # SysV /etc/install, /usr/sbin/install
2534 # SunOS /usr/etc/install
2535 # IRIX /sbin/install
2537 # AmigaOS /C/install, which installs bootblocks on floppy discs
2538 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2539 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2540 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2541 # OS/2's system install, which has a completely different semantic
2542 # ./install, which can be erroneously created by make from ./install.sh.
2543 # Reject install programs that cannot install multiple files.
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2545 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2546 if test -z "$INSTALL"; then
2547 if test "${ac_cv_path_install+set}" = set; then :
2548 $as_echo_n "(cached) " >&6
2550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2554 test -z "$as_dir" && as_dir=.
2555 # Account for people who put trailing slashes in PATH elements.
2556 case $as_dir/ in #((
2557 ./ | .// | /[cC]/* | \
2558 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2559 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2562 # OSF1 and SCO ODT 3.0 have their own names for install.
2563 # Don't use installbsd from OSF since it installs stuff as root
2565 for ac_prog in ginstall scoinst install; do
2566 for ac_exec_ext in '' $ac_executable_extensions; do
2567 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2568 if test $ac_prog = install &&
2569 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2570 # AIX install. It has an incompatible calling convention.
2572 elif test $ac_prog = install &&
2573 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2574 # program-specific install script used by HP pwplus--don't use.
2577 rm -rf conftest.one conftest.two conftest.dir
2578 echo one > conftest.one
2579 echo two > conftest.two
2581 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2582 test -s conftest.one && test -s conftest.two &&
2583 test -s conftest.dir/conftest.one &&
2584 test -s conftest.dir/conftest.two
2586 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2599 rm -rf conftest.one conftest.two conftest.dir
2602 if test "${ac_cv_path_install+set}" = set; then
2603 INSTALL=$ac_cv_path_install
2605 # As a last resort, use the slow shell script. Don't cache a
2606 # value for INSTALL within a source directory, because that will
2607 # break other packages using the cache if that directory is
2608 # removed, or if the value is a relative name.
2609 INSTALL=$ac_install_sh
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2613 $as_echo "$INSTALL" >&6; }
2615 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2616 # It thinks the first close brace ends the variable substitution.
2617 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2619 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2621 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2624 $as_echo_n "checking whether build environment is sane... " >&6; }
2627 echo timestamp > conftest.file
2628 # Reject unsafe characters in $srcdir or the absolute working directory
2629 # name. Accept space and tab only in the latter.
2633 *[\\\"\#\$\&\'\`$am_lf]*)
2634 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2637 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2638 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2641 # Do `set' in a subshell so we don't clobber the current shell's
2642 # arguments. Must try -L first in case configure is actually a
2643 # symlink; some systems play weird games with the mod time of symlinks
2644 # (eg FreeBSD returns the mod time of the symlink's containing
2647 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2648 if test "$*" = "X"; then
2650 set X
`ls -t "$srcdir/configure" conftest.file`
2653 if test "$*" != "X $srcdir/configure conftest.file" \
2654 && test "$*" != "X conftest.file $srcdir/configure"; then
2656 # If neither matched, then we have a broken ls. This can happen
2657 # if, for instance, CONFIG_SHELL is bash and it inherits a
2658 # broken ls alias from the environment. This has actually
2659 # happened. Such a system could not be considered "sane".
2660 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2661 alias in your environment" "$LINENO" 5
2664 test "$2" = conftest.
file
2670 as_fn_error
"newly created file is older than distributed files!
2671 Check your system clock" "$LINENO" 5
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2674 $as_echo "yes" >&6; }
2675 test "$program_prefix" != NONE
&&
2676 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2677 # Use a double $ so make ignores it.
2678 test "$program_suffix" != NONE
&&
2679 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2680 # Double any \ or $.
2681 # By default was `s,x,x', remove it if useless.
2682 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2683 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2685 # expand $ac_aux_dir to an absolute path
2686 am_aux_dir
=`cd $ac_aux_dir && pwd`
2688 if test x
"${MISSING+set}" != xset
; then
2691 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2693 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2696 # Use eval to expand $SHELL
2697 if eval "$MISSING --run true"; then
2698 am_missing_run
="$MISSING --run "
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2702 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2705 if test x
"${install_sh}" != xset
; then
2708 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2710 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2714 # Installed binaries are usually stripped using `strip' when the user
2715 # run `make install-strip'. However `strip' might not be the right
2716 # tool to use in cross-compilation environments, therefore Automake
2717 # will honor the `STRIP' environment variable to overrule this program.
2718 if test "$cross_compiling" != no
; then
2719 if test -n "$ac_tool_prefix"; then
2720 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2721 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2723 $as_echo_n "checking for $ac_word... " >&6; }
2724 if test "${ac_cv_prog_STRIP+set}" = set; then :
2725 $as_echo_n "(cached) " >&6
2727 if test -n "$STRIP"; then
2728 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2734 test -z "$as_dir" && as_dir
=.
2735 for ac_exec_ext
in '' $ac_executable_extensions; do
2736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2737 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2747 STRIP
=$ac_cv_prog_STRIP
2748 if test -n "$STRIP"; then
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2750 $as_echo "$STRIP" >&6; }
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2753 $as_echo "no" >&6; }
2758 if test -z "$ac_cv_prog_STRIP"; then
2760 # Extract the first word of "strip", so it can be a program name with args.
2761 set dummy strip
; ac_word
=$2
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2763 $as_echo_n "checking for $ac_word... " >&6; }
2764 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2765 $as_echo_n "(cached) " >&6
2767 if test -n "$ac_ct_STRIP"; then
2768 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2774 test -z "$as_dir" && as_dir
=.
2775 for ac_exec_ext
in '' $ac_executable_extensions; do
2776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2777 ac_cv_prog_ac_ct_STRIP
="strip"
2778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2787 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2788 if test -n "$ac_ct_STRIP"; then
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2790 $as_echo "$ac_ct_STRIP" >&6; }
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2793 $as_echo "no" >&6; }
2796 if test "x$ac_ct_STRIP" = x
; then
2799 case $cross_compiling:$ac_tool_warned in
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2802 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2803 ac_tool_warned
=yes ;;
2808 STRIP
="$ac_cv_prog_STRIP"
2812 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2815 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2816 if test -z "$MKDIR_P"; then
2817 if test "${ac_cv_path_mkdir+set}" = set; then :
2818 $as_echo_n "(cached) " >&6
2820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2821 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2824 test -z "$as_dir" && as_dir
=.
2825 for ac_prog
in mkdir gmkdir
; do
2826 for ac_exec_ext
in '' $ac_executable_extensions; do
2827 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2828 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2829 'mkdir (GNU coreutils) '* | \
2830 'mkdir (coreutils) '* | \
2831 'mkdir (fileutils) '4.1*)
2832 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2842 if test "${ac_cv_path_mkdir+set}" = set; then
2843 MKDIR_P
="$ac_cv_path_mkdir -p"
2845 # As a last resort, use the slow shell script. Don't cache a
2846 # value for MKDIR_P within a source directory, because that will
2847 # break other packages using the cache if that directory is
2848 # removed, or if the value is a relative name.
2849 test -d .
/--version && rmdir .
/--version
2850 MKDIR_P
="$ac_install_sh -d"
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2854 $as_echo "$MKDIR_P" >&6; }
2858 [\\/$
]* | ?
:[\\/]*) ;;
2859 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2862 for ac_prog
in gawk mawk nawk
awk
2864 # Extract the first word of "$ac_prog", so it can be a program name with args.
2865 set dummy
$ac_prog; ac_word
=$2
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2867 $as_echo_n "checking for $ac_word... " >&6; }
2868 if test "${ac_cv_prog_AWK+set}" = set; then :
2869 $as_echo_n "(cached) " >&6
2871 if test -n "$AWK"; then
2872 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2878 test -z "$as_dir" && as_dir
=.
2879 for ac_exec_ext
in '' $ac_executable_extensions; do
2880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2881 ac_cv_prog_AWK
="$ac_prog"
2882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2892 if test -n "$AWK"; then
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2894 $as_echo "$AWK" >&6; }
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2897 $as_echo "no" >&6; }
2901 test -n "$AWK" && break
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2905 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2907 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2908 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2909 $as_echo_n "(cached) " >&6
2911 cat >conftest.
make <<\_ACEOF
2914 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2916 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2917 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2919 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2921 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2925 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2927 $as_echo "yes" >&6; }
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2931 $as_echo "no" >&6; }
2932 SET_MAKE
="MAKE=${MAKE-make}"
2935 rm -rf .tst
2>/dev
/null
2936 mkdir .tst
2>/dev
/null
2937 if test -d .tst
; then
2942 rmdir .tst
2>/dev
/null
2944 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2945 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2946 # is not polluted with repeated "-I."
2947 am__isrc
=' -I$(srcdir)'
2948 # test to see if srcdir already configured
2949 if test -f $srcdir/config.status
; then
2950 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2954 # test whether we have cygpath
2955 if test -z "$CYGPATH_W"; then
2956 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2957 CYGPATH_W
='cygpath -w'
2964 # Define the identity of the package.
2965 PACKAGE
='package-unused'
2966 VERSION
='version-unused'
2969 cat >>confdefs.h
<<_ACEOF
2970 #define PACKAGE "$PACKAGE"
2974 cat >>confdefs.h
<<_ACEOF
2975 #define VERSION "$VERSION"
2978 # Some tools Automake needs.
2980 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2983 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2986 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2989 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2992 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2994 # We need awk for the "check" target. The system "awk" is bad on
2996 # Always define AMTAR for backward compatibility.
2998 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3000 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3006 # Default to --enable-multilib
3007 # Check whether --enable-multilib was given.
3008 if test "${enable_multilib+set}" = set; then :
3009 enableval
=$enable_multilib; case "$enableval" in
3010 yes) multilib
=yes ;;
3012 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3019 # We may get other options which we leave undocumented:
3020 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3021 # See config-ml.in if you want the gory details.
3023 if test "$srcdir" = "."; then
3024 if test "$with_target_subdir" != "."; then
3025 multi_basedir
="$srcdir/$with_multisrctop../.."
3027 multi_basedir
="$srcdir/$with_multisrctop.."
3030 multi_basedir
="$srcdir/.."
3034 # Even if the default multilib is not a cross compilation,
3035 # it may be that some of the other multilibs are.
3036 if test $cross_compiling = no
&& test $multilib = yes \
3037 && test "x${with_multisubdir}" != x
; then
3038 cross_compiling
=maybe
3041 ac_config_commands
="$ac_config_commands default-1"
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3045 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3046 # Check whether --enable-maintainer-mode was given.
3047 if test "${enable_maintainer_mode+set}" = set; then :
3048 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3050 USE_MAINTAINER_MODE
=no
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3054 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3055 if test $USE_MAINTAINER_MODE = yes; then
3056 MAINTAINER_MODE_TRUE
=
3057 MAINTAINER_MODE_FALSE
='#'
3059 MAINTAINER_MODE_TRUE
='#'
3060 MAINTAINER_MODE_FALSE
=
3063 MAINT
=$MAINTAINER_MODE_TRUE
3068 ac_cpp
='$CPP $CPPFLAGS'
3069 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3070 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3071 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3072 if test -n "$ac_tool_prefix"; then
3073 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3074 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3076 $as_echo_n "checking for $ac_word... " >&6; }
3077 if test "${ac_cv_prog_CC+set}" = set; then :
3078 $as_echo_n "(cached) " >&6
3080 if test -n "$CC"; then
3081 ac_cv_prog_CC
="$CC" # Let the user override the test.
3083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3087 test -z "$as_dir" && as_dir
=.
3088 for ac_exec_ext
in '' $ac_executable_extensions; do
3089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3090 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3101 if test -n "$CC"; then
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3103 $as_echo "$CC" >&6; }
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3106 $as_echo "no" >&6; }
3111 if test -z "$ac_cv_prog_CC"; then
3113 # Extract the first word of "gcc", so it can be a program name with args.
3114 set dummy gcc
; ac_word
=$2
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3116 $as_echo_n "checking for $ac_word... " >&6; }
3117 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3118 $as_echo_n "(cached) " >&6
3120 if test -n "$ac_ct_CC"; then
3121 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3127 test -z "$as_dir" && as_dir
=.
3128 for ac_exec_ext
in '' $ac_executable_extensions; do
3129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3130 ac_cv_prog_ac_ct_CC
="gcc"
3131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3140 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3141 if test -n "$ac_ct_CC"; then
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3143 $as_echo "$ac_ct_CC" >&6; }
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3146 $as_echo "no" >&6; }
3149 if test "x$ac_ct_CC" = x
; then
3152 case $cross_compiling:$ac_tool_warned in
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3155 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3156 ac_tool_warned
=yes ;;
3164 if test -z "$CC"; then
3165 if test -n "$ac_tool_prefix"; then
3166 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3167 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3169 $as_echo_n "checking for $ac_word... " >&6; }
3170 if test "${ac_cv_prog_CC+set}" = set; then :
3171 $as_echo_n "(cached) " >&6
3173 if test -n "$CC"; then
3174 ac_cv_prog_CC
="$CC" # Let the user override the test.
3176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3180 test -z "$as_dir" && as_dir
=.
3181 for ac_exec_ext
in '' $ac_executable_extensions; do
3182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3183 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3194 if test -n "$CC"; then
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3196 $as_echo "$CC" >&6; }
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3199 $as_echo "no" >&6; }
3205 if test -z "$CC"; then
3206 # Extract the first word of "cc", so it can be a program name with args.
3207 set dummy cc
; ac_word
=$2
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3209 $as_echo_n "checking for $ac_word... " >&6; }
3210 if test "${ac_cv_prog_CC+set}" = set; then :
3211 $as_echo_n "(cached) " >&6
3213 if test -n "$CC"; then
3214 ac_cv_prog_CC
="$CC" # Let the user override the test.
3217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3221 test -z "$as_dir" && as_dir
=.
3222 for ac_exec_ext
in '' $ac_executable_extensions; do
3223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3224 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3225 ac_prog_rejected
=yes
3229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3236 if test $ac_prog_rejected = yes; then
3237 # We found a bogon in the path, so make sure we never use it.
3238 set dummy
$ac_cv_prog_CC
3240 if test $# != 0; then
3241 # We chose a different compiler from the bogus one.
3242 # However, it has the same basename, so the bogon will be chosen
3243 # first if we set CC to just the basename; use the full file name.
3245 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3251 if test -n "$CC"; then
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3253 $as_echo "$CC" >&6; }
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3256 $as_echo "no" >&6; }
3261 if test -z "$CC"; then
3262 if test -n "$ac_tool_prefix"; then
3263 for ac_prog
in cl.exe
3265 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3266 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3268 $as_echo_n "checking for $ac_word... " >&6; }
3269 if test "${ac_cv_prog_CC+set}" = set; then :
3270 $as_echo_n "(cached) " >&6
3272 if test -n "$CC"; then
3273 ac_cv_prog_CC
="$CC" # Let the user override the test.
3275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3279 test -z "$as_dir" && as_dir
=.
3280 for ac_exec_ext
in '' $ac_executable_extensions; do
3281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3282 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3293 if test -n "$CC"; then
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3295 $as_echo "$CC" >&6; }
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3298 $as_echo "no" >&6; }
3302 test -n "$CC" && break
3305 if test -z "$CC"; then
3307 for ac_prog
in cl.exe
3309 # Extract the first word of "$ac_prog", so it can be a program name with args.
3310 set dummy
$ac_prog; ac_word
=$2
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3312 $as_echo_n "checking for $ac_word... " >&6; }
3313 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3314 $as_echo_n "(cached) " >&6
3316 if test -n "$ac_ct_CC"; then
3317 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3323 test -z "$as_dir" && as_dir
=.
3324 for ac_exec_ext
in '' $ac_executable_extensions; do
3325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3326 ac_cv_prog_ac_ct_CC
="$ac_prog"
3327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3336 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3337 if test -n "$ac_ct_CC"; then
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3339 $as_echo "$ac_ct_CC" >&6; }
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3342 $as_echo "no" >&6; }
3346 test -n "$ac_ct_CC" && break
3349 if test "x$ac_ct_CC" = x
; then
3352 case $cross_compiling:$ac_tool_warned in
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3356 ac_tool_warned
=yes ;;
3365 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3367 as_fn_error
"no acceptable C compiler found in \$PATH
3368 See \`config.log' for more details." "$LINENO" 5; }
3370 # Provide some information about the compiler.
3371 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3374 for ac_option
in --version -v -V -qversion; do
3375 { { ac_try
="$ac_compiler $ac_option >&5"
3377 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3378 *) ac_try_echo=$ac_try;;
3380 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3381 $as_echo "$ac_try_echo"; } >&5
3382 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3384 if test -s conftest.err; then
3386 ... rest of stderr output deleted ...
3387 10q' conftest.err >conftest.er1
3388 cat conftest.er1 >&5
3389 rm -f conftest.er1 conftest.err
3391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3392 test $ac_status = 0; }
3395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3396 /* end confdefs.h. */
3406 ac_clean_files_save=$ac_clean_files
3407 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3408 # Try to create an executable without -o first, disregard a.out.
3409 # It will help us diagnose broken compilers, and finding out an intuition
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3412 $as_echo_n "checking for C compiler default output file name... " >&6; }
3413 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3415 # The possible output files:
3416 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3419 for ac_file in $ac_files
3422 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3423 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3428 if { { ac_try="$ac_link_default"
3430 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3431 *) ac_try_echo
=$ac_try;;
3433 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3434 $as_echo "$ac_try_echo"; } >&5
3435 (eval "$ac_link_default") 2>&5
3437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3438 test $ac_status = 0; }; then :
3439 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3440 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3441 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3442 # so that the user can short-circuit this test for compilers unknown to
3444 for ac_file
in $ac_files ''
3446 test -f "$ac_file" ||
continue
3448 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3451 # We found the default executable, but exeext='' is most
3455 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3457 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3459 # We set ac_cv_exeext here because the later test for it is not
3460 # safe: cross compilers may not add the suffix if given an `-o'
3461 # argument, so we may need to know it at that point already.
3462 # Even if this section looks crufty: it has the advantage of
3469 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3475 $as_echo "$ac_file" >&6; }
3476 if test -z "$ac_file"; then :
3477 $as_echo "$as_me: failed program was:" >&5
3478 sed 's/^/| /' conftest.
$ac_ext >&5
3480 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3481 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3482 { as_fn_set_status
77
3483 as_fn_error
"C compiler cannot create executables
3484 See \`config.log' for more details." "$LINENO" 5; }; }
3486 ac_exeext
=$ac_cv_exeext
3488 # Check that the compiler produces executables we can run. If not, either
3489 # the compiler is broken, or we cross compile.
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3491 $as_echo_n "checking whether the C compiler works... " >&6; }
3492 # If not cross compiling, check that we can run a simple program.
3493 if test "$cross_compiling" != yes; then
3494 if { ac_try
='./$ac_file'
3495 { { case "(($ac_try" in
3496 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3497 *) ac_try_echo=$ac_try;;
3499 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3500 $as_echo "$ac_try_echo"; } >&5
3501 (eval "$ac_try") 2>&5
3503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3504 test $ac_status = 0; }; }; then
3507 if test "$cross_compiling" = maybe; then
3510 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3511 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3512 as_fn_error "cannot run C compiled programs.
3513 If you meant to cross compile
, use \
`--host'.
3514 See \`config.log
' for more details." "$LINENO" 5; }
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3519 $as_echo "yes" >&6; }
3521 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3522 ac_clean_files=$ac_clean_files_save
3523 # Check that the compiler produces executables we can run. If not, either
3524 # the compiler is broken, or we cross compile.
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3526 $as_echo_n "checking whether we are cross compiling... " >&6; }
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3528 $as_echo "$cross_compiling" >&6; }
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3531 $as_echo_n "checking for suffix of executables... " >&6; }
3532 if { { ac_try="$ac_link"
3534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3535 *) ac_try_echo=$ac_try;;
3537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3538 $as_echo "$ac_try_echo"; } >&5
3539 (eval "$ac_link") 2>&5
3541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3542 test $ac_status = 0; }; then :
3543 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3544 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3545 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3547 for ac_file
in conftest.exe conftest conftest.
*; do
3548 test -f "$ac_file" ||
continue
3550 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3551 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3557 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3558 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3559 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3560 See \`config.log' for more details." "$LINENO" 5; }
3562 rm -f conftest
$ac_cv_exeext
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3564 $as_echo "$ac_cv_exeext" >&6; }
3566 rm -f conftest.
$ac_ext
3567 EXEEXT
=$ac_cv_exeext
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3570 $as_echo_n "checking for suffix of object files... " >&6; }
3571 if test "${ac_cv_objext+set}" = set; then :
3572 $as_echo_n "(cached) " >&6
3574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3575 /* end confdefs.h. */
3585 rm -f conftest.o conftest.obj
3586 if { { ac_try
="$ac_compile"
3588 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3589 *) ac_try_echo=$ac_try;;
3591 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3592 $as_echo "$ac_try_echo"; } >&5
3593 (eval "$ac_compile") 2>&5
3595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3596 test $ac_status = 0; }; then :
3597 for ac_file in conftest.o conftest.obj conftest.*; do
3598 test -f "$ac_file" || continue;
3600 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3601 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3606 $as_echo "$as_me: failed program was:" >&5
3607 sed 's/^/| /' conftest.$ac_ext >&5
3609 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3610 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3611 as_fn_error "cannot compute suffix of object files
: cannot compile
3612 See \
`config.log' for more details." "$LINENO" 5; }
3614 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3617 $as_echo "$ac_cv_objext" >&6; }
3618 OBJEXT=$ac_cv_objext
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3621 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3622 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3623 $as_echo_n "(cached) " >&6
3625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3626 /* end confdefs.h. */
3639 if ac_fn_c_try_compile "$LINENO"; then :
3644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3645 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3649 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3650 if test $ac_compiler_gnu = yes; then
3655 ac_test_CFLAGS=${CFLAGS+set}
3656 ac_save_CFLAGS=$CFLAGS
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3658 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3659 if test "${ac_cv_prog_cc_g+set}" = set; then :
3660 $as_echo_n "(cached) " >&6
3662 ac_save_c_werror_flag=$ac_c_werror_flag
3663 ac_c_werror_flag=yes
3666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3667 /* end confdefs.h. */
3677 if ac_fn_c_try_compile "$LINENO"; then :
3681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3682 /* end confdefs.h. */
3692 if ac_fn_c_try_compile "$LINENO"; then :
3695 ac_c_werror_flag=$ac_save_c_werror_flag
3697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3698 /* end confdefs.h. */
3708 if ac_fn_c_try_compile "$LINENO"; then :
3711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3716 ac_c_werror_flag=$ac_save_c_werror_flag
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3719 $as_echo "$ac_cv_prog_cc_g" >&6; }
3720 if test "$ac_test_CFLAGS" = set; then
3721 CFLAGS=$ac_save_CFLAGS
3722 elif test $ac_cv_prog_cc_g = yes; then
3723 if test "$GCC" = yes; then
3729 if test "$GCC" = yes; then
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3736 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3737 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3738 $as_echo_n "(cached) " >&6
3740 ac_cv_prog_cc_c89=no
3742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3743 /* end confdefs.h. */
3746 #include <sys/types.h>
3747 #include <sys/stat.h>
3748 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3749 struct buf { int x; };
3750 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3751 static char *e (p, i)
3757 static char *f (char * (*g) (char **, int), char **p, ...)
3762 s = g (p, va_arg (v,int));
3767 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3768 function prototypes and stuff, but not '\xHH' hex character constants.
3769 These don't provoke an error unfortunately, instead are silently treated
3770 as 'x'. The following induces an error, until -std is added to get
3771 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3772 array size at least. It's necessary to write '\x00'==0 to get something
3773 that's true only with -std. */
3774 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3776 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3777 inside strings and character constants. */
3779 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3781 int test (int i, double x);
3782 struct s1 {int (*f) (int a);};
3783 struct s2 {int (*f) (double a);};
3784 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3790 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3795 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3796 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3798 CC="$ac_save_CC $ac_arg"
3799 if ac_fn_c_try_compile "$LINENO"; then :
3800 ac_cv_prog_cc_c89=$ac_arg
3802 rm -f core conftest.err conftest.$ac_objext
3803 test "x$ac_cv_prog_cc_c89" != "xno" && break
3805 rm -f conftest.$ac_ext
3810 case "x$ac_cv_prog_cc_c89" in
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3813 $as_echo "none needed" >&6; } ;;
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3816 $as_echo "unsupported" >&6; } ;;
3818 CC="$CC $ac_cv_prog_cc_c89"
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3820 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3822 if test "x$ac_cv_prog_cc_c89" != xno; then :
3827 ac_cpp='$CPP $CPPFLAGS'
3828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3834 ac_cpp='$CPP $CPPFLAGS'
3835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3839 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3840 # On Suns, sometimes $CPP names a directory.
3841 if test -n "$CPP" && test -d "$CPP"; then
3844 if test -z "$CPP"; then
3845 if test "${ac_cv_prog_CPP+set}" = set; then :
3846 $as_echo_n "(cached) " >&6
3848 # Double quotes because CPP needs to be expanded
3849 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3852 for ac_c_preproc_warn_flag in '' yes
3854 # Use a header file that comes with gcc, so configuring glibc
3855 # with a fresh cross-compiler works.
3856 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3857 # <limits.h> exists even on freestanding compilers.
3858 # On the NeXT, cc -E runs the code through the compiler's parser,
3859 # not just through cpp. "Syntax error" is here to catch this case.
3860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3861 /* end confdefs.h. */
3863 # include <limits.h>
3865 # include <assert.h>
3869 if ac_fn_c_try_cpp "$LINENO"; then :
3872 # Broken: fails on valid input.
3875 rm -f conftest.err conftest.$ac_ext
3877 # OK, works on sane cases. Now check whether nonexistent headers
3878 # can be detected and how.
3879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3880 /* end confdefs.h. */
3881 #include <ac_nonexistent.h>
3883 if ac_fn_c_try_cpp "$LINENO"; then :
3884 # Broken: success on invalid input.
3887 # Passes both tests.
3891 rm -f conftest.err conftest.$ac_ext
3894 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3895 rm -f conftest.err conftest.
$ac_ext
3896 if $ac_preproc_ok; then :
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3909 $as_echo "$CPP" >&6; }
3911 for ac_c_preproc_warn_flag
in '' yes
3913 # Use a header file that comes with gcc, so configuring glibc
3914 # with a fresh cross-compiler works.
3915 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3916 # <limits.h> exists even on freestanding compilers.
3917 # On the NeXT, cc -E runs the code through the compiler's parser,
3918 # not just through cpp. "Syntax error" is here to catch this case.
3919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3920 /* end confdefs.h. */
3922 # include <limits.h>
3924 # include <assert.h>
3928 if ac_fn_c_try_cpp
"$LINENO"; then :
3931 # Broken: fails on valid input.
3934 rm -f conftest.err conftest.
$ac_ext
3936 # OK, works on sane cases. Now check whether nonexistent headers
3937 # can be detected and how.
3938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3939 /* end confdefs.h. */
3940 #include <ac_nonexistent.h>
3942 if ac_fn_c_try_cpp
"$LINENO"; then :
3943 # Broken: success on invalid input.
3946 # Passes both tests.
3950 rm -f conftest.err conftest.
$ac_ext
3953 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3954 rm -f conftest.err conftest.
$ac_ext
3955 if $ac_preproc_ok; then :
3958 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3959 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3960 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3961 See \`config.log' for more details." "$LINENO" 5; }
3965 ac_cpp
='$CPP $CPPFLAGS'
3966 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3967 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3968 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3972 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3973 if test "${ac_cv_path_GREP+set}" = set; then :
3974 $as_echo_n "(cached) " >&6
3976 if test -z "$GREP"; then
3977 ac_path_GREP_found
=false
3978 # Loop through the user's path and test for each of PROGNAME-LIST
3979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3980 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3983 test -z "$as_dir" && as_dir
=.
3984 for ac_prog
in grep ggrep
; do
3985 for ac_exec_ext
in '' $ac_executable_extensions; do
3986 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3987 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3988 # Check for GNU ac_path_GREP and select it if it is found.
3989 # Check for GNU $ac_path_GREP
3990 case `"$ac_path_GREP" --version 2>&1` in
3992 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3995 $as_echo_n 0123456789 >"conftest.in"
3998 cat "conftest.in" "conftest.in" >"conftest.tmp"
3999 mv "conftest.tmp" "conftest.in"
4000 cp "conftest.in" "conftest.nl"
4001 $as_echo 'GREP' >> "conftest.nl"
4002 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4003 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4004 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4005 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4006 # Best one so far, save it but keep looking for a better one
4007 ac_cv_path_GREP
="$ac_path_GREP"
4008 ac_path_GREP_max
=$ac_count
4010 # 10*(2^10) chars as input seems more than enough
4011 test $ac_count -gt 10 && break
4013 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4016 $ac_path_GREP_found && break 3
4021 if test -z "$ac_cv_path_GREP"; then
4022 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4025 ac_cv_path_GREP
=$GREP
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4030 $as_echo "$ac_cv_path_GREP" >&6; }
4031 GREP
="$ac_cv_path_GREP"
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4035 $as_echo_n "checking for egrep... " >&6; }
4036 if test "${ac_cv_path_EGREP+set}" = set; then :
4037 $as_echo_n "(cached) " >&6
4039 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4040 then ac_cv_path_EGREP
="$GREP -E"
4042 if test -z "$EGREP"; then
4043 ac_path_EGREP_found
=false
4044 # Loop through the user's path and test for each of PROGNAME-LIST
4045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4046 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4049 test -z "$as_dir" && as_dir
=.
4050 for ac_prog
in egrep; do
4051 for ac_exec_ext
in '' $ac_executable_extensions; do
4052 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4053 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4054 # Check for GNU ac_path_EGREP and select it if it is found.
4055 # Check for GNU $ac_path_EGREP
4056 case `"$ac_path_EGREP" --version 2>&1` in
4058 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4061 $as_echo_n 0123456789 >"conftest.in"
4064 cat "conftest.in" "conftest.in" >"conftest.tmp"
4065 mv "conftest.tmp" "conftest.in"
4066 cp "conftest.in" "conftest.nl"
4067 $as_echo 'EGREP' >> "conftest.nl"
4068 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4069 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4070 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4071 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4072 # Best one so far, save it but keep looking for a better one
4073 ac_cv_path_EGREP
="$ac_path_EGREP"
4074 ac_path_EGREP_max
=$ac_count
4076 # 10*(2^10) chars as input seems more than enough
4077 test $ac_count -gt 10 && break
4079 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4082 $ac_path_EGREP_found && break 3
4087 if test -z "$ac_cv_path_EGREP"; then
4088 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4091 ac_cv_path_EGREP
=$EGREP
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4097 $as_echo "$ac_cv_path_EGREP" >&6; }
4098 EGREP
="$ac_cv_path_EGREP"
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4102 $as_echo_n "checking for ANSI C header files... " >&6; }
4103 if test "${ac_cv_header_stdc+set}" = set; then :
4104 $as_echo_n "(cached) " >&6
4106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4107 /* end confdefs.h. */
4121 if ac_fn_c_try_compile
"$LINENO"; then :
4122 ac_cv_header_stdc
=yes
4124 ac_cv_header_stdc
=no
4126 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4128 if test $ac_cv_header_stdc = yes; then
4129 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4131 /* end confdefs.h. */
4135 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4136 $EGREP "memchr" >/dev
/null
2>&1; then :
4139 ac_cv_header_stdc
=no
4145 if test $ac_cv_header_stdc = yes; then
4146 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4148 /* end confdefs.h. */
4152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4153 $EGREP "free" >/dev
/null
2>&1; then :
4156 ac_cv_header_stdc
=no
4162 if test $ac_cv_header_stdc = yes; then
4163 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4164 if test "$cross_compiling" = yes; then :
4167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4168 /* end confdefs.h. */
4171 #if ((' ' & 0x0FF) == 0x020)
4172 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4173 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4175 # define ISLOWER(c) \
4176 (('a' <= (c) && (c) <= 'i') \
4177 || ('j' <= (c) && (c) <= 'r') \
4178 || ('s' <= (c) && (c) <= 'z'))
4179 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4182 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4187 for (i = 0; i < 256; i++)
4188 if (XOR (islower (i), ISLOWER (i))
4189 || toupper (i) != TOUPPER (i))
4194 if ac_fn_c_try_run
"$LINENO"; then :
4197 ac_cv_header_stdc
=no
4199 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4200 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4206 $as_echo "$ac_cv_header_stdc" >&6; }
4207 if test $ac_cv_header_stdc = yes; then
4209 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4213 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4214 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4215 inttypes.h stdint.h unistd.h
4217 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4218 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4220 eval as_val
=\$
$as_ac_Header
4221 if test "x$as_val" = x
""yes; then :
4222 cat >>confdefs.h
<<_ACEOF
4223 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4232 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4233 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4240 if test "$MINIX" = yes; then
4242 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4245 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4248 $as_echo "#define _MINIX 1" >>confdefs.h
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4254 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4255 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4256 $as_echo_n "(cached) " >&6
4258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4259 /* end confdefs.h. */
4261 # define __EXTENSIONS__ 1
4262 $ac_includes_default
4271 if ac_fn_c_try_compile
"$LINENO"; then :
4272 ac_cv_safe_to_define___extensions__
=yes
4274 ac_cv_safe_to_define___extensions__
=no
4276 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4279 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4280 test $ac_cv_safe_to_define___extensions__ = yes &&
4281 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4283 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4285 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4287 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4289 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4293 for ac_func
in secure_getenv
4295 ac_fn_c_check_func
"$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
4296 if test "x$ac_cv_func_secure_getenv" = x
""yes; then :
4297 cat >>confdefs.h
<<_ACEOF
4298 #define HAVE_SECURE_GETENV 1
4305 # Calculate toolexeclibdir
4306 # Also toolexecdir, though it's only used in toolexeclibdir
4307 case ${version_specific_libs} in
4309 # Need the gcc compiler version to know where to install libraries
4310 # and header files if --enable-version-specific-runtime-libs option
4312 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4313 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4316 if test -n "$with_cross_host" &&
4317 test x
"$with_cross_host" != x
"no"; then
4318 # Install a library built with a cross compiler in tooldir, not libdir.
4319 toolexecdir
='$(exec_prefix)/$(target_alias)'
4320 toolexeclibdir
='$(toolexecdir)/lib'
4322 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4323 toolexeclibdir
='$(libdir)'
4325 multi_os_directory
=`$CC -print-multi-os-directory`
4326 case $multi_os_directory in
4327 .
) ;; # Avoid trailing /.
4328 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4335 # Check for programs.
4339 ac_cpp
='$CPP $CPPFLAGS'
4340 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4341 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4342 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4343 if test -n "$ac_tool_prefix"; then
4344 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4345 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4347 $as_echo_n "checking for $ac_word... " >&6; }
4348 if test "${ac_cv_prog_CC+set}" = set; then :
4349 $as_echo_n "(cached) " >&6
4351 if test -n "$CC"; then
4352 ac_cv_prog_CC
="$CC" # Let the user override the test.
4354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4358 test -z "$as_dir" && as_dir
=.
4359 for ac_exec_ext
in '' $ac_executable_extensions; do
4360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4361 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4372 if test -n "$CC"; then
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4374 $as_echo "$CC" >&6; }
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4377 $as_echo "no" >&6; }
4382 if test -z "$ac_cv_prog_CC"; then
4384 # Extract the first word of "gcc", so it can be a program name with args.
4385 set dummy gcc
; ac_word
=$2
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4387 $as_echo_n "checking for $ac_word... " >&6; }
4388 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4389 $as_echo_n "(cached) " >&6
4391 if test -n "$ac_ct_CC"; then
4392 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4398 test -z "$as_dir" && as_dir
=.
4399 for ac_exec_ext
in '' $ac_executable_extensions; do
4400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4401 ac_cv_prog_ac_ct_CC
="gcc"
4402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4411 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4412 if test -n "$ac_ct_CC"; then
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4414 $as_echo "$ac_ct_CC" >&6; }
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4417 $as_echo "no" >&6; }
4420 if test "x$ac_ct_CC" = x
; then
4423 case $cross_compiling:$ac_tool_warned in
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4426 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4427 ac_tool_warned
=yes ;;
4435 if test -z "$CC"; then
4436 if test -n "$ac_tool_prefix"; then
4437 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4438 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4440 $as_echo_n "checking for $ac_word... " >&6; }
4441 if test "${ac_cv_prog_CC+set}" = set; then :
4442 $as_echo_n "(cached) " >&6
4444 if test -n "$CC"; then
4445 ac_cv_prog_CC
="$CC" # Let the user override the test.
4447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4451 test -z "$as_dir" && as_dir
=.
4452 for ac_exec_ext
in '' $ac_executable_extensions; do
4453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4454 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4465 if test -n "$CC"; then
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4467 $as_echo "$CC" >&6; }
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4470 $as_echo "no" >&6; }
4476 if test -z "$CC"; then
4477 # Extract the first word of "cc", so it can be a program name with args.
4478 set dummy cc
; ac_word
=$2
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4480 $as_echo_n "checking for $ac_word... " >&6; }
4481 if test "${ac_cv_prog_CC+set}" = set; then :
4482 $as_echo_n "(cached) " >&6
4484 if test -n "$CC"; then
4485 ac_cv_prog_CC
="$CC" # Let the user override the test.
4488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4492 test -z "$as_dir" && as_dir
=.
4493 for ac_exec_ext
in '' $ac_executable_extensions; do
4494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4495 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4496 ac_prog_rejected
=yes
4500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4507 if test $ac_prog_rejected = yes; then
4508 # We found a bogon in the path, so make sure we never use it.
4509 set dummy
$ac_cv_prog_CC
4511 if test $# != 0; then
4512 # We chose a different compiler from the bogus one.
4513 # However, it has the same basename, so the bogon will be chosen
4514 # first if we set CC to just the basename; use the full file name.
4516 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4522 if test -n "$CC"; then
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4524 $as_echo "$CC" >&6; }
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4527 $as_echo "no" >&6; }
4532 if test -z "$CC"; then
4533 if test -n "$ac_tool_prefix"; then
4534 for ac_prog
in cl.exe
4536 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4537 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4539 $as_echo_n "checking for $ac_word... " >&6; }
4540 if test "${ac_cv_prog_CC+set}" = set; then :
4541 $as_echo_n "(cached) " >&6
4543 if test -n "$CC"; then
4544 ac_cv_prog_CC
="$CC" # Let the user override the test.
4546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4550 test -z "$as_dir" && as_dir
=.
4551 for ac_exec_ext
in '' $ac_executable_extensions; do
4552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4553 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4564 if test -n "$CC"; then
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4566 $as_echo "$CC" >&6; }
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4569 $as_echo "no" >&6; }
4573 test -n "$CC" && break
4576 if test -z "$CC"; then
4578 for ac_prog
in cl.exe
4580 # Extract the first word of "$ac_prog", so it can be a program name with args.
4581 set dummy
$ac_prog; ac_word
=$2
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4583 $as_echo_n "checking for $ac_word... " >&6; }
4584 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4585 $as_echo_n "(cached) " >&6
4587 if test -n "$ac_ct_CC"; then
4588 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4594 test -z "$as_dir" && as_dir
=.
4595 for ac_exec_ext
in '' $ac_executable_extensions; do
4596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4597 ac_cv_prog_ac_ct_CC
="$ac_prog"
4598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4607 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4608 if test -n "$ac_ct_CC"; then
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4610 $as_echo "$ac_ct_CC" >&6; }
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4613 $as_echo "no" >&6; }
4617 test -n "$ac_ct_CC" && break
4620 if test "x$ac_ct_CC" = x
; then
4623 case $cross_compiling:$ac_tool_warned in
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4627 ac_tool_warned
=yes ;;
4636 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4637 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4638 as_fn_error
"no acceptable C compiler found in \$PATH
4639 See \`config.log' for more details." "$LINENO" 5; }
4641 # Provide some information about the compiler.
4642 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4645 for ac_option
in --version -v -V -qversion; do
4646 { { ac_try
="$ac_compiler $ac_option >&5"
4648 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4649 *) ac_try_echo=$ac_try;;
4651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4652 $as_echo "$ac_try_echo"; } >&5
4653 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4655 if test -s conftest.err; then
4657 ... rest of stderr output deleted ...
4658 10q' conftest.err >conftest.er1
4659 cat conftest.er1 >&5
4660 rm -f conftest.er1 conftest.err
4662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4663 test $ac_status = 0; }
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4667 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4668 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4669 $as_echo_n "(cached) " >&6
4671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4672 /* end confdefs.h. */
4685 if ac_fn_c_try_compile "$LINENO"; then :
4690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4691 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4695 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4696 if test $ac_compiler_gnu = yes; then
4701 ac_test_CFLAGS=${CFLAGS+set}
4702 ac_save_CFLAGS=$CFLAGS
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4704 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4705 if test "${ac_cv_prog_cc_g+set}" = set; then :
4706 $as_echo_n "(cached) " >&6
4708 ac_save_c_werror_flag=$ac_c_werror_flag
4709 ac_c_werror_flag=yes
4712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4713 /* end confdefs.h. */
4723 if ac_fn_c_try_compile "$LINENO"; then :
4727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4728 /* end confdefs.h. */
4738 if ac_fn_c_try_compile "$LINENO"; then :
4741 ac_c_werror_flag=$ac_save_c_werror_flag
4743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4744 /* end confdefs.h. */
4754 if ac_fn_c_try_compile "$LINENO"; then :
4757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4762 ac_c_werror_flag=$ac_save_c_werror_flag
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4765 $as_echo "$ac_cv_prog_cc_g" >&6; }
4766 if test "$ac_test_CFLAGS" = set; then
4767 CFLAGS=$ac_save_CFLAGS
4768 elif test $ac_cv_prog_cc_g = yes; then
4769 if test "$GCC" = yes; then
4775 if test "$GCC" = yes; then
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4782 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4783 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4784 $as_echo_n "(cached) " >&6
4786 ac_cv_prog_cc_c89=no
4788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4789 /* end confdefs.h. */
4792 #include <sys/types.h>
4793 #include <sys/stat.h>
4794 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4795 struct buf { int x; };
4796 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4797 static char *e (p, i)
4803 static char *f (char * (*g) (char **, int), char **p, ...)
4808 s = g (p, va_arg (v,int));
4813 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4814 function prototypes and stuff, but not '\xHH' hex character constants.
4815 These don't provoke an error unfortunately, instead are silently treated
4816 as 'x'. The following induces an error, until -std is added to get
4817 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4818 array size at least. It's necessary to write '\x00'==0 to get something
4819 that's true only with -std. */
4820 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4822 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4823 inside strings and character constants. */
4825 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4827 int test (int i, double x);
4828 struct s1 {int (*f) (int a);};
4829 struct s2 {int (*f) (double a);};
4830 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4836 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4841 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4842 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4844 CC="$ac_save_CC $ac_arg"
4845 if ac_fn_c_try_compile "$LINENO"; then :
4846 ac_cv_prog_cc_c89=$ac_arg
4848 rm -f core conftest.err conftest.$ac_objext
4849 test "x$ac_cv_prog_cc_c89" != "xno" && break
4851 rm -f conftest.$ac_ext
4856 case "x$ac_cv_prog_cc_c89" in
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4859 $as_echo "none needed" >&6; } ;;
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4862 $as_echo "unsupported" >&6; } ;;
4864 CC="$CC $ac_cv_prog_cc_c89"
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4866 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4868 if test "x$ac_cv_prog_cc_c89" != xno; then :
4873 ac_cpp='$CPP $CPPFLAGS'
4874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4879 ac_cpp='$CXXCPP $CPPFLAGS'
4880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4883 if test -z "$CXX"; then
4884 if test -n "$CCC"; then
4887 if test -n "$ac_tool_prefix"; then
4888 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4890 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4891 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4893 $as_echo_n "checking for $ac_word... " >&6; }
4894 if test "${ac_cv_prog_CXX+set}" = set; then :
4895 $as_echo_n "(cached) " >&6
4897 if test -n "$CXX"; then
4898 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4904 test -z "$as_dir" && as_dir=.
4905 for ac_exec_ext in '' $ac_executable_extensions; do
4906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4907 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4918 if test -n "$CXX"; then
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4920 $as_echo "$CXX" >&6; }
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4923 $as_echo "no" >&6; }
4927 test -n "$CXX" && break
4930 if test -z "$CXX"; then
4932 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4934 # Extract the first word of "$ac_prog", so it can be a program name with args.
4935 set dummy $ac_prog; ac_word=$2
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4937 $as_echo_n "checking for $ac_word... " >&6; }
4938 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4939 $as_echo_n "(cached) " >&6
4941 if test -n "$ac_ct_CXX"; then
4942 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4948 test -z "$as_dir" && as_dir=.
4949 for ac_exec_ext in '' $ac_executable_extensions; do
4950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4951 ac_cv_prog_ac_ct_CXX="$ac_prog"
4952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4961 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4962 if test -n "$ac_ct_CXX"; then
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4964 $as_echo "$ac_ct_CXX" >&6; }
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4967 $as_echo "no" >&6; }
4971 test -n "$ac_ct_CXX" && break
4974 if test "x$ac_ct_CXX" = x; then
4977 case $cross_compiling:$ac_tool_warned in
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4981 ac_tool_warned=yes ;;
4989 # Provide some information about the compiler.
4990 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4993 for ac_option in --version -v -V -qversion; do
4994 { { ac_try="$ac_compiler $ac_option >&5"
4996 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4997 *) ac_try_echo
=$ac_try;;
4999 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5000 $as_echo "$ac_try_echo"; } >&5
5001 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5003 if test -s conftest.err
; then
5005 ... rest of stderr output deleted ...
5006 10q' conftest.err
>conftest.er1
5007 cat conftest.er1
>&5
5008 rm -f conftest.er1 conftest.err
5010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5011 test $ac_status = 0; }
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5015 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5016 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
5017 $as_echo_n "(cached) " >&6
5019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5020 /* end confdefs.h. */
5033 if ac_fn_cxx_try_compile
"$LINENO"; then :
5038 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5039 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5043 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5044 if test $ac_compiler_gnu = yes; then
5049 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5050 ac_save_CXXFLAGS
=$CXXFLAGS
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5052 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5053 if test "${ac_cv_prog_cxx_g+set}" = set; then :
5054 $as_echo_n "(cached) " >&6
5056 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5057 ac_cxx_werror_flag
=yes
5060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5061 /* end confdefs.h. */
5071 if ac_fn_cxx_try_compile
"$LINENO"; then :
5072 ac_cv_prog_cxx_g
=yes
5075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5076 /* end confdefs.h. */
5086 if ac_fn_cxx_try_compile
"$LINENO"; then :
5089 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5092 /* end confdefs.h. */
5102 if ac_fn_cxx_try_compile
"$LINENO"; then :
5103 ac_cv_prog_cxx_g
=yes
5105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5110 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5113 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5114 if test "$ac_test_CXXFLAGS" = set; then
5115 CXXFLAGS
=$ac_save_CXXFLAGS
5116 elif test $ac_cv_prog_cxx_g = yes; then
5117 if test "$GXX" = yes; then
5123 if test "$GXX" = yes; then
5130 ac_cpp
='$CPP $CPPFLAGS'
5131 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5132 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5133 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5137 if test "x$CC" != xcc
; then
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5139 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5142 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5144 set dummy
$CC; ac_cc
=`$as_echo "$2" |
5145 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5146 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5147 $as_echo_n "(cached) " >&6
5149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5150 /* end confdefs.h. */
5160 # Make sure it works both with $CC and with simple cc.
5161 # We do the test twice because some compilers refuse to overwrite an
5162 # existing .o file with -o, though they will create one.
5163 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5165 if { { case "(($ac_try" in
5166 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5167 *) ac_try_echo=$ac_try;;
5169 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5170 $as_echo "$ac_try_echo"; } >&5
5171 (eval "$ac_try") 2>&5
5173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5174 test $ac_status = 0; } &&
5175 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5176 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5177 *) ac_try_echo
=$ac_try;;
5179 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5180 $as_echo "$ac_try_echo"; } >&5
5181 (eval "$ac_try") 2>&5
5183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5184 test $ac_status = 0; };
5186 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
5187 if test "x$CC" != xcc
; then
5188 # Test first that cc exists at all.
5189 if { ac_try
='cc -c conftest.$ac_ext >&5'
5190 { { case "(($ac_try" in
5191 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5192 *) ac_try_echo=$ac_try;;
5194 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5195 $as_echo "$ac_try_echo"; } >&5
5196 (eval "$ac_try") 2>&5
5198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5199 test $ac_status = 0; }; }; then
5200 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5202 if { { case "(($ac_try" in
5203 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5204 *) ac_try_echo
=$ac_try;;
5206 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5207 $as_echo "$ac_try_echo"; } >&5
5208 (eval "$ac_try") 2>&5
5210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5211 test $ac_status = 0; } &&
5212 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
5213 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5214 *) ac_try_echo=$ac_try;;
5216 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5217 $as_echo "$ac_try_echo"; } >&5
5218 (eval "$ac_try") 2>&5
5220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5221 test $ac_status = 0; };
5226 # cc exists but doesn't like -o.
5227 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5232 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5234 rm -f core conftest*
5237 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5239 $as_echo "yes" >&6; }
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5242 $as_echo "no" >&6; }
5244 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5248 # FIXME: we rely on the cache variable name because
5249 # there is no other way.
5251 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5252 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5253 if test "$am_t" != yes; then
5254 # Losing compiler, so override with the script.
5255 # FIXME: It is wrong to rewrite CC.
5256 # But if we don't then we get into trouble of one sort or another.
5257 # A longer-term fix would be to have automake use am__CC in this case,
5258 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5259 CC="$am_aux_dir/compile $CC"
5266 # Newer automakes demand CCAS and CCASFLAGS.
5268 : ${CCASFLAGS='$(CFLAGS)'}
5272 if test -n "$ac_tool_prefix"; then
5273 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5274 set dummy ${ac_tool_prefix}as; ac_word=$2
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5276 $as_echo_n "checking for $ac_word... " >&6; }
5277 if test "${ac_cv_prog_AS+set}" = set; then :
5278 $as_echo_n "(cached) " >&6
5280 if test -n "$AS"; then
5281 ac_cv_prog_AS="$AS" # Let the user override the test.
5283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5287 test -z "$as_dir" && as_dir=.
5288 for ac_exec_ext in '' $ac_executable_extensions; do
5289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5290 ac_cv_prog_AS="${ac_tool_prefix}as"
5291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5301 if test -n "$AS"; then
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5303 $as_echo "$AS" >&6; }
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5306 $as_echo "no" >&6; }
5311 if test -z "$ac_cv_prog_AS"; then
5313 # Extract the first word of "as", so it can be a program name with args.
5314 set dummy as; ac_word=$2
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5316 $as_echo_n "checking for $ac_word... " >&6; }
5317 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5318 $as_echo_n "(cached) " >&6
5320 if test -n "$ac_ct_AS"; then
5321 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5327 test -z "$as_dir" && as_dir=.
5328 for ac_exec_ext in '' $ac_executable_extensions; do
5329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5330 ac_cv_prog_ac_ct_AS="as"
5331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5340 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5341 if test -n "$ac_ct_AS"; then
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5343 $as_echo "$ac_ct_AS" >&6; }
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5346 $as_echo "no" >&6; }
5349 if test "x$ac_ct_AS" = x; then
5352 case $cross_compiling:$ac_tool_warned in
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5356 ac_tool_warned=yes ;;
5364 if test -n "$ac_tool_prefix"; then
5365 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5366 set dummy ${ac_tool_prefix}ar; ac_word=$2
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5368 $as_echo_n "checking for $ac_word... " >&6; }
5369 if test "${ac_cv_prog_AR+set}" = set; then :
5370 $as_echo_n "(cached) " >&6
5372 if test -n "$AR"; then
5373 ac_cv_prog_AR="$AR" # Let the user override the test.
5375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5379 test -z "$as_dir" && as_dir=.
5380 for ac_exec_ext in '' $ac_executable_extensions; do
5381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5382 ac_cv_prog_AR="${ac_tool_prefix}ar"
5383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5393 if test -n "$AR"; then
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5395 $as_echo "$AR" >&6; }
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5398 $as_echo "no" >&6; }
5403 if test -z "$ac_cv_prog_AR"; then
5405 # Extract the first word of "ar", so it can be a program name with args.
5406 set dummy ar; ac_word=$2
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5408 $as_echo_n "checking for $ac_word... " >&6; }
5409 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5410 $as_echo_n "(cached) " >&6
5412 if test -n "$ac_ct_AR"; then
5413 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5419 test -z "$as_dir" && as_dir=.
5420 for ac_exec_ext in '' $ac_executable_extensions; do
5421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5422 ac_cv_prog_ac_ct_AR="ar"
5423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5432 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5433 if test -n "$ac_ct_AR"; then
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5435 $as_echo "$ac_ct_AR" >&6; }
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5438 $as_echo "no" >&6; }
5441 if test "x$ac_ct_AR" = x; then
5444 case $cross_compiling:$ac_tool_warned in
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5448 ac_tool_warned=yes ;;
5456 if test -n "$ac_tool_prefix"; then
5457 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5458 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5460 $as_echo_n "checking for $ac_word... " >&6; }
5461 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5462 $as_echo_n "(cached) " >&6
5464 if test -n "$RANLIB"; then
5465 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5471 test -z "$as_dir" && as_dir=.
5472 for ac_exec_ext in '' $ac_executable_extensions; do
5473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5474 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5484 RANLIB=$ac_cv_prog_RANLIB
5485 if test -n "$RANLIB"; then
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5487 $as_echo "$RANLIB" >&6; }
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5490 $as_echo "no" >&6; }
5495 if test -z "$ac_cv_prog_RANLIB"; then
5496 ac_ct_RANLIB=$RANLIB
5497 # Extract the first word of "ranlib", so it can be a program name with args.
5498 set dummy ranlib; ac_word=$2
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5500 $as_echo_n "checking for $ac_word... " >&6; }
5501 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5502 $as_echo_n "(cached) " >&6
5504 if test -n "$ac_ct_RANLIB"; then
5505 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5511 test -z "$as_dir" && as_dir=.
5512 for ac_exec_ext in '' $ac_executable_extensions; do
5513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5514 ac_cv_prog_ac_ct_RANLIB="ranlib"
5515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5524 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5525 if test -n "$ac_ct_RANLIB"; then
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5527 $as_echo "$ac_ct_RANLIB" >&6; }
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5530 $as_echo "no" >&6; }
5533 if test "x$ac_ct_RANLIB" = x; then
5536 case $cross_compiling:$ac_tool_warned in
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5540 ac_tool_warned=yes ;;
5542 RANLIB=$ac_ct_RANLIB
5545 RANLIB="$ac_cv_prog_RANLIB"
5549 # Check we may build wrappers library
5550 echo "test: bndmov %bnd0, %bnd1" > conftest.s
5551 if { ac_try='$AS -o conftest.o conftest.s 1>&5'
5552 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5556 test $ac_status = 0; }; }
5561 echo "configure: no MPX support fo as" >&5
5563 rm -f conftest.o conftest.s
5564 if test "x$mpx_as" = "xyes"; then
5565 MPX_AS_SUPPORTED_TRUE=
5566 MPX_AS_SUPPORTED_FALSE='#'
5568 MPX_AS_SUPPORTED_TRUE='#'
5569 MPX_AS_SUPPORTED_FALSE=
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5581 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5586 macro_version='2.2.7a'
5587 macro_revision='1.3134'
5601 ltmain="$ac_aux_dir/ltmain.sh"
5603 # Backslashify metacharacters that are still active within
5604 # double-quoted strings.
5605 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5607 # Same as above, but do not quote variable references.
5608 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5610 # Sed substitution to delay expansion of an escaped shell variable in a
5611 # double_quote_subst'ed string.
5612 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5614 # Sed substitution to delay expansion of an escaped single quote.
5615 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5617 # Sed substitution to avoid accidental globbing in evaled expressions
5618 no_glob_subst='s/\*/\\\*/g'
5620 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5621 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5622 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5625 $as_echo_n "checking how to print
strings...
" >&6; }
5626 # Test print first, because it will be a builtin if present.
5627 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
5628 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5630 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5633 # Use this function as a fallback that always works.
5634 func_fallback_echo ()
5636 eval 'cat <<_LTECHO_EOF
5640 ECHO='func_fallback_echo'
5643 # func_echo_all arg...
5644 # Invoke $ECHO with all args, space-separated.
5651 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5652 $as_echo "printf" >&6; } ;;
5653 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5654 $as_echo "print
-r" >&6; } ;;
5655 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5656 $as_echo "cat" >&6; } ;;
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5673 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5674 if test "${ac_cv_path_SED+set}" = set; then :
5675 $as_echo_n "(cached
) " >&6
5677 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5678 for ac_i in 1 2 3 4 5 6 7; do
5679 ac_script="$ac_script$as_nl$ac_script"
5681 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5682 { ac_script=; unset ac_script;}
5683 if test -z "$SED"; then
5684 ac_path_SED_found=false
5685 # Loop through the user's path and test for each of PROGNAME-LIST
5686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5690 test -z "$as_dir" && as_dir=.
5691 for ac_prog in sed gsed; do
5692 for ac_exec_ext in '' $ac_executable_extensions; do
5693 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5694 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5695 # Check for GNU ac_path_SED and select it if it is found.
5696 # Check for GNU $ac_path_SED
5697 case `"$ac_path_SED" --version 2>&1` in
5699 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5702 $as_echo_n 0123456789 >"conftest.
in"
5705 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5706 mv "conftest.tmp
" "conftest.
in"
5707 cp "conftest.
in" "conftest.
nl"
5708 $as_echo '' >> "conftest.
nl"
5709 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5710 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5711 as_fn_arith $ac_count + 1 && ac_count=$as_val
5712 if test $ac_count -gt ${ac_path_SED_max-0}; then
5713 # Best one so far, save it but keep looking for a better one
5714 ac_cv_path_SED="$ac_path_SED"
5715 ac_path_SED_max=$ac_count
5717 # 10*(2^10) chars as input seems more than enough
5718 test $ac_count -gt 10 && break
5720 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5723 $ac_path_SED_found && break 3
5728 if test -z "$ac_cv_path_SED"; then
5729 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5737 $as_echo "$ac_cv_path_SED" >&6; }
5738 SED="$ac_cv_path_SED"
5741 test -z "$SED" && SED=sed
5742 Xsed="$SED -e 1s
/^X
//"
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5755 $as_echo_n "checking
for fgrep...
" >&6; }
5756 if test "${ac_cv_path_FGREP+set}" = set; then :
5757 $as_echo_n "(cached
) " >&6
5759 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5760 then ac_cv_path_FGREP="$GREP -F"
5762 if test -z "$FGREP"; then
5763 ac_path_FGREP_found=false
5764 # Loop through the user's path and test for each of PROGNAME-LIST
5765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5766 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5769 test -z "$as_dir" && as_dir=.
5770 for ac_prog in fgrep; do
5771 for ac_exec_ext in '' $ac_executable_extensions; do
5772 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5773 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5774 # Check for GNU ac_path_FGREP and select it if it is found.
5775 # Check for GNU $ac_path_FGREP
5776 case `"$ac_path_FGREP" --version 2>&1` in
5778 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5781 $as_echo_n 0123456789 >"conftest.
in"
5784 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5785 mv "conftest.tmp
" "conftest.
in"
5786 cp "conftest.
in" "conftest.
nl"
5787 $as_echo 'FGREP' >> "conftest.
nl"
5788 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5789 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5790 as_fn_arith $ac_count + 1 && ac_count=$as_val
5791 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5792 # Best one so far, save it but keep looking for a better one
5793 ac_cv_path_FGREP="$ac_path_FGREP"
5794 ac_path_FGREP_max=$ac_count
5796 # 10*(2^10) chars as input seems more than enough
5797 test $ac_count -gt 10 && break
5799 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5802 $ac_path_FGREP_found && break 3
5807 if test -z "$ac_cv_path_FGREP"; then
5808 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5811 ac_cv_path_FGREP=$FGREP
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5817 $as_echo "$ac_cv_path_FGREP" >&6; }
5818 FGREP="$ac_cv_path_FGREP"
5821 test -z "$GREP" && GREP=grep
5841 # Check whether --with-gnu-ld was given.
5842 if test "${with_gnu_ld+set}" = set; then :
5843 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5849 if test "$GCC" = yes; then
5850 # Check if gcc -print-prog-name=ld gives a path.
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5852 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5855 # gcc leaves a trailing carriage return which upsets mingw
5856 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5858 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5861 # Accept absolute paths.
5863 re_direlt='/[^/][^/]*/\.\./'
5864 # Canonicalize the pathname of ld
5865 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5866 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5867 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5869 test -z "$LD" && LD="$ac_prog"
5872 # If it fails, then pretend we aren't using GCC.
5876 # If it is relative, then search for the first ld in PATH.
5880 elif test "$with_gnu_ld" = yes; then
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5882 $as_echo_n "checking
for GNU ld...
" >&6; }
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
5885 $as_echo_n "checking
for non-GNU ld...
" >&6; }
5887 if test "${lt_cv_path_LD+set}" = set; then :
5888 $as_echo_n "(cached
) " >&6
5890 if test -z "$LD"; then
5891 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5892 for ac_dir in $PATH; do
5894 test -z "$ac_dir" && ac_dir=.
5895 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5896 lt_cv_path_LD="$ac_dir/$ac_prog"
5897 # Check to see if the program is GNU ld. I'd rather use --version,
5898 # but apparently some variants of GNU ld only accept -v.
5899 # Break only if it was the GNU/non-GNU ld that we prefer.
5900 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5901 *GNU* | *'with BFD'*)
5902 test "$with_gnu_ld" != no && break
5905 test "$with_gnu_ld" != yes && break
5912 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5917 if test -n "$LD"; then
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5919 $as_echo "$LD" >&6; }
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5922 $as_echo "no
" >&6; }
5924 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5926 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5927 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5928 $as_echo_n "(cached
) " >&6
5930 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5931 case `$LD -v 2>&1 </dev/null` in
5932 *GNU* | *'with BFD'*)
5933 lt_cv_prog_gnu_ld=yes
5936 lt_cv_prog_gnu_ld=no
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5941 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5942 with_gnu_ld=$lt_cv_prog_gnu_ld
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5953 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5954 if test "${lt_cv_path_NM+set}" = set; then :
5955 $as_echo_n "(cached
) " >&6
5957 if test -n "$NM"; then
5958 # Let the user override the test.
5961 lt_nm_to_check="${ac_tool_prefix}nm
"
5962 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5963 lt_nm_to_check="$lt_nm_to_check nm
"
5965 for lt_tmp_nm in $lt_nm_to_check; do
5966 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5967 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5969 test -z "$ac_dir" && ac_dir=.
5970 tmp_nm="$ac_dir/$lt_tmp_nm"
5971 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5972 # Check to see if the nm accepts a BSD-compat flag.
5973 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5974 # nm: unknown option "B
" ignored
5975 # Tru64's nm complains that /dev/null is an invalid object file
5976 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5977 */dev/null* | *'Invalid file or object type'*)
5978 lt_cv_path_NM="$tmp_nm -B"
5982 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5984 lt_cv_path_NM="$tmp_nm -p"
5988 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5989 continue # so that we can try to find one that supports BSD flags
5998 : ${lt_cv_path_NM=no}
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
6002 $as_echo "$lt_cv_path_NM" >&6; }
6003 if test "$lt_cv_path_NM" != "no
"; then
6006 # Didn't find any BSD compatible name lister, look for dumpbin.
6007 if test -n "$DUMPBIN"; then :
6008 # Let the user override the test.
6010 if test -n "$ac_tool_prefix"; then
6011 for ac_prog in dumpbin "link
-dump"
6013 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6014 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6016 $as_echo_n "checking
for $ac_word...
" >&6; }
6017 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6018 $as_echo_n "(cached
) " >&6
6020 if test -n "$DUMPBIN"; then
6021 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6027 test -z "$as_dir" && as_dir=.
6028 for ac_exec_ext in '' $ac_executable_extensions; do
6029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6030 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6031 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6040 DUMPBIN=$ac_cv_prog_DUMPBIN
6041 if test -n "$DUMPBIN"; then
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
6043 $as_echo "$DUMPBIN" >&6; }
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6046 $as_echo "no
" >&6; }
6050 test -n "$DUMPBIN" && break
6053 if test -z "$DUMPBIN"; then
6054 ac_ct_DUMPBIN=$DUMPBIN
6055 for ac_prog in dumpbin "link
-dump"
6057 # Extract the first word of "$ac_prog", so it can be a program name with args.
6058 set dummy $ac_prog; ac_word=$2
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6060 $as_echo_n "checking
for $ac_word...
" >&6; }
6061 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6062 $as_echo_n "(cached
) " >&6
6064 if test -n "$ac_ct_DUMPBIN"; then
6065 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6071 test -z "$as_dir" && as_dir=.
6072 for ac_exec_ext in '' $ac_executable_extensions; do
6073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6074 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6075 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6084 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6085 if test -n "$ac_ct_DUMPBIN"; then
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
6087 $as_echo "$ac_ct_DUMPBIN" >&6; }
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6090 $as_echo "no
" >&6; }
6094 test -n "$ac_ct_DUMPBIN" && break
6097 if test "x
$ac_ct_DUMPBIN" = x; then
6100 case $cross_compiling:$ac_tool_warned in
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6103 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6104 ac_tool_warned=yes ;;
6106 DUMPBIN=$ac_ct_DUMPBIN
6110 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6112 DUMPBIN="$DUMPBIN -symbols"
6120 if test "$DUMPBIN" != ":"; then
6124 test -z "$NM" && NM=nm
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6132 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6133 if test "${lt_cv_nm_interface+set}" = set; then :
6134 $as_echo_n "(cached
) " >&6
6136 lt_cv_nm_interface="BSD nm
"
6137 echo "int some_variable
= 0;" > conftest.$ac_ext
6138 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6139 (eval "$ac_compile" 2>conftest.err)
6140 cat conftest.err >&5
6141 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6142 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6143 cat conftest.err >&5
6144 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6145 cat conftest.out >&5
6146 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6147 lt_cv_nm_interface="MS dumpbin
"
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6152 $as_echo "$lt_cv_nm_interface" >&6; }
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
6155 $as_echo_n "checking whether
ln -s works...
" >&6; }
6157 if test "$LN_S" = "ln -s"; then
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
6159 $as_echo "yes" >&6; }
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
6162 $as_echo "no
, using
$LN_S" >&6; }
6165 # find the maximum length of command line arguments
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6167 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6168 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6169 $as_echo_n "(cached
) " >&6
6176 # On DJGPP, this test can blow up pretty badly due to problems in libc
6177 # (any single argument exceeding 2000 bytes causes a buffer overrun
6178 # during glob expansion). Even if it were fixed, the result of this
6179 # check would be larger than it should be.
6180 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6184 # Under GNU Hurd, this test is not required because there is
6185 # no limit to the length of command line arguments.
6186 # Libtool will interpret -1 as no limit whatsoever
6187 lt_cv_sys_max_cmd_len=-1;
6190 cygwin* | mingw* | cegcc*)
6191 # On Win9x/ME, this test blows up -- it succeeds, but takes
6192 # about 5 minutes as the teststring grows exponentially.
6193 # Worse, since 9x/ME are not pre-emptively multitasking,
6194 # you end up with a "frozen
" computer, even though with patience
6195 # the test eventually succeeds (with a max line length of 256k).
6196 # Instead, let's just punt: use the minimum linelength reported by
6197 # all of the supported platforms: 8192 (on NT/2K/XP).
6198 lt_cv_sys_max_cmd_len=8192;
6202 # On MiNT this can take a long time and run out of memory.
6203 lt_cv_sys_max_cmd_len=8192;
6207 # On AmigaOS with pdksh, this test takes hours, literally.
6208 # So we just punt and use a minimum line length of 8192.
6209 lt_cv_sys_max_cmd_len=8192;
6212 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6213 # This has been around since 386BSD, at least. Likely further.
6214 if test -x /sbin/sysctl; then
6215 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6216 elif test -x /usr/sbin/sysctl; then
6217 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6219 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6221 # And add a safety zone
6222 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6223 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6227 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6228 lt_cv_sys_max_cmd_len=196608
6232 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6233 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6234 # nice to cause kernel panics so lets avoid the loop below.
6235 # First set a reasonable default.
6236 lt_cv_sys_max_cmd_len=16384
6238 if test -x /sbin/sysconfig; then
6239 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6240 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6245 lt_cv_sys_max_cmd_len=102400
6247 sysv5* | sco5v6* | sysv4.2uw2*)
6248 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6249 if test -n "$kargmax"; then
6250 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6252 lt_cv_sys_max_cmd_len=32768
6256 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6257 if test -n "$lt_cv_sys_max_cmd_len"; then
6258 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6259 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6261 # Make teststring a little bigger before we do anything with it.
6262 # a 1K string should be a reasonable start.
6263 for i in 1 2 3 4 5 6 7 8 ; do
6264 teststring=$teststring$teststring
6266 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6267 # If test is not a shell built-in, we'll probably end up computing a
6268 # maximum length that is only half of the actual maximum length, but
6270 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6271 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6272 test $i != 17 # 1/2 MB should be enough
6275 teststring=$teststring$teststring
6277 # Only check the string length outside the loop.
6278 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6280 # Add a significant safety factor because C++ compilers can tack on
6281 # massive amounts of additional arguments before passing them to the
6282 # linker. It appears as though 1/2 is a usable value.
6283 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6290 if test -n $lt_cv_sys_max_cmd_len ; then
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6292 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6295 $as_echo "none
" >&6; }
6297 max_cmd_len=$lt_cv_sys_max_cmd_len
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6309 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6310 # Try some XSI features
6313 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6315 && eval 'test $(( 1 + 1 )) -eq 2 \
6316 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6319 $as_echo "$xsi_shell" >&6; }
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6323 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6325 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6327 && lt_shell_append
=yes
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6329 $as_echo "$lt_shell_append" >&6; }
6332 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6342 # test EBCDIC or ASCII
6343 case `echo X|tr X '\101'` in
6344 A
) # ASCII based system
6345 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6346 lt_SP2NL
='tr \040 \012'
6347 lt_NL2SP
='tr \015\012 \040\040'
6349 *) # EBCDIC based system
6350 lt_SP2NL
='tr \100 \n'
6351 lt_NL2SP
='tr \r\n \100\100'
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6364 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6365 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6366 $as_echo_n "(cached) " >&6
6368 lt_cv_ld_reload_flag
='-r'
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6371 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6372 reload_flag
=$lt_cv_ld_reload_flag
6373 case $reload_flag in
6375 *) reload_flag
=" $reload_flag" ;;
6377 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6380 if test "$GCC" = yes; then
6381 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6383 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6396 if test -n "$ac_tool_prefix"; then
6397 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6398 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6400 $as_echo_n "checking for $ac_word... " >&6; }
6401 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6402 $as_echo_n "(cached) " >&6
6404 if test -n "$OBJDUMP"; then
6405 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6411 test -z "$as_dir" && as_dir
=.
6412 for ac_exec_ext
in '' $ac_executable_extensions; do
6413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6414 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6424 OBJDUMP
=$ac_cv_prog_OBJDUMP
6425 if test -n "$OBJDUMP"; then
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6427 $as_echo "$OBJDUMP" >&6; }
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6430 $as_echo "no" >&6; }
6435 if test -z "$ac_cv_prog_OBJDUMP"; then
6436 ac_ct_OBJDUMP
=$OBJDUMP
6437 # Extract the first word of "objdump", so it can be a program name with args.
6438 set dummy objdump
; ac_word
=$2
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6440 $as_echo_n "checking for $ac_word... " >&6; }
6441 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6442 $as_echo_n "(cached) " >&6
6444 if test -n "$ac_ct_OBJDUMP"; then
6445 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6451 test -z "$as_dir" && as_dir
=.
6452 for ac_exec_ext
in '' $ac_executable_extensions; do
6453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6454 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6464 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6465 if test -n "$ac_ct_OBJDUMP"; then
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6467 $as_echo "$ac_ct_OBJDUMP" >&6; }
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6470 $as_echo "no" >&6; }
6473 if test "x$ac_ct_OBJDUMP" = x
; then
6476 case $cross_compiling:$ac_tool_warned in
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6480 ac_tool_warned
=yes ;;
6482 OBJDUMP
=$ac_ct_OBJDUMP
6485 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6488 test -z "$OBJDUMP" && OBJDUMP
=objdump
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6499 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6500 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6501 $as_echo_n "(cached) " >&6
6503 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6504 lt_cv_file_magic_test_file
=
6505 lt_cv_deplibs_check_method
='unknown'
6506 # Need to set the preceding variable on all platforms that support
6507 # interlibrary dependencies.
6508 # 'none' -- dependencies not supported.
6509 # `unknown' -- same as none, but documents that we really don't know.
6510 # 'pass_all' -- all dependencies passed with no checks.
6511 # 'test_compile' -- check by making test program.
6512 # 'file_magic [[regex]]' -- check by looking for files in library path
6513 # which responds to the $file_magic_cmd with a given extended regex.
6514 # If you have `file' or equivalent on your system and you're not sure
6515 # whether `pass_all' will *always* work, you probably want this one.
6519 lt_cv_deplibs_check_method
=pass_all
6523 lt_cv_deplibs_check_method
=pass_all
6527 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6528 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6529 lt_cv_file_magic_test_file
=/shlib
/libc.so
6533 # func_win32_libid is a shell function defined in ltmain.sh
6534 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6535 lt_cv_file_magic_cmd
='func_win32_libid'
6539 # Base MSYS/MinGW do not provide the 'file' command needed by
6540 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6541 # unless we find 'file', for example because we are cross-compiling.
6542 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6543 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
6544 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6545 lt_cv_file_magic_cmd
='func_win32_libid'
6547 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
6548 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6553 # use the weaker test based on 'objdump'. See mingw*.
6554 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6555 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6558 darwin
* | rhapsody
*)
6559 lt_cv_deplibs_check_method
=pass_all
6562 freebsd
* | dragonfly
*)
6563 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6566 # Not sure whether the presence of OpenBSD here was a mistake.
6567 # Let's accept both of them until this is cleared up.
6568 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6569 lt_cv_file_magic_cmd
=/usr
/bin
/file
6570 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6574 lt_cv_deplibs_check_method
=pass_all
6579 lt_cv_deplibs_check_method
=pass_all
6583 lt_cv_deplibs_check_method
=pass_all
6586 hpux10.20
* | hpux11
*)
6587 lt_cv_file_magic_cmd
=/usr
/bin
/file
6590 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6591 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6594 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]'
6595 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6598 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6599 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6605 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6606 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6609 irix5
* | irix6
* | nonstopux
*)
6611 *-32|
*"-32 ") libmagic
=32-bit;;
6612 *-n32|
*"-n32 ") libmagic
=N32
;;
6613 *-64|
*"-64 ") libmagic
=64-bit;;
6614 *) libmagic
=never-match
;;
6616 lt_cv_deplibs_check_method
=pass_all
6619 # This must be Linux ELF.
6620 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
6621 lt_cv_deplibs_check_method
=pass_all
6625 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6626 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6628 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6633 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6634 lt_cv_file_magic_cmd
=/usr
/bin
/file
6635 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6639 lt_cv_deplibs_check_method
=pass_all
6643 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6644 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6646 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6650 osf3
* | osf4
* | osf5
*)
6651 lt_cv_deplibs_check_method
=pass_all
6655 lt_cv_deplibs_check_method
=pass_all
6659 lt_cv_deplibs_check_method
=pass_all
6662 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6663 lt_cv_deplibs_check_method
=pass_all
6667 case $host_vendor in
6669 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]'
6670 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6673 lt_cv_deplibs_check_method
=pass_all
6676 lt_cv_file_magic_cmd
='/bin/file'
6677 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6680 lt_cv_file_magic_cmd
='/bin/file'
6681 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6682 lt_cv_file_magic_test_file
=/lib
/libc.so
6685 lt_cv_deplibs_check_method
=pass_all
6688 lt_cv_deplibs_check_method
=pass_all
6694 lt_cv_deplibs_check_method
=pass_all
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6700 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6701 file_magic_cmd
=$lt_cv_file_magic_cmd
6702 deplibs_check_method
=$lt_cv_deplibs_check_method
6703 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6716 if test -n "$ac_tool_prefix"; then
6717 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6718 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6720 $as_echo_n "checking for $ac_word... " >&6; }
6721 if test "${ac_cv_prog_AR+set}" = set; then :
6722 $as_echo_n "(cached) " >&6
6724 if test -n "$AR"; then
6725 ac_cv_prog_AR
="$AR" # Let the user override the test.
6727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6731 test -z "$as_dir" && as_dir
=.
6732 for ac_exec_ext
in '' $ac_executable_extensions; do
6733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6734 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6745 if test -n "$AR"; then
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6747 $as_echo "$AR" >&6; }
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6750 $as_echo "no" >&6; }
6755 if test -z "$ac_cv_prog_AR"; then
6757 # Extract the first word of "ar", so it can be a program name with args.
6758 set dummy
ar; ac_word
=$2
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6760 $as_echo_n "checking for $ac_word... " >&6; }
6761 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6762 $as_echo_n "(cached) " >&6
6764 if test -n "$ac_ct_AR"; then
6765 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6771 test -z "$as_dir" && as_dir
=.
6772 for ac_exec_ext
in '' $ac_executable_extensions; do
6773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6774 ac_cv_prog_ac_ct_AR
="ar"
6775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6784 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6785 if test -n "$ac_ct_AR"; then
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6787 $as_echo "$ac_ct_AR" >&6; }
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6790 $as_echo "no" >&6; }
6793 if test "x$ac_ct_AR" = x
; then
6796 case $cross_compiling:$ac_tool_warned in
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6800 ac_tool_warned
=yes ;;
6808 test -z "$AR" && AR
=ar
6809 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6821 if test -n "$ac_tool_prefix"; then
6822 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6823 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6825 $as_echo_n "checking for $ac_word... " >&6; }
6826 if test "${ac_cv_prog_STRIP+set}" = set; then :
6827 $as_echo_n "(cached) " >&6
6829 if test -n "$STRIP"; then
6830 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6836 test -z "$as_dir" && as_dir
=.
6837 for ac_exec_ext
in '' $ac_executable_extensions; do
6838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6839 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6849 STRIP
=$ac_cv_prog_STRIP
6850 if test -n "$STRIP"; then
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6852 $as_echo "$STRIP" >&6; }
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6855 $as_echo "no" >&6; }
6860 if test -z "$ac_cv_prog_STRIP"; then
6862 # Extract the first word of "strip", so it can be a program name with args.
6863 set dummy strip
; ac_word
=$2
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6865 $as_echo_n "checking for $ac_word... " >&6; }
6866 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6867 $as_echo_n "(cached) " >&6
6869 if test -n "$ac_ct_STRIP"; then
6870 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6876 test -z "$as_dir" && as_dir
=.
6877 for ac_exec_ext
in '' $ac_executable_extensions; do
6878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6879 ac_cv_prog_ac_ct_STRIP
="strip"
6880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6889 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6890 if test -n "$ac_ct_STRIP"; then
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6892 $as_echo "$ac_ct_STRIP" >&6; }
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6895 $as_echo "no" >&6; }
6898 if test "x$ac_ct_STRIP" = x
; then
6901 case $cross_compiling:$ac_tool_warned in
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6904 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6905 ac_tool_warned
=yes ;;
6910 STRIP
="$ac_cv_prog_STRIP"
6913 test -z "$STRIP" && STRIP
=:
6920 if test -n "$ac_tool_prefix"; then
6921 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6922 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6924 $as_echo_n "checking for $ac_word... " >&6; }
6925 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6926 $as_echo_n "(cached) " >&6
6928 if test -n "$RANLIB"; then
6929 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6935 test -z "$as_dir" && as_dir
=.
6936 for ac_exec_ext
in '' $ac_executable_extensions; do
6937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6938 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6948 RANLIB
=$ac_cv_prog_RANLIB
6949 if test -n "$RANLIB"; then
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6951 $as_echo "$RANLIB" >&6; }
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6954 $as_echo "no" >&6; }
6959 if test -z "$ac_cv_prog_RANLIB"; then
6960 ac_ct_RANLIB
=$RANLIB
6961 # Extract the first word of "ranlib", so it can be a program name with args.
6962 set dummy ranlib
; ac_word
=$2
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6964 $as_echo_n "checking for $ac_word... " >&6; }
6965 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6966 $as_echo_n "(cached) " >&6
6968 if test -n "$ac_ct_RANLIB"; then
6969 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6975 test -z "$as_dir" && as_dir
=.
6976 for ac_exec_ext
in '' $ac_executable_extensions; do
6977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6978 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6988 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6989 if test -n "$ac_ct_RANLIB"; then
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6991 $as_echo "$ac_ct_RANLIB" >&6; }
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6994 $as_echo "no" >&6; }
6997 if test "x$ac_ct_RANLIB" = x
; then
7000 case $cross_compiling:$ac_tool_warned in
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7003 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7004 ac_tool_warned
=yes ;;
7006 RANLIB
=$ac_ct_RANLIB
7009 RANLIB
="$ac_cv_prog_RANLIB"
7012 test -z "$RANLIB" && RANLIB
=:
7019 # Determine commands to create old-style static archives.
7020 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7021 old_postinstall_cmds
='chmod 644 $oldlib'
7022 old_postuninstall_cmds
=
7024 if test -n "$RANLIB"; then
7027 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7030 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7033 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7038 lock_old_archive_extraction
=yes ;;
7040 lock_old_archive_extraction
=no
;;
7081 # If no C compiler was specified, use CC.
7084 # If no C compiler flags were specified, use CFLAGS.
7085 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7087 # Allow CC to be a program name with arguments.
7091 # Check for command to grab the raw symbol name followed by C symbol from nm.
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7093 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7094 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7095 $as_echo_n "(cached) " >&6
7098 # These are sane defaults that work on at least a few old systems.
7099 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7101 # Character class describing NM global symbol codes.
7102 symcode
='[BCDEGRST]'
7104 # Regexp to match symbols that can be accessed directly from C.
7105 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7107 # Define system-specific variables.
7112 cygwin
* | mingw
* | pw32
* | cegcc
*)
7113 symcode
='[ABCDGISTW]'
7116 if test "$host_cpu" = ia64
; then
7117 symcode
='[ABCDEGRST]'
7121 symcode
='[BCDEGRST]'
7124 symcode
='[BCDEGQRST]'
7135 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7143 # If we're using GNU nm, then use its standard symbol codes.
7144 case `$NM -V 2>&1` in
7145 *GNU
* |
*'with BFD'*)
7146 symcode
='[ABCDGIRSTW]' ;;
7149 # Transform an extracted symbol line into a proper C declaration.
7150 # Some systems (esp. on ia64) link data and code symbols differently,
7151 # so use this general approach.
7152 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7154 # Transform an extracted symbol line into symbol name and symbol address
7155 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7156 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'"
7158 # Handle CRLF in mingw tool chain
7162 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7166 # Try without a prefix underscore, then with it.
7167 for ac_symprfx
in "" "_"; do
7169 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7170 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7172 # Write the raw and C identifiers.
7173 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7174 # Fake it for dumpbin and say T for any non-static function
7175 # and D for any global variable.
7176 # Also find C++ and __fastcall symbols from MSVC++,
7177 # which start with @ or ?.
7178 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7179 " {last_section=section; section=\$ 3};"\
7180 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7181 " \$ 0!~/External *\|/{next};"\
7182 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7183 " {if(hide[section]) next};"\
7184 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7185 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7186 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7187 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7188 " ' prfx=^$ac_symprfx"
7190 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7193 # Check to see that the pipe works correctly.
7197 cat > conftest.
$ac_ext <<_LT_EOF
7202 void nm_test_func(void);
7203 void nm_test_func(void){}
7207 int main(){nm_test_var='a';nm_test_func();return(0);}
7210 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7211 (eval $ac_compile) 2>&5
7213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7214 test $ac_status = 0; }; then
7215 # Now try to grab the symbols.
7217 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7218 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7221 test $ac_status = 0; } && test -s "$nlist"; then
7222 # Try sorting and uniquifying the output.
7223 if sort "$nlist" |
uniq > "$nlist"T
; then
7224 mv -f "$nlist"T
"$nlist"
7229 # Make sure that we snagged all the symbols we need.
7230 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7231 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7232 cat <<_LT_EOF > conftest.$ac_ext
7238 # Now generate the symbol file.
7239 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7241 cat <<_LT_EOF >> conftest.$ac_ext
7243 /* The mapping between symbol names and symbols. */
7248 lt__PROGRAM__LTX_preloaded_symbols[] =
7250 { "@PROGRAM@", (void *) 0 },
7252 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7253 cat <<\_LT_EOF
>> conftest.
$ac_ext
7257 /* This works around a problem
in FreeBSD linker
*/
7258 #ifdef FREEBSD_WORKAROUND
7259 static const void
*lt_preloaded_setup
() {
7260 return lt__PROGRAM__LTX_preloaded_symbols
;
7268 # Now try linking the two files.
7269 mv conftest.
$ac_objext conftstm.
$ac_objext
7270 lt_save_LIBS
="$LIBS"
7271 lt_save_CFLAGS
="$CFLAGS"
7272 LIBS
="conftstm.$ac_objext"
7273 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7274 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7275 (eval $ac_link) 2>&5
7277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7278 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7281 LIBS
="$lt_save_LIBS"
7282 CFLAGS
="$lt_save_CFLAGS"
7284 echo "cannot find nm_test_func in $nlist" >&5
7287 echo "cannot find nm_test_var in $nlist" >&5
7290 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7293 echo "$progname: failed program was:" >&5
7294 cat conftest.
$ac_ext >&5
7296 rm -rf conftest
* conftst
*
7298 # Do not use the global_symbol_pipe unless it works.
7299 if test "$pipe_works" = yes; then
7302 lt_cv_sys_global_symbol_pipe
=
7308 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7309 lt_cv_sys_global_symbol_to_cdecl
=
7311 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7313 $as_echo "failed" >&6; }
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7316 $as_echo "ok" >&6; }
7340 # Check whether --enable-libtool-lock was given.
7341 if test "${enable_libtool_lock+set}" = set; then :
7342 enableval
=$enable_libtool_lock;
7345 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7347 # Some flags need to be propagated to the compiler or linker for good
7351 # Find out which ABI we are using.
7352 echo 'int i;' > conftest.
$ac_ext
7353 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7354 (eval $ac_compile) 2>&5
7356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7357 test $ac_status = 0; }; then
7358 case `/usr/bin/file conftest.$ac_objext` in
7370 # Find out which ABI we are using.
7371 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7372 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7373 (eval $ac_compile) 2>&5
7375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7376 test $ac_status = 0; }; then
7377 if test "$lt_cv_prog_gnu_ld" = yes; then
7378 case `/usr/bin/file conftest.$ac_objext` in
7380 LD
="${LD-ld} -melf32bsmip"
7383 LD
="${LD-ld} -melf32bmipn32"
7386 LD
="${LD-ld} -melf64bmip"
7390 case `/usr/bin/file conftest.$ac_objext` in
7406 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
7407 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
7408 # Find out which ABI we are using.
7409 echo 'int i;' > conftest.
$ac_ext
7410 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7411 (eval $ac_compile) 2>&5
7413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7414 test $ac_status = 0; }; then
7415 case `/usr/bin/file conftest.o` in
7418 x86_64-
*kfreebsd
*-gnu)
7419 LD
="${LD-ld} -m elf_i386_fbsd"
7422 case `/usr/bin/file conftest.o` in
7424 LD
="${LD-ld} -m elf32_x86_64"
7427 LD
="${LD-ld} -m elf_i386"
7431 powerpc64le-
*linux
*)
7432 LD
="${LD-ld} -m elf32lppclinux"
7435 LD
="${LD-ld} -m elf32ppclinux"
7438 LD
="${LD-ld} -m elf_s390"
7441 LD
="${LD-ld} -m elf32_sparc"
7447 x86_64-
*kfreebsd
*-gnu)
7448 LD
="${LD-ld} -m elf_x86_64_fbsd"
7451 LD
="${LD-ld} -m elf_x86_64"
7454 LD
="${LD-ld} -m elf64lppc"
7457 LD
="${LD-ld} -m elf64ppc"
7459 s390
*-*linux
*|s390
*-*tpf
*)
7460 LD
="${LD-ld} -m elf64_s390"
7463 LD
="${LD-ld} -m elf64_sparc"
7473 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7474 SAVE_CFLAGS
="$CFLAGS"
7475 CFLAGS
="$CFLAGS -belf"
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7477 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7478 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7479 $as_echo_n "(cached) " >&6
7482 ac_cpp
='$CPP $CPPFLAGS'
7483 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7484 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7485 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7488 /* end confdefs.h. */
7498 if ac_fn_c_try_link
"$LINENO"; then :
7499 lt_cv_cc_needs_belf
=yes
7501 lt_cv_cc_needs_belf
=no
7503 rm -f core conftest.err conftest.
$ac_objext \
7504 conftest
$ac_exeext conftest.
$ac_ext
7506 ac_cpp
='$CPP $CPPFLAGS'
7507 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7508 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7509 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7513 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7514 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7515 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7516 CFLAGS
="$SAVE_CFLAGS"
7520 # Find out which ABI we are using.
7521 echo 'int i;' > conftest.
$ac_ext
7522 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7523 (eval $ac_compile) 2>&5
7525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7526 test $ac_status = 0; }; then
7527 case `/usr/bin/file conftest.o` in
7529 case $lt_cv_prog_gnu_ld in
7530 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
7532 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7544 need_locks
="$enable_libtool_lock"
7548 rhapsody
* | darwin
*)
7549 if test -n "$ac_tool_prefix"; then
7550 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7551 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7553 $as_echo_n "checking for $ac_word... " >&6; }
7554 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7555 $as_echo_n "(cached) " >&6
7557 if test -n "$DSYMUTIL"; then
7558 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7564 test -z "$as_dir" && as_dir
=.
7565 for ac_exec_ext
in '' $ac_executable_extensions; do
7566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7567 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7577 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7578 if test -n "$DSYMUTIL"; then
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7580 $as_echo "$DSYMUTIL" >&6; }
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7583 $as_echo "no" >&6; }
7588 if test -z "$ac_cv_prog_DSYMUTIL"; then
7589 ac_ct_DSYMUTIL
=$DSYMUTIL
7590 # Extract the first word of "dsymutil", so it can be a program name with args.
7591 set dummy dsymutil
; ac_word
=$2
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7593 $as_echo_n "checking for $ac_word... " >&6; }
7594 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7595 $as_echo_n "(cached) " >&6
7597 if test -n "$ac_ct_DSYMUTIL"; then
7598 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7604 test -z "$as_dir" && as_dir
=.
7605 for ac_exec_ext
in '' $ac_executable_extensions; do
7606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7607 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7617 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7618 if test -n "$ac_ct_DSYMUTIL"; then
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7620 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7623 $as_echo "no" >&6; }
7626 if test "x$ac_ct_DSYMUTIL" = x
; then
7629 case $cross_compiling:$ac_tool_warned in
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7633 ac_tool_warned
=yes ;;
7635 DSYMUTIL
=$ac_ct_DSYMUTIL
7638 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7641 if test -n "$ac_tool_prefix"; then
7642 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7643 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7645 $as_echo_n "checking for $ac_word... " >&6; }
7646 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7647 $as_echo_n "(cached) " >&6
7649 if test -n "$NMEDIT"; then
7650 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7656 test -z "$as_dir" && as_dir
=.
7657 for ac_exec_ext
in '' $ac_executable_extensions; do
7658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7659 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7669 NMEDIT
=$ac_cv_prog_NMEDIT
7670 if test -n "$NMEDIT"; then
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7672 $as_echo "$NMEDIT" >&6; }
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7675 $as_echo "no" >&6; }
7680 if test -z "$ac_cv_prog_NMEDIT"; then
7681 ac_ct_NMEDIT
=$NMEDIT
7682 # Extract the first word of "nmedit", so it can be a program name with args.
7683 set dummy nmedit
; ac_word
=$2
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7685 $as_echo_n "checking for $ac_word... " >&6; }
7686 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7687 $as_echo_n "(cached) " >&6
7689 if test -n "$ac_ct_NMEDIT"; then
7690 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7696 test -z "$as_dir" && as_dir
=.
7697 for ac_exec_ext
in '' $ac_executable_extensions; do
7698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7699 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7709 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7710 if test -n "$ac_ct_NMEDIT"; then
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7712 $as_echo "$ac_ct_NMEDIT" >&6; }
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7715 $as_echo "no" >&6; }
7718 if test "x$ac_ct_NMEDIT" = x
; then
7721 case $cross_compiling:$ac_tool_warned in
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7724 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7725 ac_tool_warned
=yes ;;
7727 NMEDIT
=$ac_ct_NMEDIT
7730 NMEDIT
="$ac_cv_prog_NMEDIT"
7733 if test -n "$ac_tool_prefix"; then
7734 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7735 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7737 $as_echo_n "checking for $ac_word... " >&6; }
7738 if test "${ac_cv_prog_LIPO+set}" = set; then :
7739 $as_echo_n "(cached) " >&6
7741 if test -n "$LIPO"; then
7742 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7748 test -z "$as_dir" && as_dir
=.
7749 for ac_exec_ext
in '' $ac_executable_extensions; do
7750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7751 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7761 LIPO
=$ac_cv_prog_LIPO
7762 if test -n "$LIPO"; then
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7764 $as_echo "$LIPO" >&6; }
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7767 $as_echo "no" >&6; }
7772 if test -z "$ac_cv_prog_LIPO"; then
7774 # Extract the first word of "lipo", so it can be a program name with args.
7775 set dummy lipo
; ac_word
=$2
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7777 $as_echo_n "checking for $ac_word... " >&6; }
7778 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7779 $as_echo_n "(cached) " >&6
7781 if test -n "$ac_ct_LIPO"; then
7782 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7788 test -z "$as_dir" && as_dir
=.
7789 for ac_exec_ext
in '' $ac_executable_extensions; do
7790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7791 ac_cv_prog_ac_ct_LIPO
="lipo"
7792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7801 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7802 if test -n "$ac_ct_LIPO"; then
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7804 $as_echo "$ac_ct_LIPO" >&6; }
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7807 $as_echo "no" >&6; }
7810 if test "x$ac_ct_LIPO" = x
; then
7813 case $cross_compiling:$ac_tool_warned in
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7817 ac_tool_warned
=yes ;;
7822 LIPO
="$ac_cv_prog_LIPO"
7825 if test -n "$ac_tool_prefix"; then
7826 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7827 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7829 $as_echo_n "checking for $ac_word... " >&6; }
7830 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7831 $as_echo_n "(cached) " >&6
7833 if test -n "$OTOOL"; then
7834 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7840 test -z "$as_dir" && as_dir
=.
7841 for ac_exec_ext
in '' $ac_executable_extensions; do
7842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7843 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7853 OTOOL
=$ac_cv_prog_OTOOL
7854 if test -n "$OTOOL"; then
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7856 $as_echo "$OTOOL" >&6; }
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7859 $as_echo "no" >&6; }
7864 if test -z "$ac_cv_prog_OTOOL"; then
7866 # Extract the first word of "otool", so it can be a program name with args.
7867 set dummy otool
; ac_word
=$2
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7869 $as_echo_n "checking for $ac_word... " >&6; }
7870 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7871 $as_echo_n "(cached) " >&6
7873 if test -n "$ac_ct_OTOOL"; then
7874 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7880 test -z "$as_dir" && as_dir
=.
7881 for ac_exec_ext
in '' $ac_executable_extensions; do
7882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7883 ac_cv_prog_ac_ct_OTOOL
="otool"
7884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7893 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7894 if test -n "$ac_ct_OTOOL"; then
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7896 $as_echo "$ac_ct_OTOOL" >&6; }
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7899 $as_echo "no" >&6; }
7902 if test "x$ac_ct_OTOOL" = x
; then
7905 case $cross_compiling:$ac_tool_warned in
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7908 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7909 ac_tool_warned
=yes ;;
7914 OTOOL
="$ac_cv_prog_OTOOL"
7917 if test -n "$ac_tool_prefix"; then
7918 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7919 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7921 $as_echo_n "checking for $ac_word... " >&6; }
7922 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7923 $as_echo_n "(cached) " >&6
7925 if test -n "$OTOOL64"; then
7926 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7932 test -z "$as_dir" && as_dir
=.
7933 for ac_exec_ext
in '' $ac_executable_extensions; do
7934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7935 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7945 OTOOL64
=$ac_cv_prog_OTOOL64
7946 if test -n "$OTOOL64"; then
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7948 $as_echo "$OTOOL64" >&6; }
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7951 $as_echo "no" >&6; }
7956 if test -z "$ac_cv_prog_OTOOL64"; then
7957 ac_ct_OTOOL64
=$OTOOL64
7958 # Extract the first word of "otool64", so it can be a program name with args.
7959 set dummy otool64
; ac_word
=$2
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7961 $as_echo_n "checking for $ac_word... " >&6; }
7962 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7963 $as_echo_n "(cached) " >&6
7965 if test -n "$ac_ct_OTOOL64"; then
7966 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7972 test -z "$as_dir" && as_dir
=.
7973 for ac_exec_ext
in '' $ac_executable_extensions; do
7974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7975 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7985 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7986 if test -n "$ac_ct_OTOOL64"; then
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7988 $as_echo "$ac_ct_OTOOL64" >&6; }
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7991 $as_echo "no" >&6; }
7994 if test "x$ac_ct_OTOOL64" = x
; then
7997 case $cross_compiling:$ac_tool_warned in
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8000 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8001 ac_tool_warned
=yes ;;
8003 OTOOL64
=$ac_ct_OTOOL64
8006 OTOOL64
="$ac_cv_prog_OTOOL64"
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8036 $as_echo_n "checking for -single_module linker flag... " >&6; }
8037 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8038 $as_echo_n "(cached) " >&6
8040 lt_cv_apple_cc_single_mod
=no
8041 if test -z "${LT_MULTI_MODULE}"; then
8042 # By default we will add the -single_module flag. You can override
8043 # by either setting the environment variable LT_MULTI_MODULE
8044 # non-empty at configure time, or by adding -multi_module to the
8046 rm -rf libconftest.dylib
*
8047 echo "int foo(void){return 1;}" > conftest.c
8048 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8049 -dynamiclib -Wl,-single_module conftest.c" >&5
8050 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8051 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8053 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8054 lt_cv_apple_cc_single_mod
=yes
8056 cat conftest.err
>&5
8058 rm -rf libconftest.dylib
*
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8063 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8065 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8066 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8067 $as_echo_n "(cached) " >&6
8069 lt_cv_ld_exported_symbols_list
=no
8070 save_LDFLAGS
=$LDFLAGS
8071 echo "_main" > conftest.sym
8072 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8074 /* end confdefs.h. */
8084 if ac_fn_c_try_link
"$LINENO"; then :
8085 lt_cv_ld_exported_symbols_list
=yes
8087 lt_cv_ld_exported_symbols_list
=no
8089 rm -f core conftest.err conftest.
$ac_objext \
8090 conftest
$ac_exeext conftest.
$ac_ext
8091 LDFLAGS
="$save_LDFLAGS"
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8095 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8097 $as_echo_n "checking for -force_load linker flag... " >&6; }
8098 if test "${lt_cv_ld_force_load+set}" = set; then :
8099 $as_echo_n "(cached) " >&6
8101 lt_cv_ld_force_load
=no
8102 cat > conftest.c
<< _LT_EOF
8103 int forced_loaded() { return 2;}
8105 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8106 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8107 echo "$AR cru libconftest.a conftest.o" >&5
8108 $AR cru libconftest.a conftest.o
2>&5
8109 cat > conftest.c
<< _LT_EOF
8110 int main() { return 0;}
8112 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8113 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8115 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8116 lt_cv_ld_force_load
=yes
8118 cat conftest.err
>&5
8120 rm -f conftest.err libconftest.a conftest conftest.c
8121 rm -rf conftest.dSYM
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8125 $as_echo "$lt_cv_ld_force_load" >&6; }
8127 rhapsody
* | darwin1.
[012])
8128 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8130 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8131 darwin
*) # darwin 5.x on
8132 # if running on 10.5 or later, the deployment target defaults
8133 # to the OS version, if on x86, and 10.4, the deployment
8134 # target defaults to 10.4. Don't you love it?
8135 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8136 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8137 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8139 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8141 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8145 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8146 _lt_dar_single_mod
='$single_module'
8148 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8149 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8151 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8153 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8154 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8161 for ac_header
in dlfcn.h
8163 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8165 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8166 cat >>confdefs.h
<<_ACEOF
8167 #define HAVE_DLFCN_H 1
8187 # Check whether --enable-shared was given.
8188 if test "${enable_shared+set}" = set; then :
8189 enableval
=$enable_shared; p
=${PACKAGE-default}
8191 yes) enable_shared
=yes ;;
8192 no
) enable_shared
=no
;;
8195 # Look at the argument we got. We use all the common list separators.
8196 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8197 for pkg
in $enableval; do
8199 if test "X$pkg" = "X$p"; then
8218 # Check whether --enable-static was given.
8219 if test "${enable_static+set}" = set; then :
8220 enableval
=$enable_static; p
=${PACKAGE-default}
8222 yes) enable_static
=yes ;;
8223 no
) enable_static
=no
;;
8226 # Look at the argument we got. We use all the common list separators.
8227 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8228 for pkg
in $enableval; do
8230 if test "X$pkg" = "X$p"; then
8250 # Check whether --with-pic was given.
8251 if test "${with_pic+set}" = set; then :
8252 withval
=$with_pic; pic_mode
="$withval"
8258 test -z "$pic_mode" && pic_mode
=default
8266 # Check whether --enable-fast-install was given.
8267 if test "${enable_fast_install+set}" = set; then :
8268 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8270 yes) enable_fast_install
=yes ;;
8271 no
) enable_fast_install
=no
;;
8273 enable_fast_install
=no
8274 # Look at the argument we got. We use all the common list separators.
8275 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8276 for pkg
in $enableval; do
8278 if test "X$pkg" = "X$p"; then
8279 enable_fast_install
=yes
8286 enable_fast_install
=yes
8299 # This can be used to rebuild libtool when needed
8300 LIBTOOL_DEPS
="$ltmain"
8302 # Always use our own libtool.
8303 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8330 test -z "$LN_S" && LN_S
="ln -s"
8345 if test -n "${ZSH_VERSION+set}" ; then
8346 setopt NO_GLOB_SUBST
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8350 $as_echo_n "checking for objdir... " >&6; }
8351 if test "${lt_cv_objdir+set}" = set; then :
8352 $as_echo_n "(cached) " >&6
8354 rm -f .libs
2>/dev
/null
8355 mkdir .libs
2>/dev
/null
8356 if test -d .libs
; then
8359 # MS-DOS does not allow filenames that begin with a dot.
8362 rmdir .libs
2>/dev
/null
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8365 $as_echo "$lt_cv_objdir" >&6; }
8366 objdir
=$lt_cv_objdir
8372 cat >>confdefs.h
<<_ACEOF
8373 #define LT_OBJDIR "$lt_cv_objdir/"
8381 # AIX sometimes has problems with the GCC collect2 program. For some
8382 # reason, if we set the COLLECT_NAMES environment variable, the problems
8383 # vanish in a puff of smoke.
8384 if test "X${COLLECT_NAMES+set}" != Xset
; then
8386 export COLLECT_NAMES
8393 can_build_shared
=yes
8395 # All known linkers require a `.a' archive for static linking (except MSVC,
8396 # which needs '.lib').
8399 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8402 old_CFLAGS
="$CFLAGS"
8404 # Set sane defaults for various variables
8405 test -z "$CC" && CC
=cc
8406 test -z "$LTCC" && LTCC
=$CC
8407 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8408 test -z "$LD" && LD
=ld
8409 test -z "$ac_objext" && ac_objext
=o
8411 for cc_temp
in $compiler""; do
8413 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8414 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8419 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8422 # Only perform the check for file, if the check method requires it
8423 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8424 case $deplibs_check_method in
8426 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8428 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8429 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8430 $as_echo_n "(cached) " >&6
8434 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8437 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8438 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8439 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8440 for ac_dir
in $ac_dummy; do
8442 test -z "$ac_dir" && ac_dir
=.
8443 if test -f $ac_dir/${ac_tool_prefix}file; then
8444 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8445 if test -n "$file_magic_test_file"; then
8446 case $deplibs_check_method in
8448 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8449 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8450 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8451 $EGREP "$file_magic_regex" > /dev
/null
; then
8456 *** Warning: the command libtool uses to detect shared libraries,
8457 *** $file_magic_cmd, produces output that libtool cannot recognize.
8458 *** The result is that libtool may fail to recognize shared libraries
8459 *** as such. This will affect the creation of libtool libraries that
8460 *** depend on shared libraries, but programs linked with such libtool
8461 *** libraries will work regardless of this problem. Nevertheless, you
8462 *** may want to report the problem to your system manager and/or to
8463 *** bug-libtool@gnu.org
8473 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8478 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8479 if test -n "$MAGIC_CMD"; then
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8481 $as_echo "$MAGIC_CMD" >&6; }
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8484 $as_echo "no" >&6; }
8491 if test -z "$lt_cv_path_MAGIC_CMD"; then
8492 if test -n "$ac_tool_prefix"; then
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8494 $as_echo_n "checking for file... " >&6; }
8495 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8496 $as_echo_n "(cached) " >&6
8500 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8503 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8504 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8505 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8506 for ac_dir
in $ac_dummy; do
8508 test -z "$ac_dir" && ac_dir
=.
8509 if test -f $ac_dir/file; then
8510 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8511 if test -n "$file_magic_test_file"; then
8512 case $deplibs_check_method in
8514 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8515 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8516 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8517 $EGREP "$file_magic_regex" > /dev
/null
; then
8522 *** Warning: the command libtool uses to detect shared libraries,
8523 *** $file_magic_cmd, produces output that libtool cannot recognize.
8524 *** The result is that libtool may fail to recognize shared libraries
8525 *** as such. This will affect the creation of libtool libraries that
8526 *** depend on shared libraries, but programs linked with such libtool
8527 *** libraries will work regardless of this problem. Nevertheless, you
8528 *** may want to report the problem to your system manager and/or to
8529 *** bug-libtool@gnu.org
8539 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8544 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8545 if test -n "$MAGIC_CMD"; then
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8547 $as_echo "$MAGIC_CMD" >&6; }
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8550 $as_echo "no" >&6; }
8563 # Use C for the default configuration in the libtool script
8567 ac_cpp
='$CPP $CPPFLAGS'
8568 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8569 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8570 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8573 # Source file extension for C test sources.
8576 # Object file extension for compiled C test sources.
8580 # Code to be used in simple compile tests
8581 lt_simple_compile_test_code
="int some_variable = 0;"
8583 # Code to be used in simple link tests
8584 lt_simple_link_test_code
='int main(){return(0);}'
8592 # If no C compiler was specified, use CC.
8595 # If no C compiler flags were specified, use CFLAGS.
8596 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8598 # Allow CC to be a program name with arguments.
8601 # Save the default compiler, since it gets overwritten when the other
8602 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8603 compiler_DEFAULT
=$CC
8605 # save warnings/boilerplate of simple test code
8606 ac_outfile
=conftest.
$ac_objext
8607 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8608 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8609 _lt_compiler_boilerplate
=`cat conftest.err`
8612 ac_outfile
=conftest.
$ac_objext
8613 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8614 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8615 _lt_linker_boilerplate
=`cat conftest.err`
8620 ## There is no encapsulation within the following macros, do not change
8621 ## the running order or otherwise move them around unless you know exactly
8622 ## what you are doing...
8623 if test -n "$compiler"; then
8625 lt_prog_compiler_no_builtin_flag
=
8627 if test "$GCC" = yes; then
8628 case $cc_basename in
8630 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8632 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8636 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8637 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8638 $as_echo_n "(cached) " >&6
8640 lt_cv_prog_compiler_rtti_exceptions
=no
8641 ac_outfile
=conftest.
$ac_objext
8642 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8643 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8644 # Insert the option either (1) after the last *FLAGS variable, or
8645 # (2) before a word containing "conftest.", or (3) at the end.
8646 # Note that $ac_compile itself does not contain backslashes and begins
8647 # with a dollar sign (not a hyphen), so the echo should work correctly.
8648 # The option is referenced via a variable to avoid confusing sed.
8649 lt_compile
=`echo "$ac_compile" | $SED \
8650 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8651 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8652 -e 's:$: $lt_compiler_flag:'`
8653 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8654 (eval "$lt_compile" 2>conftest.err
)
8656 cat conftest.err
>&5
8657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8658 if (exit $ac_status) && test -s "$ac_outfile"; then
8659 # The compiler can only warn and ignore the option if not recognized
8660 # So say no if there are warnings other than the usual output.
8661 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8662 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8663 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8664 lt_cv_prog_compiler_rtti_exceptions
=yes
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8671 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8673 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8674 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8686 lt_prog_compiler_wl
=
8687 lt_prog_compiler_pic
=
8688 lt_prog_compiler_static
=
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8691 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8693 if test "$GCC" = yes; then
8694 lt_prog_compiler_wl
='-Wl,'
8695 lt_prog_compiler_static
='-static'
8699 # All AIX code is PIC.
8700 if test "$host_cpu" = ia64
; then
8701 # AIX 5 now supports IA64 processor
8702 lt_prog_compiler_static
='-Bstatic'
8704 lt_prog_compiler_pic
='-fPIC'
8710 # see comment about AmigaOS4 .so support
8711 lt_prog_compiler_pic
='-fPIC'
8714 # FIXME: we need at least 68020 code to build shared libraries, but
8715 # adding the `-m68020' flag to GCC prevents building anything better,
8717 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8722 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8723 # PIC is the default for these OSes.
8726 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8727 # This hack is so that the source file can tell whether it is being
8728 # built for inclusion in a dll (and should export symbols for example).
8729 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8730 # (--disable-auto-import) libraries
8731 lt_prog_compiler_pic
='-DDLL_EXPORT'
8734 darwin
* | rhapsody
*)
8735 # PIC is the default on this platform
8736 # Common symbols not allowed in MH_DYLIB files
8737 lt_prog_compiler_pic
='-fno-common'
8741 # PIC is the default for Haiku.
8742 # The "-static" flag exists, but is broken.
8743 lt_prog_compiler_static
=
8747 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8748 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8749 # sets the default TLS model and affects inlining.
8755 lt_prog_compiler_pic
='-fPIC'
8761 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8762 # Instead, we relocate shared libraries at runtime.
8766 # Just because we use GCC doesn't mean we suddenly get shared libraries
8767 # on systems that don't support them.
8768 lt_prog_compiler_can_build_shared
=no
8773 # QNX uses GNU C++, but need to define -shared option too, otherwise
8775 lt_prog_compiler_pic
='-fPIC -shared'
8779 if test -d /usr
/nec
; then
8780 lt_prog_compiler_pic
=-Kconform_pic
8785 lt_prog_compiler_pic
='-fPIC'
8789 case $cc_basename in
8790 nvcc
*) # Cuda Compiler Driver 2.2
8791 lt_prog_compiler_wl
='-Xlinker '
8792 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8796 # PORTME Check for flag to pass linker flags through the system compiler.
8799 lt_prog_compiler_wl
='-Wl,'
8800 if test "$host_cpu" = ia64
; then
8801 # AIX 5 now supports IA64 processor
8802 lt_prog_compiler_static
='-Bstatic'
8804 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8808 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8809 # This hack is so that the source file can tell whether it is being
8810 # built for inclusion in a dll (and should export symbols for example).
8811 lt_prog_compiler_pic
='-DDLL_EXPORT'
8814 hpux9
* | hpux10
* | hpux11
*)
8815 lt_prog_compiler_wl
='-Wl,'
8816 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8823 lt_prog_compiler_pic
='+Z'
8826 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8827 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8830 irix5
* | irix6
* | nonstopux
*)
8831 lt_prog_compiler_wl
='-Wl,'
8832 # PIC (with -KPIC) is the default.
8833 lt_prog_compiler_static
='-non_shared'
8836 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8837 case $cc_basename in
8838 # old Intel for x86_64 which still supported -KPIC.
8840 lt_prog_compiler_wl
='-Wl,'
8841 lt_prog_compiler_pic
='-KPIC'
8842 lt_prog_compiler_static
='-static'
8844 # icc used to be incompatible with GCC.
8845 # ICC 10 doesn't accept -KPIC any more.
8847 lt_prog_compiler_wl
='-Wl,'
8848 lt_prog_compiler_pic
='-fPIC'
8849 lt_prog_compiler_static
='-static'
8851 # Lahey Fortran 8.1.
8853 lt_prog_compiler_wl
='-Wl,'
8854 lt_prog_compiler_pic
='--shared'
8855 lt_prog_compiler_static
='--static'
8857 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8858 # Portland Group compilers (*not* the Pentium gcc compiler,
8859 # which looks to be a dead project)
8860 lt_prog_compiler_wl
='-Wl,'
8861 lt_prog_compiler_pic
='-fpic'
8862 lt_prog_compiler_static
='-Bstatic'
8865 lt_prog_compiler_wl
='-Wl,'
8866 # All Alpha code is PIC.
8867 lt_prog_compiler_static
='-non_shared'
8869 xl
* | bgxl
* | bgf
* | mpixl
*)
8870 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8871 lt_prog_compiler_wl
='-Wl,'
8872 lt_prog_compiler_pic
='-qpic'
8873 lt_prog_compiler_static
='-qstaticlink'
8876 case `$CC -V 2>&1 | sed 5q` in
8877 *Sun\ F
* |
*Sun
*Fortran
*)
8878 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8879 lt_prog_compiler_pic
='-KPIC'
8880 lt_prog_compiler_static
='-Bstatic'
8881 lt_prog_compiler_wl
=''
8885 lt_prog_compiler_pic
='-KPIC'
8886 lt_prog_compiler_static
='-Bstatic'
8887 lt_prog_compiler_wl
='-Wl,'
8895 lt_prog_compiler_pic
='-KPIC'
8896 lt_prog_compiler_static
='-Bstatic'
8900 # QNX uses GNU C++, but need to define -shared option too, otherwise
8902 lt_prog_compiler_pic
='-fPIC -shared'
8905 osf3
* | osf4
* | osf5
*)
8906 lt_prog_compiler_wl
='-Wl,'
8907 # All OSF/1 code is PIC.
8908 lt_prog_compiler_static
='-non_shared'
8912 lt_prog_compiler_static
='-non_shared'
8916 lt_prog_compiler_pic
='-KPIC'
8917 lt_prog_compiler_static
='-Bstatic'
8918 case $cc_basename in
8920 lt_prog_compiler_wl
='-Qoption ld ';;
8922 lt_prog_compiler_wl
='-Wl,';;
8927 lt_prog_compiler_wl
='-Qoption ld '
8928 lt_prog_compiler_pic
='-PIC'
8929 lt_prog_compiler_static
='-Bstatic'
8932 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8933 lt_prog_compiler_wl
='-Wl,'
8934 lt_prog_compiler_pic
='-KPIC'
8935 lt_prog_compiler_static
='-Bstatic'
8939 if test -d /usr
/nec
;then
8940 lt_prog_compiler_pic
='-Kconform_pic'
8941 lt_prog_compiler_static
='-Bstatic'
8945 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8946 lt_prog_compiler_wl
='-Wl,'
8947 lt_prog_compiler_pic
='-KPIC'
8948 lt_prog_compiler_static
='-Bstatic'
8952 lt_prog_compiler_wl
='-Wl,'
8953 lt_prog_compiler_can_build_shared
=no
8957 lt_prog_compiler_pic
='-pic'
8958 lt_prog_compiler_static
='-Bstatic'
8962 lt_prog_compiler_can_build_shared
=no
8968 # For platforms which do not support PIC, -DPIC is meaningless:
8970 lt_prog_compiler_pic
=
8973 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8977 $as_echo "$lt_prog_compiler_pic" >&6; }
8985 # Check to make sure the PIC flag actually works.
8987 if test -n "$lt_prog_compiler_pic"; then
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8989 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8990 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8991 $as_echo_n "(cached) " >&6
8993 lt_cv_prog_compiler_pic_works
=no
8994 ac_outfile
=conftest.
$ac_objext
8995 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8996 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8997 # Insert the option either (1) after the last *FLAGS variable, or
8998 # (2) before a word containing "conftest.", or (3) at the end.
8999 # Note that $ac_compile itself does not contain backslashes and begins
9000 # with a dollar sign (not a hyphen), so the echo should work correctly.
9001 # The option is referenced via a variable to avoid confusing sed.
9002 lt_compile
=`echo "$ac_compile" | $SED \
9003 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9004 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9005 -e 's:$: $lt_compiler_flag:'`
9006 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9007 (eval "$lt_compile" 2>conftest.err
)
9009 cat conftest.err
>&5
9010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9011 if (exit $ac_status) && test -s "$ac_outfile"; then
9012 # The compiler can only warn and ignore the option if not recognized
9013 # So say no if there are warnings other than the usual output.
9014 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9015 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9016 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9017 lt_cv_prog_compiler_pic_works
=yes
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9024 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9026 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9027 case $lt_prog_compiler_pic in
9029 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9032 lt_prog_compiler_pic
=
9033 lt_prog_compiler_can_build_shared
=no
9044 # Check to make sure the static flag actually works.
9046 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9048 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9049 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9050 $as_echo_n "(cached) " >&6
9052 lt_cv_prog_compiler_static_works
=no
9053 save_LDFLAGS
="$LDFLAGS"
9054 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9055 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9056 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9057 # The linker can only warn and ignore the option if not recognized
9058 # So say no if there are warnings
9059 if test -s conftest.err
; then
9060 # Append any errors to the config.log.
9061 cat conftest.err
1>&5
9062 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9063 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9064 if diff conftest.exp conftest.er2
>/dev
/null
; then
9065 lt_cv_prog_compiler_static_works
=yes
9068 lt_cv_prog_compiler_static_works
=yes
9072 LDFLAGS
="$save_LDFLAGS"
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9076 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9078 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9081 lt_prog_compiler_static
=
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9091 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9092 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9093 $as_echo_n "(cached) " >&6
9095 lt_cv_prog_compiler_c_o
=no
9096 $RM -r conftest
2>/dev
/null
9100 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9102 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9103 # Insert the option either (1) after the last *FLAGS variable, or
9104 # (2) before a word containing "conftest.", or (3) at the end.
9105 # Note that $ac_compile itself does not contain backslashes and begins
9106 # with a dollar sign (not a hyphen), so the echo should work correctly.
9107 lt_compile
=`echo "$ac_compile" | $SED \
9108 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9109 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9110 -e 's:$: $lt_compiler_flag:'`
9111 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9112 (eval "$lt_compile" 2>out
/conftest.err
)
9114 cat out
/conftest.err
>&5
9115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9116 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9118 # The compiler can only warn and ignore the option if not recognized
9119 # So say no if there are warnings
9120 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9121 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9122 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9123 lt_cv_prog_compiler_c_o
=yes
9128 # SGI C++ compiler will create directory out/ii_files/ for
9129 # template instantiation
9130 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9131 $RM out
/* && rmdir out
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9138 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9146 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9147 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9148 $as_echo_n "(cached) " >&6
9150 lt_cv_prog_compiler_c_o
=no
9151 $RM -r conftest
2>/dev
/null
9155 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9157 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9158 # Insert the option either (1) after the last *FLAGS variable, or
9159 # (2) before a word containing "conftest.", or (3) at the end.
9160 # Note that $ac_compile itself does not contain backslashes and begins
9161 # with a dollar sign (not a hyphen), so the echo should work correctly.
9162 lt_compile
=`echo "$ac_compile" | $SED \
9163 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9164 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9165 -e 's:$: $lt_compiler_flag:'`
9166 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9167 (eval "$lt_compile" 2>out
/conftest.err
)
9169 cat out
/conftest.err
>&5
9170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9171 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9173 # The compiler can only warn and ignore the option if not recognized
9174 # So say no if there are warnings
9175 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9176 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9177 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9178 lt_cv_prog_compiler_c_o
=yes
9183 # SGI C++ compiler will create directory out/ii_files/ for
9184 # template instantiation
9185 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9186 $RM out
/* && rmdir out
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9193 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9198 hard_links
="nottested"
9199 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9200 # do not overwrite the value of need_locks provided by the user
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9202 $as_echo_n "checking if we can lock with hard links... " >&6; }
9205 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9207 ln conftest.a conftest.b
2>&5 || hard_links
=no
9208 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9210 $as_echo "$hard_links" >&6; }
9211 if test "$hard_links" = no
; then
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9213 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9226 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9229 allow_undefined_flag
=
9230 always_export_symbols
=no
9232 archive_expsym_cmds
=
9233 compiler_needs_object
=no
9234 enable_shared_with_static_runtimes
=no
9235 export_dynamic_flag_spec
=
9236 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9237 hardcode_automatic
=no
9239 hardcode_direct_absolute
=no
9240 hardcode_libdir_flag_spec
=
9241 hardcode_libdir_flag_spec_ld
=
9242 hardcode_libdir_separator
=
9244 hardcode_shlibpath_var
=unsupported
9246 link_all_deplibs
=unknown
9249 old_archive_from_new_cmds
=
9250 old_archive_from_expsyms_cmds
=
9251 thread_safe_flag_spec
=
9252 whole_archive_flag_spec
=
9253 # include_expsyms should be a list of space-separated symbols to be *always*
9254 # included in the symbol list
9256 # exclude_expsyms can be an extended regexp of symbols to exclude
9257 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9258 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9259 # as well as any symbol that contains `d'.
9260 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9261 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9262 # platforms (ab)use it in PIC code, but their linkers get confused if
9263 # the symbol is explicitly referenced. Since portable code cannot
9264 # rely on this symbol name, it's probably fine to never include it in
9265 # preloaded symbol tables.
9266 # Exclude shared library initialization/finalization symbols.
9267 extract_expsyms_cmds
=
9270 cygwin
* | mingw
* | pw32
* | cegcc
*)
9271 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9272 # When not using gcc, we currently assume that we are using
9273 # Microsoft Visual C++.
9274 if test "$GCC" != yes; then
9279 # we just hope/assume this is gcc and not c89 (= MSVC++)
9289 # On some targets, GNU ld is compatible enough with the native linker
9290 # that we're better off using the native interface for both.
9291 lt_use_gnu_ld_interface
=no
9292 if test "$with_gnu_ld" = yes; then
9295 # The AIX port of GNU ld has always aspired to compatibility
9296 # with the native linker. However, as the warning in the GNU ld
9297 # block says, versions before 2.19.5* couldn't really create working
9298 # shared libraries, regardless of the interface used.
9299 case `$LD -v 2>&1` in
9300 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9301 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9302 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9304 lt_use_gnu_ld_interface
=yes
9309 lt_use_gnu_ld_interface
=yes
9314 if test "$lt_use_gnu_ld_interface" = yes; then
9315 # If archive_cmds runs LD, not CC, wlarc should be empty
9318 # Set some defaults for GNU ld with shared library support. These
9319 # are reset later if shared libraries are not supported. Putting them
9320 # here allows them to be overridden if necessary.
9321 runpath_var
=LD_RUN_PATH
9322 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9323 export_dynamic_flag_spec
='${wl}--export-dynamic'
9324 # ancient GNU ld didn't support --whole-archive et. al.
9325 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9326 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9328 whole_archive_flag_spec
=
9330 supports_anon_versioning
=no
9331 case `$LD -v 2>&1` in
9332 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9333 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9334 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9335 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9336 *\
2.11.
*) ;; # other 2.11 versions
9337 *) supports_anon_versioning
=yes ;;
9340 # See if GNU ld supports shared libraries.
9343 # On AIX/PPC, the GNU linker is very broken
9344 if test "$host_cpu" != ia64
; then
9348 *** Warning: the GNU linker, at least up to release 2.19, is reported
9349 *** to be unable to reliably create shared libraries on AIX.
9350 *** Therefore, libtool is disabling shared libraries support. If you
9351 *** really care for shared libraries, you may want to install binutils
9352 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9353 *** You will then need to restart the configuration process.
9362 # see comment about AmigaOS4 .so support
9363 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9364 archive_expsym_cmds
=''
9367 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)'
9368 hardcode_libdir_flag_spec
='-L$libdir'
9369 hardcode_minus_L
=yes
9375 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9376 allow_undefined_flag
=unsupported
9377 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9378 # support --undefined. This deserves some investigation. FIXME
9379 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9385 cygwin
* | mingw
* | pw32
* | cegcc
*)
9386 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9387 # as there is no search path for DLLs.
9388 hardcode_libdir_flag_spec
='-L$libdir'
9389 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9390 allow_undefined_flag
=unsupported
9391 always_export_symbols
=no
9392 enable_shared_with_static_runtimes
=yes
9393 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9395 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9396 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9397 # If the export-symbols file already is a .def file (1st line
9398 # is EXPORTS), use it as is; otherwise, prepend...
9399 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9400 cp $export_symbols $output_objdir/$soname.def;
9402 echo EXPORTS > $output_objdir/$soname.def;
9403 cat $export_symbols >> $output_objdir/$soname.def;
9405 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9412 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9413 link_all_deplibs
=yes
9418 hardcode_shlibpath_var
=no
9419 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9420 export_dynamic_flag_spec
='${wl}-E'
9421 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9422 # Instead, shared libraries are loaded at an image base (0x10000000 by
9423 # default) and relocated if they conflict, which is a slow very memory
9424 # consuming and fragmenting process. To avoid this, we pick a random,
9425 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9426 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9427 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9428 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'
9431 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9433 if test "$host_os" = linux-dietlibc
; then
9434 case $cc_basename in
9435 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9438 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9439 && test "$tmp_diet" = no
9441 tmp_addflag
=' $pic_flag'
9442 tmp_sharedflag
='-shared'
9443 case $cc_basename,$host_cpu in
9444 pgcc
*) # Portland Group C compiler
9445 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'
9446 tmp_addflag
=' $pic_flag'
9448 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9449 # Portland Group f77 and f90 compilers
9450 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'
9451 tmp_addflag
=' $pic_flag -Mnomain' ;;
9452 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9453 tmp_addflag
=' -i_dynamic' ;;
9454 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9455 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9456 ifc
* | ifort
*) # Intel Fortran compiler
9457 tmp_addflag
=' -nofor_main' ;;
9458 lf95
*) # Lahey Fortran 8.1
9459 whole_archive_flag_spec
=
9460 tmp_sharedflag
='--shared' ;;
9461 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9462 tmp_sharedflag
='-qmkshrobj'
9464 nvcc
*) # Cuda Compiler Driver 2.2
9465 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'
9466 compiler_needs_object
=yes
9469 case `$CC -V 2>&1 | sed 5q` in
9470 *Sun\ C
*) # Sun C 5.9
9471 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'
9472 compiler_needs_object
=yes
9473 tmp_sharedflag
='-G' ;;
9474 *Sun\ F
*) # Sun Fortran 8.3
9475 tmp_sharedflag
='-G' ;;
9477 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9479 if test "x$supports_anon_versioning" = xyes
; then
9480 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9481 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9482 echo "local: *; };" >> $output_objdir/$libname.ver~
9483 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9486 case $cc_basename in
9487 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9488 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9489 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9490 hardcode_libdir_flag_spec
=
9491 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9492 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9493 if test "x$supports_anon_versioning" = xyes
; then
9494 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9495 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9496 echo "local: *; };" >> $output_objdir/$libname.ver~
9497 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9507 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9508 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9511 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9512 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9517 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9521 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9522 *** create shared libraries on Solaris systems. Therefore, libtool
9523 *** is disabling shared libraries support. We urge you to upgrade GNU
9524 *** binutils to release 2.9.1 or newer. Another option is to modify
9525 *** your PATH or compiler configuration so that the native linker is
9526 *** used, and then restart.
9529 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9530 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9531 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9537 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9538 case `$LD -v 2>&1` in
9539 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9543 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9544 *** reliably create shared libraries on SCO systems. Therefore, libtool
9545 *** is disabling shared libraries support. We urge you to upgrade GNU
9546 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9547 *** your PATH or compiler configuration so that the native linker is
9548 *** used, and then restart.
9553 # For security reasons, it is highly recommended that you always
9554 # use absolute paths for naming shared libraries, and exclude the
9555 # DT_RUNPATH tag from executables and libraries. But doing so
9556 # requires that you compile everything twice, which is a pain.
9557 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9558 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9559 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9560 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9569 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9572 hardcode_shlibpath_var
=no
9576 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9577 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9578 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9585 if test "$ld_shlibs" = no
; then
9587 hardcode_libdir_flag_spec
=
9588 export_dynamic_flag_spec
=
9589 whole_archive_flag_spec
=
9592 # PORTME fill in a description of your system's linker (not GNU ld)
9595 allow_undefined_flag
=unsupported
9596 always_export_symbols
=yes
9597 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'
9598 # Note: this linker hardcodes the directories in LIBPATH if there
9599 # are no directories specified by -L.
9600 hardcode_minus_L
=yes
9601 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9602 # Neither direct hardcoding nor static linking is supported with a
9604 hardcode_direct
=unsupported
9609 if test "$host_cpu" = ia64
; then
9610 # On IA64, the linker does run time linking by default, so we don't
9611 # have to do anything special.
9612 aix_use_runtimelinking
=no
9613 exp_sym_flag
='-Bexport'
9616 # If we're using GNU nm, then we don't want the "-C" option.
9617 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9618 # Also, AIX nm treats weak defined symbols like other global
9619 # defined symbols, whereas GNU nm marks them as "W".
9620 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9621 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'
9623 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9625 aix_use_runtimelinking
=no
9627 # Test if we are trying to use run time linking or normal
9628 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9629 # need to do runtime linking.
9630 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9631 for ld_flag
in $LDFLAGS; do
9632 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9633 aix_use_runtimelinking
=yes
9640 exp_sym_flag
='-bexport'
9641 no_entry_flag
='-bnoentry'
9644 # When large executables or shared objects are built, AIX ld can
9645 # have problems creating the table of contents. If linking a library
9646 # or program results in "error TOC overflow" add -mminimal-toc to
9647 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9648 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9652 hardcode_direct_absolute
=yes
9653 hardcode_libdir_separator
=':'
9654 link_all_deplibs
=yes
9655 file_list_spec
='${wl}-f,'
9657 if test "$GCC" = yes; then
9658 case $host_os in aix4.
[012]|aix4.
[012].
*)
9659 # We only want to do this on AIX 4.2 and lower, the check
9660 # below for broken collect2 doesn't work under 4.3+
9661 collect2name
=`${CC} -print-prog-name=collect2`
9662 if test -f "$collect2name" &&
9663 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9665 # We have reworked collect2
9668 # We have old collect2
9669 hardcode_direct
=unsupported
9670 # It fails to find uninstalled libraries when the uninstalled
9671 # path is not listed in the libpath. Setting hardcode_minus_L
9672 # to unsupported forces relinking
9673 hardcode_minus_L
=yes
9674 hardcode_libdir_flag_spec
='-L$libdir'
9675 hardcode_libdir_separator
=
9679 shared_flag
='-shared'
9680 if test "$aix_use_runtimelinking" = yes; then
9681 shared_flag
="$shared_flag "'${wl}-G'
9685 if test "$host_cpu" = ia64
; then
9686 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9687 # chokes on -Wl,-G. The following line is correct:
9690 if test "$aix_use_runtimelinking" = yes; then
9691 shared_flag
='${wl}-G'
9693 shared_flag
='${wl}-bM:SRE'
9698 export_dynamic_flag_spec
='${wl}-bexpall'
9699 # It seems that -bexpall does not export symbols beginning with
9700 # underscore (_), so it is better to generate a list of symbols to export.
9701 always_export_symbols
=yes
9702 if test "$aix_use_runtimelinking" = yes; then
9703 # Warning - without using the other runtime loading flags (-brtl),
9704 # -berok will link without error, but may produce a broken library.
9705 allow_undefined_flag
='-berok'
9706 # Determine the default libpath from the value encoded in an
9708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9709 /* end confdefs.h. */
9719 if ac_fn_c_try_link
"$LINENO"; then :
9721 lt_aix_libpath_sed
='
9722 /Import File Strings/,/^$/ {
9728 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9729 # Check for a 64-bit object if we didn't find anything.
9730 if test -z "$aix_libpath"; then
9731 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9734 rm -f core conftest.err conftest.
$ac_objext \
9735 conftest
$ac_exeext conftest.
$ac_ext
9736 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9738 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9739 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"
9741 if test "$host_cpu" = ia64
; then
9742 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9743 allow_undefined_flag
="-z nodefs"
9744 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"
9746 # Determine the default libpath from the value encoded in an
9748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9749 /* end confdefs.h. */
9759 if ac_fn_c_try_link
"$LINENO"; then :
9761 lt_aix_libpath_sed
='
9762 /Import File Strings/,/^$/ {
9768 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9769 # Check for a 64-bit object if we didn't find anything.
9770 if test -z "$aix_libpath"; then
9771 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9774 rm -f core conftest.err conftest.
$ac_objext \
9775 conftest
$ac_exeext conftest.
$ac_ext
9776 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9778 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9779 # Warning - without using the other run time loading flags,
9780 # -berok will link without error, but may produce a broken library.
9781 no_undefined_flag
=' ${wl}-bernotok'
9782 allow_undefined_flag
=' ${wl}-berok'
9783 if test "$with_gnu_ld" = yes; then
9784 # We only use this code for GNU lds that support --whole-archive.
9785 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9787 # Exported symbols can be pulled into shared objects from archives
9788 whole_archive_flag_spec
='$convenience'
9790 archive_cmds_need_lc
=yes
9791 # This is similar to how AIX traditionally builds its shared libraries.
9792 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'
9800 # see comment about AmigaOS4 .so support
9801 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9802 archive_expsym_cmds
=''
9805 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)'
9806 hardcode_libdir_flag_spec
='-L$libdir'
9807 hardcode_minus_L
=yes
9813 export_dynamic_flag_spec
=-rdynamic
9816 cygwin
* | mingw
* | pw32
* | cegcc
*)
9817 # When not using gcc, we currently assume that we are using
9818 # Microsoft Visual C++.
9819 # hardcode_libdir_flag_spec is actually meaningless, as there is
9820 # no search path for DLLs.
9821 hardcode_libdir_flag_spec
=' '
9822 allow_undefined_flag
=unsupported
9823 # Tell ltmain to make .lib files, not .a files.
9825 # Tell ltmain to make .dll files, not .so files.
9827 # FIXME: Setting linknames here is a bad hack.
9828 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9829 # The linker will automatically build a .lib file if we build a DLL.
9830 old_archive_from_new_cmds
='true'
9831 # FIXME: Should let the user specify the lib program.
9832 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9833 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9834 enable_shared_with_static_runtimes
=yes
9837 darwin
* | rhapsody
*)
9840 archive_cmds_need_lc
=no
9842 hardcode_automatic
=yes
9843 hardcode_shlibpath_var
=unsupported
9844 if test "$lt_cv_ld_force_load" = "yes"; then
9845 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\"`'
9847 whole_archive_flag_spec
=''
9849 link_all_deplibs
=yes
9850 allow_undefined_flag
="$_lt_dar_allow_undefined"
9851 case $cc_basename in
9852 ifort
*) _lt_dar_can_shared
=yes ;;
9853 *) _lt_dar_can_shared
=$GCC ;;
9855 if test "$_lt_dar_can_shared" = "yes"; then
9856 output_verbose_link_cmd
=func_echo_all
9857 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9858 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9859 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}"
9860 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}"
9869 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9870 hardcode_libdir_flag_spec
='-L$libdir'
9871 hardcode_shlibpath_var
=no
9874 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9875 # support. Future versions do this automatically, but an explicit c++rt0.o
9876 # does not break anything, and helps significantly (at the cost of a little
9879 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9880 hardcode_libdir_flag_spec
='-R$libdir'
9882 hardcode_shlibpath_var
=no
9885 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9887 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9889 hardcode_minus_L
=yes
9890 hardcode_shlibpath_var
=no
9893 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9894 freebsd
* | dragonfly
*)
9895 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9896 hardcode_libdir_flag_spec
='-R$libdir'
9898 hardcode_shlibpath_var
=no
9902 if test "$GCC" = yes; then
9903 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'
9905 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'
9907 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9908 hardcode_libdir_separator
=:
9911 # hardcode_minus_L: Not really in the search PATH,
9912 # but as the default location of the library.
9913 hardcode_minus_L
=yes
9914 export_dynamic_flag_spec
='${wl}-E'
9918 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9919 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9921 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9923 if test "$with_gnu_ld" = no
; then
9924 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9925 hardcode_libdir_flag_spec_ld
='+b $libdir'
9926 hardcode_libdir_separator
=:
9928 hardcode_direct_absolute
=yes
9929 export_dynamic_flag_spec
='${wl}-E'
9930 # hardcode_minus_L: Not really in the search PATH,
9931 # but as the default location of the library.
9932 hardcode_minus_L
=yes
9937 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9940 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9943 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9946 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9952 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9955 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9959 # Older versions of the 11.00 compiler do not understand -b yet
9960 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9962 $as_echo_n "checking if $CC understands -b... " >&6; }
9963 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9964 $as_echo_n "(cached) " >&6
9966 lt_cv_prog_compiler__b
=no
9967 save_LDFLAGS
="$LDFLAGS"
9968 LDFLAGS
="$LDFLAGS -b"
9969 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9970 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9971 # The linker can only warn and ignore the option if not recognized
9972 # So say no if there are warnings
9973 if test -s conftest.err
; then
9974 # Append any errors to the config.log.
9975 cat conftest.err
1>&5
9976 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9977 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9978 if diff conftest.exp conftest.er2
>/dev
/null
; then
9979 lt_cv_prog_compiler__b
=yes
9982 lt_cv_prog_compiler__b
=yes
9986 LDFLAGS
="$save_LDFLAGS"
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9990 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9992 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9993 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9995 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10001 if test "$with_gnu_ld" = no
; then
10002 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10003 hardcode_libdir_separator
=:
10008 hardcode_shlibpath_var
=no
10011 hardcode_direct
=yes
10012 hardcode_direct_absolute
=yes
10013 export_dynamic_flag_spec
='${wl}-E'
10015 # hardcode_minus_L: Not really in the search PATH,
10016 # but as the default location of the library.
10017 hardcode_minus_L
=yes
10023 irix5
* | irix6
* | nonstopux
*)
10024 if test "$GCC" = yes; then
10025 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'
10026 # Try to use the -exported_symbol ld option, if it does not
10027 # work, assume that -exports_file does not work either and
10028 # implicitly export all symbols.
10029 save_LDFLAGS
="$LDFLAGS"
10030 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10032 /* end confdefs.h. */
10035 if ac_fn_c_try_link
"$LINENO"; then :
10036 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'
10039 rm -f core conftest.err conftest.
$ac_objext \
10040 conftest
$ac_exeext conftest.
$ac_ext
10041 LDFLAGS
="$save_LDFLAGS"
10043 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'
10044 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'
10046 archive_cmds_need_lc
='no'
10047 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10048 hardcode_libdir_separator
=:
10050 link_all_deplibs
=yes
10054 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10055 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10057 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10059 hardcode_libdir_flag_spec
='-R$libdir'
10060 hardcode_direct
=yes
10061 hardcode_shlibpath_var
=no
10065 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10066 hardcode_direct
=yes
10067 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10068 hardcode_libdir_separator
=:
10069 hardcode_shlibpath_var
=no
10076 if test -f /usr
/libexec
/ld.so
; then
10077 hardcode_direct
=yes
10078 hardcode_shlibpath_var
=no
10079 hardcode_direct_absolute
=yes
10080 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10081 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10082 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10083 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10084 export_dynamic_flag_spec
='${wl}-E'
10087 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10088 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10089 hardcode_libdir_flag_spec
='-R$libdir'
10092 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10093 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10103 hardcode_libdir_flag_spec
='-L$libdir'
10104 hardcode_minus_L
=yes
10105 allow_undefined_flag
=unsupported
10106 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'
10107 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10111 if test "$GCC" = yes; then
10112 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10113 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'
10115 allow_undefined_flag
=' -expect_unresolved \*'
10116 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'
10118 archive_cmds_need_lc
='no'
10119 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10120 hardcode_libdir_separator
=:
10123 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10124 if test "$GCC" = yes; then
10125 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10126 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'
10127 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10129 allow_undefined_flag
=' -expect_unresolved \*'
10130 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'
10131 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~
10132 $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'
10134 # Both c and cxx compiler support -rpath directly
10135 hardcode_libdir_flag_spec
='-rpath $libdir'
10137 archive_cmds_need_lc
='no'
10138 hardcode_libdir_separator
=:
10142 no_undefined_flag
=' -z defs'
10143 if test "$GCC" = yes; then
10145 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10146 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10147 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10149 case `$CC -V 2>&1` in
10152 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10153 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10154 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10158 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10159 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10160 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10164 hardcode_libdir_flag_spec
='-R$libdir'
10165 hardcode_shlibpath_var
=no
10167 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10169 # The compiler driver will combine and reorder linker options,
10170 # but understands `-z linker_flag'. GCC discards it without `$wl',
10171 # but is careful enough not to reorder.
10172 # Supported since Solaris 2.6 (maybe 2.5.1?)
10173 if test "$GCC" = yes; then
10174 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10176 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10180 link_all_deplibs
=yes
10184 if test "x$host_vendor" = xsequent
; then
10185 # Use $CC to link under sequent, because it throws in some extra .o
10186 # files that make .init and .fini sections work.
10187 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10189 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10191 hardcode_libdir_flag_spec
='-L$libdir'
10192 hardcode_direct
=yes
10193 hardcode_minus_L
=yes
10194 hardcode_shlibpath_var
=no
10198 case $host_vendor in
10200 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10201 hardcode_direct
=yes # is this really true???
10204 ## LD is ld it makes a PLAMLIB
10205 ## CC just makes a GrossModule.
10206 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10207 reload_cmds
='$CC -r -o $output$reload_objs'
10211 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10212 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10215 runpath_var
='LD_RUN_PATH'
10216 hardcode_shlibpath_var
=no
10220 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10221 hardcode_shlibpath_var
=no
10222 export_dynamic_flag_spec
='-Bexport'
10226 if test -d /usr
/nec
; then
10227 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10228 hardcode_shlibpath_var
=no
10229 runpath_var
=LD_RUN_PATH
10230 hardcode_runpath_var
=yes
10235 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10236 no_undefined_flag
='${wl}-z,text'
10237 archive_cmds_need_lc
=no
10238 hardcode_shlibpath_var
=no
10239 runpath_var
='LD_RUN_PATH'
10241 if test "$GCC" = yes; then
10242 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10243 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10245 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10246 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10250 sysv5
* | sco3.2v5
* | sco5v6
*)
10251 # Note: We can NOT use -z defs as we might desire, because we do not
10252 # link with -lc, and that would cause any symbols used from libc to
10253 # always be unresolved, which means just about no library would
10254 # ever link correctly. If we're not using GNU ld we use -z text
10255 # though, which does catch some bad symbols but isn't as heavy-handed
10257 no_undefined_flag
='${wl}-z,text'
10258 allow_undefined_flag
='${wl}-z,nodefs'
10259 archive_cmds_need_lc
=no
10260 hardcode_shlibpath_var
=no
10261 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10262 hardcode_libdir_separator
=':'
10263 link_all_deplibs
=yes
10264 export_dynamic_flag_spec
='${wl}-Bexport'
10265 runpath_var
='LD_RUN_PATH'
10267 if test "$GCC" = yes; then
10268 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10269 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10271 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10272 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10277 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10278 hardcode_libdir_flag_spec
='-L$libdir'
10279 hardcode_shlibpath_var
=no
10287 if test x
$host_vendor = xsni
; then
10289 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10290 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10297 $as_echo "$ld_shlibs" >&6; }
10298 test "$ld_shlibs" = no
&& can_build_shared
=no
10300 with_gnu_ld
=$with_gnu_ld
10317 # Do we need to explicitly link libc?
10319 case "x$archive_cmds_need_lc" in
10321 # Assume -lc should be added
10322 archive_cmds_need_lc
=yes
10324 if test "$enable_shared" = yes && test "$GCC" = yes; then
10325 case $archive_cmds in
10327 # FIXME: we may have to deal with multi-command sequences.
10330 # Test whether the compiler implicitly links with -lc since on some
10331 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10332 # to ld, don't add -lc before -lgcc.
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10334 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10335 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10336 $as_echo_n "(cached) " >&6
10339 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10341 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10342 (eval $ac_compile) 2>&5
10344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10345 test $ac_status = 0; } 2>conftest.err
; then
10348 libobjs
=conftest.
$ac_objext
10350 wl
=$lt_prog_compiler_wl
10351 pic_flag
=$lt_prog_compiler_pic
10357 lt_save_allow_undefined_flag
=$allow_undefined_flag
10358 allow_undefined_flag
=
10359 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10360 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10363 test $ac_status = 0; }
10365 lt_cv_archive_cmds_need_lc
=no
10367 lt_cv_archive_cmds_need_lc
=yes
10369 allow_undefined_flag
=$lt_save_allow_undefined_flag
10371 cat conftest.err
1>&5
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10377 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10378 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10542 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10544 if test "$GCC" = yes; then
10546 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10547 *) lt_awk_arg
="/^libraries:/" ;;
10550 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10551 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10553 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10554 case $lt_search_path_spec in
10556 # if the path contains ";" then we assume it to be the separator
10557 # otherwise default to the standard path separator (i.e. ":") - it is
10558 # assumed that no part of a normal pathname contains ";" but that should
10559 # okay in the real world where ";" in dirpaths is itself problematic.
10560 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10563 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10566 # Ok, now we have the path, separated by spaces, we can step through it
10567 # and add multilib dir if necessary.
10568 lt_tmp_lt_search_path_spec
=
10569 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10570 for lt_sys_path
in $lt_search_path_spec; do
10571 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10572 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10574 test -d "$lt_sys_path" && \
10575 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10578 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10579 BEGIN {RS=" "; FS="/|\n";} {
10582 for (lt_i = NF; lt_i > 0; lt_i--) {
10583 if ($lt_i != "" && $lt_i != ".") {
10584 if ($lt_i == "..") {
10587 if (lt_count == 0) {
10588 lt_foo="/" $lt_i lt_foo;
10595 if (lt_foo != "") { lt_freq[lt_foo]++; }
10596 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10598 # AWK program above erroneously prepends '/' to C:/dos/paths
10601 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10602 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10604 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10606 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10608 library_names_spec
=
10609 libname_spec
='lib$name'
10613 postuninstall_cmds
=
10617 shlibpath_overrides_runpath
=unknown
10619 dynamic_linker
="$host_os ld.so"
10620 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10621 need_lib_prefix
=unknown
10622 hardcode_into_libs
=no
10624 # when you set need_version to no, make sure it does not cause -set_version
10625 # flags to be left without arguments
10626 need_version
=unknown
10631 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10632 shlibpath_var
=LIBPATH
10634 # AIX 3 has no versioning support, so we append a major version to the name.
10635 soname_spec
='${libname}${release}${shared_ext}$major'
10642 hardcode_into_libs
=yes
10643 if test "$host_cpu" = ia64
; then
10644 # AIX 5 supports IA64
10645 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10646 shlibpath_var
=LD_LIBRARY_PATH
10648 # With GCC up to 2.95.x, collect2 would create an import file
10649 # for dependence libraries. The import file would start with
10650 # the line `#! .'. This would cause the generated library to
10651 # depend on `.', always an invalid library. This was fixed in
10652 # development snapshots of GCC prior to 3.0.
10654 aix4 | aix4.
[01] | aix4.
[01].
*)
10655 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10657 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10660 can_build_shared
=no
10664 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10665 # soname into executable. Probably we can add versioning support to
10666 # collect2, so additional links can be useful in future.
10667 if test "$aix_use_runtimelinking" = yes; then
10668 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10669 # instead of lib<name>.a to let people know that these are not
10670 # typical AIX shared libraries.
10671 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10673 # We preserve .a as extension for shared libraries through AIX4.2
10674 # and later when we are not doing run time linking.
10675 library_names_spec
='${libname}${release}.a $libname.a'
10676 soname_spec
='${libname}${release}${shared_ext}$major'
10678 shlibpath_var
=LIBPATH
10685 # Since July 2007 AmigaOS4 officially supports .so libraries.
10686 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10687 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10690 library_names_spec
='$libname.ixlibrary $libname.a'
10691 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10692 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'
10698 library_names_spec
='${libname}${shared_ext}'
10699 dynamic_linker
="$host_os ld.so"
10700 shlibpath_var
=LIBRARY_PATH
10706 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10707 soname_spec
='${libname}${release}${shared_ext}$major'
10708 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10709 shlibpath_var
=LD_LIBRARY_PATH
10710 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10711 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10712 # the default ld.so.conf also contains /usr/contrib/lib and
10713 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10714 # libtool to hard-code these into programs
10717 cygwin
* | mingw
* | pw32
* | cegcc
*)
10718 version_type
=windows
10723 case $GCC,$host_os in
10724 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10725 library_names_spec
='$libname.dll.a'
10726 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10727 postinstall_cmds
='base_file=`basename \${file}`~
10728 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10729 dldir=$destdir/`dirname \$dlpath`~
10730 test -d \$dldir || mkdir -p \$dldir~
10731 $install_prog $dir/$dlname \$dldir/$dlname~
10732 chmod a+x \$dldir/$dlname~
10733 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10734 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10736 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10737 dlpath=$dir/\$dldll~
10739 shlibpath_overrides_runpath
=yes
10743 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10744 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10746 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10749 # MinGW DLLs use traditional 'lib' prefix
10750 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10753 # pw32 DLLs use 'pw' prefix rather than 'lib'
10754 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10760 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10763 dynamic_linker
='Win32 ld.exe'
10764 # FIXME: first we should search . and the directory the executable is in
10768 darwin
* | rhapsody
*)
10769 dynamic_linker
="$host_os dyld"
10770 version_type
=darwin
10773 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10774 soname_spec
='${libname}${release}${major}$shared_ext'
10775 shlibpath_overrides_runpath
=yes
10776 shlibpath_var
=DYLD_LIBRARY_PATH
10777 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10779 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10780 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10787 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10788 soname_spec
='${libname}${release}${shared_ext}$major'
10789 shlibpath_var
=LD_LIBRARY_PATH
10792 freebsd
* | dragonfly
*)
10793 # DragonFly does not have aout. When/if they implement a new
10794 # versioning mechanism, adjust this.
10795 if test -x /usr
/bin
/objformat
; then
10796 objformat
=`/usr/bin/objformat`
10799 freebsd
[23].
*) objformat
=aout
;;
10800 *) objformat
=elf
;;
10803 version_type
=freebsd-
$objformat
10804 case $version_type in
10806 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10811 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10815 shlibpath_var
=LD_LIBRARY_PATH
10818 shlibpath_overrides_runpath
=yes
10820 freebsd3.
[01]* | freebsdelf3.
[01]*)
10821 shlibpath_overrides_runpath
=yes
10822 hardcode_into_libs
=yes
10824 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10825 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10826 shlibpath_overrides_runpath
=no
10827 hardcode_into_libs
=yes
10829 *) # from 4.6 on, and DragonFly
10830 shlibpath_overrides_runpath
=yes
10831 hardcode_into_libs
=yes
10840 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10841 soname_spec
='${libname}${release}${shared_ext}$major'
10842 shlibpath_var
=LD_LIBRARY_PATH
10843 hardcode_into_libs
=yes
10850 dynamic_linker
="$host_os runtime_loader"
10851 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10852 soname_spec
='${libname}${release}${shared_ext}$major'
10853 shlibpath_var
=LIBRARY_PATH
10854 shlibpath_overrides_runpath
=yes
10855 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10856 hardcode_into_libs
=yes
10859 hpux9
* | hpux10
* | hpux11
*)
10860 # Give a soname corresponding to the major version so that dld.sl refuses to
10861 # link against other versions.
10868 hardcode_into_libs
=yes
10869 dynamic_linker
="$host_os dld.so"
10870 shlibpath_var
=LD_LIBRARY_PATH
10871 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10872 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10873 soname_spec
='${libname}${release}${shared_ext}$major'
10874 if test "X$HPUX_IA64_MODE" = X32
; then
10875 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10877 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10879 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10883 hardcode_into_libs
=yes
10884 dynamic_linker
="$host_os dld.sl"
10885 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10886 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10887 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10888 soname_spec
='${libname}${release}${shared_ext}$major'
10889 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10890 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10894 dynamic_linker
="$host_os dld.sl"
10895 shlibpath_var
=SHLIB_PATH
10896 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10897 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10898 soname_spec
='${libname}${release}${shared_ext}$major'
10901 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10902 postinstall_cmds
='chmod 555 $lib'
10903 # or fails outright, so override atomically:
10904 install_override_mode
=555
10911 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10912 soname_spec
='${libname}${release}${shared_ext}$major'
10913 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10914 shlibpath_var
=LD_LIBRARY_PATH
10915 shlibpath_overrides_runpath
=no
10916 hardcode_into_libs
=yes
10919 irix5
* | irix6
* | nonstopux
*)
10921 nonstopux
*) version_type
=nonstopux
;;
10923 if test "$lt_cv_prog_gnu_ld" = yes; then
10931 soname_spec
='${libname}${release}${shared_ext}$major'
10932 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10934 irix5
* | nonstopux
*)
10935 libsuff
= shlibsuff
=
10938 case $LD in # libtool.m4 will add one of these switches to LD
10939 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10940 libsuff
= shlibsuff
= libmagic
=32-bit;;
10941 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10942 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10943 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10944 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10945 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10949 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10950 shlibpath_overrides_runpath
=no
10951 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10952 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10953 hardcode_into_libs
=yes
10956 # No shared lib support for Linux oldld, aout, or coff.
10957 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10961 # This must be Linux ELF.
10962 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10966 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10967 soname_spec
='${libname}${release}${shared_ext}$major'
10968 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10969 shlibpath_var
=LD_LIBRARY_PATH
10970 shlibpath_overrides_runpath
=no
10972 # Some binutils ld are patched to set DT_RUNPATH
10973 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10974 $as_echo_n "(cached) " >&6
10976 lt_cv_shlibpath_overrides_runpath
=no
10977 save_LDFLAGS
=$LDFLAGS
10978 save_libdir
=$libdir
10979 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10980 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10982 /* end confdefs.h. */
10992 if ac_fn_c_try_link
"$LINENO"; then :
10993 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10994 lt_cv_shlibpath_overrides_runpath
=yes
10997 rm -f core conftest.err conftest.
$ac_objext \
10998 conftest
$ac_exeext conftest.
$ac_ext
10999 LDFLAGS
=$save_LDFLAGS
11000 libdir
=$save_libdir
11004 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11006 # This implies no fast_install, which is unacceptable.
11007 # Some rework will be needed to allow for fast_install
11008 # before this can be enabled.
11009 hardcode_into_libs
=yes
11011 # Append ld.so.conf contents to the search path
11012 if test -f /etc
/ld.so.conf
; then
11013 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' ' '`
11014 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11017 # We used to test for /lib/ld.so.1 and disable shared libraries on
11018 # powerpc, because MkLinux only supported shared libraries with the
11019 # GNU dynamic linker. Since this was broken with cross compilers,
11020 # most powerpc-linux boxes support dynamic linking these days and
11021 # people can always --disable-shared, the test was removed, and we
11022 # assume the GNU/Linux dynamic linker is in use.
11023 dynamic_linker
='GNU/Linux ld.so'
11030 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11031 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11032 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11033 dynamic_linker
='NetBSD (a.out) ld.so'
11035 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11036 soname_spec
='${libname}${release}${shared_ext}$major'
11037 dynamic_linker
='NetBSD ld.elf_so'
11039 shlibpath_var
=LD_LIBRARY_PATH
11040 shlibpath_overrides_runpath
=yes
11041 hardcode_into_libs
=yes
11046 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11047 shlibpath_var
=LD_LIBRARY_PATH
11048 shlibpath_overrides_runpath
=yes
11055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11056 soname_spec
='${libname}${release}${shared_ext}$major'
11057 shlibpath_var
=LD_LIBRARY_PATH
11058 shlibpath_overrides_runpath
=no
11059 hardcode_into_libs
=yes
11060 dynamic_linker
='ldqnx.so'
11065 sys_lib_dlsearch_path_spec
="/usr/lib"
11067 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11069 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11070 *) need_version
=no
;;
11072 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11073 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11074 shlibpath_var
=LD_LIBRARY_PATH
11075 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11077 openbsd2.
[89] | openbsd2.
[89].
*)
11078 shlibpath_overrides_runpath
=no
11081 shlibpath_overrides_runpath
=yes
11085 shlibpath_overrides_runpath
=yes
11090 libname_spec
='$name'
11093 library_names_spec
='$libname${shared_ext} $libname.a'
11094 dynamic_linker
='OS/2 ld.exe'
11095 shlibpath_var
=LIBPATH
11098 osf3
* | osf4
* | osf5
*)
11102 soname_spec
='${libname}${release}${shared_ext}$major'
11103 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11104 shlibpath_var
=LD_LIBRARY_PATH
11105 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11106 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11117 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11118 soname_spec
='${libname}${release}${shared_ext}$major'
11119 shlibpath_var
=LD_LIBRARY_PATH
11120 shlibpath_overrides_runpath
=yes
11121 hardcode_into_libs
=yes
11122 # ldd complains unless libraries are executable
11123 postinstall_cmds
='chmod +x $lib'
11128 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11129 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11130 shlibpath_var
=LD_LIBRARY_PATH
11131 shlibpath_overrides_runpath
=yes
11132 if test "$with_gnu_ld" = yes; then
11140 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11141 soname_spec
='${libname}${release}${shared_ext}$major'
11142 shlibpath_var
=LD_LIBRARY_PATH
11143 case $host_vendor in
11145 shlibpath_overrides_runpath
=no
11147 runpath_var
=LD_RUN_PATH
11155 shlibpath_overrides_runpath
=no
11156 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11162 if test -d /usr
/nec
;then
11164 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11165 soname_spec
='$libname${shared_ext}.$major'
11166 shlibpath_var
=LD_LIBRARY_PATH
11170 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11171 version_type
=freebsd-elf
11174 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11175 soname_spec
='${libname}${release}${shared_ext}$major'
11176 shlibpath_var
=LD_LIBRARY_PATH
11177 shlibpath_overrides_runpath
=yes
11178 hardcode_into_libs
=yes
11179 if test "$with_gnu_ld" = yes; then
11180 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11182 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11185 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11189 sys_lib_dlsearch_path_spec
='/usr/lib'
11193 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11197 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11198 shlibpath_var
=LD_LIBRARY_PATH
11199 shlibpath_overrides_runpath
=no
11200 hardcode_into_libs
=yes
11205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11206 soname_spec
='${libname}${release}${shared_ext}$major'
11207 shlibpath_var
=LD_LIBRARY_PATH
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11215 $as_echo "$dynamic_linker" >&6; }
11216 test "$dynamic_linker" = no
&& can_build_shared
=no
11218 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11219 if test "$GCC" = yes; then
11220 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11223 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11224 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11226 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11227 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11322 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11324 if test -n "$hardcode_libdir_flag_spec" ||
11325 test -n "$runpath_var" ||
11326 test "X$hardcode_automatic" = "Xyes" ; then
11328 # We can hardcode non-existent directories.
11329 if test "$hardcode_direct" != no
&&
11330 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11331 # have to relink, otherwise we might link with an installed library
11332 # when we should be linking with a yet-to-be-installed one
11333 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11334 test "$hardcode_minus_L" != no
; then
11335 # Linking always hardcodes the temporary library directory.
11336 hardcode_action
=relink
11338 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11339 hardcode_action
=immediate
11342 # We cannot hardcode anything, or else we can only hardcode existing
11344 hardcode_action
=unsupported
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11347 $as_echo "$hardcode_action" >&6; }
11349 if test "$hardcode_action" = relink ||
11350 test "$inherit_rpath" = yes; then
11351 # Fast installation is not supported
11352 enable_fast_install
=no
11353 elif test "$shlibpath_overrides_runpath" = yes ||
11354 test "$enable_shared" = no
; then
11355 # Fast installation is not necessary
11356 enable_fast_install
=needless
11364 if test "x$enable_dlopen" != xyes
; then
11365 enable_dlopen
=unknown
11366 enable_dlopen_self
=unknown
11367 enable_dlopen_self_static
=unknown
11374 lt_cv_dlopen
="load_add_on"
11376 lt_cv_dlopen_self
=yes
11379 mingw
* | pw32
* | cegcc
*)
11380 lt_cv_dlopen
="LoadLibrary"
11385 lt_cv_dlopen
="dlopen"
11390 # if libdl is installed we need to link against it
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11392 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11393 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11394 $as_echo_n "(cached) " >&6
11396 ac_check_lib_save_LIBS
=$LIBS
11398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11399 /* end confdefs.h. */
11401 /* Override any GCC internal prototype to avoid an error.
11402 Use char because int might match the return type of a GCC
11403 builtin and then its argument prototype would still apply. */
11416 if ac_fn_c_try_link
"$LINENO"; then :
11417 ac_cv_lib_dl_dlopen
=yes
11419 ac_cv_lib_dl_dlopen
=no
11421 rm -f core conftest.err conftest.
$ac_objext \
11422 conftest
$ac_exeext conftest.
$ac_ext
11423 LIBS
=$ac_check_lib_save_LIBS
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11426 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11427 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11428 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11431 lt_cv_dlopen
="dyld"
11433 lt_cv_dlopen_self
=yes
11440 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11441 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11442 lt_cv_dlopen
="shl_load"
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11445 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11446 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11447 $as_echo_n "(cached) " >&6
11449 ac_check_lib_save_LIBS
=$LIBS
11451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11452 /* end confdefs.h. */
11454 /* Override any GCC internal prototype to avoid an error.
11455 Use char because int might match the return type of a GCC
11456 builtin and then its argument prototype would still apply. */
11464 return shl_load ();
11469 if ac_fn_c_try_link
"$LINENO"; then :
11470 ac_cv_lib_dld_shl_load
=yes
11472 ac_cv_lib_dld_shl_load
=no
11474 rm -f core conftest.err conftest.
$ac_objext \
11475 conftest
$ac_exeext conftest.
$ac_ext
11476 LIBS
=$ac_check_lib_save_LIBS
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11479 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11480 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11481 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11483 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11484 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11485 lt_cv_dlopen
="dlopen"
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11488 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11489 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11490 $as_echo_n "(cached) " >&6
11492 ac_check_lib_save_LIBS
=$LIBS
11494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11495 /* end confdefs.h. */
11497 /* Override any GCC internal prototype to avoid an error.
11498 Use char because int might match the return type of a GCC
11499 builtin and then its argument prototype would still apply. */
11512 if ac_fn_c_try_link
"$LINENO"; then :
11513 ac_cv_lib_dl_dlopen
=yes
11515 ac_cv_lib_dl_dlopen
=no
11517 rm -f core conftest.err conftest.
$ac_objext \
11518 conftest
$ac_exeext conftest.
$ac_ext
11519 LIBS
=$ac_check_lib_save_LIBS
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11522 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11523 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11524 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11527 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11528 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11529 $as_echo_n "(cached) " >&6
11531 ac_check_lib_save_LIBS
=$LIBS
11532 LIBS
="-lsvld $LIBS"
11533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11534 /* end confdefs.h. */
11536 /* Override any GCC internal prototype to avoid an error.
11537 Use char because int might match the return type of a GCC
11538 builtin and then its argument prototype would still apply. */
11551 if ac_fn_c_try_link
"$LINENO"; then :
11552 ac_cv_lib_svld_dlopen
=yes
11554 ac_cv_lib_svld_dlopen
=no
11556 rm -f core conftest.err conftest.
$ac_objext \
11557 conftest
$ac_exeext conftest.
$ac_ext
11558 LIBS
=$ac_check_lib_save_LIBS
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11561 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11562 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11563 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11566 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11567 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11568 $as_echo_n "(cached) " >&6
11570 ac_check_lib_save_LIBS
=$LIBS
11572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11573 /* end confdefs.h. */
11575 /* Override any GCC internal prototype to avoid an error.
11576 Use char because int might match the return type of a GCC
11577 builtin and then its argument prototype would still apply. */
11585 return dld_link ();
11590 if ac_fn_c_try_link
"$LINENO"; then :
11591 ac_cv_lib_dld_dld_link
=yes
11593 ac_cv_lib_dld_dld_link
=no
11595 rm -f core conftest.err conftest.
$ac_objext \
11596 conftest
$ac_exeext conftest.
$ac_ext
11597 LIBS
=$ac_check_lib_save_LIBS
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11600 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11601 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11602 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11623 if test "x$lt_cv_dlopen" != xno
; then
11629 case $lt_cv_dlopen in
11631 save_CPPFLAGS
="$CPPFLAGS"
11632 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11634 save_LDFLAGS
="$LDFLAGS"
11635 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11638 LIBS
="$lt_cv_dlopen_libs $LIBS"
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11641 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11642 if test "${lt_cv_dlopen_self+set}" = set; then :
11643 $as_echo_n "(cached) " >&6
11645 if test "$cross_compiling" = yes; then :
11646 lt_cv_dlopen_self
=cross
11648 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11649 lt_status
=$lt_dlunknown
11650 cat > conftest.
$ac_ext <<_LT_EOF
11651 #line 11651 "configure"
11652 #include "confdefs.h"
11661 # define LT_DLGLOBAL RTLD_GLOBAL
11664 # define LT_DLGLOBAL DL_GLOBAL
11666 # define LT_DLGLOBAL 0
11670 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11671 find out it does not work in some platform. */
11672 #ifndef LT_DLLAZY_OR_NOW
11674 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11677 # define LT_DLLAZY_OR_NOW DL_LAZY
11680 # define LT_DLLAZY_OR_NOW RTLD_NOW
11683 # define LT_DLLAZY_OR_NOW DL_NOW
11685 # define LT_DLLAZY_OR_NOW 0
11692 /* When -fvisbility=hidden is used, assume the code has been annotated
11693 correspondingly for the symbols needed. */
11694 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11695 void fnord () __attribute__((visibility("default")));
11698 void fnord () { int i=42; }
11701 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11702 int status = $lt_dlunknown;
11706 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11709 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11710 else puts (dlerror ());
11712 /* dlclose (self); */
11720 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11721 (eval $ac_link) 2>&5
11723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11724 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11725 (.
/conftest
; exit; ) >&5 2>/dev
/null
11727 case x
$lt_status in
11728 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11729 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11730 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11733 # compilation failed
11734 lt_cv_dlopen_self
=no
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11742 $as_echo "$lt_cv_dlopen_self" >&6; }
11744 if test "x$lt_cv_dlopen_self" = xyes
; then
11745 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11747 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11748 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11749 $as_echo_n "(cached) " >&6
11751 if test "$cross_compiling" = yes; then :
11752 lt_cv_dlopen_self_static
=cross
11754 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11755 lt_status
=$lt_dlunknown
11756 cat > conftest.
$ac_ext <<_LT_EOF
11757 #line 11757 "configure"
11758 #include "confdefs.h"
11767 # define LT_DLGLOBAL RTLD_GLOBAL
11770 # define LT_DLGLOBAL DL_GLOBAL
11772 # define LT_DLGLOBAL 0
11776 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11777 find out it does not work in some platform. */
11778 #ifndef LT_DLLAZY_OR_NOW
11780 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11783 # define LT_DLLAZY_OR_NOW DL_LAZY
11786 # define LT_DLLAZY_OR_NOW RTLD_NOW
11789 # define LT_DLLAZY_OR_NOW DL_NOW
11791 # define LT_DLLAZY_OR_NOW 0
11798 /* When -fvisbility=hidden is used, assume the code has been annotated
11799 correspondingly for the symbols needed. */
11800 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11801 void fnord () __attribute__((visibility("default")));
11804 void fnord () { int i=42; }
11807 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11808 int status = $lt_dlunknown;
11812 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11815 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11816 else puts (dlerror ());
11818 /* dlclose (self); */
11826 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11827 (eval $ac_link) 2>&5
11829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11830 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11831 (.
/conftest
; exit; ) >&5 2>/dev
/null
11833 case x
$lt_status in
11834 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11835 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11836 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11839 # compilation failed
11840 lt_cv_dlopen_self_static
=no
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11848 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11851 CPPFLAGS
="$save_CPPFLAGS"
11852 LDFLAGS
="$save_LDFLAGS"
11857 case $lt_cv_dlopen_self in
11858 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11859 *) enable_dlopen_self
=unknown
;;
11862 case $lt_cv_dlopen_self_static in
11863 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11864 *) enable_dlopen_self_static
=unknown
;;
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11887 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11888 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11889 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11890 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11892 $as_echo "yes" >&6; }
11894 # FIXME - insert some real tests, host_os isn't really good enough
11897 if test -n "$STRIP" ; then
11898 striplib
="$STRIP -x"
11899 old_striplib
="$STRIP -S"
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11901 $as_echo "yes" >&6; }
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11904 $as_echo "no" >&6; }
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11909 $as_echo "no" >&6; }
11925 # Report which library types will actually be built
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11927 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11929 $as_echo "$can_build_shared" >&6; }
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11932 $as_echo_n "checking whether to build shared libraries... " >&6; }
11933 test "$can_build_shared" = "no" && enable_shared
=no
11935 # On AIX, shared libraries and static libraries use the same namespace, and
11936 # are all built from PIC.
11939 test "$enable_shared" = yes && enable_static
=no
11940 if test -n "$RANLIB"; then
11941 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11942 postinstall_cmds
='$RANLIB $lib'
11947 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11948 test "$enable_shared" = yes && enable_static
=no
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11953 $as_echo "$enable_shared" >&6; }
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11956 $as_echo_n "checking whether to build static libraries... " >&6; }
11957 # Make sure either enable_shared or enable_static is yes.
11958 test "$enable_shared" = yes || enable_static
=yes
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11960 $as_echo "$enable_static" >&6; }
11967 ac_cpp
='$CPP $CPPFLAGS'
11968 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11969 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11970 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11974 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11975 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11976 (test "X$CXX" != "Xg++"))) ; then
11978 ac_cpp
='$CXXCPP $CPPFLAGS'
11979 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11980 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11981 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11983 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11984 if test -z "$CXXCPP"; then
11985 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11986 $as_echo_n "(cached) " >&6
11988 # Double quotes because CXXCPP needs to be expanded
11989 for CXXCPP
in "$CXX -E" "/lib/cpp"
11991 ac_preproc_ok
=false
11992 for ac_cxx_preproc_warn_flag
in '' yes
11994 # Use a header file that comes with gcc, so configuring glibc
11995 # with a fresh cross-compiler works.
11996 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11997 # <limits.h> exists even on freestanding compilers.
11998 # On the NeXT, cc -E runs the code through the compiler's parser,
11999 # not just through cpp. "Syntax error" is here to catch this case.
12000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12001 /* end confdefs.h. */
12003 # include <limits.h>
12005 # include <assert.h>
12009 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12012 # Broken: fails on valid input.
12015 rm -f conftest.err conftest.
$ac_ext
12017 # OK, works on sane cases. Now check whether nonexistent headers
12018 # can be detected and how.
12019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12020 /* end confdefs.h. */
12021 #include <ac_nonexistent.h>
12023 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12024 # Broken: success on invalid input.
12027 # Passes both tests.
12031 rm -f conftest.err conftest.
$ac_ext
12034 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12035 rm -f conftest.err conftest.
$ac_ext
12036 if $ac_preproc_ok; then :
12041 ac_cv_prog_CXXCPP
=$CXXCPP
12044 CXXCPP
=$ac_cv_prog_CXXCPP
12046 ac_cv_prog_CXXCPP
=$CXXCPP
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12049 $as_echo "$CXXCPP" >&6; }
12050 ac_preproc_ok
=false
12051 for ac_cxx_preproc_warn_flag
in '' yes
12053 # Use a header file that comes with gcc, so configuring glibc
12054 # with a fresh cross-compiler works.
12055 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12056 # <limits.h> exists even on freestanding compilers.
12057 # On the NeXT, cc -E runs the code through the compiler's parser,
12058 # not just through cpp. "Syntax error" is here to catch this case.
12059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12060 /* end confdefs.h. */
12062 # include <limits.h>
12064 # include <assert.h>
12068 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12071 # Broken: fails on valid input.
12074 rm -f conftest.err conftest.
$ac_ext
12076 # OK, works on sane cases. Now check whether nonexistent headers
12077 # can be detected and how.
12078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12079 /* end confdefs.h. */
12080 #include <ac_nonexistent.h>
12082 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12083 # Broken: success on invalid input.
12086 # Passes both tests.
12090 rm -f conftest.err conftest.
$ac_ext
12093 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12094 rm -f conftest.err conftest.
$ac_ext
12095 if $ac_preproc_ok; then :
12098 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12099 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12100 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
12101 See \`config.log' for more details." "$LINENO" 5; }
12105 ac_cpp
='$CPP $CPPFLAGS'
12106 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12107 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12108 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12111 _lt_caught_CXX_error
=yes
12115 ac_cpp
='$CXXCPP $CPPFLAGS'
12116 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12117 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12118 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12120 archive_cmds_need_lc_CXX
=no
12121 allow_undefined_flag_CXX
=
12122 always_export_symbols_CXX
=no
12123 archive_expsym_cmds_CXX
=
12124 compiler_needs_object_CXX
=no
12125 export_dynamic_flag_spec_CXX
=
12126 hardcode_direct_CXX
=no
12127 hardcode_direct_absolute_CXX
=no
12128 hardcode_libdir_flag_spec_CXX
=
12129 hardcode_libdir_flag_spec_ld_CXX
=
12130 hardcode_libdir_separator_CXX
=
12131 hardcode_minus_L_CXX
=no
12132 hardcode_shlibpath_var_CXX
=unsupported
12133 hardcode_automatic_CXX
=no
12134 inherit_rpath_CXX
=no
12136 module_expsym_cmds_CXX
=
12137 link_all_deplibs_CXX
=unknown
12138 old_archive_cmds_CXX
=$old_archive_cmds
12139 reload_flag_CXX
=$reload_flag
12140 reload_cmds_CXX
=$reload_cmds
12141 no_undefined_flag_CXX
=
12142 whole_archive_flag_spec_CXX
=
12143 enable_shared_with_static_runtimes_CXX
=no
12145 # Source file extension for C++ test sources.
12148 # Object file extension for compiled C++ test sources.
12152 # No sense in running all these tests if we already determined that
12153 # the CXX compiler isn't working. Some variables (like enable_shared)
12154 # are currently assumed to apply to all compilers on this platform,
12155 # and will be corrupted by setting them based on a non-working compiler.
12156 if test "$_lt_caught_CXX_error" != yes; then
12157 # Code to be used in simple compile tests
12158 lt_simple_compile_test_code
="int some_variable = 0;"
12160 # Code to be used in simple link tests
12161 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12163 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12170 # If no C compiler was specified, use CC.
12173 # If no C compiler flags were specified, use CFLAGS.
12174 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12176 # Allow CC to be a program name with arguments.
12180 # save warnings/boilerplate of simple test code
12181 ac_outfile
=conftest.
$ac_objext
12182 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12183 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12184 _lt_compiler_boilerplate
=`cat conftest.err`
12187 ac_outfile
=conftest.
$ac_objext
12188 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12189 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12190 _lt_linker_boilerplate
=`cat conftest.err`
12194 # Allow CC to be a program name with arguments.
12199 lt_save_with_gnu_ld
=$with_gnu_ld
12200 lt_save_path_LD
=$lt_cv_path_LD
12201 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12202 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12204 $as_unset lt_cv_prog_gnu_ld
12206 if test -n "${lt_cv_path_LDCXX+set}"; then
12207 lt_cv_path_LD
=$lt_cv_path_LDCXX
12209 $as_unset lt_cv_path_LD
12211 test -z "${LDCXX+set}" || LD
=$LDCXX
12215 for cc_temp
in $compiler""; do
12217 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12218 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12223 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12226 if test -n "$compiler"; then
12227 # We don't want -fno-exception when compiling C++ code, so set the
12228 # no_builtin_flag separately
12229 if test "$GXX" = yes; then
12230 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12232 lt_prog_compiler_no_builtin_flag_CXX
=
12235 if test "$GXX" = yes; then
12236 # Set up default GNU C++ configuration
12240 # Check whether --with-gnu-ld was given.
12241 if test "${with_gnu_ld+set}" = set; then :
12242 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12248 if test "$GCC" = yes; then
12249 # Check if gcc -print-prog-name=ld gives a path.
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12251 $as_echo_n "checking for ld used by $CC... " >&6; }
12254 # gcc leaves a trailing carriage return which upsets mingw
12255 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12257 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12260 # Accept absolute paths.
12262 re_direlt
='/[^/][^/]*/\.\./'
12263 # Canonicalize the pathname of ld
12264 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12265 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12266 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12268 test -z "$LD" && LD
="$ac_prog"
12271 # If it fails, then pretend we aren't using GCC.
12275 # If it is relative, then search for the first ld in PATH.
12276 with_gnu_ld
=unknown
12279 elif test "$with_gnu_ld" = yes; then
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12281 $as_echo_n "checking for GNU ld... " >&6; }
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12284 $as_echo_n "checking for non-GNU ld... " >&6; }
12286 if test "${lt_cv_path_LD+set}" = set; then :
12287 $as_echo_n "(cached) " >&6
12289 if test -z "$LD"; then
12290 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12291 for ac_dir
in $PATH; do
12293 test -z "$ac_dir" && ac_dir
=.
12294 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12295 lt_cv_path_LD
="$ac_dir/$ac_prog"
12296 # Check to see if the program is GNU ld. I'd rather use --version,
12297 # but apparently some variants of GNU ld only accept -v.
12298 # Break only if it was the GNU/non-GNU ld that we prefer.
12299 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12300 *GNU
* |
*'with BFD'*)
12301 test "$with_gnu_ld" != no
&& break
12304 test "$with_gnu_ld" != yes && break
12311 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12315 LD
="$lt_cv_path_LD"
12316 if test -n "$LD"; then
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12318 $as_echo "$LD" >&6; }
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12321 $as_echo "no" >&6; }
12323 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12325 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12326 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12327 $as_echo_n "(cached) " >&6
12329 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12330 case `$LD -v 2>&1 </dev/null` in
12331 *GNU
* |
*'with BFD'*)
12332 lt_cv_prog_gnu_ld
=yes
12335 lt_cv_prog_gnu_ld
=no
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12340 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12341 with_gnu_ld
=$lt_cv_prog_gnu_ld
12349 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12350 # archiving commands below assume that GNU ld is being used.
12351 if test "$with_gnu_ld" = yes; then
12352 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12353 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'
12355 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12356 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12358 # If archive_cmds runs LD, not CC, wlarc should be empty
12359 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12360 # investigate it a little bit more. (MM)
12363 # ancient GNU ld didn't support --whole-archive et. al.
12364 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12365 $GREP 'no-whole-archive' > /dev
/null
; then
12366 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12368 whole_archive_flag_spec_CXX
=
12374 # A generic and very simple default shared library creation
12375 # command for GNU C++ for the case where it uses the native
12376 # linker, instead of GNU ld. If possible, this setting should
12377 # overridden to take advantage of the native linker features on
12378 # the platform it is being used on.
12379 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12382 # Commands to make compiler produce verbose output that lists
12383 # what "hidden" libraries, object files and flags are used when
12384 # linking a shared library.
12385 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12393 # PORTME: fill in a description of your system's C++ link characteristics
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12395 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12399 # FIXME: insert proper C++ library support
12403 if test "$host_cpu" = ia64
; then
12404 # On IA64, the linker does run time linking by default, so we don't
12405 # have to do anything special.
12406 aix_use_runtimelinking
=no
12407 exp_sym_flag
='-Bexport'
12410 aix_use_runtimelinking
=no
12412 # Test if we are trying to use run time linking or normal
12413 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12414 # need to do runtime linking.
12415 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12416 for ld_flag
in $LDFLAGS; do
12419 aix_use_runtimelinking
=yes
12427 exp_sym_flag
='-bexport'
12428 no_entry_flag
='-bnoentry'
12431 # When large executables or shared objects are built, AIX ld can
12432 # have problems creating the table of contents. If linking a library
12433 # or program results in "error TOC overflow" add -mminimal-toc to
12434 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12435 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12437 archive_cmds_CXX
=''
12438 hardcode_direct_CXX
=yes
12439 hardcode_direct_absolute_CXX
=yes
12440 hardcode_libdir_separator_CXX
=':'
12441 link_all_deplibs_CXX
=yes
12442 file_list_spec_CXX
='${wl}-f,'
12444 if test "$GXX" = yes; then
12445 case $host_os in aix4.
[012]|aix4.
[012].
*)
12446 # We only want to do this on AIX 4.2 and lower, the check
12447 # below for broken collect2 doesn't work under 4.3+
12448 collect2name
=`${CC} -print-prog-name=collect2`
12449 if test -f "$collect2name" &&
12450 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12452 # We have reworked collect2
12455 # We have old collect2
12456 hardcode_direct_CXX
=unsupported
12457 # It fails to find uninstalled libraries when the uninstalled
12458 # path is not listed in the libpath. Setting hardcode_minus_L
12459 # to unsupported forces relinking
12460 hardcode_minus_L_CXX
=yes
12461 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12462 hardcode_libdir_separator_CXX
=
12465 shared_flag
='-shared'
12466 if test "$aix_use_runtimelinking" = yes; then
12467 shared_flag
="$shared_flag "'${wl}-G'
12471 if test "$host_cpu" = ia64
; then
12472 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12473 # chokes on -Wl,-G. The following line is correct:
12476 if test "$aix_use_runtimelinking" = yes; then
12477 shared_flag
='${wl}-G'
12479 shared_flag
='${wl}-bM:SRE'
12484 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12485 # It seems that -bexpall does not export symbols beginning with
12486 # underscore (_), so it is better to generate a list of symbols to
12488 always_export_symbols_CXX
=yes
12489 if test "$aix_use_runtimelinking" = yes; then
12490 # Warning - without using the other runtime loading flags (-brtl),
12491 # -berok will link without error, but may produce a broken library.
12492 allow_undefined_flag_CXX
='-berok'
12493 # Determine the default libpath from the value encoded in an empty
12495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12496 /* end confdefs.h. */
12506 if ac_fn_cxx_try_link
"$LINENO"; then :
12508 lt_aix_libpath_sed
='
12509 /Import File Strings/,/^$/ {
12515 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12516 # Check for a 64-bit object if we didn't find anything.
12517 if test -z "$aix_libpath"; then
12518 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12521 rm -f core conftest.err conftest.
$ac_objext \
12522 conftest
$ac_exeext conftest.
$ac_ext
12523 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12525 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12527 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"
12529 if test "$host_cpu" = ia64
; then
12530 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12531 allow_undefined_flag_CXX
="-z nodefs"
12532 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"
12534 # Determine the default libpath from the value encoded in an
12535 # empty executable.
12536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12537 /* end confdefs.h. */
12547 if ac_fn_cxx_try_link
"$LINENO"; then :
12549 lt_aix_libpath_sed
='
12550 /Import File Strings/,/^$/ {
12556 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12557 # Check for a 64-bit object if we didn't find anything.
12558 if test -z "$aix_libpath"; then
12559 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12562 rm -f core conftest.err conftest.
$ac_objext \
12563 conftest
$ac_exeext conftest.
$ac_ext
12564 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12566 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12567 # Warning - without using the other run time loading flags,
12568 # -berok will link without error, but may produce a broken library.
12569 no_undefined_flag_CXX
=' ${wl}-bernotok'
12570 allow_undefined_flag_CXX
=' ${wl}-berok'
12571 if test "$with_gnu_ld" = yes; then
12572 # We only use this code for GNU lds that support --whole-archive.
12573 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12575 # Exported symbols can be pulled into shared objects from archives
12576 whole_archive_flag_spec_CXX
='$convenience'
12578 archive_cmds_need_lc_CXX
=yes
12579 # This is similar to how AIX traditionally builds its shared
12581 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'
12587 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12588 allow_undefined_flag_CXX
=unsupported
12589 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12590 # support --undefined. This deserves some investigation. FIXME
12591 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12598 case $cc_basename in
12600 # FIXME: insert proper C++ library support
12606 cygwin
* | mingw
* | pw32
* | cegcc
*)
12607 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12608 # as there is no search path for DLLs.
12609 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12610 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12611 allow_undefined_flag_CXX
=unsupported
12612 always_export_symbols_CXX
=no
12613 enable_shared_with_static_runtimes_CXX
=yes
12615 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12616 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'
12617 # If the export-symbols file already is a .def file (1st line
12618 # is EXPORTS), use it as is; otherwise, prepend...
12619 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12620 cp $export_symbols $output_objdir/$soname.def;
12622 echo EXPORTS > $output_objdir/$soname.def;
12623 cat $export_symbols >> $output_objdir/$soname.def;
12625 $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'
12630 darwin
* | rhapsody
*)
12633 archive_cmds_need_lc_CXX
=no
12634 hardcode_direct_CXX
=no
12635 hardcode_automatic_CXX
=yes
12636 hardcode_shlibpath_var_CXX
=unsupported
12637 if test "$lt_cv_ld_force_load" = "yes"; then
12638 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\"`'
12640 whole_archive_flag_spec_CXX
=''
12642 link_all_deplibs_CXX
=yes
12643 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12644 case $cc_basename in
12645 ifort
*) _lt_dar_can_shared
=yes ;;
12646 *) _lt_dar_can_shared
=$GCC ;;
12648 if test "$_lt_dar_can_shared" = "yes"; then
12649 output_verbose_link_cmd
=func_echo_all
12650 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}"
12651 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12652 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}"
12653 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}"
12654 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12655 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}"
12656 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}"
12666 case $cc_basename in
12668 # FIXME: insert proper C++ library support
12672 # Green Hills C++ Compiler
12673 # FIXME: insert proper C++ library support
12677 # FIXME: insert proper C++ library support
12684 # C++ shared libraries reported to be fairly broken before
12690 archive_cmds_need_lc_CXX
=no
12693 freebsd
* | dragonfly
*)
12694 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12703 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12704 link_all_deplibs_CXX
=yes
12708 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12709 hardcode_libdir_separator_CXX
=:
12710 export_dynamic_flag_spec_CXX
='${wl}-E'
12711 hardcode_direct_CXX
=yes
12712 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12713 # but as the default
12714 # location of the library.
12716 case $cc_basename in
12718 # FIXME: insert proper C++ library support
12722 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'
12723 # Commands to make compiler produce verbose output that lists
12724 # what "hidden" libraries, object files and flags are used when
12725 # linking a shared library.
12727 # There doesn't appear to be a way to prevent this compiler from
12728 # explicitly linking system object files so we need to strip them
12729 # from the output so that they don't get included in the library
12731 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"'
12734 if test "$GXX" = yes; then
12735 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'
12737 # FIXME: insert proper C++ library support
12745 if test $with_gnu_ld = no
; then
12746 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12747 hardcode_libdir_separator_CXX
=:
12753 export_dynamic_flag_spec_CXX
='${wl}-E'
12759 hardcode_direct_CXX
=no
12760 hardcode_shlibpath_var_CXX
=no
12763 hardcode_direct_CXX
=yes
12764 hardcode_direct_absolute_CXX
=yes
12765 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12766 # but as the default
12767 # location of the library.
12771 case $cc_basename in
12773 # FIXME: insert proper C++ library support
12779 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12782 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12785 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12788 # Commands to make compiler produce verbose output that lists
12789 # what "hidden" libraries, object files and flags are used when
12790 # linking a shared library.
12792 # There doesn't appear to be a way to prevent this compiler from
12793 # explicitly linking system object files so we need to strip them
12794 # from the output so that they don't get included in the library
12796 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"'
12799 if test "$GXX" = yes; then
12800 if test $with_gnu_ld = no
; then
12803 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12806 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12809 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'
12814 # FIXME: insert proper C++ library support
12822 hardcode_direct_CXX
=no
12823 hardcode_shlibpath_var_CXX
=no
12824 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12825 export_dynamic_flag_spec_CXX
='${wl}-E'
12826 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12827 # Instead, shared libraries are loaded at an image base (0x10000000 by
12828 # default) and relocated if they conflict, which is a slow very memory
12829 # consuming and fragmenting process. To avoid this, we pick a random,
12830 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12831 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12832 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'
12833 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'
12836 case $cc_basename in
12839 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'
12841 # Archives containing C++ object files must be created using
12842 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12843 # necessary to make sure instantiated templates are included
12845 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12848 if test "$GXX" = yes; then
12849 if test "$with_gnu_ld" = no
; then
12850 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'
12852 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'
12855 link_all_deplibs_CXX
=yes
12858 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12859 hardcode_libdir_separator_CXX
=:
12860 inherit_rpath_CXX
=yes
12863 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12864 case $cc_basename in
12866 # Kuck and Associates, Inc. (KAI) C++ Compiler
12868 # KCC will only create a shared library if the output file
12869 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12870 # to its proper name (with version) after linking.
12871 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'
12872 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'
12873 # Commands to make compiler produce verbose output that lists
12874 # what "hidden" libraries, object files and flags are used when
12875 # linking a shared library.
12877 # There doesn't appear to be a way to prevent this compiler from
12878 # explicitly linking system object files so we need to strip them
12879 # from the output so that they don't get included in the library
12881 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"'
12883 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12884 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12886 # Archives containing C++ object files must be created using
12887 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12888 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12893 # version 8.0 and above of icpc choke on multiply defined symbols
12894 # if we add $predep_objects and $postdep_objects, however 7.1 and
12895 # earlier do not add the objects themselves.
12896 case `$CC -V 2>&1` in
12898 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12899 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'
12901 *) # Version 8.0 or newer
12904 ia64
*) tmp_idyn
=' -i_dynamic';;
12906 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12907 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'
12910 archive_cmds_need_lc_CXX
=no
12911 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12912 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12913 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12916 # Portland Group C++ compiler
12918 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12919 prelink_cmds_CXX
='tpldir=Template.dir~
12921 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12922 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12923 old_archive_cmds_CXX
='tpldir=Template.dir~
12925 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12926 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12928 archive_cmds_CXX
='tpldir=Template.dir~
12930 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12931 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12932 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12934 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12935 $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'
12937 *) # Version 6 and above use weak symbols
12938 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12939 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'
12943 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12944 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12945 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'
12949 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12950 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'
12952 runpath_var
=LD_RUN_PATH
12953 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12954 hardcode_libdir_separator_CXX
=:
12956 # Commands to make compiler produce verbose output that lists
12957 # what "hidden" libraries, object files and flags are used when
12958 # linking a shared library.
12960 # There doesn't appear to be a way to prevent this compiler from
12961 # explicitly linking system object files so we need to strip them
12962 # from the output so that they don't get included in the library
12964 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'
12966 xl
* | mpixl
* | bgxl
*)
12967 # IBM XL 8.0 on PPC, with GNU ld
12968 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12969 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12970 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12971 if test "x$supports_anon_versioning" = xyes
; then
12972 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12973 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12974 echo "local: *; };" >> $output_objdir/$libname.ver~
12975 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12979 case `$CC -V 2>&1 | sed 5q` in
12982 no_undefined_flag_CXX
=' -zdefs'
12983 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12984 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'
12985 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12986 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'
12987 compiler_needs_object_CXX
=yes
12989 # Not sure whether something based on
12990 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12992 output_verbose_link_cmd
='func_echo_all'
12994 # Archives containing C++ object files must be created using
12995 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12996 # necessary to make sure instantiated templates are included
12998 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13006 # FIXME: insert proper C++ library support
13011 # FIXME: insert proper C++ library support
13016 case $cc_basename in
13018 # FIXME: insert proper C++ library support
13022 # FIXME: insert proper C++ library support
13029 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13030 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13032 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13033 hardcode_direct_CXX
=yes
13034 hardcode_shlibpath_var_CXX
=no
13036 # Workaround some broken pre-1.5 toolchains
13037 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13045 # C++ shared libraries are fairly broken
13050 if test -f /usr
/libexec
/ld.so
; then
13051 hardcode_direct_CXX
=yes
13052 hardcode_shlibpath_var_CXX
=no
13053 hardcode_direct_absolute_CXX
=yes
13054 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13055 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13056 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13057 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13058 export_dynamic_flag_spec_CXX
='${wl}-E'
13059 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13061 output_verbose_link_cmd
=func_echo_all
13067 osf3
* | osf4
* | osf5
*)
13068 case $cc_basename in
13070 # Kuck and Associates, Inc. (KAI) C++ Compiler
13072 # KCC will only create a shared library if the output file
13073 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13074 # to its proper name (with version) after linking.
13075 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'
13077 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13078 hardcode_libdir_separator_CXX
=:
13080 # Archives containing C++ object files must be created using
13081 # the KAI C++ compiler.
13083 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13084 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13088 # Rational C++ 2.4.1
13089 # FIXME: insert proper C++ library support
13095 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13096 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'
13097 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13100 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13101 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'
13102 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13103 echo "-hidden">> $lib.exp~
13104 $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~
13106 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13110 hardcode_libdir_separator_CXX
=:
13112 # Commands to make compiler produce verbose output that lists
13113 # what "hidden" libraries, object files and flags are used when
13114 # linking a shared library.
13116 # There doesn't appear to be a way to prevent this compiler from
13117 # explicitly linking system object files so we need to strip them
13118 # from the output so that they don't get included in the library
13120 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"'
13123 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13124 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13127 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'
13130 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'
13134 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13135 hardcode_libdir_separator_CXX
=:
13137 # Commands to make compiler produce verbose output that lists
13138 # what "hidden" libraries, object files and flags are used when
13139 # linking a shared library.
13140 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13143 # FIXME: insert proper C++ library support
13151 # FIXME: insert proper C++ library support
13156 case $cc_basename in
13159 # FIXME: insert proper C++ library support
13164 # FIXME: insert proper C++ library support
13168 # FIXME: insert proper C++ library support
13175 case $cc_basename in
13177 # Sun C++ 4.2, 5.x and Centerline C++
13178 archive_cmds_need_lc_CXX
=yes
13179 no_undefined_flag_CXX
=' -zdefs'
13180 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13181 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13182 $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'
13184 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13185 hardcode_shlibpath_var_CXX
=no
13187 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13189 # The compiler driver will combine and reorder linker options,
13190 # but understands `-z linker_flag'.
13191 # Supported since Solaris 2.6 (maybe 2.5.1?)
13192 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13195 link_all_deplibs_CXX
=yes
13197 output_verbose_link_cmd
='func_echo_all'
13199 # Archives containing C++ object files must be created using
13200 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13201 # necessary to make sure instantiated templates are included
13203 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13206 # Green Hills C++ Compiler
13207 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13209 # The C++ compiler must be used to create the archive.
13210 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13213 # GNU C++ compiler with Solaris linker
13214 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13215 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13216 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13217 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13218 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13219 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13221 # Commands to make compiler produce verbose output that lists
13222 # what "hidden" libraries, object files and flags are used when
13223 # linking a shared library.
13224 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13226 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13228 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13229 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13230 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13232 # Commands to make compiler produce verbose output that lists
13233 # what "hidden" libraries, object files and flags are used when
13234 # linking a shared library.
13235 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13238 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13240 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13242 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13250 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13251 no_undefined_flag_CXX
='${wl}-z,text'
13252 archive_cmds_need_lc_CXX
=no
13253 hardcode_shlibpath_var_CXX
=no
13254 runpath_var
='LD_RUN_PATH'
13256 case $cc_basename in
13258 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13259 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13262 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13263 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13268 sysv5
* | sco3.2v5
* | sco5v6
*)
13269 # Note: We can NOT use -z defs as we might desire, because we do not
13270 # link with -lc, and that would cause any symbols used from libc to
13271 # always be unresolved, which means just about no library would
13272 # ever link correctly. If we're not using GNU ld we use -z text
13273 # though, which does catch some bad symbols but isn't as heavy-handed
13275 no_undefined_flag_CXX
='${wl}-z,text'
13276 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13277 archive_cmds_need_lc_CXX
=no
13278 hardcode_shlibpath_var_CXX
=no
13279 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13280 hardcode_libdir_separator_CXX
=':'
13281 link_all_deplibs_CXX
=yes
13282 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13283 runpath_var
='LD_RUN_PATH'
13285 case $cc_basename in
13287 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13288 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13289 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13290 '"$old_archive_cmds_CXX"
13291 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13292 '"$reload_cmds_CXX"
13295 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13296 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13302 case $cc_basename in
13304 # NonStop-UX NCC 3.20
13305 # FIXME: insert proper C++ library support
13309 # FIXME: insert proper C++ library support
13316 # FIXME: insert proper C++ library support
13321 # FIXME: insert proper C++ library support
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13327 $as_echo "$ld_shlibs_CXX" >&6; }
13328 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13334 ## There is no encapsulation within the following macros, do not change
13335 ## the running order or otherwise move them around unless you know exactly
13336 ## what you are doing...
13337 # Dependencies to place before and after the object being linked:
13338 predep_objects_CXX
=
13339 postdep_objects_CXX
=
13342 compiler_lib_search_path_CXX
=
13344 cat > conftest.
$ac_ext <<_LT_EOF
13348 Foo (void) { a = 0; }
13354 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13355 (eval $ac_compile) 2>&5
13357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13358 test $ac_status = 0; }; then
13359 # Parse the compiler output and extract the necessary
13360 # objects, libraries and library flags.
13362 # Sentinel used to keep track of whether or not we are before
13363 # the conftest object file.
13364 pre_test_object_deps_done
=no
13366 for p
in `eval "$output_verbose_link_cmd"`; do
13370 # Some compilers place space between "-{L,R}" and the path.
13371 # Remove the space.
13372 if test $p = "-L" ||
13373 test $p = "-R"; then
13380 if test "$pre_test_object_deps_done" = no
; then
13383 # Internal compiler library paths should come after those
13384 # provided the user. The postdeps already come after the
13385 # user supplied libs so there is no need to process them.
13386 if test -z "$compiler_lib_search_path_CXX"; then
13387 compiler_lib_search_path_CXX
="${prev}${p}"
13389 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13392 # The "-l" case would never come before the object being
13393 # linked, so don't bother handling this case.
13396 if test -z "$postdeps_CXX"; then
13397 postdeps_CXX
="${prev}${p}"
13399 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13405 # This assumes that the test object file only shows up
13406 # once in the compiler output.
13407 if test "$p" = "conftest.$objext"; then
13408 pre_test_object_deps_done
=yes
13412 if test "$pre_test_object_deps_done" = no
; then
13413 if test -z "$predep_objects_CXX"; then
13414 predep_objects_CXX
="$p"
13416 predep_objects_CXX
="$predep_objects_CXX $p"
13419 if test -z "$postdep_objects_CXX"; then
13420 postdep_objects_CXX
="$p"
13422 postdep_objects_CXX
="$postdep_objects_CXX $p"
13427 *) ;; # Ignore the rest.
13435 echo "libtool.m4: error: problem compiling CXX test program"
13438 $RM -f confest.
$objext
13440 # PORTME: override above test on systems where it is broken
13443 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13444 # hack all around it, let's just trust "g++" to DTRT.
13445 predep_objects_CXX
=
13446 postdep_objects_CXX
=
13451 case `$CC -V 2>&1 | sed 5q` in
13455 # The more standards-conforming stlport4 library is
13456 # incompatible with the Cstd library. Avoid specifying
13457 # it if it's in CXXFLAGS. Ignore libCrun as
13458 # -library=stlport4 depends on it.
13459 case " $CXX $CXXFLAGS " in
13460 *" -library=stlport4 "*)
13461 solaris_use_stlport4
=yes
13465 if test "$solaris_use_stlport4" != yes; then
13466 postdeps_CXX
='-library=Cstd -library=Crun'
13473 case $cc_basename in
13475 # The more standards-conforming stlport4 library is
13476 # incompatible with the Cstd library. Avoid specifying
13477 # it if it's in CXXFLAGS. Ignore libCrun as
13478 # -library=stlport4 depends on it.
13479 case " $CXX $CXXFLAGS " in
13480 *" -library=stlport4 "*)
13481 solaris_use_stlport4
=yes
13485 # Adding this requires a known-good setup of shared libraries for
13486 # Sun compiler versions before 5.6, else PIC objects from an old
13487 # archive will be linked into the output, leading to subtle bugs.
13488 if test "$solaris_use_stlport4" != yes; then
13489 postdeps_CXX
='-library=Cstd -library=Crun'
13497 case " $postdeps_CXX " in
13498 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13500 compiler_lib_search_dirs_CXX
=
13501 if test -n "${compiler_lib_search_path_CXX}"; then
13502 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13535 lt_prog_compiler_wl_CXX
=
13536 lt_prog_compiler_pic_CXX
=
13537 lt_prog_compiler_static_CXX
=
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13540 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13542 # C++ specific cases for pic, static, wl, etc.
13543 if test "$GXX" = yes; then
13544 lt_prog_compiler_wl_CXX
='-Wl,'
13545 lt_prog_compiler_static_CXX
='-static'
13549 # All AIX code is PIC.
13550 if test "$host_cpu" = ia64
; then
13551 # AIX 5 now supports IA64 processor
13552 lt_prog_compiler_static_CXX
='-Bstatic'
13554 lt_prog_compiler_pic_CXX
='-fPIC'
13560 # see comment about AmigaOS4 .so support
13561 lt_prog_compiler_pic_CXX
='-fPIC'
13564 # FIXME: we need at least 68020 code to build shared libraries, but
13565 # adding the `-m68020' flag to GCC prevents building anything better,
13567 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13572 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13573 # PIC is the default for these OSes.
13575 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13576 # This hack is so that the source file can tell whether it is being
13577 # built for inclusion in a dll (and should export symbols for example).
13578 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13579 # (--disable-auto-import) libraries
13580 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13582 darwin
* | rhapsody
*)
13583 # PIC is the default on this platform
13584 # Common symbols not allowed in MH_DYLIB files
13585 lt_prog_compiler_pic_CXX
='-fno-common'
13588 # DJGPP does not support shared libraries at all
13589 lt_prog_compiler_pic_CXX
=
13592 # PIC is the default for Haiku.
13593 # The "-static" flag exists, but is broken.
13594 lt_prog_compiler_static_CXX
=
13597 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13598 # Instead, we relocate shared libraries at runtime.
13601 if test -d /usr
/nec
; then
13602 lt_prog_compiler_pic_CXX
=-Kconform_pic
13606 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13607 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13608 # sets the default TLS model and affects inlining.
13613 lt_prog_compiler_pic_CXX
='-fPIC'
13618 # QNX uses GNU C++, but need to define -shared option too, otherwise
13619 # it will coredump.
13620 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13623 lt_prog_compiler_pic_CXX
='-fPIC'
13629 # All AIX code is PIC.
13630 if test "$host_cpu" = ia64
; then
13631 # AIX 5 now supports IA64 processor
13632 lt_prog_compiler_static_CXX
='-Bstatic'
13634 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13638 case $cc_basename in
13640 # Green Hills C++ Compiler
13641 # _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"
13646 case $cc_basename in
13648 lt_prog_compiler_pic_CXX
='-KPIC'
13651 # Green Hills C++ Compiler
13652 lt_prog_compiler_pic_CXX
='-pic'
13658 freebsd
* | dragonfly
*)
13659 # FreeBSD uses GNU C++
13661 hpux9
* | hpux10
* | hpux11
*)
13662 case $cc_basename in
13664 lt_prog_compiler_wl_CXX
='-Wl,'
13665 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13666 if test "$host_cpu" != ia64
; then
13667 lt_prog_compiler_pic_CXX
='+Z'
13671 lt_prog_compiler_wl_CXX
='-Wl,'
13672 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13678 lt_prog_compiler_pic_CXX
='+Z'
13687 # This is c89, which is MS Visual C++ (no shared libs)
13688 # Anyone wants to do a port?
13690 irix5
* | irix6
* | nonstopux
*)
13691 case $cc_basename in
13693 lt_prog_compiler_wl_CXX
='-Wl,'
13694 lt_prog_compiler_static_CXX
='-non_shared'
13695 # CC pic flag -KPIC is the default.
13701 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13702 case $cc_basename in
13705 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13706 lt_prog_compiler_pic_CXX
='-fPIC'
13709 # old Intel C++ for x86_64 which still supported -KPIC.
13710 lt_prog_compiler_wl_CXX
='-Wl,'
13711 lt_prog_compiler_pic_CXX
='-KPIC'
13712 lt_prog_compiler_static_CXX
='-static'
13715 # Intel C++, used to be incompatible with GCC.
13716 # ICC 10 doesn't accept -KPIC any more.
13717 lt_prog_compiler_wl_CXX
='-Wl,'
13718 lt_prog_compiler_pic_CXX
='-fPIC'
13719 lt_prog_compiler_static_CXX
='-static'
13722 # Portland Group C++ compiler
13723 lt_prog_compiler_wl_CXX
='-Wl,'
13724 lt_prog_compiler_pic_CXX
='-fpic'
13725 lt_prog_compiler_static_CXX
='-Bstatic'
13729 # Make sure the PIC flag is empty. It appears that all Alpha
13730 # Linux and Compaq Tru64 Unix objects are PIC.
13731 lt_prog_compiler_pic_CXX
=
13732 lt_prog_compiler_static_CXX
='-non_shared'
13734 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13735 # IBM XL 8.0, 9.0 on PPC and BlueGene
13736 lt_prog_compiler_wl_CXX
='-Wl,'
13737 lt_prog_compiler_pic_CXX
='-qpic'
13738 lt_prog_compiler_static_CXX
='-qstaticlink'
13741 case `$CC -V 2>&1 | sed 5q` in
13744 lt_prog_compiler_pic_CXX
='-KPIC'
13745 lt_prog_compiler_static_CXX
='-Bstatic'
13746 lt_prog_compiler_wl_CXX
='-Qoption ld '
13757 case $cc_basename in
13759 lt_prog_compiler_pic_CXX
='-W c,exportall'
13768 # QNX uses GNU C++, but need to define -shared option too, otherwise
13769 # it will coredump.
13770 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13772 osf3
* | osf4
* | osf5
*)
13773 case $cc_basename in
13775 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13778 # Rational C++ 2.4.1
13779 lt_prog_compiler_pic_CXX
='-pic'
13782 # Digital/Compaq C++
13783 lt_prog_compiler_wl_CXX
='-Wl,'
13784 # Make sure the PIC flag is empty. It appears that all Alpha
13785 # Linux and Compaq Tru64 Unix objects are PIC.
13786 lt_prog_compiler_pic_CXX
=
13787 lt_prog_compiler_static_CXX
='-non_shared'
13796 case $cc_basename in
13798 # Sun C++ 4.2, 5.x and Centerline C++
13799 lt_prog_compiler_pic_CXX
='-KPIC'
13800 lt_prog_compiler_static_CXX
='-Bstatic'
13801 lt_prog_compiler_wl_CXX
='-Qoption ld '
13804 # Green Hills C++ Compiler
13805 lt_prog_compiler_pic_CXX
='-PIC'
13812 case $cc_basename in
13815 lt_prog_compiler_pic_CXX
='-pic'
13816 lt_prog_compiler_static_CXX
='-Bstatic'
13820 lt_prog_compiler_pic_CXX
='-pic'
13826 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13827 case $cc_basename in
13829 lt_prog_compiler_wl_CXX
='-Wl,'
13830 lt_prog_compiler_pic_CXX
='-KPIC'
13831 lt_prog_compiler_static_CXX
='-Bstatic'
13836 case $cc_basename in
13838 # NonStop-UX NCC 3.20
13839 lt_prog_compiler_pic_CXX
='-KPIC'
13848 lt_prog_compiler_can_build_shared_CXX
=no
13854 # For platforms which do not support PIC, -DPIC is meaningless:
13856 lt_prog_compiler_pic_CXX
=
13859 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13863 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13868 # Check to make sure the PIC flag actually works.
13870 if test -n "$lt_prog_compiler_pic_CXX"; then
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13872 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13873 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13874 $as_echo_n "(cached) " >&6
13876 lt_cv_prog_compiler_pic_works_CXX
=no
13877 ac_outfile
=conftest.
$ac_objext
13878 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13879 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13880 # Insert the option either (1) after the last *FLAGS variable, or
13881 # (2) before a word containing "conftest.", or (3) at the end.
13882 # Note that $ac_compile itself does not contain backslashes and begins
13883 # with a dollar sign (not a hyphen), so the echo should work correctly.
13884 # The option is referenced via a variable to avoid confusing sed.
13885 lt_compile
=`echo "$ac_compile" | $SED \
13886 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13887 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13888 -e 's:$: $lt_compiler_flag:'`
13889 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13890 (eval "$lt_compile" 2>conftest.err
)
13892 cat conftest.err
>&5
13893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13894 if (exit $ac_status) && test -s "$ac_outfile"; then
13895 # The compiler can only warn and ignore the option if not recognized
13896 # So say no if there are warnings other than the usual output.
13897 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13898 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13899 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13900 lt_cv_prog_compiler_pic_works_CXX
=yes
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13907 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13909 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13910 case $lt_prog_compiler_pic_CXX in
13912 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13915 lt_prog_compiler_pic_CXX
=
13916 lt_prog_compiler_can_build_shared_CXX
=no
13924 # Check to make sure the static flag actually works.
13926 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13928 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13929 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13930 $as_echo_n "(cached) " >&6
13932 lt_cv_prog_compiler_static_works_CXX
=no
13933 save_LDFLAGS
="$LDFLAGS"
13934 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13935 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13936 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13937 # The linker can only warn and ignore the option if not recognized
13938 # So say no if there are warnings
13939 if test -s conftest.err
; then
13940 # Append any errors to the config.log.
13941 cat conftest.err
1>&5
13942 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13943 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13944 if diff conftest.exp conftest.er2
>/dev
/null
; then
13945 lt_cv_prog_compiler_static_works_CXX
=yes
13948 lt_cv_prog_compiler_static_works_CXX
=yes
13952 LDFLAGS
="$save_LDFLAGS"
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13956 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13958 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13961 lt_prog_compiler_static_CXX
=
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13968 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13969 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13970 $as_echo_n "(cached) " >&6
13972 lt_cv_prog_compiler_c_o_CXX
=no
13973 $RM -r conftest
2>/dev
/null
13977 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13979 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13980 # Insert the option either (1) after the last *FLAGS variable, or
13981 # (2) before a word containing "conftest.", or (3) at the end.
13982 # Note that $ac_compile itself does not contain backslashes and begins
13983 # with a dollar sign (not a hyphen), so the echo should work correctly.
13984 lt_compile
=`echo "$ac_compile" | $SED \
13985 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13986 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13987 -e 's:$: $lt_compiler_flag:'`
13988 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13989 (eval "$lt_compile" 2>out
/conftest.err
)
13991 cat out
/conftest.err
>&5
13992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13993 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13995 # The compiler can only warn and ignore the option if not recognized
13996 # So say no if there are warnings
13997 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13998 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13999 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14000 lt_cv_prog_compiler_c_o_CXX
=yes
14005 # SGI C++ compiler will create directory out/ii_files/ for
14006 # template instantiation
14007 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14008 $RM out
/* && rmdir out
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14015 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14020 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14021 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14022 $as_echo_n "(cached) " >&6
14024 lt_cv_prog_compiler_c_o_CXX
=no
14025 $RM -r conftest
2>/dev
/null
14029 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14031 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14032 # Insert the option either (1) after the last *FLAGS variable, or
14033 # (2) before a word containing "conftest.", or (3) at the end.
14034 # Note that $ac_compile itself does not contain backslashes and begins
14035 # with a dollar sign (not a hyphen), so the echo should work correctly.
14036 lt_compile
=`echo "$ac_compile" | $SED \
14037 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14038 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14039 -e 's:$: $lt_compiler_flag:'`
14040 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14041 (eval "$lt_compile" 2>out
/conftest.err
)
14043 cat out
/conftest.err
>&5
14044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14045 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14047 # The compiler can only warn and ignore the option if not recognized
14048 # So say no if there are warnings
14049 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14050 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14051 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14052 lt_cv_prog_compiler_c_o_CXX
=yes
14057 # SGI C++ compiler will create directory out/ii_files/ for
14058 # template instantiation
14059 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14060 $RM out
/* && rmdir out
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14067 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14072 hard_links
="nottested"
14073 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14074 # do not overwrite the value of need_locks provided by the user
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14076 $as_echo_n "checking if we can lock with hard links... " >&6; }
14079 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14081 ln conftest.a conftest.b
2>&5 || hard_links
=no
14082 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14084 $as_echo "$hard_links" >&6; }
14085 if test "$hard_links" = no
; then
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14087 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14097 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14099 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14102 # If we're using GNU nm, then we don't want the "-C" option.
14103 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14104 # Also, AIX nm treats weak defined symbols like other global defined
14105 # symbols, whereas GNU nm marks them as "W".
14106 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14107 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'
14109 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14113 export_symbols_cmds_CXX
="$ltdll_cmds"
14115 cygwin
* | mingw
* | cegcc
*)
14116 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'
14119 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14122 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14125 $as_echo "$ld_shlibs_CXX" >&6; }
14126 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14128 with_gnu_ld_CXX
=$with_gnu_ld
14136 # Do we need to explicitly link libc?
14138 case "x$archive_cmds_need_lc_CXX" in
14140 # Assume -lc should be added
14141 archive_cmds_need_lc_CXX
=yes
14143 if test "$enable_shared" = yes && test "$GCC" = yes; then
14144 case $archive_cmds_CXX in
14146 # FIXME: we may have to deal with multi-command sequences.
14149 # Test whether the compiler implicitly links with -lc since on some
14150 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14151 # to ld, don't add -lc before -lgcc.
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14153 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14154 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14155 $as_echo_n "(cached) " >&6
14158 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14160 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14161 (eval $ac_compile) 2>&5
14163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14164 test $ac_status = 0; } 2>conftest.err
; then
14167 libobjs
=conftest.
$ac_objext
14169 wl
=$lt_prog_compiler_wl_CXX
14170 pic_flag
=$lt_prog_compiler_pic_CXX
14176 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14177 allow_undefined_flag_CXX
=
14178 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14179 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14182 test $ac_status = 0; }
14184 lt_cv_archive_cmds_need_lc_CXX
=no
14186 lt_cv_archive_cmds_need_lc_CXX
=yes
14188 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14190 cat conftest.err
1>&5
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14196 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14197 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14268 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14270 library_names_spec
=
14271 libname_spec
='lib$name'
14275 postuninstall_cmds
=
14279 shlibpath_overrides_runpath
=unknown
14281 dynamic_linker
="$host_os ld.so"
14282 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14283 need_lib_prefix
=unknown
14284 hardcode_into_libs
=no
14286 # when you set need_version to no, make sure it does not cause -set_version
14287 # flags to be left without arguments
14288 need_version
=unknown
14293 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14294 shlibpath_var
=LIBPATH
14296 # AIX 3 has no versioning support, so we append a major version to the name.
14297 soname_spec
='${libname}${release}${shared_ext}$major'
14304 hardcode_into_libs
=yes
14305 if test "$host_cpu" = ia64
; then
14306 # AIX 5 supports IA64
14307 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14308 shlibpath_var
=LD_LIBRARY_PATH
14310 # With GCC up to 2.95.x, collect2 would create an import file
14311 # for dependence libraries. The import file would start with
14312 # the line `#! .'. This would cause the generated library to
14313 # depend on `.', always an invalid library. This was fixed in
14314 # development snapshots of GCC prior to 3.0.
14316 aix4 | aix4.
[01] | aix4.
[01].
*)
14317 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14319 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14322 can_build_shared
=no
14326 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14327 # soname into executable. Probably we can add versioning support to
14328 # collect2, so additional links can be useful in future.
14329 if test "$aix_use_runtimelinking" = yes; then
14330 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14331 # instead of lib<name>.a to let people know that these are not
14332 # typical AIX shared libraries.
14333 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14335 # We preserve .a as extension for shared libraries through AIX4.2
14336 # and later when we are not doing run time linking.
14337 library_names_spec
='${libname}${release}.a $libname.a'
14338 soname_spec
='${libname}${release}${shared_ext}$major'
14340 shlibpath_var
=LIBPATH
14347 # Since July 2007 AmigaOS4 officially supports .so libraries.
14348 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14352 library_names_spec
='$libname.ixlibrary $libname.a'
14353 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14354 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'
14360 library_names_spec
='${libname}${shared_ext}'
14361 dynamic_linker
="$host_os ld.so"
14362 shlibpath_var
=LIBRARY_PATH
14368 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14369 soname_spec
='${libname}${release}${shared_ext}$major'
14370 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14371 shlibpath_var
=LD_LIBRARY_PATH
14372 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14373 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14374 # the default ld.so.conf also contains /usr/contrib/lib and
14375 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14376 # libtool to hard-code these into programs
14379 cygwin
* | mingw
* | pw32
* | cegcc
*)
14380 version_type
=windows
14385 case $GCC,$host_os in
14386 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14387 library_names_spec
='$libname.dll.a'
14388 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14389 postinstall_cmds
='base_file=`basename \${file}`~
14390 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14391 dldir=$destdir/`dirname \$dlpath`~
14392 test -d \$dldir || mkdir -p \$dldir~
14393 $install_prog $dir/$dlname \$dldir/$dlname~
14394 chmod a+x \$dldir/$dlname~
14395 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14396 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14398 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14399 dlpath=$dir/\$dldll~
14401 shlibpath_overrides_runpath
=yes
14405 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14406 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14410 # MinGW DLLs use traditional 'lib' prefix
14411 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14414 # pw32 DLLs use 'pw' prefix rather than 'lib'
14415 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14421 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14424 dynamic_linker
='Win32 ld.exe'
14425 # FIXME: first we should search . and the directory the executable is in
14429 darwin
* | rhapsody
*)
14430 dynamic_linker
="$host_os dyld"
14431 version_type
=darwin
14434 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14435 soname_spec
='${libname}${release}${major}$shared_ext'
14436 shlibpath_overrides_runpath
=yes
14437 shlibpath_var
=DYLD_LIBRARY_PATH
14438 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14440 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14447 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14448 soname_spec
='${libname}${release}${shared_ext}$major'
14449 shlibpath_var
=LD_LIBRARY_PATH
14452 freebsd
* | dragonfly
*)
14453 # DragonFly does not have aout. When/if they implement a new
14454 # versioning mechanism, adjust this.
14455 if test -x /usr
/bin
/objformat
; then
14456 objformat
=`/usr/bin/objformat`
14459 freebsd
[23].
*) objformat
=aout
;;
14460 *) objformat
=elf
;;
14463 version_type
=freebsd-
$objformat
14464 case $version_type in
14466 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14471 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14475 shlibpath_var
=LD_LIBRARY_PATH
14478 shlibpath_overrides_runpath
=yes
14480 freebsd3.
[01]* | freebsdelf3.
[01]*)
14481 shlibpath_overrides_runpath
=yes
14482 hardcode_into_libs
=yes
14484 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14485 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14486 shlibpath_overrides_runpath
=no
14487 hardcode_into_libs
=yes
14489 *) # from 4.6 on, and DragonFly
14490 shlibpath_overrides_runpath
=yes
14491 hardcode_into_libs
=yes
14500 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14501 soname_spec
='${libname}${release}${shared_ext}$major'
14502 shlibpath_var
=LD_LIBRARY_PATH
14503 hardcode_into_libs
=yes
14510 dynamic_linker
="$host_os runtime_loader"
14511 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14512 soname_spec
='${libname}${release}${shared_ext}$major'
14513 shlibpath_var
=LIBRARY_PATH
14514 shlibpath_overrides_runpath
=yes
14515 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14516 hardcode_into_libs
=yes
14519 hpux9
* | hpux10
* | hpux11
*)
14520 # Give a soname corresponding to the major version so that dld.sl refuses to
14521 # link against other versions.
14528 hardcode_into_libs
=yes
14529 dynamic_linker
="$host_os dld.so"
14530 shlibpath_var
=LD_LIBRARY_PATH
14531 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14532 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14533 soname_spec
='${libname}${release}${shared_ext}$major'
14534 if test "X$HPUX_IA64_MODE" = X32
; then
14535 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14537 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14539 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14543 hardcode_into_libs
=yes
14544 dynamic_linker
="$host_os dld.sl"
14545 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14546 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14547 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14548 soname_spec
='${libname}${release}${shared_ext}$major'
14549 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14550 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14554 dynamic_linker
="$host_os dld.sl"
14555 shlibpath_var
=SHLIB_PATH
14556 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14557 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14558 soname_spec
='${libname}${release}${shared_ext}$major'
14561 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14562 postinstall_cmds
='chmod 555 $lib'
14563 # or fails outright, so override atomically:
14564 install_override_mode
=555
14571 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14572 soname_spec
='${libname}${release}${shared_ext}$major'
14573 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14574 shlibpath_var
=LD_LIBRARY_PATH
14575 shlibpath_overrides_runpath
=no
14576 hardcode_into_libs
=yes
14579 irix5
* | irix6
* | nonstopux
*)
14581 nonstopux
*) version_type
=nonstopux
;;
14583 if test "$lt_cv_prog_gnu_ld" = yes; then
14591 soname_spec
='${libname}${release}${shared_ext}$major'
14592 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14594 irix5
* | nonstopux
*)
14595 libsuff
= shlibsuff
=
14598 case $LD in # libtool.m4 will add one of these switches to LD
14599 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14600 libsuff
= shlibsuff
= libmagic
=32-bit;;
14601 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14602 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14603 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14604 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14605 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14609 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14610 shlibpath_overrides_runpath
=no
14611 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14612 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14613 hardcode_into_libs
=yes
14616 # No shared lib support for Linux oldld, aout, or coff.
14617 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14621 # This must be Linux ELF.
14622 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14626 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14627 soname_spec
='${libname}${release}${shared_ext}$major'
14628 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14629 shlibpath_var
=LD_LIBRARY_PATH
14630 shlibpath_overrides_runpath
=no
14632 # Some binutils ld are patched to set DT_RUNPATH
14633 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14634 $as_echo_n "(cached) " >&6
14636 lt_cv_shlibpath_overrides_runpath
=no
14637 save_LDFLAGS
=$LDFLAGS
14638 save_libdir
=$libdir
14639 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14640 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14642 /* end confdefs.h. */
14652 if ac_fn_cxx_try_link
"$LINENO"; then :
14653 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14654 lt_cv_shlibpath_overrides_runpath
=yes
14657 rm -f core conftest.err conftest.
$ac_objext \
14658 conftest
$ac_exeext conftest.
$ac_ext
14659 LDFLAGS
=$save_LDFLAGS
14660 libdir
=$save_libdir
14664 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14666 # This implies no fast_install, which is unacceptable.
14667 # Some rework will be needed to allow for fast_install
14668 # before this can be enabled.
14669 hardcode_into_libs
=yes
14671 # Append ld.so.conf contents to the search path
14672 if test -f /etc
/ld.so.conf
; then
14673 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' ' '`
14674 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14677 # We used to test for /lib/ld.so.1 and disable shared libraries on
14678 # powerpc, because MkLinux only supported shared libraries with the
14679 # GNU dynamic linker. Since this was broken with cross compilers,
14680 # most powerpc-linux boxes support dynamic linking these days and
14681 # people can always --disable-shared, the test was removed, and we
14682 # assume the GNU/Linux dynamic linker is in use.
14683 dynamic_linker
='GNU/Linux ld.so'
14690 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14691 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14692 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14693 dynamic_linker
='NetBSD (a.out) ld.so'
14695 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14696 soname_spec
='${libname}${release}${shared_ext}$major'
14697 dynamic_linker
='NetBSD ld.elf_so'
14699 shlibpath_var
=LD_LIBRARY_PATH
14700 shlibpath_overrides_runpath
=yes
14701 hardcode_into_libs
=yes
14706 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14707 shlibpath_var
=LD_LIBRARY_PATH
14708 shlibpath_overrides_runpath
=yes
14715 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14716 soname_spec
='${libname}${release}${shared_ext}$major'
14717 shlibpath_var
=LD_LIBRARY_PATH
14718 shlibpath_overrides_runpath
=no
14719 hardcode_into_libs
=yes
14720 dynamic_linker
='ldqnx.so'
14725 sys_lib_dlsearch_path_spec
="/usr/lib"
14727 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14729 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14730 *) need_version
=no
;;
14732 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14733 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14734 shlibpath_var
=LD_LIBRARY_PATH
14735 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14737 openbsd2.
[89] | openbsd2.
[89].
*)
14738 shlibpath_overrides_runpath
=no
14741 shlibpath_overrides_runpath
=yes
14745 shlibpath_overrides_runpath
=yes
14750 libname_spec
='$name'
14753 library_names_spec
='$libname${shared_ext} $libname.a'
14754 dynamic_linker
='OS/2 ld.exe'
14755 shlibpath_var
=LIBPATH
14758 osf3
* | osf4
* | osf5
*)
14762 soname_spec
='${libname}${release}${shared_ext}$major'
14763 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14764 shlibpath_var
=LD_LIBRARY_PATH
14765 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14766 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14777 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14778 soname_spec
='${libname}${release}${shared_ext}$major'
14779 shlibpath_var
=LD_LIBRARY_PATH
14780 shlibpath_overrides_runpath
=yes
14781 hardcode_into_libs
=yes
14782 # ldd complains unless libraries are executable
14783 postinstall_cmds
='chmod +x $lib'
14788 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14789 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14790 shlibpath_var
=LD_LIBRARY_PATH
14791 shlibpath_overrides_runpath
=yes
14792 if test "$with_gnu_ld" = yes; then
14800 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14801 soname_spec
='${libname}${release}${shared_ext}$major'
14802 shlibpath_var
=LD_LIBRARY_PATH
14803 case $host_vendor in
14805 shlibpath_overrides_runpath
=no
14807 runpath_var
=LD_RUN_PATH
14815 shlibpath_overrides_runpath
=no
14816 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14822 if test -d /usr
/nec
;then
14824 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14825 soname_spec
='$libname${shared_ext}.$major'
14826 shlibpath_var
=LD_LIBRARY_PATH
14830 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14831 version_type
=freebsd-elf
14834 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14835 soname_spec
='${libname}${release}${shared_ext}$major'
14836 shlibpath_var
=LD_LIBRARY_PATH
14837 shlibpath_overrides_runpath
=yes
14838 hardcode_into_libs
=yes
14839 if test "$with_gnu_ld" = yes; then
14840 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14842 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14845 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14849 sys_lib_dlsearch_path_spec
='/usr/lib'
14853 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14857 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14858 shlibpath_var
=LD_LIBRARY_PATH
14859 shlibpath_overrides_runpath
=no
14860 hardcode_into_libs
=yes
14865 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14866 soname_spec
='${libname}${release}${shared_ext}$major'
14867 shlibpath_var
=LD_LIBRARY_PATH
14874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14875 $as_echo "$dynamic_linker" >&6; }
14876 test "$dynamic_linker" = no
&& can_build_shared
=no
14878 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14879 if test "$GCC" = yes; then
14880 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14883 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14884 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14886 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14887 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14928 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14929 hardcode_action_CXX
=
14930 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14931 test -n "$runpath_var_CXX" ||
14932 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14934 # We can hardcode non-existent directories.
14935 if test "$hardcode_direct_CXX" != no
&&
14936 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14937 # have to relink, otherwise we might link with an installed library
14938 # when we should be linking with a yet-to-be-installed one
14939 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14940 test "$hardcode_minus_L_CXX" != no
; then
14941 # Linking always hardcodes the temporary library directory.
14942 hardcode_action_CXX
=relink
14944 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14945 hardcode_action_CXX
=immediate
14948 # We cannot hardcode anything, or else we can only hardcode existing
14950 hardcode_action_CXX
=unsupported
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14953 $as_echo "$hardcode_action_CXX" >&6; }
14955 if test "$hardcode_action_CXX" = relink ||
14956 test "$inherit_rpath_CXX" = yes; then
14957 # Fast installation is not supported
14958 enable_fast_install
=no
14959 elif test "$shlibpath_overrides_runpath" = yes ||
14960 test "$enable_shared" = no
; then
14961 # Fast installation is not necessary
14962 enable_fast_install
=needless
14971 fi # test -n "$compiler"
14977 with_gnu_ld
=$lt_save_with_gnu_ld
14978 lt_cv_path_LDCXX
=$lt_cv_path_LD
14979 lt_cv_path_LD
=$lt_save_path_LD
14980 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14981 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14982 fi # test "$_lt_caught_CXX_error" != yes
14985 ac_cpp
='$CPP $CPPFLAGS'
14986 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14987 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14988 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15002 ac_config_commands
="$ac_config_commands libtool"
15007 # Only expand once:
15013 XCFLAGS
="-Wall -Wextra"
15016 if test "${multilib}" = "yes"; then
15017 multilib_arg
="--enable-multilib"
15022 ac_config_files
="$ac_config_files Makefile libmpx.spec"
15024 ac_config_headers
="$ac_config_headers config.h"
15026 ac_config_files
="$ac_config_files mpxrt/Makefile mpxwrap/Makefile"
15029 cat >confcache
<<\_ACEOF
15030 # This file is a shell script that caches the results of configure
15031 # tests run on this system so they can be shared between configure
15032 # scripts and configure runs, see configure's option --config-cache.
15033 # It is not useful on other systems. If it contains results you don't
15034 # want to keep, you may remove or edit it.
15036 # config.status only pays attention to the cache file if you give it
15037 # the --recheck option to rerun configure.
15039 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15040 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15041 # following values.
15045 # The following way of writing the cache mishandles newlines in values,
15046 # but we know of no workaround that is simple, portable, and efficient.
15047 # So, we kill variables containing newlines.
15048 # Ultrix sh set writes to stderr and can't be redirected directly,
15049 # and sets the high bit in the cache file unless we assign to the vars.
15051 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15052 eval ac_val
=\$
$ac_var
15056 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15057 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15060 _ | IFS | as_nl
) ;; #(
15061 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15062 *) { eval $ac_var=; unset $ac_var;} ;;
15068 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15069 *${as_nl}ac_space
=\
*)
15070 # `set' does not quote correctly, so add quotes: double-quote
15071 # substitution turns \\\\ into \\, and sed turns \\ into \.
15074 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15077 # `set' quotes correctly as required by POSIX, so do not add quotes.
15078 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15087 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15089 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15091 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15092 if test -w "$cache_file"; then
15093 test "x$cache_file" != "x/dev/null" &&
15094 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15095 $as_echo "$as_me: updating cache $cache_file" >&6;}
15096 cat confcache
>$cache_file
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15099 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15104 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15105 # Let make expand exec_prefix.
15106 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15108 DEFS
=-DHAVE_CONFIG_H
15112 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15113 # 1. Remove the extension, and $U if already installed.
15114 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15115 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15116 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15117 # will be set to the directory where LIBOBJS objects are built.
15118 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15119 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15121 LIBOBJS
=$ac_libobjs
15123 LTLIBOBJS
=$ac_ltlibobjs
15126 if test -z "${LIBMPX_SUPPORTED_TRUE}" && test -z "${LIBMPX_SUPPORTED_FALSE}"; then
15127 as_fn_error
"conditional \"LIBMPX_SUPPORTED\" was never defined.
15128 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15130 if test -n "$EXEEXT"; then
15132 am__EXEEXT_FALSE
='#'
15134 am__EXEEXT_TRUE
='#'
15138 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15139 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
15140 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15142 if test -z "${MPX_AS_SUPPORTED_TRUE}" && test -z "${MPX_AS_SUPPORTED_FALSE}"; then
15143 as_fn_error
"conditional \"MPX_AS_SUPPORTED\" was never defined.
15144 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15147 : ${CONFIG_STATUS=./config.status}
15149 ac_clean_files_save
=$ac_clean_files
15150 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15152 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15154 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15156 # Generated by $as_me.
15157 # Run this file to recreate the current configuration.
15158 # Compiler output produced by configure, useful for debugging
15159 # configure, is in config.log if it exists.
15162 ac_cs_recheck=false
15165 SHELL=\${CONFIG_SHELL-$SHELL}
15168 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15169 ## -------------------- ##
15170 ## M4sh Initialization. ##
15171 ## -------------------- ##
15173 # Be more Bourne compatible
15174 DUALCASE
=1; export DUALCASE
# for MKS sh
15175 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15178 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15179 # is contrary to our usage. Disable this feature.
15180 alias -g '${1+"$@"}'='"$@"'
15181 setopt NO_GLOB_SUBST
15183 case `(set -o) 2>/dev/null` in #(
15195 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15196 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15197 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15198 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15199 # Prefer a ksh shell builtin over an external printf program on Solaris,
15200 # but without wasting forks for bash or zsh.
15201 if test -z "$BASH_VERSION$ZSH_VERSION" \
15202 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15203 as_echo='print
-r --'
15204 as_echo_n='print
-rn --'
15205 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15206 as_echo='printf %s
\n'
15207 as_echo_n='printf %s
'
15209 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15210 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15211 as_echo_n='/usr
/ucb
/echo -n'
15213 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15214 as_echo_n_body='eval
15218 expr "X$arg" : "X\\(.*\\)$as_nl";
15219 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15221 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15223 export as_echo_n_body
15224 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15226 export as_echo_body
15227 as_echo='sh
-c $as_echo_body as_echo
'
15230 # The user is always right.
15231 if test "${PATH_SEPARATOR+set}" != set; then
15233 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15234 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15241 # We need space, tab and new line, in precisely that order. Quoting is
15242 # there to prevent editors from complaining about space-tab.
15243 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15244 # splitting by setting IFS to empty value.)
15247 # Find who we are. Look in the path if we contain no directory separator.
15249 *[\\/]* ) as_myself=$0 ;;
15250 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15251 for as_dir in $PATH
15254 test -z "$as_dir" && as_dir=.
15255 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15261 # We did not find ourselves, most probably we were run as `sh COMMAND'
15262 # in which case we are not to be found in the path.
15263 if test "x$as_myself" = x
; then
15266 if test ! -f "$as_myself"; then
15267 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15271 # Unset variables that we do not need and which cause bugs (e.g. in
15272 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15273 # suppresses any "Segmentation fault" message there. '((' could
15274 # trigger a bug in pdksh 5.2.14.
15275 for as_var
in BASH_ENV ENV MAIL MAILPATH
15276 do eval test x\
${$as_var+set} = xset \
15277 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15290 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15293 # as_fn_error ERROR [LINENO LOG_FD]
15294 # ---------------------------------
15295 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15296 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15297 # script with status $?, using 1 if that was 0.
15300 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15302 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15303 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15305 $as_echo "$as_me: error: $1" >&2
15306 as_fn_exit
$as_status
15310 # as_fn_set_status STATUS
15311 # -----------------------
15312 # Set $? to STATUS, without forking.
15313 as_fn_set_status
()
15316 } # as_fn_set_status
15318 # as_fn_exit STATUS
15319 # -----------------
15320 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15324 as_fn_set_status
$1
15330 # Portably unset VAR.
15333 { eval $1=; unset $1;}
15335 as_unset
=as_fn_unset
15336 # as_fn_append VAR VALUE
15337 # ----------------------
15338 # Append the text in VALUE to the end of the definition contained in VAR. Take
15339 # advantage of any shell optimizations that allow amortized linear growth over
15340 # repeated appends, instead of the typical quadratic growth present in naive
15342 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15343 eval 'as_fn_append ()
15354 # as_fn_arith ARG...
15355 # ------------------
15356 # Perform arithmetic evaluation on the ARGs, and store the result in the
15357 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15358 # must be portable across $(()) and expr.
15359 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15360 eval 'as_fn_arith ()
15367 as_val
=`expr "$@" || test $? -eq 1`
15372 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15373 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15379 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15380 as_basename
=basename
15385 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15391 as_me
=`$as_basename -- "$0" ||
15392 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15393 X"$0" : 'X\(//\)$' \| \
15394 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15396 sed '/^.*\/\([^/][^/]*\)\/*$/{
15410 # Avoid depending upon Character Ranges.
15411 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15412 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15413 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15414 as_cr_digits
='0123456789'
15415 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15417 ECHO_C
= ECHO_N
= ECHO_T
=
15418 case `echo -n x` in #(((((
15420 case `echo 'xy\c'` in
15421 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15423 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15430 rm -f conf$$ conf$$.exe conf$$.
file
15431 if test -d conf$$.dir
; then
15432 rm -f conf$$.dir
/conf$$.
file
15435 mkdir conf$$.dir
2>/dev
/null
15437 if (echo >conf$$.
file) 2>/dev
/null
; then
15438 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15440 # ... but there are two gotchas:
15441 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15442 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15443 # In both cases, we have to default to `cp -p'.
15444 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15446 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15454 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15455 rmdir conf$$.dir
2>/dev
/null
15460 # Create "$as_dir" as a directory, including parents if necessary.
15465 -*) as_dir
=.
/$as_dir;;
15467 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15471 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15472 *) as_qdir
=$as_dir;;
15474 as_dirs
="'$as_qdir' $as_dirs"
15475 as_dir
=`$as_dirname -- "$as_dir" ||
15476 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15477 X"$as_dir" : 'X\(//\)[^/]' \| \
15478 X"$as_dir" : 'X\(//\)$' \| \
15479 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15480 $as_echo X"$as_dir" |
15481 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15485 /^X\(\/\/\)[^/].*/{
15498 test -d "$as_dir" && break
15500 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15501 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15505 if mkdir
-p .
2>/dev
/null
; then
15506 as_mkdir_p
='mkdir -p "$as_dir"'
15508 test -d .
/-p && rmdir .
/-p
15512 if test -x / >/dev
/null
2>&1; then
15513 as_test_x
='test -x'
15515 if ls -dL / >/dev
/null
2>&1; then
15522 if test -d "$1"; then
15528 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15529 ???[sx]*):;;*)false;;esac;fi
15533 as_executable_p
=$as_test_x
15535 # Sed expression to map a string onto a valid CPP name.
15536 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15538 # Sed expression to map a string onto a valid variable name.
15539 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15543 ## ----------------------------------- ##
15544 ## Main body of $CONFIG_STATUS script. ##
15545 ## ----------------------------------- ##
15547 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15549 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15550 # Save the log message, to keep $0 and so on meaningful, and to
15551 # report actual input values of CONFIG_FILES etc. instead of their
15552 # values after options handling.
15554 This file was extended by package-unused $as_me version-unused, which was
15555 generated by GNU Autoconf 2.64. Invocation command line was
15557 CONFIG_FILES = $CONFIG_FILES
15558 CONFIG_HEADERS = $CONFIG_HEADERS
15559 CONFIG_LINKS = $CONFIG_LINKS
15560 CONFIG_COMMANDS = $CONFIG_COMMANDS
15563 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15568 case $ac_config_files in *"
15569 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15572 case $ac_config_headers in *"
15573 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15577 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15578 # Files that config.status was made for.
15579 config_files="$ac_config_files"
15580 config_headers="$ac_config_headers"
15581 config_commands="$ac_config_commands"
15585 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15587 \`$as_me' instantiates files and other configuration actions
15588 from templates according to the current configuration. Unless the files
15589 and actions are specified as TAGs, all are instantiated by default.
15591 Usage: $0 [OPTION]... [TAG]...
15593 -h, --help print this help, then exit
15594 -V, --version print version number and configuration settings, then exit
15595 -q, --quiet, --silent
15596 do not print progress messages
15597 -d, --debug don't remove temporary files
15598 --recheck update $as_me by reconfiguring in the same conditions
15599 --file=FILE[:TEMPLATE]
15600 instantiate the configuration file FILE
15601 --header=FILE[:TEMPLATE]
15602 instantiate the configuration header FILE
15604 Configuration files:
15607 Configuration headers:
15610 Configuration commands:
15613 Report bugs to <libmpx>."
15616 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15618 package-unused config.status version-unused
15619 configured by $0, generated by GNU Autoconf 2.64,
15620 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15622 Copyright (C) 2009 Free Software Foundation, Inc.
15623 This config.status script is free software; the Free Software Foundation
15624 gives unlimited permission to copy, distribute and modify it."
15631 test -n "\$AWK" || AWK=awk
15634 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15635 # The default lists apply if the user does not specify any file.
15641 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15642 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15653 # Handling of the options.
15654 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15656 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15657 $as_echo "$ac_cs_version"; exit ;;
15658 --debug |
--debu |
--deb |
--de |
--d |
-d )
15660 --file |
--fil |
--fi |
--f )
15663 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15665 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15666 ac_need_defaults
=false
;;
15667 --header |
--heade |
--head |
--hea )
15670 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15672 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15673 ac_need_defaults
=false
;;
15675 # Conflict between --help and --header
15676 as_fn_error
"ambiguous option: \`$1'
15677 Try \`$0 --help' for more information.";;
15678 --help |
--hel |
-h )
15679 $as_echo "$ac_cs_usage"; exit ;;
15680 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15681 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15684 # This is an error.
15685 -*) as_fn_error
"unrecognized option: \`$1'
15686 Try \`$0 --help' for more information." ;;
15688 *) as_fn_append ac_config_targets
" $1"
15689 ac_need_defaults
=false
;;
15695 ac_configure_extra_args
=
15697 if $ac_cs_silent; then
15699 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15703 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15704 if \$ac_cs_recheck; then
15705 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15707 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15708 CONFIG_SHELL='$SHELL'
15709 export CONFIG_SHELL
15714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15718 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15719 ## Running $as_me. ##
15725 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15733 with_multisubdir="$with_multisubdir"
15734 with_multisrctop="$with_multisrctop"
15735 with_target_subdir="$with_target_subdir"
15736 ac_configure_args="${multilib_arg} ${ac_configure_args}"
15737 multi_basedir="$multi_basedir"
15738 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
15741 GFORTRAN="$GFORTRAN"
15745 # The HP-UX ksh and POSIX shell print the target directory to stdout
15746 # if CDPATH is set.
15747 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15749 sed_quote_subst='$sed_quote_subst'
15750 double_quote_subst='$double_quote_subst'
15751 delay_variable_subst='$delay_variable_subst'
15752 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15753 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15754 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15755 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15756 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15757 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15758 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15759 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15760 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15761 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15762 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15763 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15764 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15765 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15766 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15767 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15768 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15769 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15770 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15771 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15772 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15773 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15774 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15775 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15776 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15777 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15778 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15779 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15780 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15781 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15782 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15783 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15784 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15785 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15786 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15787 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15788 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15789 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15790 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15791 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15792 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15793 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15794 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15795 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15796 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15797 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15798 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15799 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15800 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"`'
15801 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15802 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15803 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15804 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15805 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15806 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15807 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15808 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15809 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15810 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15811 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15812 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15813 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15814 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15815 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15816 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15817 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15818 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15819 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15820 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15821 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15822 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15823 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15824 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15825 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15826 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15827 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15828 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15829 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15830 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15831 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15832 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15833 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15834 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15835 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15836 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15837 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15838 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15839 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15840 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15841 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15842 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15843 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15844 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15845 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15846 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15847 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15848 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15849 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15850 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15851 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15852 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15853 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15854 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15855 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15856 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15857 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15858 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15859 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15860 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15861 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15862 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15863 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15864 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15865 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15866 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15867 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15868 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15869 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15870 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15871 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15872 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
15873 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
15874 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
15875 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
15876 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
15877 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
15878 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
15879 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
15880 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15881 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15882 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
15883 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
15884 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
15885 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
15886 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
15887 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
15888 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
15889 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
15890 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
15891 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15892 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15893 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
15894 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15895 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15896 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15897 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15898 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15899 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15900 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
15901 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15902 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15903 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15904 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
15905 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
15906 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
15907 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
15908 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
15909 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
15910 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
15911 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
15912 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
15913 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
15914 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
15915 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15916 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15917 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15918 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15919 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
15920 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
15921 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
15922 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15923 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15924 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
15925 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
15926 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
15929 LTCFLAGS='$LTCFLAGS'
15930 compiler='$compiler_DEFAULT'
15932 # A function that is used when there is no print builtin or printf.
15933 func_fallback_echo ()
15935 eval 'cat <<_LTECHO_EOF
15940 # Quote evaled strings.
15954 deplibs_check_method \
15963 lt_cv_sys_global_symbol_pipe \
15964 lt_cv_sys_global_symbol_to_cdecl \
15965 lt_cv_sys_global_symbol_to_c_name_address \
15966 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15967 lt_prog_compiler_no_builtin_flag \
15968 lt_prog_compiler_wl \
15969 lt_prog_compiler_pic \
15970 lt_prog_compiler_static \
15971 lt_cv_prog_compiler_c_o \
15979 export_dynamic_flag_spec \
15980 whole_archive_flag_spec \
15981 compiler_needs_object \
15983 allow_undefined_flag \
15984 no_undefined_flag \
15985 hardcode_libdir_flag_spec \
15986 hardcode_libdir_flag_spec_ld \
15987 hardcode_libdir_separator \
15992 variables_saved_for_relink \
15994 library_names_spec \
15996 install_override_mode \
16000 compiler_lib_search_dirs \
16005 compiler_lib_search_path \
16009 lt_prog_compiler_no_builtin_flag_CXX \
16010 lt_prog_compiler_wl_CXX \
16011 lt_prog_compiler_pic_CXX \
16012 lt_prog_compiler_static_CXX \
16013 lt_cv_prog_compiler_c_o_CXX \
16014 export_dynamic_flag_spec_CXX \
16015 whole_archive_flag_spec_CXX \
16016 compiler_needs_object_CXX \
16018 allow_undefined_flag_CXX \
16019 no_undefined_flag_CXX \
16020 hardcode_libdir_flag_spec_CXX \
16021 hardcode_libdir_flag_spec_ld_CXX \
16022 hardcode_libdir_separator_CXX \
16023 fix_srcfile_path_CXX \
16024 exclude_expsyms_CXX \
16025 include_expsyms_CXX \
16026 file_list_spec_CXX \
16027 compiler_lib_search_dirs_CXX \
16028 predep_objects_CXX \
16029 postdep_objects_CXX \
16032 compiler_lib_search_path_CXX; do
16033 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16034 *[\\\\\\\`\\"\\\$]*)
16035 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16038 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16043 # Double-quote double-evaled strings.
16044 for var in reload_cmds \
16045 old_postinstall_cmds \
16046 old_postuninstall_cmds \
16048 extract_expsyms_cmds \
16049 old_archive_from_new_cmds \
16050 old_archive_from_expsyms_cmds \
16052 archive_expsym_cmds \
16054 module_expsym_cmds \
16055 export_symbols_cmds \
16058 postuninstall_cmds \
16060 sys_lib_search_path_spec \
16061 sys_lib_dlsearch_path_spec \
16063 old_archive_cmds_CXX \
16064 old_archive_from_new_cmds_CXX \
16065 old_archive_from_expsyms_cmds_CXX \
16067 archive_expsym_cmds_CXX \
16069 module_expsym_cmds_CXX \
16070 export_symbols_cmds_CXX \
16071 prelink_cmds_CXX; do
16072 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16073 *[\\\\\\\`\\"\\\$]*)
16074 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16077 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16082 ac_aux_dir='$ac_aux_dir'
16083 xsi_shell='$xsi_shell'
16084 lt_shell_append='$lt_shell_append'
16086 # See if we are running on zsh, and set the options which allow our
16087 # commands through without removal of \ escapes INIT.
16088 if test -n "\${ZSH_VERSION+set}" ; then
16089 setopt NO_GLOB_SUBST
16095 TIMESTAMP='$TIMESTAMP'
16106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16108 # Handling of arguments.
16109 for ac_config_target
in $ac_config_targets
16111 case $ac_config_target in
16112 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16113 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16114 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16115 "libmpx.spec") CONFIG_FILES
="$CONFIG_FILES libmpx.spec" ;;
16116 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
16117 "mpxrt/Makefile") CONFIG_FILES
="$CONFIG_FILES mpxrt/Makefile" ;;
16118 "mpxwrap/Makefile") CONFIG_FILES
="$CONFIG_FILES mpxwrap/Makefile" ;;
16120 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16125 # If the user did not use the arguments to specify the items to instantiate,
16126 # then the envvar interface is used. Set only those that are not.
16127 # We use the long form for the default assignment because of an extremely
16128 # bizarre bug on SunOS 4.1.3.
16129 if $ac_need_defaults; then
16130 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16131 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16132 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16135 # Have a temporary directory for convenience. Make it in the build tree
16136 # simply because there is no reason against having it here, and in addition,
16137 # creating and moving files from /tmp can sometimes cause problems.
16138 # Hook for its removal unless debugging.
16139 # Note that there is a small window in which the directory will not be cleaned:
16140 # after its creation but before its name has been assigned to `$tmp'.
16144 trap 'exit_status=$?
16145 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16147 trap 'as_fn_exit 1' 1 2 13 15
16149 # Create a (secure) tmp directory for tmp files.
16152 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16153 test -n "$tmp" && test -d "$tmp"
16156 tmp
=.
/conf$$
-$RANDOM
16157 (umask 077 && mkdir
"$tmp")
16158 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
16160 # Set up the scripts for CONFIG_FILES section.
16161 # No need to generate them if there are no CONFIG_FILES.
16162 # This happens for instance with `./config.status config.h'.
16163 if test -n "$CONFIG_FILES"; then
16166 ac_cr
=`echo X | tr X '\015'`
16167 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16168 # But we know of no other shell where ac_cr would be empty at this
16169 # point, so we can use a bashism as a fallback.
16170 if test "x$ac_cr" = x
; then
16171 eval ac_cr
=\$
\'\\r
\'
16173 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16174 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16177 ac_cs_awk_cr
=$ac_cr
16180 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16185 echo "cat >conf$$subs.awk <<_ACEOF" &&
16186 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16188 } >conf$$subs.sh ||
16189 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16190 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16192 for ac_last_try in false false false false false :; do
16193 . ./conf$$subs.sh ||
16194 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16196 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16197 if test $ac_delim_n = $ac_delim_num; then
16199 elif $ac_last_try; then
16200 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16202 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16205 rm -f conf$$subs.sh
16207 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16208 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16212 s/^/S["/; s
/!.
*/"]=/
16222 s/\(.\{148\}\).*/\1/
16224 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16229 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16236 s/\(.\{148\}\).*/\1/
16238 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16242 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16247 ' <conf$$subs.awk | sed '
16252 ' >>$CONFIG_STATUS || ac_write_fail=1
16253 rm -f conf$$subs.awk
16254 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16256 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16257 for (key in S) S_is_set[key] = 1
16263 nfields = split(line, field, "@
")
16265 len = length(field[1])
16266 for (i = 2; i < nfields; i++) {
16268 keylen = length(key)
16269 if (S_is_set[key]) {
16271 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16272 len += length(value) + length(field[++i])
16283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16284 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16285 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16288 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16289 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
16292 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16293 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16294 # trailing colons and then remove the whole line if VPATH becomes empty
16295 # (actually we leave an empty line to preserve line numbers).
16296 if test "x
$srcdir" = x.; then
16297 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16298 s/:*\$(srcdir):*/:/
16299 s/:*\${srcdir}:*/:/
16301 s/^\([^=]*=[ ]*\):*/\1/
16307 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16308 fi # test -n "$CONFIG_FILES"
16310 # Set up the scripts for CONFIG_HEADERS section.
16311 # No need to generate them if there are no CONFIG_HEADERS.
16312 # This happens for instance with `./config.status Makefile'.
16313 if test -n "$CONFIG_HEADERS"; then
16314 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16318 # Transform confdefs.h into an awk script `defines.awk', embedded as
16319 # here-document in config.status, that substitutes the proper values into
16320 # config.h.in to produce config.h.
16322 # Create a delimiter string that does not exist in confdefs.h, to ease
16323 # handling of long lines.
16325 for ac_last_try in false false :; do
16326 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16327 if test -z "$ac_t"; then
16329 elif $ac_last_try; then
16330 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
16332 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16336 # For the awk script, D is an array of macro values keyed by name,
16337 # likewise P contains macro parameters if any. Preserve backslash
16338 # newline sequences.
16340 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16342 s/.\{148\}/&'"$ac_delim"'/g
16345 s/^[ ]*#[ ]*define[ ][ ]*/ /
16352 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16354 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16358 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16359 D["\
1"]=" \
3\\\\\\n
"\\/p
16361 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16366 s/.\{148\}/&'"$ac_delim"'/g
16371 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16374 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16376 ' <confdefs.h | sed '
16377 s/'"$ac_delim"'/"\\\
16378 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16380 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16381 for (key in D) D_is_set[key] = 1
16384 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16386 split(line, arg, " ")
16387 if (arg[1] == "#") {
16391 defundef
= substr
(arg
[1], 2)
16394 split(mac1
, mac2
, "(") #)
16396 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16397 if (D_is_set
[macro
]) {
16398 # Preserve the white space surrounding the "#".
16399 print prefix
"define", macro P
[macro
] D
[macro
]
16402 # Replace #undef with comments. This is necessary, for example,
16403 # in the case of _POSIX_SOURCE, which is predefined and required
16404 # on some systems where configure will not decide to define it.
16405 if (defundef
== "undef") {
16406 print
"/*", prefix defundef
, macro
, "*/"
16414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16415 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
16416 fi # test -n "$CONFIG_HEADERS"
16419 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16424 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16426 case $ac_mode$ac_tag in
16428 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16429 :[FH
]-) ac_tag
=-:-;;
16430 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16447 -) ac_f
="$tmp/stdin";;
16448 *) # Look for the file first in the build tree, then in the source tree
16449 # (if the path is not absolute). The absolute path cannot be DOS-style,
16450 # because $ac_f cannot contain `:'.
16454 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16456 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
16458 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16459 as_fn_append ac_file_inputs
" '$ac_f'"
16462 # Let's still pretend it is `configure' which instantiates (i.e., don't
16463 # use $as_me), people would be surprised to read:
16464 # /* config.h. Generated by config.status. */
16465 configure_input
='Generated from '`
16466 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16468 if test x
"$ac_file" != x-
; then
16469 configure_input
="$ac_file. $configure_input"
16470 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16471 $as_echo "$as_me: creating $ac_file" >&6;}
16473 # Neutralize special characters interpreted by sed in replacement strings.
16474 case $configure_input in #(
16475 *\
&* |
*\|
* |
*\\* )
16476 ac_sed_conf_input
=`$as_echo "$configure_input" |
16477 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16478 *) ac_sed_conf_input
=$configure_input;;
16482 *:-:* |
*:-) cat >"$tmp/stdin" \
16483 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
16488 ac_dir
=`$as_dirname -- "$ac_file" ||
16489 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16490 X"$ac_file" : 'X\(//\)[^/]' \| \
16491 X"$ac_file" : 'X\(//\)$' \| \
16492 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16493 $as_echo X"$ac_file" |
16494 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16498 /^X\(\/\/\)[^/].*/{
16511 as_dir
="$ac_dir"; as_fn_mkdir_p
16515 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16517 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16518 # A ".." for each directory in $ac_dir_suffix.
16519 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16520 case $ac_top_builddir_sub in
16521 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16522 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16525 ac_abs_top_builddir
=$ac_pwd
16526 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16527 # for backward compatibility:
16528 ac_top_builddir
=$ac_top_build_prefix
16531 .
) # We are building in place.
16533 ac_top_srcdir
=$ac_top_builddir_sub
16534 ac_abs_top_srcdir
=$ac_pwd ;;
16535 [\\/]* | ?
:[\\/]* ) # Absolute name.
16536 ac_srcdir
=$srcdir$ac_dir_suffix;
16537 ac_top_srcdir
=$srcdir
16538 ac_abs_top_srcdir
=$srcdir ;;
16539 *) # Relative name.
16540 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16541 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16542 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16544 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16554 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16555 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16557 ac_MKDIR_P
=$MKDIR_P
16559 [\\/$
]* | ?
:[\\/]* ) ;;
16560 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16564 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16565 # If the template does not know about datarootdir, expand it.
16566 # FIXME: This hack should be removed a few years after 2.60.
16567 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16578 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16579 *datarootdir
*) ac_datarootdir_seen
=yes;;
16580 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16582 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16584 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16585 ac_datarootdir_hack='
16586 s&@datadir@&$datadir&g
16587 s&@docdir@&$docdir&g
16588 s&@infodir@&$infodir&g
16589 s&@localedir@&$localedir&g
16590 s&@mandir@&$mandir&g
16591 s&\\\${datarootdir}&$datarootdir&g' ;;
16595 # Neutralize VPATH when `$srcdir' = `.'.
16596 # Shell code in configure.ac might set extrasub.
16597 # FIXME: do we really want to maintain this feature?
16598 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16599 ac_sed_extra="$ac_vpsub
16602 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16604 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16605 s|@configure_input@|
$ac_sed_conf_input|
;t t
16606 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16607 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16608 s
&@srcdir@
&$ac_srcdir&;t t
16609 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16610 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16611 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16612 s
&@builddir@
&$ac_builddir&;t t
16613 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16614 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16615 s
&@INSTALL@
&$ac_INSTALL&;t t
16616 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16617 $ac_datarootdir_hack
16619 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16620 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16622 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16623 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16624 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16626 which seems to be undefined. Please make sure it is defined." >&5
16627 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16628 which seems to be undefined. Please make sure it is defined." >&2;}
16632 -) cat "$tmp/out" && rm -f "$tmp/out";;
16633 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16635 || as_fn_error "could not create $ac_file" "$LINENO" 5
16641 if test x"$ac_file" != x-; then
16643 $as_echo "/* $configure_input */" \
16644 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16645 } >"$tmp/config.h" \
16646 || as_fn_error "could not create $ac_file" "$LINENO" 5
16647 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16648 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16649 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16652 mv "$tmp/config.h" "$ac_file" \
16653 || as_fn_error "could not create $ac_file" "$LINENO" 5
16656 $as_echo "/* $configure_input */" \
16657 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16658 || as_fn_error "could not create -" "$LINENO" 5
16660 # Compute "$ac_file"'s index
in $config_headers.
16663 for _am_header
in $config_headers :; do
16664 case $_am_header in
16665 $_am_arg |
$_am_arg:* )
16668 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16671 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16672 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16673 X"$_am_arg" : 'X\(//\)[^/]' \| \
16674 X"$_am_arg" : 'X\(//\)$' \| \
16675 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16676 $as_echo X"$_am_arg" |
16677 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16681 /^X\(\/\/\)[^/].*/{
16693 s/.*/./; q'`/stamp-h
$_am_stamp_count
16696 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16697 $as_echo "$as_me: executing $ac_file commands" >&6;}
16702 case $ac_file$ac_mode in
16704 # Only add multilib support code if we just rebuilt the top-level
16706 case " $CONFIG_FILES " in
16708 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
16713 # See if we are running on zsh, and set the options which allow our
16714 # commands through without removal of \ escapes.
16715 if test -n "${ZSH_VERSION+set}" ; then
16716 setopt NO_GLOB_SUBST
16719 cfgfile
="${ofile}T"
16720 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16723 cat <<_LT_EOF >> "$cfgfile"
16726 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16727 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16728 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16729 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16731 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16732 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16733 # Written by Gordon Matzigkeit, 1996
16735 # This file is part of GNU Libtool.
16737 # GNU Libtool is free software; you can redistribute it and/or
16738 # modify it under the terms of the GNU General Public License as
16739 # published by the Free Software Foundation; either version 2 of
16740 # the License, or (at your option) any later version.
16742 # As a special exception to the GNU General Public License,
16743 # if you distribute this file as part of a program or library that
16744 # is built using GNU Libtool, you may include this file under the
16745 # same distribution terms that you use for the rest of that program.
16747 # GNU Libtool is distributed in the hope that it will be useful,
16748 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16749 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16750 # GNU General Public License for more details.
16752 # You should have received a copy of the GNU General Public License
16753 # along with GNU Libtool; see the file COPYING. If not, a copy
16754 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16755 # obtained by writing to the Free Software Foundation, Inc.,
16756 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16759 # The names of the tagged configurations supported by this script.
16760 available_tags="CXX "
16762 # ### BEGIN LIBTOOL CONFIG
16764 # Which release of libtool.m4 was used?
16765 macro_version=$macro_version
16766 macro_revision=$macro_revision
16768 # Whether or not to build shared libraries.
16769 build_libtool_libs=$enable_shared
16771 # Whether or not to build static libraries.
16772 build_old_libs=$enable_static
16774 # What type of objects to build.
16777 # Whether or not to optimize for fast installation.
16778 fast_install=$enable_fast_install
16780 # Shell to use when invoking shell scripts.
16783 # An echo program that protects backslashes.
16787 host_alias=$host_alias
16791 # The build system.
16792 build_alias=$build_alias
16796 # A sed program that does not truncate output.
16799 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16800 Xsed="\$SED -e 1s/^X//"
16802 # A grep program that handles long lines.
16808 # A literal string matcher.
16811 # A BSD- or MS-compatible name lister.
16814 # Whether we need soft or hard links.
16817 # What is the maximum length of a command?
16818 max_cmd_len=$max_cmd_len
16820 # Object file suffix (normally "o").
16823 # Executable file suffix (normally "").
16826 # whether the shell understands "unset".
16829 # turn spaces into newlines.
16832 # turn newlines into spaces.
16835 # An object symbol dumper.
16836 OBJDUMP=$lt_OBJDUMP
16838 # Method to check whether dependent libraries are shared objects.
16839 deplibs_check_method=$lt_deplibs_check_method
16841 # Command to use when deplibs_check_method == "file_magic".
16842 file_magic_cmd=$lt_file_magic_cmd
16846 AR_FLAGS=$lt_AR_FLAGS
16848 # A symbol stripping program.
16851 # Commands used to install an old-style archive.
16853 old_postinstall_cmds=$lt_old_postinstall_cmds
16854 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16856 # Whether to use a lock for old archive extraction.
16857 lock_old_archive_extraction=$lock_old_archive_extraction
16862 # LTCC compiler flags.
16863 LTCFLAGS=$lt_CFLAGS
16865 # Take the output of nm and produce a listing of raw symbols and C names.
16866 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16868 # Transform the output of nm in a proper C declaration.
16869 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16871 # Transform the output of nm in a C name address pair.
16872 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16874 # Transform the output of nm in a C name address pair when lib prefix is needed.
16875 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16877 # The name of the directory that contains temporary libtool files.
16880 # Used to examine libraries when file_magic_cmd begins with "file".
16881 MAGIC_CMD=$MAGIC_CMD
16883 # Must we lock files when doing compilation?
16884 need_locks=$lt_need_locks
16886 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16887 DSYMUTIL=$lt_DSYMUTIL
16889 # Tool to change global to local symbols on Mac OS X.
16892 # Tool to manipulate fat objects and archives on Mac OS X.
16895 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16898 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16899 OTOOL64=$lt_OTOOL64
16901 # Old archive suffix (normally "a").
16904 # Shared library suffix (normally ".so").
16905 shrext_cmds=$lt_shrext_cmds
16907 # The commands to extract the exported symbol list from a shared archive.
16908 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16910 # Variables whose values should be saved in libtool wrapper scripts and
16911 # restored at link time.
16912 variables_saved_for_relink=$lt_variables_saved_for_relink
16914 # Do we need the "lib" prefix for modules?
16915 need_lib_prefix=$need_lib_prefix
16917 # Do we need a version for libraries?
16918 need_version=$need_version
16920 # Library versioning type.
16921 version_type=$version_type
16923 # Shared library runtime path variable.
16924 runpath_var=$runpath_var
16926 # Shared library path variable.
16927 shlibpath_var=$shlibpath_var
16929 # Is shlibpath searched before the hard-coded library search path?
16930 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16932 # Format of library name prefix.
16933 libname_spec=$lt_libname_spec
16935 # List of archive names. First name is the real one, the rest are links.
16936 # The last name is the one that the linker finds with -lNAME
16937 library_names_spec=$lt_library_names_spec
16939 # The coded name of the library, if different from the real name.
16940 soname_spec=$lt_soname_spec
16942 # Permission mode override for installation of shared libraries.
16943 install_override_mode=$lt_install_override_mode
16945 # Command to use after installation of a shared archive.
16946 postinstall_cmds=$lt_postinstall_cmds
16948 # Command to use after uninstallation of a shared archive.
16949 postuninstall_cmds=$lt_postuninstall_cmds
16951 # Commands used to finish a libtool library installation in a directory.
16952 finish_cmds=$lt_finish_cmds
16954 # As "finish_cmds", except a single script fragment to be evaled but
16956 finish_eval=$lt_finish_eval
16958 # Whether we should hardcode library paths into libraries.
16959 hardcode_into_libs=$hardcode_into_libs
16961 # Compile-time system search path for libraries.
16962 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16964 # Run-time system search path for libraries.
16965 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16967 # Whether dlopen is supported.
16968 dlopen_support=$enable_dlopen
16970 # Whether dlopen of programs is supported.
16971 dlopen_self=$enable_dlopen_self
16973 # Whether dlopen of statically linked programs is supported.
16974 dlopen_self_static=$enable_dlopen_self_static
16976 # Commands to strip libraries.
16977 old_striplib=$lt_old_striplib
16978 striplib=$lt_striplib
16981 # The linker used to build libraries.
16984 # How to create reloadable object files.
16985 reload_flag=$lt_reload_flag
16986 reload_cmds=$lt_reload_cmds
16988 # Commands used to build an old-style archive.
16989 old_archive_cmds=$lt_old_archive_cmds
16991 # A language specific compiler.
16994 # Is the compiler the GNU compiler?
16997 # Compiler flag to turn off builtin functions.
16998 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17000 # How to pass a linker flag through the compiler.
17001 wl=$lt_lt_prog_compiler_wl
17003 # Additional compiler flags for building library objects.
17004 pic_flag=$lt_lt_prog_compiler_pic
17006 # Compiler flag to prevent dynamic linking.
17007 link_static_flag=$lt_lt_prog_compiler_static
17009 # Does compiler simultaneously support -c and -o options?
17010 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17012 # Whether or not to add -lc for building shared libraries.
17013 build_libtool_need_lc=$archive_cmds_need_lc
17015 # Whether or not to disallow shared libs when runtime libs are static.
17016 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17018 # Compiler flag to allow reflexive dlopens.
17019 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17021 # Compiler flag to generate shared objects directly from archives.
17022 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17024 # Whether the compiler copes with passing no objects directly.
17025 compiler_needs_object=$lt_compiler_needs_object
17027 # Create an old-style archive from a shared archive.
17028 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17030 # Create a temporary old-style archive to link instead of a shared archive.
17031 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17033 # Commands used to build a shared archive.
17034 archive_cmds=$lt_archive_cmds
17035 archive_expsym_cmds=$lt_archive_expsym_cmds
17037 # Commands used to build a loadable module if different from building
17038 # a shared archive.
17039 module_cmds=$lt_module_cmds
17040 module_expsym_cmds=$lt_module_expsym_cmds
17042 # Whether we are building with GNU ld or not.
17043 with_gnu_ld=$lt_with_gnu_ld
17045 # Flag that allows shared libraries with undefined symbols to be built.
17046 allow_undefined_flag=$lt_allow_undefined_flag
17048 # Flag that enforces no undefined symbols.
17049 no_undefined_flag=$lt_no_undefined_flag
17051 # Flag to hardcode \$libdir into a binary during linking.
17052 # This must work even if \$libdir does not exist
17053 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17055 # If ld is used when linking, flag to hardcode \$libdir into a binary
17056 # during linking. This must work even if \$libdir does not exist.
17057 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17059 # Whether we need a single "-rpath" flag with a separated argument.
17060 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17062 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17063 # DIR into the resulting binary.
17064 hardcode_direct=$hardcode_direct
17066 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17067 # DIR into the resulting binary and the resulting library dependency is
17068 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17069 # library is relocated.
17070 hardcode_direct_absolute=$hardcode_direct_absolute
17072 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17073 # into the resulting binary.
17074 hardcode_minus_L=$hardcode_minus_L
17076 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17077 # into the resulting binary.
17078 hardcode_shlibpath_var=$hardcode_shlibpath_var
17080 # Set to "yes" if building a shared library automatically hardcodes DIR
17081 # into the library and all subsequent libraries and executables linked
17083 hardcode_automatic=$hardcode_automatic
17085 # Set to yes if linker adds runtime paths of dependent libraries
17086 # to runtime path list.
17087 inherit_rpath=$inherit_rpath
17089 # Whether libtool must link a program against all its dependency libraries.
17090 link_all_deplibs=$link_all_deplibs
17092 # Fix the shell variable \$srcfile for the compiler.
17093 fix_srcfile_path=$lt_fix_srcfile_path
17095 # Set to "yes" if exported symbols are required.
17096 always_export_symbols=$always_export_symbols
17098 # The commands to list exported symbols.
17099 export_symbols_cmds=$lt_export_symbols_cmds
17101 # Symbols that should not be listed in the preloaded symbols.
17102 exclude_expsyms=$lt_exclude_expsyms
17104 # Symbols that must always be exported.
17105 include_expsyms=$lt_include_expsyms
17107 # Commands necessary for linking programs (against libraries) with templates.
17108 prelink_cmds=$lt_prelink_cmds
17110 # Specify filename containing input files.
17111 file_list_spec=$lt_file_list_spec
17113 # How to hardcode a shared library path into an executable.
17114 hardcode_action=$hardcode_action
17116 # The directories searched by this compiler when creating a shared library.
17117 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17119 # Dependencies to place before and after the objects being linked to
17120 # create a shared library.
17121 predep_objects=$lt_predep_objects
17122 postdep_objects=$lt_postdep_objects
17123 predeps=$lt_predeps
17124 postdeps=$lt_postdeps
17126 # The library search path used internally by the compiler when linking
17127 # a shared library.
17128 compiler_lib_search_path=$lt_compiler_lib_search_path
17130 # ### END LIBTOOL CONFIG
17136 cat <<\_LT_EOF
>> "$cfgfile"
17137 # AIX sometimes has problems with the GCC collect2 program. For some
17138 # reason, if we set the COLLECT_NAMES environment variable, the problems
17139 # vanish in a puff of smoke.
17140 if test "X${COLLECT_NAMES+set}" != Xset
; then
17142 export COLLECT_NAMES
17149 ltmain
="$ac_aux_dir/ltmain.sh"
17152 # We use sed instead of cat because bash on DJGPP gets confused if
17153 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17154 # text mode, it properly converts lines to CR/LF. This bash problem
17155 # is reportedly fixed, but why not run on old versions too?
17156 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17157 ||
(rm -f "$cfgfile"; exit 1)
17161 cat << \_LT_EOF
>> "$cfgfile"
17163 # func_dirname file append nondir_replacement
17164 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17165 # otherwise set result to NONDIR_REPLACEMENT.
17169 */*) func_dirname_result
="${1%/*}${2}" ;;
17170 * ) func_dirname_result
="${3}" ;;
17174 # func_basename file
17177 func_basename_result
="${1##*/}"
17180 # func_dirname_and_basename file append nondir_replacement
17181 # perform func_basename and func_dirname in a single function
17183 # dirname: Compute the dirname of FILE. If nonempty,
17184 # add APPEND to the result, otherwise set result
17185 # to NONDIR_REPLACEMENT.
17186 # value returned in "$func_dirname_result"
17187 # basename: Compute filename of FILE.
17188 # value retuned in "$func_basename_result"
17189 # Implementation must be kept synchronized with func_dirname
17190 # and func_basename. For efficiency, we do not delegate to
17191 # those functions but instead duplicate the functionality here.
17192 func_dirname_and_basename
()
17195 */*) func_dirname_result
="${1%/*}${2}" ;;
17196 * ) func_dirname_result
="${3}" ;;
17198 func_basename_result
="${1##*/}"
17201 # func_stripname prefix suffix name
17202 # strip PREFIX and SUFFIX off of NAME.
17203 # PREFIX and SUFFIX must not contain globbing or regex special
17204 # characters, hashes, percent signs, but SUFFIX may contain a leading
17205 # dot (in which case that matches only a dot).
17208 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17209 # positional parameters, so assign one to ordinary parameter first.
17210 func_stripname_result
=${3}
17211 func_stripname_result
=${func_stripname_result#"${1}"}
17212 func_stripname_result
=${func_stripname_result%"${2}"}
17218 func_opt_split_opt
=${1%%=*}
17219 func_opt_split_arg
=${1#*=}
17226 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17227 *) func_lo2o_result
=${1} ;;
17231 # func_xform libobj-or-source
17234 func_xform_result
=${1%.*}.lo
17237 # func_arith arithmetic-term...
17240 func_arith_result
=$
(( $
* ))
17244 # STRING may not start with a hyphen.
17247 func_len_result
=${#1}
17252 *) # Bourne compatible functions.
17253 cat << \_LT_EOF
>> "$cfgfile"
17255 # func_dirname file append nondir_replacement
17256 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17257 # otherwise set result to NONDIR_REPLACEMENT.
17260 # Extract subdirectory from the argument.
17261 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17262 if test "X$func_dirname_result" = "X${1}"; then
17263 func_dirname_result
="${3}"
17265 func_dirname_result
="$func_dirname_result${2}"
17269 # func_basename file
17272 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17276 # func_stripname prefix suffix name
17277 # strip PREFIX and SUFFIX off of NAME.
17278 # PREFIX and SUFFIX must not contain globbing or regex special
17279 # characters, hashes, percent signs, but SUFFIX may contain a leading
17280 # dot (in which case that matches only a dot).
17281 # func_strip_suffix prefix name
17285 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17286 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17291 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17292 my_sed_long_arg
='1s/^-[^=]*=//'
17297 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17298 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17304 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17307 # func_xform libobj-or-source
17310 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17313 # func_arith arithmetic-term...
17316 func_arith_result
=`expr "$@"`
17320 # STRING may not start with a hyphen.
17323 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17329 case $lt_shell_append in
17331 cat << \_LT_EOF
>> "$cfgfile"
17333 # func_append var value
17334 # Append VALUE to the end of shell variable VAR.
17342 cat << \_LT_EOF
>> "$cfgfile"
17344 # func_append var value
17345 # Append VALUE to the end of shell variable VAR.
17356 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17357 ||
(rm -f "$cfgfile"; exit 1)
17359 mv -f "$cfgfile" "$ofile" ||
17360 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17364 cat <<_LT_EOF >> "$ofile"
17366 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17368 # The linker used to build libraries.
17371 # How to create reloadable object files.
17372 reload_flag=$lt_reload_flag_CXX
17373 reload_cmds=$lt_reload_cmds_CXX
17375 # Commands used to build an old-style archive.
17376 old_archive_cmds=$lt_old_archive_cmds_CXX
17378 # A language specific compiler.
17379 CC=$lt_compiler_CXX
17381 # Is the compiler the GNU compiler?
17384 # Compiler flag to turn off builtin functions.
17385 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17387 # How to pass a linker flag through the compiler.
17388 wl=$lt_lt_prog_compiler_wl_CXX
17390 # Additional compiler flags for building library objects.
17391 pic_flag=$lt_lt_prog_compiler_pic_CXX
17393 # Compiler flag to prevent dynamic linking.
17394 link_static_flag=$lt_lt_prog_compiler_static_CXX
17396 # Does compiler simultaneously support -c and -o options?
17397 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17399 # Whether or not to add -lc for building shared libraries.
17400 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17402 # Whether or not to disallow shared libs when runtime libs are static.
17403 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17405 # Compiler flag to allow reflexive dlopens.
17406 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17408 # Compiler flag to generate shared objects directly from archives.
17409 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17411 # Whether the compiler copes with passing no objects directly.
17412 compiler_needs_object=$lt_compiler_needs_object_CXX
17414 # Create an old-style archive from a shared archive.
17415 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17417 # Create a temporary old-style archive to link instead of a shared archive.
17418 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17420 # Commands used to build a shared archive.
17421 archive_cmds=$lt_archive_cmds_CXX
17422 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17424 # Commands used to build a loadable module if different from building
17425 # a shared archive.
17426 module_cmds=$lt_module_cmds_CXX
17427 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17429 # Whether we are building with GNU ld or not.
17430 with_gnu_ld=$lt_with_gnu_ld_CXX
17432 # Flag that allows shared libraries with undefined symbols to be built.
17433 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17435 # Flag that enforces no undefined symbols.
17436 no_undefined_flag=$lt_no_undefined_flag_CXX
17438 # Flag to hardcode \$libdir into a binary during linking.
17439 # This must work even if \$libdir does not exist
17440 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17442 # If ld is used when linking, flag to hardcode \$libdir into a binary
17443 # during linking. This must work even if \$libdir does not exist.
17444 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17446 # Whether we need a single "-rpath" flag with a separated argument.
17447 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17449 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17450 # DIR into the resulting binary.
17451 hardcode_direct=$hardcode_direct_CXX
17453 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17454 # DIR into the resulting binary and the resulting library dependency is
17455 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17456 # library is relocated.
17457 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17459 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17460 # into the resulting binary.
17461 hardcode_minus_L=$hardcode_minus_L_CXX
17463 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17464 # into the resulting binary.
17465 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17467 # Set to "yes" if building a shared library automatically hardcodes DIR
17468 # into the library and all subsequent libraries and executables linked
17470 hardcode_automatic=$hardcode_automatic_CXX
17472 # Set to yes if linker adds runtime paths of dependent libraries
17473 # to runtime path list.
17474 inherit_rpath=$inherit_rpath_CXX
17476 # Whether libtool must link a program against all its dependency libraries.
17477 link_all_deplibs=$link_all_deplibs_CXX
17479 # Fix the shell variable \$srcfile for the compiler.
17480 fix_srcfile_path=$lt_fix_srcfile_path_CXX
17482 # Set to "yes" if exported symbols are required.
17483 always_export_symbols=$always_export_symbols_CXX
17485 # The commands to list exported symbols.
17486 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17488 # Symbols that should not be listed in the preloaded symbols.
17489 exclude_expsyms=$lt_exclude_expsyms_CXX
17491 # Symbols that must always be exported.
17492 include_expsyms=$lt_include_expsyms_CXX
17494 # Commands necessary for linking programs (against libraries) with templates.
17495 prelink_cmds=$lt_prelink_cmds_CXX
17497 # Specify filename containing input files.
17498 file_list_spec=$lt_file_list_spec_CXX
17500 # How to hardcode a shared library path into an executable.
17501 hardcode_action=$hardcode_action_CXX
17503 # The directories searched by this compiler when creating a shared library.
17504 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17506 # Dependencies to place before and after the objects being linked to
17507 # create a shared library.
17508 predep_objects=$lt_predep_objects_CXX
17509 postdep_objects=$lt_postdep_objects_CXX
17510 predeps=$lt_predeps_CXX
17511 postdeps=$lt_postdeps_CXX
17513 # The library search path used internally by the compiler when linking
17514 # a shared library.
17515 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17517 # ### END LIBTOOL TAG CONFIG: CXX
17521 "mpxrt/Makefile":F
) cat > vpsed$$
<< \_EOF
17522 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17524 sed -f vpsed$$
$ac_file > tmp$$
17527 echo 'MULTISUBDIR =' >> $ac_file
17529 .
${multi_basedir}/config-ml.
in
17530 { ml_norecursion
=; unset ml_norecursion
;}
17532 "mpxwrap/Makefile":F
) cat > vpsed$$
<< \_EOF
17533 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17535 sed -f vpsed$$
$ac_file > tmp$$
17538 echo 'MULTISUBDIR =' >> $ac_file
17540 .
${multi_basedir}/config-ml.
in
17541 { ml_norecursion
=; unset ml_norecursion
;}
17550 ac_clean_files
=$ac_clean_files_save
17552 test $ac_write_fail = 0 ||
17553 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17556 # configure is writing to config.log, and then calls config.status.
17557 # config.status does its own redirection, appending to config.log.
17558 # Unfortunately, on DOS this fails, as config.log is still kept open
17559 # by configure, so config.status won't be able to write to it; its
17560 # output is simply discarded. So we exec the FD to /dev/null,
17561 # effectively closing config.log, so it can be properly (re)opened and
17562 # appended to by config.status. When coming back to configure, we
17563 # need to make the FD available again.
17564 if test "$no_create" != yes; then
17566 ac_config_status_args
=
17567 test "$silent" = yes &&
17568 ac_config_status_args
="$ac_config_status_args --quiet"
17570 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17572 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17573 # would make configure fail if this is the last instruction.
17574 $ac_cs_success || as_fn_exit $?
17576 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17578 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}