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
675 LIBMPX_SUPPORTED_FALSE
676 LIBMPX_SUPPORTED_TRUE
677 LIBSTDCXX_RAW_CXX_LDFLAGS
678 LIBSTDCXX_RAW_CXX_CXXFLAGS
719 program_transform_name
732 enable_option_checking
733 enable_version_specific_runtime_libs
735 enable_maintainer_mode
743 ac_precious_vars
='build_alias
755 # Initialize some variables set by options.
757 ac_init_version
=false
758 ac_unrecognized_opts
=
760 # The variables have the same names as the options, with
761 # dashes changed to underlines.
769 program_transform_name
=s
,x
,x
,
777 # Installation directory options.
778 # These are left unexpanded so users can "make install exec_prefix=/foo"
779 # and all the variables that are supposed to be based on exec_prefix
780 # by default will actually change.
781 # Use braces instead of parens because sh, perl, etc. also accept them.
782 # (The list follows the same order as the GNU Coding Standards.)
783 bindir
='${exec_prefix}/bin'
784 sbindir
='${exec_prefix}/sbin'
785 libexecdir
='${exec_prefix}/libexec'
786 datarootdir
='${prefix}/share'
787 datadir
='${datarootdir}'
788 sysconfdir
='${prefix}/etc'
789 sharedstatedir
='${prefix}/com'
790 localstatedir
='${prefix}/var'
791 includedir
='${prefix}/include'
792 oldincludedir
='/usr/include'
793 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
794 infodir
='${datarootdir}/info'
799 libdir
='${exec_prefix}/lib'
800 localedir
='${datarootdir}/locale'
801 mandir
='${datarootdir}/man'
807 # If the previous option needs an argument, assign it.
808 if test -n "$ac_prev"; then
809 eval $ac_prev=\
$ac_option
815 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
819 # Accept the important Cygnus configure options, so we can diagnose typos.
821 case $ac_dashdash$ac_option in
825 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
827 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
830 -build |
--build |
--buil |
--bui |
--bu)
831 ac_prev
=build_alias
;;
832 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
833 build_alias
=$ac_optarg ;;
835 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
836 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
837 ac_prev
=cache_file
;;
838 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
839 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
840 cache_file
=$ac_optarg ;;
843 cache_file
=config.cache
;;
845 -datadir |
--datadir |
--datadi |
--datad)
847 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
848 datadir
=$ac_optarg ;;
850 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
851 |
--dataroo |
--dataro |
--datar)
852 ac_prev
=datarootdir
;;
853 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
854 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
855 datarootdir
=$ac_optarg ;;
857 -disable-* |
--disable-*)
858 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
859 # Reject names that are not valid shell variable names.
860 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
861 as_fn_error
"invalid feature name: $ac_useropt"
862 ac_useropt_orig
=$ac_useropt
863 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
864 case $ac_user_opts in
868 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
869 ac_unrecognized_sep
=', ';;
871 eval enable_
$ac_useropt=no
;;
873 -docdir |
--docdir |
--docdi |
--doc |
--do)
875 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
878 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
880 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
883 -enable-* |
--enable-*)
884 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
885 # Reject names that are not valid shell variable names.
886 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
887 as_fn_error
"invalid feature name: $ac_useropt"
888 ac_useropt_orig
=$ac_useropt
889 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
890 case $ac_user_opts in
894 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
895 ac_unrecognized_sep
=', ';;
897 eval enable_
$ac_useropt=\
$ac_optarg ;;
899 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
900 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
901 |
--exec |
--exe |
--ex)
902 ac_prev
=exec_prefix
;;
903 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
904 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
905 |
--exec=* |
--exe=* |
--ex=*)
906 exec_prefix
=$ac_optarg ;;
908 -gas |
--gas |
--ga |
--g)
909 # Obsolete; use --with-gas.
912 -help |
--help |
--hel |
--he |
-h)
914 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
915 ac_init_help
=recursive
;;
916 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
917 ac_init_help
=short
;;
919 -host |
--host |
--hos |
--ho)
920 ac_prev
=host_alias
;;
921 -host=* |
--host=* |
--hos=* |
--ho=*)
922 host_alias
=$ac_optarg ;;
924 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
926 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
928 htmldir
=$ac_optarg ;;
930 -includedir |
--includedir |
--includedi |
--included |
--include \
931 |
--includ |
--inclu |
--incl |
--inc)
932 ac_prev
=includedir
;;
933 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
934 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
935 includedir
=$ac_optarg ;;
937 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
939 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
940 infodir
=$ac_optarg ;;
942 -libdir |
--libdir |
--libdi |
--libd)
944 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
947 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
948 |
--libexe |
--libex |
--libe)
949 ac_prev
=libexecdir
;;
950 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
951 |
--libexe=* |
--libex=* |
--libe=*)
952 libexecdir
=$ac_optarg ;;
954 -localedir |
--localedir |
--localedi |
--localed |
--locale)
956 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
957 localedir
=$ac_optarg ;;
959 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
960 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
961 ac_prev
=localstatedir
;;
962 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
963 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
964 localstatedir
=$ac_optarg ;;
966 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
968 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
972 # Obsolete; use --without-fp.
975 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
976 |
--no-cr |
--no-c |
-n)
979 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
980 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
983 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
984 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
985 |
--oldin |
--oldi |
--old |
--ol |
--o)
986 ac_prev
=oldincludedir
;;
987 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
988 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
989 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
990 oldincludedir
=$ac_optarg ;;
992 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
994 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
997 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
998 |
--program-pre |
--program-pr |
--program-p)
999 ac_prev
=program_prefix
;;
1000 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1001 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1002 program_prefix
=$ac_optarg ;;
1004 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1005 |
--program-suf |
--program-su |
--program-s)
1006 ac_prev
=program_suffix
;;
1007 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1008 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1009 program_suffix
=$ac_optarg ;;
1011 -program-transform-name |
--program-transform-name \
1012 |
--program-transform-nam |
--program-transform-na \
1013 |
--program-transform-n |
--program-transform- \
1014 |
--program-transform |
--program-transfor \
1015 |
--program-transfo |
--program-transf \
1016 |
--program-trans |
--program-tran \
1017 |
--progr-tra |
--program-tr |
--program-t)
1018 ac_prev
=program_transform_name
;;
1019 -program-transform-name=* |
--program-transform-name=* \
1020 |
--program-transform-nam=* |
--program-transform-na=* \
1021 |
--program-transform-n=* |
--program-transform-=* \
1022 |
--program-transform=* |
--program-transfor=* \
1023 |
--program-transfo=* |
--program-transf=* \
1024 |
--program-trans=* |
--program-tran=* \
1025 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1026 program_transform_name
=$ac_optarg ;;
1028 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1030 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1031 pdfdir
=$ac_optarg ;;
1033 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1035 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1038 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1039 |
-silent |
--silent |
--silen |
--sile |
--sil)
1042 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1044 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1046 sbindir
=$ac_optarg ;;
1048 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1049 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1050 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1052 ac_prev
=sharedstatedir
;;
1053 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1054 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1055 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1057 sharedstatedir
=$ac_optarg ;;
1059 -site |
--site |
--sit)
1061 -site=* |
--site=* |
--sit=*)
1064 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1066 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1067 srcdir
=$ac_optarg ;;
1069 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1070 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1071 ac_prev
=sysconfdir
;;
1072 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1073 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1074 sysconfdir
=$ac_optarg ;;
1076 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1077 ac_prev
=target_alias
;;
1078 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1079 target_alias
=$ac_optarg ;;
1081 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1084 -version |
--version |
--versio |
--versi |
--vers |
-V)
1085 ac_init_version
=: ;;
1088 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1089 # Reject names that are not valid shell variable names.
1090 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1091 as_fn_error
"invalid package name: $ac_useropt"
1092 ac_useropt_orig
=$ac_useropt
1093 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1094 case $ac_user_opts in
1098 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1099 ac_unrecognized_sep
=', ';;
1101 eval with_
$ac_useropt=\
$ac_optarg ;;
1103 -without-* |
--without-*)
1104 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1105 # Reject names that are not valid shell variable names.
1106 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1107 as_fn_error
"invalid package name: $ac_useropt"
1108 ac_useropt_orig
=$ac_useropt
1109 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1110 case $ac_user_opts in
1114 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1115 ac_unrecognized_sep
=', ';;
1117 eval with_
$ac_useropt=no
;;
1120 # Obsolete; use --with-x.
1123 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1124 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1125 ac_prev
=x_includes
;;
1126 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1127 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1128 x_includes
=$ac_optarg ;;
1130 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1131 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1132 ac_prev
=x_libraries
;;
1133 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1134 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1135 x_libraries
=$ac_optarg ;;
1137 -*) as_fn_error
"unrecognized option: \`$ac_option'
1138 Try \`$0 --help' for more information."
1142 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1143 # Reject names that are not valid shell variable names.
1144 case $ac_envvar in #(
1145 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1146 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1148 eval $ac_envvar=\
$ac_optarg
1149 export $ac_envvar ;;
1152 # FIXME: should be removed in autoconf 3.0.
1153 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1154 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1155 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1156 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1162 if test -n "$ac_prev"; then
1163 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1164 as_fn_error
"missing argument to $ac_option"
1167 if test -n "$ac_unrecognized_opts"; then
1168 case $enable_option_checking in
1170 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1171 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1175 # Check all directory arguments for consistency.
1176 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1177 datadir sysconfdir sharedstatedir localstatedir includedir \
1178 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1179 libdir localedir mandir
1181 eval ac_val
=\$
$ac_var
1182 # Remove trailing slashes.
1185 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1186 eval $ac_var=\
$ac_val;;
1188 # Be sure to have absolute directory names.
1190 [\\/$
]* | ?
:[\\/]* ) continue;;
1191 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1193 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1196 # There might be people who depend on the old broken behavior: `$host'
1197 # used to hold the argument of --host etc.
1198 # FIXME: To remove some day.
1201 target
=$target_alias
1203 # FIXME: To remove some day.
1204 if test "x$host_alias" != x
; then
1205 if test "x$build_alias" = x
; then
1206 cross_compiling
=maybe
1207 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1208 If a cross compiler is detected then cross compile mode will be used." >&2
1209 elif test "x$build_alias" != "x$host_alias"; then
1215 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1217 test "$silent" = yes && exec 6>/dev
/null
1220 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1221 ac_ls_di
=`ls -di .` &&
1222 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1223 as_fn_error
"working directory cannot be determined"
1224 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1225 as_fn_error
"pwd does not report name of working directory"
1228 # Find the source files, if location was not specified.
1229 if test -z "$srcdir"; then
1230 ac_srcdir_defaulted
=yes
1231 # Try the directory containing this script, then the parent directory.
1232 ac_confdir
=`$as_dirname -- "$as_myself" ||
1233 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1234 X"$as_myself" : 'X\(//\)[^/]' \| \
1235 X"$as_myself" : 'X\(//\)$' \| \
1236 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1237 $as_echo X"$as_myself" |
1238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1256 if test ! -r "$srcdir/$ac_unique_file"; then
1260 ac_srcdir_defaulted
=no
1262 if test ! -r "$srcdir/$ac_unique_file"; then
1263 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1264 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1266 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1268 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1270 # When building in place, set srcdir=.
1271 if test "$ac_abs_confdir" = "$ac_pwd"; then
1274 # Remove unnecessary trailing slashes from srcdir.
1275 # Double slashes in file names in object file debugging info
1276 # mess up M-x gdb in Emacs.
1278 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1280 for ac_var
in $ac_precious_vars; do
1281 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1282 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1283 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1284 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1288 # Report the --help message.
1290 if test "$ac_init_help" = "long"; then
1291 # Omit some internal or obsolete options to make the list less imposing.
1292 # This message is too long to be a string in the A/UX 3.1 sh.
1294 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1296 Usage: $0 [OPTION]... [VAR=VALUE]...
1298 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1299 VAR=VALUE. See below for descriptions of some of the useful variables.
1301 Defaults for the options are specified in brackets.
1304 -h, --help display this help and exit
1305 --help=short display options specific to this package
1306 --help=recursive display the short help of all the included packages
1307 -V, --version display version information and exit
1308 -q, --quiet, --silent do not print \`checking...' messages
1309 --cache-file=FILE cache test results in FILE [disabled]
1310 -C, --config-cache alias for \`--cache-file=config.cache'
1311 -n, --no-create do not create output files
1312 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1314 Installation directories:
1315 --prefix=PREFIX install architecture-independent files in PREFIX
1316 [$ac_default_prefix]
1317 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1320 By default, \`make install' will install all the files in
1321 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1322 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1323 for instance \`--prefix=\$HOME'.
1325 For better control, use the options below.
1327 Fine tuning of the installation directories:
1328 --bindir=DIR user executables [EPREFIX/bin]
1329 --sbindir=DIR system admin executables [EPREFIX/sbin]
1330 --libexecdir=DIR program executables [EPREFIX/libexec]
1331 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1332 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1333 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1334 --libdir=DIR object code libraries [EPREFIX/lib]
1335 --includedir=DIR C header files [PREFIX/include]
1336 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1337 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1338 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1339 --infodir=DIR info documentation [DATAROOTDIR/info]
1340 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1341 --mandir=DIR man documentation [DATAROOTDIR/man]
1342 --docdir=DIR documentation root [DATAROOTDIR/doc/package-unused]
1343 --htmldir=DIR html documentation [DOCDIR]
1344 --dvidir=DIR dvi documentation [DOCDIR]
1345 --pdfdir=DIR pdf documentation [DOCDIR]
1346 --psdir=DIR ps documentation [DOCDIR]
1352 --program-prefix=PREFIX prepend PREFIX to installed program names
1353 --program-suffix=SUFFIX append SUFFIX to installed program names
1354 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1357 --build=BUILD configure
for building on BUILD
[guessed
]
1358 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1359 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1363 if test -n "$ac_init_help"; then
1364 case $ac_init_help in
1365 short | recursive
) echo "Configuration of package-unused version-unused:";;
1370 --disable-option-checking ignore unrecognized
--enable/--with options
1371 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1372 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1373 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1374 --enable-multilib build many library versions
(default
)
1375 --enable-maintainer-mode enable make rules and dependencies not useful
1376 (and sometimes confusing
) to the casual installer
1377 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1378 --enable-static[=PKGS
] build static libraries
[default
=yes]
1379 --enable-fast-install[=PKGS
]
1380 optimize
for fast installation
[default
=yes]
1381 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1384 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1385 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1386 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1388 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1390 Some influential environment variables
:
1391 CC C compiler
command
1392 CFLAGS C compiler flags
1393 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1394 nonstandard directory
<lib dir
>
1395 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1396 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1397 you have headers
in a nonstandard directory
<include dir
>
1399 CXX C
++ compiler
command
1400 CXXFLAGS C
++ compiler flags
1401 CXXCPP C
++ preprocessor
1403 Use these variables to override the choices made by
`configure' or to help
1404 it to find libraries and programs with nonstandard names/locations.
1406 Report bugs to <libmpx>.
1411 if test "$ac_init_help" = "recursive"; then
1412 # If there are subdirs, report their specific --help.
1413 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1414 test -d "$ac_dir" ||
1415 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1420 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1422 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1423 # A ".." for each directory in $ac_dir_suffix.
1424 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1425 case $ac_top_builddir_sub in
1426 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1427 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1430 ac_abs_top_builddir=$ac_pwd
1431 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1432 # for backward compatibility:
1433 ac_top_builddir=$ac_top_build_prefix
1436 .) # We are building in place.
1438 ac_top_srcdir=$ac_top_builddir_sub
1439 ac_abs_top_srcdir=$ac_pwd ;;
1440 [\\/]* | ?:[\\/]* ) # Absolute name.
1441 ac_srcdir=$srcdir$ac_dir_suffix;
1442 ac_top_srcdir=$srcdir
1443 ac_abs_top_srcdir=$srcdir ;;
1445 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1446 ac_top_srcdir=$ac_top_build_prefix$srcdir
1447 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1449 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1451 cd "$ac_dir" || { ac_status=$?; continue; }
1452 # Check for guested configure.
1453 if test -f "$ac_srcdir/configure.gnu"; then
1455 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1456 elif test -f "$ac_srcdir/configure"; then
1458 $SHELL "$ac_srcdir/configure" --help=recursive
1460 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1462 cd "$ac_pwd" || { ac_status=$?; break; }
1466 test -n "$ac_init_help" && exit $ac_status
1467 if $ac_init_version; then
1469 package-unused configure version-unused
1470 generated by GNU Autoconf 2.64
1472 Copyright (C) 2009 Free Software Foundation, Inc.
1473 This configure script is free software; the Free Software Foundation
1474 gives unlimited permission to copy, distribute and modify it.
1479 ## ------------------------ ##
1480 ## Autoconf initialization. ##
1481 ## ------------------------ ##
1483 # ac_fn_c_try_compile LINENO
1484 # --------------------------
1485 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1486 ac_fn_c_try_compile ()
1488 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1489 rm -f conftest.$ac_objext
1490 if { { ac_try="$ac_compile"
1492 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1493 *) ac_try_echo
=$ac_try;;
1495 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1496 $as_echo "$ac_try_echo"; } >&5
1497 (eval "$ac_compile") 2>conftest.err
1499 if test -s conftest.err
; then
1500 grep -v '^ *+' conftest.err
>conftest.er1
1501 cat conftest.er1
>&5
1502 mv -f conftest.er1 conftest.err
1504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1505 test $ac_status = 0; } && {
1506 test -z "$ac_c_werror_flag" ||
1507 test ! -s conftest.err
1508 } && test -s conftest.
$ac_objext; then :
1511 $as_echo "$as_me: failed program was:" >&5
1512 sed 's/^/| /' conftest.
$ac_ext >&5
1516 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1519 } # ac_fn_c_try_compile
1521 # ac_fn_c_try_cpp LINENO
1522 # ----------------------
1523 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1526 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1527 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1529 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1530 *) ac_try_echo=$ac_try;;
1532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1533 $as_echo "$ac_try_echo"; } >&5
1534 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1536 if test -s conftest.err; then
1537 grep -v '^ *+' conftest.err >conftest.er1
1538 cat conftest.er1 >&5
1539 mv -f conftest.er1 conftest.err
1541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1542 test $ac_status = 0; } >/dev/null && {
1543 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1544 test ! -s conftest.err
1548 $as_echo "$as_me: failed program was:" >&5
1549 sed 's/^/| /' conftest.$ac_ext >&5
1553 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1558 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1559 # -------------------------------------------------------
1560 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1561 # the include files in INCLUDES and setting the cache variable VAR
1563 ac_fn_c_check_header_mongrel ()
1565 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1566 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1568 $as_echo_n "checking for $2... " >&6; }
1569 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1570 $as_echo_n "(cached) " >&6
1573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1574 $as_echo "$ac_res" >&6; }
1576 # Is the header compilable?
1577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1578 $as_echo_n "checking $2 usability... " >&6; }
1579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1580 /* end confdefs.h. */
1584 if ac_fn_c_try_compile "$LINENO"; then :
1585 ac_header_compiler=yes
1587 ac_header_compiler=no
1589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1591 $as_echo "$ac_header_compiler" >&6; }
1593 # Is the header present?
1594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1595 $as_echo_n "checking $2 presence... " >&6; }
1596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1597 /* end confdefs.h. */
1600 if ac_fn_c_try_cpp "$LINENO"; then :
1601 ac_header_preproc=yes
1603 ac_header_preproc=no
1605 rm -f conftest.err conftest.$ac_ext
1606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1607 $as_echo "$ac_header_preproc" >&6; }
1609 # So? What about this header?
1610 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1613 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1615 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1619 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1621 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1623 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1625 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1627 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1629 ## --------------------- ##
1630 ## Report this to libmpx ##
1631 ## --------------------- ##
1633 ) | sed "s/^/$as_me: WARNING: /" >&2
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1637 $as_echo_n "checking for $2... " >&6; }
1638 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1639 $as_echo_n "(cached) " >&6
1641 eval "$3=\$ac_header_compiler"
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1645 $as_echo "$ac_res" >&6; }
1647 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1649 } # ac_fn_c_check_header_mongrel
1651 # ac_fn_c_try_run LINENO
1652 # ----------------------
1653 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1654 # that executables *can* be run.
1657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1658 if { { ac_try="$ac_link"
1660 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1661 *) ac_try_echo
=$ac_try;;
1663 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1664 $as_echo "$ac_try_echo"; } >&5
1665 (eval "$ac_link") 2>&5
1667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1668 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1669 { { case "(($ac_try" in
1670 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1671 *) ac_try_echo=$ac_try;;
1673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674 $as_echo "$ac_try_echo"; } >&5
1675 (eval "$ac_try") 2>&5
1677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1678 test $ac_status = 0; }; }; then :
1681 $as_echo "$as_me: program exited with status $ac_status" >&5
1682 $as_echo "$as_me: failed program was:" >&5
1683 sed 's/^/| /' conftest.$ac_ext >&5
1685 ac_retval=$ac_status
1687 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1688 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1693 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1694 # -------------------------------------------------------
1695 # Tests whether HEADER exists and can be compiled using the include files in
1696 # INCLUDES, setting the cache variable VAR accordingly.
1697 ac_fn_c_check_header_compile ()
1699 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1701 $as_echo_n "checking for $2... " >&6; }
1702 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1703 $as_echo_n "(cached) " >&6
1705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1706 /* end confdefs.h. */
1710 if ac_fn_c_try_compile "$LINENO"; then :
1715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1719 $as_echo "$ac_res" >&6; }
1720 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1722 } # ac_fn_c_check_header_compile
1724 # ac_fn_c_try_link LINENO
1725 # -----------------------
1726 # Try to link conftest.$ac_ext, and return whether this succeeded.
1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730 rm -f conftest.$ac_objext conftest$ac_exeext
1731 if { { ac_try="$ac_link"
1733 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1734 *) ac_try_echo
=$ac_try;;
1736 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1737 $as_echo "$ac_try_echo"; } >&5
1738 (eval "$ac_link") 2>conftest.err
1740 if test -s conftest.err
; then
1741 grep -v '^ *+' conftest.err
>conftest.er1
1742 cat conftest.er1
>&5
1743 mv -f conftest.er1 conftest.err
1745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1746 test $ac_status = 0; } && {
1747 test -z "$ac_c_werror_flag" ||
1748 test ! -s conftest.err
1749 } && test -s conftest
$ac_exeext && {
1750 test "$cross_compiling" = yes ||
1751 $as_test_x conftest
$ac_exeext
1755 $as_echo "$as_me: failed program was:" >&5
1756 sed 's/^/| /' conftest.
$ac_ext >&5
1760 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1761 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1762 # interfere with the next link command; also delete a directory that is
1763 # left behind by Apple's compiler. We do this before executing the actions.
1764 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1765 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1768 } # ac_fn_c_try_link
1770 # ac_fn_c_check_func LINENO FUNC VAR
1771 # ----------------------------------
1772 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1773 ac_fn_c_check_func
()
1775 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1777 $as_echo_n "checking for $2... " >&6; }
1778 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1779 $as_echo_n "(cached) " >&6
1781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1782 /* end confdefs.h. */
1783 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1785 #define $2 innocuous_$2
1787 /* System header to define __stub macros and hopefully few prototypes,
1788 which can conflict with char $2 (); below.
1789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1790 <limits.h> exists even on freestanding compilers. */
1793 # include <limits.h>
1795 # include <assert.h>
1800 /* Override any GCC internal prototype to avoid an error.
1801 Use char because int might match the return type of a GCC
1802 builtin and then its argument prototype would still apply. */
1807 /* The GNU C library defines this for functions which it implements
1808 to always fail with ENOSYS. Some functions are actually named
1809 something starting with __ and the normal name is an alias. */
1810 #if defined __stub_$2 || defined __stub___$2
1822 if ac_fn_c_try_link
"$LINENO"; then :
1827 rm -f core conftest.err conftest.
$ac_objext \
1828 conftest
$ac_exeext conftest.
$ac_ext
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1832 $as_echo "$ac_res" >&6; }
1833 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1835 } # ac_fn_c_check_func
1837 # ac_fn_cxx_try_compile LINENO
1838 # ----------------------------
1839 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1840 ac_fn_cxx_try_compile
()
1842 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1843 rm -f conftest.
$ac_objext
1844 if { { ac_try
="$ac_compile"
1846 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1847 *) ac_try_echo=$ac_try;;
1849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1850 $as_echo "$ac_try_echo"; } >&5
1851 (eval "$ac_compile") 2>conftest.err
1853 if test -s conftest.err; then
1854 grep -v '^ *+' conftest.err >conftest.er1
1855 cat conftest.er1 >&5
1856 mv -f conftest.er1 conftest.err
1858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1859 test $ac_status = 0; } && {
1860 test -z "$ac_cxx_werror_flag" ||
1861 test ! -s conftest.err
1862 } && test -s conftest.$ac_objext; then :
1865 $as_echo "$as_me: failed program was:" >&5
1866 sed 's/^/| /' conftest.$ac_ext >&5
1870 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1873 } # ac_fn_cxx_try_compile
1875 # ac_fn_cxx_try_cpp LINENO
1876 # ------------------------
1877 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1878 ac_fn_cxx_try_cpp ()
1880 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1881 if { { ac_try="$ac_cpp conftest.$ac_ext"
1883 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1884 *) ac_try_echo
=$ac_try;;
1886 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1887 $as_echo "$ac_try_echo"; } >&5
1888 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1890 if test -s conftest.err
; then
1891 grep -v '^ *+' conftest.err
>conftest.er1
1892 cat conftest.er1
>&5
1893 mv -f conftest.er1 conftest.err
1895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1896 test $ac_status = 0; } >/dev
/null
&& {
1897 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1898 test ! -s conftest.err
1902 $as_echo "$as_me: failed program was:" >&5
1903 sed 's/^/| /' conftest.
$ac_ext >&5
1907 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1910 } # ac_fn_cxx_try_cpp
1912 # ac_fn_cxx_try_link LINENO
1913 # -------------------------
1914 # Try to link conftest.$ac_ext, and return whether this succeeded.
1915 ac_fn_cxx_try_link
()
1917 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1918 rm -f conftest.
$ac_objext conftest
$ac_exeext
1919 if { { ac_try
="$ac_link"
1921 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1922 *) ac_try_echo=$ac_try;;
1924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1925 $as_echo "$ac_try_echo"; } >&5
1926 (eval "$ac_link") 2>conftest.err
1928 if test -s conftest.err; then
1929 grep -v '^ *+' conftest.err >conftest.er1
1930 cat conftest.er1 >&5
1931 mv -f conftest.er1 conftest.err
1933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1934 test $ac_status = 0; } && {
1935 test -z "$ac_cxx_werror_flag" ||
1936 test ! -s conftest.err
1937 } && test -s conftest$ac_exeext && {
1938 test "$cross_compiling" = yes ||
1939 $as_test_x conftest$ac_exeext
1943 $as_echo "$as_me: failed program was:" >&5
1944 sed 's/^/| /' conftest.$ac_ext >&5
1948 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1949 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1950 # interfere with the next link command; also delete a directory that is
1951 # left behind by Apple's compiler. We do this before executing the actions.
1952 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1953 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1956 } # ac_fn_cxx_try_link
1957 cat >config.log <<_ACEOF
1958 This file contains any messages produced by compilers while
1959 running configure, to aid debugging if configure makes a mistake.
1961 It was created by package-unused $as_me version-unused, which was
1962 generated by GNU Autoconf 2.64. Invocation command line was
1974 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1975 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1976 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1977 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1978 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1980 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1981 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1983 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1984 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1985 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1986 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1987 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1988 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1989 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1997 test -z "$as_dir" && as_dir=.
1998 $as_echo "PATH: $as_dir"
2014 # Keep a trace of the command line.
2015 # Strip out --no-create and --no-recursion so they do not pile up.
2016 # Strip out --silent because we don't want to record it for future runs.
2017 # Also quote any args containing shell meta-characters.
2018 # Make two passes to allow for proper duplicate-argument suppression.
2022 ac_must_keep_next=false
2028 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2029 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2030 | -silent | --silent | --silen | --sile | --sil)
2033 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2036 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2038 as_fn_append ac_configure_args1 " '$ac_arg'"
2039 if test $ac_must_keep_next = true; then
2040 ac_must_keep_next=false # Got value, back to normal.
2043 *=* | --config-cache | -C | -disable-* | --disable-* \
2044 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2045 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2046 | -with-* | --with-* | -without-* | --without-* | --x)
2047 case "$ac_configure_args0 " in
2048 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2051 -* ) ac_must_keep_next=true ;;
2054 as_fn_append ac_configure_args " '$ac_arg'"
2059 { ac_configure_args0=; unset ac_configure_args0;}
2060 { ac_configure_args1=; unset ac_configure_args1;}
2062 # When interrupted or exit'd, cleanup temporary files, and complete
2063 # config.log. We remove comments because anyway the quotes in there
2064 # would cause problems or look ugly.
2065 # WARNING: Use '\'' to represent an apostrophe within the trap.
2066 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2067 trap 'exit_status=$?
2068 # Save into config.log some information that might help in debugging.
2073 ## ---------------- ##
2074 ## Cache variables. ##
2075 ## ---------------- ##
2078 # The following way of writing the cache mishandles newlines in values,
2080 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2081 eval ac_val=\$$ac_var
2085 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2086 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2089 _ | IFS | as_nl) ;; #(
2090 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2091 *) { eval $ac_var=; unset $ac_var;} ;;
2096 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2097 *${as_nl}ac_space=\ *)
2099 "s/'\''/'\''\\\\'\'''\''/g;
2100 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2103 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2111 ## ----------------- ##
2112 ## Output variables. ##
2113 ## ----------------- ##
2116 for ac_var in $ac_subst_vars
2118 eval ac_val=\$$ac_var
2120 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2122 $as_echo "$ac_var='\''$ac_val'\''"
2126 if test -n "$ac_subst_files"; then
2128 ## ------------------- ##
2129 ## File substitutions. ##
2130 ## ------------------- ##
2133 for ac_var in $ac_subst_files
2135 eval ac_val=\$$ac_var
2137 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2139 $as_echo "$ac_var='\''$ac_val'\''"
2144 if test -s confdefs.h; then
2154 test "$ac_signal" != 0 &&
2155 $as_echo "$as_me: caught signal $ac_signal"
2156 $as_echo "$as_me: exit $exit_status"
2158 rm -f core *.core core.conftest.* &&
2159 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2162 for ac_signal in 1 2 13 15; do
2163 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2167 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2168 rm -f -r conftest* confdefs.h
2170 $as_echo "/* confdefs.h */" > confdefs.h
2172 # Predefined preprocessor variables.
2174 cat >>confdefs.h <<_ACEOF
2175 #define PACKAGE_NAME "$PACKAGE_NAME"
2178 cat >>confdefs.h <<_ACEOF
2179 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2182 cat >>confdefs.h <<_ACEOF
2183 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2186 cat >>confdefs.h <<_ACEOF
2187 #define PACKAGE_STRING "$PACKAGE_STRING"
2190 cat >>confdefs.h <<_ACEOF
2191 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2194 cat >>confdefs.h <<_ACEOF
2195 #define PACKAGE_URL "$PACKAGE_URL"
2199 # Let the site file select an alternate cache file if it wants to.
2200 # Prefer an explicitly selected file to automatically selected ones.
2203 if test -n "$CONFIG_SITE"; then
2204 ac_site_file1=$CONFIG_SITE
2205 elif test "x$prefix" != xNONE; then
2206 ac_site_file1=$prefix/share/config.site
2207 ac_site_file2=$prefix/etc/config.site
2209 ac_site_file1=$ac_default_prefix/share/config.site
2210 ac_site_file2=$ac_default_prefix/etc/config.site
2212 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2214 test "x$ac_site_file" = xNONE && continue
2215 if test -r "$ac_site_file"; then
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2217 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2218 sed 's/^/| /' "$ac_site_file" >&5
2223 if test -r "$cache_file"; then
2224 # Some versions of bash will fail to source /dev/null (special
2225 # files actually), so we avoid doing that.
2226 if test -f "$cache_file"; then
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2228 $as_echo "$as_me: loading cache $cache_file" >&6;}
2230 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2231 *) . "./$cache_file";;
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2236 $as_echo "$as_me: creating cache $cache_file" >&6;}
2240 # Check that the precious variables saved in the cache have kept the same
2242 ac_cache_corrupted=false
2243 for ac_var in $ac_precious_vars; do
2244 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2245 eval ac_new_set=\$ac_env_${ac_var}_set
2246 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2247 eval ac_new_val=\$ac_env_${ac_var}_value
2248 case $ac_old_set,$ac_new_set in
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2251 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2252 ac_cache_corrupted=: ;;
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2255 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2256 ac_cache_corrupted=: ;;
2259 if test "x$ac_old_val" != "x$ac_new_val"; then
2260 # differences in whitespace do not lead to failure.
2261 ac_old_val_w=`echo x
$ac_old_val`
2262 ac_new_val_w=`echo x
$ac_new_val`
2263 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2265 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2266 ac_cache_corrupted=:
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2269 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2270 eval $ac_var=\$ac_old_val
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2273 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2275 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2278 # Pass precious variables to config.status.
2279 if test "$ac_new_set" = set; then
2281 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2282 *) ac_arg=$ac_var=$ac_new_val ;;
2284 case " $ac_configure_args " in
2285 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2286 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2290 if $ac_cache_corrupted; then
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2294 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2295 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2297 ## -------------------- ##
2298 ## Main body of script. ##
2299 ## -------------------- ##
2302 ac_cpp='$CPP $CPPFLAGS'
2303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2316 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2317 # Check whether --enable-version-specific-runtime-libs was given.
2318 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2319 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2320 yes) version_specific_libs=yes ;;
2321 no) version_specific_libs=no ;;
2322 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2325 version_specific_libs=no
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2329 $as_echo "$version_specific_libs" >&6; }
2331 # Do not delete or change the following two lines. For why, see
2332 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2334 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2335 for ac_t in install-sh install.sh shtool; do
2336 if test -f "$ac_dir/$ac_t"; then
2338 ac_install_sh="$ac_aux_dir/$ac_t -c"
2343 if test -z "$ac_aux_dir"; then
2344 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2347 # These three variables are undocumented and unsupported,
2348 # and are intended to be withdrawn in a future Autoconf release.
2349 # They can cause serious problems if a builder's source tree is in a directory
2350 # whose full name contains unusual characters.
2351 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2352 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2353 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2356 # Make sure we can run config.sub.
2357 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2358 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2361 $as_echo_n "checking build system type... " >&6; }
2362 if test "${ac_cv_build+set}" = set; then :
2363 $as_echo_n "(cached) " >&6
2365 ac_build_alias=$build_alias
2366 test "x$ac_build_alias" = x &&
2367 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2368 test "x$ac_build_alias" = x &&
2369 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2370 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2371 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2375 $as_echo "$ac_cv_build" >&6; }
2376 case $ac_cv_build in
2378 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2381 ac_save_IFS=$IFS; IFS='-'
2387 # Remember, the first character of IFS is used to create $*,
2388 # except with old shells:
2391 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2395 $as_echo_n "checking host system type... " >&6; }
2396 if test "${ac_cv_host+set}" = set; then :
2397 $as_echo_n "(cached) " >&6
2399 if test "x$host_alias" = x; then
2400 ac_cv_host=$ac_cv_build
2402 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2403 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2408 $as_echo "$ac_cv_host" >&6; }
2411 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2414 ac_save_IFS=$IFS; IFS='-'
2420 # Remember, the first character of IFS is used to create $*,
2421 # except with old shells:
2424 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2428 $as_echo_n "checking target system type... " >&6; }
2429 if test "${ac_cv_target+set}" = set; then :
2430 $as_echo_n "(cached) " >&6
2432 if test "x$target_alias" = x; then
2433 ac_cv_target=$ac_cv_host
2435 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2436 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2441 $as_echo "$ac_cv_target" >&6; }
2442 case $ac_cv_target in
2444 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2446 target=$ac_cv_target
2447 ac_save_IFS=$IFS; IFS='-'
2453 # Remember, the first character of IFS is used to create $*,
2454 # except with old shells:
2457 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2460 # The aliases save the names the user supplied, while $host etc.
2461 # will get canonicalized.
2462 test -n "$target_alias" &&
2463 test "$program_prefix$program_suffix$program_transform_name" = \
2465 program_prefix=${target_alias}-
2467 target_alias=${target_alias-$host_alias}
2469 case ${build_alias} in
2470 "") build_noncanonical=${build} ;;
2471 *) build_noncanonical=${build_alias} ;;
2474 case ${host_alias} in
2475 "") host_noncanonical=${build_noncanonical} ;;
2476 *) host_noncanonical=${host_alias} ;;
2479 case ${target_alias} in
2480 "") target_noncanonical=${host_noncanonical} ;;
2481 *) target_noncanonical=${target_alias} ;;
2488 LIBSTDCXX_RAW_CXX_CXXFLAGS="\
2489 -I\$(top_builddir)/../libstdc++-v3/include \
2490 -I\$(top_builddir)/../libstdc++-v3/include/\$(target_noncanonical) \
2491 -I\$(top_srcdir)/../libstdc++-v3/libsupc++"
2492 LIBSTDCXX_RAW_CXX_LDFLAGS="\
2493 \$(top_builddir)/../libstdc++-v3/src/libstdc++.la"
2499 unset LIBMPX_SUPPORTED
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target support for Intel MPX runtime library" >&5
2501 $as_echo_n "checking for target support for Intel MPX runtime library... " >&6; }
2502 echo "int i[sizeof (void *) == 4 ? 1 : -1] = { __x86_64__ };" > conftest.c
2503 if { ac_try='${CC} ${CFLAGS} -c -o conftest.o conftest.c 1>&5'
2504 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
2507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2508 test $ac_status = 0; }; }
2512 LIBMPX_SUPPORTED=yes
2514 rm -f conftest.o conftest.c
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBMPX_SUPPORTED" >&5
2516 $as_echo "$LIBMPX_SUPPORTED" >&6; }
2517 if test "x$LIBMPX_SUPPORTED" = "xyes"; then
2518 LIBMPX_SUPPORTED_TRUE=
2519 LIBMPX_SUPPORTED_FALSE='#'
2521 LIBMPX_SUPPORTED_TRUE='#'
2522 LIBMPX_SUPPORTED_FALSE=
2526 link_libmpx="-lpthread"
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ld accepts -z bndplt" >&5
2529 $as_echo_n "checking whether ld accepts -z bndplt... " >&6; }
2530 echo "int main() {};" > conftest.c
2531 if { ac_try='${CC} ${CFLAGS} -Wl,-z,bndplt -o conftest conftest.c 1>&5'
2532 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
2535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2536 test $ac_status = 0; }; }
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2539 $as_echo "yes" >&6; }
2540 link_mpx="$link_mpx -z bndplt"
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2543 $as_echo "no" >&6; }
2548 am__api_version='1.11'
2550 # Find a good install program. We prefer a C program (faster),
2551 # so one script is as good as another. But avoid the broken or
2552 # incompatible versions:
2553 # SysV /etc/install, /usr/sbin/install
2554 # SunOS /usr/etc/install
2555 # IRIX /sbin/install
2557 # AmigaOS /C/install, which installs bootblocks on floppy discs
2558 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2559 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2560 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2561 # OS/2's system install, which has a completely different semantic
2562 # ./install, which can be erroneously created by make from ./install.sh.
2563 # Reject install programs that cannot install multiple files.
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2565 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2566 if test -z "$INSTALL"; then
2567 if test "${ac_cv_path_install+set}" = set; then :
2568 $as_echo_n "(cached) " >&6
2570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2574 test -z "$as_dir" && as_dir=.
2575 # Account for people who put trailing slashes in PATH elements.
2576 case $as_dir/ in #((
2577 ./ | .// | /[cC]/* | \
2578 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2579 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2582 # OSF1 and SCO ODT 3.0 have their own names for install.
2583 # Don't use installbsd from OSF since it installs stuff as root
2585 for ac_prog in ginstall scoinst install; do
2586 for ac_exec_ext in '' $ac_executable_extensions; do
2587 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2588 if test $ac_prog = install &&
2589 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2590 # AIX install. It has an incompatible calling convention.
2592 elif test $ac_prog = install &&
2593 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2594 # program-specific install script used by HP pwplus--don't use.
2597 rm -rf conftest.one conftest.two conftest.dir
2598 echo one > conftest.one
2599 echo two > conftest.two
2601 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2602 test -s conftest.one && test -s conftest.two &&
2603 test -s conftest.dir/conftest.one &&
2604 test -s conftest.dir/conftest.two
2606 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2619 rm -rf conftest.one conftest.two conftest.dir
2622 if test "${ac_cv_path_install+set}" = set; then
2623 INSTALL=$ac_cv_path_install
2625 # As a last resort, use the slow shell script. Don't cache a
2626 # value for INSTALL within a source directory, because that will
2627 # break other packages using the cache if that directory is
2628 # removed, or if the value is a relative name.
2629 INSTALL=$ac_install_sh
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2633 $as_echo "$INSTALL" >&6; }
2635 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2636 # It thinks the first close brace ends the variable substitution.
2637 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2639 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2641 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2644 $as_echo_n "checking whether build environment is sane... " >&6; }
2647 echo timestamp > conftest.file
2648 # Reject unsafe characters in $srcdir or the absolute working directory
2649 # name. Accept space and tab only in the latter.
2653 *[\\\"\#\$\&\'\`$am_lf]*)
2654 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2657 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2658 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2661 # Do `set' in a subshell so we don't clobber the current shell's
2662 # arguments. Must try -L first in case configure is actually a
2663 # symlink; some systems play weird games with the mod time of symlinks
2664 # (eg FreeBSD returns the mod time of the symlink's containing
2667 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2668 if test "$*" = "X"; then
2670 set X
`ls -t "$srcdir/configure" conftest.file`
2673 if test "$*" != "X $srcdir/configure conftest.file" \
2674 && test "$*" != "X conftest.file $srcdir/configure"; then
2676 # If neither matched, then we have a broken ls. This can happen
2677 # if, for instance, CONFIG_SHELL is bash and it inherits a
2678 # broken ls alias from the environment. This has actually
2679 # happened. Such a system could not be considered "sane".
2680 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2681 alias in your environment" "$LINENO" 5
2684 test "$2" = conftest.
file
2690 as_fn_error
"newly created file is older than distributed files!
2691 Check your system clock" "$LINENO" 5
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2694 $as_echo "yes" >&6; }
2695 test "$program_prefix" != NONE
&&
2696 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2697 # Use a double $ so make ignores it.
2698 test "$program_suffix" != NONE
&&
2699 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2700 # Double any \ or $.
2701 # By default was `s,x,x', remove it if useless.
2702 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2703 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2705 # expand $ac_aux_dir to an absolute path
2706 am_aux_dir
=`cd $ac_aux_dir && pwd`
2708 if test x
"${MISSING+set}" != xset
; then
2711 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2713 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2716 # Use eval to expand $SHELL
2717 if eval "$MISSING --run true"; then
2718 am_missing_run
="$MISSING --run "
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2722 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2725 if test x
"${install_sh}" != xset
; then
2728 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2730 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2734 # Installed binaries are usually stripped using `strip' when the user
2735 # run `make install-strip'. However `strip' might not be the right
2736 # tool to use in cross-compilation environments, therefore Automake
2737 # will honor the `STRIP' environment variable to overrule this program.
2738 if test "$cross_compiling" != no
; then
2739 if test -n "$ac_tool_prefix"; then
2740 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2741 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2743 $as_echo_n "checking for $ac_word... " >&6; }
2744 if test "${ac_cv_prog_STRIP+set}" = set; then :
2745 $as_echo_n "(cached) " >&6
2747 if test -n "$STRIP"; then
2748 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2754 test -z "$as_dir" && as_dir
=.
2755 for ac_exec_ext
in '' $ac_executable_extensions; do
2756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2757 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2767 STRIP
=$ac_cv_prog_STRIP
2768 if test -n "$STRIP"; then
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2770 $as_echo "$STRIP" >&6; }
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2773 $as_echo "no" >&6; }
2778 if test -z "$ac_cv_prog_STRIP"; then
2780 # Extract the first word of "strip", so it can be a program name with args.
2781 set dummy strip
; ac_word
=$2
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2783 $as_echo_n "checking for $ac_word... " >&6; }
2784 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2785 $as_echo_n "(cached) " >&6
2787 if test -n "$ac_ct_STRIP"; then
2788 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2794 test -z "$as_dir" && as_dir
=.
2795 for ac_exec_ext
in '' $ac_executable_extensions; do
2796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2797 ac_cv_prog_ac_ct_STRIP
="strip"
2798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2807 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2808 if test -n "$ac_ct_STRIP"; then
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2810 $as_echo "$ac_ct_STRIP" >&6; }
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2813 $as_echo "no" >&6; }
2816 if test "x$ac_ct_STRIP" = x
; then
2819 case $cross_compiling:$ac_tool_warned in
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2823 ac_tool_warned
=yes ;;
2828 STRIP
="$ac_cv_prog_STRIP"
2832 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2835 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2836 if test -z "$MKDIR_P"; then
2837 if test "${ac_cv_path_mkdir+set}" = set; then :
2838 $as_echo_n "(cached) " >&6
2840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2841 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2844 test -z "$as_dir" && as_dir
=.
2845 for ac_prog
in mkdir gmkdir
; do
2846 for ac_exec_ext
in '' $ac_executable_extensions; do
2847 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2848 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2849 'mkdir (GNU coreutils) '* | \
2850 'mkdir (coreutils) '* | \
2851 'mkdir (fileutils) '4.1*)
2852 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2862 if test "${ac_cv_path_mkdir+set}" = set; then
2863 MKDIR_P
="$ac_cv_path_mkdir -p"
2865 # As a last resort, use the slow shell script. Don't cache a
2866 # value for MKDIR_P within a source directory, because that will
2867 # break other packages using the cache if that directory is
2868 # removed, or if the value is a relative name.
2869 test -d .
/--version && rmdir .
/--version
2870 MKDIR_P
="$ac_install_sh -d"
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2874 $as_echo "$MKDIR_P" >&6; }
2878 [\\/$
]* | ?
:[\\/]*) ;;
2879 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2882 for ac_prog
in gawk mawk nawk
awk
2884 # Extract the first word of "$ac_prog", so it can be a program name with args.
2885 set dummy
$ac_prog; ac_word
=$2
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2887 $as_echo_n "checking for $ac_word... " >&6; }
2888 if test "${ac_cv_prog_AWK+set}" = set; then :
2889 $as_echo_n "(cached) " >&6
2891 if test -n "$AWK"; then
2892 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2898 test -z "$as_dir" && as_dir
=.
2899 for ac_exec_ext
in '' $ac_executable_extensions; do
2900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2901 ac_cv_prog_AWK
="$ac_prog"
2902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2912 if test -n "$AWK"; then
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2914 $as_echo "$AWK" >&6; }
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2917 $as_echo "no" >&6; }
2921 test -n "$AWK" && break
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2925 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2927 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2928 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2929 $as_echo_n "(cached) " >&6
2931 cat >conftest.
make <<\_ACEOF
2934 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2936 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2937 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2939 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2941 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2945 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2947 $as_echo "yes" >&6; }
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2951 $as_echo "no" >&6; }
2952 SET_MAKE
="MAKE=${MAKE-make}"
2955 rm -rf .tst
2>/dev
/null
2956 mkdir .tst
2>/dev
/null
2957 if test -d .tst
; then
2962 rmdir .tst
2>/dev
/null
2964 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2965 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2966 # is not polluted with repeated "-I."
2967 am__isrc
=' -I$(srcdir)'
2968 # test to see if srcdir already configured
2969 if test -f $srcdir/config.status
; then
2970 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2974 # test whether we have cygpath
2975 if test -z "$CYGPATH_W"; then
2976 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2977 CYGPATH_W
='cygpath -w'
2984 # Define the identity of the package.
2985 PACKAGE
='package-unused'
2986 VERSION
='version-unused'
2989 cat >>confdefs.h
<<_ACEOF
2990 #define PACKAGE "$PACKAGE"
2994 cat >>confdefs.h
<<_ACEOF
2995 #define VERSION "$VERSION"
2998 # Some tools Automake needs.
3000 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3003 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3006 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3009 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3012 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3014 # We need awk for the "check" target. The system "awk" is bad on
3016 # Always define AMTAR for backward compatibility.
3018 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3020 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3026 # Default to --enable-multilib
3027 # Check whether --enable-multilib was given.
3028 if test "${enable_multilib+set}" = set; then :
3029 enableval
=$enable_multilib; case "$enableval" in
3030 yes) multilib
=yes ;;
3032 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3039 # We may get other options which we leave undocumented:
3040 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3041 # See config-ml.in if you want the gory details.
3043 if test "$srcdir" = "."; then
3044 if test "$with_target_subdir" != "."; then
3045 multi_basedir
="$srcdir/$with_multisrctop../.."
3047 multi_basedir
="$srcdir/$with_multisrctop.."
3050 multi_basedir
="$srcdir/.."
3054 # Even if the default multilib is not a cross compilation,
3055 # it may be that some of the other multilibs are.
3056 if test $cross_compiling = no
&& test $multilib = yes \
3057 && test "x${with_multisubdir}" != x
; then
3058 cross_compiling
=maybe
3061 ac_config_commands
="$ac_config_commands default-1"
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3065 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3066 # Check whether --enable-maintainer-mode was given.
3067 if test "${enable_maintainer_mode+set}" = set; then :
3068 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3070 USE_MAINTAINER_MODE
=no
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3074 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3075 if test $USE_MAINTAINER_MODE = yes; then
3076 MAINTAINER_MODE_TRUE
=
3077 MAINTAINER_MODE_FALSE
='#'
3079 MAINTAINER_MODE_TRUE
='#'
3080 MAINTAINER_MODE_FALSE
=
3083 MAINT
=$MAINTAINER_MODE_TRUE
3088 ac_cpp
='$CPP $CPPFLAGS'
3089 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3090 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3091 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3092 if test -n "$ac_tool_prefix"; then
3093 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3094 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3096 $as_echo_n "checking for $ac_word... " >&6; }
3097 if test "${ac_cv_prog_CC+set}" = set; then :
3098 $as_echo_n "(cached) " >&6
3100 if test -n "$CC"; then
3101 ac_cv_prog_CC
="$CC" # Let the user override the test.
3103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3107 test -z "$as_dir" && as_dir
=.
3108 for ac_exec_ext
in '' $ac_executable_extensions; do
3109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3110 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3121 if test -n "$CC"; then
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3123 $as_echo "$CC" >&6; }
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3126 $as_echo "no" >&6; }
3131 if test -z "$ac_cv_prog_CC"; then
3133 # Extract the first word of "gcc", so it can be a program name with args.
3134 set dummy gcc
; ac_word
=$2
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3136 $as_echo_n "checking for $ac_word... " >&6; }
3137 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3138 $as_echo_n "(cached) " >&6
3140 if test -n "$ac_ct_CC"; then
3141 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3147 test -z "$as_dir" && as_dir
=.
3148 for ac_exec_ext
in '' $ac_executable_extensions; do
3149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3150 ac_cv_prog_ac_ct_CC
="gcc"
3151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3160 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3161 if test -n "$ac_ct_CC"; then
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3163 $as_echo "$ac_ct_CC" >&6; }
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3166 $as_echo "no" >&6; }
3169 if test "x$ac_ct_CC" = x
; then
3172 case $cross_compiling:$ac_tool_warned in
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3176 ac_tool_warned
=yes ;;
3184 if test -z "$CC"; then
3185 if test -n "$ac_tool_prefix"; then
3186 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3187 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3189 $as_echo_n "checking for $ac_word... " >&6; }
3190 if test "${ac_cv_prog_CC+set}" = set; then :
3191 $as_echo_n "(cached) " >&6
3193 if test -n "$CC"; then
3194 ac_cv_prog_CC
="$CC" # Let the user override the test.
3196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3200 test -z "$as_dir" && as_dir
=.
3201 for ac_exec_ext
in '' $ac_executable_extensions; do
3202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3203 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3214 if test -n "$CC"; then
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3216 $as_echo "$CC" >&6; }
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3219 $as_echo "no" >&6; }
3225 if test -z "$CC"; then
3226 # Extract the first word of "cc", so it can be a program name with args.
3227 set dummy cc
; ac_word
=$2
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3229 $as_echo_n "checking for $ac_word... " >&6; }
3230 if test "${ac_cv_prog_CC+set}" = set; then :
3231 $as_echo_n "(cached) " >&6
3233 if test -n "$CC"; then
3234 ac_cv_prog_CC
="$CC" # Let the user override the test.
3237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3241 test -z "$as_dir" && as_dir
=.
3242 for ac_exec_ext
in '' $ac_executable_extensions; do
3243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3244 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3245 ac_prog_rejected
=yes
3249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3256 if test $ac_prog_rejected = yes; then
3257 # We found a bogon in the path, so make sure we never use it.
3258 set dummy
$ac_cv_prog_CC
3260 if test $# != 0; then
3261 # We chose a different compiler from the bogus one.
3262 # However, it has the same basename, so the bogon will be chosen
3263 # first if we set CC to just the basename; use the full file name.
3265 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3271 if test -n "$CC"; then
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3273 $as_echo "$CC" >&6; }
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3276 $as_echo "no" >&6; }
3281 if test -z "$CC"; then
3282 if test -n "$ac_tool_prefix"; then
3283 for ac_prog
in cl.exe
3285 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3286 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3288 $as_echo_n "checking for $ac_word... " >&6; }
3289 if test "${ac_cv_prog_CC+set}" = set; then :
3290 $as_echo_n "(cached) " >&6
3292 if test -n "$CC"; then
3293 ac_cv_prog_CC
="$CC" # Let the user override the test.
3295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3299 test -z "$as_dir" && as_dir
=.
3300 for ac_exec_ext
in '' $ac_executable_extensions; do
3301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3302 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3313 if test -n "$CC"; then
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3315 $as_echo "$CC" >&6; }
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3318 $as_echo "no" >&6; }
3322 test -n "$CC" && break
3325 if test -z "$CC"; then
3327 for ac_prog
in cl.exe
3329 # Extract the first word of "$ac_prog", so it can be a program name with args.
3330 set dummy
$ac_prog; ac_word
=$2
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3332 $as_echo_n "checking for $ac_word... " >&6; }
3333 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3334 $as_echo_n "(cached) " >&6
3336 if test -n "$ac_ct_CC"; then
3337 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3343 test -z "$as_dir" && as_dir
=.
3344 for ac_exec_ext
in '' $ac_executable_extensions; do
3345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3346 ac_cv_prog_ac_ct_CC
="$ac_prog"
3347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3356 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3357 if test -n "$ac_ct_CC"; then
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3359 $as_echo "$ac_ct_CC" >&6; }
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3362 $as_echo "no" >&6; }
3366 test -n "$ac_ct_CC" && break
3369 if test "x$ac_ct_CC" = x
; then
3372 case $cross_compiling:$ac_tool_warned in
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3376 ac_tool_warned
=yes ;;
3385 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3387 as_fn_error
"no acceptable C compiler found in \$PATH
3388 See \`config.log' for more details." "$LINENO" 5; }
3390 # Provide some information about the compiler.
3391 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3394 for ac_option
in --version -v -V -qversion; do
3395 { { ac_try
="$ac_compiler $ac_option >&5"
3397 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3398 *) ac_try_echo=$ac_try;;
3400 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3401 $as_echo "$ac_try_echo"; } >&5
3402 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3404 if test -s conftest.err; then
3406 ... rest of stderr output deleted ...
3407 10q' conftest.err >conftest.er1
3408 cat conftest.er1 >&5
3409 rm -f conftest.er1 conftest.err
3411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3412 test $ac_status = 0; }
3415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3416 /* end confdefs.h. */
3426 ac_clean_files_save=$ac_clean_files
3427 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3428 # Try to create an executable without -o first, disregard a.out.
3429 # It will help us diagnose broken compilers, and finding out an intuition
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3432 $as_echo_n "checking for C compiler default output file name... " >&6; }
3433 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3435 # The possible output files:
3436 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3439 for ac_file in $ac_files
3442 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3443 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3448 if { { ac_try="$ac_link_default"
3450 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3451 *) ac_try_echo
=$ac_try;;
3453 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3454 $as_echo "$ac_try_echo"; } >&5
3455 (eval "$ac_link_default") 2>&5
3457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3458 test $ac_status = 0; }; then :
3459 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3460 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3461 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3462 # so that the user can short-circuit this test for compilers unknown to
3464 for ac_file
in $ac_files ''
3466 test -f "$ac_file" ||
continue
3468 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3471 # We found the default executable, but exeext='' is most
3475 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3477 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3479 # We set ac_cv_exeext here because the later test for it is not
3480 # safe: cross compilers may not add the suffix if given an `-o'
3481 # argument, so we may need to know it at that point already.
3482 # Even if this section looks crufty: it has the advantage of
3489 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3495 $as_echo "$ac_file" >&6; }
3496 if test -z "$ac_file"; then :
3497 $as_echo "$as_me: failed program was:" >&5
3498 sed 's/^/| /' conftest.
$ac_ext >&5
3500 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3501 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3502 { as_fn_set_status
77
3503 as_fn_error
"C compiler cannot create executables
3504 See \`config.log' for more details." "$LINENO" 5; }; }
3506 ac_exeext
=$ac_cv_exeext
3508 # Check that the compiler produces executables we can run. If not, either
3509 # the compiler is broken, or we cross compile.
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3511 $as_echo_n "checking whether the C compiler works... " >&6; }
3512 # If not cross compiling, check that we can run a simple program.
3513 if test "$cross_compiling" != yes; then
3514 if { ac_try
='./$ac_file'
3515 { { case "(($ac_try" in
3516 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3517 *) ac_try_echo=$ac_try;;
3519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3520 $as_echo "$ac_try_echo"; } >&5
3521 (eval "$ac_try") 2>&5
3523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3524 test $ac_status = 0; }; }; then
3527 if test "$cross_compiling" = maybe; then
3530 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3531 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3532 as_fn_error "cannot run C compiled programs.
3533 If you meant to cross compile
, use \
`--host'.
3534 See \`config.log
' for more details." "$LINENO" 5; }
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3539 $as_echo "yes" >&6; }
3541 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3542 ac_clean_files=$ac_clean_files_save
3543 # Check that the compiler produces executables we can run. If not, either
3544 # the compiler is broken, or we cross compile.
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3546 $as_echo_n "checking whether we are cross compiling... " >&6; }
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3548 $as_echo "$cross_compiling" >&6; }
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3551 $as_echo_n "checking for suffix of executables... " >&6; }
3552 if { { ac_try="$ac_link"
3554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3555 *) ac_try_echo=$ac_try;;
3557 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3558 $as_echo "$ac_try_echo"; } >&5
3559 (eval "$ac_link") 2>&5
3561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3562 test $ac_status = 0; }; then :
3563 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3564 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3565 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3567 for ac_file
in conftest.exe conftest conftest.
*; do
3568 test -f "$ac_file" ||
continue
3570 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3571 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3577 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3579 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3580 See \`config.log' for more details." "$LINENO" 5; }
3582 rm -f conftest
$ac_cv_exeext
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3584 $as_echo "$ac_cv_exeext" >&6; }
3586 rm -f conftest.
$ac_ext
3587 EXEEXT
=$ac_cv_exeext
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3590 $as_echo_n "checking for suffix of object files... " >&6; }
3591 if test "${ac_cv_objext+set}" = set; then :
3592 $as_echo_n "(cached) " >&6
3594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3595 /* end confdefs.h. */
3605 rm -f conftest.o conftest.obj
3606 if { { ac_try
="$ac_compile"
3608 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3609 *) ac_try_echo=$ac_try;;
3611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3612 $as_echo "$ac_try_echo"; } >&5
3613 (eval "$ac_compile") 2>&5
3615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3616 test $ac_status = 0; }; then :
3617 for ac_file in conftest.o conftest.obj conftest.*; do
3618 test -f "$ac_file" || continue;
3620 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3621 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3626 $as_echo "$as_me: failed program was:" >&5
3627 sed 's/^/| /' conftest.$ac_ext >&5
3629 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3631 as_fn_error "cannot compute suffix of object files
: cannot compile
3632 See \
`config.log' for more details." "$LINENO" 5; }
3634 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3637 $as_echo "$ac_cv_objext" >&6; }
3638 OBJEXT=$ac_cv_objext
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3641 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3642 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3643 $as_echo_n "(cached) " >&6
3645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3646 /* end confdefs.h. */
3659 if ac_fn_c_try_compile "$LINENO"; then :
3664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3665 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3669 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3670 if test $ac_compiler_gnu = yes; then
3675 ac_test_CFLAGS=${CFLAGS+set}
3676 ac_save_CFLAGS=$CFLAGS
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3678 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3679 if test "${ac_cv_prog_cc_g+set}" = set; then :
3680 $as_echo_n "(cached) " >&6
3682 ac_save_c_werror_flag=$ac_c_werror_flag
3683 ac_c_werror_flag=yes
3686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3687 /* end confdefs.h. */
3697 if ac_fn_c_try_compile "$LINENO"; then :
3701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3702 /* end confdefs.h. */
3712 if ac_fn_c_try_compile "$LINENO"; then :
3715 ac_c_werror_flag=$ac_save_c_werror_flag
3717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3718 /* end confdefs.h. */
3728 if ac_fn_c_try_compile "$LINENO"; then :
3731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3736 ac_c_werror_flag=$ac_save_c_werror_flag
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3739 $as_echo "$ac_cv_prog_cc_g" >&6; }
3740 if test "$ac_test_CFLAGS" = set; then
3741 CFLAGS=$ac_save_CFLAGS
3742 elif test $ac_cv_prog_cc_g = yes; then
3743 if test "$GCC" = yes; then
3749 if test "$GCC" = yes; then
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3756 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3757 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3758 $as_echo_n "(cached) " >&6
3760 ac_cv_prog_cc_c89=no
3762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3763 /* end confdefs.h. */
3766 #include <sys/types.h>
3767 #include <sys/stat.h>
3768 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3769 struct buf { int x; };
3770 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3771 static char *e (p, i)
3777 static char *f (char * (*g) (char **, int), char **p, ...)
3782 s = g (p, va_arg (v,int));
3787 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3788 function prototypes and stuff, but not '\xHH' hex character constants.
3789 These don't provoke an error unfortunately, instead are silently treated
3790 as 'x'. The following induces an error, until -std is added to get
3791 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3792 array size at least. It's necessary to write '\x00'==0 to get something
3793 that's true only with -std. */
3794 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3796 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3797 inside strings and character constants. */
3799 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3801 int test (int i, double x);
3802 struct s1 {int (*f) (int a);};
3803 struct s2 {int (*f) (double a);};
3804 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3810 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3815 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3816 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3818 CC="$ac_save_CC $ac_arg"
3819 if ac_fn_c_try_compile "$LINENO"; then :
3820 ac_cv_prog_cc_c89=$ac_arg
3822 rm -f core conftest.err conftest.$ac_objext
3823 test "x$ac_cv_prog_cc_c89" != "xno" && break
3825 rm -f conftest.$ac_ext
3830 case "x$ac_cv_prog_cc_c89" in
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3833 $as_echo "none needed" >&6; } ;;
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3836 $as_echo "unsupported" >&6; } ;;
3838 CC="$CC $ac_cv_prog_cc_c89"
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3840 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3842 if test "x$ac_cv_prog_cc_c89" != xno; then :
3847 ac_cpp='$CPP $CPPFLAGS'
3848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3854 ac_cpp='$CPP $CPPFLAGS'
3855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3859 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3860 # On Suns, sometimes $CPP names a directory.
3861 if test -n "$CPP" && test -d "$CPP"; then
3864 if test -z "$CPP"; then
3865 if test "${ac_cv_prog_CPP+set}" = set; then :
3866 $as_echo_n "(cached) " >&6
3868 # Double quotes because CPP needs to be expanded
3869 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3872 for ac_c_preproc_warn_flag in '' yes
3874 # Use a header file that comes with gcc, so configuring glibc
3875 # with a fresh cross-compiler works.
3876 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3877 # <limits.h> exists even on freestanding compilers.
3878 # On the NeXT, cc -E runs the code through the compiler's parser,
3879 # not just through cpp. "Syntax error" is here to catch this case.
3880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3881 /* end confdefs.h. */
3883 # include <limits.h>
3885 # include <assert.h>
3889 if ac_fn_c_try_cpp "$LINENO"; then :
3892 # Broken: fails on valid input.
3895 rm -f conftest.err conftest.$ac_ext
3897 # OK, works on sane cases. Now check whether nonexistent headers
3898 # can be detected and how.
3899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3900 /* end confdefs.h. */
3901 #include <ac_nonexistent.h>
3903 if ac_fn_c_try_cpp "$LINENO"; then :
3904 # Broken: success on invalid input.
3907 # Passes both tests.
3911 rm -f conftest.err conftest.$ac_ext
3914 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3915 rm -f conftest.err conftest.
$ac_ext
3916 if $ac_preproc_ok; then :
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3929 $as_echo "$CPP" >&6; }
3931 for ac_c_preproc_warn_flag
in '' yes
3933 # Use a header file that comes with gcc, so configuring glibc
3934 # with a fresh cross-compiler works.
3935 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3936 # <limits.h> exists even on freestanding compilers.
3937 # On the NeXT, cc -E runs the code through the compiler's parser,
3938 # not just through cpp. "Syntax error" is here to catch this case.
3939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3940 /* end confdefs.h. */
3942 # include <limits.h>
3944 # include <assert.h>
3948 if ac_fn_c_try_cpp
"$LINENO"; then :
3951 # Broken: fails on valid input.
3954 rm -f conftest.err conftest.
$ac_ext
3956 # OK, works on sane cases. Now check whether nonexistent headers
3957 # can be detected and how.
3958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3959 /* end confdefs.h. */
3960 #include <ac_nonexistent.h>
3962 if ac_fn_c_try_cpp
"$LINENO"; then :
3963 # Broken: success on invalid input.
3966 # Passes both tests.
3970 rm -f conftest.err conftest.
$ac_ext
3973 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3974 rm -f conftest.err conftest.
$ac_ext
3975 if $ac_preproc_ok; then :
3978 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3980 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3981 See \`config.log' for more details." "$LINENO" 5; }
3985 ac_cpp
='$CPP $CPPFLAGS'
3986 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3987 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3988 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3992 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3993 if test "${ac_cv_path_GREP+set}" = set; then :
3994 $as_echo_n "(cached) " >&6
3996 if test -z "$GREP"; then
3997 ac_path_GREP_found
=false
3998 # Loop through the user's path and test for each of PROGNAME-LIST
3999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4000 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4003 test -z "$as_dir" && as_dir
=.
4004 for ac_prog
in grep ggrep
; do
4005 for ac_exec_ext
in '' $ac_executable_extensions; do
4006 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4007 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4008 # Check for GNU ac_path_GREP and select it if it is found.
4009 # Check for GNU $ac_path_GREP
4010 case `"$ac_path_GREP" --version 2>&1` in
4012 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4015 $as_echo_n 0123456789 >"conftest.in"
4018 cat "conftest.in" "conftest.in" >"conftest.tmp"
4019 mv "conftest.tmp" "conftest.in"
4020 cp "conftest.in" "conftest.nl"
4021 $as_echo 'GREP' >> "conftest.nl"
4022 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4023 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4024 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4025 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4026 # Best one so far, save it but keep looking for a better one
4027 ac_cv_path_GREP
="$ac_path_GREP"
4028 ac_path_GREP_max
=$ac_count
4030 # 10*(2^10) chars as input seems more than enough
4031 test $ac_count -gt 10 && break
4033 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4036 $ac_path_GREP_found && break 3
4041 if test -z "$ac_cv_path_GREP"; then
4042 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4045 ac_cv_path_GREP
=$GREP
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4050 $as_echo "$ac_cv_path_GREP" >&6; }
4051 GREP
="$ac_cv_path_GREP"
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4055 $as_echo_n "checking for egrep... " >&6; }
4056 if test "${ac_cv_path_EGREP+set}" = set; then :
4057 $as_echo_n "(cached) " >&6
4059 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4060 then ac_cv_path_EGREP
="$GREP -E"
4062 if test -z "$EGREP"; then
4063 ac_path_EGREP_found
=false
4064 # Loop through the user's path and test for each of PROGNAME-LIST
4065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4066 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4069 test -z "$as_dir" && as_dir
=.
4070 for ac_prog
in egrep; do
4071 for ac_exec_ext
in '' $ac_executable_extensions; do
4072 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4073 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4074 # Check for GNU ac_path_EGREP and select it if it is found.
4075 # Check for GNU $ac_path_EGREP
4076 case `"$ac_path_EGREP" --version 2>&1` in
4078 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4081 $as_echo_n 0123456789 >"conftest.in"
4084 cat "conftest.in" "conftest.in" >"conftest.tmp"
4085 mv "conftest.tmp" "conftest.in"
4086 cp "conftest.in" "conftest.nl"
4087 $as_echo 'EGREP' >> "conftest.nl"
4088 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4089 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4090 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4091 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4092 # Best one so far, save it but keep looking for a better one
4093 ac_cv_path_EGREP
="$ac_path_EGREP"
4094 ac_path_EGREP_max
=$ac_count
4096 # 10*(2^10) chars as input seems more than enough
4097 test $ac_count -gt 10 && break
4099 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4102 $ac_path_EGREP_found && break 3
4107 if test -z "$ac_cv_path_EGREP"; then
4108 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4111 ac_cv_path_EGREP
=$EGREP
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4117 $as_echo "$ac_cv_path_EGREP" >&6; }
4118 EGREP
="$ac_cv_path_EGREP"
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4122 $as_echo_n "checking for ANSI C header files... " >&6; }
4123 if test "${ac_cv_header_stdc+set}" = set; then :
4124 $as_echo_n "(cached) " >&6
4126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4127 /* end confdefs.h. */
4141 if ac_fn_c_try_compile
"$LINENO"; then :
4142 ac_cv_header_stdc
=yes
4144 ac_cv_header_stdc
=no
4146 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4148 if test $ac_cv_header_stdc = yes; then
4149 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4151 /* end confdefs.h. */
4155 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4156 $EGREP "memchr" >/dev
/null
2>&1; then :
4159 ac_cv_header_stdc
=no
4165 if test $ac_cv_header_stdc = yes; then
4166 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4168 /* end confdefs.h. */
4172 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4173 $EGREP "free" >/dev
/null
2>&1; then :
4176 ac_cv_header_stdc
=no
4182 if test $ac_cv_header_stdc = yes; then
4183 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4184 if test "$cross_compiling" = yes; then :
4187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4188 /* end confdefs.h. */
4191 #if ((' ' & 0x0FF) == 0x020)
4192 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4193 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4195 # define ISLOWER(c) \
4196 (('a' <= (c) && (c) <= 'i') \
4197 || ('j' <= (c) && (c) <= 'r') \
4198 || ('s' <= (c) && (c) <= 'z'))
4199 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4202 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4207 for (i = 0; i < 256; i++)
4208 if (XOR (islower (i), ISLOWER (i))
4209 || toupper (i) != TOUPPER (i))
4214 if ac_fn_c_try_run
"$LINENO"; then :
4217 ac_cv_header_stdc
=no
4219 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4220 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4226 $as_echo "$ac_cv_header_stdc" >&6; }
4227 if test $ac_cv_header_stdc = yes; then
4229 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4233 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4234 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4235 inttypes.h stdint.h unistd.h
4237 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4238 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4240 eval as_val
=\$
$as_ac_Header
4241 if test "x$as_val" = x
""yes; then :
4242 cat >>confdefs.h
<<_ACEOF
4243 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4252 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4253 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4260 if test "$MINIX" = yes; then
4262 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4265 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4268 $as_echo "#define _MINIX 1" >>confdefs.h
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4274 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4275 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4276 $as_echo_n "(cached) " >&6
4278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4279 /* end confdefs.h. */
4281 # define __EXTENSIONS__ 1
4282 $ac_includes_default
4291 if ac_fn_c_try_compile
"$LINENO"; then :
4292 ac_cv_safe_to_define___extensions__
=yes
4294 ac_cv_safe_to_define___extensions__
=no
4296 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4299 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4300 test $ac_cv_safe_to_define___extensions__ = yes &&
4301 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4303 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4305 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4307 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4309 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4313 for ac_func
in secure_getenv
4315 ac_fn_c_check_func
"$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
4316 if test "x$ac_cv_func_secure_getenv" = x
""yes; then :
4317 cat >>confdefs.h
<<_ACEOF
4318 #define HAVE_SECURE_GETENV 1
4325 # Calculate toolexeclibdir
4326 # Also toolexecdir, though it's only used in toolexeclibdir
4327 case ${version_specific_libs} in
4329 # Need the gcc compiler version to know where to install libraries
4330 # and header files if --enable-version-specific-runtime-libs option
4332 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4333 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4336 if test -n "$with_cross_host" &&
4337 test x
"$with_cross_host" != x
"no"; then
4338 # Install a library built with a cross compiler in tooldir, not libdir.
4339 toolexecdir
='$(exec_prefix)/$(target_alias)'
4340 toolexeclibdir
='$(toolexecdir)/lib'
4342 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4343 toolexeclibdir
='$(libdir)'
4345 multi_os_directory
=`$CC -print-multi-os-directory`
4346 case $multi_os_directory in
4347 .
) ;; # Avoid trailing /.
4348 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4355 # Check for programs.
4359 ac_cpp
='$CPP $CPPFLAGS'
4360 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4361 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4362 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4363 if test -n "$ac_tool_prefix"; then
4364 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4365 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4367 $as_echo_n "checking for $ac_word... " >&6; }
4368 if test "${ac_cv_prog_CC+set}" = set; then :
4369 $as_echo_n "(cached) " >&6
4371 if test -n "$CC"; then
4372 ac_cv_prog_CC
="$CC" # Let the user override the test.
4374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4378 test -z "$as_dir" && as_dir
=.
4379 for ac_exec_ext
in '' $ac_executable_extensions; do
4380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4381 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4392 if test -n "$CC"; then
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4394 $as_echo "$CC" >&6; }
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4397 $as_echo "no" >&6; }
4402 if test -z "$ac_cv_prog_CC"; then
4404 # Extract the first word of "gcc", so it can be a program name with args.
4405 set dummy gcc
; ac_word
=$2
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4407 $as_echo_n "checking for $ac_word... " >&6; }
4408 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4409 $as_echo_n "(cached) " >&6
4411 if test -n "$ac_ct_CC"; then
4412 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4418 test -z "$as_dir" && as_dir
=.
4419 for ac_exec_ext
in '' $ac_executable_extensions; do
4420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4421 ac_cv_prog_ac_ct_CC
="gcc"
4422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4431 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4432 if test -n "$ac_ct_CC"; then
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4434 $as_echo "$ac_ct_CC" >&6; }
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4437 $as_echo "no" >&6; }
4440 if test "x$ac_ct_CC" = x
; then
4443 case $cross_compiling:$ac_tool_warned in
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4446 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4447 ac_tool_warned
=yes ;;
4455 if test -z "$CC"; then
4456 if test -n "$ac_tool_prefix"; then
4457 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4458 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4460 $as_echo_n "checking for $ac_word... " >&6; }
4461 if test "${ac_cv_prog_CC+set}" = set; then :
4462 $as_echo_n "(cached) " >&6
4464 if test -n "$CC"; then
4465 ac_cv_prog_CC
="$CC" # Let the user override the test.
4467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4471 test -z "$as_dir" && as_dir
=.
4472 for ac_exec_ext
in '' $ac_executable_extensions; do
4473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4474 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4485 if test -n "$CC"; then
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4487 $as_echo "$CC" >&6; }
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4490 $as_echo "no" >&6; }
4496 if test -z "$CC"; then
4497 # Extract the first word of "cc", so it can be a program name with args.
4498 set dummy cc
; ac_word
=$2
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4500 $as_echo_n "checking for $ac_word... " >&6; }
4501 if test "${ac_cv_prog_CC+set}" = set; then :
4502 $as_echo_n "(cached) " >&6
4504 if test -n "$CC"; then
4505 ac_cv_prog_CC
="$CC" # Let the user override the test.
4508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4512 test -z "$as_dir" && as_dir
=.
4513 for ac_exec_ext
in '' $ac_executable_extensions; do
4514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4515 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4516 ac_prog_rejected
=yes
4520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4527 if test $ac_prog_rejected = yes; then
4528 # We found a bogon in the path, so make sure we never use it.
4529 set dummy
$ac_cv_prog_CC
4531 if test $# != 0; then
4532 # We chose a different compiler from the bogus one.
4533 # However, it has the same basename, so the bogon will be chosen
4534 # first if we set CC to just the basename; use the full file name.
4536 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4542 if test -n "$CC"; then
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4544 $as_echo "$CC" >&6; }
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4547 $as_echo "no" >&6; }
4552 if test -z "$CC"; then
4553 if test -n "$ac_tool_prefix"; then
4554 for ac_prog
in cl.exe
4556 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4557 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4559 $as_echo_n "checking for $ac_word... " >&6; }
4560 if test "${ac_cv_prog_CC+set}" = set; then :
4561 $as_echo_n "(cached) " >&6
4563 if test -n "$CC"; then
4564 ac_cv_prog_CC
="$CC" # Let the user override the test.
4566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4570 test -z "$as_dir" && as_dir
=.
4571 for ac_exec_ext
in '' $ac_executable_extensions; do
4572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4573 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4584 if test -n "$CC"; then
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4586 $as_echo "$CC" >&6; }
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4589 $as_echo "no" >&6; }
4593 test -n "$CC" && break
4596 if test -z "$CC"; then
4598 for ac_prog
in cl.exe
4600 # Extract the first word of "$ac_prog", so it can be a program name with args.
4601 set dummy
$ac_prog; ac_word
=$2
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4603 $as_echo_n "checking for $ac_word... " >&6; }
4604 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4605 $as_echo_n "(cached) " >&6
4607 if test -n "$ac_ct_CC"; then
4608 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4614 test -z "$as_dir" && as_dir
=.
4615 for ac_exec_ext
in '' $ac_executable_extensions; do
4616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4617 ac_cv_prog_ac_ct_CC
="$ac_prog"
4618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4627 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4628 if test -n "$ac_ct_CC"; then
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4630 $as_echo "$ac_ct_CC" >&6; }
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4633 $as_echo "no" >&6; }
4637 test -n "$ac_ct_CC" && break
4640 if test "x$ac_ct_CC" = x
; then
4643 case $cross_compiling:$ac_tool_warned in
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4646 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4647 ac_tool_warned
=yes ;;
4656 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4657 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4658 as_fn_error
"no acceptable C compiler found in \$PATH
4659 See \`config.log' for more details." "$LINENO" 5; }
4661 # Provide some information about the compiler.
4662 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4665 for ac_option
in --version -v -V -qversion; do
4666 { { ac_try
="$ac_compiler $ac_option >&5"
4668 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4669 *) ac_try_echo=$ac_try;;
4671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4672 $as_echo "$ac_try_echo"; } >&5
4673 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4675 if test -s conftest.err; then
4677 ... rest of stderr output deleted ...
4678 10q' conftest.err >conftest.er1
4679 cat conftest.er1 >&5
4680 rm -f conftest.er1 conftest.err
4682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4683 test $ac_status = 0; }
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4687 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4688 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4689 $as_echo_n "(cached) " >&6
4691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4692 /* end confdefs.h. */
4705 if ac_fn_c_try_compile "$LINENO"; then :
4710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4711 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4715 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4716 if test $ac_compiler_gnu = yes; then
4721 ac_test_CFLAGS=${CFLAGS+set}
4722 ac_save_CFLAGS=$CFLAGS
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4724 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4725 if test "${ac_cv_prog_cc_g+set}" = set; then :
4726 $as_echo_n "(cached) " >&6
4728 ac_save_c_werror_flag=$ac_c_werror_flag
4729 ac_c_werror_flag=yes
4732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4733 /* end confdefs.h. */
4743 if ac_fn_c_try_compile "$LINENO"; then :
4747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4748 /* end confdefs.h. */
4758 if ac_fn_c_try_compile "$LINENO"; then :
4761 ac_c_werror_flag=$ac_save_c_werror_flag
4763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4764 /* end confdefs.h. */
4774 if ac_fn_c_try_compile "$LINENO"; then :
4777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4782 ac_c_werror_flag=$ac_save_c_werror_flag
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4785 $as_echo "$ac_cv_prog_cc_g" >&6; }
4786 if test "$ac_test_CFLAGS" = set; then
4787 CFLAGS=$ac_save_CFLAGS
4788 elif test $ac_cv_prog_cc_g = yes; then
4789 if test "$GCC" = yes; then
4795 if test "$GCC" = yes; then
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4802 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4803 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4804 $as_echo_n "(cached) " >&6
4806 ac_cv_prog_cc_c89=no
4808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4809 /* end confdefs.h. */
4812 #include <sys/types.h>
4813 #include <sys/stat.h>
4814 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4815 struct buf { int x; };
4816 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4817 static char *e (p, i)
4823 static char *f (char * (*g) (char **, int), char **p, ...)
4828 s = g (p, va_arg (v,int));
4833 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4834 function prototypes and stuff, but not '\xHH' hex character constants.
4835 These don't provoke an error unfortunately, instead are silently treated
4836 as 'x'. The following induces an error, until -std is added to get
4837 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4838 array size at least. It's necessary to write '\x00'==0 to get something
4839 that's true only with -std. */
4840 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4842 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4843 inside strings and character constants. */
4845 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4847 int test (int i, double x);
4848 struct s1 {int (*f) (int a);};
4849 struct s2 {int (*f) (double a);};
4850 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4856 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4861 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4862 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4864 CC="$ac_save_CC $ac_arg"
4865 if ac_fn_c_try_compile "$LINENO"; then :
4866 ac_cv_prog_cc_c89=$ac_arg
4868 rm -f core conftest.err conftest.$ac_objext
4869 test "x$ac_cv_prog_cc_c89" != "xno" && break
4871 rm -f conftest.$ac_ext
4876 case "x$ac_cv_prog_cc_c89" in
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4879 $as_echo "none needed" >&6; } ;;
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4882 $as_echo "unsupported" >&6; } ;;
4884 CC="$CC $ac_cv_prog_cc_c89"
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4886 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4888 if test "x$ac_cv_prog_cc_c89" != xno; then :
4893 ac_cpp='$CPP $CPPFLAGS'
4894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4899 ac_cpp='$CXXCPP $CPPFLAGS'
4900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4903 if test -z "$CXX"; then
4904 if test -n "$CCC"; then
4907 if test -n "$ac_tool_prefix"; then
4908 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4910 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4911 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4913 $as_echo_n "checking for $ac_word... " >&6; }
4914 if test "${ac_cv_prog_CXX+set}" = set; then :
4915 $as_echo_n "(cached) " >&6
4917 if test -n "$CXX"; then
4918 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4924 test -z "$as_dir" && as_dir=.
4925 for ac_exec_ext in '' $ac_executable_extensions; do
4926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4927 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4938 if test -n "$CXX"; then
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4940 $as_echo "$CXX" >&6; }
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4943 $as_echo "no" >&6; }
4947 test -n "$CXX" && break
4950 if test -z "$CXX"; then
4952 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4954 # Extract the first word of "$ac_prog", so it can be a program name with args.
4955 set dummy $ac_prog; ac_word=$2
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4957 $as_echo_n "checking for $ac_word... " >&6; }
4958 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4959 $as_echo_n "(cached) " >&6
4961 if test -n "$ac_ct_CXX"; then
4962 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4968 test -z "$as_dir" && as_dir=.
4969 for ac_exec_ext in '' $ac_executable_extensions; do
4970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4971 ac_cv_prog_ac_ct_CXX="$ac_prog"
4972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4981 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4982 if test -n "$ac_ct_CXX"; then
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4984 $as_echo "$ac_ct_CXX" >&6; }
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4987 $as_echo "no" >&6; }
4991 test -n "$ac_ct_CXX" && break
4994 if test "x$ac_ct_CXX" = x; then
4997 case $cross_compiling:$ac_tool_warned in
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5000 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5001 ac_tool_warned=yes ;;
5009 # Provide some information about the compiler.
5010 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5013 for ac_option in --version -v -V -qversion; do
5014 { { ac_try="$ac_compiler $ac_option >&5"
5016 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5017 *) ac_try_echo
=$ac_try;;
5019 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5020 $as_echo "$ac_try_echo"; } >&5
5021 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5023 if test -s conftest.err
; then
5025 ... rest of stderr output deleted ...
5026 10q' conftest.err
>conftest.er1
5027 cat conftest.er1
>&5
5028 rm -f conftest.er1 conftest.err
5030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5031 test $ac_status = 0; }
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5035 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5036 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
5037 $as_echo_n "(cached) " >&6
5039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5040 /* end confdefs.h. */
5053 if ac_fn_cxx_try_compile
"$LINENO"; then :
5058 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5059 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5063 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5064 if test $ac_compiler_gnu = yes; then
5069 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5070 ac_save_CXXFLAGS
=$CXXFLAGS
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5072 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5073 if test "${ac_cv_prog_cxx_g+set}" = set; then :
5074 $as_echo_n "(cached) " >&6
5076 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5077 ac_cxx_werror_flag
=yes
5080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5081 /* end confdefs.h. */
5091 if ac_fn_cxx_try_compile
"$LINENO"; then :
5092 ac_cv_prog_cxx_g
=yes
5095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5096 /* end confdefs.h. */
5106 if ac_fn_cxx_try_compile
"$LINENO"; then :
5109 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5112 /* end confdefs.h. */
5122 if ac_fn_cxx_try_compile
"$LINENO"; then :
5123 ac_cv_prog_cxx_g
=yes
5125 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5129 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5130 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5133 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5134 if test "$ac_test_CXXFLAGS" = set; then
5135 CXXFLAGS
=$ac_save_CXXFLAGS
5136 elif test $ac_cv_prog_cxx_g = yes; then
5137 if test "$GXX" = yes; then
5143 if test "$GXX" = yes; then
5150 ac_cpp
='$CPP $CPPFLAGS'
5151 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5152 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5153 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5157 if test "x$CC" != xcc
; then
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5159 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5162 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5164 set dummy
$CC; ac_cc
=`$as_echo "$2" |
5165 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5166 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5167 $as_echo_n "(cached) " >&6
5169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5170 /* end confdefs.h. */
5180 # Make sure it works both with $CC and with simple cc.
5181 # We do the test twice because some compilers refuse to overwrite an
5182 # existing .o file with -o, though they will create one.
5183 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5185 if { { case "(($ac_try" in
5186 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5187 *) ac_try_echo=$ac_try;;
5189 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5190 $as_echo "$ac_try_echo"; } >&5
5191 (eval "$ac_try") 2>&5
5193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5194 test $ac_status = 0; } &&
5195 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5196 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5197 *) ac_try_echo
=$ac_try;;
5199 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5200 $as_echo "$ac_try_echo"; } >&5
5201 (eval "$ac_try") 2>&5
5203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5204 test $ac_status = 0; };
5206 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
5207 if test "x$CC" != xcc
; then
5208 # Test first that cc exists at all.
5209 if { ac_try
='cc -c conftest.$ac_ext >&5'
5210 { { case "(($ac_try" in
5211 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5212 *) ac_try_echo=$ac_try;;
5214 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5215 $as_echo "$ac_try_echo"; } >&5
5216 (eval "$ac_try") 2>&5
5218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5219 test $ac_status = 0; }; }; then
5220 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5222 if { { case "(($ac_try" in
5223 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5224 *) ac_try_echo
=$ac_try;;
5226 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5227 $as_echo "$ac_try_echo"; } >&5
5228 (eval "$ac_try") 2>&5
5230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5231 test $ac_status = 0; } &&
5232 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
5233 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5234 *) ac_try_echo=$ac_try;;
5236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5237 $as_echo "$ac_try_echo"; } >&5
5238 (eval "$ac_try") 2>&5
5240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5241 test $ac_status = 0; };
5246 # cc exists but doesn't like -o.
5247 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5252 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5254 rm -f core conftest*
5257 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5259 $as_echo "yes" >&6; }
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5262 $as_echo "no" >&6; }
5264 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5268 # FIXME: we rely on the cache variable name because
5269 # there is no other way.
5271 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5272 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5273 if test "$am_t" != yes; then
5274 # Losing compiler, so override with the script.
5275 # FIXME: It is wrong to rewrite CC.
5276 # But if we don't then we get into trouble of one sort or another.
5277 # A longer-term fix would be to have automake use am__CC in this case,
5278 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5279 CC="$am_aux_dir/compile $CC"
5286 # Newer automakes demand CCAS and CCASFLAGS.
5288 : ${CCASFLAGS='$(CFLAGS)'}
5292 if test -n "$ac_tool_prefix"; then
5293 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5294 set dummy ${ac_tool_prefix}as; ac_word=$2
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5296 $as_echo_n "checking for $ac_word... " >&6; }
5297 if test "${ac_cv_prog_AS+set}" = set; then :
5298 $as_echo_n "(cached) " >&6
5300 if test -n "$AS"; then
5301 ac_cv_prog_AS="$AS" # Let the user override the test.
5303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5307 test -z "$as_dir" && as_dir=.
5308 for ac_exec_ext in '' $ac_executable_extensions; do
5309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5310 ac_cv_prog_AS="${ac_tool_prefix}as"
5311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5321 if test -n "$AS"; then
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5323 $as_echo "$AS" >&6; }
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5326 $as_echo "no" >&6; }
5331 if test -z "$ac_cv_prog_AS"; then
5333 # Extract the first word of "as", so it can be a program name with args.
5334 set dummy as; ac_word=$2
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5336 $as_echo_n "checking for $ac_word... " >&6; }
5337 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5338 $as_echo_n "(cached) " >&6
5340 if test -n "$ac_ct_AS"; then
5341 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5347 test -z "$as_dir" && as_dir=.
5348 for ac_exec_ext in '' $ac_executable_extensions; do
5349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5350 ac_cv_prog_ac_ct_AS="as"
5351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5360 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5361 if test -n "$ac_ct_AS"; then
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5363 $as_echo "$ac_ct_AS" >&6; }
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5366 $as_echo "no" >&6; }
5369 if test "x$ac_ct_AS" = x; then
5372 case $cross_compiling:$ac_tool_warned in
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5376 ac_tool_warned=yes ;;
5384 if test -n "$ac_tool_prefix"; then
5385 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5386 set dummy ${ac_tool_prefix}ar; ac_word=$2
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5388 $as_echo_n "checking for $ac_word... " >&6; }
5389 if test "${ac_cv_prog_AR+set}" = set; then :
5390 $as_echo_n "(cached) " >&6
5392 if test -n "$AR"; then
5393 ac_cv_prog_AR="$AR" # Let the user override the test.
5395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5399 test -z "$as_dir" && as_dir=.
5400 for ac_exec_ext in '' $ac_executable_extensions; do
5401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5402 ac_cv_prog_AR="${ac_tool_prefix}ar"
5403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5413 if test -n "$AR"; then
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5415 $as_echo "$AR" >&6; }
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5418 $as_echo "no" >&6; }
5423 if test -z "$ac_cv_prog_AR"; then
5425 # Extract the first word of "ar", so it can be a program name with args.
5426 set dummy ar; ac_word=$2
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5428 $as_echo_n "checking for $ac_word... " >&6; }
5429 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5430 $as_echo_n "(cached) " >&6
5432 if test -n "$ac_ct_AR"; then
5433 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5439 test -z "$as_dir" && as_dir=.
5440 for ac_exec_ext in '' $ac_executable_extensions; do
5441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5442 ac_cv_prog_ac_ct_AR="ar"
5443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5453 if test -n "$ac_ct_AR"; then
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5455 $as_echo "$ac_ct_AR" >&6; }
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5458 $as_echo "no" >&6; }
5461 if test "x$ac_ct_AR" = x; then
5464 case $cross_compiling:$ac_tool_warned in
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5468 ac_tool_warned=yes ;;
5476 if test -n "$ac_tool_prefix"; then
5477 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5478 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5480 $as_echo_n "checking for $ac_word... " >&6; }
5481 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5482 $as_echo_n "(cached) " >&6
5484 if test -n "$RANLIB"; then
5485 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5491 test -z "$as_dir" && as_dir=.
5492 for ac_exec_ext in '' $ac_executable_extensions; do
5493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5494 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5504 RANLIB=$ac_cv_prog_RANLIB
5505 if test -n "$RANLIB"; then
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5507 $as_echo "$RANLIB" >&6; }
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5510 $as_echo "no" >&6; }
5515 if test -z "$ac_cv_prog_RANLIB"; then
5516 ac_ct_RANLIB=$RANLIB
5517 # Extract the first word of "ranlib", so it can be a program name with args.
5518 set dummy ranlib; ac_word=$2
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5520 $as_echo_n "checking for $ac_word... " >&6; }
5521 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5522 $as_echo_n "(cached) " >&6
5524 if test -n "$ac_ct_RANLIB"; then
5525 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5531 test -z "$as_dir" && as_dir=.
5532 for ac_exec_ext in '' $ac_executable_extensions; do
5533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5534 ac_cv_prog_ac_ct_RANLIB="ranlib"
5535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5544 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5545 if test -n "$ac_ct_RANLIB"; then
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5547 $as_echo "$ac_ct_RANLIB" >&6; }
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5550 $as_echo "no" >&6; }
5553 if test "x$ac_ct_RANLIB" = x; then
5556 case $cross_compiling:$ac_tool_warned in
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5559 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5560 ac_tool_warned=yes ;;
5562 RANLIB=$ac_ct_RANLIB
5565 RANLIB="$ac_cv_prog_RANLIB"
5569 # Check we may build wrappers library
5570 echo "test: bndmov %bnd0, %bnd1" > conftest.s
5571 if { ac_try='$AS -o conftest.o conftest.s 1>&5'
5572 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5576 test $ac_status = 0; }; }
5581 echo "configure: no MPX support fo as" >&5
5583 rm -f conftest.o conftest.s
5584 if test "x$mpx_as" = "xyes"; then
5585 MPX_AS_SUPPORTED_TRUE=
5586 MPX_AS_SUPPORTED_FALSE='#'
5588 MPX_AS_SUPPORTED_TRUE='#'
5589 MPX_AS_SUPPORTED_FALSE=
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5601 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5606 macro_version='2.2.7a'
5607 macro_revision='1.3134'
5621 ltmain="$ac_aux_dir/ltmain.sh"
5623 # Backslashify metacharacters that are still active within
5624 # double-quoted strings.
5625 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5627 # Same as above, but do not quote variable references.
5628 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5630 # Sed substitution to delay expansion of an escaped shell variable in a
5631 # double_quote_subst'ed string.
5632 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5634 # Sed substitution to delay expansion of an escaped single quote.
5635 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5637 # Sed substitution to avoid accidental globbing in evaled expressions
5638 no_glob_subst='s/\*/\\\*/g'
5640 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5641 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5642 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5645 $as_echo_n "checking how to print
strings...
" >&6; }
5646 # Test print first, because it will be a builtin if present.
5647 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
5648 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5650 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5653 # Use this function as a fallback that always works.
5654 func_fallback_echo ()
5656 eval 'cat <<_LTECHO_EOF
5660 ECHO='func_fallback_echo'
5663 # func_echo_all arg...
5664 # Invoke $ECHO with all args, space-separated.
5671 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5672 $as_echo "printf" >&6; } ;;
5673 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5674 $as_echo "print
-r" >&6; } ;;
5675 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5676 $as_echo "cat" >&6; } ;;
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5693 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5694 if test "${ac_cv_path_SED+set}" = set; then :
5695 $as_echo_n "(cached
) " >&6
5697 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5698 for ac_i in 1 2 3 4 5 6 7; do
5699 ac_script="$ac_script$as_nl$ac_script"
5701 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5702 { ac_script=; unset ac_script;}
5703 if test -z "$SED"; then
5704 ac_path_SED_found=false
5705 # Loop through the user's path and test for each of PROGNAME-LIST
5706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5710 test -z "$as_dir" && as_dir=.
5711 for ac_prog in sed gsed; do
5712 for ac_exec_ext in '' $ac_executable_extensions; do
5713 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5714 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5715 # Check for GNU ac_path_SED and select it if it is found.
5716 # Check for GNU $ac_path_SED
5717 case `"$ac_path_SED" --version 2>&1` in
5719 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5722 $as_echo_n 0123456789 >"conftest.
in"
5725 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5726 mv "conftest.tmp
" "conftest.
in"
5727 cp "conftest.
in" "conftest.
nl"
5728 $as_echo '' >> "conftest.
nl"
5729 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5730 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5731 as_fn_arith $ac_count + 1 && ac_count=$as_val
5732 if test $ac_count -gt ${ac_path_SED_max-0}; then
5733 # Best one so far, save it but keep looking for a better one
5734 ac_cv_path_SED="$ac_path_SED"
5735 ac_path_SED_max=$ac_count
5737 # 10*(2^10) chars as input seems more than enough
5738 test $ac_count -gt 10 && break
5740 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5743 $ac_path_SED_found && break 3
5748 if test -z "$ac_cv_path_SED"; then
5749 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5757 $as_echo "$ac_cv_path_SED" >&6; }
5758 SED="$ac_cv_path_SED"
5761 test -z "$SED" && SED=sed
5762 Xsed="$SED -e 1s
/^X
//"
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5775 $as_echo_n "checking
for fgrep...
" >&6; }
5776 if test "${ac_cv_path_FGREP+set}" = set; then :
5777 $as_echo_n "(cached
) " >&6
5779 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5780 then ac_cv_path_FGREP="$GREP -F"
5782 if test -z "$FGREP"; then
5783 ac_path_FGREP_found=false
5784 # Loop through the user's path and test for each of PROGNAME-LIST
5785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5786 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5789 test -z "$as_dir" && as_dir=.
5790 for ac_prog in fgrep; do
5791 for ac_exec_ext in '' $ac_executable_extensions; do
5792 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5793 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5794 # Check for GNU ac_path_FGREP and select it if it is found.
5795 # Check for GNU $ac_path_FGREP
5796 case `"$ac_path_FGREP" --version 2>&1` in
5798 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5801 $as_echo_n 0123456789 >"conftest.
in"
5804 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5805 mv "conftest.tmp
" "conftest.
in"
5806 cp "conftest.
in" "conftest.
nl"
5807 $as_echo 'FGREP' >> "conftest.
nl"
5808 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5809 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5810 as_fn_arith $ac_count + 1 && ac_count=$as_val
5811 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5812 # Best one so far, save it but keep looking for a better one
5813 ac_cv_path_FGREP="$ac_path_FGREP"
5814 ac_path_FGREP_max=$ac_count
5816 # 10*(2^10) chars as input seems more than enough
5817 test $ac_count -gt 10 && break
5819 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5822 $ac_path_FGREP_found && break 3
5827 if test -z "$ac_cv_path_FGREP"; then
5828 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5831 ac_cv_path_FGREP=$FGREP
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5837 $as_echo "$ac_cv_path_FGREP" >&6; }
5838 FGREP="$ac_cv_path_FGREP"
5841 test -z "$GREP" && GREP=grep
5861 # Check whether --with-gnu-ld was given.
5862 if test "${with_gnu_ld+set}" = set; then :
5863 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5869 if test "$GCC" = yes; then
5870 # Check if gcc -print-prog-name=ld gives a path.
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5872 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5875 # gcc leaves a trailing carriage return which upsets mingw
5876 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5878 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5881 # Accept absolute paths.
5883 re_direlt='/[^/][^/]*/\.\./'
5884 # Canonicalize the pathname of ld
5885 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5886 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5887 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5889 test -z "$LD" && LD="$ac_prog"
5892 # If it fails, then pretend we aren't using GCC.
5896 # If it is relative, then search for the first ld in PATH.
5900 elif test "$with_gnu_ld" = yes; then
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5902 $as_echo_n "checking
for GNU ld...
" >&6; }
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
5905 $as_echo_n "checking
for non-GNU ld...
" >&6; }
5907 if test "${lt_cv_path_LD+set}" = set; then :
5908 $as_echo_n "(cached
) " >&6
5910 if test -z "$LD"; then
5911 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5912 for ac_dir in $PATH; do
5914 test -z "$ac_dir" && ac_dir=.
5915 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5916 lt_cv_path_LD="$ac_dir/$ac_prog"
5917 # Check to see if the program is GNU ld. I'd rather use --version,
5918 # but apparently some variants of GNU ld only accept -v.
5919 # Break only if it was the GNU/non-GNU ld that we prefer.
5920 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5921 *GNU* | *'with BFD'*)
5922 test "$with_gnu_ld" != no && break
5925 test "$with_gnu_ld" != yes && break
5932 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5937 if test -n "$LD"; then
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5939 $as_echo "$LD" >&6; }
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5942 $as_echo "no
" >&6; }
5944 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5946 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5947 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5948 $as_echo_n "(cached
) " >&6
5950 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5951 case `$LD -v 2>&1 </dev/null` in
5952 *GNU* | *'with BFD'*)
5953 lt_cv_prog_gnu_ld=yes
5956 lt_cv_prog_gnu_ld=no
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5961 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5962 with_gnu_ld=$lt_cv_prog_gnu_ld
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5973 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5974 if test "${lt_cv_path_NM+set}" = set; then :
5975 $as_echo_n "(cached
) " >&6
5977 if test -n "$NM"; then
5978 # Let the user override the test.
5981 lt_nm_to_check="${ac_tool_prefix}nm
"
5982 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5983 lt_nm_to_check="$lt_nm_to_check nm
"
5985 for lt_tmp_nm in $lt_nm_to_check; do
5986 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5987 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5989 test -z "$ac_dir" && ac_dir=.
5990 tmp_nm="$ac_dir/$lt_tmp_nm"
5991 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5992 # Check to see if the nm accepts a BSD-compat flag.
5993 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5994 # nm: unknown option "B
" ignored
5995 # Tru64's nm complains that /dev/null is an invalid object file
5996 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5997 */dev/null* | *'Invalid file or object type'*)
5998 lt_cv_path_NM="$tmp_nm -B"
6002 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6004 lt_cv_path_NM="$tmp_nm -p"
6008 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6009 continue # so that we can try to find one that supports BSD flags
6018 : ${lt_cv_path_NM=no}
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
6022 $as_echo "$lt_cv_path_NM" >&6; }
6023 if test "$lt_cv_path_NM" != "no
"; then
6026 # Didn't find any BSD compatible name lister, look for dumpbin.
6027 if test -n "$DUMPBIN"; then :
6028 # Let the user override the test.
6030 if test -n "$ac_tool_prefix"; then
6031 for ac_prog in dumpbin "link
-dump"
6033 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6034 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6036 $as_echo_n "checking
for $ac_word...
" >&6; }
6037 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6038 $as_echo_n "(cached
) " >&6
6040 if test -n "$DUMPBIN"; then
6041 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6047 test -z "$as_dir" && as_dir=.
6048 for ac_exec_ext in '' $ac_executable_extensions; do
6049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6050 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6051 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6060 DUMPBIN=$ac_cv_prog_DUMPBIN
6061 if test -n "$DUMPBIN"; then
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
6063 $as_echo "$DUMPBIN" >&6; }
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6066 $as_echo "no
" >&6; }
6070 test -n "$DUMPBIN" && break
6073 if test -z "$DUMPBIN"; then
6074 ac_ct_DUMPBIN=$DUMPBIN
6075 for ac_prog in dumpbin "link
-dump"
6077 # Extract the first word of "$ac_prog", so it can be a program name with args.
6078 set dummy $ac_prog; ac_word=$2
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6080 $as_echo_n "checking
for $ac_word...
" >&6; }
6081 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6082 $as_echo_n "(cached
) " >&6
6084 if test -n "$ac_ct_DUMPBIN"; then
6085 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6091 test -z "$as_dir" && as_dir=.
6092 for ac_exec_ext in '' $ac_executable_extensions; do
6093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6094 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6095 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6104 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6105 if test -n "$ac_ct_DUMPBIN"; then
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
6107 $as_echo "$ac_ct_DUMPBIN" >&6; }
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6110 $as_echo "no
" >&6; }
6114 test -n "$ac_ct_DUMPBIN" && break
6117 if test "x
$ac_ct_DUMPBIN" = x; then
6120 case $cross_compiling:$ac_tool_warned in
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6123 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6124 ac_tool_warned=yes ;;
6126 DUMPBIN=$ac_ct_DUMPBIN
6130 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6132 DUMPBIN="$DUMPBIN -symbols"
6140 if test "$DUMPBIN" != ":"; then
6144 test -z "$NM" && NM=nm
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6152 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6153 if test "${lt_cv_nm_interface+set}" = set; then :
6154 $as_echo_n "(cached
) " >&6
6156 lt_cv_nm_interface="BSD nm
"
6157 echo "int some_variable
= 0;" > conftest.$ac_ext
6158 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6159 (eval "$ac_compile" 2>conftest.err)
6160 cat conftest.err >&5
6161 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6162 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6163 cat conftest.err >&5
6164 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6165 cat conftest.out >&5
6166 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6167 lt_cv_nm_interface="MS dumpbin
"
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6172 $as_echo "$lt_cv_nm_interface" >&6; }
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
6175 $as_echo_n "checking whether
ln -s works...
" >&6; }
6177 if test "$LN_S" = "ln -s"; then
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
6179 $as_echo "yes" >&6; }
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
6182 $as_echo "no
, using
$LN_S" >&6; }
6185 # find the maximum length of command line arguments
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6187 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6188 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6189 $as_echo_n "(cached
) " >&6
6196 # On DJGPP, this test can blow up pretty badly due to problems in libc
6197 # (any single argument exceeding 2000 bytes causes a buffer overrun
6198 # during glob expansion). Even if it were fixed, the result of this
6199 # check would be larger than it should be.
6200 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6204 # Under GNU Hurd, this test is not required because there is
6205 # no limit to the length of command line arguments.
6206 # Libtool will interpret -1 as no limit whatsoever
6207 lt_cv_sys_max_cmd_len=-1;
6210 cygwin* | mingw* | cegcc*)
6211 # On Win9x/ME, this test blows up -- it succeeds, but takes
6212 # about 5 minutes as the teststring grows exponentially.
6213 # Worse, since 9x/ME are not pre-emptively multitasking,
6214 # you end up with a "frozen
" computer, even though with patience
6215 # the test eventually succeeds (with a max line length of 256k).
6216 # Instead, let's just punt: use the minimum linelength reported by
6217 # all of the supported platforms: 8192 (on NT/2K/XP).
6218 lt_cv_sys_max_cmd_len=8192;
6222 # On MiNT this can take a long time and run out of memory.
6223 lt_cv_sys_max_cmd_len=8192;
6227 # On AmigaOS with pdksh, this test takes hours, literally.
6228 # So we just punt and use a minimum line length of 8192.
6229 lt_cv_sys_max_cmd_len=8192;
6232 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6233 # This has been around since 386BSD, at least. Likely further.
6234 if test -x /sbin/sysctl; then
6235 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6236 elif test -x /usr/sbin/sysctl; then
6237 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6239 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6241 # And add a safety zone
6242 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6243 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6247 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6248 lt_cv_sys_max_cmd_len=196608
6252 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6253 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6254 # nice to cause kernel panics so lets avoid the loop below.
6255 # First set a reasonable default.
6256 lt_cv_sys_max_cmd_len=16384
6258 if test -x /sbin/sysconfig; then
6259 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6260 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6265 lt_cv_sys_max_cmd_len=102400
6267 sysv5* | sco5v6* | sysv4.2uw2*)
6268 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6269 if test -n "$kargmax"; then
6270 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6272 lt_cv_sys_max_cmd_len=32768
6276 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6277 if test -n "$lt_cv_sys_max_cmd_len"; then
6278 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6279 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6281 # Make teststring a little bigger before we do anything with it.
6282 # a 1K string should be a reasonable start.
6283 for i in 1 2 3 4 5 6 7 8 ; do
6284 teststring=$teststring$teststring
6286 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6287 # If test is not a shell built-in, we'll probably end up computing a
6288 # maximum length that is only half of the actual maximum length, but
6290 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6291 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6292 test $i != 17 # 1/2 MB should be enough
6295 teststring=$teststring$teststring
6297 # Only check the string length outside the loop.
6298 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6300 # Add a significant safety factor because C++ compilers can tack on
6301 # massive amounts of additional arguments before passing them to the
6302 # linker. It appears as though 1/2 is a usable value.
6303 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6310 if test -n $lt_cv_sys_max_cmd_len ; then
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6312 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6315 $as_echo "none
" >&6; }
6317 max_cmd_len=$lt_cv_sys_max_cmd_len
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6329 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6330 # Try some XSI features
6333 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6335 && eval 'test $(( 1 + 1 )) -eq 2 \
6336 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6339 $as_echo "$xsi_shell" >&6; }
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6343 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6345 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6347 && lt_shell_append
=yes
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6349 $as_echo "$lt_shell_append" >&6; }
6352 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6362 # test EBCDIC or ASCII
6363 case `echo X|tr X '\101'` in
6364 A
) # ASCII based system
6365 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6366 lt_SP2NL
='tr \040 \012'
6367 lt_NL2SP
='tr \015\012 \040\040'
6369 *) # EBCDIC based system
6370 lt_SP2NL
='tr \100 \n'
6371 lt_NL2SP
='tr \r\n \100\100'
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6384 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6385 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6386 $as_echo_n "(cached) " >&6
6388 lt_cv_ld_reload_flag
='-r'
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6391 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6392 reload_flag
=$lt_cv_ld_reload_flag
6393 case $reload_flag in
6395 *) reload_flag
=" $reload_flag" ;;
6397 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6400 if test "$GCC" = yes; then
6401 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6403 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6416 if test -n "$ac_tool_prefix"; then
6417 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6418 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6420 $as_echo_n "checking for $ac_word... " >&6; }
6421 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6422 $as_echo_n "(cached) " >&6
6424 if test -n "$OBJDUMP"; then
6425 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6431 test -z "$as_dir" && as_dir
=.
6432 for ac_exec_ext
in '' $ac_executable_extensions; do
6433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6434 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6444 OBJDUMP
=$ac_cv_prog_OBJDUMP
6445 if test -n "$OBJDUMP"; then
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6447 $as_echo "$OBJDUMP" >&6; }
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6450 $as_echo "no" >&6; }
6455 if test -z "$ac_cv_prog_OBJDUMP"; then
6456 ac_ct_OBJDUMP
=$OBJDUMP
6457 # Extract the first word of "objdump", so it can be a program name with args.
6458 set dummy objdump
; ac_word
=$2
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6460 $as_echo_n "checking for $ac_word... " >&6; }
6461 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6462 $as_echo_n "(cached) " >&6
6464 if test -n "$ac_ct_OBJDUMP"; then
6465 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6471 test -z "$as_dir" && as_dir
=.
6472 for ac_exec_ext
in '' $ac_executable_extensions; do
6473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6474 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6484 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6485 if test -n "$ac_ct_OBJDUMP"; then
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6487 $as_echo "$ac_ct_OBJDUMP" >&6; }
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6490 $as_echo "no" >&6; }
6493 if test "x$ac_ct_OBJDUMP" = x
; then
6496 case $cross_compiling:$ac_tool_warned in
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6500 ac_tool_warned
=yes ;;
6502 OBJDUMP
=$ac_ct_OBJDUMP
6505 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6508 test -z "$OBJDUMP" && OBJDUMP
=objdump
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6519 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6520 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6521 $as_echo_n "(cached) " >&6
6523 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6524 lt_cv_file_magic_test_file
=
6525 lt_cv_deplibs_check_method
='unknown'
6526 # Need to set the preceding variable on all platforms that support
6527 # interlibrary dependencies.
6528 # 'none' -- dependencies not supported.
6529 # `unknown' -- same as none, but documents that we really don't know.
6530 # 'pass_all' -- all dependencies passed with no checks.
6531 # 'test_compile' -- check by making test program.
6532 # 'file_magic [[regex]]' -- check by looking for files in library path
6533 # which responds to the $file_magic_cmd with a given extended regex.
6534 # If you have `file' or equivalent on your system and you're not sure
6535 # whether `pass_all' will *always* work, you probably want this one.
6539 lt_cv_deplibs_check_method
=pass_all
6543 lt_cv_deplibs_check_method
=pass_all
6547 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6548 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6549 lt_cv_file_magic_test_file
=/shlib
/libc.so
6553 # func_win32_libid is a shell function defined in ltmain.sh
6554 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6555 lt_cv_file_magic_cmd
='func_win32_libid'
6559 # Base MSYS/MinGW do not provide the 'file' command needed by
6560 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6561 # unless we find 'file', for example because we are cross-compiling.
6562 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6563 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
6564 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6565 lt_cv_file_magic_cmd
='func_win32_libid'
6567 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
6568 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6573 # use the weaker test based on 'objdump'. See mingw*.
6574 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6575 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6578 darwin
* | rhapsody
*)
6579 lt_cv_deplibs_check_method
=pass_all
6582 freebsd
* | dragonfly
*)
6583 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6586 # Not sure whether the presence of OpenBSD here was a mistake.
6587 # Let's accept both of them until this is cleared up.
6588 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6589 lt_cv_file_magic_cmd
=/usr
/bin
/file
6590 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6594 lt_cv_deplibs_check_method
=pass_all
6599 lt_cv_deplibs_check_method
=pass_all
6603 lt_cv_deplibs_check_method
=pass_all
6606 hpux10.20
* | hpux11
*)
6607 lt_cv_file_magic_cmd
=/usr
/bin
/file
6610 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6611 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6614 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]'
6615 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6618 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6619 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6625 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6626 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6629 irix5
* | irix6
* | nonstopux
*)
6631 *-32|
*"-32 ") libmagic
=32-bit;;
6632 *-n32|
*"-n32 ") libmagic
=N32
;;
6633 *-64|
*"-64 ") libmagic
=64-bit;;
6634 *) libmagic
=never-match
;;
6636 lt_cv_deplibs_check_method
=pass_all
6639 # This must be Linux ELF.
6640 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
6641 lt_cv_deplibs_check_method
=pass_all
6645 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6646 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6648 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6653 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6654 lt_cv_file_magic_cmd
=/usr
/bin
/file
6655 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6659 lt_cv_deplibs_check_method
=pass_all
6663 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6664 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6666 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6670 osf3
* | osf4
* | osf5
*)
6671 lt_cv_deplibs_check_method
=pass_all
6675 lt_cv_deplibs_check_method
=pass_all
6679 lt_cv_deplibs_check_method
=pass_all
6682 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6683 lt_cv_deplibs_check_method
=pass_all
6687 case $host_vendor in
6689 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]'
6690 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6693 lt_cv_deplibs_check_method
=pass_all
6696 lt_cv_file_magic_cmd
='/bin/file'
6697 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6700 lt_cv_file_magic_cmd
='/bin/file'
6701 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6702 lt_cv_file_magic_test_file
=/lib
/libc.so
6705 lt_cv_deplibs_check_method
=pass_all
6708 lt_cv_deplibs_check_method
=pass_all
6714 lt_cv_deplibs_check_method
=pass_all
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6720 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6721 file_magic_cmd
=$lt_cv_file_magic_cmd
6722 deplibs_check_method
=$lt_cv_deplibs_check_method
6723 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6736 if test -n "$ac_tool_prefix"; then
6737 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6738 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6740 $as_echo_n "checking for $ac_word... " >&6; }
6741 if test "${ac_cv_prog_AR+set}" = set; then :
6742 $as_echo_n "(cached) " >&6
6744 if test -n "$AR"; then
6745 ac_cv_prog_AR
="$AR" # Let the user override the test.
6747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6751 test -z "$as_dir" && as_dir
=.
6752 for ac_exec_ext
in '' $ac_executable_extensions; do
6753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6754 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6765 if test -n "$AR"; then
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6767 $as_echo "$AR" >&6; }
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6770 $as_echo "no" >&6; }
6775 if test -z "$ac_cv_prog_AR"; then
6777 # Extract the first word of "ar", so it can be a program name with args.
6778 set dummy
ar; ac_word
=$2
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6780 $as_echo_n "checking for $ac_word... " >&6; }
6781 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6782 $as_echo_n "(cached) " >&6
6784 if test -n "$ac_ct_AR"; then
6785 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6791 test -z "$as_dir" && as_dir
=.
6792 for ac_exec_ext
in '' $ac_executable_extensions; do
6793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6794 ac_cv_prog_ac_ct_AR
="ar"
6795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6804 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6805 if test -n "$ac_ct_AR"; then
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6807 $as_echo "$ac_ct_AR" >&6; }
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6810 $as_echo "no" >&6; }
6813 if test "x$ac_ct_AR" = x
; then
6816 case $cross_compiling:$ac_tool_warned in
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6819 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6820 ac_tool_warned
=yes ;;
6828 test -z "$AR" && AR
=ar
6829 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6841 if test -n "$ac_tool_prefix"; then
6842 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6843 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6845 $as_echo_n "checking for $ac_word... " >&6; }
6846 if test "${ac_cv_prog_STRIP+set}" = set; then :
6847 $as_echo_n "(cached) " >&6
6849 if test -n "$STRIP"; then
6850 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6856 test -z "$as_dir" && as_dir
=.
6857 for ac_exec_ext
in '' $ac_executable_extensions; do
6858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6859 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6869 STRIP
=$ac_cv_prog_STRIP
6870 if test -n "$STRIP"; then
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6872 $as_echo "$STRIP" >&6; }
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6875 $as_echo "no" >&6; }
6880 if test -z "$ac_cv_prog_STRIP"; then
6882 # Extract the first word of "strip", so it can be a program name with args.
6883 set dummy strip
; ac_word
=$2
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6885 $as_echo_n "checking for $ac_word... " >&6; }
6886 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6887 $as_echo_n "(cached) " >&6
6889 if test -n "$ac_ct_STRIP"; then
6890 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6896 test -z "$as_dir" && as_dir
=.
6897 for ac_exec_ext
in '' $ac_executable_extensions; do
6898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6899 ac_cv_prog_ac_ct_STRIP
="strip"
6900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6909 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6910 if test -n "$ac_ct_STRIP"; then
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6912 $as_echo "$ac_ct_STRIP" >&6; }
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6915 $as_echo "no" >&6; }
6918 if test "x$ac_ct_STRIP" = x
; then
6921 case $cross_compiling:$ac_tool_warned in
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6924 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6925 ac_tool_warned
=yes ;;
6930 STRIP
="$ac_cv_prog_STRIP"
6933 test -z "$STRIP" && STRIP
=:
6940 if test -n "$ac_tool_prefix"; then
6941 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6942 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6944 $as_echo_n "checking for $ac_word... " >&6; }
6945 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6946 $as_echo_n "(cached) " >&6
6948 if test -n "$RANLIB"; then
6949 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6955 test -z "$as_dir" && as_dir
=.
6956 for ac_exec_ext
in '' $ac_executable_extensions; do
6957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6958 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6968 RANLIB
=$ac_cv_prog_RANLIB
6969 if test -n "$RANLIB"; then
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6971 $as_echo "$RANLIB" >&6; }
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6974 $as_echo "no" >&6; }
6979 if test -z "$ac_cv_prog_RANLIB"; then
6980 ac_ct_RANLIB
=$RANLIB
6981 # Extract the first word of "ranlib", so it can be a program name with args.
6982 set dummy ranlib
; ac_word
=$2
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6984 $as_echo_n "checking for $ac_word... " >&6; }
6985 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6986 $as_echo_n "(cached) " >&6
6988 if test -n "$ac_ct_RANLIB"; then
6989 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6995 test -z "$as_dir" && as_dir
=.
6996 for ac_exec_ext
in '' $ac_executable_extensions; do
6997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6998 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7008 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7009 if test -n "$ac_ct_RANLIB"; then
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7011 $as_echo "$ac_ct_RANLIB" >&6; }
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7014 $as_echo "no" >&6; }
7017 if test "x$ac_ct_RANLIB" = x
; then
7020 case $cross_compiling:$ac_tool_warned in
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7023 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7024 ac_tool_warned
=yes ;;
7026 RANLIB
=$ac_ct_RANLIB
7029 RANLIB
="$ac_cv_prog_RANLIB"
7032 test -z "$RANLIB" && RANLIB
=:
7039 # Determine commands to create old-style static archives.
7040 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7041 old_postinstall_cmds
='chmod 644 $oldlib'
7042 old_postuninstall_cmds
=
7044 if test -n "$RANLIB"; then
7047 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7050 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7053 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7058 lock_old_archive_extraction
=yes ;;
7060 lock_old_archive_extraction
=no
;;
7101 # If no C compiler was specified, use CC.
7104 # If no C compiler flags were specified, use CFLAGS.
7105 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7107 # Allow CC to be a program name with arguments.
7111 # Check for command to grab the raw symbol name followed by C symbol from nm.
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7113 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7114 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7115 $as_echo_n "(cached) " >&6
7118 # These are sane defaults that work on at least a few old systems.
7119 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7121 # Character class describing NM global symbol codes.
7122 symcode
='[BCDEGRST]'
7124 # Regexp to match symbols that can be accessed directly from C.
7125 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7127 # Define system-specific variables.
7132 cygwin
* | mingw
* | pw32
* | cegcc
*)
7133 symcode
='[ABCDGISTW]'
7136 if test "$host_cpu" = ia64
; then
7137 symcode
='[ABCDEGRST]'
7141 symcode
='[BCDEGRST]'
7144 symcode
='[BCDEGQRST]'
7155 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7163 # If we're using GNU nm, then use its standard symbol codes.
7164 case `$NM -V 2>&1` in
7165 *GNU
* |
*'with BFD'*)
7166 symcode
='[ABCDGIRSTW]' ;;
7169 # Transform an extracted symbol line into a proper C declaration.
7170 # Some systems (esp. on ia64) link data and code symbols differently,
7171 # so use this general approach.
7172 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7174 # Transform an extracted symbol line into symbol name and symbol address
7175 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7176 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'"
7178 # Handle CRLF in mingw tool chain
7182 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7186 # Try without a prefix underscore, then with it.
7187 for ac_symprfx
in "" "_"; do
7189 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7190 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7192 # Write the raw and C identifiers.
7193 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7194 # Fake it for dumpbin and say T for any non-static function
7195 # and D for any global variable.
7196 # Also find C++ and __fastcall symbols from MSVC++,
7197 # which start with @ or ?.
7198 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7199 " {last_section=section; section=\$ 3};"\
7200 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7201 " \$ 0!~/External *\|/{next};"\
7202 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7203 " {if(hide[section]) next};"\
7204 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7205 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7206 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7207 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7208 " ' prfx=^$ac_symprfx"
7210 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7213 # Check to see that the pipe works correctly.
7217 cat > conftest.
$ac_ext <<_LT_EOF
7222 void nm_test_func(void);
7223 void nm_test_func(void){}
7227 int main(){nm_test_var='a';nm_test_func();return(0);}
7230 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7231 (eval $ac_compile) 2>&5
7233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7234 test $ac_status = 0; }; then
7235 # Now try to grab the symbols.
7237 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7238 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7241 test $ac_status = 0; } && test -s "$nlist"; then
7242 # Try sorting and uniquifying the output.
7243 if sort "$nlist" |
uniq > "$nlist"T
; then
7244 mv -f "$nlist"T
"$nlist"
7249 # Make sure that we snagged all the symbols we need.
7250 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7251 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7252 cat <<_LT_EOF > conftest.$ac_ext
7258 # Now generate the symbol file.
7259 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7261 cat <<_LT_EOF >> conftest.$ac_ext
7263 /* The mapping between symbol names and symbols. */
7268 lt__PROGRAM__LTX_preloaded_symbols[] =
7270 { "@PROGRAM@", (void *) 0 },
7272 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7273 cat <<\_LT_EOF
>> conftest.
$ac_ext
7277 /* This works around a problem
in FreeBSD linker
*/
7278 #ifdef FREEBSD_WORKAROUND
7279 static const void
*lt_preloaded_setup
() {
7280 return lt__PROGRAM__LTX_preloaded_symbols
;
7288 # Now try linking the two files.
7289 mv conftest.
$ac_objext conftstm.
$ac_objext
7290 lt_save_LIBS
="$LIBS"
7291 lt_save_CFLAGS
="$CFLAGS"
7292 LIBS
="conftstm.$ac_objext"
7293 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7294 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7295 (eval $ac_link) 2>&5
7297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7298 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7301 LIBS
="$lt_save_LIBS"
7302 CFLAGS
="$lt_save_CFLAGS"
7304 echo "cannot find nm_test_func in $nlist" >&5
7307 echo "cannot find nm_test_var in $nlist" >&5
7310 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7313 echo "$progname: failed program was:" >&5
7314 cat conftest.
$ac_ext >&5
7316 rm -rf conftest
* conftst
*
7318 # Do not use the global_symbol_pipe unless it works.
7319 if test "$pipe_works" = yes; then
7322 lt_cv_sys_global_symbol_pipe
=
7328 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7329 lt_cv_sys_global_symbol_to_cdecl
=
7331 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7333 $as_echo "failed" >&6; }
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7336 $as_echo "ok" >&6; }
7360 # Check whether --enable-libtool-lock was given.
7361 if test "${enable_libtool_lock+set}" = set; then :
7362 enableval
=$enable_libtool_lock;
7365 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7367 # Some flags need to be propagated to the compiler or linker for good
7371 # Find out which ABI we are using.
7372 echo 'int i;' > conftest.
$ac_ext
7373 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7374 (eval $ac_compile) 2>&5
7376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7377 test $ac_status = 0; }; then
7378 case `/usr/bin/file conftest.$ac_objext` in
7390 # Find out which ABI we are using.
7391 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7392 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7393 (eval $ac_compile) 2>&5
7395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7396 test $ac_status = 0; }; then
7397 if test "$lt_cv_prog_gnu_ld" = yes; then
7398 case `/usr/bin/file conftest.$ac_objext` in
7400 LD
="${LD-ld} -melf32bsmip"
7403 LD
="${LD-ld} -melf32bmipn32"
7406 LD
="${LD-ld} -melf64bmip"
7410 case `/usr/bin/file conftest.$ac_objext` in
7426 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
7427 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
7428 # Find out which ABI we are using.
7429 echo 'int i;' > conftest.
$ac_ext
7430 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7431 (eval $ac_compile) 2>&5
7433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7434 test $ac_status = 0; }; then
7435 case `/usr/bin/file conftest.o` in
7438 x86_64-
*kfreebsd
*-gnu)
7439 LD
="${LD-ld} -m elf_i386_fbsd"
7442 case `/usr/bin/file conftest.o` in
7444 LD
="${LD-ld} -m elf32_x86_64"
7447 LD
="${LD-ld} -m elf_i386"
7451 powerpc64le-
*linux
*)
7452 LD
="${LD-ld} -m elf32lppclinux"
7455 LD
="${LD-ld} -m elf32ppclinux"
7458 LD
="${LD-ld} -m elf_s390"
7461 LD
="${LD-ld} -m elf32_sparc"
7467 x86_64-
*kfreebsd
*-gnu)
7468 LD
="${LD-ld} -m elf_x86_64_fbsd"
7471 LD
="${LD-ld} -m elf_x86_64"
7474 LD
="${LD-ld} -m elf64lppc"
7477 LD
="${LD-ld} -m elf64ppc"
7479 s390
*-*linux
*|s390
*-*tpf
*)
7480 LD
="${LD-ld} -m elf64_s390"
7483 LD
="${LD-ld} -m elf64_sparc"
7493 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7494 SAVE_CFLAGS
="$CFLAGS"
7495 CFLAGS
="$CFLAGS -belf"
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7497 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7498 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7499 $as_echo_n "(cached) " >&6
7502 ac_cpp
='$CPP $CPPFLAGS'
7503 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7504 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7505 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7508 /* end confdefs.h. */
7518 if ac_fn_c_try_link
"$LINENO"; then :
7519 lt_cv_cc_needs_belf
=yes
7521 lt_cv_cc_needs_belf
=no
7523 rm -f core conftest.err conftest.
$ac_objext \
7524 conftest
$ac_exeext conftest.
$ac_ext
7526 ac_cpp
='$CPP $CPPFLAGS'
7527 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7528 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7529 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7533 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7534 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7535 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7536 CFLAGS
="$SAVE_CFLAGS"
7540 # Find out which ABI we are using.
7541 echo 'int i;' > conftest.
$ac_ext
7542 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7543 (eval $ac_compile) 2>&5
7545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7546 test $ac_status = 0; }; then
7547 case `/usr/bin/file conftest.o` in
7549 case $lt_cv_prog_gnu_ld in
7550 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
7552 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7564 need_locks
="$enable_libtool_lock"
7568 rhapsody
* | darwin
*)
7569 if test -n "$ac_tool_prefix"; then
7570 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7571 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7573 $as_echo_n "checking for $ac_word... " >&6; }
7574 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7575 $as_echo_n "(cached) " >&6
7577 if test -n "$DSYMUTIL"; then
7578 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7584 test -z "$as_dir" && as_dir
=.
7585 for ac_exec_ext
in '' $ac_executable_extensions; do
7586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7587 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7597 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7598 if test -n "$DSYMUTIL"; then
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7600 $as_echo "$DSYMUTIL" >&6; }
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7603 $as_echo "no" >&6; }
7608 if test -z "$ac_cv_prog_DSYMUTIL"; then
7609 ac_ct_DSYMUTIL
=$DSYMUTIL
7610 # Extract the first word of "dsymutil", so it can be a program name with args.
7611 set dummy dsymutil
; ac_word
=$2
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7613 $as_echo_n "checking for $ac_word... " >&6; }
7614 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7615 $as_echo_n "(cached) " >&6
7617 if test -n "$ac_ct_DSYMUTIL"; then
7618 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7624 test -z "$as_dir" && as_dir
=.
7625 for ac_exec_ext
in '' $ac_executable_extensions; do
7626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7627 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7637 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7638 if test -n "$ac_ct_DSYMUTIL"; then
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7640 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7643 $as_echo "no" >&6; }
7646 if test "x$ac_ct_DSYMUTIL" = x
; then
7649 case $cross_compiling:$ac_tool_warned in
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7653 ac_tool_warned
=yes ;;
7655 DSYMUTIL
=$ac_ct_DSYMUTIL
7658 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7661 if test -n "$ac_tool_prefix"; then
7662 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7663 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7665 $as_echo_n "checking for $ac_word... " >&6; }
7666 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7667 $as_echo_n "(cached) " >&6
7669 if test -n "$NMEDIT"; then
7670 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7676 test -z "$as_dir" && as_dir
=.
7677 for ac_exec_ext
in '' $ac_executable_extensions; do
7678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7679 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7689 NMEDIT
=$ac_cv_prog_NMEDIT
7690 if test -n "$NMEDIT"; then
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7692 $as_echo "$NMEDIT" >&6; }
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7695 $as_echo "no" >&6; }
7700 if test -z "$ac_cv_prog_NMEDIT"; then
7701 ac_ct_NMEDIT
=$NMEDIT
7702 # Extract the first word of "nmedit", so it can be a program name with args.
7703 set dummy nmedit
; ac_word
=$2
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7705 $as_echo_n "checking for $ac_word... " >&6; }
7706 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7707 $as_echo_n "(cached) " >&6
7709 if test -n "$ac_ct_NMEDIT"; then
7710 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7716 test -z "$as_dir" && as_dir
=.
7717 for ac_exec_ext
in '' $ac_executable_extensions; do
7718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7719 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7729 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7730 if test -n "$ac_ct_NMEDIT"; then
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7732 $as_echo "$ac_ct_NMEDIT" >&6; }
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7735 $as_echo "no" >&6; }
7738 if test "x$ac_ct_NMEDIT" = x
; then
7741 case $cross_compiling:$ac_tool_warned in
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7744 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7745 ac_tool_warned
=yes ;;
7747 NMEDIT
=$ac_ct_NMEDIT
7750 NMEDIT
="$ac_cv_prog_NMEDIT"
7753 if test -n "$ac_tool_prefix"; then
7754 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7755 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7757 $as_echo_n "checking for $ac_word... " >&6; }
7758 if test "${ac_cv_prog_LIPO+set}" = set; then :
7759 $as_echo_n "(cached) " >&6
7761 if test -n "$LIPO"; then
7762 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7768 test -z "$as_dir" && as_dir
=.
7769 for ac_exec_ext
in '' $ac_executable_extensions; do
7770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7771 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7781 LIPO
=$ac_cv_prog_LIPO
7782 if test -n "$LIPO"; then
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7784 $as_echo "$LIPO" >&6; }
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7787 $as_echo "no" >&6; }
7792 if test -z "$ac_cv_prog_LIPO"; then
7794 # Extract the first word of "lipo", so it can be a program name with args.
7795 set dummy lipo
; ac_word
=$2
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7797 $as_echo_n "checking for $ac_word... " >&6; }
7798 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7799 $as_echo_n "(cached) " >&6
7801 if test -n "$ac_ct_LIPO"; then
7802 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7808 test -z "$as_dir" && as_dir
=.
7809 for ac_exec_ext
in '' $ac_executable_extensions; do
7810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7811 ac_cv_prog_ac_ct_LIPO
="lipo"
7812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7821 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7822 if test -n "$ac_ct_LIPO"; then
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7824 $as_echo "$ac_ct_LIPO" >&6; }
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7827 $as_echo "no" >&6; }
7830 if test "x$ac_ct_LIPO" = x
; then
7833 case $cross_compiling:$ac_tool_warned in
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7836 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7837 ac_tool_warned
=yes ;;
7842 LIPO
="$ac_cv_prog_LIPO"
7845 if test -n "$ac_tool_prefix"; then
7846 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7847 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7849 $as_echo_n "checking for $ac_word... " >&6; }
7850 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7851 $as_echo_n "(cached) " >&6
7853 if test -n "$OTOOL"; then
7854 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7860 test -z "$as_dir" && as_dir
=.
7861 for ac_exec_ext
in '' $ac_executable_extensions; do
7862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7863 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7873 OTOOL
=$ac_cv_prog_OTOOL
7874 if test -n "$OTOOL"; then
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7876 $as_echo "$OTOOL" >&6; }
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7879 $as_echo "no" >&6; }
7884 if test -z "$ac_cv_prog_OTOOL"; then
7886 # Extract the first word of "otool", so it can be a program name with args.
7887 set dummy otool
; ac_word
=$2
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7889 $as_echo_n "checking for $ac_word... " >&6; }
7890 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7891 $as_echo_n "(cached) " >&6
7893 if test -n "$ac_ct_OTOOL"; then
7894 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7900 test -z "$as_dir" && as_dir
=.
7901 for ac_exec_ext
in '' $ac_executable_extensions; do
7902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7903 ac_cv_prog_ac_ct_OTOOL
="otool"
7904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7913 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7914 if test -n "$ac_ct_OTOOL"; then
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7916 $as_echo "$ac_ct_OTOOL" >&6; }
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7919 $as_echo "no" >&6; }
7922 if test "x$ac_ct_OTOOL" = x
; then
7925 case $cross_compiling:$ac_tool_warned in
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7929 ac_tool_warned
=yes ;;
7934 OTOOL
="$ac_cv_prog_OTOOL"
7937 if test -n "$ac_tool_prefix"; then
7938 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7939 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7941 $as_echo_n "checking for $ac_word... " >&6; }
7942 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7943 $as_echo_n "(cached) " >&6
7945 if test -n "$OTOOL64"; then
7946 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7952 test -z "$as_dir" && as_dir
=.
7953 for ac_exec_ext
in '' $ac_executable_extensions; do
7954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7955 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7965 OTOOL64
=$ac_cv_prog_OTOOL64
7966 if test -n "$OTOOL64"; then
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7968 $as_echo "$OTOOL64" >&6; }
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7971 $as_echo "no" >&6; }
7976 if test -z "$ac_cv_prog_OTOOL64"; then
7977 ac_ct_OTOOL64
=$OTOOL64
7978 # Extract the first word of "otool64", so it can be a program name with args.
7979 set dummy otool64
; ac_word
=$2
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7981 $as_echo_n "checking for $ac_word... " >&6; }
7982 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7983 $as_echo_n "(cached) " >&6
7985 if test -n "$ac_ct_OTOOL64"; then
7986 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7992 test -z "$as_dir" && as_dir
=.
7993 for ac_exec_ext
in '' $ac_executable_extensions; do
7994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7995 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8005 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8006 if test -n "$ac_ct_OTOOL64"; then
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8008 $as_echo "$ac_ct_OTOOL64" >&6; }
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8011 $as_echo "no" >&6; }
8014 if test "x$ac_ct_OTOOL64" = x
; then
8017 case $cross_compiling:$ac_tool_warned in
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8020 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8021 ac_tool_warned
=yes ;;
8023 OTOOL64
=$ac_ct_OTOOL64
8026 OTOOL64
="$ac_cv_prog_OTOOL64"
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8056 $as_echo_n "checking for -single_module linker flag... " >&6; }
8057 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8058 $as_echo_n "(cached) " >&6
8060 lt_cv_apple_cc_single_mod
=no
8061 if test -z "${LT_MULTI_MODULE}"; then
8062 # By default we will add the -single_module flag. You can override
8063 # by either setting the environment variable LT_MULTI_MODULE
8064 # non-empty at configure time, or by adding -multi_module to the
8066 rm -rf libconftest.dylib
*
8067 echo "int foo(void){return 1;}" > conftest.c
8068 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8069 -dynamiclib -Wl,-single_module conftest.c" >&5
8070 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8071 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8073 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8074 lt_cv_apple_cc_single_mod
=yes
8076 cat conftest.err
>&5
8078 rm -rf libconftest.dylib
*
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8083 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8085 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8086 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8087 $as_echo_n "(cached) " >&6
8089 lt_cv_ld_exported_symbols_list
=no
8090 save_LDFLAGS
=$LDFLAGS
8091 echo "_main" > conftest.sym
8092 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8094 /* end confdefs.h. */
8104 if ac_fn_c_try_link
"$LINENO"; then :
8105 lt_cv_ld_exported_symbols_list
=yes
8107 lt_cv_ld_exported_symbols_list
=no
8109 rm -f core conftest.err conftest.
$ac_objext \
8110 conftest
$ac_exeext conftest.
$ac_ext
8111 LDFLAGS
="$save_LDFLAGS"
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8115 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8117 $as_echo_n "checking for -force_load linker flag... " >&6; }
8118 if test "${lt_cv_ld_force_load+set}" = set; then :
8119 $as_echo_n "(cached) " >&6
8121 lt_cv_ld_force_load
=no
8122 cat > conftest.c
<< _LT_EOF
8123 int forced_loaded() { return 2;}
8125 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8126 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8127 echo "$AR cru libconftest.a conftest.o" >&5
8128 $AR cru libconftest.a conftest.o
2>&5
8129 cat > conftest.c
<< _LT_EOF
8130 int main() { return 0;}
8132 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8133 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8135 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8136 lt_cv_ld_force_load
=yes
8138 cat conftest.err
>&5
8140 rm -f conftest.err libconftest.a conftest conftest.c
8141 rm -rf conftest.dSYM
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8145 $as_echo "$lt_cv_ld_force_load" >&6; }
8147 rhapsody
* | darwin1.
[012])
8148 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8150 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8151 darwin
*) # darwin 5.x on
8152 # if running on 10.5 or later, the deployment target defaults
8153 # to the OS version, if on x86, and 10.4, the deployment
8154 # target defaults to 10.4. Don't you love it?
8155 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8156 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8157 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8159 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8161 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8165 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8166 _lt_dar_single_mod
='$single_module'
8168 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8169 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8171 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8173 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8174 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8181 for ac_header
in dlfcn.h
8183 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8185 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8186 cat >>confdefs.h
<<_ACEOF
8187 #define HAVE_DLFCN_H 1
8207 # Check whether --enable-shared was given.
8208 if test "${enable_shared+set}" = set; then :
8209 enableval
=$enable_shared; p
=${PACKAGE-default}
8211 yes) enable_shared
=yes ;;
8212 no
) enable_shared
=no
;;
8215 # Look at the argument we got. We use all the common list separators.
8216 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8217 for pkg
in $enableval; do
8219 if test "X$pkg" = "X$p"; then
8238 # Check whether --enable-static was given.
8239 if test "${enable_static+set}" = set; then :
8240 enableval
=$enable_static; p
=${PACKAGE-default}
8242 yes) enable_static
=yes ;;
8243 no
) enable_static
=no
;;
8246 # Look at the argument we got. We use all the common list separators.
8247 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8248 for pkg
in $enableval; do
8250 if test "X$pkg" = "X$p"; then
8270 # Check whether --with-pic was given.
8271 if test "${with_pic+set}" = set; then :
8272 withval
=$with_pic; pic_mode
="$withval"
8278 test -z "$pic_mode" && pic_mode
=default
8286 # Check whether --enable-fast-install was given.
8287 if test "${enable_fast_install+set}" = set; then :
8288 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8290 yes) enable_fast_install
=yes ;;
8291 no
) enable_fast_install
=no
;;
8293 enable_fast_install
=no
8294 # Look at the argument we got. We use all the common list separators.
8295 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8296 for pkg
in $enableval; do
8298 if test "X$pkg" = "X$p"; then
8299 enable_fast_install
=yes
8306 enable_fast_install
=yes
8319 # This can be used to rebuild libtool when needed
8320 LIBTOOL_DEPS
="$ltmain"
8322 # Always use our own libtool.
8323 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8350 test -z "$LN_S" && LN_S
="ln -s"
8365 if test -n "${ZSH_VERSION+set}" ; then
8366 setopt NO_GLOB_SUBST
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8370 $as_echo_n "checking for objdir... " >&6; }
8371 if test "${lt_cv_objdir+set}" = set; then :
8372 $as_echo_n "(cached) " >&6
8374 rm -f .libs
2>/dev
/null
8375 mkdir .libs
2>/dev
/null
8376 if test -d .libs
; then
8379 # MS-DOS does not allow filenames that begin with a dot.
8382 rmdir .libs
2>/dev
/null
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8385 $as_echo "$lt_cv_objdir" >&6; }
8386 objdir
=$lt_cv_objdir
8392 cat >>confdefs.h
<<_ACEOF
8393 #define LT_OBJDIR "$lt_cv_objdir/"
8401 # AIX sometimes has problems with the GCC collect2 program. For some
8402 # reason, if we set the COLLECT_NAMES environment variable, the problems
8403 # vanish in a puff of smoke.
8404 if test "X${COLLECT_NAMES+set}" != Xset
; then
8406 export COLLECT_NAMES
8413 can_build_shared
=yes
8415 # All known linkers require a `.a' archive for static linking (except MSVC,
8416 # which needs '.lib').
8419 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8422 old_CFLAGS
="$CFLAGS"
8424 # Set sane defaults for various variables
8425 test -z "$CC" && CC
=cc
8426 test -z "$LTCC" && LTCC
=$CC
8427 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8428 test -z "$LD" && LD
=ld
8429 test -z "$ac_objext" && ac_objext
=o
8431 for cc_temp
in $compiler""; do
8433 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8434 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8439 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8442 # Only perform the check for file, if the check method requires it
8443 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8444 case $deplibs_check_method in
8446 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8448 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8449 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8450 $as_echo_n "(cached) " >&6
8454 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8457 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8458 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8459 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8460 for ac_dir
in $ac_dummy; do
8462 test -z "$ac_dir" && ac_dir
=.
8463 if test -f $ac_dir/${ac_tool_prefix}file; then
8464 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8465 if test -n "$file_magic_test_file"; then
8466 case $deplibs_check_method in
8468 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8469 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8470 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8471 $EGREP "$file_magic_regex" > /dev
/null
; then
8476 *** Warning: the command libtool uses to detect shared libraries,
8477 *** $file_magic_cmd, produces output that libtool cannot recognize.
8478 *** The result is that libtool may fail to recognize shared libraries
8479 *** as such. This will affect the creation of libtool libraries that
8480 *** depend on shared libraries, but programs linked with such libtool
8481 *** libraries will work regardless of this problem. Nevertheless, you
8482 *** may want to report the problem to your system manager and/or to
8483 *** bug-libtool@gnu.org
8493 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8498 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8499 if test -n "$MAGIC_CMD"; then
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8501 $as_echo "$MAGIC_CMD" >&6; }
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8504 $as_echo "no" >&6; }
8511 if test -z "$lt_cv_path_MAGIC_CMD"; then
8512 if test -n "$ac_tool_prefix"; then
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8514 $as_echo_n "checking for file... " >&6; }
8515 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8516 $as_echo_n "(cached) " >&6
8520 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8523 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8524 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8525 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8526 for ac_dir
in $ac_dummy; do
8528 test -z "$ac_dir" && ac_dir
=.
8529 if test -f $ac_dir/file; then
8530 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8531 if test -n "$file_magic_test_file"; then
8532 case $deplibs_check_method in
8534 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8535 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8536 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8537 $EGREP "$file_magic_regex" > /dev
/null
; then
8542 *** Warning: the command libtool uses to detect shared libraries,
8543 *** $file_magic_cmd, produces output that libtool cannot recognize.
8544 *** The result is that libtool may fail to recognize shared libraries
8545 *** as such. This will affect the creation of libtool libraries that
8546 *** depend on shared libraries, but programs linked with such libtool
8547 *** libraries will work regardless of this problem. Nevertheless, you
8548 *** may want to report the problem to your system manager and/or to
8549 *** bug-libtool@gnu.org
8559 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8564 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8565 if test -n "$MAGIC_CMD"; then
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8567 $as_echo "$MAGIC_CMD" >&6; }
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8570 $as_echo "no" >&6; }
8583 # Use C for the default configuration in the libtool script
8587 ac_cpp
='$CPP $CPPFLAGS'
8588 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8589 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8590 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8593 # Source file extension for C test sources.
8596 # Object file extension for compiled C test sources.
8600 # Code to be used in simple compile tests
8601 lt_simple_compile_test_code
="int some_variable = 0;"
8603 # Code to be used in simple link tests
8604 lt_simple_link_test_code
='int main(){return(0);}'
8612 # If no C compiler was specified, use CC.
8615 # If no C compiler flags were specified, use CFLAGS.
8616 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8618 # Allow CC to be a program name with arguments.
8621 # Save the default compiler, since it gets overwritten when the other
8622 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8623 compiler_DEFAULT
=$CC
8625 # save warnings/boilerplate of simple test code
8626 ac_outfile
=conftest.
$ac_objext
8627 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8628 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8629 _lt_compiler_boilerplate
=`cat conftest.err`
8632 ac_outfile
=conftest.
$ac_objext
8633 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8634 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8635 _lt_linker_boilerplate
=`cat conftest.err`
8640 ## There is no encapsulation within the following macros, do not change
8641 ## the running order or otherwise move them around unless you know exactly
8642 ## what you are doing...
8643 if test -n "$compiler"; then
8645 lt_prog_compiler_no_builtin_flag
=
8647 if test "$GCC" = yes; then
8648 case $cc_basename in
8650 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8652 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8656 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8657 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8658 $as_echo_n "(cached) " >&6
8660 lt_cv_prog_compiler_rtti_exceptions
=no
8661 ac_outfile
=conftest.
$ac_objext
8662 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8663 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8664 # Insert the option either (1) after the last *FLAGS variable, or
8665 # (2) before a word containing "conftest.", or (3) at the end.
8666 # Note that $ac_compile itself does not contain backslashes and begins
8667 # with a dollar sign (not a hyphen), so the echo should work correctly.
8668 # The option is referenced via a variable to avoid confusing sed.
8669 lt_compile
=`echo "$ac_compile" | $SED \
8670 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8671 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8672 -e 's:$: $lt_compiler_flag:'`
8673 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8674 (eval "$lt_compile" 2>conftest.err
)
8676 cat conftest.err
>&5
8677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8678 if (exit $ac_status) && test -s "$ac_outfile"; then
8679 # The compiler can only warn and ignore the option if not recognized
8680 # So say no if there are warnings other than the usual output.
8681 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8682 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8683 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8684 lt_cv_prog_compiler_rtti_exceptions
=yes
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8691 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8693 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8694 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8706 lt_prog_compiler_wl
=
8707 lt_prog_compiler_pic
=
8708 lt_prog_compiler_static
=
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8711 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8713 if test "$GCC" = yes; then
8714 lt_prog_compiler_wl
='-Wl,'
8715 lt_prog_compiler_static
='-static'
8719 # All AIX code is PIC.
8720 if test "$host_cpu" = ia64
; then
8721 # AIX 5 now supports IA64 processor
8722 lt_prog_compiler_static
='-Bstatic'
8724 lt_prog_compiler_pic
='-fPIC'
8730 # see comment about AmigaOS4 .so support
8731 lt_prog_compiler_pic
='-fPIC'
8734 # FIXME: we need at least 68020 code to build shared libraries, but
8735 # adding the `-m68020' flag to GCC prevents building anything better,
8737 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8742 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8743 # PIC is the default for these OSes.
8746 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8747 # This hack is so that the source file can tell whether it is being
8748 # built for inclusion in a dll (and should export symbols for example).
8749 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8750 # (--disable-auto-import) libraries
8751 lt_prog_compiler_pic
='-DDLL_EXPORT'
8754 darwin
* | rhapsody
*)
8755 # PIC is the default on this platform
8756 # Common symbols not allowed in MH_DYLIB files
8757 lt_prog_compiler_pic
='-fno-common'
8761 # PIC is the default for Haiku.
8762 # The "-static" flag exists, but is broken.
8763 lt_prog_compiler_static
=
8767 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8768 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8769 # sets the default TLS model and affects inlining.
8775 lt_prog_compiler_pic
='-fPIC'
8781 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8782 # Instead, we relocate shared libraries at runtime.
8786 # Just because we use GCC doesn't mean we suddenly get shared libraries
8787 # on systems that don't support them.
8788 lt_prog_compiler_can_build_shared
=no
8793 # QNX uses GNU C++, but need to define -shared option too, otherwise
8795 lt_prog_compiler_pic
='-fPIC -shared'
8799 if test -d /usr
/nec
; then
8800 lt_prog_compiler_pic
=-Kconform_pic
8805 lt_prog_compiler_pic
='-fPIC'
8809 case $cc_basename in
8810 nvcc
*) # Cuda Compiler Driver 2.2
8811 lt_prog_compiler_wl
='-Xlinker '
8812 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8816 # PORTME Check for flag to pass linker flags through the system compiler.
8819 lt_prog_compiler_wl
='-Wl,'
8820 if test "$host_cpu" = ia64
; then
8821 # AIX 5 now supports IA64 processor
8822 lt_prog_compiler_static
='-Bstatic'
8824 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8828 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8829 # This hack is so that the source file can tell whether it is being
8830 # built for inclusion in a dll (and should export symbols for example).
8831 lt_prog_compiler_pic
='-DDLL_EXPORT'
8834 hpux9
* | hpux10
* | hpux11
*)
8835 lt_prog_compiler_wl
='-Wl,'
8836 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8843 lt_prog_compiler_pic
='+Z'
8846 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8847 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8850 irix5
* | irix6
* | nonstopux
*)
8851 lt_prog_compiler_wl
='-Wl,'
8852 # PIC (with -KPIC) is the default.
8853 lt_prog_compiler_static
='-non_shared'
8856 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8857 case $cc_basename in
8858 # old Intel for x86_64 which still supported -KPIC.
8860 lt_prog_compiler_wl
='-Wl,'
8861 lt_prog_compiler_pic
='-KPIC'
8862 lt_prog_compiler_static
='-static'
8864 # icc used to be incompatible with GCC.
8865 # ICC 10 doesn't accept -KPIC any more.
8867 lt_prog_compiler_wl
='-Wl,'
8868 lt_prog_compiler_pic
='-fPIC'
8869 lt_prog_compiler_static
='-static'
8871 # Lahey Fortran 8.1.
8873 lt_prog_compiler_wl
='-Wl,'
8874 lt_prog_compiler_pic
='--shared'
8875 lt_prog_compiler_static
='--static'
8877 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8878 # Portland Group compilers (*not* the Pentium gcc compiler,
8879 # which looks to be a dead project)
8880 lt_prog_compiler_wl
='-Wl,'
8881 lt_prog_compiler_pic
='-fpic'
8882 lt_prog_compiler_static
='-Bstatic'
8885 lt_prog_compiler_wl
='-Wl,'
8886 # All Alpha code is PIC.
8887 lt_prog_compiler_static
='-non_shared'
8889 xl
* | bgxl
* | bgf
* | mpixl
*)
8890 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8891 lt_prog_compiler_wl
='-Wl,'
8892 lt_prog_compiler_pic
='-qpic'
8893 lt_prog_compiler_static
='-qstaticlink'
8896 case `$CC -V 2>&1 | sed 5q` in
8897 *Sun\ F
* |
*Sun
*Fortran
*)
8898 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8899 lt_prog_compiler_pic
='-KPIC'
8900 lt_prog_compiler_static
='-Bstatic'
8901 lt_prog_compiler_wl
=''
8905 lt_prog_compiler_pic
='-KPIC'
8906 lt_prog_compiler_static
='-Bstatic'
8907 lt_prog_compiler_wl
='-Wl,'
8915 lt_prog_compiler_pic
='-KPIC'
8916 lt_prog_compiler_static
='-Bstatic'
8920 # QNX uses GNU C++, but need to define -shared option too, otherwise
8922 lt_prog_compiler_pic
='-fPIC -shared'
8925 osf3
* | osf4
* | osf5
*)
8926 lt_prog_compiler_wl
='-Wl,'
8927 # All OSF/1 code is PIC.
8928 lt_prog_compiler_static
='-non_shared'
8932 lt_prog_compiler_static
='-non_shared'
8936 lt_prog_compiler_pic
='-KPIC'
8937 lt_prog_compiler_static
='-Bstatic'
8938 case $cc_basename in
8940 lt_prog_compiler_wl
='-Qoption ld ';;
8942 lt_prog_compiler_wl
='-Wl,';;
8947 lt_prog_compiler_wl
='-Qoption ld '
8948 lt_prog_compiler_pic
='-PIC'
8949 lt_prog_compiler_static
='-Bstatic'
8952 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8953 lt_prog_compiler_wl
='-Wl,'
8954 lt_prog_compiler_pic
='-KPIC'
8955 lt_prog_compiler_static
='-Bstatic'
8959 if test -d /usr
/nec
;then
8960 lt_prog_compiler_pic
='-Kconform_pic'
8961 lt_prog_compiler_static
='-Bstatic'
8965 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8966 lt_prog_compiler_wl
='-Wl,'
8967 lt_prog_compiler_pic
='-KPIC'
8968 lt_prog_compiler_static
='-Bstatic'
8972 lt_prog_compiler_wl
='-Wl,'
8973 lt_prog_compiler_can_build_shared
=no
8977 lt_prog_compiler_pic
='-pic'
8978 lt_prog_compiler_static
='-Bstatic'
8982 lt_prog_compiler_can_build_shared
=no
8988 # For platforms which do not support PIC, -DPIC is meaningless:
8990 lt_prog_compiler_pic
=
8993 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8997 $as_echo "$lt_prog_compiler_pic" >&6; }
9005 # Check to make sure the PIC flag actually works.
9007 if test -n "$lt_prog_compiler_pic"; then
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9009 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9010 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9011 $as_echo_n "(cached) " >&6
9013 lt_cv_prog_compiler_pic_works
=no
9014 ac_outfile
=conftest.
$ac_objext
9015 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9016 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9017 # Insert the option either (1) after the last *FLAGS variable, or
9018 # (2) before a word containing "conftest.", or (3) at the end.
9019 # Note that $ac_compile itself does not contain backslashes and begins
9020 # with a dollar sign (not a hyphen), so the echo should work correctly.
9021 # The option is referenced via a variable to avoid confusing sed.
9022 lt_compile
=`echo "$ac_compile" | $SED \
9023 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9024 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9025 -e 's:$: $lt_compiler_flag:'`
9026 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9027 (eval "$lt_compile" 2>conftest.err
)
9029 cat conftest.err
>&5
9030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9031 if (exit $ac_status) && test -s "$ac_outfile"; then
9032 # The compiler can only warn and ignore the option if not recognized
9033 # So say no if there are warnings other than the usual output.
9034 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9035 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9036 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9037 lt_cv_prog_compiler_pic_works
=yes
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9044 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9046 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9047 case $lt_prog_compiler_pic in
9049 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9052 lt_prog_compiler_pic
=
9053 lt_prog_compiler_can_build_shared
=no
9064 # Check to make sure the static flag actually works.
9066 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9068 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9069 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9070 $as_echo_n "(cached) " >&6
9072 lt_cv_prog_compiler_static_works
=no
9073 save_LDFLAGS
="$LDFLAGS"
9074 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9075 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9076 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9077 # The linker can only warn and ignore the option if not recognized
9078 # So say no if there are warnings
9079 if test -s conftest.err
; then
9080 # Append any errors to the config.log.
9081 cat conftest.err
1>&5
9082 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9083 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9084 if diff conftest.exp conftest.er2
>/dev
/null
; then
9085 lt_cv_prog_compiler_static_works
=yes
9088 lt_cv_prog_compiler_static_works
=yes
9092 LDFLAGS
="$save_LDFLAGS"
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9096 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9098 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9101 lt_prog_compiler_static
=
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9111 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9112 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9113 $as_echo_n "(cached) " >&6
9115 lt_cv_prog_compiler_c_o
=no
9116 $RM -r conftest
2>/dev
/null
9120 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9122 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9123 # Insert the option either (1) after the last *FLAGS variable, or
9124 # (2) before a word containing "conftest.", or (3) at the end.
9125 # Note that $ac_compile itself does not contain backslashes and begins
9126 # with a dollar sign (not a hyphen), so the echo should work correctly.
9127 lt_compile
=`echo "$ac_compile" | $SED \
9128 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9129 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9130 -e 's:$: $lt_compiler_flag:'`
9131 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9132 (eval "$lt_compile" 2>out
/conftest.err
)
9134 cat out
/conftest.err
>&5
9135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9136 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9138 # The compiler can only warn and ignore the option if not recognized
9139 # So say no if there are warnings
9140 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9141 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9142 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9143 lt_cv_prog_compiler_c_o
=yes
9148 # SGI C++ compiler will create directory out/ii_files/ for
9149 # template instantiation
9150 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9151 $RM out
/* && rmdir out
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9158 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9166 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9167 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9168 $as_echo_n "(cached) " >&6
9170 lt_cv_prog_compiler_c_o
=no
9171 $RM -r conftest
2>/dev
/null
9175 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9177 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9178 # Insert the option either (1) after the last *FLAGS variable, or
9179 # (2) before a word containing "conftest.", or (3) at the end.
9180 # Note that $ac_compile itself does not contain backslashes and begins
9181 # with a dollar sign (not a hyphen), so the echo should work correctly.
9182 lt_compile
=`echo "$ac_compile" | $SED \
9183 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9184 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9185 -e 's:$: $lt_compiler_flag:'`
9186 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9187 (eval "$lt_compile" 2>out
/conftest.err
)
9189 cat out
/conftest.err
>&5
9190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9191 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9193 # The compiler can only warn and ignore the option if not recognized
9194 # So say no if there are warnings
9195 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9196 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9197 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9198 lt_cv_prog_compiler_c_o
=yes
9203 # SGI C++ compiler will create directory out/ii_files/ for
9204 # template instantiation
9205 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9206 $RM out
/* && rmdir out
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9213 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9218 hard_links
="nottested"
9219 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9220 # do not overwrite the value of need_locks provided by the user
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9222 $as_echo_n "checking if we can lock with hard links... " >&6; }
9225 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9227 ln conftest.a conftest.b
2>&5 || hard_links
=no
9228 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9230 $as_echo "$hard_links" >&6; }
9231 if test "$hard_links" = no
; then
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9233 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9246 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9249 allow_undefined_flag
=
9250 always_export_symbols
=no
9252 archive_expsym_cmds
=
9253 compiler_needs_object
=no
9254 enable_shared_with_static_runtimes
=no
9255 export_dynamic_flag_spec
=
9256 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9257 hardcode_automatic
=no
9259 hardcode_direct_absolute
=no
9260 hardcode_libdir_flag_spec
=
9261 hardcode_libdir_flag_spec_ld
=
9262 hardcode_libdir_separator
=
9264 hardcode_shlibpath_var
=unsupported
9266 link_all_deplibs
=unknown
9269 old_archive_from_new_cmds
=
9270 old_archive_from_expsyms_cmds
=
9271 thread_safe_flag_spec
=
9272 whole_archive_flag_spec
=
9273 # include_expsyms should be a list of space-separated symbols to be *always*
9274 # included in the symbol list
9276 # exclude_expsyms can be an extended regexp of symbols to exclude
9277 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9278 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9279 # as well as any symbol that contains `d'.
9280 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9281 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9282 # platforms (ab)use it in PIC code, but their linkers get confused if
9283 # the symbol is explicitly referenced. Since portable code cannot
9284 # rely on this symbol name, it's probably fine to never include it in
9285 # preloaded symbol tables.
9286 # Exclude shared library initialization/finalization symbols.
9287 extract_expsyms_cmds
=
9290 cygwin
* | mingw
* | pw32
* | cegcc
*)
9291 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9292 # When not using gcc, we currently assume that we are using
9293 # Microsoft Visual C++.
9294 if test "$GCC" != yes; then
9299 # we just hope/assume this is gcc and not c89 (= MSVC++)
9309 # On some targets, GNU ld is compatible enough with the native linker
9310 # that we're better off using the native interface for both.
9311 lt_use_gnu_ld_interface
=no
9312 if test "$with_gnu_ld" = yes; then
9315 # The AIX port of GNU ld has always aspired to compatibility
9316 # with the native linker. However, as the warning in the GNU ld
9317 # block says, versions before 2.19.5* couldn't really create working
9318 # shared libraries, regardless of the interface used.
9319 case `$LD -v 2>&1` in
9320 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9321 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9322 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9324 lt_use_gnu_ld_interface
=yes
9329 lt_use_gnu_ld_interface
=yes
9334 if test "$lt_use_gnu_ld_interface" = yes; then
9335 # If archive_cmds runs LD, not CC, wlarc should be empty
9338 # Set some defaults for GNU ld with shared library support. These
9339 # are reset later if shared libraries are not supported. Putting them
9340 # here allows them to be overridden if necessary.
9341 runpath_var
=LD_RUN_PATH
9342 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9343 export_dynamic_flag_spec
='${wl}--export-dynamic'
9344 # ancient GNU ld didn't support --whole-archive et. al.
9345 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9346 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9348 whole_archive_flag_spec
=
9350 supports_anon_versioning
=no
9351 case `$LD -v 2>&1` in
9352 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9353 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9354 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9355 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9356 *\
2.11.
*) ;; # other 2.11 versions
9357 *) supports_anon_versioning
=yes ;;
9360 # See if GNU ld supports shared libraries.
9363 # On AIX/PPC, the GNU linker is very broken
9364 if test "$host_cpu" != ia64
; then
9368 *** Warning: the GNU linker, at least up to release 2.19, is reported
9369 *** to be unable to reliably create shared libraries on AIX.
9370 *** Therefore, libtool is disabling shared libraries support. If you
9371 *** really care for shared libraries, you may want to install binutils
9372 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9373 *** You will then need to restart the configuration process.
9382 # see comment about AmigaOS4 .so support
9383 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9384 archive_expsym_cmds
=''
9387 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)'
9388 hardcode_libdir_flag_spec
='-L$libdir'
9389 hardcode_minus_L
=yes
9395 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9396 allow_undefined_flag
=unsupported
9397 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9398 # support --undefined. This deserves some investigation. FIXME
9399 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9405 cygwin
* | mingw
* | pw32
* | cegcc
*)
9406 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9407 # as there is no search path for DLLs.
9408 hardcode_libdir_flag_spec
='-L$libdir'
9409 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9410 allow_undefined_flag
=unsupported
9411 always_export_symbols
=no
9412 enable_shared_with_static_runtimes
=yes
9413 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9415 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9416 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9417 # If the export-symbols file already is a .def file (1st line
9418 # is EXPORTS), use it as is; otherwise, prepend...
9419 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9420 cp $export_symbols $output_objdir/$soname.def;
9422 echo EXPORTS > $output_objdir/$soname.def;
9423 cat $export_symbols >> $output_objdir/$soname.def;
9425 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9432 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9433 link_all_deplibs
=yes
9438 hardcode_shlibpath_var
=no
9439 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9440 export_dynamic_flag_spec
='${wl}-E'
9441 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9442 # Instead, shared libraries are loaded at an image base (0x10000000 by
9443 # default) and relocated if they conflict, which is a slow very memory
9444 # consuming and fragmenting process. To avoid this, we pick a random,
9445 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9446 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9447 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9448 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'
9451 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9453 if test "$host_os" = linux-dietlibc
; then
9454 case $cc_basename in
9455 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9458 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9459 && test "$tmp_diet" = no
9461 tmp_addflag
=' $pic_flag'
9462 tmp_sharedflag
='-shared'
9463 case $cc_basename,$host_cpu in
9464 pgcc
*) # Portland Group C compiler
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 tmp_addflag
=' $pic_flag'
9468 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9469 # Portland Group f77 and f90 compilers
9470 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'
9471 tmp_addflag
=' $pic_flag -Mnomain' ;;
9472 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9473 tmp_addflag
=' -i_dynamic' ;;
9474 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9475 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9476 ifc
* | ifort
*) # Intel Fortran compiler
9477 tmp_addflag
=' -nofor_main' ;;
9478 lf95
*) # Lahey Fortran 8.1
9479 whole_archive_flag_spec
=
9480 tmp_sharedflag
='--shared' ;;
9481 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9482 tmp_sharedflag
='-qmkshrobj'
9484 nvcc
*) # Cuda Compiler Driver 2.2
9485 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'
9486 compiler_needs_object
=yes
9489 case `$CC -V 2>&1 | sed 5q` in
9490 *Sun\ C
*) # Sun C 5.9
9491 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'
9492 compiler_needs_object
=yes
9493 tmp_sharedflag
='-G' ;;
9494 *Sun\ F
*) # Sun Fortran 8.3
9495 tmp_sharedflag
='-G' ;;
9497 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9499 if test "x$supports_anon_versioning" = xyes
; then
9500 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9501 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9502 echo "local: *; };" >> $output_objdir/$libname.ver~
9503 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9506 case $cc_basename in
9507 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9508 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9509 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9510 hardcode_libdir_flag_spec
=
9511 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9512 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9513 if test "x$supports_anon_versioning" = xyes
; then
9514 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9515 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9516 echo "local: *; };" >> $output_objdir/$libname.ver~
9517 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9527 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9528 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9531 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9532 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9537 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9541 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9542 *** create shared libraries on Solaris systems. Therefore, libtool
9543 *** is disabling shared libraries support. We urge you to upgrade GNU
9544 *** binutils to release 2.9.1 or newer. Another option is to modify
9545 *** your PATH or compiler configuration so that the native linker is
9546 *** used, and then restart.
9549 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9550 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9551 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9557 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9558 case `$LD -v 2>&1` in
9559 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9563 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9564 *** reliably create shared libraries on SCO systems. Therefore, libtool
9565 *** is disabling shared libraries support. We urge you to upgrade GNU
9566 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9567 *** your PATH or compiler configuration so that the native linker is
9568 *** used, and then restart.
9573 # For security reasons, it is highly recommended that you always
9574 # use absolute paths for naming shared libraries, and exclude the
9575 # DT_RUNPATH tag from executables and libraries. But doing so
9576 # requires that you compile everything twice, which is a pain.
9577 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9578 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9579 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9580 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9589 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9592 hardcode_shlibpath_var
=no
9596 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9597 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9598 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9605 if test "$ld_shlibs" = no
; then
9607 hardcode_libdir_flag_spec
=
9608 export_dynamic_flag_spec
=
9609 whole_archive_flag_spec
=
9612 # PORTME fill in a description of your system's linker (not GNU ld)
9615 allow_undefined_flag
=unsupported
9616 always_export_symbols
=yes
9617 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'
9618 # Note: this linker hardcodes the directories in LIBPATH if there
9619 # are no directories specified by -L.
9620 hardcode_minus_L
=yes
9621 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9622 # Neither direct hardcoding nor static linking is supported with a
9624 hardcode_direct
=unsupported
9629 if test "$host_cpu" = ia64
; then
9630 # On IA64, the linker does run time linking by default, so we don't
9631 # have to do anything special.
9632 aix_use_runtimelinking
=no
9633 exp_sym_flag
='-Bexport'
9636 # If we're using GNU nm, then we don't want the "-C" option.
9637 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9638 # Also, AIX nm treats weak defined symbols like other global
9639 # defined symbols, whereas GNU nm marks them as "W".
9640 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9641 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'
9643 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'
9645 aix_use_runtimelinking
=no
9647 # Test if we are trying to use run time linking or normal
9648 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9649 # need to do runtime linking.
9650 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9651 for ld_flag
in $LDFLAGS; do
9652 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9653 aix_use_runtimelinking
=yes
9660 exp_sym_flag
='-bexport'
9661 no_entry_flag
='-bnoentry'
9664 # When large executables or shared objects are built, AIX ld can
9665 # have problems creating the table of contents. If linking a library
9666 # or program results in "error TOC overflow" add -mminimal-toc to
9667 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9668 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9672 hardcode_direct_absolute
=yes
9673 hardcode_libdir_separator
=':'
9674 link_all_deplibs
=yes
9675 file_list_spec
='${wl}-f,'
9677 if test "$GCC" = yes; then
9678 case $host_os in aix4.
[012]|aix4.
[012].
*)
9679 # We only want to do this on AIX 4.2 and lower, the check
9680 # below for broken collect2 doesn't work under 4.3+
9681 collect2name
=`${CC} -print-prog-name=collect2`
9682 if test -f "$collect2name" &&
9683 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9685 # We have reworked collect2
9688 # We have old collect2
9689 hardcode_direct
=unsupported
9690 # It fails to find uninstalled libraries when the uninstalled
9691 # path is not listed in the libpath. Setting hardcode_minus_L
9692 # to unsupported forces relinking
9693 hardcode_minus_L
=yes
9694 hardcode_libdir_flag_spec
='-L$libdir'
9695 hardcode_libdir_separator
=
9699 shared_flag
='-shared'
9700 if test "$aix_use_runtimelinking" = yes; then
9701 shared_flag
="$shared_flag "'${wl}-G'
9705 if test "$host_cpu" = ia64
; then
9706 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9707 # chokes on -Wl,-G. The following line is correct:
9710 if test "$aix_use_runtimelinking" = yes; then
9711 shared_flag
='${wl}-G'
9713 shared_flag
='${wl}-bM:SRE'
9718 export_dynamic_flag_spec
='${wl}-bexpall'
9719 # It seems that -bexpall does not export symbols beginning with
9720 # underscore (_), so it is better to generate a list of symbols to export.
9721 always_export_symbols
=yes
9722 if test "$aix_use_runtimelinking" = yes; then
9723 # Warning - without using the other runtime loading flags (-brtl),
9724 # -berok will link without error, but may produce a broken library.
9725 allow_undefined_flag
='-berok'
9726 # Determine the default libpath from the value encoded in an
9728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9729 /* end confdefs.h. */
9739 if ac_fn_c_try_link
"$LINENO"; then :
9741 lt_aix_libpath_sed
='
9742 /Import File Strings/,/^$/ {
9748 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9749 # Check for a 64-bit object if we didn't find anything.
9750 if test -z "$aix_libpath"; then
9751 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9754 rm -f core conftest.err conftest.
$ac_objext \
9755 conftest
$ac_exeext conftest.
$ac_ext
9756 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9758 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9759 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"
9761 if test "$host_cpu" = ia64
; then
9762 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9763 allow_undefined_flag
="-z nodefs"
9764 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"
9766 # Determine the default libpath from the value encoded in an
9768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9769 /* end confdefs.h. */
9779 if ac_fn_c_try_link
"$LINENO"; then :
9781 lt_aix_libpath_sed
='
9782 /Import File Strings/,/^$/ {
9788 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9789 # Check for a 64-bit object if we didn't find anything.
9790 if test -z "$aix_libpath"; then
9791 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9794 rm -f core conftest.err conftest.
$ac_objext \
9795 conftest
$ac_exeext conftest.
$ac_ext
9796 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9798 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9799 # Warning - without using the other run time loading flags,
9800 # -berok will link without error, but may produce a broken library.
9801 no_undefined_flag
=' ${wl}-bernotok'
9802 allow_undefined_flag
=' ${wl}-berok'
9803 if test "$with_gnu_ld" = yes; then
9804 # We only use this code for GNU lds that support --whole-archive.
9805 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9807 # Exported symbols can be pulled into shared objects from archives
9808 whole_archive_flag_spec
='$convenience'
9810 archive_cmds_need_lc
=yes
9811 # This is similar to how AIX traditionally builds its shared libraries.
9812 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'
9820 # see comment about AmigaOS4 .so support
9821 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9822 archive_expsym_cmds
=''
9825 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)'
9826 hardcode_libdir_flag_spec
='-L$libdir'
9827 hardcode_minus_L
=yes
9833 export_dynamic_flag_spec
=-rdynamic
9836 cygwin
* | mingw
* | pw32
* | cegcc
*)
9837 # When not using gcc, we currently assume that we are using
9838 # Microsoft Visual C++.
9839 # hardcode_libdir_flag_spec is actually meaningless, as there is
9840 # no search path for DLLs.
9841 hardcode_libdir_flag_spec
=' '
9842 allow_undefined_flag
=unsupported
9843 # Tell ltmain to make .lib files, not .a files.
9845 # Tell ltmain to make .dll files, not .so files.
9847 # FIXME: Setting linknames here is a bad hack.
9848 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9849 # The linker will automatically build a .lib file if we build a DLL.
9850 old_archive_from_new_cmds
='true'
9851 # FIXME: Should let the user specify the lib program.
9852 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9853 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9854 enable_shared_with_static_runtimes
=yes
9857 darwin
* | rhapsody
*)
9860 archive_cmds_need_lc
=no
9862 hardcode_automatic
=yes
9863 hardcode_shlibpath_var
=unsupported
9864 if test "$lt_cv_ld_force_load" = "yes"; then
9865 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\"`'
9867 whole_archive_flag_spec
=''
9869 link_all_deplibs
=yes
9870 allow_undefined_flag
="$_lt_dar_allow_undefined"
9871 case $cc_basename in
9872 ifort
*) _lt_dar_can_shared
=yes ;;
9873 *) _lt_dar_can_shared
=$GCC ;;
9875 if test "$_lt_dar_can_shared" = "yes"; then
9876 output_verbose_link_cmd
=func_echo_all
9877 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9878 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9879 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}"
9880 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}"
9889 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9890 hardcode_libdir_flag_spec
='-L$libdir'
9891 hardcode_shlibpath_var
=no
9894 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9895 # support. Future versions do this automatically, but an explicit c++rt0.o
9896 # does not break anything, and helps significantly (at the cost of a little
9899 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9900 hardcode_libdir_flag_spec
='-R$libdir'
9902 hardcode_shlibpath_var
=no
9905 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9907 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9909 hardcode_minus_L
=yes
9910 hardcode_shlibpath_var
=no
9913 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9914 freebsd
* | dragonfly
*)
9915 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9916 hardcode_libdir_flag_spec
='-R$libdir'
9918 hardcode_shlibpath_var
=no
9922 if test "$GCC" = yes; then
9923 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'
9925 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'
9927 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9928 hardcode_libdir_separator
=:
9931 # hardcode_minus_L: Not really in the search PATH,
9932 # but as the default location of the library.
9933 hardcode_minus_L
=yes
9934 export_dynamic_flag_spec
='${wl}-E'
9938 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9939 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9941 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9943 if test "$with_gnu_ld" = no
; then
9944 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9945 hardcode_libdir_flag_spec_ld
='+b $libdir'
9946 hardcode_libdir_separator
=:
9948 hardcode_direct_absolute
=yes
9949 export_dynamic_flag_spec
='${wl}-E'
9950 # hardcode_minus_L: Not really in the search PATH,
9951 # but as the default location of the library.
9952 hardcode_minus_L
=yes
9957 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9960 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9963 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9966 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9972 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9975 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9979 # Older versions of the 11.00 compiler do not understand -b yet
9980 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9982 $as_echo_n "checking if $CC understands -b... " >&6; }
9983 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9984 $as_echo_n "(cached) " >&6
9986 lt_cv_prog_compiler__b
=no
9987 save_LDFLAGS
="$LDFLAGS"
9988 LDFLAGS
="$LDFLAGS -b"
9989 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9990 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9991 # The linker can only warn and ignore the option if not recognized
9992 # So say no if there are warnings
9993 if test -s conftest.err
; then
9994 # Append any errors to the config.log.
9995 cat conftest.err
1>&5
9996 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9997 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9998 if diff conftest.exp conftest.er2
>/dev
/null
; then
9999 lt_cv_prog_compiler__b
=yes
10002 lt_cv_prog_compiler__b
=yes
10006 LDFLAGS
="$save_LDFLAGS"
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10010 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10012 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10013 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10015 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10021 if test "$with_gnu_ld" = no
; then
10022 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10023 hardcode_libdir_separator
=:
10028 hardcode_shlibpath_var
=no
10031 hardcode_direct
=yes
10032 hardcode_direct_absolute
=yes
10033 export_dynamic_flag_spec
='${wl}-E'
10035 # hardcode_minus_L: Not really in the search PATH,
10036 # but as the default location of the library.
10037 hardcode_minus_L
=yes
10043 irix5
* | irix6
* | nonstopux
*)
10044 if test "$GCC" = yes; then
10045 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'
10046 # Try to use the -exported_symbol ld option, if it does not
10047 # work, assume that -exports_file does not work either and
10048 # implicitly export all symbols.
10049 save_LDFLAGS
="$LDFLAGS"
10050 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10052 /* end confdefs.h. */
10055 if ac_fn_c_try_link
"$LINENO"; then :
10056 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'
10059 rm -f core conftest.err conftest.
$ac_objext \
10060 conftest
$ac_exeext conftest.
$ac_ext
10061 LDFLAGS
="$save_LDFLAGS"
10063 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'
10064 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'
10066 archive_cmds_need_lc
='no'
10067 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10068 hardcode_libdir_separator
=:
10070 link_all_deplibs
=yes
10074 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10075 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10077 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10079 hardcode_libdir_flag_spec
='-R$libdir'
10080 hardcode_direct
=yes
10081 hardcode_shlibpath_var
=no
10085 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10086 hardcode_direct
=yes
10087 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10088 hardcode_libdir_separator
=:
10089 hardcode_shlibpath_var
=no
10096 if test -f /usr
/libexec
/ld.so
; then
10097 hardcode_direct
=yes
10098 hardcode_shlibpath_var
=no
10099 hardcode_direct_absolute
=yes
10100 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10101 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10102 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10103 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10104 export_dynamic_flag_spec
='${wl}-E'
10107 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10108 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10109 hardcode_libdir_flag_spec
='-R$libdir'
10112 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10113 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10123 hardcode_libdir_flag_spec
='-L$libdir'
10124 hardcode_minus_L
=yes
10125 allow_undefined_flag
=unsupported
10126 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'
10127 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10131 if test "$GCC" = yes; then
10132 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10133 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'
10135 allow_undefined_flag
=' -expect_unresolved \*'
10136 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'
10138 archive_cmds_need_lc
='no'
10139 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10140 hardcode_libdir_separator
=:
10143 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10144 if test "$GCC" = yes; then
10145 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10146 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'
10147 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10149 allow_undefined_flag
=' -expect_unresolved \*'
10150 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'
10151 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~
10152 $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'
10154 # Both c and cxx compiler support -rpath directly
10155 hardcode_libdir_flag_spec
='-rpath $libdir'
10157 archive_cmds_need_lc
='no'
10158 hardcode_libdir_separator
=:
10162 no_undefined_flag
=' -z defs'
10163 if test "$GCC" = yes; then
10165 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10166 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10167 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10169 case `$CC -V 2>&1` in
10172 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10173 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10174 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10178 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10179 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10180 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10184 hardcode_libdir_flag_spec
='-R$libdir'
10185 hardcode_shlibpath_var
=no
10187 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10189 # The compiler driver will combine and reorder linker options,
10190 # but understands `-z linker_flag'. GCC discards it without `$wl',
10191 # but is careful enough not to reorder.
10192 # Supported since Solaris 2.6 (maybe 2.5.1?)
10193 if test "$GCC" = yes; then
10194 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10196 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10200 link_all_deplibs
=yes
10204 if test "x$host_vendor" = xsequent
; then
10205 # Use $CC to link under sequent, because it throws in some extra .o
10206 # files that make .init and .fini sections work.
10207 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10209 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10211 hardcode_libdir_flag_spec
='-L$libdir'
10212 hardcode_direct
=yes
10213 hardcode_minus_L
=yes
10214 hardcode_shlibpath_var
=no
10218 case $host_vendor in
10220 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10221 hardcode_direct
=yes # is this really true???
10224 ## LD is ld it makes a PLAMLIB
10225 ## CC just makes a GrossModule.
10226 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10227 reload_cmds
='$CC -r -o $output$reload_objs'
10231 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10232 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10235 runpath_var
='LD_RUN_PATH'
10236 hardcode_shlibpath_var
=no
10240 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10241 hardcode_shlibpath_var
=no
10242 export_dynamic_flag_spec
='-Bexport'
10246 if test -d /usr
/nec
; then
10247 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10248 hardcode_shlibpath_var
=no
10249 runpath_var
=LD_RUN_PATH
10250 hardcode_runpath_var
=yes
10255 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10256 no_undefined_flag
='${wl}-z,text'
10257 archive_cmds_need_lc
=no
10258 hardcode_shlibpath_var
=no
10259 runpath_var
='LD_RUN_PATH'
10261 if test "$GCC" = yes; then
10262 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10263 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10265 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10266 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10270 sysv5
* | sco3.2v5
* | sco5v6
*)
10271 # Note: We can NOT use -z defs as we might desire, because we do not
10272 # link with -lc, and that would cause any symbols used from libc to
10273 # always be unresolved, which means just about no library would
10274 # ever link correctly. If we're not using GNU ld we use -z text
10275 # though, which does catch some bad symbols but isn't as heavy-handed
10277 no_undefined_flag
='${wl}-z,text'
10278 allow_undefined_flag
='${wl}-z,nodefs'
10279 archive_cmds_need_lc
=no
10280 hardcode_shlibpath_var
=no
10281 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10282 hardcode_libdir_separator
=':'
10283 link_all_deplibs
=yes
10284 export_dynamic_flag_spec
='${wl}-Bexport'
10285 runpath_var
='LD_RUN_PATH'
10287 if test "$GCC" = yes; then
10288 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10289 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10291 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10292 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10297 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10298 hardcode_libdir_flag_spec
='-L$libdir'
10299 hardcode_shlibpath_var
=no
10307 if test x
$host_vendor = xsni
; then
10309 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10310 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10317 $as_echo "$ld_shlibs" >&6; }
10318 test "$ld_shlibs" = no
&& can_build_shared
=no
10320 with_gnu_ld
=$with_gnu_ld
10337 # Do we need to explicitly link libc?
10339 case "x$archive_cmds_need_lc" in
10341 # Assume -lc should be added
10342 archive_cmds_need_lc
=yes
10344 if test "$enable_shared" = yes && test "$GCC" = yes; then
10345 case $archive_cmds in
10347 # FIXME: we may have to deal with multi-command sequences.
10350 # Test whether the compiler implicitly links with -lc since on some
10351 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10352 # to ld, don't add -lc before -lgcc.
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10354 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10355 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10356 $as_echo_n "(cached) " >&6
10359 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10361 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10362 (eval $ac_compile) 2>&5
10364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10365 test $ac_status = 0; } 2>conftest.err
; then
10368 libobjs
=conftest.
$ac_objext
10370 wl
=$lt_prog_compiler_wl
10371 pic_flag
=$lt_prog_compiler_pic
10377 lt_save_allow_undefined_flag
=$allow_undefined_flag
10378 allow_undefined_flag
=
10379 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10380 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10383 test $ac_status = 0; }
10385 lt_cv_archive_cmds_need_lc
=no
10387 lt_cv_archive_cmds_need_lc
=yes
10389 allow_undefined_flag
=$lt_save_allow_undefined_flag
10391 cat conftest.err
1>&5
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10397 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10398 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10562 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10564 if test "$GCC" = yes; then
10566 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10567 *) lt_awk_arg
="/^libraries:/" ;;
10570 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10571 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10573 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10574 case $lt_search_path_spec in
10576 # if the path contains ";" then we assume it to be the separator
10577 # otherwise default to the standard path separator (i.e. ":") - it is
10578 # assumed that no part of a normal pathname contains ";" but that should
10579 # okay in the real world where ";" in dirpaths is itself problematic.
10580 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10583 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10586 # Ok, now we have the path, separated by spaces, we can step through it
10587 # and add multilib dir if necessary.
10588 lt_tmp_lt_search_path_spec
=
10589 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10590 for lt_sys_path
in $lt_search_path_spec; do
10591 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10592 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10594 test -d "$lt_sys_path" && \
10595 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10598 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10599 BEGIN {RS=" "; FS="/|\n";} {
10602 for (lt_i = NF; lt_i > 0; lt_i--) {
10603 if ($lt_i != "" && $lt_i != ".") {
10604 if ($lt_i == "..") {
10607 if (lt_count == 0) {
10608 lt_foo="/" $lt_i lt_foo;
10615 if (lt_foo != "") { lt_freq[lt_foo]++; }
10616 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10618 # AWK program above erroneously prepends '/' to C:/dos/paths
10621 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10622 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10624 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10626 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10628 library_names_spec
=
10629 libname_spec
='lib$name'
10633 postuninstall_cmds
=
10637 shlibpath_overrides_runpath
=unknown
10639 dynamic_linker
="$host_os ld.so"
10640 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10641 need_lib_prefix
=unknown
10642 hardcode_into_libs
=no
10644 # when you set need_version to no, make sure it does not cause -set_version
10645 # flags to be left without arguments
10646 need_version
=unknown
10651 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10652 shlibpath_var
=LIBPATH
10654 # AIX 3 has no versioning support, so we append a major version to the name.
10655 soname_spec
='${libname}${release}${shared_ext}$major'
10662 hardcode_into_libs
=yes
10663 if test "$host_cpu" = ia64
; then
10664 # AIX 5 supports IA64
10665 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10666 shlibpath_var
=LD_LIBRARY_PATH
10668 # With GCC up to 2.95.x, collect2 would create an import file
10669 # for dependence libraries. The import file would start with
10670 # the line `#! .'. This would cause the generated library to
10671 # depend on `.', always an invalid library. This was fixed in
10672 # development snapshots of GCC prior to 3.0.
10674 aix4 | aix4.
[01] | aix4.
[01].
*)
10675 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10677 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10680 can_build_shared
=no
10684 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10685 # soname into executable. Probably we can add versioning support to
10686 # collect2, so additional links can be useful in future.
10687 if test "$aix_use_runtimelinking" = yes; then
10688 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10689 # instead of lib<name>.a to let people know that these are not
10690 # typical AIX shared libraries.
10691 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10693 # We preserve .a as extension for shared libraries through AIX4.2
10694 # and later when we are not doing run time linking.
10695 library_names_spec
='${libname}${release}.a $libname.a'
10696 soname_spec
='${libname}${release}${shared_ext}$major'
10698 shlibpath_var
=LIBPATH
10705 # Since July 2007 AmigaOS4 officially supports .so libraries.
10706 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10707 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10710 library_names_spec
='$libname.ixlibrary $libname.a'
10711 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10712 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'
10718 library_names_spec
='${libname}${shared_ext}'
10719 dynamic_linker
="$host_os ld.so"
10720 shlibpath_var
=LIBRARY_PATH
10726 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10727 soname_spec
='${libname}${release}${shared_ext}$major'
10728 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10729 shlibpath_var
=LD_LIBRARY_PATH
10730 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10731 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10732 # the default ld.so.conf also contains /usr/contrib/lib and
10733 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10734 # libtool to hard-code these into programs
10737 cygwin
* | mingw
* | pw32
* | cegcc
*)
10738 version_type
=windows
10743 case $GCC,$host_os in
10744 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10745 library_names_spec
='$libname.dll.a'
10746 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10747 postinstall_cmds
='base_file=`basename \${file}`~
10748 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10749 dldir=$destdir/`dirname \$dlpath`~
10750 test -d \$dldir || mkdir -p \$dldir~
10751 $install_prog $dir/$dlname \$dldir/$dlname~
10752 chmod a+x \$dldir/$dlname~
10753 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10754 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10756 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10757 dlpath=$dir/\$dldll~
10759 shlibpath_overrides_runpath
=yes
10763 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10764 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10766 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10769 # MinGW DLLs use traditional 'lib' prefix
10770 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10773 # pw32 DLLs use 'pw' prefix rather than 'lib'
10774 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10780 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10783 dynamic_linker
='Win32 ld.exe'
10784 # FIXME: first we should search . and the directory the executable is in
10788 darwin
* | rhapsody
*)
10789 dynamic_linker
="$host_os dyld"
10790 version_type
=darwin
10793 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10794 soname_spec
='${libname}${release}${major}$shared_ext'
10795 shlibpath_overrides_runpath
=yes
10796 shlibpath_var
=DYLD_LIBRARY_PATH
10797 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10799 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10800 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10807 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10808 soname_spec
='${libname}${release}${shared_ext}$major'
10809 shlibpath_var
=LD_LIBRARY_PATH
10812 freebsd
* | dragonfly
*)
10813 # DragonFly does not have aout. When/if they implement a new
10814 # versioning mechanism, adjust this.
10815 if test -x /usr
/bin
/objformat
; then
10816 objformat
=`/usr/bin/objformat`
10819 freebsd
[23].
*) objformat
=aout
;;
10820 *) objformat
=elf
;;
10823 version_type
=freebsd-
$objformat
10824 case $version_type in
10826 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10831 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10835 shlibpath_var
=LD_LIBRARY_PATH
10838 shlibpath_overrides_runpath
=yes
10840 freebsd3.
[01]* | freebsdelf3.
[01]*)
10841 shlibpath_overrides_runpath
=yes
10842 hardcode_into_libs
=yes
10844 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10845 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10846 shlibpath_overrides_runpath
=no
10847 hardcode_into_libs
=yes
10849 *) # from 4.6 on, and DragonFly
10850 shlibpath_overrides_runpath
=yes
10851 hardcode_into_libs
=yes
10860 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10861 soname_spec
='${libname}${release}${shared_ext}$major'
10862 shlibpath_var
=LD_LIBRARY_PATH
10863 hardcode_into_libs
=yes
10870 dynamic_linker
="$host_os runtime_loader"
10871 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10872 soname_spec
='${libname}${release}${shared_ext}$major'
10873 shlibpath_var
=LIBRARY_PATH
10874 shlibpath_overrides_runpath
=yes
10875 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10876 hardcode_into_libs
=yes
10879 hpux9
* | hpux10
* | hpux11
*)
10880 # Give a soname corresponding to the major version so that dld.sl refuses to
10881 # link against other versions.
10888 hardcode_into_libs
=yes
10889 dynamic_linker
="$host_os dld.so"
10890 shlibpath_var
=LD_LIBRARY_PATH
10891 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10892 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10893 soname_spec
='${libname}${release}${shared_ext}$major'
10894 if test "X$HPUX_IA64_MODE" = X32
; then
10895 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10897 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10899 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10903 hardcode_into_libs
=yes
10904 dynamic_linker
="$host_os dld.sl"
10905 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10906 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10907 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10908 soname_spec
='${libname}${release}${shared_ext}$major'
10909 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10910 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10914 dynamic_linker
="$host_os dld.sl"
10915 shlibpath_var
=SHLIB_PATH
10916 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10917 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10918 soname_spec
='${libname}${release}${shared_ext}$major'
10921 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10922 postinstall_cmds
='chmod 555 $lib'
10923 # or fails outright, so override atomically:
10924 install_override_mode
=555
10931 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10932 soname_spec
='${libname}${release}${shared_ext}$major'
10933 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10934 shlibpath_var
=LD_LIBRARY_PATH
10935 shlibpath_overrides_runpath
=no
10936 hardcode_into_libs
=yes
10939 irix5
* | irix6
* | nonstopux
*)
10941 nonstopux
*) version_type
=nonstopux
;;
10943 if test "$lt_cv_prog_gnu_ld" = yes; then
10951 soname_spec
='${libname}${release}${shared_ext}$major'
10952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10954 irix5
* | nonstopux
*)
10955 libsuff
= shlibsuff
=
10958 case $LD in # libtool.m4 will add one of these switches to LD
10959 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10960 libsuff
= shlibsuff
= libmagic
=32-bit;;
10961 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10962 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10963 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10964 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10965 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10969 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10970 shlibpath_overrides_runpath
=no
10971 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10972 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10973 hardcode_into_libs
=yes
10976 # No shared lib support for Linux oldld, aout, or coff.
10977 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10981 # This must be Linux ELF.
10982 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10986 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10987 soname_spec
='${libname}${release}${shared_ext}$major'
10988 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10989 shlibpath_var
=LD_LIBRARY_PATH
10990 shlibpath_overrides_runpath
=no
10992 # Some binutils ld are patched to set DT_RUNPATH
10993 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10994 $as_echo_n "(cached) " >&6
10996 lt_cv_shlibpath_overrides_runpath
=no
10997 save_LDFLAGS
=$LDFLAGS
10998 save_libdir
=$libdir
10999 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11000 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11002 /* end confdefs.h. */
11012 if ac_fn_c_try_link
"$LINENO"; then :
11013 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11014 lt_cv_shlibpath_overrides_runpath
=yes
11017 rm -f core conftest.err conftest.
$ac_objext \
11018 conftest
$ac_exeext conftest.
$ac_ext
11019 LDFLAGS
=$save_LDFLAGS
11020 libdir
=$save_libdir
11024 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11026 # This implies no fast_install, which is unacceptable.
11027 # Some rework will be needed to allow for fast_install
11028 # before this can be enabled.
11029 hardcode_into_libs
=yes
11031 # Append ld.so.conf contents to the search path
11032 if test -f /etc
/ld.so.conf
; then
11033 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' ' '`
11034 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11037 # We used to test for /lib/ld.so.1 and disable shared libraries on
11038 # powerpc, because MkLinux only supported shared libraries with the
11039 # GNU dynamic linker. Since this was broken with cross compilers,
11040 # most powerpc-linux boxes support dynamic linking these days and
11041 # people can always --disable-shared, the test was removed, and we
11042 # assume the GNU/Linux dynamic linker is in use.
11043 dynamic_linker
='GNU/Linux ld.so'
11050 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11051 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11052 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11053 dynamic_linker
='NetBSD (a.out) ld.so'
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 dynamic_linker
='NetBSD ld.elf_so'
11059 shlibpath_var
=LD_LIBRARY_PATH
11060 shlibpath_overrides_runpath
=yes
11061 hardcode_into_libs
=yes
11066 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11067 shlibpath_var
=LD_LIBRARY_PATH
11068 shlibpath_overrides_runpath
=yes
11075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11076 soname_spec
='${libname}${release}${shared_ext}$major'
11077 shlibpath_var
=LD_LIBRARY_PATH
11078 shlibpath_overrides_runpath
=no
11079 hardcode_into_libs
=yes
11080 dynamic_linker
='ldqnx.so'
11085 sys_lib_dlsearch_path_spec
="/usr/lib"
11087 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11089 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11090 *) need_version
=no
;;
11092 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11093 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11094 shlibpath_var
=LD_LIBRARY_PATH
11095 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11097 openbsd2.
[89] | openbsd2.
[89].
*)
11098 shlibpath_overrides_runpath
=no
11101 shlibpath_overrides_runpath
=yes
11105 shlibpath_overrides_runpath
=yes
11110 libname_spec
='$name'
11113 library_names_spec
='$libname${shared_ext} $libname.a'
11114 dynamic_linker
='OS/2 ld.exe'
11115 shlibpath_var
=LIBPATH
11118 osf3
* | osf4
* | osf5
*)
11122 soname_spec
='${libname}${release}${shared_ext}$major'
11123 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11124 shlibpath_var
=LD_LIBRARY_PATH
11125 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11126 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11137 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11138 soname_spec
='${libname}${release}${shared_ext}$major'
11139 shlibpath_var
=LD_LIBRARY_PATH
11140 shlibpath_overrides_runpath
=yes
11141 hardcode_into_libs
=yes
11142 # ldd complains unless libraries are executable
11143 postinstall_cmds
='chmod +x $lib'
11148 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11149 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11150 shlibpath_var
=LD_LIBRARY_PATH
11151 shlibpath_overrides_runpath
=yes
11152 if test "$with_gnu_ld" = yes; then
11160 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11161 soname_spec
='${libname}${release}${shared_ext}$major'
11162 shlibpath_var
=LD_LIBRARY_PATH
11163 case $host_vendor in
11165 shlibpath_overrides_runpath
=no
11167 runpath_var
=LD_RUN_PATH
11175 shlibpath_overrides_runpath
=no
11176 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11182 if test -d /usr
/nec
;then
11184 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11185 soname_spec
='$libname${shared_ext}.$major'
11186 shlibpath_var
=LD_LIBRARY_PATH
11190 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11191 version_type
=freebsd-elf
11194 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11195 soname_spec
='${libname}${release}${shared_ext}$major'
11196 shlibpath_var
=LD_LIBRARY_PATH
11197 shlibpath_overrides_runpath
=yes
11198 hardcode_into_libs
=yes
11199 if test "$with_gnu_ld" = yes; then
11200 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11202 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11205 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11209 sys_lib_dlsearch_path_spec
='/usr/lib'
11213 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11217 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11218 shlibpath_var
=LD_LIBRARY_PATH
11219 shlibpath_overrides_runpath
=no
11220 hardcode_into_libs
=yes
11225 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11226 soname_spec
='${libname}${release}${shared_ext}$major'
11227 shlibpath_var
=LD_LIBRARY_PATH
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11235 $as_echo "$dynamic_linker" >&6; }
11236 test "$dynamic_linker" = no
&& can_build_shared
=no
11238 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11239 if test "$GCC" = yes; then
11240 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11243 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11244 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11246 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11247 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11342 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11344 if test -n "$hardcode_libdir_flag_spec" ||
11345 test -n "$runpath_var" ||
11346 test "X$hardcode_automatic" = "Xyes" ; then
11348 # We can hardcode non-existent directories.
11349 if test "$hardcode_direct" != no
&&
11350 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11351 # have to relink, otherwise we might link with an installed library
11352 # when we should be linking with a yet-to-be-installed one
11353 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11354 test "$hardcode_minus_L" != no
; then
11355 # Linking always hardcodes the temporary library directory.
11356 hardcode_action
=relink
11358 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11359 hardcode_action
=immediate
11362 # We cannot hardcode anything, or else we can only hardcode existing
11364 hardcode_action
=unsupported
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11367 $as_echo "$hardcode_action" >&6; }
11369 if test "$hardcode_action" = relink ||
11370 test "$inherit_rpath" = yes; then
11371 # Fast installation is not supported
11372 enable_fast_install
=no
11373 elif test "$shlibpath_overrides_runpath" = yes ||
11374 test "$enable_shared" = no
; then
11375 # Fast installation is not necessary
11376 enable_fast_install
=needless
11384 if test "x$enable_dlopen" != xyes
; then
11385 enable_dlopen
=unknown
11386 enable_dlopen_self
=unknown
11387 enable_dlopen_self_static
=unknown
11394 lt_cv_dlopen
="load_add_on"
11396 lt_cv_dlopen_self
=yes
11399 mingw
* | pw32
* | cegcc
*)
11400 lt_cv_dlopen
="LoadLibrary"
11405 lt_cv_dlopen
="dlopen"
11410 # if libdl is installed we need to link against it
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11412 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11413 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11414 $as_echo_n "(cached) " >&6
11416 ac_check_lib_save_LIBS
=$LIBS
11418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11419 /* end confdefs.h. */
11421 /* Override any GCC internal prototype to avoid an error.
11422 Use char because int might match the return type of a GCC
11423 builtin and then its argument prototype would still apply. */
11436 if ac_fn_c_try_link
"$LINENO"; then :
11437 ac_cv_lib_dl_dlopen
=yes
11439 ac_cv_lib_dl_dlopen
=no
11441 rm -f core conftest.err conftest.
$ac_objext \
11442 conftest
$ac_exeext conftest.
$ac_ext
11443 LIBS
=$ac_check_lib_save_LIBS
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11446 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11447 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11448 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11451 lt_cv_dlopen
="dyld"
11453 lt_cv_dlopen_self
=yes
11460 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11461 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11462 lt_cv_dlopen
="shl_load"
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11465 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11466 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11467 $as_echo_n "(cached) " >&6
11469 ac_check_lib_save_LIBS
=$LIBS
11471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11472 /* end confdefs.h. */
11474 /* Override any GCC internal prototype to avoid an error.
11475 Use char because int might match the return type of a GCC
11476 builtin and then its argument prototype would still apply. */
11484 return shl_load ();
11489 if ac_fn_c_try_link
"$LINENO"; then :
11490 ac_cv_lib_dld_shl_load
=yes
11492 ac_cv_lib_dld_shl_load
=no
11494 rm -f core conftest.err conftest.
$ac_objext \
11495 conftest
$ac_exeext conftest.
$ac_ext
11496 LIBS
=$ac_check_lib_save_LIBS
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11499 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11500 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11501 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11503 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11504 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11505 lt_cv_dlopen
="dlopen"
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11508 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11509 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11510 $as_echo_n "(cached) " >&6
11512 ac_check_lib_save_LIBS
=$LIBS
11514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11515 /* end confdefs.h. */
11517 /* Override any GCC internal prototype to avoid an error.
11518 Use char because int might match the return type of a GCC
11519 builtin and then its argument prototype would still apply. */
11532 if ac_fn_c_try_link
"$LINENO"; then :
11533 ac_cv_lib_dl_dlopen
=yes
11535 ac_cv_lib_dl_dlopen
=no
11537 rm -f core conftest.err conftest.
$ac_objext \
11538 conftest
$ac_exeext conftest.
$ac_ext
11539 LIBS
=$ac_check_lib_save_LIBS
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11542 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11543 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11544 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11547 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11548 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11549 $as_echo_n "(cached) " >&6
11551 ac_check_lib_save_LIBS
=$LIBS
11552 LIBS
="-lsvld $LIBS"
11553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11554 /* end confdefs.h. */
11556 /* Override any GCC internal prototype to avoid an error.
11557 Use char because int might match the return type of a GCC
11558 builtin and then its argument prototype would still apply. */
11571 if ac_fn_c_try_link
"$LINENO"; then :
11572 ac_cv_lib_svld_dlopen
=yes
11574 ac_cv_lib_svld_dlopen
=no
11576 rm -f core conftest.err conftest.
$ac_objext \
11577 conftest
$ac_exeext conftest.
$ac_ext
11578 LIBS
=$ac_check_lib_save_LIBS
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11581 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11582 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11583 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11586 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11587 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11588 $as_echo_n "(cached) " >&6
11590 ac_check_lib_save_LIBS
=$LIBS
11592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11593 /* end confdefs.h. */
11595 /* Override any GCC internal prototype to avoid an error.
11596 Use char because int might match the return type of a GCC
11597 builtin and then its argument prototype would still apply. */
11605 return dld_link ();
11610 if ac_fn_c_try_link
"$LINENO"; then :
11611 ac_cv_lib_dld_dld_link
=yes
11613 ac_cv_lib_dld_dld_link
=no
11615 rm -f core conftest.err conftest.
$ac_objext \
11616 conftest
$ac_exeext conftest.
$ac_ext
11617 LIBS
=$ac_check_lib_save_LIBS
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11620 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11621 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11622 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11643 if test "x$lt_cv_dlopen" != xno
; then
11649 case $lt_cv_dlopen in
11651 save_CPPFLAGS
="$CPPFLAGS"
11652 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11654 save_LDFLAGS
="$LDFLAGS"
11655 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11658 LIBS
="$lt_cv_dlopen_libs $LIBS"
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11661 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11662 if test "${lt_cv_dlopen_self+set}" = set; then :
11663 $as_echo_n "(cached) " >&6
11665 if test "$cross_compiling" = yes; then :
11666 lt_cv_dlopen_self
=cross
11668 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11669 lt_status
=$lt_dlunknown
11670 cat > conftest.
$ac_ext <<_LT_EOF
11671 #line 11671 "configure"
11672 #include "confdefs.h"
11681 # define LT_DLGLOBAL RTLD_GLOBAL
11684 # define LT_DLGLOBAL DL_GLOBAL
11686 # define LT_DLGLOBAL 0
11690 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11691 find out it does not work in some platform. */
11692 #ifndef LT_DLLAZY_OR_NOW
11694 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11697 # define LT_DLLAZY_OR_NOW DL_LAZY
11700 # define LT_DLLAZY_OR_NOW RTLD_NOW
11703 # define LT_DLLAZY_OR_NOW DL_NOW
11705 # define LT_DLLAZY_OR_NOW 0
11712 /* When -fvisbility=hidden is used, assume the code has been annotated
11713 correspondingly for the symbols needed. */
11714 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11715 void fnord () __attribute__((visibility("default")));
11718 void fnord () { int i=42; }
11721 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11722 int status = $lt_dlunknown;
11726 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11729 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11730 else puts (dlerror ());
11732 /* dlclose (self); */
11740 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11741 (eval $ac_link) 2>&5
11743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11744 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11745 (.
/conftest
; exit; ) >&5 2>/dev
/null
11747 case x
$lt_status in
11748 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11749 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11750 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11753 # compilation failed
11754 lt_cv_dlopen_self
=no
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11762 $as_echo "$lt_cv_dlopen_self" >&6; }
11764 if test "x$lt_cv_dlopen_self" = xyes
; then
11765 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11767 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11768 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11769 $as_echo_n "(cached) " >&6
11771 if test "$cross_compiling" = yes; then :
11772 lt_cv_dlopen_self_static
=cross
11774 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11775 lt_status
=$lt_dlunknown
11776 cat > conftest.
$ac_ext <<_LT_EOF
11777 #line 11777 "configure"
11778 #include "confdefs.h"
11787 # define LT_DLGLOBAL RTLD_GLOBAL
11790 # define LT_DLGLOBAL DL_GLOBAL
11792 # define LT_DLGLOBAL 0
11796 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11797 find out it does not work in some platform. */
11798 #ifndef LT_DLLAZY_OR_NOW
11800 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11803 # define LT_DLLAZY_OR_NOW DL_LAZY
11806 # define LT_DLLAZY_OR_NOW RTLD_NOW
11809 # define LT_DLLAZY_OR_NOW DL_NOW
11811 # define LT_DLLAZY_OR_NOW 0
11818 /* When -fvisbility=hidden is used, assume the code has been annotated
11819 correspondingly for the symbols needed. */
11820 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11821 void fnord () __attribute__((visibility("default")));
11824 void fnord () { int i=42; }
11827 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11828 int status = $lt_dlunknown;
11832 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11835 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11836 else puts (dlerror ());
11838 /* dlclose (self); */
11846 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11847 (eval $ac_link) 2>&5
11849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11850 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11851 (.
/conftest
; exit; ) >&5 2>/dev
/null
11853 case x
$lt_status in
11854 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11855 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11856 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11859 # compilation failed
11860 lt_cv_dlopen_self_static
=no
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11868 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11871 CPPFLAGS
="$save_CPPFLAGS"
11872 LDFLAGS
="$save_LDFLAGS"
11877 case $lt_cv_dlopen_self in
11878 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11879 *) enable_dlopen_self
=unknown
;;
11882 case $lt_cv_dlopen_self_static in
11883 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11884 *) enable_dlopen_self_static
=unknown
;;
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11907 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11908 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11909 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11910 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11912 $as_echo "yes" >&6; }
11914 # FIXME - insert some real tests, host_os isn't really good enough
11917 if test -n "$STRIP" ; then
11918 striplib
="$STRIP -x"
11919 old_striplib
="$STRIP -S"
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11921 $as_echo "yes" >&6; }
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11924 $as_echo "no" >&6; }
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11929 $as_echo "no" >&6; }
11945 # Report which library types will actually be built
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11947 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11949 $as_echo "$can_build_shared" >&6; }
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11952 $as_echo_n "checking whether to build shared libraries... " >&6; }
11953 test "$can_build_shared" = "no" && enable_shared
=no
11955 # On AIX, shared libraries and static libraries use the same namespace, and
11956 # are all built from PIC.
11959 test "$enable_shared" = yes && enable_static
=no
11960 if test -n "$RANLIB"; then
11961 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11962 postinstall_cmds
='$RANLIB $lib'
11967 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11968 test "$enable_shared" = yes && enable_static
=no
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11973 $as_echo "$enable_shared" >&6; }
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11976 $as_echo_n "checking whether to build static libraries... " >&6; }
11977 # Make sure either enable_shared or enable_static is yes.
11978 test "$enable_shared" = yes || enable_static
=yes
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11980 $as_echo "$enable_static" >&6; }
11987 ac_cpp
='$CPP $CPPFLAGS'
11988 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11989 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11990 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11994 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11995 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11996 (test "X$CXX" != "Xg++"))) ; then
11998 ac_cpp
='$CXXCPP $CPPFLAGS'
11999 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12000 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12001 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12003 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12004 if test -z "$CXXCPP"; then
12005 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
12006 $as_echo_n "(cached) " >&6
12008 # Double quotes because CXXCPP needs to be expanded
12009 for CXXCPP
in "$CXX -E" "/lib/cpp"
12011 ac_preproc_ok
=false
12012 for ac_cxx_preproc_warn_flag
in '' yes
12014 # Use a header file that comes with gcc, so configuring glibc
12015 # with a fresh cross-compiler works.
12016 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12017 # <limits.h> exists even on freestanding compilers.
12018 # On the NeXT, cc -E runs the code through the compiler's parser,
12019 # not just through cpp. "Syntax error" is here to catch this case.
12020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12021 /* end confdefs.h. */
12023 # include <limits.h>
12025 # include <assert.h>
12029 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12032 # Broken: fails on valid input.
12035 rm -f conftest.err conftest.
$ac_ext
12037 # OK, works on sane cases. Now check whether nonexistent headers
12038 # can be detected and how.
12039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12040 /* end confdefs.h. */
12041 #include <ac_nonexistent.h>
12043 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12044 # Broken: success on invalid input.
12047 # Passes both tests.
12051 rm -f conftest.err conftest.
$ac_ext
12054 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12055 rm -f conftest.err conftest.
$ac_ext
12056 if $ac_preproc_ok; then :
12061 ac_cv_prog_CXXCPP
=$CXXCPP
12064 CXXCPP
=$ac_cv_prog_CXXCPP
12066 ac_cv_prog_CXXCPP
=$CXXCPP
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12069 $as_echo "$CXXCPP" >&6; }
12070 ac_preproc_ok
=false
12071 for ac_cxx_preproc_warn_flag
in '' yes
12073 # Use a header file that comes with gcc, so configuring glibc
12074 # with a fresh cross-compiler works.
12075 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12076 # <limits.h> exists even on freestanding compilers.
12077 # On the NeXT, cc -E runs the code through the compiler's parser,
12078 # not just through cpp. "Syntax error" is here to catch this case.
12079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12080 /* end confdefs.h. */
12082 # include <limits.h>
12084 # include <assert.h>
12088 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12091 # Broken: fails on valid input.
12094 rm -f conftest.err conftest.
$ac_ext
12096 # OK, works on sane cases. Now check whether nonexistent headers
12097 # can be detected and how.
12098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12099 /* end confdefs.h. */
12100 #include <ac_nonexistent.h>
12102 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12103 # Broken: success on invalid input.
12106 # Passes both tests.
12110 rm -f conftest.err conftest.
$ac_ext
12113 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12114 rm -f conftest.err conftest.
$ac_ext
12115 if $ac_preproc_ok; then :
12118 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12119 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12120 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
12121 See \`config.log' for more details." "$LINENO" 5; }
12125 ac_cpp
='$CPP $CPPFLAGS'
12126 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12127 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12128 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12131 _lt_caught_CXX_error
=yes
12135 ac_cpp
='$CXXCPP $CPPFLAGS'
12136 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12137 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12138 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12140 archive_cmds_need_lc_CXX
=no
12141 allow_undefined_flag_CXX
=
12142 always_export_symbols_CXX
=no
12143 archive_expsym_cmds_CXX
=
12144 compiler_needs_object_CXX
=no
12145 export_dynamic_flag_spec_CXX
=
12146 hardcode_direct_CXX
=no
12147 hardcode_direct_absolute_CXX
=no
12148 hardcode_libdir_flag_spec_CXX
=
12149 hardcode_libdir_flag_spec_ld_CXX
=
12150 hardcode_libdir_separator_CXX
=
12151 hardcode_minus_L_CXX
=no
12152 hardcode_shlibpath_var_CXX
=unsupported
12153 hardcode_automatic_CXX
=no
12154 inherit_rpath_CXX
=no
12156 module_expsym_cmds_CXX
=
12157 link_all_deplibs_CXX
=unknown
12158 old_archive_cmds_CXX
=$old_archive_cmds
12159 reload_flag_CXX
=$reload_flag
12160 reload_cmds_CXX
=$reload_cmds
12161 no_undefined_flag_CXX
=
12162 whole_archive_flag_spec_CXX
=
12163 enable_shared_with_static_runtimes_CXX
=no
12165 # Source file extension for C++ test sources.
12168 # Object file extension for compiled C++ test sources.
12172 # No sense in running all these tests if we already determined that
12173 # the CXX compiler isn't working. Some variables (like enable_shared)
12174 # are currently assumed to apply to all compilers on this platform,
12175 # and will be corrupted by setting them based on a non-working compiler.
12176 if test "$_lt_caught_CXX_error" != yes; then
12177 # Code to be used in simple compile tests
12178 lt_simple_compile_test_code
="int some_variable = 0;"
12180 # Code to be used in simple link tests
12181 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12183 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12190 # If no C compiler was specified, use CC.
12193 # If no C compiler flags were specified, use CFLAGS.
12194 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12196 # Allow CC to be a program name with arguments.
12200 # save warnings/boilerplate of simple test code
12201 ac_outfile
=conftest.
$ac_objext
12202 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12203 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12204 _lt_compiler_boilerplate
=`cat conftest.err`
12207 ac_outfile
=conftest.
$ac_objext
12208 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12209 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12210 _lt_linker_boilerplate
=`cat conftest.err`
12214 # Allow CC to be a program name with arguments.
12219 lt_save_with_gnu_ld
=$with_gnu_ld
12220 lt_save_path_LD
=$lt_cv_path_LD
12221 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12222 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12224 $as_unset lt_cv_prog_gnu_ld
12226 if test -n "${lt_cv_path_LDCXX+set}"; then
12227 lt_cv_path_LD
=$lt_cv_path_LDCXX
12229 $as_unset lt_cv_path_LD
12231 test -z "${LDCXX+set}" || LD
=$LDCXX
12235 for cc_temp
in $compiler""; do
12237 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12238 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12243 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12246 if test -n "$compiler"; then
12247 # We don't want -fno-exception when compiling C++ code, so set the
12248 # no_builtin_flag separately
12249 if test "$GXX" = yes; then
12250 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12252 lt_prog_compiler_no_builtin_flag_CXX
=
12255 if test "$GXX" = yes; then
12256 # Set up default GNU C++ configuration
12260 # Check whether --with-gnu-ld was given.
12261 if test "${with_gnu_ld+set}" = set; then :
12262 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12268 if test "$GCC" = yes; then
12269 # Check if gcc -print-prog-name=ld gives a path.
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12271 $as_echo_n "checking for ld used by $CC... " >&6; }
12274 # gcc leaves a trailing carriage return which upsets mingw
12275 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12277 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12280 # Accept absolute paths.
12282 re_direlt
='/[^/][^/]*/\.\./'
12283 # Canonicalize the pathname of ld
12284 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12285 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12286 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12288 test -z "$LD" && LD
="$ac_prog"
12291 # If it fails, then pretend we aren't using GCC.
12295 # If it is relative, then search for the first ld in PATH.
12296 with_gnu_ld
=unknown
12299 elif test "$with_gnu_ld" = yes; then
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12301 $as_echo_n "checking for GNU ld... " >&6; }
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12304 $as_echo_n "checking for non-GNU ld... " >&6; }
12306 if test "${lt_cv_path_LD+set}" = set; then :
12307 $as_echo_n "(cached) " >&6
12309 if test -z "$LD"; then
12310 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12311 for ac_dir
in $PATH; do
12313 test -z "$ac_dir" && ac_dir
=.
12314 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12315 lt_cv_path_LD
="$ac_dir/$ac_prog"
12316 # Check to see if the program is GNU ld. I'd rather use --version,
12317 # but apparently some variants of GNU ld only accept -v.
12318 # Break only if it was the GNU/non-GNU ld that we prefer.
12319 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12320 *GNU
* |
*'with BFD'*)
12321 test "$with_gnu_ld" != no
&& break
12324 test "$with_gnu_ld" != yes && break
12331 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12335 LD
="$lt_cv_path_LD"
12336 if test -n "$LD"; then
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12338 $as_echo "$LD" >&6; }
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12341 $as_echo "no" >&6; }
12343 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12345 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12346 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12347 $as_echo_n "(cached) " >&6
12349 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12350 case `$LD -v 2>&1 </dev/null` in
12351 *GNU
* |
*'with BFD'*)
12352 lt_cv_prog_gnu_ld
=yes
12355 lt_cv_prog_gnu_ld
=no
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12360 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12361 with_gnu_ld
=$lt_cv_prog_gnu_ld
12369 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12370 # archiving commands below assume that GNU ld is being used.
12371 if test "$with_gnu_ld" = yes; then
12372 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12373 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'
12375 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12376 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12378 # If archive_cmds runs LD, not CC, wlarc should be empty
12379 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12380 # investigate it a little bit more. (MM)
12383 # ancient GNU ld didn't support --whole-archive et. al.
12384 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12385 $GREP 'no-whole-archive' > /dev
/null
; then
12386 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12388 whole_archive_flag_spec_CXX
=
12394 # A generic and very simple default shared library creation
12395 # command for GNU C++ for the case where it uses the native
12396 # linker, instead of GNU ld. If possible, this setting should
12397 # overridden to take advantage of the native linker features on
12398 # the platform it is being used on.
12399 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12402 # Commands to make compiler produce verbose output that lists
12403 # what "hidden" libraries, object files and flags are used when
12404 # linking a shared library.
12405 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12413 # PORTME: fill in a description of your system's C++ link characteristics
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12415 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12419 # FIXME: insert proper C++ library support
12423 if test "$host_cpu" = ia64
; then
12424 # On IA64, the linker does run time linking by default, so we don't
12425 # have to do anything special.
12426 aix_use_runtimelinking
=no
12427 exp_sym_flag
='-Bexport'
12430 aix_use_runtimelinking
=no
12432 # Test if we are trying to use run time linking or normal
12433 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12434 # need to do runtime linking.
12435 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12436 for ld_flag
in $LDFLAGS; do
12439 aix_use_runtimelinking
=yes
12447 exp_sym_flag
='-bexport'
12448 no_entry_flag
='-bnoentry'
12451 # When large executables or shared objects are built, AIX ld can
12452 # have problems creating the table of contents. If linking a library
12453 # or program results in "error TOC overflow" add -mminimal-toc to
12454 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12455 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12457 archive_cmds_CXX
=''
12458 hardcode_direct_CXX
=yes
12459 hardcode_direct_absolute_CXX
=yes
12460 hardcode_libdir_separator_CXX
=':'
12461 link_all_deplibs_CXX
=yes
12462 file_list_spec_CXX
='${wl}-f,'
12464 if test "$GXX" = yes; then
12465 case $host_os in aix4.
[012]|aix4.
[012].
*)
12466 # We only want to do this on AIX 4.2 and lower, the check
12467 # below for broken collect2 doesn't work under 4.3+
12468 collect2name
=`${CC} -print-prog-name=collect2`
12469 if test -f "$collect2name" &&
12470 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12472 # We have reworked collect2
12475 # We have old collect2
12476 hardcode_direct_CXX
=unsupported
12477 # It fails to find uninstalled libraries when the uninstalled
12478 # path is not listed in the libpath. Setting hardcode_minus_L
12479 # to unsupported forces relinking
12480 hardcode_minus_L_CXX
=yes
12481 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12482 hardcode_libdir_separator_CXX
=
12485 shared_flag
='-shared'
12486 if test "$aix_use_runtimelinking" = yes; then
12487 shared_flag
="$shared_flag "'${wl}-G'
12491 if test "$host_cpu" = ia64
; then
12492 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12493 # chokes on -Wl,-G. The following line is correct:
12496 if test "$aix_use_runtimelinking" = yes; then
12497 shared_flag
='${wl}-G'
12499 shared_flag
='${wl}-bM:SRE'
12504 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12505 # It seems that -bexpall does not export symbols beginning with
12506 # underscore (_), so it is better to generate a list of symbols to
12508 always_export_symbols_CXX
=yes
12509 if test "$aix_use_runtimelinking" = yes; then
12510 # Warning - without using the other runtime loading flags (-brtl),
12511 # -berok will link without error, but may produce a broken library.
12512 allow_undefined_flag_CXX
='-berok'
12513 # Determine the default libpath from the value encoded in an empty
12515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12516 /* end confdefs.h. */
12526 if ac_fn_cxx_try_link
"$LINENO"; then :
12528 lt_aix_libpath_sed
='
12529 /Import File Strings/,/^$/ {
12535 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12536 # Check for a 64-bit object if we didn't find anything.
12537 if test -z "$aix_libpath"; then
12538 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12541 rm -f core conftest.err conftest.
$ac_objext \
12542 conftest
$ac_exeext conftest.
$ac_ext
12543 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12545 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12547 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"
12549 if test "$host_cpu" = ia64
; then
12550 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12551 allow_undefined_flag_CXX
="-z nodefs"
12552 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"
12554 # Determine the default libpath from the value encoded in an
12555 # empty executable.
12556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12557 /* end confdefs.h. */
12567 if ac_fn_cxx_try_link
"$LINENO"; then :
12569 lt_aix_libpath_sed
='
12570 /Import File Strings/,/^$/ {
12576 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12577 # Check for a 64-bit object if we didn't find anything.
12578 if test -z "$aix_libpath"; then
12579 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12582 rm -f core conftest.err conftest.
$ac_objext \
12583 conftest
$ac_exeext conftest.
$ac_ext
12584 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12586 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12587 # Warning - without using the other run time loading flags,
12588 # -berok will link without error, but may produce a broken library.
12589 no_undefined_flag_CXX
=' ${wl}-bernotok'
12590 allow_undefined_flag_CXX
=' ${wl}-berok'
12591 if test "$with_gnu_ld" = yes; then
12592 # We only use this code for GNU lds that support --whole-archive.
12593 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12595 # Exported symbols can be pulled into shared objects from archives
12596 whole_archive_flag_spec_CXX
='$convenience'
12598 archive_cmds_need_lc_CXX
=yes
12599 # This is similar to how AIX traditionally builds its shared
12601 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'
12607 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12608 allow_undefined_flag_CXX
=unsupported
12609 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12610 # support --undefined. This deserves some investigation. FIXME
12611 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12618 case $cc_basename in
12620 # FIXME: insert proper C++ library support
12626 cygwin
* | mingw
* | pw32
* | cegcc
*)
12627 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12628 # as there is no search path for DLLs.
12629 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12630 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12631 allow_undefined_flag_CXX
=unsupported
12632 always_export_symbols_CXX
=no
12633 enable_shared_with_static_runtimes_CXX
=yes
12635 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12636 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'
12637 # If the export-symbols file already is a .def file (1st line
12638 # is EXPORTS), use it as is; otherwise, prepend...
12639 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12640 cp $export_symbols $output_objdir/$soname.def;
12642 echo EXPORTS > $output_objdir/$soname.def;
12643 cat $export_symbols >> $output_objdir/$soname.def;
12645 $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'
12650 darwin
* | rhapsody
*)
12653 archive_cmds_need_lc_CXX
=no
12654 hardcode_direct_CXX
=no
12655 hardcode_automatic_CXX
=yes
12656 hardcode_shlibpath_var_CXX
=unsupported
12657 if test "$lt_cv_ld_force_load" = "yes"; then
12658 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\"`'
12660 whole_archive_flag_spec_CXX
=''
12662 link_all_deplibs_CXX
=yes
12663 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12664 case $cc_basename in
12665 ifort
*) _lt_dar_can_shared
=yes ;;
12666 *) _lt_dar_can_shared
=$GCC ;;
12668 if test "$_lt_dar_can_shared" = "yes"; then
12669 output_verbose_link_cmd
=func_echo_all
12670 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}"
12671 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12672 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}"
12673 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}"
12674 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12675 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}"
12676 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}"
12686 case $cc_basename in
12688 # FIXME: insert proper C++ library support
12692 # Green Hills C++ Compiler
12693 # FIXME: insert proper C++ library support
12697 # FIXME: insert proper C++ library support
12704 # C++ shared libraries reported to be fairly broken before
12710 archive_cmds_need_lc_CXX
=no
12713 freebsd
* | dragonfly
*)
12714 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12723 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12724 link_all_deplibs_CXX
=yes
12728 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12729 hardcode_libdir_separator_CXX
=:
12730 export_dynamic_flag_spec_CXX
='${wl}-E'
12731 hardcode_direct_CXX
=yes
12732 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12733 # but as the default
12734 # location of the library.
12736 case $cc_basename in
12738 # FIXME: insert proper C++ library support
12742 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'
12743 # Commands to make compiler produce verbose output that lists
12744 # what "hidden" libraries, object files and flags are used when
12745 # linking a shared library.
12747 # There doesn't appear to be a way to prevent this compiler from
12748 # explicitly linking system object files so we need to strip them
12749 # from the output so that they don't get included in the library
12751 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"'
12754 if test "$GXX" = yes; then
12755 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'
12757 # FIXME: insert proper C++ library support
12765 if test $with_gnu_ld = no
; then
12766 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12767 hardcode_libdir_separator_CXX
=:
12773 export_dynamic_flag_spec_CXX
='${wl}-E'
12779 hardcode_direct_CXX
=no
12780 hardcode_shlibpath_var_CXX
=no
12783 hardcode_direct_CXX
=yes
12784 hardcode_direct_absolute_CXX
=yes
12785 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12786 # but as the default
12787 # location of the library.
12791 case $cc_basename in
12793 # FIXME: insert proper C++ library support
12799 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12802 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12805 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12808 # Commands to make compiler produce verbose output that lists
12809 # what "hidden" libraries, object files and flags are used when
12810 # linking a shared library.
12812 # There doesn't appear to be a way to prevent this compiler from
12813 # explicitly linking system object files so we need to strip them
12814 # from the output so that they don't get included in the library
12816 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"'
12819 if test "$GXX" = yes; then
12820 if test $with_gnu_ld = no
; then
12823 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12826 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12829 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'
12834 # FIXME: insert proper C++ library support
12842 hardcode_direct_CXX
=no
12843 hardcode_shlibpath_var_CXX
=no
12844 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12845 export_dynamic_flag_spec_CXX
='${wl}-E'
12846 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12847 # Instead, shared libraries are loaded at an image base (0x10000000 by
12848 # default) and relocated if they conflict, which is a slow very memory
12849 # consuming and fragmenting process. To avoid this, we pick a random,
12850 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12851 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12852 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'
12853 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'
12856 case $cc_basename in
12859 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'
12861 # Archives containing C++ object files must be created using
12862 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12863 # necessary to make sure instantiated templates are included
12865 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12868 if test "$GXX" = yes; then
12869 if test "$with_gnu_ld" = no
; then
12870 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'
12872 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'
12875 link_all_deplibs_CXX
=yes
12878 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12879 hardcode_libdir_separator_CXX
=:
12880 inherit_rpath_CXX
=yes
12883 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12884 case $cc_basename in
12886 # Kuck and Associates, Inc. (KAI) C++ Compiler
12888 # KCC will only create a shared library if the output file
12889 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12890 # to its proper name (with version) after linking.
12891 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'
12892 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'
12893 # Commands to make compiler produce verbose output that lists
12894 # what "hidden" libraries, object files and flags are used when
12895 # linking a shared library.
12897 # There doesn't appear to be a way to prevent this compiler from
12898 # explicitly linking system object files so we need to strip them
12899 # from the output so that they don't get included in the library
12901 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"'
12903 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12904 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12906 # Archives containing C++ object files must be created using
12907 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12908 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12913 # version 8.0 and above of icpc choke on multiply defined symbols
12914 # if we add $predep_objects and $postdep_objects, however 7.1 and
12915 # earlier do not add the objects themselves.
12916 case `$CC -V 2>&1` in
12918 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12919 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'
12921 *) # Version 8.0 or newer
12924 ia64
*) tmp_idyn
=' -i_dynamic';;
12926 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12927 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'
12930 archive_cmds_need_lc_CXX
=no
12931 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12932 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12933 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12936 # Portland Group C++ compiler
12938 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12939 prelink_cmds_CXX
='tpldir=Template.dir~
12941 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12942 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12943 old_archive_cmds_CXX
='tpldir=Template.dir~
12945 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12946 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12948 archive_cmds_CXX
='tpldir=Template.dir~
12950 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12951 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12952 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12954 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12955 $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'
12957 *) # Version 6 and above use weak symbols
12958 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12959 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'
12963 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12964 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12965 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'
12969 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12970 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'
12972 runpath_var
=LD_RUN_PATH
12973 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12974 hardcode_libdir_separator_CXX
=:
12976 # Commands to make compiler produce verbose output that lists
12977 # what "hidden" libraries, object files and flags are used when
12978 # linking a shared library.
12980 # There doesn't appear to be a way to prevent this compiler from
12981 # explicitly linking system object files so we need to strip them
12982 # from the output so that they don't get included in the library
12984 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'
12986 xl
* | mpixl
* | bgxl
*)
12987 # IBM XL 8.0 on PPC, with GNU ld
12988 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12989 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12990 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12991 if test "x$supports_anon_versioning" = xyes
; then
12992 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12993 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12994 echo "local: *; };" >> $output_objdir/$libname.ver~
12995 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12999 case `$CC -V 2>&1 | sed 5q` in
13002 no_undefined_flag_CXX
=' -zdefs'
13003 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13004 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'
13005 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13006 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'
13007 compiler_needs_object_CXX
=yes
13009 # Not sure whether something based on
13010 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13012 output_verbose_link_cmd
='func_echo_all'
13014 # Archives containing C++ object files must be created using
13015 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13016 # necessary to make sure instantiated templates are included
13018 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13026 # FIXME: insert proper C++ library support
13031 # FIXME: insert proper C++ library support
13036 case $cc_basename in
13038 # FIXME: insert proper C++ library support
13042 # FIXME: insert proper C++ library support
13049 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13050 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13052 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13053 hardcode_direct_CXX
=yes
13054 hardcode_shlibpath_var_CXX
=no
13056 # Workaround some broken pre-1.5 toolchains
13057 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13065 # C++ shared libraries are fairly broken
13070 if test -f /usr
/libexec
/ld.so
; then
13071 hardcode_direct_CXX
=yes
13072 hardcode_shlibpath_var_CXX
=no
13073 hardcode_direct_absolute_CXX
=yes
13074 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13075 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13076 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13077 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13078 export_dynamic_flag_spec_CXX
='${wl}-E'
13079 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13081 output_verbose_link_cmd
=func_echo_all
13087 osf3
* | osf4
* | osf5
*)
13088 case $cc_basename in
13090 # Kuck and Associates, Inc. (KAI) C++ Compiler
13092 # KCC will only create a shared library if the output file
13093 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13094 # to its proper name (with version) after linking.
13095 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'
13097 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13098 hardcode_libdir_separator_CXX
=:
13100 # Archives containing C++ object files must be created using
13101 # the KAI C++ compiler.
13103 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13104 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13108 # Rational C++ 2.4.1
13109 # FIXME: insert proper C++ library support
13115 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13116 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'
13117 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13120 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13121 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'
13122 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13123 echo "-hidden">> $lib.exp~
13124 $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~
13126 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13130 hardcode_libdir_separator_CXX
=:
13132 # Commands to make compiler produce verbose output that lists
13133 # what "hidden" libraries, object files and flags are used when
13134 # linking a shared library.
13136 # There doesn't appear to be a way to prevent this compiler from
13137 # explicitly linking system object files so we need to strip them
13138 # from the output so that they don't get included in the library
13140 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"'
13143 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13144 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13147 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'
13150 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'
13154 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13155 hardcode_libdir_separator_CXX
=:
13157 # Commands to make compiler produce verbose output that lists
13158 # what "hidden" libraries, object files and flags are used when
13159 # linking a shared library.
13160 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13163 # FIXME: insert proper C++ library support
13171 # FIXME: insert proper C++ library support
13176 case $cc_basename in
13179 # FIXME: insert proper C++ library support
13184 # FIXME: insert proper C++ library support
13188 # FIXME: insert proper C++ library support
13195 case $cc_basename in
13197 # Sun C++ 4.2, 5.x and Centerline C++
13198 archive_cmds_need_lc_CXX
=yes
13199 no_undefined_flag_CXX
=' -zdefs'
13200 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13201 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13202 $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'
13204 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13205 hardcode_shlibpath_var_CXX
=no
13207 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13209 # The compiler driver will combine and reorder linker options,
13210 # but understands `-z linker_flag'.
13211 # Supported since Solaris 2.6 (maybe 2.5.1?)
13212 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13215 link_all_deplibs_CXX
=yes
13217 output_verbose_link_cmd
='func_echo_all'
13219 # Archives containing C++ object files must be created using
13220 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13221 # necessary to make sure instantiated templates are included
13223 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13226 # Green Hills C++ Compiler
13227 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13229 # The C++ compiler must be used to create the archive.
13230 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13233 # GNU C++ compiler with Solaris linker
13234 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13235 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13236 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13237 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13238 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13239 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13241 # Commands to make compiler produce verbose output that lists
13242 # what "hidden" libraries, object files and flags are used when
13243 # linking a shared library.
13244 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13246 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13248 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13249 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13250 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13252 # Commands to make compiler produce verbose output that lists
13253 # what "hidden" libraries, object files and flags are used when
13254 # linking a shared library.
13255 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13258 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13260 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13262 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13270 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13271 no_undefined_flag_CXX
='${wl}-z,text'
13272 archive_cmds_need_lc_CXX
=no
13273 hardcode_shlibpath_var_CXX
=no
13274 runpath_var
='LD_RUN_PATH'
13276 case $cc_basename in
13278 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13279 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13282 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13283 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13288 sysv5
* | sco3.2v5
* | sco5v6
*)
13289 # Note: We can NOT use -z defs as we might desire, because we do not
13290 # link with -lc, and that would cause any symbols used from libc to
13291 # always be unresolved, which means just about no library would
13292 # ever link correctly. If we're not using GNU ld we use -z text
13293 # though, which does catch some bad symbols but isn't as heavy-handed
13295 no_undefined_flag_CXX
='${wl}-z,text'
13296 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13297 archive_cmds_need_lc_CXX
=no
13298 hardcode_shlibpath_var_CXX
=no
13299 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13300 hardcode_libdir_separator_CXX
=':'
13301 link_all_deplibs_CXX
=yes
13302 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13303 runpath_var
='LD_RUN_PATH'
13305 case $cc_basename in
13307 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13308 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13309 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13310 '"$old_archive_cmds_CXX"
13311 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13312 '"$reload_cmds_CXX"
13315 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13316 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13322 case $cc_basename in
13324 # NonStop-UX NCC 3.20
13325 # FIXME: insert proper C++ library support
13329 # FIXME: insert proper C++ library support
13336 # FIXME: insert proper C++ library support
13341 # FIXME: insert proper C++ library support
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13347 $as_echo "$ld_shlibs_CXX" >&6; }
13348 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13354 ## There is no encapsulation within the following macros, do not change
13355 ## the running order or otherwise move them around unless you know exactly
13356 ## what you are doing...
13357 # Dependencies to place before and after the object being linked:
13358 predep_objects_CXX
=
13359 postdep_objects_CXX
=
13362 compiler_lib_search_path_CXX
=
13364 cat > conftest.
$ac_ext <<_LT_EOF
13368 Foo (void) { a = 0; }
13374 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13375 (eval $ac_compile) 2>&5
13377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13378 test $ac_status = 0; }; then
13379 # Parse the compiler output and extract the necessary
13380 # objects, libraries and library flags.
13382 # Sentinel used to keep track of whether or not we are before
13383 # the conftest object file.
13384 pre_test_object_deps_done
=no
13386 for p
in `eval "$output_verbose_link_cmd"`; do
13390 # Some compilers place space between "-{L,R}" and the path.
13391 # Remove the space.
13392 if test $p = "-L" ||
13393 test $p = "-R"; then
13400 if test "$pre_test_object_deps_done" = no
; then
13403 # Internal compiler library paths should come after those
13404 # provided the user. The postdeps already come after the
13405 # user supplied libs so there is no need to process them.
13406 if test -z "$compiler_lib_search_path_CXX"; then
13407 compiler_lib_search_path_CXX
="${prev}${p}"
13409 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13412 # The "-l" case would never come before the object being
13413 # linked, so don't bother handling this case.
13416 if test -z "$postdeps_CXX"; then
13417 postdeps_CXX
="${prev}${p}"
13419 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13425 # This assumes that the test object file only shows up
13426 # once in the compiler output.
13427 if test "$p" = "conftest.$objext"; then
13428 pre_test_object_deps_done
=yes
13432 if test "$pre_test_object_deps_done" = no
; then
13433 if test -z "$predep_objects_CXX"; then
13434 predep_objects_CXX
="$p"
13436 predep_objects_CXX
="$predep_objects_CXX $p"
13439 if test -z "$postdep_objects_CXX"; then
13440 postdep_objects_CXX
="$p"
13442 postdep_objects_CXX
="$postdep_objects_CXX $p"
13447 *) ;; # Ignore the rest.
13455 echo "libtool.m4: error: problem compiling CXX test program"
13458 $RM -f confest.
$objext
13460 # PORTME: override above test on systems where it is broken
13463 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13464 # hack all around it, let's just trust "g++" to DTRT.
13465 predep_objects_CXX
=
13466 postdep_objects_CXX
=
13471 case `$CC -V 2>&1 | sed 5q` 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 if test "$solaris_use_stlport4" != yes; then
13486 postdeps_CXX
='-library=Cstd -library=Crun'
13493 case $cc_basename in
13495 # The more standards-conforming stlport4 library is
13496 # incompatible with the Cstd library. Avoid specifying
13497 # it if it's in CXXFLAGS. Ignore libCrun as
13498 # -library=stlport4 depends on it.
13499 case " $CXX $CXXFLAGS " in
13500 *" -library=stlport4 "*)
13501 solaris_use_stlport4
=yes
13505 # Adding this requires a known-good setup of shared libraries for
13506 # Sun compiler versions before 5.6, else PIC objects from an old
13507 # archive will be linked into the output, leading to subtle bugs.
13508 if test "$solaris_use_stlport4" != yes; then
13509 postdeps_CXX
='-library=Cstd -library=Crun'
13517 case " $postdeps_CXX " in
13518 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13520 compiler_lib_search_dirs_CXX
=
13521 if test -n "${compiler_lib_search_path_CXX}"; then
13522 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13555 lt_prog_compiler_wl_CXX
=
13556 lt_prog_compiler_pic_CXX
=
13557 lt_prog_compiler_static_CXX
=
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13560 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13562 # C++ specific cases for pic, static, wl, etc.
13563 if test "$GXX" = yes; then
13564 lt_prog_compiler_wl_CXX
='-Wl,'
13565 lt_prog_compiler_static_CXX
='-static'
13569 # All AIX code is PIC.
13570 if test "$host_cpu" = ia64
; then
13571 # AIX 5 now supports IA64 processor
13572 lt_prog_compiler_static_CXX
='-Bstatic'
13574 lt_prog_compiler_pic_CXX
='-fPIC'
13580 # see comment about AmigaOS4 .so support
13581 lt_prog_compiler_pic_CXX
='-fPIC'
13584 # FIXME: we need at least 68020 code to build shared libraries, but
13585 # adding the `-m68020' flag to GCC prevents building anything better,
13587 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13592 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13593 # PIC is the default for these OSes.
13595 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13596 # This hack is so that the source file can tell whether it is being
13597 # built for inclusion in a dll (and should export symbols for example).
13598 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13599 # (--disable-auto-import) libraries
13600 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13602 darwin
* | rhapsody
*)
13603 # PIC is the default on this platform
13604 # Common symbols not allowed in MH_DYLIB files
13605 lt_prog_compiler_pic_CXX
='-fno-common'
13608 # DJGPP does not support shared libraries at all
13609 lt_prog_compiler_pic_CXX
=
13612 # PIC is the default for Haiku.
13613 # The "-static" flag exists, but is broken.
13614 lt_prog_compiler_static_CXX
=
13617 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13618 # Instead, we relocate shared libraries at runtime.
13621 if test -d /usr
/nec
; then
13622 lt_prog_compiler_pic_CXX
=-Kconform_pic
13626 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13627 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13628 # sets the default TLS model and affects inlining.
13633 lt_prog_compiler_pic_CXX
='-fPIC'
13638 # QNX uses GNU C++, but need to define -shared option too, otherwise
13639 # it will coredump.
13640 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13643 lt_prog_compiler_pic_CXX
='-fPIC'
13649 # All AIX code is PIC.
13650 if test "$host_cpu" = ia64
; then
13651 # AIX 5 now supports IA64 processor
13652 lt_prog_compiler_static_CXX
='-Bstatic'
13654 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13658 case $cc_basename in
13660 # Green Hills C++ Compiler
13661 # _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"
13666 case $cc_basename in
13668 lt_prog_compiler_pic_CXX
='-KPIC'
13671 # Green Hills C++ Compiler
13672 lt_prog_compiler_pic_CXX
='-pic'
13678 freebsd
* | dragonfly
*)
13679 # FreeBSD uses GNU C++
13681 hpux9
* | hpux10
* | hpux11
*)
13682 case $cc_basename in
13684 lt_prog_compiler_wl_CXX
='-Wl,'
13685 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13686 if test "$host_cpu" != ia64
; then
13687 lt_prog_compiler_pic_CXX
='+Z'
13691 lt_prog_compiler_wl_CXX
='-Wl,'
13692 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13698 lt_prog_compiler_pic_CXX
='+Z'
13707 # This is c89, which is MS Visual C++ (no shared libs)
13708 # Anyone wants to do a port?
13710 irix5
* | irix6
* | nonstopux
*)
13711 case $cc_basename in
13713 lt_prog_compiler_wl_CXX
='-Wl,'
13714 lt_prog_compiler_static_CXX
='-non_shared'
13715 # CC pic flag -KPIC is the default.
13721 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13722 case $cc_basename in
13725 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13726 lt_prog_compiler_pic_CXX
='-fPIC'
13729 # old Intel C++ for x86_64 which still supported -KPIC.
13730 lt_prog_compiler_wl_CXX
='-Wl,'
13731 lt_prog_compiler_pic_CXX
='-KPIC'
13732 lt_prog_compiler_static_CXX
='-static'
13735 # Intel C++, used to be incompatible with GCC.
13736 # ICC 10 doesn't accept -KPIC any more.
13737 lt_prog_compiler_wl_CXX
='-Wl,'
13738 lt_prog_compiler_pic_CXX
='-fPIC'
13739 lt_prog_compiler_static_CXX
='-static'
13742 # Portland Group C++ compiler
13743 lt_prog_compiler_wl_CXX
='-Wl,'
13744 lt_prog_compiler_pic_CXX
='-fpic'
13745 lt_prog_compiler_static_CXX
='-Bstatic'
13749 # Make sure the PIC flag is empty. It appears that all Alpha
13750 # Linux and Compaq Tru64 Unix objects are PIC.
13751 lt_prog_compiler_pic_CXX
=
13752 lt_prog_compiler_static_CXX
='-non_shared'
13754 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13755 # IBM XL 8.0, 9.0 on PPC and BlueGene
13756 lt_prog_compiler_wl_CXX
='-Wl,'
13757 lt_prog_compiler_pic_CXX
='-qpic'
13758 lt_prog_compiler_static_CXX
='-qstaticlink'
13761 case `$CC -V 2>&1 | sed 5q` in
13764 lt_prog_compiler_pic_CXX
='-KPIC'
13765 lt_prog_compiler_static_CXX
='-Bstatic'
13766 lt_prog_compiler_wl_CXX
='-Qoption ld '
13777 case $cc_basename in
13779 lt_prog_compiler_pic_CXX
='-W c,exportall'
13788 # QNX uses GNU C++, but need to define -shared option too, otherwise
13789 # it will coredump.
13790 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13792 osf3
* | osf4
* | osf5
*)
13793 case $cc_basename in
13795 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13798 # Rational C++ 2.4.1
13799 lt_prog_compiler_pic_CXX
='-pic'
13802 # Digital/Compaq C++
13803 lt_prog_compiler_wl_CXX
='-Wl,'
13804 # Make sure the PIC flag is empty. It appears that all Alpha
13805 # Linux and Compaq Tru64 Unix objects are PIC.
13806 lt_prog_compiler_pic_CXX
=
13807 lt_prog_compiler_static_CXX
='-non_shared'
13816 case $cc_basename in
13818 # Sun C++ 4.2, 5.x and Centerline C++
13819 lt_prog_compiler_pic_CXX
='-KPIC'
13820 lt_prog_compiler_static_CXX
='-Bstatic'
13821 lt_prog_compiler_wl_CXX
='-Qoption ld '
13824 # Green Hills C++ Compiler
13825 lt_prog_compiler_pic_CXX
='-PIC'
13832 case $cc_basename in
13835 lt_prog_compiler_pic_CXX
='-pic'
13836 lt_prog_compiler_static_CXX
='-Bstatic'
13840 lt_prog_compiler_pic_CXX
='-pic'
13846 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13847 case $cc_basename in
13849 lt_prog_compiler_wl_CXX
='-Wl,'
13850 lt_prog_compiler_pic_CXX
='-KPIC'
13851 lt_prog_compiler_static_CXX
='-Bstatic'
13856 case $cc_basename in
13858 # NonStop-UX NCC 3.20
13859 lt_prog_compiler_pic_CXX
='-KPIC'
13868 lt_prog_compiler_can_build_shared_CXX
=no
13874 # For platforms which do not support PIC, -DPIC is meaningless:
13876 lt_prog_compiler_pic_CXX
=
13879 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13883 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13888 # Check to make sure the PIC flag actually works.
13890 if test -n "$lt_prog_compiler_pic_CXX"; then
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13892 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13893 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13894 $as_echo_n "(cached) " >&6
13896 lt_cv_prog_compiler_pic_works_CXX
=no
13897 ac_outfile
=conftest.
$ac_objext
13898 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13899 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13900 # Insert the option either (1) after the last *FLAGS variable, or
13901 # (2) before a word containing "conftest.", or (3) at the end.
13902 # Note that $ac_compile itself does not contain backslashes and begins
13903 # with a dollar sign (not a hyphen), so the echo should work correctly.
13904 # The option is referenced via a variable to avoid confusing sed.
13905 lt_compile
=`echo "$ac_compile" | $SED \
13906 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13907 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13908 -e 's:$: $lt_compiler_flag:'`
13909 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13910 (eval "$lt_compile" 2>conftest.err
)
13912 cat conftest.err
>&5
13913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13914 if (exit $ac_status) && test -s "$ac_outfile"; then
13915 # The compiler can only warn and ignore the option if not recognized
13916 # So say no if there are warnings other than the usual output.
13917 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13918 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13919 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13920 lt_cv_prog_compiler_pic_works_CXX
=yes
13926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13927 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13929 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13930 case $lt_prog_compiler_pic_CXX in
13932 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13935 lt_prog_compiler_pic_CXX
=
13936 lt_prog_compiler_can_build_shared_CXX
=no
13944 # Check to make sure the static flag actually works.
13946 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13948 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13949 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13950 $as_echo_n "(cached) " >&6
13952 lt_cv_prog_compiler_static_works_CXX
=no
13953 save_LDFLAGS
="$LDFLAGS"
13954 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13955 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13956 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13957 # The linker can only warn and ignore the option if not recognized
13958 # So say no if there are warnings
13959 if test -s conftest.err
; then
13960 # Append any errors to the config.log.
13961 cat conftest.err
1>&5
13962 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13963 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13964 if diff conftest.exp conftest.er2
>/dev
/null
; then
13965 lt_cv_prog_compiler_static_works_CXX
=yes
13968 lt_cv_prog_compiler_static_works_CXX
=yes
13972 LDFLAGS
="$save_LDFLAGS"
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13976 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13978 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13981 lt_prog_compiler_static_CXX
=
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13988 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13989 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13990 $as_echo_n "(cached) " >&6
13992 lt_cv_prog_compiler_c_o_CXX
=no
13993 $RM -r conftest
2>/dev
/null
13997 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13999 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14000 # Insert the option either (1) after the last *FLAGS variable, or
14001 # (2) before a word containing "conftest.", or (3) at the end.
14002 # Note that $ac_compile itself does not contain backslashes and begins
14003 # with a dollar sign (not a hyphen), so the echo should work correctly.
14004 lt_compile
=`echo "$ac_compile" | $SED \
14005 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14006 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14007 -e 's:$: $lt_compiler_flag:'`
14008 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14009 (eval "$lt_compile" 2>out
/conftest.err
)
14011 cat out
/conftest.err
>&5
14012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14013 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14015 # The compiler can only warn and ignore the option if not recognized
14016 # So say no if there are warnings
14017 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14018 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14019 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14020 lt_cv_prog_compiler_c_o_CXX
=yes
14025 # SGI C++ compiler will create directory out/ii_files/ for
14026 # template instantiation
14027 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14028 $RM out
/* && rmdir out
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14035 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14040 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14041 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14042 $as_echo_n "(cached) " >&6
14044 lt_cv_prog_compiler_c_o_CXX
=no
14045 $RM -r conftest
2>/dev
/null
14049 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14051 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14052 # Insert the option either (1) after the last *FLAGS variable, or
14053 # (2) before a word containing "conftest.", or (3) at the end.
14054 # Note that $ac_compile itself does not contain backslashes and begins
14055 # with a dollar sign (not a hyphen), so the echo should work correctly.
14056 lt_compile
=`echo "$ac_compile" | $SED \
14057 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14058 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14059 -e 's:$: $lt_compiler_flag:'`
14060 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14061 (eval "$lt_compile" 2>out
/conftest.err
)
14063 cat out
/conftest.err
>&5
14064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14065 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14067 # The compiler can only warn and ignore the option if not recognized
14068 # So say no if there are warnings
14069 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14070 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14071 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14072 lt_cv_prog_compiler_c_o_CXX
=yes
14077 # SGI C++ compiler will create directory out/ii_files/ for
14078 # template instantiation
14079 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14080 $RM out
/* && rmdir out
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14087 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14092 hard_links
="nottested"
14093 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14094 # do not overwrite the value of need_locks provided by the user
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14096 $as_echo_n "checking if we can lock with hard links... " >&6; }
14099 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14101 ln conftest.a conftest.b
2>&5 || hard_links
=no
14102 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14104 $as_echo "$hard_links" >&6; }
14105 if test "$hard_links" = no
; then
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14107 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14117 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14119 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14122 # If we're using GNU nm, then we don't want the "-C" option.
14123 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14124 # Also, AIX nm treats weak defined symbols like other global defined
14125 # symbols, whereas GNU nm marks them as "W".
14126 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14127 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'
14129 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'
14133 export_symbols_cmds_CXX
="$ltdll_cmds"
14135 cygwin
* | mingw
* | cegcc
*)
14136 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'
14139 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14142 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14145 $as_echo "$ld_shlibs_CXX" >&6; }
14146 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14148 with_gnu_ld_CXX
=$with_gnu_ld
14156 # Do we need to explicitly link libc?
14158 case "x$archive_cmds_need_lc_CXX" in
14160 # Assume -lc should be added
14161 archive_cmds_need_lc_CXX
=yes
14163 if test "$enable_shared" = yes && test "$GCC" = yes; then
14164 case $archive_cmds_CXX in
14166 # FIXME: we may have to deal with multi-command sequences.
14169 # Test whether the compiler implicitly links with -lc since on some
14170 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14171 # to ld, don't add -lc before -lgcc.
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14173 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14174 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14175 $as_echo_n "(cached) " >&6
14178 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14180 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14181 (eval $ac_compile) 2>&5
14183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14184 test $ac_status = 0; } 2>conftest.err
; then
14187 libobjs
=conftest.
$ac_objext
14189 wl
=$lt_prog_compiler_wl_CXX
14190 pic_flag
=$lt_prog_compiler_pic_CXX
14196 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14197 allow_undefined_flag_CXX
=
14198 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14199 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14202 test $ac_status = 0; }
14204 lt_cv_archive_cmds_need_lc_CXX
=no
14206 lt_cv_archive_cmds_need_lc_CXX
=yes
14208 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14210 cat conftest.err
1>&5
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14216 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14217 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14288 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14290 library_names_spec
=
14291 libname_spec
='lib$name'
14295 postuninstall_cmds
=
14299 shlibpath_overrides_runpath
=unknown
14301 dynamic_linker
="$host_os ld.so"
14302 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14303 need_lib_prefix
=unknown
14304 hardcode_into_libs
=no
14306 # when you set need_version to no, make sure it does not cause -set_version
14307 # flags to be left without arguments
14308 need_version
=unknown
14313 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14314 shlibpath_var
=LIBPATH
14316 # AIX 3 has no versioning support, so we append a major version to the name.
14317 soname_spec
='${libname}${release}${shared_ext}$major'
14324 hardcode_into_libs
=yes
14325 if test "$host_cpu" = ia64
; then
14326 # AIX 5 supports IA64
14327 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14328 shlibpath_var
=LD_LIBRARY_PATH
14330 # With GCC up to 2.95.x, collect2 would create an import file
14331 # for dependence libraries. The import file would start with
14332 # the line `#! .'. This would cause the generated library to
14333 # depend on `.', always an invalid library. This was fixed in
14334 # development snapshots of GCC prior to 3.0.
14336 aix4 | aix4.
[01] | aix4.
[01].
*)
14337 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14339 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14342 can_build_shared
=no
14346 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14347 # soname into executable. Probably we can add versioning support to
14348 # collect2, so additional links can be useful in future.
14349 if test "$aix_use_runtimelinking" = yes; then
14350 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14351 # instead of lib<name>.a to let people know that these are not
14352 # typical AIX shared libraries.
14353 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14355 # We preserve .a as extension for shared libraries through AIX4.2
14356 # and later when we are not doing run time linking.
14357 library_names_spec
='${libname}${release}.a $libname.a'
14358 soname_spec
='${libname}${release}${shared_ext}$major'
14360 shlibpath_var
=LIBPATH
14367 # Since July 2007 AmigaOS4 officially supports .so libraries.
14368 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14369 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14372 library_names_spec
='$libname.ixlibrary $libname.a'
14373 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14374 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'
14380 library_names_spec
='${libname}${shared_ext}'
14381 dynamic_linker
="$host_os ld.so"
14382 shlibpath_var
=LIBRARY_PATH
14388 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14389 soname_spec
='${libname}${release}${shared_ext}$major'
14390 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14391 shlibpath_var
=LD_LIBRARY_PATH
14392 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14393 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14394 # the default ld.so.conf also contains /usr/contrib/lib and
14395 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14396 # libtool to hard-code these into programs
14399 cygwin
* | mingw
* | pw32
* | cegcc
*)
14400 version_type
=windows
14405 case $GCC,$host_os in
14406 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14407 library_names_spec
='$libname.dll.a'
14408 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14409 postinstall_cmds
='base_file=`basename \${file}`~
14410 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14411 dldir=$destdir/`dirname \$dlpath`~
14412 test -d \$dldir || mkdir -p \$dldir~
14413 $install_prog $dir/$dlname \$dldir/$dlname~
14414 chmod a+x \$dldir/$dlname~
14415 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14416 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14418 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14419 dlpath=$dir/\$dldll~
14421 shlibpath_overrides_runpath
=yes
14425 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14426 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14430 # MinGW DLLs use traditional 'lib' prefix
14431 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14434 # pw32 DLLs use 'pw' prefix rather than 'lib'
14435 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14441 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14444 dynamic_linker
='Win32 ld.exe'
14445 # FIXME: first we should search . and the directory the executable is in
14449 darwin
* | rhapsody
*)
14450 dynamic_linker
="$host_os dyld"
14451 version_type
=darwin
14454 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14455 soname_spec
='${libname}${release}${major}$shared_ext'
14456 shlibpath_overrides_runpath
=yes
14457 shlibpath_var
=DYLD_LIBRARY_PATH
14458 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14460 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14467 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14468 soname_spec
='${libname}${release}${shared_ext}$major'
14469 shlibpath_var
=LD_LIBRARY_PATH
14472 freebsd
* | dragonfly
*)
14473 # DragonFly does not have aout. When/if they implement a new
14474 # versioning mechanism, adjust this.
14475 if test -x /usr
/bin
/objformat
; then
14476 objformat
=`/usr/bin/objformat`
14479 freebsd
[23].
*) objformat
=aout
;;
14480 *) objformat
=elf
;;
14483 version_type
=freebsd-
$objformat
14484 case $version_type in
14486 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14491 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14495 shlibpath_var
=LD_LIBRARY_PATH
14498 shlibpath_overrides_runpath
=yes
14500 freebsd3.
[01]* | freebsdelf3.
[01]*)
14501 shlibpath_overrides_runpath
=yes
14502 hardcode_into_libs
=yes
14504 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14505 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14506 shlibpath_overrides_runpath
=no
14507 hardcode_into_libs
=yes
14509 *) # from 4.6 on, and DragonFly
14510 shlibpath_overrides_runpath
=yes
14511 hardcode_into_libs
=yes
14520 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14521 soname_spec
='${libname}${release}${shared_ext}$major'
14522 shlibpath_var
=LD_LIBRARY_PATH
14523 hardcode_into_libs
=yes
14530 dynamic_linker
="$host_os runtime_loader"
14531 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14532 soname_spec
='${libname}${release}${shared_ext}$major'
14533 shlibpath_var
=LIBRARY_PATH
14534 shlibpath_overrides_runpath
=yes
14535 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14536 hardcode_into_libs
=yes
14539 hpux9
* | hpux10
* | hpux11
*)
14540 # Give a soname corresponding to the major version so that dld.sl refuses to
14541 # link against other versions.
14548 hardcode_into_libs
=yes
14549 dynamic_linker
="$host_os dld.so"
14550 shlibpath_var
=LD_LIBRARY_PATH
14551 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14552 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14553 soname_spec
='${libname}${release}${shared_ext}$major'
14554 if test "X$HPUX_IA64_MODE" = X32
; then
14555 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14557 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14559 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14563 hardcode_into_libs
=yes
14564 dynamic_linker
="$host_os dld.sl"
14565 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14566 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14567 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14568 soname_spec
='${libname}${release}${shared_ext}$major'
14569 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14570 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14574 dynamic_linker
="$host_os dld.sl"
14575 shlibpath_var
=SHLIB_PATH
14576 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14577 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14578 soname_spec
='${libname}${release}${shared_ext}$major'
14581 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14582 postinstall_cmds
='chmod 555 $lib'
14583 # or fails outright, so override atomically:
14584 install_override_mode
=555
14591 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14592 soname_spec
='${libname}${release}${shared_ext}$major'
14593 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14594 shlibpath_var
=LD_LIBRARY_PATH
14595 shlibpath_overrides_runpath
=no
14596 hardcode_into_libs
=yes
14599 irix5
* | irix6
* | nonstopux
*)
14601 nonstopux
*) version_type
=nonstopux
;;
14603 if test "$lt_cv_prog_gnu_ld" = yes; then
14611 soname_spec
='${libname}${release}${shared_ext}$major'
14612 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14614 irix5
* | nonstopux
*)
14615 libsuff
= shlibsuff
=
14618 case $LD in # libtool.m4 will add one of these switches to LD
14619 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14620 libsuff
= shlibsuff
= libmagic
=32-bit;;
14621 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14622 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14623 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14624 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14625 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14629 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14630 shlibpath_overrides_runpath
=no
14631 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14632 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14633 hardcode_into_libs
=yes
14636 # No shared lib support for Linux oldld, aout, or coff.
14637 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14641 # This must be Linux ELF.
14642 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14646 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14647 soname_spec
='${libname}${release}${shared_ext}$major'
14648 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14649 shlibpath_var
=LD_LIBRARY_PATH
14650 shlibpath_overrides_runpath
=no
14652 # Some binutils ld are patched to set DT_RUNPATH
14653 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14654 $as_echo_n "(cached) " >&6
14656 lt_cv_shlibpath_overrides_runpath
=no
14657 save_LDFLAGS
=$LDFLAGS
14658 save_libdir
=$libdir
14659 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14660 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14662 /* end confdefs.h. */
14672 if ac_fn_cxx_try_link
"$LINENO"; then :
14673 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14674 lt_cv_shlibpath_overrides_runpath
=yes
14677 rm -f core conftest.err conftest.
$ac_objext \
14678 conftest
$ac_exeext conftest.
$ac_ext
14679 LDFLAGS
=$save_LDFLAGS
14680 libdir
=$save_libdir
14684 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14686 # This implies no fast_install, which is unacceptable.
14687 # Some rework will be needed to allow for fast_install
14688 # before this can be enabled.
14689 hardcode_into_libs
=yes
14691 # Append ld.so.conf contents to the search path
14692 if test -f /etc
/ld.so.conf
; then
14693 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' ' '`
14694 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14697 # We used to test for /lib/ld.so.1 and disable shared libraries on
14698 # powerpc, because MkLinux only supported shared libraries with the
14699 # GNU dynamic linker. Since this was broken with cross compilers,
14700 # most powerpc-linux boxes support dynamic linking these days and
14701 # people can always --disable-shared, the test was removed, and we
14702 # assume the GNU/Linux dynamic linker is in use.
14703 dynamic_linker
='GNU/Linux ld.so'
14710 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14711 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14712 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14713 dynamic_linker
='NetBSD (a.out) ld.so'
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 dynamic_linker
='NetBSD ld.elf_so'
14719 shlibpath_var
=LD_LIBRARY_PATH
14720 shlibpath_overrides_runpath
=yes
14721 hardcode_into_libs
=yes
14726 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14727 shlibpath_var
=LD_LIBRARY_PATH
14728 shlibpath_overrides_runpath
=yes
14735 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14736 soname_spec
='${libname}${release}${shared_ext}$major'
14737 shlibpath_var
=LD_LIBRARY_PATH
14738 shlibpath_overrides_runpath
=no
14739 hardcode_into_libs
=yes
14740 dynamic_linker
='ldqnx.so'
14745 sys_lib_dlsearch_path_spec
="/usr/lib"
14747 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14749 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14750 *) need_version
=no
;;
14752 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14753 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14754 shlibpath_var
=LD_LIBRARY_PATH
14755 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14757 openbsd2.
[89] | openbsd2.
[89].
*)
14758 shlibpath_overrides_runpath
=no
14761 shlibpath_overrides_runpath
=yes
14765 shlibpath_overrides_runpath
=yes
14770 libname_spec
='$name'
14773 library_names_spec
='$libname${shared_ext} $libname.a'
14774 dynamic_linker
='OS/2 ld.exe'
14775 shlibpath_var
=LIBPATH
14778 osf3
* | osf4
* | osf5
*)
14782 soname_spec
='${libname}${release}${shared_ext}$major'
14783 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14784 shlibpath_var
=LD_LIBRARY_PATH
14785 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14786 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14797 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14798 soname_spec
='${libname}${release}${shared_ext}$major'
14799 shlibpath_var
=LD_LIBRARY_PATH
14800 shlibpath_overrides_runpath
=yes
14801 hardcode_into_libs
=yes
14802 # ldd complains unless libraries are executable
14803 postinstall_cmds
='chmod +x $lib'
14808 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14809 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14810 shlibpath_var
=LD_LIBRARY_PATH
14811 shlibpath_overrides_runpath
=yes
14812 if test "$with_gnu_ld" = yes; then
14820 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14821 soname_spec
='${libname}${release}${shared_ext}$major'
14822 shlibpath_var
=LD_LIBRARY_PATH
14823 case $host_vendor in
14825 shlibpath_overrides_runpath
=no
14827 runpath_var
=LD_RUN_PATH
14835 shlibpath_overrides_runpath
=no
14836 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14842 if test -d /usr
/nec
;then
14844 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14845 soname_spec
='$libname${shared_ext}.$major'
14846 shlibpath_var
=LD_LIBRARY_PATH
14850 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14851 version_type
=freebsd-elf
14854 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14855 soname_spec
='${libname}${release}${shared_ext}$major'
14856 shlibpath_var
=LD_LIBRARY_PATH
14857 shlibpath_overrides_runpath
=yes
14858 hardcode_into_libs
=yes
14859 if test "$with_gnu_ld" = yes; then
14860 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14862 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14865 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14869 sys_lib_dlsearch_path_spec
='/usr/lib'
14873 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14877 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14878 shlibpath_var
=LD_LIBRARY_PATH
14879 shlibpath_overrides_runpath
=no
14880 hardcode_into_libs
=yes
14885 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14886 soname_spec
='${libname}${release}${shared_ext}$major'
14887 shlibpath_var
=LD_LIBRARY_PATH
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14895 $as_echo "$dynamic_linker" >&6; }
14896 test "$dynamic_linker" = no
&& can_build_shared
=no
14898 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14899 if test "$GCC" = yes; then
14900 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14903 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14904 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14906 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14907 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14948 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14949 hardcode_action_CXX
=
14950 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14951 test -n "$runpath_var_CXX" ||
14952 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14954 # We can hardcode non-existent directories.
14955 if test "$hardcode_direct_CXX" != no
&&
14956 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14957 # have to relink, otherwise we might link with an installed library
14958 # when we should be linking with a yet-to-be-installed one
14959 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14960 test "$hardcode_minus_L_CXX" != no
; then
14961 # Linking always hardcodes the temporary library directory.
14962 hardcode_action_CXX
=relink
14964 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14965 hardcode_action_CXX
=immediate
14968 # We cannot hardcode anything, or else we can only hardcode existing
14970 hardcode_action_CXX
=unsupported
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14973 $as_echo "$hardcode_action_CXX" >&6; }
14975 if test "$hardcode_action_CXX" = relink ||
14976 test "$inherit_rpath_CXX" = yes; then
14977 # Fast installation is not supported
14978 enable_fast_install
=no
14979 elif test "$shlibpath_overrides_runpath" = yes ||
14980 test "$enable_shared" = no
; then
14981 # Fast installation is not necessary
14982 enable_fast_install
=needless
14991 fi # test -n "$compiler"
14997 with_gnu_ld
=$lt_save_with_gnu_ld
14998 lt_cv_path_LDCXX
=$lt_cv_path_LD
14999 lt_cv_path_LD
=$lt_save_path_LD
15000 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15001 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15002 fi # test "$_lt_caught_CXX_error" != yes
15005 ac_cpp
='$CPP $CPPFLAGS'
15006 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15007 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15008 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15022 ac_config_commands
="$ac_config_commands libtool"
15027 # Only expand once:
15033 XCFLAGS
="-Wall -Wextra"
15036 if test "${multilib}" = "yes"; then
15037 multilib_arg
="--enable-multilib"
15042 ac_config_files
="$ac_config_files Makefile libmpx.spec"
15044 ac_config_headers
="$ac_config_headers config.h"
15046 ac_config_files
="$ac_config_files mpxrt/Makefile mpxwrap/Makefile"
15049 cat >confcache
<<\_ACEOF
15050 # This file is a shell script that caches the results of configure
15051 # tests run on this system so they can be shared between configure
15052 # scripts and configure runs, see configure's option --config-cache.
15053 # It is not useful on other systems. If it contains results you don't
15054 # want to keep, you may remove or edit it.
15056 # config.status only pays attention to the cache file if you give it
15057 # the --recheck option to rerun configure.
15059 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15060 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15061 # following values.
15065 # The following way of writing the cache mishandles newlines in values,
15066 # but we know of no workaround that is simple, portable, and efficient.
15067 # So, we kill variables containing newlines.
15068 # Ultrix sh set writes to stderr and can't be redirected directly,
15069 # and sets the high bit in the cache file unless we assign to the vars.
15071 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15072 eval ac_val
=\$
$ac_var
15076 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15077 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15080 _ | IFS | as_nl
) ;; #(
15081 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15082 *) { eval $ac_var=; unset $ac_var;} ;;
15088 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15089 *${as_nl}ac_space
=\
*)
15090 # `set' does not quote correctly, so add quotes: double-quote
15091 # substitution turns \\\\ into \\, and sed turns \\ into \.
15094 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15097 # `set' quotes correctly as required by POSIX, so do not add quotes.
15098 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15107 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15109 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15111 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15112 if test -w "$cache_file"; then
15113 test "x$cache_file" != "x/dev/null" &&
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15115 $as_echo "$as_me: updating cache $cache_file" >&6;}
15116 cat confcache
>$cache_file
15118 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15119 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15124 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15125 # Let make expand exec_prefix.
15126 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15128 DEFS
=-DHAVE_CONFIG_H
15132 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15133 # 1. Remove the extension, and $U if already installed.
15134 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15135 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15136 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15137 # will be set to the directory where LIBOBJS objects are built.
15138 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15139 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15141 LIBOBJS
=$ac_libobjs
15143 LTLIBOBJS
=$ac_ltlibobjs
15146 if test -z "${LIBMPX_SUPPORTED_TRUE}" && test -z "${LIBMPX_SUPPORTED_FALSE}"; then
15147 as_fn_error
"conditional \"LIBMPX_SUPPORTED\" was never defined.
15148 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15150 if test -n "$EXEEXT"; then
15152 am__EXEEXT_FALSE
='#'
15154 am__EXEEXT_TRUE
='#'
15158 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15159 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
15160 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15162 if test -z "${MPX_AS_SUPPORTED_TRUE}" && test -z "${MPX_AS_SUPPORTED_FALSE}"; then
15163 as_fn_error
"conditional \"MPX_AS_SUPPORTED\" was never defined.
15164 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15167 : ${CONFIG_STATUS=./config.status}
15169 ac_clean_files_save
=$ac_clean_files
15170 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15171 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15172 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15174 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15176 # Generated by $as_me.
15177 # Run this file to recreate the current configuration.
15178 # Compiler output produced by configure, useful for debugging
15179 # configure, is in config.log if it exists.
15182 ac_cs_recheck=false
15185 SHELL=\${CONFIG_SHELL-$SHELL}
15188 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15189 ## -------------------- ##
15190 ## M4sh Initialization. ##
15191 ## -------------------- ##
15193 # Be more Bourne compatible
15194 DUALCASE
=1; export DUALCASE
# for MKS sh
15195 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15198 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15199 # is contrary to our usage. Disable this feature.
15200 alias -g '${1+"$@"}'='"$@"'
15201 setopt NO_GLOB_SUBST
15203 case `(set -o) 2>/dev/null` in #(
15215 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15216 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15217 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15218 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15219 # Prefer a ksh shell builtin over an external printf program on Solaris,
15220 # but without wasting forks for bash or zsh.
15221 if test -z "$BASH_VERSION$ZSH_VERSION" \
15222 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15223 as_echo='print
-r --'
15224 as_echo_n='print
-rn --'
15225 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15226 as_echo='printf %s
\n'
15227 as_echo_n='printf %s
'
15229 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15230 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15231 as_echo_n='/usr
/ucb
/echo -n'
15233 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15234 as_echo_n_body='eval
15238 expr "X$arg" : "X\\(.*\\)$as_nl";
15239 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15241 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15243 export as_echo_n_body
15244 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15246 export as_echo_body
15247 as_echo='sh
-c $as_echo_body as_echo
'
15250 # The user is always right.
15251 if test "${PATH_SEPARATOR+set}" != set; then
15253 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15254 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15261 # We need space, tab and new line, in precisely that order. Quoting is
15262 # there to prevent editors from complaining about space-tab.
15263 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15264 # splitting by setting IFS to empty value.)
15267 # Find who we are. Look in the path if we contain no directory separator.
15269 *[\\/]* ) as_myself=$0 ;;
15270 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15271 for as_dir in $PATH
15274 test -z "$as_dir" && as_dir=.
15275 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15281 # We did not find ourselves, most probably we were run as `sh COMMAND'
15282 # in which case we are not to be found in the path.
15283 if test "x$as_myself" = x
; then
15286 if test ! -f "$as_myself"; then
15287 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15291 # Unset variables that we do not need and which cause bugs (e.g. in
15292 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15293 # suppresses any "Segmentation fault" message there. '((' could
15294 # trigger a bug in pdksh 5.2.14.
15295 for as_var
in BASH_ENV ENV MAIL MAILPATH
15296 do eval test x\
${$as_var+set} = xset \
15297 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15310 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15313 # as_fn_error ERROR [LINENO LOG_FD]
15314 # ---------------------------------
15315 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15316 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15317 # script with status $?, using 1 if that was 0.
15320 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15322 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15323 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15325 $as_echo "$as_me: error: $1" >&2
15326 as_fn_exit
$as_status
15330 # as_fn_set_status STATUS
15331 # -----------------------
15332 # Set $? to STATUS, without forking.
15333 as_fn_set_status
()
15336 } # as_fn_set_status
15338 # as_fn_exit STATUS
15339 # -----------------
15340 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15344 as_fn_set_status
$1
15350 # Portably unset VAR.
15353 { eval $1=; unset $1;}
15355 as_unset
=as_fn_unset
15356 # as_fn_append VAR VALUE
15357 # ----------------------
15358 # Append the text in VALUE to the end of the definition contained in VAR. Take
15359 # advantage of any shell optimizations that allow amortized linear growth over
15360 # repeated appends, instead of the typical quadratic growth present in naive
15362 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15363 eval 'as_fn_append ()
15374 # as_fn_arith ARG...
15375 # ------------------
15376 # Perform arithmetic evaluation on the ARGs, and store the result in the
15377 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15378 # must be portable across $(()) and expr.
15379 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15380 eval 'as_fn_arith ()
15387 as_val
=`expr "$@" || test $? -eq 1`
15392 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15393 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15399 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15400 as_basename
=basename
15405 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15411 as_me
=`$as_basename -- "$0" ||
15412 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15413 X"$0" : 'X\(//\)$' \| \
15414 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15416 sed '/^.*\/\([^/][^/]*\)\/*$/{
15430 # Avoid depending upon Character Ranges.
15431 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15432 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15433 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15434 as_cr_digits
='0123456789'
15435 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15437 ECHO_C
= ECHO_N
= ECHO_T
=
15438 case `echo -n x` in #(((((
15440 case `echo 'xy\c'` in
15441 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15443 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15450 rm -f conf$$ conf$$.exe conf$$.
file
15451 if test -d conf$$.dir
; then
15452 rm -f conf$$.dir
/conf$$.
file
15455 mkdir conf$$.dir
2>/dev
/null
15457 if (echo >conf$$.
file) 2>/dev
/null
; then
15458 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15460 # ... but there are two gotchas:
15461 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15462 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15463 # In both cases, we have to default to `cp -p'.
15464 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15466 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15474 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15475 rmdir conf$$.dir
2>/dev
/null
15480 # Create "$as_dir" as a directory, including parents if necessary.
15485 -*) as_dir
=.
/$as_dir;;
15487 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15491 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15492 *) as_qdir
=$as_dir;;
15494 as_dirs
="'$as_qdir' $as_dirs"
15495 as_dir
=`$as_dirname -- "$as_dir" ||
15496 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15497 X"$as_dir" : 'X\(//\)[^/]' \| \
15498 X"$as_dir" : 'X\(//\)$' \| \
15499 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15500 $as_echo X"$as_dir" |
15501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15505 /^X\(\/\/\)[^/].*/{
15518 test -d "$as_dir" && break
15520 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15521 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15525 if mkdir
-p .
2>/dev
/null
; then
15526 as_mkdir_p
='mkdir -p "$as_dir"'
15528 test -d .
/-p && rmdir .
/-p
15532 if test -x / >/dev
/null
2>&1; then
15533 as_test_x
='test -x'
15535 if ls -dL / >/dev
/null
2>&1; then
15542 if test -d "$1"; then
15548 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15549 ???[sx]*):;;*)false;;esac;fi
15553 as_executable_p
=$as_test_x
15555 # Sed expression to map a string onto a valid CPP name.
15556 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15558 # Sed expression to map a string onto a valid variable name.
15559 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15563 ## ----------------------------------- ##
15564 ## Main body of $CONFIG_STATUS script. ##
15565 ## ----------------------------------- ##
15567 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15570 # Save the log message, to keep $0 and so on meaningful, and to
15571 # report actual input values of CONFIG_FILES etc. instead of their
15572 # values after options handling.
15574 This file was extended by package-unused $as_me version-unused, which was
15575 generated by GNU Autoconf 2.64. Invocation command line was
15577 CONFIG_FILES = $CONFIG_FILES
15578 CONFIG_HEADERS = $CONFIG_HEADERS
15579 CONFIG_LINKS = $CONFIG_LINKS
15580 CONFIG_COMMANDS = $CONFIG_COMMANDS
15583 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15588 case $ac_config_files in *"
15589 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15592 case $ac_config_headers in *"
15593 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15597 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15598 # Files that config.status was made for.
15599 config_files="$ac_config_files"
15600 config_headers="$ac_config_headers"
15601 config_commands="$ac_config_commands"
15605 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15607 \`$as_me' instantiates files and other configuration actions
15608 from templates according to the current configuration. Unless the files
15609 and actions are specified as TAGs, all are instantiated by default.
15611 Usage: $0 [OPTION]... [TAG]...
15613 -h, --help print this help, then exit
15614 -V, --version print version number and configuration settings, then exit
15615 -q, --quiet, --silent
15616 do not print progress messages
15617 -d, --debug don't remove temporary files
15618 --recheck update $as_me by reconfiguring in the same conditions
15619 --file=FILE[:TEMPLATE]
15620 instantiate the configuration file FILE
15621 --header=FILE[:TEMPLATE]
15622 instantiate the configuration header FILE
15624 Configuration files:
15627 Configuration headers:
15630 Configuration commands:
15633 Report bugs to <libmpx>."
15636 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15638 package-unused config.status version-unused
15639 configured by $0, generated by GNU Autoconf 2.64,
15640 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15642 Copyright (C) 2009 Free Software Foundation, Inc.
15643 This config.status script is free software; the Free Software Foundation
15644 gives unlimited permission to copy, distribute and modify it."
15651 test -n "\$AWK" || AWK=awk
15654 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15655 # The default lists apply if the user does not specify any file.
15661 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15662 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15673 # Handling of the options.
15674 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15676 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15677 $as_echo "$ac_cs_version"; exit ;;
15678 --debug |
--debu |
--deb |
--de |
--d |
-d )
15680 --file |
--fil |
--fi |
--f )
15683 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15685 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15686 ac_need_defaults
=false
;;
15687 --header |
--heade |
--head |
--hea )
15690 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15692 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15693 ac_need_defaults
=false
;;
15695 # Conflict between --help and --header
15696 as_fn_error
"ambiguous option: \`$1'
15697 Try \`$0 --help' for more information.";;
15698 --help |
--hel |
-h )
15699 $as_echo "$ac_cs_usage"; exit ;;
15700 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15701 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15704 # This is an error.
15705 -*) as_fn_error
"unrecognized option: \`$1'
15706 Try \`$0 --help' for more information." ;;
15708 *) as_fn_append ac_config_targets
" $1"
15709 ac_need_defaults
=false
;;
15715 ac_configure_extra_args
=
15717 if $ac_cs_silent; then
15719 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15723 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15724 if \$ac_cs_recheck; then
15725 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15727 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15728 CONFIG_SHELL='$SHELL'
15729 export CONFIG_SHELL
15734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15738 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15739 ## Running $as_me. ##
15745 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15753 with_multisubdir="$with_multisubdir"
15754 with_multisrctop="$with_multisrctop"
15755 with_target_subdir="$with_target_subdir"
15756 ac_configure_args="${multilib_arg} ${ac_configure_args}"
15757 multi_basedir="$multi_basedir"
15758 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
15761 GFORTRAN="$GFORTRAN"
15765 # The HP-UX ksh and POSIX shell print the target directory to stdout
15766 # if CDPATH is set.
15767 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15769 sed_quote_subst='$sed_quote_subst'
15770 double_quote_subst='$double_quote_subst'
15771 delay_variable_subst='$delay_variable_subst'
15772 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15773 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15774 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15775 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15776 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15777 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15778 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15779 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15780 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15781 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15782 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15783 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15784 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15785 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15786 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15787 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15788 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15789 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15790 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15791 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15792 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15793 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15794 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15795 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15796 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15797 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15798 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15799 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15800 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15801 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15802 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15803 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15804 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15805 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15806 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15807 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15808 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15809 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15810 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15811 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15812 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15813 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15814 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15815 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15816 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15817 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15818 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15819 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15820 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"`'
15821 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15822 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15823 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15824 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15825 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15826 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15827 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15828 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15829 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15830 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15831 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15832 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15833 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15834 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15835 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15836 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15837 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15838 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15839 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15840 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15841 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15842 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15843 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15844 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15845 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15846 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15847 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15848 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15849 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15850 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15851 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15852 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15853 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15854 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15855 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15856 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15857 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15858 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15859 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15860 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15861 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15862 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15863 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15864 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15865 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15866 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15867 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15868 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15869 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15870 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15871 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15872 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15873 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15874 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15875 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15876 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15877 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15878 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15879 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15880 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15881 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15882 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15883 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15884 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15885 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15886 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15887 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15888 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15889 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15890 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15891 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15892 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
15893 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
15894 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
15895 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
15896 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
15897 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
15898 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
15899 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
15900 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15901 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15902 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
15903 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
15904 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
15905 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
15906 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
15907 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
15908 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
15909 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
15910 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
15911 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15912 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15913 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
15914 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15915 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15916 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15917 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15918 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15919 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15920 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
15921 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15922 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15923 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15924 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
15925 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
15926 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
15927 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
15928 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
15929 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
15930 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
15931 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
15932 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
15933 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
15934 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
15935 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15936 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15937 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15938 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15939 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
15940 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
15941 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
15942 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15943 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15944 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
15945 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
15946 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
15949 LTCFLAGS='$LTCFLAGS'
15950 compiler='$compiler_DEFAULT'
15952 # A function that is used when there is no print builtin or printf.
15953 func_fallback_echo ()
15955 eval 'cat <<_LTECHO_EOF
15960 # Quote evaled strings.
15974 deplibs_check_method \
15983 lt_cv_sys_global_symbol_pipe \
15984 lt_cv_sys_global_symbol_to_cdecl \
15985 lt_cv_sys_global_symbol_to_c_name_address \
15986 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15987 lt_prog_compiler_no_builtin_flag \
15988 lt_prog_compiler_wl \
15989 lt_prog_compiler_pic \
15990 lt_prog_compiler_static \
15991 lt_cv_prog_compiler_c_o \
15999 export_dynamic_flag_spec \
16000 whole_archive_flag_spec \
16001 compiler_needs_object \
16003 allow_undefined_flag \
16004 no_undefined_flag \
16005 hardcode_libdir_flag_spec \
16006 hardcode_libdir_flag_spec_ld \
16007 hardcode_libdir_separator \
16012 variables_saved_for_relink \
16014 library_names_spec \
16016 install_override_mode \
16020 compiler_lib_search_dirs \
16025 compiler_lib_search_path \
16029 lt_prog_compiler_no_builtin_flag_CXX \
16030 lt_prog_compiler_wl_CXX \
16031 lt_prog_compiler_pic_CXX \
16032 lt_prog_compiler_static_CXX \
16033 lt_cv_prog_compiler_c_o_CXX \
16034 export_dynamic_flag_spec_CXX \
16035 whole_archive_flag_spec_CXX \
16036 compiler_needs_object_CXX \
16038 allow_undefined_flag_CXX \
16039 no_undefined_flag_CXX \
16040 hardcode_libdir_flag_spec_CXX \
16041 hardcode_libdir_flag_spec_ld_CXX \
16042 hardcode_libdir_separator_CXX \
16043 fix_srcfile_path_CXX \
16044 exclude_expsyms_CXX \
16045 include_expsyms_CXX \
16046 file_list_spec_CXX \
16047 compiler_lib_search_dirs_CXX \
16048 predep_objects_CXX \
16049 postdep_objects_CXX \
16052 compiler_lib_search_path_CXX; do
16053 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16054 *[\\\\\\\`\\"\\\$]*)
16055 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16058 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16063 # Double-quote double-evaled strings.
16064 for var in reload_cmds \
16065 old_postinstall_cmds \
16066 old_postuninstall_cmds \
16068 extract_expsyms_cmds \
16069 old_archive_from_new_cmds \
16070 old_archive_from_expsyms_cmds \
16072 archive_expsym_cmds \
16074 module_expsym_cmds \
16075 export_symbols_cmds \
16078 postuninstall_cmds \
16080 sys_lib_search_path_spec \
16081 sys_lib_dlsearch_path_spec \
16083 old_archive_cmds_CXX \
16084 old_archive_from_new_cmds_CXX \
16085 old_archive_from_expsyms_cmds_CXX \
16087 archive_expsym_cmds_CXX \
16089 module_expsym_cmds_CXX \
16090 export_symbols_cmds_CXX \
16091 prelink_cmds_CXX; do
16092 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16093 *[\\\\\\\`\\"\\\$]*)
16094 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16097 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16102 ac_aux_dir='$ac_aux_dir'
16103 xsi_shell='$xsi_shell'
16104 lt_shell_append='$lt_shell_append'
16106 # See if we are running on zsh, and set the options which allow our
16107 # commands through without removal of \ escapes INIT.
16108 if test -n "\${ZSH_VERSION+set}" ; then
16109 setopt NO_GLOB_SUBST
16115 TIMESTAMP='$TIMESTAMP'
16126 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16128 # Handling of arguments.
16129 for ac_config_target
in $ac_config_targets
16131 case $ac_config_target in
16132 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16133 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16134 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16135 "libmpx.spec") CONFIG_FILES
="$CONFIG_FILES libmpx.spec" ;;
16136 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
16137 "mpxrt/Makefile") CONFIG_FILES
="$CONFIG_FILES mpxrt/Makefile" ;;
16138 "mpxwrap/Makefile") CONFIG_FILES
="$CONFIG_FILES mpxwrap/Makefile" ;;
16140 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16145 # If the user did not use the arguments to specify the items to instantiate,
16146 # then the envvar interface is used. Set only those that are not.
16147 # We use the long form for the default assignment because of an extremely
16148 # bizarre bug on SunOS 4.1.3.
16149 if $ac_need_defaults; then
16150 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16151 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16152 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16155 # Have a temporary directory for convenience. Make it in the build tree
16156 # simply because there is no reason against having it here, and in addition,
16157 # creating and moving files from /tmp can sometimes cause problems.
16158 # Hook for its removal unless debugging.
16159 # Note that there is a small window in which the directory will not be cleaned:
16160 # after its creation but before its name has been assigned to `$tmp'.
16164 trap 'exit_status=$?
16165 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16167 trap 'as_fn_exit 1' 1 2 13 15
16169 # Create a (secure) tmp directory for tmp files.
16172 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16173 test -n "$tmp" && test -d "$tmp"
16176 tmp
=.
/conf$$
-$RANDOM
16177 (umask 077 && mkdir
"$tmp")
16178 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
16180 # Set up the scripts for CONFIG_FILES section.
16181 # No need to generate them if there are no CONFIG_FILES.
16182 # This happens for instance with `./config.status config.h'.
16183 if test -n "$CONFIG_FILES"; then
16186 ac_cr
=`echo X | tr X '\015'`
16187 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16188 # But we know of no other shell where ac_cr would be empty at this
16189 # point, so we can use a bashism as a fallback.
16190 if test "x$ac_cr" = x
; then
16191 eval ac_cr
=\$
\'\\r
\'
16193 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16194 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16197 ac_cs_awk_cr
=$ac_cr
16200 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16205 echo "cat >conf$$subs.awk <<_ACEOF" &&
16206 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16208 } >conf$$subs.sh ||
16209 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16210 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16212 for ac_last_try in false false false false false :; do
16213 . ./conf$$subs.sh ||
16214 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16216 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16217 if test $ac_delim_n = $ac_delim_num; then
16219 elif $ac_last_try; then
16220 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16222 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16225 rm -f conf$$subs.sh
16227 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16228 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16232 s/^/S["/; s
/!.
*/"]=/
16242 s/\(.\{148\}\).*/\1/
16244 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16249 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16256 s/\(.\{148\}\).*/\1/
16258 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16262 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16267 ' <conf$$subs.awk | sed '
16272 ' >>$CONFIG_STATUS || ac_write_fail=1
16273 rm -f conf$$subs.awk
16274 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16276 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16277 for (key in S) S_is_set[key] = 1
16283 nfields = split(line, field, "@
")
16285 len = length(field[1])
16286 for (i = 2; i < nfields; i++) {
16288 keylen = length(key)
16289 if (S_is_set[key]) {
16291 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16292 len += length(value) + length(field[++i])
16303 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16304 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16305 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16308 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16309 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
16312 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16313 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16314 # trailing colons and then remove the whole line if VPATH becomes empty
16315 # (actually we leave an empty line to preserve line numbers).
16316 if test "x
$srcdir" = x.; then
16317 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16318 s/:*\$(srcdir):*/:/
16319 s/:*\${srcdir}:*/:/
16321 s/^\([^=]*=[ ]*\):*/\1/
16327 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16328 fi # test -n "$CONFIG_FILES"
16330 # Set up the scripts for CONFIG_HEADERS section.
16331 # No need to generate them if there are no CONFIG_HEADERS.
16332 # This happens for instance with `./config.status Makefile'.
16333 if test -n "$CONFIG_HEADERS"; then
16334 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16338 # Transform confdefs.h into an awk script `defines.awk', embedded as
16339 # here-document in config.status, that substitutes the proper values into
16340 # config.h.in to produce config.h.
16342 # Create a delimiter string that does not exist in confdefs.h, to ease
16343 # handling of long lines.
16345 for ac_last_try in false false :; do
16346 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16347 if test -z "$ac_t"; then
16349 elif $ac_last_try; then
16350 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
16352 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16356 # For the awk script, D is an array of macro values keyed by name,
16357 # likewise P contains macro parameters if any. Preserve backslash
16358 # newline sequences.
16360 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16362 s/.\{148\}/&'"$ac_delim"'/g
16365 s/^[ ]*#[ ]*define[ ][ ]*/ /
16372 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16374 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16378 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16379 D["\
1"]=" \
3\\\\\\n
"\\/p
16381 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16386 s/.\{148\}/&'"$ac_delim"'/g
16391 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16394 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16396 ' <confdefs.h | sed '
16397 s/'"$ac_delim"'/"\\\
16398 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16400 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16401 for (key in D) D_is_set[key] = 1
16404 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16406 split(line, arg, " ")
16407 if (arg[1] == "#") {
16411 defundef
= substr
(arg
[1], 2)
16414 split(mac1
, mac2
, "(") #)
16416 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16417 if (D_is_set
[macro
]) {
16418 # Preserve the white space surrounding the "#".
16419 print prefix
"define", macro P
[macro
] D
[macro
]
16422 # Replace #undef with comments. This is necessary, for example,
16423 # in the case of _POSIX_SOURCE, which is predefined and required
16424 # on some systems where configure will not decide to define it.
16425 if (defundef
== "undef") {
16426 print
"/*", prefix defundef
, macro
, "*/"
16434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16435 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
16436 fi # test -n "$CONFIG_HEADERS"
16439 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16444 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16446 case $ac_mode$ac_tag in
16448 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16449 :[FH
]-) ac_tag
=-:-;;
16450 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16467 -) ac_f
="$tmp/stdin";;
16468 *) # Look for the file first in the build tree, then in the source tree
16469 # (if the path is not absolute). The absolute path cannot be DOS-style,
16470 # because $ac_f cannot contain `:'.
16474 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16476 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
16478 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16479 as_fn_append ac_file_inputs
" '$ac_f'"
16482 # Let's still pretend it is `configure' which instantiates (i.e., don't
16483 # use $as_me), people would be surprised to read:
16484 # /* config.h. Generated by config.status. */
16485 configure_input
='Generated from '`
16486 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16488 if test x
"$ac_file" != x-
; then
16489 configure_input
="$ac_file. $configure_input"
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16491 $as_echo "$as_me: creating $ac_file" >&6;}
16493 # Neutralize special characters interpreted by sed in replacement strings.
16494 case $configure_input in #(
16495 *\
&* |
*\|
* |
*\\* )
16496 ac_sed_conf_input
=`$as_echo "$configure_input" |
16497 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16498 *) ac_sed_conf_input
=$configure_input;;
16502 *:-:* |
*:-) cat >"$tmp/stdin" \
16503 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
16508 ac_dir
=`$as_dirname -- "$ac_file" ||
16509 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16510 X"$ac_file" : 'X\(//\)[^/]' \| \
16511 X"$ac_file" : 'X\(//\)$' \| \
16512 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16513 $as_echo X"$ac_file" |
16514 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16518 /^X\(\/\/\)[^/].*/{
16531 as_dir
="$ac_dir"; as_fn_mkdir_p
16535 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16537 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16538 # A ".." for each directory in $ac_dir_suffix.
16539 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16540 case $ac_top_builddir_sub in
16541 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16542 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16545 ac_abs_top_builddir
=$ac_pwd
16546 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16547 # for backward compatibility:
16548 ac_top_builddir
=$ac_top_build_prefix
16551 .
) # We are building in place.
16553 ac_top_srcdir
=$ac_top_builddir_sub
16554 ac_abs_top_srcdir
=$ac_pwd ;;
16555 [\\/]* | ?
:[\\/]* ) # Absolute name.
16556 ac_srcdir
=$srcdir$ac_dir_suffix;
16557 ac_top_srcdir
=$srcdir
16558 ac_abs_top_srcdir
=$srcdir ;;
16559 *) # Relative name.
16560 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16561 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16562 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16564 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16574 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16575 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16577 ac_MKDIR_P
=$MKDIR_P
16579 [\\/$
]* | ?
:[\\/]* ) ;;
16580 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16584 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16585 # If the template does not know about datarootdir, expand it.
16586 # FIXME: This hack should be removed a few years after 2.60.
16587 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16598 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16599 *datarootdir
*) ac_datarootdir_seen
=yes;;
16600 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16602 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16605 ac_datarootdir_hack='
16606 s&@datadir@&$datadir&g
16607 s&@docdir@&$docdir&g
16608 s&@infodir@&$infodir&g
16609 s&@localedir@&$localedir&g
16610 s&@mandir@&$mandir&g
16611 s&\\\${datarootdir}&$datarootdir&g' ;;
16615 # Neutralize VPATH when `$srcdir' = `.'.
16616 # Shell code in configure.ac might set extrasub.
16617 # FIXME: do we really want to maintain this feature?
16618 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16619 ac_sed_extra="$ac_vpsub
16622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16624 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16625 s|@configure_input@|
$ac_sed_conf_input|
;t t
16626 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16627 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16628 s
&@srcdir@
&$ac_srcdir&;t t
16629 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16630 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16631 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16632 s
&@builddir@
&$ac_builddir&;t t
16633 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16634 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16635 s
&@INSTALL@
&$ac_INSTALL&;t t
16636 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16637 $ac_datarootdir_hack
16639 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16640 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16642 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16643 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16644 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16646 which seems to be undefined. Please make sure it is defined." >&5
16647 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16648 which seems to be undefined. Please make sure it is defined." >&2;}
16652 -) cat "$tmp/out" && rm -f "$tmp/out";;
16653 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16655 || as_fn_error "could not create $ac_file" "$LINENO" 5
16661 if test x"$ac_file" != x-; then
16663 $as_echo "/* $configure_input */" \
16664 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16665 } >"$tmp/config.h" \
16666 || as_fn_error "could not create $ac_file" "$LINENO" 5
16667 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16668 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16669 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16672 mv "$tmp/config.h" "$ac_file" \
16673 || as_fn_error "could not create $ac_file" "$LINENO" 5
16676 $as_echo "/* $configure_input */" \
16677 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16678 || as_fn_error "could not create -" "$LINENO" 5
16680 # Compute "$ac_file"'s index
in $config_headers.
16683 for _am_header
in $config_headers :; do
16684 case $_am_header in
16685 $_am_arg |
$_am_arg:* )
16688 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16691 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16692 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16693 X"$_am_arg" : 'X\(//\)[^/]' \| \
16694 X"$_am_arg" : 'X\(//\)$' \| \
16695 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16696 $as_echo X"$_am_arg" |
16697 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16701 /^X\(\/\/\)[^/].*/{
16713 s/.*/./; q'`/stamp-h
$_am_stamp_count
16716 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16717 $as_echo "$as_me: executing $ac_file commands" >&6;}
16722 case $ac_file$ac_mode in
16724 # Only add multilib support code if we just rebuilt the top-level
16726 case " $CONFIG_FILES " in
16728 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
16733 # See if we are running on zsh, and set the options which allow our
16734 # commands through without removal of \ escapes.
16735 if test -n "${ZSH_VERSION+set}" ; then
16736 setopt NO_GLOB_SUBST
16739 cfgfile
="${ofile}T"
16740 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16743 cat <<_LT_EOF >> "$cfgfile"
16746 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16747 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16748 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16749 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16751 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16752 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16753 # Written by Gordon Matzigkeit, 1996
16755 # This file is part of GNU Libtool.
16757 # GNU Libtool is free software; you can redistribute it and/or
16758 # modify it under the terms of the GNU General Public License as
16759 # published by the Free Software Foundation; either version 2 of
16760 # the License, or (at your option) any later version.
16762 # As a special exception to the GNU General Public License,
16763 # if you distribute this file as part of a program or library that
16764 # is built using GNU Libtool, you may include this file under the
16765 # same distribution terms that you use for the rest of that program.
16767 # GNU Libtool is distributed in the hope that it will be useful,
16768 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16769 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16770 # GNU General Public License for more details.
16772 # You should have received a copy of the GNU General Public License
16773 # along with GNU Libtool; see the file COPYING. If not, a copy
16774 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16775 # obtained by writing to the Free Software Foundation, Inc.,
16776 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16779 # The names of the tagged configurations supported by this script.
16780 available_tags="CXX "
16782 # ### BEGIN LIBTOOL CONFIG
16784 # Which release of libtool.m4 was used?
16785 macro_version=$macro_version
16786 macro_revision=$macro_revision
16788 # Whether or not to build shared libraries.
16789 build_libtool_libs=$enable_shared
16791 # Whether or not to build static libraries.
16792 build_old_libs=$enable_static
16794 # What type of objects to build.
16797 # Whether or not to optimize for fast installation.
16798 fast_install=$enable_fast_install
16800 # Shell to use when invoking shell scripts.
16803 # An echo program that protects backslashes.
16807 host_alias=$host_alias
16811 # The build system.
16812 build_alias=$build_alias
16816 # A sed program that does not truncate output.
16819 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16820 Xsed="\$SED -e 1s/^X//"
16822 # A grep program that handles long lines.
16828 # A literal string matcher.
16831 # A BSD- or MS-compatible name lister.
16834 # Whether we need soft or hard links.
16837 # What is the maximum length of a command?
16838 max_cmd_len=$max_cmd_len
16840 # Object file suffix (normally "o").
16843 # Executable file suffix (normally "").
16846 # whether the shell understands "unset".
16849 # turn spaces into newlines.
16852 # turn newlines into spaces.
16855 # An object symbol dumper.
16856 OBJDUMP=$lt_OBJDUMP
16858 # Method to check whether dependent libraries are shared objects.
16859 deplibs_check_method=$lt_deplibs_check_method
16861 # Command to use when deplibs_check_method == "file_magic".
16862 file_magic_cmd=$lt_file_magic_cmd
16866 AR_FLAGS=$lt_AR_FLAGS
16868 # A symbol stripping program.
16871 # Commands used to install an old-style archive.
16873 old_postinstall_cmds=$lt_old_postinstall_cmds
16874 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16876 # Whether to use a lock for old archive extraction.
16877 lock_old_archive_extraction=$lock_old_archive_extraction
16882 # LTCC compiler flags.
16883 LTCFLAGS=$lt_CFLAGS
16885 # Take the output of nm and produce a listing of raw symbols and C names.
16886 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16888 # Transform the output of nm in a proper C declaration.
16889 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16891 # Transform the output of nm in a C name address pair.
16892 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16894 # Transform the output of nm in a C name address pair when lib prefix is needed.
16895 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16897 # The name of the directory that contains temporary libtool files.
16900 # Used to examine libraries when file_magic_cmd begins with "file".
16901 MAGIC_CMD=$MAGIC_CMD
16903 # Must we lock files when doing compilation?
16904 need_locks=$lt_need_locks
16906 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16907 DSYMUTIL=$lt_DSYMUTIL
16909 # Tool to change global to local symbols on Mac OS X.
16912 # Tool to manipulate fat objects and archives on Mac OS X.
16915 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16918 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16919 OTOOL64=$lt_OTOOL64
16921 # Old archive suffix (normally "a").
16924 # Shared library suffix (normally ".so").
16925 shrext_cmds=$lt_shrext_cmds
16927 # The commands to extract the exported symbol list from a shared archive.
16928 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16930 # Variables whose values should be saved in libtool wrapper scripts and
16931 # restored at link time.
16932 variables_saved_for_relink=$lt_variables_saved_for_relink
16934 # Do we need the "lib" prefix for modules?
16935 need_lib_prefix=$need_lib_prefix
16937 # Do we need a version for libraries?
16938 need_version=$need_version
16940 # Library versioning type.
16941 version_type=$version_type
16943 # Shared library runtime path variable.
16944 runpath_var=$runpath_var
16946 # Shared library path variable.
16947 shlibpath_var=$shlibpath_var
16949 # Is shlibpath searched before the hard-coded library search path?
16950 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16952 # Format of library name prefix.
16953 libname_spec=$lt_libname_spec
16955 # List of archive names. First name is the real one, the rest are links.
16956 # The last name is the one that the linker finds with -lNAME
16957 library_names_spec=$lt_library_names_spec
16959 # The coded name of the library, if different from the real name.
16960 soname_spec=$lt_soname_spec
16962 # Permission mode override for installation of shared libraries.
16963 install_override_mode=$lt_install_override_mode
16965 # Command to use after installation of a shared archive.
16966 postinstall_cmds=$lt_postinstall_cmds
16968 # Command to use after uninstallation of a shared archive.
16969 postuninstall_cmds=$lt_postuninstall_cmds
16971 # Commands used to finish a libtool library installation in a directory.
16972 finish_cmds=$lt_finish_cmds
16974 # As "finish_cmds", except a single script fragment to be evaled but
16976 finish_eval=$lt_finish_eval
16978 # Whether we should hardcode library paths into libraries.
16979 hardcode_into_libs=$hardcode_into_libs
16981 # Compile-time system search path for libraries.
16982 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16984 # Run-time system search path for libraries.
16985 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16987 # Whether dlopen is supported.
16988 dlopen_support=$enable_dlopen
16990 # Whether dlopen of programs is supported.
16991 dlopen_self=$enable_dlopen_self
16993 # Whether dlopen of statically linked programs is supported.
16994 dlopen_self_static=$enable_dlopen_self_static
16996 # Commands to strip libraries.
16997 old_striplib=$lt_old_striplib
16998 striplib=$lt_striplib
17001 # The linker used to build libraries.
17004 # How to create reloadable object files.
17005 reload_flag=$lt_reload_flag
17006 reload_cmds=$lt_reload_cmds
17008 # Commands used to build an old-style archive.
17009 old_archive_cmds=$lt_old_archive_cmds
17011 # A language specific compiler.
17014 # Is the compiler the GNU compiler?
17017 # Compiler flag to turn off builtin functions.
17018 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17020 # How to pass a linker flag through the compiler.
17021 wl=$lt_lt_prog_compiler_wl
17023 # Additional compiler flags for building library objects.
17024 pic_flag=$lt_lt_prog_compiler_pic
17026 # Compiler flag to prevent dynamic linking.
17027 link_static_flag=$lt_lt_prog_compiler_static
17029 # Does compiler simultaneously support -c and -o options?
17030 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17032 # Whether or not to add -lc for building shared libraries.
17033 build_libtool_need_lc=$archive_cmds_need_lc
17035 # Whether or not to disallow shared libs when runtime libs are static.
17036 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17038 # Compiler flag to allow reflexive dlopens.
17039 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17041 # Compiler flag to generate shared objects directly from archives.
17042 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17044 # Whether the compiler copes with passing no objects directly.
17045 compiler_needs_object=$lt_compiler_needs_object
17047 # Create an old-style archive from a shared archive.
17048 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17050 # Create a temporary old-style archive to link instead of a shared archive.
17051 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17053 # Commands used to build a shared archive.
17054 archive_cmds=$lt_archive_cmds
17055 archive_expsym_cmds=$lt_archive_expsym_cmds
17057 # Commands used to build a loadable module if different from building
17058 # a shared archive.
17059 module_cmds=$lt_module_cmds
17060 module_expsym_cmds=$lt_module_expsym_cmds
17062 # Whether we are building with GNU ld or not.
17063 with_gnu_ld=$lt_with_gnu_ld
17065 # Flag that allows shared libraries with undefined symbols to be built.
17066 allow_undefined_flag=$lt_allow_undefined_flag
17068 # Flag that enforces no undefined symbols.
17069 no_undefined_flag=$lt_no_undefined_flag
17071 # Flag to hardcode \$libdir into a binary during linking.
17072 # This must work even if \$libdir does not exist
17073 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17075 # If ld is used when linking, flag to hardcode \$libdir into a binary
17076 # during linking. This must work even if \$libdir does not exist.
17077 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17079 # Whether we need a single "-rpath" flag with a separated argument.
17080 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17082 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17083 # DIR into the resulting binary.
17084 hardcode_direct=$hardcode_direct
17086 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17087 # DIR into the resulting binary and the resulting library dependency is
17088 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17089 # library is relocated.
17090 hardcode_direct_absolute=$hardcode_direct_absolute
17092 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17093 # into the resulting binary.
17094 hardcode_minus_L=$hardcode_minus_L
17096 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17097 # into the resulting binary.
17098 hardcode_shlibpath_var=$hardcode_shlibpath_var
17100 # Set to "yes" if building a shared library automatically hardcodes DIR
17101 # into the library and all subsequent libraries and executables linked
17103 hardcode_automatic=$hardcode_automatic
17105 # Set to yes if linker adds runtime paths of dependent libraries
17106 # to runtime path list.
17107 inherit_rpath=$inherit_rpath
17109 # Whether libtool must link a program against all its dependency libraries.
17110 link_all_deplibs=$link_all_deplibs
17112 # Fix the shell variable \$srcfile for the compiler.
17113 fix_srcfile_path=$lt_fix_srcfile_path
17115 # Set to "yes" if exported symbols are required.
17116 always_export_symbols=$always_export_symbols
17118 # The commands to list exported symbols.
17119 export_symbols_cmds=$lt_export_symbols_cmds
17121 # Symbols that should not be listed in the preloaded symbols.
17122 exclude_expsyms=$lt_exclude_expsyms
17124 # Symbols that must always be exported.
17125 include_expsyms=$lt_include_expsyms
17127 # Commands necessary for linking programs (against libraries) with templates.
17128 prelink_cmds=$lt_prelink_cmds
17130 # Specify filename containing input files.
17131 file_list_spec=$lt_file_list_spec
17133 # How to hardcode a shared library path into an executable.
17134 hardcode_action=$hardcode_action
17136 # The directories searched by this compiler when creating a shared library.
17137 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17139 # Dependencies to place before and after the objects being linked to
17140 # create a shared library.
17141 predep_objects=$lt_predep_objects
17142 postdep_objects=$lt_postdep_objects
17143 predeps=$lt_predeps
17144 postdeps=$lt_postdeps
17146 # The library search path used internally by the compiler when linking
17147 # a shared library.
17148 compiler_lib_search_path=$lt_compiler_lib_search_path
17150 # ### END LIBTOOL CONFIG
17156 cat <<\_LT_EOF
>> "$cfgfile"
17157 # AIX sometimes has problems with the GCC collect2 program. For some
17158 # reason, if we set the COLLECT_NAMES environment variable, the problems
17159 # vanish in a puff of smoke.
17160 if test "X${COLLECT_NAMES+set}" != Xset
; then
17162 export COLLECT_NAMES
17169 ltmain
="$ac_aux_dir/ltmain.sh"
17172 # We use sed instead of cat because bash on DJGPP gets confused if
17173 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17174 # text mode, it properly converts lines to CR/LF. This bash problem
17175 # is reportedly fixed, but why not run on old versions too?
17176 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17177 ||
(rm -f "$cfgfile"; exit 1)
17181 cat << \_LT_EOF
>> "$cfgfile"
17183 # func_dirname file append nondir_replacement
17184 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17185 # otherwise set result to NONDIR_REPLACEMENT.
17189 */*) func_dirname_result
="${1%/*}${2}" ;;
17190 * ) func_dirname_result
="${3}" ;;
17194 # func_basename file
17197 func_basename_result
="${1##*/}"
17200 # func_dirname_and_basename file append nondir_replacement
17201 # perform func_basename and func_dirname in a single function
17203 # dirname: Compute the dirname of FILE. If nonempty,
17204 # add APPEND to the result, otherwise set result
17205 # to NONDIR_REPLACEMENT.
17206 # value returned in "$func_dirname_result"
17207 # basename: Compute filename of FILE.
17208 # value retuned in "$func_basename_result"
17209 # Implementation must be kept synchronized with func_dirname
17210 # and func_basename. For efficiency, we do not delegate to
17211 # those functions but instead duplicate the functionality here.
17212 func_dirname_and_basename
()
17215 */*) func_dirname_result
="${1%/*}${2}" ;;
17216 * ) func_dirname_result
="${3}" ;;
17218 func_basename_result
="${1##*/}"
17221 # func_stripname prefix suffix name
17222 # strip PREFIX and SUFFIX off of NAME.
17223 # PREFIX and SUFFIX must not contain globbing or regex special
17224 # characters, hashes, percent signs, but SUFFIX may contain a leading
17225 # dot (in which case that matches only a dot).
17228 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17229 # positional parameters, so assign one to ordinary parameter first.
17230 func_stripname_result
=${3}
17231 func_stripname_result
=${func_stripname_result#"${1}"}
17232 func_stripname_result
=${func_stripname_result%"${2}"}
17238 func_opt_split_opt
=${1%%=*}
17239 func_opt_split_arg
=${1#*=}
17246 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17247 *) func_lo2o_result
=${1} ;;
17251 # func_xform libobj-or-source
17254 func_xform_result
=${1%.*}.lo
17257 # func_arith arithmetic-term...
17260 func_arith_result
=$
(( $
* ))
17264 # STRING may not start with a hyphen.
17267 func_len_result
=${#1}
17272 *) # Bourne compatible functions.
17273 cat << \_LT_EOF
>> "$cfgfile"
17275 # func_dirname file append nondir_replacement
17276 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17277 # otherwise set result to NONDIR_REPLACEMENT.
17280 # Extract subdirectory from the argument.
17281 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17282 if test "X$func_dirname_result" = "X${1}"; then
17283 func_dirname_result
="${3}"
17285 func_dirname_result
="$func_dirname_result${2}"
17289 # func_basename file
17292 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17296 # func_stripname prefix suffix name
17297 # strip PREFIX and SUFFIX off of NAME.
17298 # PREFIX and SUFFIX must not contain globbing or regex special
17299 # characters, hashes, percent signs, but SUFFIX may contain a leading
17300 # dot (in which case that matches only a dot).
17301 # func_strip_suffix prefix name
17305 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17306 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17311 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17312 my_sed_long_arg
='1s/^-[^=]*=//'
17317 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17318 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17324 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17327 # func_xform libobj-or-source
17330 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17333 # func_arith arithmetic-term...
17336 func_arith_result
=`expr "$@"`
17340 # STRING may not start with a hyphen.
17343 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17349 case $lt_shell_append in
17351 cat << \_LT_EOF
>> "$cfgfile"
17353 # func_append var value
17354 # Append VALUE to the end of shell variable VAR.
17362 cat << \_LT_EOF
>> "$cfgfile"
17364 # func_append var value
17365 # Append VALUE to the end of shell variable VAR.
17376 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17377 ||
(rm -f "$cfgfile"; exit 1)
17379 mv -f "$cfgfile" "$ofile" ||
17380 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17384 cat <<_LT_EOF >> "$ofile"
17386 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17388 # The linker used to build libraries.
17391 # How to create reloadable object files.
17392 reload_flag=$lt_reload_flag_CXX
17393 reload_cmds=$lt_reload_cmds_CXX
17395 # Commands used to build an old-style archive.
17396 old_archive_cmds=$lt_old_archive_cmds_CXX
17398 # A language specific compiler.
17399 CC=$lt_compiler_CXX
17401 # Is the compiler the GNU compiler?
17404 # Compiler flag to turn off builtin functions.
17405 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17407 # How to pass a linker flag through the compiler.
17408 wl=$lt_lt_prog_compiler_wl_CXX
17410 # Additional compiler flags for building library objects.
17411 pic_flag=$lt_lt_prog_compiler_pic_CXX
17413 # Compiler flag to prevent dynamic linking.
17414 link_static_flag=$lt_lt_prog_compiler_static_CXX
17416 # Does compiler simultaneously support -c and -o options?
17417 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17419 # Whether or not to add -lc for building shared libraries.
17420 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17422 # Whether or not to disallow shared libs when runtime libs are static.
17423 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17425 # Compiler flag to allow reflexive dlopens.
17426 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17428 # Compiler flag to generate shared objects directly from archives.
17429 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17431 # Whether the compiler copes with passing no objects directly.
17432 compiler_needs_object=$lt_compiler_needs_object_CXX
17434 # Create an old-style archive from a shared archive.
17435 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17437 # Create a temporary old-style archive to link instead of a shared archive.
17438 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17440 # Commands used to build a shared archive.
17441 archive_cmds=$lt_archive_cmds_CXX
17442 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17444 # Commands used to build a loadable module if different from building
17445 # a shared archive.
17446 module_cmds=$lt_module_cmds_CXX
17447 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17449 # Whether we are building with GNU ld or not.
17450 with_gnu_ld=$lt_with_gnu_ld_CXX
17452 # Flag that allows shared libraries with undefined symbols to be built.
17453 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17455 # Flag that enforces no undefined symbols.
17456 no_undefined_flag=$lt_no_undefined_flag_CXX
17458 # Flag to hardcode \$libdir into a binary during linking.
17459 # This must work even if \$libdir does not exist
17460 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17462 # If ld is used when linking, flag to hardcode \$libdir into a binary
17463 # during linking. This must work even if \$libdir does not exist.
17464 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17466 # Whether we need a single "-rpath" flag with a separated argument.
17467 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17469 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17470 # DIR into the resulting binary.
17471 hardcode_direct=$hardcode_direct_CXX
17473 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17474 # DIR into the resulting binary and the resulting library dependency is
17475 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17476 # library is relocated.
17477 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17479 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17480 # into the resulting binary.
17481 hardcode_minus_L=$hardcode_minus_L_CXX
17483 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17484 # into the resulting binary.
17485 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17487 # Set to "yes" if building a shared library automatically hardcodes DIR
17488 # into the library and all subsequent libraries and executables linked
17490 hardcode_automatic=$hardcode_automatic_CXX
17492 # Set to yes if linker adds runtime paths of dependent libraries
17493 # to runtime path list.
17494 inherit_rpath=$inherit_rpath_CXX
17496 # Whether libtool must link a program against all its dependency libraries.
17497 link_all_deplibs=$link_all_deplibs_CXX
17499 # Fix the shell variable \$srcfile for the compiler.
17500 fix_srcfile_path=$lt_fix_srcfile_path_CXX
17502 # Set to "yes" if exported symbols are required.
17503 always_export_symbols=$always_export_symbols_CXX
17505 # The commands to list exported symbols.
17506 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17508 # Symbols that should not be listed in the preloaded symbols.
17509 exclude_expsyms=$lt_exclude_expsyms_CXX
17511 # Symbols that must always be exported.
17512 include_expsyms=$lt_include_expsyms_CXX
17514 # Commands necessary for linking programs (against libraries) with templates.
17515 prelink_cmds=$lt_prelink_cmds_CXX
17517 # Specify filename containing input files.
17518 file_list_spec=$lt_file_list_spec_CXX
17520 # How to hardcode a shared library path into an executable.
17521 hardcode_action=$hardcode_action_CXX
17523 # The directories searched by this compiler when creating a shared library.
17524 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17526 # Dependencies to place before and after the objects being linked to
17527 # create a shared library.
17528 predep_objects=$lt_predep_objects_CXX
17529 postdep_objects=$lt_postdep_objects_CXX
17530 predeps=$lt_predeps_CXX
17531 postdeps=$lt_postdeps_CXX
17533 # The library search path used internally by the compiler when linking
17534 # a shared library.
17535 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17537 # ### END LIBTOOL TAG CONFIG: CXX
17541 "mpxrt/Makefile":F
) cat > vpsed$$
<< \_EOF
17542 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17544 sed -f vpsed$$
$ac_file > tmp$$
17547 echo 'MULTISUBDIR =' >> $ac_file
17549 .
${multi_basedir}/config-ml.
in
17550 { ml_norecursion
=; unset ml_norecursion
;}
17552 "mpxwrap/Makefile":F
) cat > vpsed$$
<< \_EOF
17553 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17555 sed -f vpsed$$
$ac_file > tmp$$
17558 echo 'MULTISUBDIR =' >> $ac_file
17560 .
${multi_basedir}/config-ml.
in
17561 { ml_norecursion
=; unset ml_norecursion
;}
17570 ac_clean_files
=$ac_clean_files_save
17572 test $ac_write_fail = 0 ||
17573 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17576 # configure is writing to config.log, and then calls config.status.
17577 # config.status does its own redirection, appending to config.log.
17578 # Unfortunately, on DOS this fails, as config.log is still kept open
17579 # by configure, so config.status won't be able to write to it; its
17580 # output is simply discarded. So we exec the FD to /dev/null,
17581 # effectively closing config.log, so it can be properly (re)opened and
17582 # appended to by config.status. When coming back to configure, we
17583 # need to make the FD available again.
17584 if test "$no_create" != yes; then
17586 ac_config_status_args
=
17587 test "$silent" = yes &&
17588 ac_config_status_args
="$ac_config_status_args --quiet"
17590 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17592 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17593 # would make configure fail if this is the last instruction.
17594 $ac_cs_success || as_fn_exit $?
17596 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17598 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}