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
645 MAINTAINER_MODE_FALSE
656 INSTALL_STRIP_PROGRAM
672 LIBMPX_SUPPORTED_FALSE
673 LIBMPX_SUPPORTED_TRUE
674 LIBSTDCXX_RAW_CXX_LDFLAGS
675 LIBSTDCXX_RAW_CXX_CXXFLAGS
716 program_transform_name
729 enable_option_checking
730 enable_version_specific_runtime_libs
732 enable_maintainer_mode
740 ac_precious_vars
='build_alias
752 # Initialize some variables set by options.
754 ac_init_version
=false
755 ac_unrecognized_opts
=
757 # The variables have the same names as the options, with
758 # dashes changed to underlines.
766 program_transform_name
=s
,x
,x
,
774 # Installation directory options.
775 # These are left unexpanded so users can "make install exec_prefix=/foo"
776 # and all the variables that are supposed to be based on exec_prefix
777 # by default will actually change.
778 # Use braces instead of parens because sh, perl, etc. also accept them.
779 # (The list follows the same order as the GNU Coding Standards.)
780 bindir
='${exec_prefix}/bin'
781 sbindir
='${exec_prefix}/sbin'
782 libexecdir
='${exec_prefix}/libexec'
783 datarootdir
='${prefix}/share'
784 datadir
='${datarootdir}'
785 sysconfdir
='${prefix}/etc'
786 sharedstatedir
='${prefix}/com'
787 localstatedir
='${prefix}/var'
788 includedir
='${prefix}/include'
789 oldincludedir
='/usr/include'
790 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
791 infodir
='${datarootdir}/info'
796 libdir
='${exec_prefix}/lib'
797 localedir
='${datarootdir}/locale'
798 mandir
='${datarootdir}/man'
804 # If the previous option needs an argument, assign it.
805 if test -n "$ac_prev"; then
806 eval $ac_prev=\
$ac_option
812 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
816 # Accept the important Cygnus configure options, so we can diagnose typos.
818 case $ac_dashdash$ac_option in
822 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
824 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
827 -build |
--build |
--buil |
--bui |
--bu)
828 ac_prev
=build_alias
;;
829 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
830 build_alias
=$ac_optarg ;;
832 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
833 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
834 ac_prev
=cache_file
;;
835 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
836 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
837 cache_file
=$ac_optarg ;;
840 cache_file
=config.cache
;;
842 -datadir |
--datadir |
--datadi |
--datad)
844 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
845 datadir
=$ac_optarg ;;
847 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
848 |
--dataroo |
--dataro |
--datar)
849 ac_prev
=datarootdir
;;
850 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
851 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
852 datarootdir
=$ac_optarg ;;
854 -disable-* |
--disable-*)
855 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
856 # Reject names that are not valid shell variable names.
857 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
858 as_fn_error
"invalid feature name: $ac_useropt"
859 ac_useropt_orig
=$ac_useropt
860 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
861 case $ac_user_opts in
865 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
866 ac_unrecognized_sep
=', ';;
868 eval enable_
$ac_useropt=no
;;
870 -docdir |
--docdir |
--docdi |
--doc |
--do)
872 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
875 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
877 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
880 -enable-* |
--enable-*)
881 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
882 # Reject names that are not valid shell variable names.
883 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
884 as_fn_error
"invalid feature name: $ac_useropt"
885 ac_useropt_orig
=$ac_useropt
886 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
887 case $ac_user_opts in
891 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
892 ac_unrecognized_sep
=', ';;
894 eval enable_
$ac_useropt=\
$ac_optarg ;;
896 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
897 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
898 |
--exec |
--exe |
--ex)
899 ac_prev
=exec_prefix
;;
900 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
901 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
902 |
--exec=* |
--exe=* |
--ex=*)
903 exec_prefix
=$ac_optarg ;;
905 -gas |
--gas |
--ga |
--g)
906 # Obsolete; use --with-gas.
909 -help |
--help |
--hel |
--he |
-h)
911 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
912 ac_init_help
=recursive
;;
913 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
914 ac_init_help
=short
;;
916 -host |
--host |
--hos |
--ho)
917 ac_prev
=host_alias
;;
918 -host=* |
--host=* |
--hos=* |
--ho=*)
919 host_alias
=$ac_optarg ;;
921 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
923 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
925 htmldir
=$ac_optarg ;;
927 -includedir |
--includedir |
--includedi |
--included |
--include \
928 |
--includ |
--inclu |
--incl |
--inc)
929 ac_prev
=includedir
;;
930 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
931 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
932 includedir
=$ac_optarg ;;
934 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
936 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
937 infodir
=$ac_optarg ;;
939 -libdir |
--libdir |
--libdi |
--libd)
941 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
944 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
945 |
--libexe |
--libex |
--libe)
946 ac_prev
=libexecdir
;;
947 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
948 |
--libexe=* |
--libex=* |
--libe=*)
949 libexecdir
=$ac_optarg ;;
951 -localedir |
--localedir |
--localedi |
--localed |
--locale)
953 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
954 localedir
=$ac_optarg ;;
956 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
957 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
958 ac_prev
=localstatedir
;;
959 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
960 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
961 localstatedir
=$ac_optarg ;;
963 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
965 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
969 # Obsolete; use --without-fp.
972 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
973 |
--no-cr |
--no-c |
-n)
976 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
977 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
980 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
981 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
982 |
--oldin |
--oldi |
--old |
--ol |
--o)
983 ac_prev
=oldincludedir
;;
984 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
985 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
986 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
987 oldincludedir
=$ac_optarg ;;
989 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
991 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
994 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
995 |
--program-pre |
--program-pr |
--program-p)
996 ac_prev
=program_prefix
;;
997 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
998 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
999 program_prefix
=$ac_optarg ;;
1001 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1002 |
--program-suf |
--program-su |
--program-s)
1003 ac_prev
=program_suffix
;;
1004 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1005 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1006 program_suffix
=$ac_optarg ;;
1008 -program-transform-name |
--program-transform-name \
1009 |
--program-transform-nam |
--program-transform-na \
1010 |
--program-transform-n |
--program-transform- \
1011 |
--program-transform |
--program-transfor \
1012 |
--program-transfo |
--program-transf \
1013 |
--program-trans |
--program-tran \
1014 |
--progr-tra |
--program-tr |
--program-t)
1015 ac_prev
=program_transform_name
;;
1016 -program-transform-name=* |
--program-transform-name=* \
1017 |
--program-transform-nam=* |
--program-transform-na=* \
1018 |
--program-transform-n=* |
--program-transform-=* \
1019 |
--program-transform=* |
--program-transfor=* \
1020 |
--program-transfo=* |
--program-transf=* \
1021 |
--program-trans=* |
--program-tran=* \
1022 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1023 program_transform_name
=$ac_optarg ;;
1025 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1027 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1028 pdfdir
=$ac_optarg ;;
1030 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1032 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1035 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1036 |
-silent |
--silent |
--silen |
--sile |
--sil)
1039 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1041 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1043 sbindir
=$ac_optarg ;;
1045 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1046 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1047 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1049 ac_prev
=sharedstatedir
;;
1050 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1051 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1052 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1054 sharedstatedir
=$ac_optarg ;;
1056 -site |
--site |
--sit)
1058 -site=* |
--site=* |
--sit=*)
1061 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1063 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1064 srcdir
=$ac_optarg ;;
1066 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1067 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1068 ac_prev
=sysconfdir
;;
1069 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1070 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1071 sysconfdir
=$ac_optarg ;;
1073 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1074 ac_prev
=target_alias
;;
1075 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1076 target_alias
=$ac_optarg ;;
1078 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1081 -version |
--version |
--versio |
--versi |
--vers |
-V)
1082 ac_init_version
=: ;;
1085 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1086 # Reject names that are not valid shell variable names.
1087 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1088 as_fn_error
"invalid package name: $ac_useropt"
1089 ac_useropt_orig
=$ac_useropt
1090 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1091 case $ac_user_opts in
1095 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1096 ac_unrecognized_sep
=', ';;
1098 eval with_
$ac_useropt=\
$ac_optarg ;;
1100 -without-* |
--without-*)
1101 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1102 # Reject names that are not valid shell variable names.
1103 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1104 as_fn_error
"invalid package name: $ac_useropt"
1105 ac_useropt_orig
=$ac_useropt
1106 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1107 case $ac_user_opts in
1111 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1112 ac_unrecognized_sep
=', ';;
1114 eval with_
$ac_useropt=no
;;
1117 # Obsolete; use --with-x.
1120 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1121 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1122 ac_prev
=x_includes
;;
1123 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1124 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1125 x_includes
=$ac_optarg ;;
1127 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1128 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1129 ac_prev
=x_libraries
;;
1130 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1131 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1132 x_libraries
=$ac_optarg ;;
1134 -*) as_fn_error
"unrecognized option: \`$ac_option'
1135 Try \`$0 --help' for more information."
1139 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1140 # Reject names that are not valid shell variable names.
1141 case $ac_envvar in #(
1142 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1143 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1145 eval $ac_envvar=\
$ac_optarg
1146 export $ac_envvar ;;
1149 # FIXME: should be removed in autoconf 3.0.
1150 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1151 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1152 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1153 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1159 if test -n "$ac_prev"; then
1160 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1161 as_fn_error
"missing argument to $ac_option"
1164 if test -n "$ac_unrecognized_opts"; then
1165 case $enable_option_checking in
1167 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1168 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1172 # Check all directory arguments for consistency.
1173 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1174 datadir sysconfdir sharedstatedir localstatedir includedir \
1175 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1176 libdir localedir mandir
1178 eval ac_val
=\$
$ac_var
1179 # Remove trailing slashes.
1182 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1183 eval $ac_var=\
$ac_val;;
1185 # Be sure to have absolute directory names.
1187 [\\/$
]* | ?
:[\\/]* ) continue;;
1188 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1190 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1193 # There might be people who depend on the old broken behavior: `$host'
1194 # used to hold the argument of --host etc.
1195 # FIXME: To remove some day.
1198 target
=$target_alias
1200 # FIXME: To remove some day.
1201 if test "x$host_alias" != x
; then
1202 if test "x$build_alias" = x
; then
1203 cross_compiling
=maybe
1204 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1205 If a cross compiler is detected then cross compile mode will be used." >&2
1206 elif test "x$build_alias" != "x$host_alias"; then
1212 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1214 test "$silent" = yes && exec 6>/dev
/null
1217 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1218 ac_ls_di
=`ls -di .` &&
1219 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1220 as_fn_error
"working directory cannot be determined"
1221 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1222 as_fn_error
"pwd does not report name of working directory"
1225 # Find the source files, if location was not specified.
1226 if test -z "$srcdir"; then
1227 ac_srcdir_defaulted
=yes
1228 # Try the directory containing this script, then the parent directory.
1229 ac_confdir
=`$as_dirname -- "$as_myself" ||
1230 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1231 X"$as_myself" : 'X\(//\)[^/]' \| \
1232 X"$as_myself" : 'X\(//\)$' \| \
1233 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1234 $as_echo X"$as_myself" |
1235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1253 if test ! -r "$srcdir/$ac_unique_file"; then
1257 ac_srcdir_defaulted
=no
1259 if test ! -r "$srcdir/$ac_unique_file"; then
1260 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1261 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1263 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1265 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1267 # When building in place, set srcdir=.
1268 if test "$ac_abs_confdir" = "$ac_pwd"; then
1271 # Remove unnecessary trailing slashes from srcdir.
1272 # Double slashes in file names in object file debugging info
1273 # mess up M-x gdb in Emacs.
1275 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1277 for ac_var
in $ac_precious_vars; do
1278 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1279 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1280 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1281 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1285 # Report the --help message.
1287 if test "$ac_init_help" = "long"; then
1288 # Omit some internal or obsolete options to make the list less imposing.
1289 # This message is too long to be a string in the A/UX 3.1 sh.
1291 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1293 Usage: $0 [OPTION]... [VAR=VALUE]...
1295 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1296 VAR=VALUE. See below for descriptions of some of the useful variables.
1298 Defaults for the options are specified in brackets.
1301 -h, --help display this help and exit
1302 --help=short display options specific to this package
1303 --help=recursive display the short help of all the included packages
1304 -V, --version display version information and exit
1305 -q, --quiet, --silent do not print \`checking...' messages
1306 --cache-file=FILE cache test results in FILE [disabled]
1307 -C, --config-cache alias for \`--cache-file=config.cache'
1308 -n, --no-create do not create output files
1309 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1311 Installation directories:
1312 --prefix=PREFIX install architecture-independent files in PREFIX
1313 [$ac_default_prefix]
1314 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1317 By default, \`make install' will install all the files in
1318 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1319 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1320 for instance \`--prefix=\$HOME'.
1322 For better control, use the options below.
1324 Fine tuning of the installation directories:
1325 --bindir=DIR user executables [EPREFIX/bin]
1326 --sbindir=DIR system admin executables [EPREFIX/sbin]
1327 --libexecdir=DIR program executables [EPREFIX/libexec]
1328 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1329 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1330 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1331 --libdir=DIR object code libraries [EPREFIX/lib]
1332 --includedir=DIR C header files [PREFIX/include]
1333 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1334 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1335 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1336 --infodir=DIR info documentation [DATAROOTDIR/info]
1337 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1338 --mandir=DIR man documentation [DATAROOTDIR/man]
1339 --docdir=DIR documentation root [DATAROOTDIR/doc/package-unused]
1340 --htmldir=DIR html documentation [DOCDIR]
1341 --dvidir=DIR dvi documentation [DOCDIR]
1342 --pdfdir=DIR pdf documentation [DOCDIR]
1343 --psdir=DIR ps documentation [DOCDIR]
1349 --program-prefix=PREFIX prepend PREFIX to installed program names
1350 --program-suffix=SUFFIX append SUFFIX to installed program names
1351 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1354 --build=BUILD configure
for building on BUILD
[guessed
]
1355 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1356 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1360 if test -n "$ac_init_help"; then
1361 case $ac_init_help in
1362 short | recursive
) echo "Configuration of package-unused version-unused:";;
1367 --disable-option-checking ignore unrecognized
--enable/--with options
1368 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1369 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1370 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1371 --enable-multilib build many library versions
(default
)
1372 --enable-maintainer-mode enable make rules and dependencies not useful
1373 (and sometimes confusing
) to the casual installer
1374 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1375 --enable-static[=PKGS
] build static libraries
[default
=yes]
1376 --enable-fast-install[=PKGS
]
1377 optimize
for fast installation
[default
=yes]
1378 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1381 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1382 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1383 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1385 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1387 Some influential environment variables
:
1388 CC C compiler
command
1389 CFLAGS C compiler flags
1390 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1391 nonstandard directory
<lib dir
>
1392 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1393 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1394 you have headers
in a nonstandard directory
<include dir
>
1396 CXX C
++ compiler
command
1397 CXXFLAGS C
++ compiler flags
1398 CXXCPP C
++ preprocessor
1400 Use these variables to override the choices made by
`configure' or to help
1401 it to find libraries and programs with nonstandard names/locations.
1403 Report bugs to <libmpx>.
1408 if test "$ac_init_help" = "recursive"; then
1409 # If there are subdirs, report their specific --help.
1410 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1411 test -d "$ac_dir" ||
1412 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1417 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1419 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1420 # A ".." for each directory in $ac_dir_suffix.
1421 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1422 case $ac_top_builddir_sub in
1423 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1424 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1427 ac_abs_top_builddir=$ac_pwd
1428 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1429 # for backward compatibility:
1430 ac_top_builddir=$ac_top_build_prefix
1433 .) # We are building in place.
1435 ac_top_srcdir=$ac_top_builddir_sub
1436 ac_abs_top_srcdir=$ac_pwd ;;
1437 [\\/]* | ?:[\\/]* ) # Absolute name.
1438 ac_srcdir=$srcdir$ac_dir_suffix;
1439 ac_top_srcdir=$srcdir
1440 ac_abs_top_srcdir=$srcdir ;;
1442 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1443 ac_top_srcdir=$ac_top_build_prefix$srcdir
1444 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1446 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1448 cd "$ac_dir" || { ac_status=$?; continue; }
1449 # Check for guested configure.
1450 if test -f "$ac_srcdir/configure.gnu"; then
1452 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1453 elif test -f "$ac_srcdir/configure"; then
1455 $SHELL "$ac_srcdir/configure" --help=recursive
1457 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1459 cd "$ac_pwd" || { ac_status=$?; break; }
1463 test -n "$ac_init_help" && exit $ac_status
1464 if $ac_init_version; then
1466 package-unused configure version-unused
1467 generated by GNU Autoconf 2.64
1469 Copyright (C) 2009 Free Software Foundation, Inc.
1470 This configure script is free software; the Free Software Foundation
1471 gives unlimited permission to copy, distribute and modify it.
1476 ## ------------------------ ##
1477 ## Autoconf initialization. ##
1478 ## ------------------------ ##
1480 # ac_fn_c_try_compile LINENO
1481 # --------------------------
1482 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1483 ac_fn_c_try_compile ()
1485 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1486 rm -f conftest.$ac_objext
1487 if { { ac_try="$ac_compile"
1489 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1490 *) ac_try_echo
=$ac_try;;
1492 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1493 $as_echo "$ac_try_echo"; } >&5
1494 (eval "$ac_compile") 2>conftest.err
1496 if test -s conftest.err
; then
1497 grep -v '^ *+' conftest.err
>conftest.er1
1498 cat conftest.er1
>&5
1499 mv -f conftest.er1 conftest.err
1501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1502 test $ac_status = 0; } && {
1503 test -z "$ac_c_werror_flag" ||
1504 test ! -s conftest.err
1505 } && test -s conftest.
$ac_objext; then :
1508 $as_echo "$as_me: failed program was:" >&5
1509 sed 's/^/| /' conftest.
$ac_ext >&5
1513 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1516 } # ac_fn_c_try_compile
1518 # ac_fn_c_try_cpp LINENO
1519 # ----------------------
1520 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1523 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1524 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1526 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1527 *) ac_try_echo=$ac_try;;
1529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1530 $as_echo "$ac_try_echo"; } >&5
1531 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1533 if test -s conftest.err; then
1534 grep -v '^ *+' conftest.err >conftest.er1
1535 cat conftest.er1 >&5
1536 mv -f conftest.er1 conftest.err
1538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1539 test $ac_status = 0; } >/dev/null && {
1540 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1541 test ! -s conftest.err
1545 $as_echo "$as_me: failed program was:" >&5
1546 sed 's/^/| /' conftest.$ac_ext >&5
1550 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1555 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1556 # -------------------------------------------------------
1557 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1558 # the include files in INCLUDES and setting the cache variable VAR
1560 ac_fn_c_check_header_mongrel ()
1562 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1563 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1565 $as_echo_n "checking for $2... " >&6; }
1566 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1567 $as_echo_n "(cached) " >&6
1570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1571 $as_echo "$ac_res" >&6; }
1573 # Is the header compilable?
1574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1575 $as_echo_n "checking $2 usability... " >&6; }
1576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1577 /* end confdefs.h. */
1581 if ac_fn_c_try_compile "$LINENO"; then :
1582 ac_header_compiler=yes
1584 ac_header_compiler=no
1586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1588 $as_echo "$ac_header_compiler" >&6; }
1590 # Is the header present?
1591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1592 $as_echo_n "checking $2 presence... " >&6; }
1593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1594 /* end confdefs.h. */
1597 if ac_fn_c_try_cpp "$LINENO"; then :
1598 ac_header_preproc=yes
1600 ac_header_preproc=no
1602 rm -f conftest.err conftest.$ac_ext
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1604 $as_echo "$ac_header_preproc" >&6; }
1606 # So? What about this header?
1607 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1610 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1612 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1616 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1618 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1620 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1622 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1624 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1626 ## --------------------- ##
1627 ## Report this to libmpx ##
1628 ## --------------------- ##
1630 ) | sed "s/^/$as_me: WARNING: /" >&2
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1634 $as_echo_n "checking for $2... " >&6; }
1635 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1636 $as_echo_n "(cached) " >&6
1638 eval "$3=\$ac_header_compiler"
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1642 $as_echo "$ac_res" >&6; }
1644 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1646 } # ac_fn_c_check_header_mongrel
1648 # ac_fn_c_try_run LINENO
1649 # ----------------------
1650 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1651 # that executables *can* be run.
1654 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1655 if { { ac_try="$ac_link"
1657 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1658 *) ac_try_echo
=$ac_try;;
1660 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1661 $as_echo "$ac_try_echo"; } >&5
1662 (eval "$ac_link") 2>&5
1664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1665 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1666 { { case "(($ac_try" in
1667 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1668 *) ac_try_echo=$ac_try;;
1670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1671 $as_echo "$ac_try_echo"; } >&5
1672 (eval "$ac_try") 2>&5
1674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1675 test $ac_status = 0; }; }; then :
1678 $as_echo "$as_me: program exited with status $ac_status" >&5
1679 $as_echo "$as_me: failed program was:" >&5
1680 sed 's/^/| /' conftest.$ac_ext >&5
1682 ac_retval=$ac_status
1684 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1685 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1690 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1691 # -------------------------------------------------------
1692 # Tests whether HEADER exists and can be compiled using the include files in
1693 # INCLUDES, setting the cache variable VAR accordingly.
1694 ac_fn_c_check_header_compile ()
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1698 $as_echo_n "checking for $2... " >&6; }
1699 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1700 $as_echo_n "(cached) " >&6
1702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1703 /* end confdefs.h. */
1707 if ac_fn_c_try_compile "$LINENO"; then :
1712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1716 $as_echo "$ac_res" >&6; }
1717 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1719 } # ac_fn_c_check_header_compile
1721 # ac_fn_c_try_link LINENO
1722 # -----------------------
1723 # Try to link conftest.$ac_ext, and return whether this succeeded.
1726 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1727 rm -f conftest.$ac_objext conftest$ac_exeext
1728 if { { ac_try="$ac_link"
1730 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1731 *) ac_try_echo
=$ac_try;;
1733 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1734 $as_echo "$ac_try_echo"; } >&5
1735 (eval "$ac_link") 2>conftest.err
1737 if test -s conftest.err
; then
1738 grep -v '^ *+' conftest.err
>conftest.er1
1739 cat conftest.er1
>&5
1740 mv -f conftest.er1 conftest.err
1742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1743 test $ac_status = 0; } && {
1744 test -z "$ac_c_werror_flag" ||
1745 test ! -s conftest.err
1746 } && test -s conftest
$ac_exeext && {
1747 test "$cross_compiling" = yes ||
1748 $as_test_x conftest
$ac_exeext
1752 $as_echo "$as_me: failed program was:" >&5
1753 sed 's/^/| /' conftest.
$ac_ext >&5
1757 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1758 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1759 # interfere with the next link command; also delete a directory that is
1760 # left behind by Apple's compiler. We do this before executing the actions.
1761 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1762 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1765 } # ac_fn_c_try_link
1767 # ac_fn_c_check_func LINENO FUNC VAR
1768 # ----------------------------------
1769 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1770 ac_fn_c_check_func
()
1772 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1774 $as_echo_n "checking for $2... " >&6; }
1775 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1776 $as_echo_n "(cached) " >&6
1778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1779 /* end confdefs.h. */
1780 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1782 #define $2 innocuous_$2
1784 /* System header to define __stub macros and hopefully few prototypes,
1785 which can conflict with char $2 (); below.
1786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1787 <limits.h> exists even on freestanding compilers. */
1790 # include <limits.h>
1792 # include <assert.h>
1797 /* Override any GCC internal prototype to avoid an error.
1798 Use char because int might match the return type of a GCC
1799 builtin and then its argument prototype would still apply. */
1804 /* The GNU C library defines this for functions which it implements
1805 to always fail with ENOSYS. Some functions are actually named
1806 something starting with __ and the normal name is an alias. */
1807 #if defined __stub_$2 || defined __stub___$2
1819 if ac_fn_c_try_link
"$LINENO"; then :
1824 rm -f core conftest.err conftest.
$ac_objext \
1825 conftest
$ac_exeext conftest.
$ac_ext
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1829 $as_echo "$ac_res" >&6; }
1830 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1832 } # ac_fn_c_check_func
1834 # ac_fn_cxx_try_compile LINENO
1835 # ----------------------------
1836 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1837 ac_fn_cxx_try_compile
()
1839 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1840 rm -f conftest.
$ac_objext
1841 if { { ac_try
="$ac_compile"
1843 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1844 *) ac_try_echo=$ac_try;;
1846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1847 $as_echo "$ac_try_echo"; } >&5
1848 (eval "$ac_compile") 2>conftest.err
1850 if test -s conftest.err; then
1851 grep -v '^ *+' conftest.err >conftest.er1
1852 cat conftest.er1 >&5
1853 mv -f conftest.er1 conftest.err
1855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1856 test $ac_status = 0; } && {
1857 test -z "$ac_cxx_werror_flag" ||
1858 test ! -s conftest.err
1859 } && test -s conftest.$ac_objext; then :
1862 $as_echo "$as_me: failed program was:" >&5
1863 sed 's/^/| /' conftest.$ac_ext >&5
1867 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1870 } # ac_fn_cxx_try_compile
1872 # ac_fn_cxx_try_cpp LINENO
1873 # ------------------------
1874 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1875 ac_fn_cxx_try_cpp ()
1877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1878 if { { ac_try="$ac_cpp conftest.$ac_ext"
1880 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1881 *) ac_try_echo
=$ac_try;;
1883 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1884 $as_echo "$ac_try_echo"; } >&5
1885 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1887 if test -s conftest.err
; then
1888 grep -v '^ *+' conftest.err
>conftest.er1
1889 cat conftest.er1
>&5
1890 mv -f conftest.er1 conftest.err
1892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1893 test $ac_status = 0; } >/dev
/null
&& {
1894 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1895 test ! -s conftest.err
1899 $as_echo "$as_me: failed program was:" >&5
1900 sed 's/^/| /' conftest.
$ac_ext >&5
1904 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1907 } # ac_fn_cxx_try_cpp
1909 # ac_fn_cxx_try_link LINENO
1910 # -------------------------
1911 # Try to link conftest.$ac_ext, and return whether this succeeded.
1912 ac_fn_cxx_try_link
()
1914 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1915 rm -f conftest.
$ac_objext conftest
$ac_exeext
1916 if { { ac_try
="$ac_link"
1918 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1919 *) ac_try_echo=$ac_try;;
1921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1922 $as_echo "$ac_try_echo"; } >&5
1923 (eval "$ac_link") 2>conftest.err
1925 if test -s conftest.err; then
1926 grep -v '^ *+' conftest.err >conftest.er1
1927 cat conftest.er1 >&5
1928 mv -f conftest.er1 conftest.err
1930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1931 test $ac_status = 0; } && {
1932 test -z "$ac_cxx_werror_flag" ||
1933 test ! -s conftest.err
1934 } && test -s conftest$ac_exeext && {
1935 test "$cross_compiling" = yes ||
1936 $as_test_x conftest$ac_exeext
1940 $as_echo "$as_me: failed program was:" >&5
1941 sed 's/^/| /' conftest.$ac_ext >&5
1945 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1946 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1947 # interfere with the next link command; also delete a directory that is
1948 # left behind by Apple's compiler. We do this before executing the actions.
1949 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1950 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1953 } # ac_fn_cxx_try_link
1954 cat >config.log <<_ACEOF
1955 This file contains any messages produced by compilers while
1956 running configure, to aid debugging if configure makes a mistake.
1958 It was created by package-unused $as_me version-unused, which was
1959 generated by GNU Autoconf 2.64. Invocation command line was
1971 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1972 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1973 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1974 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1975 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1977 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1978 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1980 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1981 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1982 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1983 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1984 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1985 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1986 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1994 test -z "$as_dir" && as_dir=.
1995 $as_echo "PATH: $as_dir"
2011 # Keep a trace of the command line.
2012 # Strip out --no-create and --no-recursion so they do not pile up.
2013 # Strip out --silent because we don't want to record it for future runs.
2014 # Also quote any args containing shell meta-characters.
2015 # Make two passes to allow for proper duplicate-argument suppression.
2019 ac_must_keep_next=false
2025 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2026 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2027 | -silent | --silent | --silen | --sile | --sil)
2030 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2033 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2035 as_fn_append ac_configure_args1 " '$ac_arg'"
2036 if test $ac_must_keep_next = true; then
2037 ac_must_keep_next=false # Got value, back to normal.
2040 *=* | --config-cache | -C | -disable-* | --disable-* \
2041 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2042 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2043 | -with-* | --with-* | -without-* | --without-* | --x)
2044 case "$ac_configure_args0 " in
2045 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2048 -* ) ac_must_keep_next=true ;;
2051 as_fn_append ac_configure_args " '$ac_arg'"
2056 { ac_configure_args0=; unset ac_configure_args0;}
2057 { ac_configure_args1=; unset ac_configure_args1;}
2059 # When interrupted or exit'd, cleanup temporary files, and complete
2060 # config.log. We remove comments because anyway the quotes in there
2061 # would cause problems or look ugly.
2062 # WARNING: Use '\'' to represent an apostrophe within the trap.
2063 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2064 trap 'exit_status=$?
2065 # Save into config.log some information that might help in debugging.
2070 ## ---------------- ##
2071 ## Cache variables. ##
2072 ## ---------------- ##
2075 # The following way of writing the cache mishandles newlines in values,
2077 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2078 eval ac_val=\$$ac_var
2082 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2083 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2086 _ | IFS | as_nl) ;; #(
2087 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2088 *) { eval $ac_var=; unset $ac_var;} ;;
2093 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2094 *${as_nl}ac_space=\ *)
2096 "s/'\''/'\''\\\\'\'''\''/g;
2097 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2100 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2108 ## ----------------- ##
2109 ## Output variables. ##
2110 ## ----------------- ##
2113 for ac_var in $ac_subst_vars
2115 eval ac_val=\$$ac_var
2117 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2119 $as_echo "$ac_var='\''$ac_val'\''"
2123 if test -n "$ac_subst_files"; then
2125 ## ------------------- ##
2126 ## File substitutions. ##
2127 ## ------------------- ##
2130 for ac_var in $ac_subst_files
2132 eval ac_val=\$$ac_var
2134 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2136 $as_echo "$ac_var='\''$ac_val'\''"
2141 if test -s confdefs.h; then
2151 test "$ac_signal" != 0 &&
2152 $as_echo "$as_me: caught signal $ac_signal"
2153 $as_echo "$as_me: exit $exit_status"
2155 rm -f core *.core core.conftest.* &&
2156 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2159 for ac_signal in 1 2 13 15; do
2160 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2164 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2165 rm -f -r conftest* confdefs.h
2167 $as_echo "/* confdefs.h */" > confdefs.h
2169 # Predefined preprocessor variables.
2171 cat >>confdefs.h <<_ACEOF
2172 #define PACKAGE_NAME "$PACKAGE_NAME"
2175 cat >>confdefs.h <<_ACEOF
2176 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2179 cat >>confdefs.h <<_ACEOF
2180 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2183 cat >>confdefs.h <<_ACEOF
2184 #define PACKAGE_STRING "$PACKAGE_STRING"
2187 cat >>confdefs.h <<_ACEOF
2188 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2191 cat >>confdefs.h <<_ACEOF
2192 #define PACKAGE_URL "$PACKAGE_URL"
2196 # Let the site file select an alternate cache file if it wants to.
2197 # Prefer an explicitly selected file to automatically selected ones.
2200 if test -n "$CONFIG_SITE"; then
2201 ac_site_file1=$CONFIG_SITE
2202 elif test "x$prefix" != xNONE; then
2203 ac_site_file1=$prefix/share/config.site
2204 ac_site_file2=$prefix/etc/config.site
2206 ac_site_file1=$ac_default_prefix/share/config.site
2207 ac_site_file2=$ac_default_prefix/etc/config.site
2209 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2211 test "x$ac_site_file" = xNONE && continue
2212 if test -r "$ac_site_file"; then
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2214 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2215 sed 's/^/| /' "$ac_site_file" >&5
2220 if test -r "$cache_file"; then
2221 # Some versions of bash will fail to source /dev/null (special
2222 # files actually), so we avoid doing that.
2223 if test -f "$cache_file"; then
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2225 $as_echo "$as_me: loading cache $cache_file" >&6;}
2227 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2228 *) . "./$cache_file";;
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2233 $as_echo "$as_me: creating cache $cache_file" >&6;}
2237 # Check that the precious variables saved in the cache have kept the same
2239 ac_cache_corrupted=false
2240 for ac_var in $ac_precious_vars; do
2241 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2242 eval ac_new_set=\$ac_env_${ac_var}_set
2243 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2244 eval ac_new_val=\$ac_env_${ac_var}_value
2245 case $ac_old_set,$ac_new_set in
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2248 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2249 ac_cache_corrupted=: ;;
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2252 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2253 ac_cache_corrupted=: ;;
2256 if test "x$ac_old_val" != "x$ac_new_val"; then
2257 # differences in whitespace do not lead to failure.
2258 ac_old_val_w=`echo x
$ac_old_val`
2259 ac_new_val_w=`echo x
$ac_new_val`
2260 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2262 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2263 ac_cache_corrupted=:
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2266 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2267 eval $ac_var=\$ac_old_val
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2270 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2272 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2275 # Pass precious variables to config.status.
2276 if test "$ac_new_set" = set; then
2278 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2279 *) ac_arg=$ac_var=$ac_new_val ;;
2281 case " $ac_configure_args " in
2282 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2283 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2287 if $ac_cache_corrupted; then
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2289 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2291 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2292 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2294 ## -------------------- ##
2295 ## Main body of script. ##
2296 ## -------------------- ##
2299 ac_cpp='$CPP $CPPFLAGS'
2300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2313 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2314 # Check whether --enable-version-specific-runtime-libs was given.
2315 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2316 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2317 yes) version_specific_libs=yes ;;
2318 no) version_specific_libs=no ;;
2319 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2322 version_specific_libs=no
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2326 $as_echo "$version_specific_libs" >&6; }
2328 # Do not delete or change the following two lines. For why, see
2329 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2331 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2332 for ac_t in install-sh install.sh shtool; do
2333 if test -f "$ac_dir/$ac_t"; then
2335 ac_install_sh="$ac_aux_dir/$ac_t -c"
2340 if test -z "$ac_aux_dir"; then
2341 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2344 # These three variables are undocumented and unsupported,
2345 # and are intended to be withdrawn in a future Autoconf release.
2346 # They can cause serious problems if a builder's source tree is in a directory
2347 # whose full name contains unusual characters.
2348 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2349 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2350 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2353 # Make sure we can run config.sub.
2354 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2355 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2358 $as_echo_n "checking build system type... " >&6; }
2359 if test "${ac_cv_build+set}" = set; then :
2360 $as_echo_n "(cached) " >&6
2362 ac_build_alias=$build_alias
2363 test "x$ac_build_alias" = x &&
2364 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2365 test "x$ac_build_alias" = x &&
2366 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2367 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2368 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2372 $as_echo "$ac_cv_build" >&6; }
2373 case $ac_cv_build in
2375 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2378 ac_save_IFS=$IFS; IFS='-'
2384 # Remember, the first character of IFS is used to create $*,
2385 # except with old shells:
2388 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2392 $as_echo_n "checking host system type... " >&6; }
2393 if test "${ac_cv_host+set}" = set; then :
2394 $as_echo_n "(cached) " >&6
2396 if test "x$host_alias" = x; then
2397 ac_cv_host=$ac_cv_build
2399 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2400 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2405 $as_echo "$ac_cv_host" >&6; }
2408 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2411 ac_save_IFS=$IFS; IFS='-'
2417 # Remember, the first character of IFS is used to create $*,
2418 # except with old shells:
2421 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2425 $as_echo_n "checking target system type... " >&6; }
2426 if test "${ac_cv_target+set}" = set; then :
2427 $as_echo_n "(cached) " >&6
2429 if test "x$target_alias" = x; then
2430 ac_cv_target=$ac_cv_host
2432 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2433 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2438 $as_echo "$ac_cv_target" >&6; }
2439 case $ac_cv_target in
2441 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2443 target=$ac_cv_target
2444 ac_save_IFS=$IFS; IFS='-'
2450 # Remember, the first character of IFS is used to create $*,
2451 # except with old shells:
2454 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2457 # The aliases save the names the user supplied, while $host etc.
2458 # will get canonicalized.
2459 test -n "$target_alias" &&
2460 test "$program_prefix$program_suffix$program_transform_name" = \
2462 program_prefix=${target_alias}-
2464 target_alias=${target_alias-$host_alias}
2466 case ${build_alias} in
2467 "") build_noncanonical=${build} ;;
2468 *) build_noncanonical=${build_alias} ;;
2471 case ${host_alias} in
2472 "") host_noncanonical=${build_noncanonical} ;;
2473 *) host_noncanonical=${host_alias} ;;
2476 case ${target_alias} in
2477 "") target_noncanonical=${host_noncanonical} ;;
2478 *) target_noncanonical=${target_alias} ;;
2485 LIBSTDCXX_RAW_CXX_CXXFLAGS="\
2486 -I\$(top_builddir)/../libstdc++-v3/include \
2487 -I\$(top_builddir)/../libstdc++-v3/include/\$(target_noncanonical) \
2488 -I\$(top_srcdir)/../libstdc++-v3/libsupc++"
2489 LIBSTDCXX_RAW_CXX_LDFLAGS="\
2490 \$(top_builddir)/../libstdc++-v3/src/libstdc++.la"
2496 unset LIBMPX_SUPPORTED
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target support for Intel MPX runtime library" >&5
2498 $as_echo_n "checking for target support for Intel MPX runtime library... " >&6; }
2499 echo "int isizeof (void *) == 4 ? 1 : -1 = { __x86_64__ };" > conftest.c
2500 if { ac_try='${CC} ${CFLAGS} -c -o conftest.o conftest.c 1>&5'
2501 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
2504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2505 test $ac_status = 0; }; }
2509 LIBMPX_SUPPORTED=yes
2511 rm -f conftest.o conftest.c
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBMPX_SUPPORTED" >&5
2513 $as_echo "$LIBMPX_SUPPORTED" >&6; }
2514 if test "x$LIBMPX_SUPPORTED" = "xyes"; then
2515 LIBMPX_SUPPORTED_TRUE=
2516 LIBMPX_SUPPORTED_FALSE='#'
2518 LIBMPX_SUPPORTED_TRUE='#'
2519 LIBMPX_SUPPORTED_FALSE=
2523 link_libmpx="-lpthread"
2526 am__api_version='1.11'
2528 # Find a good install program. We prefer a C program (faster),
2529 # so one script is as good as another. But avoid the broken or
2530 # incompatible versions:
2531 # SysV /etc/install, /usr/sbin/install
2532 # SunOS /usr/etc/install
2533 # IRIX /sbin/install
2535 # AmigaOS /C/install, which installs bootblocks on floppy discs
2536 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2537 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2538 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2539 # OS/2's system install, which has a completely different semantic
2540 # ./install, which can be erroneously created by make from ./install.sh.
2541 # Reject install programs that cannot install multiple files.
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2543 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2544 if test -z "$INSTALL"; then
2545 if test "${ac_cv_path_install+set}" = set; then :
2546 $as_echo_n "(cached) " >&6
2548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2552 test -z "$as_dir" && as_dir=.
2553 # Account for people who put trailing slashes in PATH elements.
2554 case $as_dir/ in #((
2555 ./ | .// | /[cC]/* | \
2556 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2557 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2560 # OSF1 and SCO ODT 3.0 have their own names for install.
2561 # Don't use installbsd from OSF since it installs stuff as root
2563 for ac_prog in ginstall scoinst install; do
2564 for ac_exec_ext in '' $ac_executable_extensions; do
2565 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2566 if test $ac_prog = install &&
2567 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2568 # AIX install. It has an incompatible calling convention.
2570 elif test $ac_prog = install &&
2571 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2572 # program-specific install script used by HP pwplus--don't use.
2575 rm -rf conftest.one conftest.two conftest.dir
2576 echo one > conftest.one
2577 echo two > conftest.two
2579 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2580 test -s conftest.one && test -s conftest.two &&
2581 test -s conftest.dir/conftest.one &&
2582 test -s conftest.dir/conftest.two
2584 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2597 rm -rf conftest.one conftest.two conftest.dir
2600 if test "${ac_cv_path_install+set}" = set; then
2601 INSTALL=$ac_cv_path_install
2603 # As a last resort, use the slow shell script. Don't cache a
2604 # value for INSTALL within a source directory, because that will
2605 # break other packages using the cache if that directory is
2606 # removed, or if the value is a relative name.
2607 INSTALL=$ac_install_sh
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2611 $as_echo "$INSTALL" >&6; }
2613 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2614 # It thinks the first close brace ends the variable substitution.
2615 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2617 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2619 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2622 $as_echo_n "checking whether build environment is sane... " >&6; }
2625 echo timestamp > conftest.file
2626 # Reject unsafe characters in $srcdir or the absolute working directory
2627 # name. Accept space and tab only in the latter.
2631 *[\\\"\#\$\&\'\`$am_lf]*)
2632 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2635 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2636 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2639 # Do `set' in a subshell so we don't clobber the current shell's
2640 # arguments. Must try -L first in case configure is actually a
2641 # symlink; some systems play weird games with the mod time of symlinks
2642 # (eg FreeBSD returns the mod time of the symlink's containing
2645 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2646 if test "$*" = "X"; then
2648 set X
`ls -t "$srcdir/configure" conftest.file`
2651 if test "$*" != "X $srcdir/configure conftest.file" \
2652 && test "$*" != "X conftest.file $srcdir/configure"; then
2654 # If neither matched, then we have a broken ls. This can happen
2655 # if, for instance, CONFIG_SHELL is bash and it inherits a
2656 # broken ls alias from the environment. This has actually
2657 # happened. Such a system could not be considered "sane".
2658 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2659 alias in your environment" "$LINENO" 5
2662 test "$2" = conftest.
file
2668 as_fn_error
"newly created file is older than distributed files!
2669 Check your system clock" "$LINENO" 5
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2672 $as_echo "yes" >&6; }
2673 test "$program_prefix" != NONE
&&
2674 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2675 # Use a double $ so make ignores it.
2676 test "$program_suffix" != NONE
&&
2677 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2678 # Double any \ or $.
2679 # By default was `s,x,x', remove it if useless.
2680 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2681 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2683 # expand $ac_aux_dir to an absolute path
2684 am_aux_dir
=`cd $ac_aux_dir && pwd`
2686 if test x
"${MISSING+set}" != xset
; then
2689 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2691 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2694 # Use eval to expand $SHELL
2695 if eval "$MISSING --run true"; then
2696 am_missing_run
="$MISSING --run "
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2700 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2703 if test x
"${install_sh}" != xset
; then
2706 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2708 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2712 # Installed binaries are usually stripped using `strip' when the user
2713 # run `make install-strip'. However `strip' might not be the right
2714 # tool to use in cross-compilation environments, therefore Automake
2715 # will honor the `STRIP' environment variable to overrule this program.
2716 if test "$cross_compiling" != no
; then
2717 if test -n "$ac_tool_prefix"; then
2718 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2719 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2721 $as_echo_n "checking for $ac_word... " >&6; }
2722 if test "${ac_cv_prog_STRIP+set}" = set; then :
2723 $as_echo_n "(cached) " >&6
2725 if test -n "$STRIP"; then
2726 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2732 test -z "$as_dir" && as_dir
=.
2733 for ac_exec_ext
in '' $ac_executable_extensions; do
2734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2735 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2745 STRIP
=$ac_cv_prog_STRIP
2746 if test -n "$STRIP"; then
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2748 $as_echo "$STRIP" >&6; }
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2751 $as_echo "no" >&6; }
2756 if test -z "$ac_cv_prog_STRIP"; then
2758 # Extract the first word of "strip", so it can be a program name with args.
2759 set dummy strip
; ac_word
=$2
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2761 $as_echo_n "checking for $ac_word... " >&6; }
2762 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2763 $as_echo_n "(cached) " >&6
2765 if test -n "$ac_ct_STRIP"; then
2766 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2772 test -z "$as_dir" && as_dir
=.
2773 for ac_exec_ext
in '' $ac_executable_extensions; do
2774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2775 ac_cv_prog_ac_ct_STRIP
="strip"
2776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2785 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2786 if test -n "$ac_ct_STRIP"; then
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2788 $as_echo "$ac_ct_STRIP" >&6; }
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2791 $as_echo "no" >&6; }
2794 if test "x$ac_ct_STRIP" = x
; then
2797 case $cross_compiling:$ac_tool_warned in
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2800 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2801 ac_tool_warned
=yes ;;
2806 STRIP
="$ac_cv_prog_STRIP"
2810 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2813 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2814 if test -z "$MKDIR_P"; then
2815 if test "${ac_cv_path_mkdir+set}" = set; then :
2816 $as_echo_n "(cached) " >&6
2818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2819 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2822 test -z "$as_dir" && as_dir
=.
2823 for ac_prog
in mkdir gmkdir
; do
2824 for ac_exec_ext
in '' $ac_executable_extensions; do
2825 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2826 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2827 'mkdir (GNU coreutils) '* | \
2828 'mkdir (coreutils) '* | \
2829 'mkdir (fileutils) '4.1*)
2830 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2840 if test "${ac_cv_path_mkdir+set}" = set; then
2841 MKDIR_P
="$ac_cv_path_mkdir -p"
2843 # As a last resort, use the slow shell script. Don't cache a
2844 # value for MKDIR_P within a source directory, because that will
2845 # break other packages using the cache if that directory is
2846 # removed, or if the value is a relative name.
2847 test -d .
/--version && rmdir .
/--version
2848 MKDIR_P
="$ac_install_sh -d"
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2852 $as_echo "$MKDIR_P" >&6; }
2856 [\\/$
]* | ?
:[\\/]*) ;;
2857 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2860 for ac_prog
in gawk mawk nawk
awk
2862 # Extract the first word of "$ac_prog", so it can be a program name with args.
2863 set dummy
$ac_prog; ac_word
=$2
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2865 $as_echo_n "checking for $ac_word... " >&6; }
2866 if test "${ac_cv_prog_AWK+set}" = set; then :
2867 $as_echo_n "(cached) " >&6
2869 if test -n "$AWK"; then
2870 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2876 test -z "$as_dir" && as_dir
=.
2877 for ac_exec_ext
in '' $ac_executable_extensions; do
2878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2879 ac_cv_prog_AWK
="$ac_prog"
2880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2890 if test -n "$AWK"; then
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2892 $as_echo "$AWK" >&6; }
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2895 $as_echo "no" >&6; }
2899 test -n "$AWK" && break
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2903 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2905 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2906 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2907 $as_echo_n "(cached) " >&6
2909 cat >conftest.
make <<\_ACEOF
2912 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2914 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2915 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2917 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2919 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2923 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2925 $as_echo "yes" >&6; }
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2929 $as_echo "no" >&6; }
2930 SET_MAKE
="MAKE=${MAKE-make}"
2933 rm -rf .tst
2>/dev
/null
2934 mkdir .tst
2>/dev
/null
2935 if test -d .tst
; then
2940 rmdir .tst
2>/dev
/null
2942 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2943 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2944 # is not polluted with repeated "-I."
2945 am__isrc
=' -I$(srcdir)'
2946 # test to see if srcdir already configured
2947 if test -f $srcdir/config.status
; then
2948 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2952 # test whether we have cygpath
2953 if test -z "$CYGPATH_W"; then
2954 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2955 CYGPATH_W
='cygpath -w'
2962 # Define the identity of the package.
2963 PACKAGE
='package-unused'
2964 VERSION
='version-unused'
2967 cat >>confdefs.h
<<_ACEOF
2968 #define PACKAGE "$PACKAGE"
2972 cat >>confdefs.h
<<_ACEOF
2973 #define VERSION "$VERSION"
2976 # Some tools Automake needs.
2978 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2981 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2984 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2987 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2990 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2992 # We need awk for the "check" target. The system "awk" is bad on
2994 # Always define AMTAR for backward compatibility.
2996 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2998 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3004 # Default to --enable-multilib
3005 # Check whether --enable-multilib was given.
3006 if test "${enable_multilib+set}" = set; then :
3007 enableval
=$enable_multilib; case "$enableval" in
3008 yes) multilib
=yes ;;
3010 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3017 # We may get other options which we leave undocumented:
3018 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3019 # See config-ml.in if you want the gory details.
3021 if test "$srcdir" = "."; then
3022 if test "$with_target_subdir" != "."; then
3023 multi_basedir
="$srcdir/$with_multisrctop../.."
3025 multi_basedir
="$srcdir/$with_multisrctop.."
3028 multi_basedir
="$srcdir/.."
3032 # Even if the default multilib is not a cross compilation,
3033 # it may be that some of the other multilibs are.
3034 if test $cross_compiling = no
&& test $multilib = yes \
3035 && test "x${with_multisubdir}" != x
; then
3036 cross_compiling
=maybe
3039 ac_config_commands
="$ac_config_commands default-1"
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3043 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3044 # Check whether --enable-maintainer-mode was given.
3045 if test "${enable_maintainer_mode+set}" = set; then :
3046 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3048 USE_MAINTAINER_MODE
=no
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3052 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3053 if test $USE_MAINTAINER_MODE = yes; then
3054 MAINTAINER_MODE_TRUE
=
3055 MAINTAINER_MODE_FALSE
='#'
3057 MAINTAINER_MODE_TRUE
='#'
3058 MAINTAINER_MODE_FALSE
=
3061 MAINT
=$MAINTAINER_MODE_TRUE
3066 ac_cpp
='$CPP $CPPFLAGS'
3067 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3068 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3069 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3070 if test -n "$ac_tool_prefix"; then
3071 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3072 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3074 $as_echo_n "checking for $ac_word... " >&6; }
3075 if test "${ac_cv_prog_CC+set}" = set; then :
3076 $as_echo_n "(cached) " >&6
3078 if test -n "$CC"; then
3079 ac_cv_prog_CC
="$CC" # Let the user override the test.
3081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3085 test -z "$as_dir" && as_dir
=.
3086 for ac_exec_ext
in '' $ac_executable_extensions; do
3087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3088 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3099 if test -n "$CC"; then
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3101 $as_echo "$CC" >&6; }
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3104 $as_echo "no" >&6; }
3109 if test -z "$ac_cv_prog_CC"; then
3111 # Extract the first word of "gcc", so it can be a program name with args.
3112 set dummy gcc
; ac_word
=$2
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3114 $as_echo_n "checking for $ac_word... " >&6; }
3115 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3116 $as_echo_n "(cached) " >&6
3118 if test -n "$ac_ct_CC"; then
3119 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3125 test -z "$as_dir" && as_dir
=.
3126 for ac_exec_ext
in '' $ac_executable_extensions; do
3127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3128 ac_cv_prog_ac_ct_CC
="gcc"
3129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3138 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3139 if test -n "$ac_ct_CC"; then
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3141 $as_echo "$ac_ct_CC" >&6; }
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3144 $as_echo "no" >&6; }
3147 if test "x$ac_ct_CC" = x
; then
3150 case $cross_compiling:$ac_tool_warned in
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3153 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3154 ac_tool_warned
=yes ;;
3162 if test -z "$CC"; then
3163 if test -n "$ac_tool_prefix"; then
3164 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3165 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3167 $as_echo_n "checking for $ac_word... " >&6; }
3168 if test "${ac_cv_prog_CC+set}" = set; then :
3169 $as_echo_n "(cached) " >&6
3171 if test -n "$CC"; then
3172 ac_cv_prog_CC
="$CC" # Let the user override the test.
3174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3178 test -z "$as_dir" && as_dir
=.
3179 for ac_exec_ext
in '' $ac_executable_extensions; do
3180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3181 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3192 if test -n "$CC"; then
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3194 $as_echo "$CC" >&6; }
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3197 $as_echo "no" >&6; }
3203 if test -z "$CC"; then
3204 # Extract the first word of "cc", so it can be a program name with args.
3205 set dummy cc
; ac_word
=$2
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3207 $as_echo_n "checking for $ac_word... " >&6; }
3208 if test "${ac_cv_prog_CC+set}" = set; then :
3209 $as_echo_n "(cached) " >&6
3211 if test -n "$CC"; then
3212 ac_cv_prog_CC
="$CC" # Let the user override the test.
3215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3219 test -z "$as_dir" && as_dir
=.
3220 for ac_exec_ext
in '' $ac_executable_extensions; do
3221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3222 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3223 ac_prog_rejected
=yes
3227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3234 if test $ac_prog_rejected = yes; then
3235 # We found a bogon in the path, so make sure we never use it.
3236 set dummy
$ac_cv_prog_CC
3238 if test $# != 0; then
3239 # We chose a different compiler from the bogus one.
3240 # However, it has the same basename, so the bogon will be chosen
3241 # first if we set CC to just the basename; use the full file name.
3243 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3249 if test -n "$CC"; then
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3251 $as_echo "$CC" >&6; }
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3254 $as_echo "no" >&6; }
3259 if test -z "$CC"; then
3260 if test -n "$ac_tool_prefix"; then
3261 for ac_prog
in cl.exe
3263 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3264 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3266 $as_echo_n "checking for $ac_word... " >&6; }
3267 if test "${ac_cv_prog_CC+set}" = set; then :
3268 $as_echo_n "(cached) " >&6
3270 if test -n "$CC"; then
3271 ac_cv_prog_CC
="$CC" # Let the user override the test.
3273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3277 test -z "$as_dir" && as_dir
=.
3278 for ac_exec_ext
in '' $ac_executable_extensions; do
3279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3280 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3291 if test -n "$CC"; then
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3293 $as_echo "$CC" >&6; }
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3296 $as_echo "no" >&6; }
3300 test -n "$CC" && break
3303 if test -z "$CC"; then
3305 for ac_prog
in cl.exe
3307 # Extract the first word of "$ac_prog", so it can be a program name with args.
3308 set dummy
$ac_prog; ac_word
=$2
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3310 $as_echo_n "checking for $ac_word... " >&6; }
3311 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3312 $as_echo_n "(cached) " >&6
3314 if test -n "$ac_ct_CC"; then
3315 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3321 test -z "$as_dir" && as_dir
=.
3322 for ac_exec_ext
in '' $ac_executable_extensions; do
3323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3324 ac_cv_prog_ac_ct_CC
="$ac_prog"
3325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3334 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3335 if test -n "$ac_ct_CC"; then
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3337 $as_echo "$ac_ct_CC" >&6; }
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3340 $as_echo "no" >&6; }
3344 test -n "$ac_ct_CC" && break
3347 if test "x$ac_ct_CC" = x
; then
3350 case $cross_compiling:$ac_tool_warned in
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3353 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3354 ac_tool_warned
=yes ;;
3363 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3365 as_fn_error
"no acceptable C compiler found in \$PATH
3366 See \`config.log' for more details." "$LINENO" 5; }
3368 # Provide some information about the compiler.
3369 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3372 for ac_option
in --version -v -V -qversion; do
3373 { { ac_try
="$ac_compiler $ac_option >&5"
3375 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3376 *) ac_try_echo=$ac_try;;
3378 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3379 $as_echo "$ac_try_echo"; } >&5
3380 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3382 if test -s conftest.err; then
3384 ... rest of stderr output deleted ...
3385 10q' conftest.err >conftest.er1
3386 cat conftest.er1 >&5
3387 rm -f conftest.er1 conftest.err
3389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3390 test $ac_status = 0; }
3393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3394 /* end confdefs.h. */
3404 ac_clean_files_save=$ac_clean_files
3405 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3406 # Try to create an executable without -o first, disregard a.out.
3407 # It will help us diagnose broken compilers, and finding out an intuition
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3410 $as_echo_n "checking for C compiler default output file name... " >&6; }
3411 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3413 # The possible output files:
3414 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3417 for ac_file in $ac_files
3420 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3421 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3426 if { { ac_try="$ac_link_default"
3428 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3429 *) ac_try_echo
=$ac_try;;
3431 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3432 $as_echo "$ac_try_echo"; } >&5
3433 (eval "$ac_link_default") 2>&5
3435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3436 test $ac_status = 0; }; then :
3437 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3438 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3439 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3440 # so that the user can short-circuit this test for compilers unknown to
3442 for ac_file
in $ac_files ''
3444 test -f "$ac_file" ||
continue
3446 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3449 # We found the default executable, but exeext='' is most
3453 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3455 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3457 # We set ac_cv_exeext here because the later test for it is not
3458 # safe: cross compilers may not add the suffix if given an `-o'
3459 # argument, so we may need to know it at that point already.
3460 # Even if this section looks crufty: it has the advantage of
3467 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3473 $as_echo "$ac_file" >&6; }
3474 if test -z "$ac_file"; then :
3475 $as_echo "$as_me: failed program was:" >&5
3476 sed 's/^/| /' conftest.
$ac_ext >&5
3478 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3479 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3480 { as_fn_set_status
77
3481 as_fn_error
"C compiler cannot create executables
3482 See \`config.log' for more details." "$LINENO" 5; }; }
3484 ac_exeext
=$ac_cv_exeext
3486 # Check that the compiler produces executables we can run. If not, either
3487 # the compiler is broken, or we cross compile.
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3489 $as_echo_n "checking whether the C compiler works... " >&6; }
3490 # If not cross compiling, check that we can run a simple program.
3491 if test "$cross_compiling" != yes; then
3492 if { ac_try
='./$ac_file'
3493 { { case "(($ac_try" in
3494 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3495 *) ac_try_echo=$ac_try;;
3497 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3498 $as_echo "$ac_try_echo"; } >&5
3499 (eval "$ac_try") 2>&5
3501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3502 test $ac_status = 0; }; }; then
3505 if test "$cross_compiling" = maybe; then
3508 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3509 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3510 as_fn_error "cannot run C compiled programs.
3511 If you meant to cross compile
, use \
`--host'.
3512 See \`config.log
' for more details." "$LINENO" 5; }
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3517 $as_echo "yes" >&6; }
3519 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3520 ac_clean_files=$ac_clean_files_save
3521 # Check that the compiler produces executables we can run. If not, either
3522 # the compiler is broken, or we cross compile.
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3524 $as_echo_n "checking whether we are cross compiling... " >&6; }
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3526 $as_echo "$cross_compiling" >&6; }
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3529 $as_echo_n "checking for suffix of executables... " >&6; }
3530 if { { ac_try="$ac_link"
3532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3533 *) ac_try_echo=$ac_try;;
3535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3536 $as_echo "$ac_try_echo"; } >&5
3537 (eval "$ac_link") 2>&5
3539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3540 test $ac_status = 0; }; then :
3541 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3542 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3543 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3545 for ac_file
in conftest.exe conftest conftest.
*; do
3546 test -f "$ac_file" ||
continue
3548 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3549 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3555 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3556 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3557 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3558 See \`config.log' for more details." "$LINENO" 5; }
3560 rm -f conftest
$ac_cv_exeext
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3562 $as_echo "$ac_cv_exeext" >&6; }
3564 rm -f conftest.
$ac_ext
3565 EXEEXT
=$ac_cv_exeext
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3568 $as_echo_n "checking for suffix of object files... " >&6; }
3569 if test "${ac_cv_objext+set}" = set; then :
3570 $as_echo_n "(cached) " >&6
3572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3573 /* end confdefs.h. */
3583 rm -f conftest.o conftest.obj
3584 if { { ac_try
="$ac_compile"
3586 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3587 *) ac_try_echo=$ac_try;;
3589 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3590 $as_echo "$ac_try_echo"; } >&5
3591 (eval "$ac_compile") 2>&5
3593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3594 test $ac_status = 0; }; then :
3595 for ac_file in conftest.o conftest.obj conftest.*; do
3596 test -f "$ac_file" || continue;
3598 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3599 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3604 $as_echo "$as_me: failed program was:" >&5
3605 sed 's/^/| /' conftest.$ac_ext >&5
3607 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3608 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3609 as_fn_error "cannot compute suffix of object files
: cannot compile
3610 See \
`config.log' for more details." "$LINENO" 5; }
3612 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3615 $as_echo "$ac_cv_objext" >&6; }
3616 OBJEXT=$ac_cv_objext
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3619 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3620 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3621 $as_echo_n "(cached) " >&6
3623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3624 /* end confdefs.h. */
3637 if ac_fn_c_try_compile "$LINENO"; then :
3642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3643 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3647 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3648 if test $ac_compiler_gnu = yes; then
3653 ac_test_CFLAGS=${CFLAGS+set}
3654 ac_save_CFLAGS=$CFLAGS
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3656 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3657 if test "${ac_cv_prog_cc_g+set}" = set; then :
3658 $as_echo_n "(cached) " >&6
3660 ac_save_c_werror_flag=$ac_c_werror_flag
3661 ac_c_werror_flag=yes
3664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3665 /* end confdefs.h. */
3675 if ac_fn_c_try_compile "$LINENO"; then :
3679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3680 /* end confdefs.h. */
3690 if ac_fn_c_try_compile "$LINENO"; then :
3693 ac_c_werror_flag=$ac_save_c_werror_flag
3695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3696 /* end confdefs.h. */
3706 if ac_fn_c_try_compile "$LINENO"; then :
3709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3714 ac_c_werror_flag=$ac_save_c_werror_flag
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3717 $as_echo "$ac_cv_prog_cc_g" >&6; }
3718 if test "$ac_test_CFLAGS" = set; then
3719 CFLAGS=$ac_save_CFLAGS
3720 elif test $ac_cv_prog_cc_g = yes; then
3721 if test "$GCC" = yes; then
3727 if test "$GCC" = yes; then
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3734 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3735 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3736 $as_echo_n "(cached) " >&6
3738 ac_cv_prog_cc_c89=no
3740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3741 /* end confdefs.h. */
3744 #include <sys/types.h>
3745 #include <sys/stat.h>
3746 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3747 struct buf { int x; };
3748 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3749 static char *e (p, i)
3755 static char *f (char * (*g) (char **, int), char **p, ...)
3760 s = g (p, va_arg (v,int));
3765 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3766 function prototypes and stuff, but not '\xHH' hex character constants.
3767 These don't provoke an error unfortunately, instead are silently treated
3768 as 'x'. The following induces an error, until -std is added to get
3769 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3770 array size at least. It's necessary to write '\x00'==0 to get something
3771 that's true only with -std. */
3772 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3774 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3775 inside strings and character constants. */
3777 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3779 int test (int i, double x);
3780 struct s1 {int (*f) (int a);};
3781 struct s2 {int (*f) (double a);};
3782 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3788 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3793 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3794 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3796 CC="$ac_save_CC $ac_arg"
3797 if ac_fn_c_try_compile "$LINENO"; then :
3798 ac_cv_prog_cc_c89=$ac_arg
3800 rm -f core conftest.err conftest.$ac_objext
3801 test "x$ac_cv_prog_cc_c89" != "xno" && break
3803 rm -f conftest.$ac_ext
3808 case "x$ac_cv_prog_cc_c89" in
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3811 $as_echo "none needed" >&6; } ;;
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3814 $as_echo "unsupported" >&6; } ;;
3816 CC="$CC $ac_cv_prog_cc_c89"
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3818 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3820 if test "x$ac_cv_prog_cc_c89" != xno; then :
3825 ac_cpp='$CPP $CPPFLAGS'
3826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3832 ac_cpp='$CPP $CPPFLAGS'
3833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3837 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3838 # On Suns, sometimes $CPP names a directory.
3839 if test -n "$CPP" && test -d "$CPP"; then
3842 if test -z "$CPP"; then
3843 if test "${ac_cv_prog_CPP+set}" = set; then :
3844 $as_echo_n "(cached) " >&6
3846 # Double quotes because CPP needs to be expanded
3847 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3850 for ac_c_preproc_warn_flag in '' yes
3852 # Use a header file that comes with gcc, so configuring glibc
3853 # with a fresh cross-compiler works.
3854 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3855 # <limits.h> exists even on freestanding compilers.
3856 # On the NeXT, cc -E runs the code through the compiler's parser,
3857 # not just through cpp. "Syntax error" is here to catch this case.
3858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3859 /* end confdefs.h. */
3861 # include <limits.h>
3863 # include <assert.h>
3867 if ac_fn_c_try_cpp "$LINENO"; then :
3870 # Broken: fails on valid input.
3873 rm -f conftest.err conftest.$ac_ext
3875 # OK, works on sane cases. Now check whether nonexistent headers
3876 # can be detected and how.
3877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3878 /* end confdefs.h. */
3879 #include <ac_nonexistent.h>
3881 if ac_fn_c_try_cpp "$LINENO"; then :
3882 # Broken: success on invalid input.
3885 # Passes both tests.
3889 rm -f conftest.err conftest.$ac_ext
3892 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3893 rm -f conftest.err conftest.
$ac_ext
3894 if $ac_preproc_ok; then :
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3907 $as_echo "$CPP" >&6; }
3909 for ac_c_preproc_warn_flag
in '' yes
3911 # Use a header file that comes with gcc, so configuring glibc
3912 # with a fresh cross-compiler works.
3913 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3914 # <limits.h> exists even on freestanding compilers.
3915 # On the NeXT, cc -E runs the code through the compiler's parser,
3916 # not just through cpp. "Syntax error" is here to catch this case.
3917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3918 /* end confdefs.h. */
3920 # include <limits.h>
3922 # include <assert.h>
3926 if ac_fn_c_try_cpp
"$LINENO"; then :
3929 # Broken: fails on valid input.
3932 rm -f conftest.err conftest.
$ac_ext
3934 # OK, works on sane cases. Now check whether nonexistent headers
3935 # can be detected and how.
3936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3937 /* end confdefs.h. */
3938 #include <ac_nonexistent.h>
3940 if ac_fn_c_try_cpp
"$LINENO"; then :
3941 # Broken: success on invalid input.
3944 # Passes both tests.
3948 rm -f conftest.err conftest.
$ac_ext
3951 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3952 rm -f conftest.err conftest.
$ac_ext
3953 if $ac_preproc_ok; then :
3956 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3957 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3958 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3959 See \`config.log' for more details." "$LINENO" 5; }
3963 ac_cpp
='$CPP $CPPFLAGS'
3964 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3965 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3966 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3970 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3971 if test "${ac_cv_path_GREP+set}" = set; then :
3972 $as_echo_n "(cached) " >&6
3974 if test -z "$GREP"; then
3975 ac_path_GREP_found
=false
3976 # Loop through the user's path and test for each of PROGNAME-LIST
3977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3978 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3981 test -z "$as_dir" && as_dir
=.
3982 for ac_prog
in grep ggrep
; do
3983 for ac_exec_ext
in '' $ac_executable_extensions; do
3984 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3985 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3986 # Check for GNU ac_path_GREP and select it if it is found.
3987 # Check for GNU $ac_path_GREP
3988 case `"$ac_path_GREP" --version 2>&1` in
3990 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3993 $as_echo_n 0123456789 >"conftest.in"
3996 cat "conftest.in" "conftest.in" >"conftest.tmp"
3997 mv "conftest.tmp" "conftest.in"
3998 cp "conftest.in" "conftest.nl"
3999 $as_echo 'GREP' >> "conftest.nl"
4000 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4001 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4002 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4003 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4004 # Best one so far, save it but keep looking for a better one
4005 ac_cv_path_GREP
="$ac_path_GREP"
4006 ac_path_GREP_max
=$ac_count
4008 # 10*(2^10) chars as input seems more than enough
4009 test $ac_count -gt 10 && break
4011 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4014 $ac_path_GREP_found && break 3
4019 if test -z "$ac_cv_path_GREP"; then
4020 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4023 ac_cv_path_GREP
=$GREP
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4028 $as_echo "$ac_cv_path_GREP" >&6; }
4029 GREP
="$ac_cv_path_GREP"
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4033 $as_echo_n "checking for egrep... " >&6; }
4034 if test "${ac_cv_path_EGREP+set}" = set; then :
4035 $as_echo_n "(cached) " >&6
4037 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4038 then ac_cv_path_EGREP
="$GREP -E"
4040 if test -z "$EGREP"; then
4041 ac_path_EGREP_found
=false
4042 # Loop through the user's path and test for each of PROGNAME-LIST
4043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4044 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4047 test -z "$as_dir" && as_dir
=.
4048 for ac_prog
in egrep; do
4049 for ac_exec_ext
in '' $ac_executable_extensions; do
4050 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4051 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4052 # Check for GNU ac_path_EGREP and select it if it is found.
4053 # Check for GNU $ac_path_EGREP
4054 case `"$ac_path_EGREP" --version 2>&1` in
4056 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4059 $as_echo_n 0123456789 >"conftest.in"
4062 cat "conftest.in" "conftest.in" >"conftest.tmp"
4063 mv "conftest.tmp" "conftest.in"
4064 cp "conftest.in" "conftest.nl"
4065 $as_echo 'EGREP' >> "conftest.nl"
4066 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4067 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4068 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4069 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4070 # Best one so far, save it but keep looking for a better one
4071 ac_cv_path_EGREP
="$ac_path_EGREP"
4072 ac_path_EGREP_max
=$ac_count
4074 # 10*(2^10) chars as input seems more than enough
4075 test $ac_count -gt 10 && break
4077 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4080 $ac_path_EGREP_found && break 3
4085 if test -z "$ac_cv_path_EGREP"; then
4086 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4089 ac_cv_path_EGREP
=$EGREP
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4095 $as_echo "$ac_cv_path_EGREP" >&6; }
4096 EGREP
="$ac_cv_path_EGREP"
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4100 $as_echo_n "checking for ANSI C header files... " >&6; }
4101 if test "${ac_cv_header_stdc+set}" = set; then :
4102 $as_echo_n "(cached) " >&6
4104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4105 /* end confdefs.h. */
4119 if ac_fn_c_try_compile
"$LINENO"; then :
4120 ac_cv_header_stdc
=yes
4122 ac_cv_header_stdc
=no
4124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4126 if test $ac_cv_header_stdc = yes; then
4127 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4129 /* end confdefs.h. */
4133 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4134 $EGREP "memchr" >/dev
/null
2>&1; then :
4137 ac_cv_header_stdc
=no
4143 if test $ac_cv_header_stdc = yes; then
4144 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4146 /* end confdefs.h. */
4150 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4151 $EGREP "free" >/dev
/null
2>&1; then :
4154 ac_cv_header_stdc
=no
4160 if test $ac_cv_header_stdc = yes; then
4161 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4162 if test "$cross_compiling" = yes; then :
4165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4166 /* end confdefs.h. */
4169 #if ((' ' & 0x0FF) == 0x020)
4170 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4171 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4173 # define ISLOWER(c) \
4174 (('a' <= (c) && (c) <= 'i') \
4175 || ('j' <= (c) && (c) <= 'r') \
4176 || ('s' <= (c) && (c) <= 'z'))
4177 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4180 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4185 for (i = 0; i < 256; i++)
4186 if (XOR (islower (i), ISLOWER (i))
4187 || toupper (i) != TOUPPER (i))
4192 if ac_fn_c_try_run
"$LINENO"; then :
4195 ac_cv_header_stdc
=no
4197 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4198 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4204 $as_echo "$ac_cv_header_stdc" >&6; }
4205 if test $ac_cv_header_stdc = yes; then
4207 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4211 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4212 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4213 inttypes.h stdint.h unistd.h
4215 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4216 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4218 eval as_val
=\$
$as_ac_Header
4219 if test "x$as_val" = x
""yes; then :
4220 cat >>confdefs.h
<<_ACEOF
4221 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4230 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4231 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4238 if test "$MINIX" = yes; then
4240 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4243 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4246 $as_echo "#define _MINIX 1" >>confdefs.h
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4252 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4253 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4254 $as_echo_n "(cached) " >&6
4256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4257 /* end confdefs.h. */
4259 # define __EXTENSIONS__ 1
4260 $ac_includes_default
4269 if ac_fn_c_try_compile
"$LINENO"; then :
4270 ac_cv_safe_to_define___extensions__
=yes
4272 ac_cv_safe_to_define___extensions__
=no
4274 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4277 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4278 test $ac_cv_safe_to_define___extensions__ = yes &&
4279 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4281 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4283 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4285 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4287 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4291 for ac_func
in secure_getenv
4293 ac_fn_c_check_func
"$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
4294 if test "x$ac_cv_func_secure_getenv" = x
""yes; then :
4295 cat >>confdefs.h
<<_ACEOF
4296 #define HAVE_SECURE_GETENV 1
4303 # Calculate toolexeclibdir
4304 # Also toolexecdir, though it's only used in toolexeclibdir
4305 case ${version_specific_libs} in
4307 # Need the gcc compiler version to know where to install libraries
4308 # and header files if --enable-version-specific-runtime-libs option
4310 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4311 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4314 if test -n "$with_cross_host" &&
4315 test x
"$with_cross_host" != x
"no"; then
4316 # Install a library built with a cross compiler in tooldir, not libdir.
4317 toolexecdir
='$(exec_prefix)/$(target_alias)'
4318 toolexeclibdir
='$(toolexecdir)/lib'
4320 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4321 toolexeclibdir
='$(libdir)'
4323 multi_os_directory
=`$CC -print-multi-os-directory`
4324 case $multi_os_directory in
4325 .
) ;; # Avoid trailing /.
4326 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4333 # Check for programs.
4337 ac_cpp
='$CPP $CPPFLAGS'
4338 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4339 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4340 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4341 if test -n "$ac_tool_prefix"; then
4342 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4343 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4345 $as_echo_n "checking for $ac_word... " >&6; }
4346 if test "${ac_cv_prog_CC+set}" = set; then :
4347 $as_echo_n "(cached) " >&6
4349 if test -n "$CC"; then
4350 ac_cv_prog_CC
="$CC" # Let the user override the test.
4352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4356 test -z "$as_dir" && as_dir
=.
4357 for ac_exec_ext
in '' $ac_executable_extensions; do
4358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4359 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4370 if test -n "$CC"; then
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4372 $as_echo "$CC" >&6; }
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4375 $as_echo "no" >&6; }
4380 if test -z "$ac_cv_prog_CC"; then
4382 # Extract the first word of "gcc", so it can be a program name with args.
4383 set dummy gcc
; ac_word
=$2
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4385 $as_echo_n "checking for $ac_word... " >&6; }
4386 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4387 $as_echo_n "(cached) " >&6
4389 if test -n "$ac_ct_CC"; then
4390 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4396 test -z "$as_dir" && as_dir
=.
4397 for ac_exec_ext
in '' $ac_executable_extensions; do
4398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4399 ac_cv_prog_ac_ct_CC
="gcc"
4400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4409 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4410 if test -n "$ac_ct_CC"; then
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4412 $as_echo "$ac_ct_CC" >&6; }
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4415 $as_echo "no" >&6; }
4418 if test "x$ac_ct_CC" = x
; then
4421 case $cross_compiling:$ac_tool_warned in
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4424 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4425 ac_tool_warned
=yes ;;
4433 if test -z "$CC"; then
4434 if test -n "$ac_tool_prefix"; then
4435 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4436 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4438 $as_echo_n "checking for $ac_word... " >&6; }
4439 if test "${ac_cv_prog_CC+set}" = set; then :
4440 $as_echo_n "(cached) " >&6
4442 if test -n "$CC"; then
4443 ac_cv_prog_CC
="$CC" # Let the user override the test.
4445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4449 test -z "$as_dir" && as_dir
=.
4450 for ac_exec_ext
in '' $ac_executable_extensions; do
4451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4452 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4463 if test -n "$CC"; then
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4465 $as_echo "$CC" >&6; }
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4468 $as_echo "no" >&6; }
4474 if test -z "$CC"; then
4475 # Extract the first word of "cc", so it can be a program name with args.
4476 set dummy cc
; ac_word
=$2
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4478 $as_echo_n "checking for $ac_word... " >&6; }
4479 if test "${ac_cv_prog_CC+set}" = set; then :
4480 $as_echo_n "(cached) " >&6
4482 if test -n "$CC"; then
4483 ac_cv_prog_CC
="$CC" # Let the user override the test.
4486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4490 test -z "$as_dir" && as_dir
=.
4491 for ac_exec_ext
in '' $ac_executable_extensions; do
4492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4493 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4494 ac_prog_rejected
=yes
4498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4505 if test $ac_prog_rejected = yes; then
4506 # We found a bogon in the path, so make sure we never use it.
4507 set dummy
$ac_cv_prog_CC
4509 if test $# != 0; then
4510 # We chose a different compiler from the bogus one.
4511 # However, it has the same basename, so the bogon will be chosen
4512 # first if we set CC to just the basename; use the full file name.
4514 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4520 if test -n "$CC"; then
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4522 $as_echo "$CC" >&6; }
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4525 $as_echo "no" >&6; }
4530 if test -z "$CC"; then
4531 if test -n "$ac_tool_prefix"; then
4532 for ac_prog
in cl.exe
4534 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4535 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4537 $as_echo_n "checking for $ac_word... " >&6; }
4538 if test "${ac_cv_prog_CC+set}" = set; then :
4539 $as_echo_n "(cached) " >&6
4541 if test -n "$CC"; then
4542 ac_cv_prog_CC
="$CC" # Let the user override the test.
4544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4548 test -z "$as_dir" && as_dir
=.
4549 for ac_exec_ext
in '' $ac_executable_extensions; do
4550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4551 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4562 if test -n "$CC"; then
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4564 $as_echo "$CC" >&6; }
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4567 $as_echo "no" >&6; }
4571 test -n "$CC" && break
4574 if test -z "$CC"; then
4576 for ac_prog
in cl.exe
4578 # Extract the first word of "$ac_prog", so it can be a program name with args.
4579 set dummy
$ac_prog; ac_word
=$2
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4581 $as_echo_n "checking for $ac_word... " >&6; }
4582 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4583 $as_echo_n "(cached) " >&6
4585 if test -n "$ac_ct_CC"; then
4586 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4592 test -z "$as_dir" && as_dir
=.
4593 for ac_exec_ext
in '' $ac_executable_extensions; do
4594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4595 ac_cv_prog_ac_ct_CC
="$ac_prog"
4596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4605 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4606 if test -n "$ac_ct_CC"; then
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4608 $as_echo "$ac_ct_CC" >&6; }
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4611 $as_echo "no" >&6; }
4615 test -n "$ac_ct_CC" && break
4618 if test "x$ac_ct_CC" = x
; then
4621 case $cross_compiling:$ac_tool_warned in
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4625 ac_tool_warned
=yes ;;
4634 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4635 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4636 as_fn_error
"no acceptable C compiler found in \$PATH
4637 See \`config.log' for more details." "$LINENO" 5; }
4639 # Provide some information about the compiler.
4640 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4643 for ac_option
in --version -v -V -qversion; do
4644 { { ac_try
="$ac_compiler $ac_option >&5"
4646 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4647 *) ac_try_echo=$ac_try;;
4649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4650 $as_echo "$ac_try_echo"; } >&5
4651 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4653 if test -s conftest.err; then
4655 ... rest of stderr output deleted ...
4656 10q' conftest.err >conftest.er1
4657 cat conftest.er1 >&5
4658 rm -f conftest.er1 conftest.err
4660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4661 test $ac_status = 0; }
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4665 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4666 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4667 $as_echo_n "(cached) " >&6
4669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4670 /* end confdefs.h. */
4683 if ac_fn_c_try_compile "$LINENO"; then :
4688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4689 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4693 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4694 if test $ac_compiler_gnu = yes; then
4699 ac_test_CFLAGS=${CFLAGS+set}
4700 ac_save_CFLAGS=$CFLAGS
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4702 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4703 if test "${ac_cv_prog_cc_g+set}" = set; then :
4704 $as_echo_n "(cached) " >&6
4706 ac_save_c_werror_flag=$ac_c_werror_flag
4707 ac_c_werror_flag=yes
4710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4711 /* end confdefs.h. */
4721 if ac_fn_c_try_compile "$LINENO"; then :
4725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4726 /* end confdefs.h. */
4736 if ac_fn_c_try_compile "$LINENO"; then :
4739 ac_c_werror_flag=$ac_save_c_werror_flag
4741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4742 /* end confdefs.h. */
4752 if ac_fn_c_try_compile "$LINENO"; then :
4755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4760 ac_c_werror_flag=$ac_save_c_werror_flag
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4763 $as_echo "$ac_cv_prog_cc_g" >&6; }
4764 if test "$ac_test_CFLAGS" = set; then
4765 CFLAGS=$ac_save_CFLAGS
4766 elif test $ac_cv_prog_cc_g = yes; then
4767 if test "$GCC" = yes; then
4773 if test "$GCC" = yes; then
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4780 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4781 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4782 $as_echo_n "(cached) " >&6
4784 ac_cv_prog_cc_c89=no
4786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4787 /* end confdefs.h. */
4790 #include <sys/types.h>
4791 #include <sys/stat.h>
4792 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4793 struct buf { int x; };
4794 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4795 static char *e (p, i)
4801 static char *f (char * (*g) (char **, int), char **p, ...)
4806 s = g (p, va_arg (v,int));
4811 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4812 function prototypes and stuff, but not '\xHH' hex character constants.
4813 These don't provoke an error unfortunately, instead are silently treated
4814 as 'x'. The following induces an error, until -std is added to get
4815 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4816 array size at least. It's necessary to write '\x00'==0 to get something
4817 that's true only with -std. */
4818 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4820 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4821 inside strings and character constants. */
4823 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4825 int test (int i, double x);
4826 struct s1 {int (*f) (int a);};
4827 struct s2 {int (*f) (double a);};
4828 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4834 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4839 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4840 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4842 CC="$ac_save_CC $ac_arg"
4843 if ac_fn_c_try_compile "$LINENO"; then :
4844 ac_cv_prog_cc_c89=$ac_arg
4846 rm -f core conftest.err conftest.$ac_objext
4847 test "x$ac_cv_prog_cc_c89" != "xno" && break
4849 rm -f conftest.$ac_ext
4854 case "x$ac_cv_prog_cc_c89" in
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4857 $as_echo "none needed" >&6; } ;;
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4860 $as_echo "unsupported" >&6; } ;;
4862 CC="$CC $ac_cv_prog_cc_c89"
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4864 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4866 if test "x$ac_cv_prog_cc_c89" != xno; then :
4871 ac_cpp='$CPP $CPPFLAGS'
4872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4877 ac_cpp='$CXXCPP $CPPFLAGS'
4878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4881 if test -z "$CXX"; then
4882 if test -n "$CCC"; then
4885 if test -n "$ac_tool_prefix"; then
4886 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4888 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4889 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4891 $as_echo_n "checking for $ac_word... " >&6; }
4892 if test "${ac_cv_prog_CXX+set}" = set; then :
4893 $as_echo_n "(cached) " >&6
4895 if test -n "$CXX"; then
4896 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4902 test -z "$as_dir" && as_dir=.
4903 for ac_exec_ext in '' $ac_executable_extensions; do
4904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4905 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4916 if test -n "$CXX"; then
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4918 $as_echo "$CXX" >&6; }
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4921 $as_echo "no" >&6; }
4925 test -n "$CXX" && break
4928 if test -z "$CXX"; then
4930 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4932 # Extract the first word of "$ac_prog", so it can be a program name with args.
4933 set dummy $ac_prog; ac_word=$2
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4935 $as_echo_n "checking for $ac_word... " >&6; }
4936 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4937 $as_echo_n "(cached) " >&6
4939 if test -n "$ac_ct_CXX"; then
4940 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4946 test -z "$as_dir" && as_dir=.
4947 for ac_exec_ext in '' $ac_executable_extensions; do
4948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4949 ac_cv_prog_ac_ct_CXX="$ac_prog"
4950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4959 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4960 if test -n "$ac_ct_CXX"; then
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4962 $as_echo "$ac_ct_CXX" >&6; }
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4965 $as_echo "no" >&6; }
4969 test -n "$ac_ct_CXX" && break
4972 if test "x$ac_ct_CXX" = x; then
4975 case $cross_compiling:$ac_tool_warned in
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4978 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4979 ac_tool_warned=yes ;;
4987 # Provide some information about the compiler.
4988 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4991 for ac_option in --version -v -V -qversion; do
4992 { { ac_try="$ac_compiler $ac_option >&5"
4994 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4995 *) ac_try_echo
=$ac_try;;
4997 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4998 $as_echo "$ac_try_echo"; } >&5
4999 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5001 if test -s conftest.err
; then
5003 ... rest of stderr output deleted ...
5004 10q' conftest.err
>conftest.er1
5005 cat conftest.er1
>&5
5006 rm -f conftest.er1 conftest.err
5008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5009 test $ac_status = 0; }
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5013 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5014 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
5015 $as_echo_n "(cached) " >&6
5017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5018 /* end confdefs.h. */
5031 if ac_fn_cxx_try_compile
"$LINENO"; then :
5036 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5037 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5041 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5042 if test $ac_compiler_gnu = yes; then
5047 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5048 ac_save_CXXFLAGS
=$CXXFLAGS
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5050 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5051 if test "${ac_cv_prog_cxx_g+set}" = set; then :
5052 $as_echo_n "(cached) " >&6
5054 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5055 ac_cxx_werror_flag
=yes
5058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5059 /* end confdefs.h. */
5069 if ac_fn_cxx_try_compile
"$LINENO"; then :
5070 ac_cv_prog_cxx_g
=yes
5073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5074 /* end confdefs.h. */
5084 if ac_fn_cxx_try_compile
"$LINENO"; then :
5087 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5090 /* end confdefs.h. */
5100 if ac_fn_cxx_try_compile
"$LINENO"; then :
5101 ac_cv_prog_cxx_g
=yes
5103 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5108 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5111 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5112 if test "$ac_test_CXXFLAGS" = set; then
5113 CXXFLAGS
=$ac_save_CXXFLAGS
5114 elif test $ac_cv_prog_cxx_g = yes; then
5115 if test "$GXX" = yes; then
5121 if test "$GXX" = yes; then
5128 ac_cpp
='$CPP $CPPFLAGS'
5129 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5130 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5131 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5135 if test "x$CC" != xcc
; then
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5137 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5140 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5142 set dummy
$CC; ac_cc
=`$as_echo "$2" |
5143 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5144 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5145 $as_echo_n "(cached) " >&6
5147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5148 /* end confdefs.h. */
5158 # Make sure it works both with $CC and with simple cc.
5159 # We do the test twice because some compilers refuse to overwrite an
5160 # existing .o file with -o, though they will create one.
5161 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5163 if { { case "(($ac_try" in
5164 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5165 *) ac_try_echo=$ac_try;;
5167 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5168 $as_echo "$ac_try_echo"; } >&5
5169 (eval "$ac_try") 2>&5
5171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5172 test $ac_status = 0; } &&
5173 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5174 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5175 *) ac_try_echo
=$ac_try;;
5177 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5178 $as_echo "$ac_try_echo"; } >&5
5179 (eval "$ac_try") 2>&5
5181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5182 test $ac_status = 0; };
5184 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
5185 if test "x$CC" != xcc
; then
5186 # Test first that cc exists at all.
5187 if { ac_try
='cc -c conftest.$ac_ext >&5'
5188 { { case "(($ac_try" in
5189 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5190 *) ac_try_echo=$ac_try;;
5192 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5193 $as_echo "$ac_try_echo"; } >&5
5194 (eval "$ac_try") 2>&5
5196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5197 test $ac_status = 0; }; }; then
5198 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5200 if { { case "(($ac_try" in
5201 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5202 *) ac_try_echo
=$ac_try;;
5204 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5205 $as_echo "$ac_try_echo"; } >&5
5206 (eval "$ac_try") 2>&5
5208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5209 test $ac_status = 0; } &&
5210 test -f conftest2.
$ac_objext && { { 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; };
5224 # cc exists but doesn't like -o.
5225 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5230 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5232 rm -f core conftest*
5235 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5237 $as_echo "yes" >&6; }
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5240 $as_echo "no" >&6; }
5242 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5246 # FIXME: we rely on the cache variable name because
5247 # there is no other way.
5249 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5250 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5251 if test "$am_t" != yes; then
5252 # Losing compiler, so override with the script.
5253 # FIXME: It is wrong to rewrite CC.
5254 # But if we don't then we get into trouble of one sort or another.
5255 # A longer-term fix would be to have automake use am__CC in this case,
5256 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5257 CC="$am_aux_dir/compile $CC"
5264 # Newer automakes demand CCAS and CCASFLAGS.
5266 : ${CCASFLAGS='$(CFLAGS)'}
5270 if test -n "$ac_tool_prefix"; then
5271 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5272 set dummy ${ac_tool_prefix}as; ac_word=$2
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5274 $as_echo_n "checking for $ac_word... " >&6; }
5275 if test "${ac_cv_prog_AS+set}" = set; then :
5276 $as_echo_n "(cached) " >&6
5278 if test -n "$AS"; then
5279 ac_cv_prog_AS="$AS" # Let the user override the test.
5281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5285 test -z "$as_dir" && as_dir=.
5286 for ac_exec_ext in '' $ac_executable_extensions; do
5287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5288 ac_cv_prog_AS="${ac_tool_prefix}as"
5289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5299 if test -n "$AS"; then
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5301 $as_echo "$AS" >&6; }
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5304 $as_echo "no" >&6; }
5309 if test -z "$ac_cv_prog_AS"; then
5311 # Extract the first word of "as", so it can be a program name with args.
5312 set dummy as; ac_word=$2
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5314 $as_echo_n "checking for $ac_word... " >&6; }
5315 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5316 $as_echo_n "(cached) " >&6
5318 if test -n "$ac_ct_AS"; then
5319 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5325 test -z "$as_dir" && as_dir=.
5326 for ac_exec_ext in '' $ac_executable_extensions; do
5327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5328 ac_cv_prog_ac_ct_AS="as"
5329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5338 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5339 if test -n "$ac_ct_AS"; then
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5341 $as_echo "$ac_ct_AS" >&6; }
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5344 $as_echo "no" >&6; }
5347 if test "x$ac_ct_AS" = x; then
5350 case $cross_compiling:$ac_tool_warned in
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5353 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5354 ac_tool_warned=yes ;;
5362 if test -n "$ac_tool_prefix"; then
5363 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5364 set dummy ${ac_tool_prefix}ar; ac_word=$2
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5366 $as_echo_n "checking for $ac_word... " >&6; }
5367 if test "${ac_cv_prog_AR+set}" = set; then :
5368 $as_echo_n "(cached) " >&6
5370 if test -n "$AR"; then
5371 ac_cv_prog_AR="$AR" # Let the user override the test.
5373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5377 test -z "$as_dir" && as_dir=.
5378 for ac_exec_ext in '' $ac_executable_extensions; do
5379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5380 ac_cv_prog_AR="${ac_tool_prefix}ar"
5381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5391 if test -n "$AR"; then
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5393 $as_echo "$AR" >&6; }
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5396 $as_echo "no" >&6; }
5401 if test -z "$ac_cv_prog_AR"; then
5403 # Extract the first word of "ar", so it can be a program name with args.
5404 set dummy ar; ac_word=$2
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5406 $as_echo_n "checking for $ac_word... " >&6; }
5407 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5408 $as_echo_n "(cached) " >&6
5410 if test -n "$ac_ct_AR"; then
5411 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5417 test -z "$as_dir" && as_dir=.
5418 for ac_exec_ext in '' $ac_executable_extensions; do
5419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5420 ac_cv_prog_ac_ct_AR="ar"
5421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5430 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5431 if test -n "$ac_ct_AR"; then
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5433 $as_echo "$ac_ct_AR" >&6; }
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5436 $as_echo "no" >&6; }
5439 if test "x$ac_ct_AR" = x; then
5442 case $cross_compiling:$ac_tool_warned in
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5445 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5446 ac_tool_warned=yes ;;
5454 if test -n "$ac_tool_prefix"; then
5455 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5456 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5458 $as_echo_n "checking for $ac_word... " >&6; }
5459 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5460 $as_echo_n "(cached) " >&6
5462 if test -n "$RANLIB"; then
5463 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5469 test -z "$as_dir" && as_dir=.
5470 for ac_exec_ext in '' $ac_executable_extensions; do
5471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5472 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5482 RANLIB=$ac_cv_prog_RANLIB
5483 if test -n "$RANLIB"; then
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5485 $as_echo "$RANLIB" >&6; }
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5488 $as_echo "no" >&6; }
5493 if test -z "$ac_cv_prog_RANLIB"; then
5494 ac_ct_RANLIB=$RANLIB
5495 # Extract the first word of "ranlib", so it can be a program name with args.
5496 set dummy ranlib; ac_word=$2
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5498 $as_echo_n "checking for $ac_word... " >&6; }
5499 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5500 $as_echo_n "(cached) " >&6
5502 if test -n "$ac_ct_RANLIB"; then
5503 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5509 test -z "$as_dir" && as_dir=.
5510 for ac_exec_ext in '' $ac_executable_extensions; do
5511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5512 ac_cv_prog_ac_ct_RANLIB="ranlib"
5513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5522 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5523 if test -n "$ac_ct_RANLIB"; then
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5525 $as_echo "$ac_ct_RANLIB" >&6; }
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5528 $as_echo "no" >&6; }
5531 if test "x$ac_ct_RANLIB" = x; then
5534 case $cross_compiling:$ac_tool_warned in
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5537 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5538 ac_tool_warned=yes ;;
5540 RANLIB=$ac_ct_RANLIB
5543 RANLIB="$ac_cv_prog_RANLIB"
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5555 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5560 macro_version='2.2.7a'
5561 macro_revision='1.3134'
5575 ltmain="$ac_aux_dir/ltmain.sh"
5577 # Backslashify metacharacters that are still active within
5578 # double-quoted strings.
5579 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5581 # Same as above, but do not quote variable references.
5582 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5584 # Sed substitution to delay expansion of an escaped shell variable in a
5585 # double_quote_subst'ed string.
5586 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5588 # Sed substitution to delay expansion of an escaped single quote.
5589 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5591 # Sed substitution to avoid accidental globbing in evaled expressions
5592 no_glob_subst='s/\*/\\\*/g'
5594 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5595 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5596 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5599 $as_echo_n "checking how to print
strings...
" >&6; }
5600 # Test print first, because it will be a builtin if present.
5601 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
5602 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5604 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5607 # Use this function as a fallback that always works.
5608 func_fallback_echo ()
5610 eval 'cat <<_LTECHO_EOF
5614 ECHO='func_fallback_echo'
5617 # func_echo_all arg...
5618 # Invoke $ECHO with all args, space-separated.
5625 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5626 $as_echo "printf" >&6; } ;;
5627 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5628 $as_echo "print
-r" >&6; } ;;
5629 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5630 $as_echo "cat" >&6; } ;;
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5647 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5648 if test "${ac_cv_path_SED+set}" = set; then :
5649 $as_echo_n "(cached
) " >&6
5651 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5652 for ac_i in 1 2 3 4 5 6 7; do
5653 ac_script="$ac_script$as_nl$ac_script"
5655 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5656 { ac_script=; unset ac_script;}
5657 if test -z "$SED"; then
5658 ac_path_SED_found=false
5659 # Loop through the user's path and test for each of PROGNAME-LIST
5660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5664 test -z "$as_dir" && as_dir=.
5665 for ac_prog in sed gsed; do
5666 for ac_exec_ext in '' $ac_executable_extensions; do
5667 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5668 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5669 # Check for GNU ac_path_SED and select it if it is found.
5670 # Check for GNU $ac_path_SED
5671 case `"$ac_path_SED" --version 2>&1` in
5673 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5676 $as_echo_n 0123456789 >"conftest.
in"
5679 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5680 mv "conftest.tmp
" "conftest.
in"
5681 cp "conftest.
in" "conftest.
nl"
5682 $as_echo '' >> "conftest.
nl"
5683 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5684 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5685 as_fn_arith $ac_count + 1 && ac_count=$as_val
5686 if test $ac_count -gt ${ac_path_SED_max-0}; then
5687 # Best one so far, save it but keep looking for a better one
5688 ac_cv_path_SED="$ac_path_SED"
5689 ac_path_SED_max=$ac_count
5691 # 10*(2^10) chars as input seems more than enough
5692 test $ac_count -gt 10 && break
5694 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5697 $ac_path_SED_found && break 3
5702 if test -z "$ac_cv_path_SED"; then
5703 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5711 $as_echo "$ac_cv_path_SED" >&6; }
5712 SED="$ac_cv_path_SED"
5715 test -z "$SED" && SED=sed
5716 Xsed="$SED -e 1s
/^X
//"
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5729 $as_echo_n "checking
for fgrep...
" >&6; }
5730 if test "${ac_cv_path_FGREP+set}" = set; then :
5731 $as_echo_n "(cached
) " >&6
5733 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5734 then ac_cv_path_FGREP="$GREP -F"
5736 if test -z "$FGREP"; then
5737 ac_path_FGREP_found=false
5738 # Loop through the user's path and test for each of PROGNAME-LIST
5739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5740 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5743 test -z "$as_dir" && as_dir=.
5744 for ac_prog in fgrep; do
5745 for ac_exec_ext in '' $ac_executable_extensions; do
5746 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5747 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5748 # Check for GNU ac_path_FGREP and select it if it is found.
5749 # Check for GNU $ac_path_FGREP
5750 case `"$ac_path_FGREP" --version 2>&1` in
5752 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5755 $as_echo_n 0123456789 >"conftest.
in"
5758 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5759 mv "conftest.tmp
" "conftest.
in"
5760 cp "conftest.
in" "conftest.
nl"
5761 $as_echo 'FGREP' >> "conftest.
nl"
5762 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5763 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5764 as_fn_arith $ac_count + 1 && ac_count=$as_val
5765 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5766 # Best one so far, save it but keep looking for a better one
5767 ac_cv_path_FGREP="$ac_path_FGREP"
5768 ac_path_FGREP_max=$ac_count
5770 # 10*(2^10) chars as input seems more than enough
5771 test $ac_count -gt 10 && break
5773 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5776 $ac_path_FGREP_found && break 3
5781 if test -z "$ac_cv_path_FGREP"; then
5782 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5785 ac_cv_path_FGREP=$FGREP
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5791 $as_echo "$ac_cv_path_FGREP" >&6; }
5792 FGREP="$ac_cv_path_FGREP"
5795 test -z "$GREP" && GREP=grep
5815 # Check whether --with-gnu-ld was given.
5816 if test "${with_gnu_ld+set}" = set; then :
5817 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5823 if test "$GCC" = yes; then
5824 # Check if gcc -print-prog-name=ld gives a path.
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5826 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5829 # gcc leaves a trailing carriage return which upsets mingw
5830 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5832 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5835 # Accept absolute paths.
5837 re_direlt='/[^/][^/]*/\.\./'
5838 # Canonicalize the pathname of ld
5839 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5840 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5841 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5843 test -z "$LD" && LD="$ac_prog"
5846 # If it fails, then pretend we aren't using GCC.
5850 # If it is relative, then search for the first ld in PATH.
5854 elif test "$with_gnu_ld" = yes; then
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5856 $as_echo_n "checking
for GNU ld...
" >&6; }
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
5859 $as_echo_n "checking
for non-GNU ld...
" >&6; }
5861 if test "${lt_cv_path_LD+set}" = set; then :
5862 $as_echo_n "(cached
) " >&6
5864 if test -z "$LD"; then
5865 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5866 for ac_dir in $PATH; do
5868 test -z "$ac_dir" && ac_dir=.
5869 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5870 lt_cv_path_LD="$ac_dir/$ac_prog"
5871 # Check to see if the program is GNU ld. I'd rather use --version,
5872 # but apparently some variants of GNU ld only accept -v.
5873 # Break only if it was the GNU/non-GNU ld that we prefer.
5874 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5875 *GNU* | *'with BFD'*)
5876 test "$with_gnu_ld" != no && break
5879 test "$with_gnu_ld" != yes && break
5886 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5891 if test -n "$LD"; then
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5893 $as_echo "$LD" >&6; }
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5896 $as_echo "no
" >&6; }
5898 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5900 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5901 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5902 $as_echo_n "(cached
) " >&6
5904 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5905 case `$LD -v 2>&1 </dev/null` in
5906 *GNU* | *'with BFD'*)
5907 lt_cv_prog_gnu_ld=yes
5910 lt_cv_prog_gnu_ld=no
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5915 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5916 with_gnu_ld=$lt_cv_prog_gnu_ld
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5927 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5928 if test "${lt_cv_path_NM+set}" = set; then :
5929 $as_echo_n "(cached
) " >&6
5931 if test -n "$NM"; then
5932 # Let the user override the test.
5935 lt_nm_to_check="${ac_tool_prefix}nm
"
5936 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5937 lt_nm_to_check="$lt_nm_to_check nm
"
5939 for lt_tmp_nm in $lt_nm_to_check; do
5940 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5941 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5943 test -z "$ac_dir" && ac_dir=.
5944 tmp_nm="$ac_dir/$lt_tmp_nm"
5945 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5946 # Check to see if the nm accepts a BSD-compat flag.
5947 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5948 # nm: unknown option "B
" ignored
5949 # Tru64's nm complains that /dev/null is an invalid object file
5950 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5951 */dev/null* | *'Invalid file or object type'*)
5952 lt_cv_path_NM="$tmp_nm -B"
5956 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5958 lt_cv_path_NM="$tmp_nm -p"
5962 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5963 continue # so that we can try to find one that supports BSD flags
5972 : ${lt_cv_path_NM=no}
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5976 $as_echo "$lt_cv_path_NM" >&6; }
5977 if test "$lt_cv_path_NM" != "no
"; then
5980 # Didn't find any BSD compatible name lister, look for dumpbin.
5981 if test -n "$DUMPBIN"; then :
5982 # Let the user override the test.
5984 if test -n "$ac_tool_prefix"; then
5985 for ac_prog in dumpbin "link
-dump"
5987 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5988 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5990 $as_echo_n "checking
for $ac_word...
" >&6; }
5991 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5992 $as_echo_n "(cached
) " >&6
5994 if test -n "$DUMPBIN"; then
5995 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6001 test -z "$as_dir" && as_dir=.
6002 for ac_exec_ext in '' $ac_executable_extensions; do
6003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6004 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6005 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6014 DUMPBIN=$ac_cv_prog_DUMPBIN
6015 if test -n "$DUMPBIN"; then
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
6017 $as_echo "$DUMPBIN" >&6; }
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6020 $as_echo "no
" >&6; }
6024 test -n "$DUMPBIN" && break
6027 if test -z "$DUMPBIN"; then
6028 ac_ct_DUMPBIN=$DUMPBIN
6029 for ac_prog in dumpbin "link
-dump"
6031 # Extract the first word of "$ac_prog", so it can be a program name with args.
6032 set dummy $ac_prog; ac_word=$2
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6034 $as_echo_n "checking
for $ac_word...
" >&6; }
6035 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6036 $as_echo_n "(cached
) " >&6
6038 if test -n "$ac_ct_DUMPBIN"; then
6039 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6045 test -z "$as_dir" && as_dir=.
6046 for ac_exec_ext in '' $ac_executable_extensions; do
6047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6048 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6049 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6058 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6059 if test -n "$ac_ct_DUMPBIN"; then
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
6061 $as_echo "$ac_ct_DUMPBIN" >&6; }
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6064 $as_echo "no
" >&6; }
6068 test -n "$ac_ct_DUMPBIN" && break
6071 if test "x
$ac_ct_DUMPBIN" = x; then
6074 case $cross_compiling:$ac_tool_warned in
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6077 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6078 ac_tool_warned=yes ;;
6080 DUMPBIN=$ac_ct_DUMPBIN
6084 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6086 DUMPBIN="$DUMPBIN -symbols"
6094 if test "$DUMPBIN" != ":"; then
6098 test -z "$NM" && NM=nm
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6106 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6107 if test "${lt_cv_nm_interface+set}" = set; then :
6108 $as_echo_n "(cached
) " >&6
6110 lt_cv_nm_interface="BSD nm
"
6111 echo "int some_variable
= 0;" > conftest.$ac_ext
6112 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6113 (eval "$ac_compile" 2>conftest.err)
6114 cat conftest.err >&5
6115 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6116 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6117 cat conftest.err >&5
6118 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6119 cat conftest.out >&5
6120 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6121 lt_cv_nm_interface="MS dumpbin
"
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6126 $as_echo "$lt_cv_nm_interface" >&6; }
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
6129 $as_echo_n "checking whether
ln -s works...
" >&6; }
6131 if test "$LN_S" = "ln -s"; then
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
6133 $as_echo "yes" >&6; }
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
6136 $as_echo "no
, using
$LN_S" >&6; }
6139 # find the maximum length of command line arguments
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6141 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6142 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6143 $as_echo_n "(cached
) " >&6
6150 # On DJGPP, this test can blow up pretty badly due to problems in libc
6151 # (any single argument exceeding 2000 bytes causes a buffer overrun
6152 # during glob expansion). Even if it were fixed, the result of this
6153 # check would be larger than it should be.
6154 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6158 # Under GNU Hurd, this test is not required because there is
6159 # no limit to the length of command line arguments.
6160 # Libtool will interpret -1 as no limit whatsoever
6161 lt_cv_sys_max_cmd_len=-1;
6164 cygwin* | mingw* | cegcc*)
6165 # On Win9x/ME, this test blows up -- it succeeds, but takes
6166 # about 5 minutes as the teststring grows exponentially.
6167 # Worse, since 9x/ME are not pre-emptively multitasking,
6168 # you end up with a "frozen
" computer, even though with patience
6169 # the test eventually succeeds (with a max line length of 256k).
6170 # Instead, let's just punt: use the minimum linelength reported by
6171 # all of the supported platforms: 8192 (on NT/2K/XP).
6172 lt_cv_sys_max_cmd_len=8192;
6176 # On MiNT this can take a long time and run out of memory.
6177 lt_cv_sys_max_cmd_len=8192;
6181 # On AmigaOS with pdksh, this test takes hours, literally.
6182 # So we just punt and use a minimum line length of 8192.
6183 lt_cv_sys_max_cmd_len=8192;
6186 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6187 # This has been around since 386BSD, at least. Likely further.
6188 if test -x /sbin/sysctl; then
6189 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6190 elif test -x /usr/sbin/sysctl; then
6191 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6193 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6195 # And add a safety zone
6196 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6197 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6201 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6202 lt_cv_sys_max_cmd_len=196608
6206 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6207 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6208 # nice to cause kernel panics so lets avoid the loop below.
6209 # First set a reasonable default.
6210 lt_cv_sys_max_cmd_len=16384
6212 if test -x /sbin/sysconfig; then
6213 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6214 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6219 lt_cv_sys_max_cmd_len=102400
6221 sysv5* | sco5v6* | sysv4.2uw2*)
6222 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6223 if test -n "$kargmax"; then
6224 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6226 lt_cv_sys_max_cmd_len=32768
6230 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6231 if test -n "$lt_cv_sys_max_cmd_len"; then
6232 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6233 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6235 # Make teststring a little bigger before we do anything with it.
6236 # a 1K string should be a reasonable start.
6237 for i in 1 2 3 4 5 6 7 8 ; do
6238 teststring=$teststring$teststring
6240 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6241 # If test is not a shell built-in, we'll probably end up computing a
6242 # maximum length that is only half of the actual maximum length, but
6244 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6245 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6246 test $i != 17 # 1/2 MB should be enough
6249 teststring=$teststring$teststring
6251 # Only check the string length outside the loop.
6252 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6254 # Add a significant safety factor because C++ compilers can tack on
6255 # massive amounts of additional arguments before passing them to the
6256 # linker. It appears as though 1/2 is a usable value.
6257 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6264 if test -n $lt_cv_sys_max_cmd_len ; then
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6266 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6269 $as_echo "none
" >&6; }
6271 max_cmd_len=$lt_cv_sys_max_cmd_len
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6283 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6284 # Try some XSI features
6287 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6289 && eval 'test $(( 1 + 1 )) -eq 2 \
6290 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6293 $as_echo "$xsi_shell" >&6; }
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6297 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6299 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6301 && lt_shell_append
=yes
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6303 $as_echo "$lt_shell_append" >&6; }
6306 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6316 # test EBCDIC or ASCII
6317 case `echo X|tr X '\101'` in
6318 A
) # ASCII based system
6319 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6320 lt_SP2NL
='tr \040 \012'
6321 lt_NL2SP
='tr \015\012 \040\040'
6323 *) # EBCDIC based system
6324 lt_SP2NL
='tr \100 \n'
6325 lt_NL2SP
='tr \r\n \100\100'
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6338 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6339 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6340 $as_echo_n "(cached) " >&6
6342 lt_cv_ld_reload_flag
='-r'
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6345 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6346 reload_flag
=$lt_cv_ld_reload_flag
6347 case $reload_flag in
6349 *) reload_flag
=" $reload_flag" ;;
6351 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6354 if test "$GCC" = yes; then
6355 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6357 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6370 if test -n "$ac_tool_prefix"; then
6371 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6372 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6374 $as_echo_n "checking for $ac_word... " >&6; }
6375 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6376 $as_echo_n "(cached) " >&6
6378 if test -n "$OBJDUMP"; then
6379 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6385 test -z "$as_dir" && as_dir
=.
6386 for ac_exec_ext
in '' $ac_executable_extensions; do
6387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6388 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6398 OBJDUMP
=$ac_cv_prog_OBJDUMP
6399 if test -n "$OBJDUMP"; then
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6401 $as_echo "$OBJDUMP" >&6; }
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6404 $as_echo "no" >&6; }
6409 if test -z "$ac_cv_prog_OBJDUMP"; then
6410 ac_ct_OBJDUMP
=$OBJDUMP
6411 # Extract the first word of "objdump", so it can be a program name with args.
6412 set dummy objdump
; ac_word
=$2
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6414 $as_echo_n "checking for $ac_word... " >&6; }
6415 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6416 $as_echo_n "(cached) " >&6
6418 if test -n "$ac_ct_OBJDUMP"; then
6419 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6425 test -z "$as_dir" && as_dir
=.
6426 for ac_exec_ext
in '' $ac_executable_extensions; do
6427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6428 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6438 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6439 if test -n "$ac_ct_OBJDUMP"; then
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6441 $as_echo "$ac_ct_OBJDUMP" >&6; }
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6444 $as_echo "no" >&6; }
6447 if test "x$ac_ct_OBJDUMP" = x
; then
6450 case $cross_compiling:$ac_tool_warned in
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6453 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6454 ac_tool_warned
=yes ;;
6456 OBJDUMP
=$ac_ct_OBJDUMP
6459 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6462 test -z "$OBJDUMP" && OBJDUMP
=objdump
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6473 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6474 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6475 $as_echo_n "(cached) " >&6
6477 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6478 lt_cv_file_magic_test_file
=
6479 lt_cv_deplibs_check_method
='unknown'
6480 # Need to set the preceding variable on all platforms that support
6481 # interlibrary dependencies.
6482 # 'none' -- dependencies not supported.
6483 # `unknown' -- same as none, but documents that we really don't know.
6484 # 'pass_all' -- all dependencies passed with no checks.
6485 # 'test_compile' -- check by making test program.
6486 # 'file_magic [[regex]]' -- check by looking for files in library path
6487 # which responds to the $file_magic_cmd with a given extended regex.
6488 # If you have `file' or equivalent on your system and you're not sure
6489 # whether `pass_all' will *always* work, you probably want this one.
6493 lt_cv_deplibs_check_method
=pass_all
6497 lt_cv_deplibs_check_method
=pass_all
6501 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6502 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6503 lt_cv_file_magic_test_file
=/shlib
/libc.so
6507 # func_win32_libid is a shell function defined in ltmain.sh
6508 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6509 lt_cv_file_magic_cmd
='func_win32_libid'
6513 # Base MSYS/MinGW do not provide the 'file' command needed by
6514 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6515 # unless we find 'file', for example because we are cross-compiling.
6516 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6517 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
6518 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6519 lt_cv_file_magic_cmd
='func_win32_libid'
6521 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
6522 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6527 # use the weaker test based on 'objdump'. See mingw*.
6528 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6529 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6532 darwin
* | rhapsody
*)
6533 lt_cv_deplibs_check_method
=pass_all
6536 freebsd
* | dragonfly
*)
6537 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6540 # Not sure whether the presence of OpenBSD here was a mistake.
6541 # Let's accept both of them until this is cleared up.
6542 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6543 lt_cv_file_magic_cmd
=/usr
/bin
/file
6544 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6548 lt_cv_deplibs_check_method
=pass_all
6553 lt_cv_deplibs_check_method
=pass_all
6557 lt_cv_deplibs_check_method
=pass_all
6560 hpux10.20
* | hpux11
*)
6561 lt_cv_file_magic_cmd
=/usr
/bin
/file
6564 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6565 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6568 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]'
6569 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6572 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6573 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6579 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6580 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6583 irix5
* | irix6
* | nonstopux
*)
6585 *-32|
*"-32 ") libmagic
=32-bit;;
6586 *-n32|
*"-n32 ") libmagic
=N32
;;
6587 *-64|
*"-64 ") libmagic
=64-bit;;
6588 *) libmagic
=never-match
;;
6590 lt_cv_deplibs_check_method
=pass_all
6593 # This must be Linux ELF.
6594 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
6595 lt_cv_deplibs_check_method
=pass_all
6599 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6600 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6602 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6607 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6608 lt_cv_file_magic_cmd
=/usr
/bin
/file
6609 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6613 lt_cv_deplibs_check_method
=pass_all
6617 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6618 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6620 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6624 osf3
* | osf4
* | osf5
*)
6625 lt_cv_deplibs_check_method
=pass_all
6629 lt_cv_deplibs_check_method
=pass_all
6633 lt_cv_deplibs_check_method
=pass_all
6636 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6637 lt_cv_deplibs_check_method
=pass_all
6641 case $host_vendor in
6643 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]'
6644 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6647 lt_cv_deplibs_check_method
=pass_all
6650 lt_cv_file_magic_cmd
='/bin/file'
6651 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6654 lt_cv_file_magic_cmd
='/bin/file'
6655 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6656 lt_cv_file_magic_test_file
=/lib
/libc.so
6659 lt_cv_deplibs_check_method
=pass_all
6662 lt_cv_deplibs_check_method
=pass_all
6668 lt_cv_deplibs_check_method
=pass_all
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6674 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6675 file_magic_cmd
=$lt_cv_file_magic_cmd
6676 deplibs_check_method
=$lt_cv_deplibs_check_method
6677 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6690 if test -n "$ac_tool_prefix"; then
6691 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6692 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6694 $as_echo_n "checking for $ac_word... " >&6; }
6695 if test "${ac_cv_prog_AR+set}" = set; then :
6696 $as_echo_n "(cached) " >&6
6698 if test -n "$AR"; then
6699 ac_cv_prog_AR
="$AR" # Let the user override the test.
6701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6705 test -z "$as_dir" && as_dir
=.
6706 for ac_exec_ext
in '' $ac_executable_extensions; do
6707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6708 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6719 if test -n "$AR"; then
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6721 $as_echo "$AR" >&6; }
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6724 $as_echo "no" >&6; }
6729 if test -z "$ac_cv_prog_AR"; then
6731 # Extract the first word of "ar", so it can be a program name with args.
6732 set dummy
ar; ac_word
=$2
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6734 $as_echo_n "checking for $ac_word... " >&6; }
6735 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6736 $as_echo_n "(cached) " >&6
6738 if test -n "$ac_ct_AR"; then
6739 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6745 test -z "$as_dir" && as_dir
=.
6746 for ac_exec_ext
in '' $ac_executable_extensions; do
6747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6748 ac_cv_prog_ac_ct_AR
="ar"
6749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6758 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6759 if test -n "$ac_ct_AR"; then
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6761 $as_echo "$ac_ct_AR" >&6; }
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6764 $as_echo "no" >&6; }
6767 if test "x$ac_ct_AR" = x
; then
6770 case $cross_compiling:$ac_tool_warned in
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6774 ac_tool_warned
=yes ;;
6782 test -z "$AR" && AR
=ar
6783 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6795 if test -n "$ac_tool_prefix"; then
6796 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6797 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6799 $as_echo_n "checking for $ac_word... " >&6; }
6800 if test "${ac_cv_prog_STRIP+set}" = set; then :
6801 $as_echo_n "(cached) " >&6
6803 if test -n "$STRIP"; then
6804 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6810 test -z "$as_dir" && as_dir
=.
6811 for ac_exec_ext
in '' $ac_executable_extensions; do
6812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6813 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6823 STRIP
=$ac_cv_prog_STRIP
6824 if test -n "$STRIP"; then
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6826 $as_echo "$STRIP" >&6; }
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6829 $as_echo "no" >&6; }
6834 if test -z "$ac_cv_prog_STRIP"; then
6836 # Extract the first word of "strip", so it can be a program name with args.
6837 set dummy strip
; ac_word
=$2
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6839 $as_echo_n "checking for $ac_word... " >&6; }
6840 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6841 $as_echo_n "(cached) " >&6
6843 if test -n "$ac_ct_STRIP"; then
6844 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6850 test -z "$as_dir" && as_dir
=.
6851 for ac_exec_ext
in '' $ac_executable_extensions; do
6852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6853 ac_cv_prog_ac_ct_STRIP
="strip"
6854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6863 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6864 if test -n "$ac_ct_STRIP"; then
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6866 $as_echo "$ac_ct_STRIP" >&6; }
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6869 $as_echo "no" >&6; }
6872 if test "x$ac_ct_STRIP" = x
; then
6875 case $cross_compiling:$ac_tool_warned in
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6878 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6879 ac_tool_warned
=yes ;;
6884 STRIP
="$ac_cv_prog_STRIP"
6887 test -z "$STRIP" && STRIP
=:
6894 if test -n "$ac_tool_prefix"; then
6895 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6896 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6898 $as_echo_n "checking for $ac_word... " >&6; }
6899 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6900 $as_echo_n "(cached) " >&6
6902 if test -n "$RANLIB"; then
6903 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6909 test -z "$as_dir" && as_dir
=.
6910 for ac_exec_ext
in '' $ac_executable_extensions; do
6911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6912 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6922 RANLIB
=$ac_cv_prog_RANLIB
6923 if test -n "$RANLIB"; then
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6925 $as_echo "$RANLIB" >&6; }
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6928 $as_echo "no" >&6; }
6933 if test -z "$ac_cv_prog_RANLIB"; then
6934 ac_ct_RANLIB
=$RANLIB
6935 # Extract the first word of "ranlib", so it can be a program name with args.
6936 set dummy ranlib
; ac_word
=$2
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6938 $as_echo_n "checking for $ac_word... " >&6; }
6939 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6940 $as_echo_n "(cached) " >&6
6942 if test -n "$ac_ct_RANLIB"; then
6943 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6949 test -z "$as_dir" && as_dir
=.
6950 for ac_exec_ext
in '' $ac_executable_extensions; do
6951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6952 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6962 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6963 if test -n "$ac_ct_RANLIB"; then
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6965 $as_echo "$ac_ct_RANLIB" >&6; }
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6968 $as_echo "no" >&6; }
6971 if test "x$ac_ct_RANLIB" = x
; then
6974 case $cross_compiling:$ac_tool_warned in
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6977 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6978 ac_tool_warned
=yes ;;
6980 RANLIB
=$ac_ct_RANLIB
6983 RANLIB
="$ac_cv_prog_RANLIB"
6986 test -z "$RANLIB" && RANLIB
=:
6993 # Determine commands to create old-style static archives.
6994 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6995 old_postinstall_cmds
='chmod 644 $oldlib'
6996 old_postuninstall_cmds
=
6998 if test -n "$RANLIB"; then
7001 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7004 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7007 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7012 lock_old_archive_extraction
=yes ;;
7014 lock_old_archive_extraction
=no
;;
7055 # If no C compiler was specified, use CC.
7058 # If no C compiler flags were specified, use CFLAGS.
7059 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7061 # Allow CC to be a program name with arguments.
7065 # Check for command to grab the raw symbol name followed by C symbol from nm.
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7067 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7068 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7069 $as_echo_n "(cached) " >&6
7072 # These are sane defaults that work on at least a few old systems.
7073 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7075 # Character class describing NM global symbol codes.
7076 symcode
='[BCDEGRST]'
7078 # Regexp to match symbols that can be accessed directly from C.
7079 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7081 # Define system-specific variables.
7086 cygwin
* | mingw
* | pw32
* | cegcc
*)
7087 symcode
='[ABCDGISTW]'
7090 if test "$host_cpu" = ia64
; then
7091 symcode
='[ABCDEGRST]'
7095 symcode
='[BCDEGRST]'
7098 symcode
='[BCDEGQRST]'
7109 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7117 # If we're using GNU nm, then use its standard symbol codes.
7118 case `$NM -V 2>&1` in
7119 *GNU
* |
*'with BFD'*)
7120 symcode
='[ABCDGIRSTW]' ;;
7123 # Transform an extracted symbol line into a proper C declaration.
7124 # Some systems (esp. on ia64) link data and code symbols differently,
7125 # so use this general approach.
7126 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7128 # Transform an extracted symbol line into symbol name and symbol address
7129 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7130 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'"
7132 # Handle CRLF in mingw tool chain
7136 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7140 # Try without a prefix underscore, then with it.
7141 for ac_symprfx
in "" "_"; do
7143 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7144 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7146 # Write the raw and C identifiers.
7147 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7148 # Fake it for dumpbin and say T for any non-static function
7149 # and D for any global variable.
7150 # Also find C++ and __fastcall symbols from MSVC++,
7151 # which start with @ or ?.
7152 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7153 " {last_section=section; section=\$ 3};"\
7154 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7155 " \$ 0!~/External *\|/{next};"\
7156 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7157 " {if(hide[section]) next};"\
7158 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7159 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7160 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7161 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7162 " ' prfx=^$ac_symprfx"
7164 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7167 # Check to see that the pipe works correctly.
7171 cat > conftest.
$ac_ext <<_LT_EOF
7176 void nm_test_func(void);
7177 void nm_test_func(void){}
7181 int main(){nm_test_var='a';nm_test_func();return(0);}
7184 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7185 (eval $ac_compile) 2>&5
7187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7188 test $ac_status = 0; }; then
7189 # Now try to grab the symbols.
7191 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7192 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7195 test $ac_status = 0; } && test -s "$nlist"; then
7196 # Try sorting and uniquifying the output.
7197 if sort "$nlist" |
uniq > "$nlist"T
; then
7198 mv -f "$nlist"T
"$nlist"
7203 # Make sure that we snagged all the symbols we need.
7204 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7205 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7206 cat <<_LT_EOF > conftest.$ac_ext
7212 # Now generate the symbol file.
7213 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7215 cat <<_LT_EOF >> conftest.$ac_ext
7217 /* The mapping between symbol names and symbols. */
7222 lt__PROGRAM__LTX_preloaded_symbols[] =
7224 { "@PROGRAM@", (void *) 0 },
7226 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7227 cat <<\_LT_EOF
>> conftest.
$ac_ext
7231 /* This works around a problem
in FreeBSD linker
*/
7232 #ifdef FREEBSD_WORKAROUND
7233 static const void
*lt_preloaded_setup
() {
7234 return lt__PROGRAM__LTX_preloaded_symbols
;
7242 # Now try linking the two files.
7243 mv conftest.
$ac_objext conftstm.
$ac_objext
7244 lt_save_LIBS
="$LIBS"
7245 lt_save_CFLAGS
="$CFLAGS"
7246 LIBS
="conftstm.$ac_objext"
7247 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7248 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7249 (eval $ac_link) 2>&5
7251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7252 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7255 LIBS
="$lt_save_LIBS"
7256 CFLAGS
="$lt_save_CFLAGS"
7258 echo "cannot find nm_test_func in $nlist" >&5
7261 echo "cannot find nm_test_var in $nlist" >&5
7264 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7267 echo "$progname: failed program was:" >&5
7268 cat conftest.
$ac_ext >&5
7270 rm -rf conftest
* conftst
*
7272 # Do not use the global_symbol_pipe unless it works.
7273 if test "$pipe_works" = yes; then
7276 lt_cv_sys_global_symbol_pipe
=
7282 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7283 lt_cv_sys_global_symbol_to_cdecl
=
7285 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7287 $as_echo "failed" >&6; }
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7290 $as_echo "ok" >&6; }
7314 # Check whether --enable-libtool-lock was given.
7315 if test "${enable_libtool_lock+set}" = set; then :
7316 enableval
=$enable_libtool_lock;
7319 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7321 # Some flags need to be propagated to the compiler or linker for good
7325 # Find out which ABI we are using.
7326 echo 'int i;' > conftest.
$ac_ext
7327 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7328 (eval $ac_compile) 2>&5
7330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7331 test $ac_status = 0; }; then
7332 case `/usr/bin/file conftest.$ac_objext` in
7344 # Find out which ABI we are using.
7345 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7346 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7347 (eval $ac_compile) 2>&5
7349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7350 test $ac_status = 0; }; then
7351 if test "$lt_cv_prog_gnu_ld" = yes; then
7352 case `/usr/bin/file conftest.$ac_objext` in
7354 LD
="${LD-ld} -melf32bsmip"
7357 LD
="${LD-ld} -melf32bmipn32"
7360 LD
="${LD-ld} -melf64bmip"
7364 case `/usr/bin/file conftest.$ac_objext` in
7380 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
7381 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
7382 # Find out which ABI we are using.
7383 echo 'int i;' > conftest.
$ac_ext
7384 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7385 (eval $ac_compile) 2>&5
7387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7388 test $ac_status = 0; }; then
7389 case `/usr/bin/file conftest.o` in
7392 x86_64-
*kfreebsd
*-gnu)
7393 LD
="${LD-ld} -m elf_i386_fbsd"
7396 case `/usr/bin/file conftest.o` in
7398 LD
="${LD-ld} -m elf32_x86_64"
7401 LD
="${LD-ld} -m elf_i386"
7405 powerpc64le-
*linux
*)
7406 LD
="${LD-ld} -m elf32lppclinux"
7409 LD
="${LD-ld} -m elf32ppclinux"
7412 LD
="${LD-ld} -m elf_s390"
7415 LD
="${LD-ld} -m elf32_sparc"
7421 x86_64-
*kfreebsd
*-gnu)
7422 LD
="${LD-ld} -m elf_x86_64_fbsd"
7425 LD
="${LD-ld} -m elf_x86_64"
7428 LD
="${LD-ld} -m elf64lppc"
7431 LD
="${LD-ld} -m elf64ppc"
7433 s390
*-*linux
*|s390
*-*tpf
*)
7434 LD
="${LD-ld} -m elf64_s390"
7437 LD
="${LD-ld} -m elf64_sparc"
7447 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7448 SAVE_CFLAGS
="$CFLAGS"
7449 CFLAGS
="$CFLAGS -belf"
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7451 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7452 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7453 $as_echo_n "(cached) " >&6
7456 ac_cpp
='$CPP $CPPFLAGS'
7457 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7458 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7459 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7462 /* end confdefs.h. */
7472 if ac_fn_c_try_link
"$LINENO"; then :
7473 lt_cv_cc_needs_belf
=yes
7475 lt_cv_cc_needs_belf
=no
7477 rm -f core conftest.err conftest.
$ac_objext \
7478 conftest
$ac_exeext conftest.
$ac_ext
7480 ac_cpp
='$CPP $CPPFLAGS'
7481 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7482 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7483 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7487 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7488 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7489 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7490 CFLAGS
="$SAVE_CFLAGS"
7494 # Find out which ABI we are using.
7495 echo 'int i;' > conftest.
$ac_ext
7496 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7497 (eval $ac_compile) 2>&5
7499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7500 test $ac_status = 0; }; then
7501 case `/usr/bin/file conftest.o` in
7503 case $lt_cv_prog_gnu_ld in
7504 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
7506 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7518 need_locks
="$enable_libtool_lock"
7522 rhapsody
* | darwin
*)
7523 if test -n "$ac_tool_prefix"; then
7524 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7525 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7527 $as_echo_n "checking for $ac_word... " >&6; }
7528 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7529 $as_echo_n "(cached) " >&6
7531 if test -n "$DSYMUTIL"; then
7532 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7538 test -z "$as_dir" && as_dir
=.
7539 for ac_exec_ext
in '' $ac_executable_extensions; do
7540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7541 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7551 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7552 if test -n "$DSYMUTIL"; then
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7554 $as_echo "$DSYMUTIL" >&6; }
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7557 $as_echo "no" >&6; }
7562 if test -z "$ac_cv_prog_DSYMUTIL"; then
7563 ac_ct_DSYMUTIL
=$DSYMUTIL
7564 # Extract the first word of "dsymutil", so it can be a program name with args.
7565 set dummy dsymutil
; ac_word
=$2
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7567 $as_echo_n "checking for $ac_word... " >&6; }
7568 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7569 $as_echo_n "(cached) " >&6
7571 if test -n "$ac_ct_DSYMUTIL"; then
7572 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7578 test -z "$as_dir" && as_dir
=.
7579 for ac_exec_ext
in '' $ac_executable_extensions; do
7580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7581 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7591 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7592 if test -n "$ac_ct_DSYMUTIL"; then
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7594 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7597 $as_echo "no" >&6; }
7600 if test "x$ac_ct_DSYMUTIL" = x
; then
7603 case $cross_compiling:$ac_tool_warned in
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7606 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7607 ac_tool_warned
=yes ;;
7609 DSYMUTIL
=$ac_ct_DSYMUTIL
7612 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7615 if test -n "$ac_tool_prefix"; then
7616 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7617 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7619 $as_echo_n "checking for $ac_word... " >&6; }
7620 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7621 $as_echo_n "(cached) " >&6
7623 if test -n "$NMEDIT"; then
7624 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7630 test -z "$as_dir" && as_dir
=.
7631 for ac_exec_ext
in '' $ac_executable_extensions; do
7632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7633 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7643 NMEDIT
=$ac_cv_prog_NMEDIT
7644 if test -n "$NMEDIT"; then
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7646 $as_echo "$NMEDIT" >&6; }
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7649 $as_echo "no" >&6; }
7654 if test -z "$ac_cv_prog_NMEDIT"; then
7655 ac_ct_NMEDIT
=$NMEDIT
7656 # Extract the first word of "nmedit", so it can be a program name with args.
7657 set dummy nmedit
; ac_word
=$2
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7659 $as_echo_n "checking for $ac_word... " >&6; }
7660 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7661 $as_echo_n "(cached) " >&6
7663 if test -n "$ac_ct_NMEDIT"; then
7664 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7670 test -z "$as_dir" && as_dir
=.
7671 for ac_exec_ext
in '' $ac_executable_extensions; do
7672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7673 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7683 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7684 if test -n "$ac_ct_NMEDIT"; then
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7686 $as_echo "$ac_ct_NMEDIT" >&6; }
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7689 $as_echo "no" >&6; }
7692 if test "x$ac_ct_NMEDIT" = x
; then
7695 case $cross_compiling:$ac_tool_warned in
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7699 ac_tool_warned
=yes ;;
7701 NMEDIT
=$ac_ct_NMEDIT
7704 NMEDIT
="$ac_cv_prog_NMEDIT"
7707 if test -n "$ac_tool_prefix"; then
7708 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7709 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7711 $as_echo_n "checking for $ac_word... " >&6; }
7712 if test "${ac_cv_prog_LIPO+set}" = set; then :
7713 $as_echo_n "(cached) " >&6
7715 if test -n "$LIPO"; then
7716 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7722 test -z "$as_dir" && as_dir
=.
7723 for ac_exec_ext
in '' $ac_executable_extensions; do
7724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7725 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7735 LIPO
=$ac_cv_prog_LIPO
7736 if test -n "$LIPO"; then
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7738 $as_echo "$LIPO" >&6; }
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7741 $as_echo "no" >&6; }
7746 if test -z "$ac_cv_prog_LIPO"; then
7748 # Extract the first word of "lipo", so it can be a program name with args.
7749 set dummy lipo
; ac_word
=$2
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7751 $as_echo_n "checking for $ac_word... " >&6; }
7752 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7753 $as_echo_n "(cached) " >&6
7755 if test -n "$ac_ct_LIPO"; then
7756 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7762 test -z "$as_dir" && as_dir
=.
7763 for ac_exec_ext
in '' $ac_executable_extensions; do
7764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7765 ac_cv_prog_ac_ct_LIPO
="lipo"
7766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7775 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7776 if test -n "$ac_ct_LIPO"; then
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7778 $as_echo "$ac_ct_LIPO" >&6; }
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7781 $as_echo "no" >&6; }
7784 if test "x$ac_ct_LIPO" = x
; then
7787 case $cross_compiling:$ac_tool_warned in
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7790 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7791 ac_tool_warned
=yes ;;
7796 LIPO
="$ac_cv_prog_LIPO"
7799 if test -n "$ac_tool_prefix"; then
7800 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7801 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7803 $as_echo_n "checking for $ac_word... " >&6; }
7804 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7805 $as_echo_n "(cached) " >&6
7807 if test -n "$OTOOL"; then
7808 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7814 test -z "$as_dir" && as_dir
=.
7815 for ac_exec_ext
in '' $ac_executable_extensions; do
7816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7817 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7827 OTOOL
=$ac_cv_prog_OTOOL
7828 if test -n "$OTOOL"; then
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7830 $as_echo "$OTOOL" >&6; }
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7833 $as_echo "no" >&6; }
7838 if test -z "$ac_cv_prog_OTOOL"; then
7840 # Extract the first word of "otool", so it can be a program name with args.
7841 set dummy otool
; ac_word
=$2
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7843 $as_echo_n "checking for $ac_word... " >&6; }
7844 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7845 $as_echo_n "(cached) " >&6
7847 if test -n "$ac_ct_OTOOL"; then
7848 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7854 test -z "$as_dir" && as_dir
=.
7855 for ac_exec_ext
in '' $ac_executable_extensions; do
7856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7857 ac_cv_prog_ac_ct_OTOOL
="otool"
7858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7867 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7868 if test -n "$ac_ct_OTOOL"; then
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7870 $as_echo "$ac_ct_OTOOL" >&6; }
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7873 $as_echo "no" >&6; }
7876 if test "x$ac_ct_OTOOL" = x
; then
7879 case $cross_compiling:$ac_tool_warned in
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7882 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7883 ac_tool_warned
=yes ;;
7888 OTOOL
="$ac_cv_prog_OTOOL"
7891 if test -n "$ac_tool_prefix"; then
7892 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7893 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7895 $as_echo_n "checking for $ac_word... " >&6; }
7896 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7897 $as_echo_n "(cached) " >&6
7899 if test -n "$OTOOL64"; then
7900 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7906 test -z "$as_dir" && as_dir
=.
7907 for ac_exec_ext
in '' $ac_executable_extensions; do
7908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7909 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7919 OTOOL64
=$ac_cv_prog_OTOOL64
7920 if test -n "$OTOOL64"; then
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7922 $as_echo "$OTOOL64" >&6; }
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7925 $as_echo "no" >&6; }
7930 if test -z "$ac_cv_prog_OTOOL64"; then
7931 ac_ct_OTOOL64
=$OTOOL64
7932 # Extract the first word of "otool64", so it can be a program name with args.
7933 set dummy otool64
; ac_word
=$2
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7935 $as_echo_n "checking for $ac_word... " >&6; }
7936 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7937 $as_echo_n "(cached) " >&6
7939 if test -n "$ac_ct_OTOOL64"; then
7940 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7946 test -z "$as_dir" && as_dir
=.
7947 for ac_exec_ext
in '' $ac_executable_extensions; do
7948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7949 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7959 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7960 if test -n "$ac_ct_OTOOL64"; then
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7962 $as_echo "$ac_ct_OTOOL64" >&6; }
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7965 $as_echo "no" >&6; }
7968 if test "x$ac_ct_OTOOL64" = x
; then
7971 case $cross_compiling:$ac_tool_warned in
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7974 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7975 ac_tool_warned
=yes ;;
7977 OTOOL64
=$ac_ct_OTOOL64
7980 OTOOL64
="$ac_cv_prog_OTOOL64"
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8010 $as_echo_n "checking for -single_module linker flag... " >&6; }
8011 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8012 $as_echo_n "(cached) " >&6
8014 lt_cv_apple_cc_single_mod
=no
8015 if test -z "${LT_MULTI_MODULE}"; then
8016 # By default we will add the -single_module flag. You can override
8017 # by either setting the environment variable LT_MULTI_MODULE
8018 # non-empty at configure time, or by adding -multi_module to the
8020 rm -rf libconftest.dylib
*
8021 echo "int foo(void){return 1;}" > conftest.c
8022 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8023 -dynamiclib -Wl,-single_module conftest.c" >&5
8024 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8025 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8027 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8028 lt_cv_apple_cc_single_mod
=yes
8030 cat conftest.err
>&5
8032 rm -rf libconftest.dylib
*
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8037 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8039 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8040 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8041 $as_echo_n "(cached) " >&6
8043 lt_cv_ld_exported_symbols_list
=no
8044 save_LDFLAGS
=$LDFLAGS
8045 echo "_main" > conftest.sym
8046 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8048 /* end confdefs.h. */
8058 if ac_fn_c_try_link
"$LINENO"; then :
8059 lt_cv_ld_exported_symbols_list
=yes
8061 lt_cv_ld_exported_symbols_list
=no
8063 rm -f core conftest.err conftest.
$ac_objext \
8064 conftest
$ac_exeext conftest.
$ac_ext
8065 LDFLAGS
="$save_LDFLAGS"
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8069 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8071 $as_echo_n "checking for -force_load linker flag... " >&6; }
8072 if test "${lt_cv_ld_force_load+set}" = set; then :
8073 $as_echo_n "(cached) " >&6
8075 lt_cv_ld_force_load
=no
8076 cat > conftest.c
<< _LT_EOF
8077 int forced_loaded() { return 2;}
8079 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8080 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8081 echo "$AR cru libconftest.a conftest.o" >&5
8082 $AR cru libconftest.a conftest.o
2>&5
8083 cat > conftest.c
<< _LT_EOF
8084 int main() { return 0;}
8086 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8087 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8089 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8090 lt_cv_ld_force_load
=yes
8092 cat conftest.err
>&5
8094 rm -f conftest.err libconftest.a conftest conftest.c
8095 rm -rf conftest.dSYM
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8099 $as_echo "$lt_cv_ld_force_load" >&6; }
8101 rhapsody
* | darwin1.
[012])
8102 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8104 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8105 darwin
*) # darwin 5.x on
8106 # if running on 10.5 or later, the deployment target defaults
8107 # to the OS version, if on x86, and 10.4, the deployment
8108 # target defaults to 10.4. Don't you love it?
8109 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8110 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8111 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8113 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8115 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8119 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8120 _lt_dar_single_mod
='$single_module'
8122 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8123 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8125 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8127 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8128 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8135 for ac_header
in dlfcn.h
8137 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8139 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8140 cat >>confdefs.h
<<_ACEOF
8141 #define HAVE_DLFCN_H 1
8161 # Check whether --enable-shared was given.
8162 if test "${enable_shared+set}" = set; then :
8163 enableval
=$enable_shared; p
=${PACKAGE-default}
8165 yes) enable_shared
=yes ;;
8166 no
) enable_shared
=no
;;
8169 # Look at the argument we got. We use all the common list separators.
8170 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8171 for pkg
in $enableval; do
8173 if test "X$pkg" = "X$p"; then
8192 # Check whether --enable-static was given.
8193 if test "${enable_static+set}" = set; then :
8194 enableval
=$enable_static; p
=${PACKAGE-default}
8196 yes) enable_static
=yes ;;
8197 no
) enable_static
=no
;;
8200 # Look at the argument we got. We use all the common list separators.
8201 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8202 for pkg
in $enableval; do
8204 if test "X$pkg" = "X$p"; then
8224 # Check whether --with-pic was given.
8225 if test "${with_pic+set}" = set; then :
8226 withval
=$with_pic; pic_mode
="$withval"
8232 test -z "$pic_mode" && pic_mode
=default
8240 # Check whether --enable-fast-install was given.
8241 if test "${enable_fast_install+set}" = set; then :
8242 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8244 yes) enable_fast_install
=yes ;;
8245 no
) enable_fast_install
=no
;;
8247 enable_fast_install
=no
8248 # Look at the argument we got. We use all the common list separators.
8249 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8250 for pkg
in $enableval; do
8252 if test "X$pkg" = "X$p"; then
8253 enable_fast_install
=yes
8260 enable_fast_install
=yes
8273 # This can be used to rebuild libtool when needed
8274 LIBTOOL_DEPS
="$ltmain"
8276 # Always use our own libtool.
8277 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8304 test -z "$LN_S" && LN_S
="ln -s"
8319 if test -n "${ZSH_VERSION+set}" ; then
8320 setopt NO_GLOB_SUBST
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8324 $as_echo_n "checking for objdir... " >&6; }
8325 if test "${lt_cv_objdir+set}" = set; then :
8326 $as_echo_n "(cached) " >&6
8328 rm -f .libs
2>/dev
/null
8329 mkdir .libs
2>/dev
/null
8330 if test -d .libs
; then
8333 # MS-DOS does not allow filenames that begin with a dot.
8336 rmdir .libs
2>/dev
/null
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8339 $as_echo "$lt_cv_objdir" >&6; }
8340 objdir
=$lt_cv_objdir
8346 cat >>confdefs.h
<<_ACEOF
8347 #define LT_OBJDIR "$lt_cv_objdir/"
8355 # AIX sometimes has problems with the GCC collect2 program. For some
8356 # reason, if we set the COLLECT_NAMES environment variable, the problems
8357 # vanish in a puff of smoke.
8358 if test "X${COLLECT_NAMES+set}" != Xset
; then
8360 export COLLECT_NAMES
8367 can_build_shared
=yes
8369 # All known linkers require a `.a' archive for static linking (except MSVC,
8370 # which needs '.lib').
8373 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8376 old_CFLAGS
="$CFLAGS"
8378 # Set sane defaults for various variables
8379 test -z "$CC" && CC
=cc
8380 test -z "$LTCC" && LTCC
=$CC
8381 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8382 test -z "$LD" && LD
=ld
8383 test -z "$ac_objext" && ac_objext
=o
8385 for cc_temp
in $compiler""; do
8387 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8388 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8393 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8396 # Only perform the check for file, if the check method requires it
8397 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8398 case $deplibs_check_method in
8400 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8402 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8403 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8404 $as_echo_n "(cached) " >&6
8408 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8411 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8412 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8413 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8414 for ac_dir
in $ac_dummy; do
8416 test -z "$ac_dir" && ac_dir
=.
8417 if test -f $ac_dir/${ac_tool_prefix}file; then
8418 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8419 if test -n "$file_magic_test_file"; then
8420 case $deplibs_check_method in
8422 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8423 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8424 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8425 $EGREP "$file_magic_regex" > /dev
/null
; then
8430 *** Warning: the command libtool uses to detect shared libraries,
8431 *** $file_magic_cmd, produces output that libtool cannot recognize.
8432 *** The result is that libtool may fail to recognize shared libraries
8433 *** as such. This will affect the creation of libtool libraries that
8434 *** depend on shared libraries, but programs linked with such libtool
8435 *** libraries will work regardless of this problem. Nevertheless, you
8436 *** may want to report the problem to your system manager and/or to
8437 *** bug-libtool@gnu.org
8447 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8452 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8453 if test -n "$MAGIC_CMD"; then
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8455 $as_echo "$MAGIC_CMD" >&6; }
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8458 $as_echo "no" >&6; }
8465 if test -z "$lt_cv_path_MAGIC_CMD"; then
8466 if test -n "$ac_tool_prefix"; then
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8468 $as_echo_n "checking for file... " >&6; }
8469 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8470 $as_echo_n "(cached) " >&6
8474 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8477 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8478 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8479 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8480 for ac_dir
in $ac_dummy; do
8482 test -z "$ac_dir" && ac_dir
=.
8483 if test -f $ac_dir/file; then
8484 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8485 if test -n "$file_magic_test_file"; then
8486 case $deplibs_check_method in
8488 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8489 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8490 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8491 $EGREP "$file_magic_regex" > /dev
/null
; then
8496 *** Warning: the command libtool uses to detect shared libraries,
8497 *** $file_magic_cmd, produces output that libtool cannot recognize.
8498 *** The result is that libtool may fail to recognize shared libraries
8499 *** as such. This will affect the creation of libtool libraries that
8500 *** depend on shared libraries, but programs linked with such libtool
8501 *** libraries will work regardless of this problem. Nevertheless, you
8502 *** may want to report the problem to your system manager and/or to
8503 *** bug-libtool@gnu.org
8513 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8518 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8519 if test -n "$MAGIC_CMD"; then
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8521 $as_echo "$MAGIC_CMD" >&6; }
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8524 $as_echo "no" >&6; }
8537 # Use C for the default configuration in the libtool script
8541 ac_cpp
='$CPP $CPPFLAGS'
8542 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8543 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8544 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8547 # Source file extension for C test sources.
8550 # Object file extension for compiled C test sources.
8554 # Code to be used in simple compile tests
8555 lt_simple_compile_test_code
="int some_variable = 0;"
8557 # Code to be used in simple link tests
8558 lt_simple_link_test_code
='int main(){return(0);}'
8566 # If no C compiler was specified, use CC.
8569 # If no C compiler flags were specified, use CFLAGS.
8570 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8572 # Allow CC to be a program name with arguments.
8575 # Save the default compiler, since it gets overwritten when the other
8576 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8577 compiler_DEFAULT
=$CC
8579 # save warnings/boilerplate of simple test code
8580 ac_outfile
=conftest.
$ac_objext
8581 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8582 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8583 _lt_compiler_boilerplate
=`cat conftest.err`
8586 ac_outfile
=conftest.
$ac_objext
8587 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8588 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8589 _lt_linker_boilerplate
=`cat conftest.err`
8594 ## There is no encapsulation within the following macros, do not change
8595 ## the running order or otherwise move them around unless you know exactly
8596 ## what you are doing...
8597 if test -n "$compiler"; then
8599 lt_prog_compiler_no_builtin_flag
=
8601 if test "$GCC" = yes; then
8602 case $cc_basename in
8604 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8606 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8610 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8611 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8612 $as_echo_n "(cached) " >&6
8614 lt_cv_prog_compiler_rtti_exceptions
=no
8615 ac_outfile
=conftest.
$ac_objext
8616 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8617 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8618 # Insert the option either (1) after the last *FLAGS variable, or
8619 # (2) before a word containing "conftest.", or (3) at the end.
8620 # Note that $ac_compile itself does not contain backslashes and begins
8621 # with a dollar sign (not a hyphen), so the echo should work correctly.
8622 # The option is referenced via a variable to avoid confusing sed.
8623 lt_compile
=`echo "$ac_compile" | $SED \
8624 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8625 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8626 -e 's:$: $lt_compiler_flag:'`
8627 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8628 (eval "$lt_compile" 2>conftest.err
)
8630 cat conftest.err
>&5
8631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8632 if (exit $ac_status) && test -s "$ac_outfile"; then
8633 # The compiler can only warn and ignore the option if not recognized
8634 # So say no if there are warnings other than the usual output.
8635 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8636 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8637 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8638 lt_cv_prog_compiler_rtti_exceptions
=yes
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8645 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8647 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8648 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8660 lt_prog_compiler_wl
=
8661 lt_prog_compiler_pic
=
8662 lt_prog_compiler_static
=
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8665 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8667 if test "$GCC" = yes; then
8668 lt_prog_compiler_wl
='-Wl,'
8669 lt_prog_compiler_static
='-static'
8673 # All AIX code is PIC.
8674 if test "$host_cpu" = ia64
; then
8675 # AIX 5 now supports IA64 processor
8676 lt_prog_compiler_static
='-Bstatic'
8678 lt_prog_compiler_pic
='-fPIC'
8684 # see comment about AmigaOS4 .so support
8685 lt_prog_compiler_pic
='-fPIC'
8688 # FIXME: we need at least 68020 code to build shared libraries, but
8689 # adding the `-m68020' flag to GCC prevents building anything better,
8691 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8696 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8697 # PIC is the default for these OSes.
8700 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8701 # This hack is so that the source file can tell whether it is being
8702 # built for inclusion in a dll (and should export symbols for example).
8703 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8704 # (--disable-auto-import) libraries
8705 lt_prog_compiler_pic
='-DDLL_EXPORT'
8708 darwin
* | rhapsody
*)
8709 # PIC is the default on this platform
8710 # Common symbols not allowed in MH_DYLIB files
8711 lt_prog_compiler_pic
='-fno-common'
8715 # PIC is the default for Haiku.
8716 # The "-static" flag exists, but is broken.
8717 lt_prog_compiler_static
=
8721 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8722 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8723 # sets the default TLS model and affects inlining.
8729 lt_prog_compiler_pic
='-fPIC'
8735 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8736 # Instead, we relocate shared libraries at runtime.
8740 # Just because we use GCC doesn't mean we suddenly get shared libraries
8741 # on systems that don't support them.
8742 lt_prog_compiler_can_build_shared
=no
8747 # QNX uses GNU C++, but need to define -shared option too, otherwise
8749 lt_prog_compiler_pic
='-fPIC -shared'
8753 if test -d /usr
/nec
; then
8754 lt_prog_compiler_pic
=-Kconform_pic
8759 lt_prog_compiler_pic
='-fPIC'
8763 case $cc_basename in
8764 nvcc
*) # Cuda Compiler Driver 2.2
8765 lt_prog_compiler_wl
='-Xlinker '
8766 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8770 # PORTME Check for flag to pass linker flags through the system compiler.
8773 lt_prog_compiler_wl
='-Wl,'
8774 if test "$host_cpu" = ia64
; then
8775 # AIX 5 now supports IA64 processor
8776 lt_prog_compiler_static
='-Bstatic'
8778 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8782 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8783 # This hack is so that the source file can tell whether it is being
8784 # built for inclusion in a dll (and should export symbols for example).
8785 lt_prog_compiler_pic
='-DDLL_EXPORT'
8788 hpux9
* | hpux10
* | hpux11
*)
8789 lt_prog_compiler_wl
='-Wl,'
8790 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8797 lt_prog_compiler_pic
='+Z'
8800 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8801 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8804 irix5
* | irix6
* | nonstopux
*)
8805 lt_prog_compiler_wl
='-Wl,'
8806 # PIC (with -KPIC) is the default.
8807 lt_prog_compiler_static
='-non_shared'
8810 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8811 case $cc_basename in
8812 # old Intel for x86_64 which still supported -KPIC.
8814 lt_prog_compiler_wl
='-Wl,'
8815 lt_prog_compiler_pic
='-KPIC'
8816 lt_prog_compiler_static
='-static'
8818 # icc used to be incompatible with GCC.
8819 # ICC 10 doesn't accept -KPIC any more.
8821 lt_prog_compiler_wl
='-Wl,'
8822 lt_prog_compiler_pic
='-fPIC'
8823 lt_prog_compiler_static
='-static'
8825 # Lahey Fortran 8.1.
8827 lt_prog_compiler_wl
='-Wl,'
8828 lt_prog_compiler_pic
='--shared'
8829 lt_prog_compiler_static
='--static'
8831 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8832 # Portland Group compilers (*not* the Pentium gcc compiler,
8833 # which looks to be a dead project)
8834 lt_prog_compiler_wl
='-Wl,'
8835 lt_prog_compiler_pic
='-fpic'
8836 lt_prog_compiler_static
='-Bstatic'
8839 lt_prog_compiler_wl
='-Wl,'
8840 # All Alpha code is PIC.
8841 lt_prog_compiler_static
='-non_shared'
8843 xl
* | bgxl
* | bgf
* | mpixl
*)
8844 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8845 lt_prog_compiler_wl
='-Wl,'
8846 lt_prog_compiler_pic
='-qpic'
8847 lt_prog_compiler_static
='-qstaticlink'
8850 case `$CC -V 2>&1 | sed 5q` in
8851 *Sun\ F
* |
*Sun
*Fortran
*)
8852 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8853 lt_prog_compiler_pic
='-KPIC'
8854 lt_prog_compiler_static
='-Bstatic'
8855 lt_prog_compiler_wl
=''
8859 lt_prog_compiler_pic
='-KPIC'
8860 lt_prog_compiler_static
='-Bstatic'
8861 lt_prog_compiler_wl
='-Wl,'
8869 lt_prog_compiler_pic
='-KPIC'
8870 lt_prog_compiler_static
='-Bstatic'
8874 # QNX uses GNU C++, but need to define -shared option too, otherwise
8876 lt_prog_compiler_pic
='-fPIC -shared'
8879 osf3
* | osf4
* | osf5
*)
8880 lt_prog_compiler_wl
='-Wl,'
8881 # All OSF/1 code is PIC.
8882 lt_prog_compiler_static
='-non_shared'
8886 lt_prog_compiler_static
='-non_shared'
8890 lt_prog_compiler_pic
='-KPIC'
8891 lt_prog_compiler_static
='-Bstatic'
8892 case $cc_basename in
8894 lt_prog_compiler_wl
='-Qoption ld ';;
8896 lt_prog_compiler_wl
='-Wl,';;
8901 lt_prog_compiler_wl
='-Qoption ld '
8902 lt_prog_compiler_pic
='-PIC'
8903 lt_prog_compiler_static
='-Bstatic'
8906 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8907 lt_prog_compiler_wl
='-Wl,'
8908 lt_prog_compiler_pic
='-KPIC'
8909 lt_prog_compiler_static
='-Bstatic'
8913 if test -d /usr
/nec
;then
8914 lt_prog_compiler_pic
='-Kconform_pic'
8915 lt_prog_compiler_static
='-Bstatic'
8919 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8920 lt_prog_compiler_wl
='-Wl,'
8921 lt_prog_compiler_pic
='-KPIC'
8922 lt_prog_compiler_static
='-Bstatic'
8926 lt_prog_compiler_wl
='-Wl,'
8927 lt_prog_compiler_can_build_shared
=no
8931 lt_prog_compiler_pic
='-pic'
8932 lt_prog_compiler_static
='-Bstatic'
8936 lt_prog_compiler_can_build_shared
=no
8942 # For platforms which do not support PIC, -DPIC is meaningless:
8944 lt_prog_compiler_pic
=
8947 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8951 $as_echo "$lt_prog_compiler_pic" >&6; }
8959 # Check to make sure the PIC flag actually works.
8961 if test -n "$lt_prog_compiler_pic"; then
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8963 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8964 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8965 $as_echo_n "(cached) " >&6
8967 lt_cv_prog_compiler_pic_works
=no
8968 ac_outfile
=conftest.
$ac_objext
8969 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8970 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8971 # Insert the option either (1) after the last *FLAGS variable, or
8972 # (2) before a word containing "conftest.", or (3) at the end.
8973 # Note that $ac_compile itself does not contain backslashes and begins
8974 # with a dollar sign (not a hyphen), so the echo should work correctly.
8975 # The option is referenced via a variable to avoid confusing sed.
8976 lt_compile
=`echo "$ac_compile" | $SED \
8977 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8978 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8979 -e 's:$: $lt_compiler_flag:'`
8980 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8981 (eval "$lt_compile" 2>conftest.err
)
8983 cat conftest.err
>&5
8984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8985 if (exit $ac_status) && test -s "$ac_outfile"; then
8986 # The compiler can only warn and ignore the option if not recognized
8987 # So say no if there are warnings other than the usual output.
8988 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8989 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8990 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8991 lt_cv_prog_compiler_pic_works
=yes
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8998 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9000 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9001 case $lt_prog_compiler_pic in
9003 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9006 lt_prog_compiler_pic
=
9007 lt_prog_compiler_can_build_shared
=no
9018 # Check to make sure the static flag actually works.
9020 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9022 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9023 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9024 $as_echo_n "(cached) " >&6
9026 lt_cv_prog_compiler_static_works
=no
9027 save_LDFLAGS
="$LDFLAGS"
9028 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9029 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9030 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9031 # The linker can only warn and ignore the option if not recognized
9032 # So say no if there are warnings
9033 if test -s conftest.err
; then
9034 # Append any errors to the config.log.
9035 cat conftest.err
1>&5
9036 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9037 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9038 if diff conftest.exp conftest.er2
>/dev
/null
; then
9039 lt_cv_prog_compiler_static_works
=yes
9042 lt_cv_prog_compiler_static_works
=yes
9046 LDFLAGS
="$save_LDFLAGS"
9049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9050 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9052 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9055 lt_prog_compiler_static
=
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9065 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9066 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9067 $as_echo_n "(cached) " >&6
9069 lt_cv_prog_compiler_c_o
=no
9070 $RM -r conftest
2>/dev
/null
9074 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9076 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9077 # Insert the option either (1) after the last *FLAGS variable, or
9078 # (2) before a word containing "conftest.", or (3) at the end.
9079 # Note that $ac_compile itself does not contain backslashes and begins
9080 # with a dollar sign (not a hyphen), so the echo should work correctly.
9081 lt_compile
=`echo "$ac_compile" | $SED \
9082 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9083 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9084 -e 's:$: $lt_compiler_flag:'`
9085 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9086 (eval "$lt_compile" 2>out
/conftest.err
)
9088 cat out
/conftest.err
>&5
9089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9090 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9092 # The compiler can only warn and ignore the option if not recognized
9093 # So say no if there are warnings
9094 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9095 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9096 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9097 lt_cv_prog_compiler_c_o
=yes
9102 # SGI C++ compiler will create directory out/ii_files/ for
9103 # template instantiation
9104 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9105 $RM out
/* && rmdir out
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9112 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9120 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9121 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9122 $as_echo_n "(cached) " >&6
9124 lt_cv_prog_compiler_c_o
=no
9125 $RM -r conftest
2>/dev
/null
9129 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9131 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9132 # Insert the option either (1) after the last *FLAGS variable, or
9133 # (2) before a word containing "conftest.", or (3) at the end.
9134 # Note that $ac_compile itself does not contain backslashes and begins
9135 # with a dollar sign (not a hyphen), so the echo should work correctly.
9136 lt_compile
=`echo "$ac_compile" | $SED \
9137 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9138 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9139 -e 's:$: $lt_compiler_flag:'`
9140 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9141 (eval "$lt_compile" 2>out
/conftest.err
)
9143 cat out
/conftest.err
>&5
9144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9145 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9147 # The compiler can only warn and ignore the option if not recognized
9148 # So say no if there are warnings
9149 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9150 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9151 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9152 lt_cv_prog_compiler_c_o
=yes
9157 # SGI C++ compiler will create directory out/ii_files/ for
9158 # template instantiation
9159 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9160 $RM out
/* && rmdir out
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9167 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9172 hard_links
="nottested"
9173 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9174 # do not overwrite the value of need_locks provided by the user
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9176 $as_echo_n "checking if we can lock with hard links... " >&6; }
9179 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9181 ln conftest.a conftest.b
2>&5 || hard_links
=no
9182 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9184 $as_echo "$hard_links" >&6; }
9185 if test "$hard_links" = no
; then
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9187 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9200 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9203 allow_undefined_flag
=
9204 always_export_symbols
=no
9206 archive_expsym_cmds
=
9207 compiler_needs_object
=no
9208 enable_shared_with_static_runtimes
=no
9209 export_dynamic_flag_spec
=
9210 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9211 hardcode_automatic
=no
9213 hardcode_direct_absolute
=no
9214 hardcode_libdir_flag_spec
=
9215 hardcode_libdir_flag_spec_ld
=
9216 hardcode_libdir_separator
=
9218 hardcode_shlibpath_var
=unsupported
9220 link_all_deplibs
=unknown
9223 old_archive_from_new_cmds
=
9224 old_archive_from_expsyms_cmds
=
9225 thread_safe_flag_spec
=
9226 whole_archive_flag_spec
=
9227 # include_expsyms should be a list of space-separated symbols to be *always*
9228 # included in the symbol list
9230 # exclude_expsyms can be an extended regexp of symbols to exclude
9231 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9232 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9233 # as well as any symbol that contains `d'.
9234 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9235 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9236 # platforms (ab)use it in PIC code, but their linkers get confused if
9237 # the symbol is explicitly referenced. Since portable code cannot
9238 # rely on this symbol name, it's probably fine to never include it in
9239 # preloaded symbol tables.
9240 # Exclude shared library initialization/finalization symbols.
9241 extract_expsyms_cmds
=
9244 cygwin
* | mingw
* | pw32
* | cegcc
*)
9245 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9246 # When not using gcc, we currently assume that we are using
9247 # Microsoft Visual C++.
9248 if test "$GCC" != yes; then
9253 # we just hope/assume this is gcc and not c89 (= MSVC++)
9263 # On some targets, GNU ld is compatible enough with the native linker
9264 # that we're better off using the native interface for both.
9265 lt_use_gnu_ld_interface
=no
9266 if test "$with_gnu_ld" = yes; then
9269 # The AIX port of GNU ld has always aspired to compatibility
9270 # with the native linker. However, as the warning in the GNU ld
9271 # block says, versions before 2.19.5* couldn't really create working
9272 # shared libraries, regardless of the interface used.
9273 case `$LD -v 2>&1` in
9274 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9275 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9276 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9278 lt_use_gnu_ld_interface
=yes
9283 lt_use_gnu_ld_interface
=yes
9288 if test "$lt_use_gnu_ld_interface" = yes; then
9289 # If archive_cmds runs LD, not CC, wlarc should be empty
9292 # Set some defaults for GNU ld with shared library support. These
9293 # are reset later if shared libraries are not supported. Putting them
9294 # here allows them to be overridden if necessary.
9295 runpath_var
=LD_RUN_PATH
9296 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9297 export_dynamic_flag_spec
='${wl}--export-dynamic'
9298 # ancient GNU ld didn't support --whole-archive et. al.
9299 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9300 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9302 whole_archive_flag_spec
=
9304 supports_anon_versioning
=no
9305 case `$LD -v 2>&1` in
9306 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9307 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9308 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9309 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9310 *\
2.11.
*) ;; # other 2.11 versions
9311 *) supports_anon_versioning
=yes ;;
9314 # See if GNU ld supports shared libraries.
9317 # On AIX/PPC, the GNU linker is very broken
9318 if test "$host_cpu" != ia64
; then
9322 *** Warning: the GNU linker, at least up to release 2.19, is reported
9323 *** to be unable to reliably create shared libraries on AIX.
9324 *** Therefore, libtool is disabling shared libraries support. If you
9325 *** really care for shared libraries, you may want to install binutils
9326 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9327 *** You will then need to restart the configuration process.
9336 # see comment about AmigaOS4 .so support
9337 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9338 archive_expsym_cmds
=''
9341 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)'
9342 hardcode_libdir_flag_spec
='-L$libdir'
9343 hardcode_minus_L
=yes
9349 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9350 allow_undefined_flag
=unsupported
9351 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9352 # support --undefined. This deserves some investigation. FIXME
9353 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9359 cygwin
* | mingw
* | pw32
* | cegcc
*)
9360 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9361 # as there is no search path for DLLs.
9362 hardcode_libdir_flag_spec
='-L$libdir'
9363 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9364 allow_undefined_flag
=unsupported
9365 always_export_symbols
=no
9366 enable_shared_with_static_runtimes
=yes
9367 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9369 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9370 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9371 # If the export-symbols file already is a .def file (1st line
9372 # is EXPORTS), use it as is; otherwise, prepend...
9373 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9374 cp $export_symbols $output_objdir/$soname.def;
9376 echo EXPORTS > $output_objdir/$soname.def;
9377 cat $export_symbols >> $output_objdir/$soname.def;
9379 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9386 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9387 link_all_deplibs
=yes
9392 hardcode_shlibpath_var
=no
9393 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9394 export_dynamic_flag_spec
='${wl}-E'
9395 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9396 # Instead, shared libraries are loaded at an image base (0x10000000 by
9397 # default) and relocated if they conflict, which is a slow very memory
9398 # consuming and fragmenting process. To avoid this, we pick a random,
9399 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9400 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9401 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9402 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'
9405 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9407 if test "$host_os" = linux-dietlibc
; then
9408 case $cc_basename in
9409 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9412 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9413 && test "$tmp_diet" = no
9416 tmp_sharedflag
='-shared'
9417 case $cc_basename,$host_cpu in
9418 pgcc
*) # Portland Group C compiler
9419 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'
9420 tmp_addflag
=' $pic_flag'
9422 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9423 # Portland Group f77 and f90 compilers
9424 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'
9425 tmp_addflag
=' $pic_flag -Mnomain' ;;
9426 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9427 tmp_addflag
=' -i_dynamic' ;;
9428 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9429 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9430 ifc
* | ifort
*) # Intel Fortran compiler
9431 tmp_addflag
=' -nofor_main' ;;
9432 lf95
*) # Lahey Fortran 8.1
9433 whole_archive_flag_spec
=
9434 tmp_sharedflag
='--shared' ;;
9435 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9436 tmp_sharedflag
='-qmkshrobj'
9438 nvcc
*) # Cuda Compiler Driver 2.2
9439 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'
9440 compiler_needs_object
=yes
9443 case `$CC -V 2>&1 | sed 5q` in
9444 *Sun\ C
*) # Sun C 5.9
9445 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'
9446 compiler_needs_object
=yes
9447 tmp_sharedflag
='-G' ;;
9448 *Sun\ F
*) # Sun Fortran 8.3
9449 tmp_sharedflag
='-G' ;;
9451 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9453 if test "x$supports_anon_versioning" = xyes
; then
9454 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9455 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9456 echo "local: *; };" >> $output_objdir/$libname.ver~
9457 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9460 case $cc_basename in
9461 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9462 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9463 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9464 hardcode_libdir_flag_spec
=
9465 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9466 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9467 if test "x$supports_anon_versioning" = xyes
; then
9468 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9469 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9470 echo "local: *; };" >> $output_objdir/$libname.ver~
9471 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9481 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9482 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9485 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9486 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9491 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9495 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9496 *** create shared libraries on Solaris systems. Therefore, libtool
9497 *** is disabling shared libraries support. We urge you to upgrade GNU
9498 *** binutils to release 2.9.1 or newer. Another option is to modify
9499 *** your PATH or compiler configuration so that the native linker is
9500 *** used, and then restart.
9503 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9504 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9505 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9511 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9512 case `$LD -v 2>&1` in
9513 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9517 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9518 *** reliably create shared libraries on SCO systems. Therefore, libtool
9519 *** is disabling shared libraries support. We urge you to upgrade GNU
9520 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9521 *** your PATH or compiler configuration so that the native linker is
9522 *** used, and then restart.
9527 # For security reasons, it is highly recommended that you always
9528 # use absolute paths for naming shared libraries, and exclude the
9529 # DT_RUNPATH tag from executables and libraries. But doing so
9530 # requires that you compile everything twice, which is a pain.
9531 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9532 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9533 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9534 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9543 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9546 hardcode_shlibpath_var
=no
9550 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9551 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9552 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9559 if test "$ld_shlibs" = no
; then
9561 hardcode_libdir_flag_spec
=
9562 export_dynamic_flag_spec
=
9563 whole_archive_flag_spec
=
9566 # PORTME fill in a description of your system's linker (not GNU ld)
9569 allow_undefined_flag
=unsupported
9570 always_export_symbols
=yes
9571 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'
9572 # Note: this linker hardcodes the directories in LIBPATH if there
9573 # are no directories specified by -L.
9574 hardcode_minus_L
=yes
9575 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9576 # Neither direct hardcoding nor static linking is supported with a
9578 hardcode_direct
=unsupported
9583 if test "$host_cpu" = ia64
; then
9584 # On IA64, the linker does run time linking by default, so we don't
9585 # have to do anything special.
9586 aix_use_runtimelinking
=no
9587 exp_sym_flag
='-Bexport'
9590 # If we're using GNU nm, then we don't want the "-C" option.
9591 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9592 # Also, AIX nm treats weak defined symbols like other global
9593 # defined symbols, whereas GNU nm marks them as "W".
9594 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9595 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'
9597 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'
9599 aix_use_runtimelinking
=no
9601 # Test if we are trying to use run time linking or normal
9602 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9603 # need to do runtime linking.
9604 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9605 for ld_flag
in $LDFLAGS; do
9606 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9607 aix_use_runtimelinking
=yes
9614 exp_sym_flag
='-bexport'
9615 no_entry_flag
='-bnoentry'
9618 # When large executables or shared objects are built, AIX ld can
9619 # have problems creating the table of contents. If linking a library
9620 # or program results in "error TOC overflow" add -mminimal-toc to
9621 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9622 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9626 hardcode_direct_absolute
=yes
9627 hardcode_libdir_separator
=':'
9628 link_all_deplibs
=yes
9629 file_list_spec
='${wl}-f,'
9631 if test "$GCC" = yes; then
9632 case $host_os in aix4.
[012]|aix4.
[012].
*)
9633 # We only want to do this on AIX 4.2 and lower, the check
9634 # below for broken collect2 doesn't work under 4.3+
9635 collect2name
=`${CC} -print-prog-name=collect2`
9636 if test -f "$collect2name" &&
9637 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9639 # We have reworked collect2
9642 # We have old collect2
9643 hardcode_direct
=unsupported
9644 # It fails to find uninstalled libraries when the uninstalled
9645 # path is not listed in the libpath. Setting hardcode_minus_L
9646 # to unsupported forces relinking
9647 hardcode_minus_L
=yes
9648 hardcode_libdir_flag_spec
='-L$libdir'
9649 hardcode_libdir_separator
=
9653 shared_flag
='-shared'
9654 if test "$aix_use_runtimelinking" = yes; then
9655 shared_flag
="$shared_flag "'${wl}-G'
9659 if test "$host_cpu" = ia64
; then
9660 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9661 # chokes on -Wl,-G. The following line is correct:
9664 if test "$aix_use_runtimelinking" = yes; then
9665 shared_flag
='${wl}-G'
9667 shared_flag
='${wl}-bM:SRE'
9672 export_dynamic_flag_spec
='${wl}-bexpall'
9673 # It seems that -bexpall does not export symbols beginning with
9674 # underscore (_), so it is better to generate a list of symbols to export.
9675 always_export_symbols
=yes
9676 if test "$aix_use_runtimelinking" = yes; then
9677 # Warning - without using the other runtime loading flags (-brtl),
9678 # -berok will link without error, but may produce a broken library.
9679 allow_undefined_flag
='-berok'
9680 # Determine the default libpath from the value encoded in an
9682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9683 /* end confdefs.h. */
9693 if ac_fn_c_try_link
"$LINENO"; then :
9695 lt_aix_libpath_sed
='
9696 /Import File Strings/,/^$/ {
9702 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9703 # Check for a 64-bit object if we didn't find anything.
9704 if test -z "$aix_libpath"; then
9705 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9708 rm -f core conftest.err conftest.
$ac_objext \
9709 conftest
$ac_exeext conftest.
$ac_ext
9710 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9712 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9713 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"
9715 if test "$host_cpu" = ia64
; then
9716 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9717 allow_undefined_flag
="-z nodefs"
9718 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"
9720 # Determine the default libpath from the value encoded in an
9722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9723 /* end confdefs.h. */
9733 if ac_fn_c_try_link
"$LINENO"; then :
9735 lt_aix_libpath_sed
='
9736 /Import File Strings/,/^$/ {
9742 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9743 # Check for a 64-bit object if we didn't find anything.
9744 if test -z "$aix_libpath"; then
9745 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9748 rm -f core conftest.err conftest.
$ac_objext \
9749 conftest
$ac_exeext conftest.
$ac_ext
9750 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9752 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9753 # Warning - without using the other run time loading flags,
9754 # -berok will link without error, but may produce a broken library.
9755 no_undefined_flag
=' ${wl}-bernotok'
9756 allow_undefined_flag
=' ${wl}-berok'
9757 if test "$with_gnu_ld" = yes; then
9758 # We only use this code for GNU lds that support --whole-archive.
9759 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9761 # Exported symbols can be pulled into shared objects from archives
9762 whole_archive_flag_spec
='$convenience'
9764 archive_cmds_need_lc
=yes
9765 # This is similar to how AIX traditionally builds its shared libraries.
9766 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'
9774 # see comment about AmigaOS4 .so support
9775 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9776 archive_expsym_cmds
=''
9779 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)'
9780 hardcode_libdir_flag_spec
='-L$libdir'
9781 hardcode_minus_L
=yes
9787 export_dynamic_flag_spec
=-rdynamic
9790 cygwin
* | mingw
* | pw32
* | cegcc
*)
9791 # When not using gcc, we currently assume that we are using
9792 # Microsoft Visual C++.
9793 # hardcode_libdir_flag_spec is actually meaningless, as there is
9794 # no search path for DLLs.
9795 hardcode_libdir_flag_spec
=' '
9796 allow_undefined_flag
=unsupported
9797 # Tell ltmain to make .lib files, not .a files.
9799 # Tell ltmain to make .dll files, not .so files.
9801 # FIXME: Setting linknames here is a bad hack.
9802 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9803 # The linker will automatically build a .lib file if we build a DLL.
9804 old_archive_from_new_cmds
='true'
9805 # FIXME: Should let the user specify the lib program.
9806 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9807 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9808 enable_shared_with_static_runtimes
=yes
9811 darwin
* | rhapsody
*)
9814 archive_cmds_need_lc
=no
9816 hardcode_automatic
=yes
9817 hardcode_shlibpath_var
=unsupported
9818 if test "$lt_cv_ld_force_load" = "yes"; then
9819 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\"`'
9821 whole_archive_flag_spec
=''
9823 link_all_deplibs
=yes
9824 allow_undefined_flag
="$_lt_dar_allow_undefined"
9825 case $cc_basename in
9826 ifort
*) _lt_dar_can_shared
=yes ;;
9827 *) _lt_dar_can_shared
=$GCC ;;
9829 if test "$_lt_dar_can_shared" = "yes"; then
9830 output_verbose_link_cmd
=func_echo_all
9831 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9832 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9833 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}"
9834 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}"
9843 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9844 hardcode_libdir_flag_spec
='-L$libdir'
9845 hardcode_shlibpath_var
=no
9848 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9849 # support. Future versions do this automatically, but an explicit c++rt0.o
9850 # does not break anything, and helps significantly (at the cost of a little
9853 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9854 hardcode_libdir_flag_spec
='-R$libdir'
9856 hardcode_shlibpath_var
=no
9859 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9861 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9863 hardcode_minus_L
=yes
9864 hardcode_shlibpath_var
=no
9867 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9868 freebsd
* | dragonfly
*)
9869 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9870 hardcode_libdir_flag_spec
='-R$libdir'
9872 hardcode_shlibpath_var
=no
9876 if test "$GCC" = yes; then
9877 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'
9879 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'
9881 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9882 hardcode_libdir_separator
=:
9885 # hardcode_minus_L: Not really in the search PATH,
9886 # but as the default location of the library.
9887 hardcode_minus_L
=yes
9888 export_dynamic_flag_spec
='${wl}-E'
9892 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9893 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9895 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9897 if test "$with_gnu_ld" = no
; then
9898 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9899 hardcode_libdir_flag_spec_ld
='+b $libdir'
9900 hardcode_libdir_separator
=:
9902 hardcode_direct_absolute
=yes
9903 export_dynamic_flag_spec
='${wl}-E'
9904 # hardcode_minus_L: Not really in the search PATH,
9905 # but as the default location of the library.
9906 hardcode_minus_L
=yes
9911 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9914 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9917 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9920 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9926 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9929 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9933 # Older versions of the 11.00 compiler do not understand -b yet
9934 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9936 $as_echo_n "checking if $CC understands -b... " >&6; }
9937 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9938 $as_echo_n "(cached) " >&6
9940 lt_cv_prog_compiler__b
=no
9941 save_LDFLAGS
="$LDFLAGS"
9942 LDFLAGS
="$LDFLAGS -b"
9943 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9944 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9945 # The linker can only warn and ignore the option if not recognized
9946 # So say no if there are warnings
9947 if test -s conftest.err
; then
9948 # Append any errors to the config.log.
9949 cat conftest.err
1>&5
9950 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9951 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9952 if diff conftest.exp conftest.er2
>/dev
/null
; then
9953 lt_cv_prog_compiler__b
=yes
9956 lt_cv_prog_compiler__b
=yes
9960 LDFLAGS
="$save_LDFLAGS"
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9964 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9966 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9967 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9969 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9975 if test "$with_gnu_ld" = no
; then
9976 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9977 hardcode_libdir_separator
=:
9982 hardcode_shlibpath_var
=no
9986 hardcode_direct_absolute
=yes
9987 export_dynamic_flag_spec
='${wl}-E'
9989 # hardcode_minus_L: Not really in the search PATH,
9990 # but as the default location of the library.
9991 hardcode_minus_L
=yes
9997 irix5
* | irix6
* | nonstopux
*)
9998 if test "$GCC" = yes; then
9999 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'
10000 # Try to use the -exported_symbol ld option, if it does not
10001 # work, assume that -exports_file does not work either and
10002 # implicitly export all symbols.
10003 save_LDFLAGS
="$LDFLAGS"
10004 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10006 /* end confdefs.h. */
10009 if ac_fn_c_try_link
"$LINENO"; then :
10010 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'
10013 rm -f core conftest.err conftest.
$ac_objext \
10014 conftest
$ac_exeext conftest.
$ac_ext
10015 LDFLAGS
="$save_LDFLAGS"
10017 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'
10018 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'
10020 archive_cmds_need_lc
='no'
10021 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10022 hardcode_libdir_separator
=:
10024 link_all_deplibs
=yes
10028 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10029 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10031 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10033 hardcode_libdir_flag_spec
='-R$libdir'
10034 hardcode_direct
=yes
10035 hardcode_shlibpath_var
=no
10039 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10040 hardcode_direct
=yes
10041 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10042 hardcode_libdir_separator
=:
10043 hardcode_shlibpath_var
=no
10050 if test -f /usr
/libexec
/ld.so
; then
10051 hardcode_direct
=yes
10052 hardcode_shlibpath_var
=no
10053 hardcode_direct_absolute
=yes
10054 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10055 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10056 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10057 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10058 export_dynamic_flag_spec
='${wl}-E'
10061 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10062 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10063 hardcode_libdir_flag_spec
='-R$libdir'
10066 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10067 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10077 hardcode_libdir_flag_spec
='-L$libdir'
10078 hardcode_minus_L
=yes
10079 allow_undefined_flag
=unsupported
10080 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'
10081 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10085 if test "$GCC" = yes; then
10086 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10087 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'
10089 allow_undefined_flag
=' -expect_unresolved \*'
10090 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'
10092 archive_cmds_need_lc
='no'
10093 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10094 hardcode_libdir_separator
=:
10097 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10098 if test "$GCC" = yes; then
10099 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10100 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'
10101 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10103 allow_undefined_flag
=' -expect_unresolved \*'
10104 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'
10105 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~
10106 $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'
10108 # Both c and cxx compiler support -rpath directly
10109 hardcode_libdir_flag_spec
='-rpath $libdir'
10111 archive_cmds_need_lc
='no'
10112 hardcode_libdir_separator
=:
10116 no_undefined_flag
=' -z defs'
10117 if test "$GCC" = yes; then
10119 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10120 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10121 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10123 case `$CC -V 2>&1` in
10126 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10127 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10128 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10132 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10133 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10134 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10138 hardcode_libdir_flag_spec
='-R$libdir'
10139 hardcode_shlibpath_var
=no
10141 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10143 # The compiler driver will combine and reorder linker options,
10144 # but understands `-z linker_flag'. GCC discards it without `$wl',
10145 # but is careful enough not to reorder.
10146 # Supported since Solaris 2.6 (maybe 2.5.1?)
10147 if test "$GCC" = yes; then
10148 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10150 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10154 link_all_deplibs
=yes
10158 if test "x$host_vendor" = xsequent
; then
10159 # Use $CC to link under sequent, because it throws in some extra .o
10160 # files that make .init and .fini sections work.
10161 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10163 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10165 hardcode_libdir_flag_spec
='-L$libdir'
10166 hardcode_direct
=yes
10167 hardcode_minus_L
=yes
10168 hardcode_shlibpath_var
=no
10172 case $host_vendor in
10174 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10175 hardcode_direct
=yes # is this really true???
10178 ## LD is ld it makes a PLAMLIB
10179 ## CC just makes a GrossModule.
10180 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10181 reload_cmds
='$CC -r -o $output$reload_objs'
10185 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10186 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10189 runpath_var
='LD_RUN_PATH'
10190 hardcode_shlibpath_var
=no
10194 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10195 hardcode_shlibpath_var
=no
10196 export_dynamic_flag_spec
='-Bexport'
10200 if test -d /usr
/nec
; then
10201 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10202 hardcode_shlibpath_var
=no
10203 runpath_var
=LD_RUN_PATH
10204 hardcode_runpath_var
=yes
10209 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10210 no_undefined_flag
='${wl}-z,text'
10211 archive_cmds_need_lc
=no
10212 hardcode_shlibpath_var
=no
10213 runpath_var
='LD_RUN_PATH'
10215 if test "$GCC" = yes; then
10216 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10217 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10219 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10220 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10224 sysv5
* | sco3.2v5
* | sco5v6
*)
10225 # Note: We can NOT use -z defs as we might desire, because we do not
10226 # link with -lc, and that would cause any symbols used from libc to
10227 # always be unresolved, which means just about no library would
10228 # ever link correctly. If we're not using GNU ld we use -z text
10229 # though, which does catch some bad symbols but isn't as heavy-handed
10231 no_undefined_flag
='${wl}-z,text'
10232 allow_undefined_flag
='${wl}-z,nodefs'
10233 archive_cmds_need_lc
=no
10234 hardcode_shlibpath_var
=no
10235 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10236 hardcode_libdir_separator
=':'
10237 link_all_deplibs
=yes
10238 export_dynamic_flag_spec
='${wl}-Bexport'
10239 runpath_var
='LD_RUN_PATH'
10241 if test "$GCC" = yes; then
10242 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10243 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10245 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10246 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10251 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10252 hardcode_libdir_flag_spec
='-L$libdir'
10253 hardcode_shlibpath_var
=no
10261 if test x
$host_vendor = xsni
; then
10263 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10264 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10271 $as_echo "$ld_shlibs" >&6; }
10272 test "$ld_shlibs" = no
&& can_build_shared
=no
10274 with_gnu_ld
=$with_gnu_ld
10291 # Do we need to explicitly link libc?
10293 case "x$archive_cmds_need_lc" in
10295 # Assume -lc should be added
10296 archive_cmds_need_lc
=yes
10298 if test "$enable_shared" = yes && test "$GCC" = yes; then
10299 case $archive_cmds in
10301 # FIXME: we may have to deal with multi-command sequences.
10304 # Test whether the compiler implicitly links with -lc since on some
10305 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10306 # to ld, don't add -lc before -lgcc.
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10308 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10309 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10310 $as_echo_n "(cached) " >&6
10313 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10315 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10316 (eval $ac_compile) 2>&5
10318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10319 test $ac_status = 0; } 2>conftest.err
; then
10322 libobjs
=conftest.
$ac_objext
10324 wl
=$lt_prog_compiler_wl
10325 pic_flag
=$lt_prog_compiler_pic
10331 lt_save_allow_undefined_flag
=$allow_undefined_flag
10332 allow_undefined_flag
=
10333 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10334 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10337 test $ac_status = 0; }
10339 lt_cv_archive_cmds_need_lc
=no
10341 lt_cv_archive_cmds_need_lc
=yes
10343 allow_undefined_flag
=$lt_save_allow_undefined_flag
10345 cat conftest.err
1>&5
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10351 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10352 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10516 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10518 if test "$GCC" = yes; then
10520 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10521 *) lt_awk_arg
="/^libraries:/" ;;
10524 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10525 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10527 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10528 case $lt_search_path_spec in
10530 # if the path contains ";" then we assume it to be the separator
10531 # otherwise default to the standard path separator (i.e. ":") - it is
10532 # assumed that no part of a normal pathname contains ";" but that should
10533 # okay in the real world where ";" in dirpaths is itself problematic.
10534 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10537 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10540 # Ok, now we have the path, separated by spaces, we can step through it
10541 # and add multilib dir if necessary.
10542 lt_tmp_lt_search_path_spec
=
10543 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10544 for lt_sys_path
in $lt_search_path_spec; do
10545 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10546 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10548 test -d "$lt_sys_path" && \
10549 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10552 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10553 BEGIN {RS=" "; FS="/|\n";} {
10556 for (lt_i = NF; lt_i > 0; lt_i--) {
10557 if ($lt_i != "" && $lt_i != ".") {
10558 if ($lt_i == "..") {
10561 if (lt_count == 0) {
10562 lt_foo="/" $lt_i lt_foo;
10569 if (lt_foo != "") { lt_freq[lt_foo]++; }
10570 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10572 # AWK program above erroneously prepends '/' to C:/dos/paths
10575 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10576 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10578 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10580 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10582 library_names_spec
=
10583 libname_spec
='lib$name'
10587 postuninstall_cmds
=
10591 shlibpath_overrides_runpath
=unknown
10593 dynamic_linker
="$host_os ld.so"
10594 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10595 need_lib_prefix
=unknown
10596 hardcode_into_libs
=no
10598 # when you set need_version to no, make sure it does not cause -set_version
10599 # flags to be left without arguments
10600 need_version
=unknown
10605 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10606 shlibpath_var
=LIBPATH
10608 # AIX 3 has no versioning support, so we append a major version to the name.
10609 soname_spec
='${libname}${release}${shared_ext}$major'
10616 hardcode_into_libs
=yes
10617 if test "$host_cpu" = ia64
; then
10618 # AIX 5 supports IA64
10619 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10620 shlibpath_var
=LD_LIBRARY_PATH
10622 # With GCC up to 2.95.x, collect2 would create an import file
10623 # for dependence libraries. The import file would start with
10624 # the line `#! .'. This would cause the generated library to
10625 # depend on `.', always an invalid library. This was fixed in
10626 # development snapshots of GCC prior to 3.0.
10628 aix4 | aix4.
[01] | aix4.
[01].
*)
10629 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10631 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10634 can_build_shared
=no
10638 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10639 # soname into executable. Probably we can add versioning support to
10640 # collect2, so additional links can be useful in future.
10641 if test "$aix_use_runtimelinking" = yes; then
10642 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10643 # instead of lib<name>.a to let people know that these are not
10644 # typical AIX shared libraries.
10645 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10647 # We preserve .a as extension for shared libraries through AIX4.2
10648 # and later when we are not doing run time linking.
10649 library_names_spec
='${libname}${release}.a $libname.a'
10650 soname_spec
='${libname}${release}${shared_ext}$major'
10652 shlibpath_var
=LIBPATH
10659 # Since July 2007 AmigaOS4 officially supports .so libraries.
10660 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10661 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10664 library_names_spec
='$libname.ixlibrary $libname.a'
10665 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10666 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'
10672 library_names_spec
='${libname}${shared_ext}'
10673 dynamic_linker
="$host_os ld.so"
10674 shlibpath_var
=LIBRARY_PATH
10680 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10681 soname_spec
='${libname}${release}${shared_ext}$major'
10682 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10683 shlibpath_var
=LD_LIBRARY_PATH
10684 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10685 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10686 # the default ld.so.conf also contains /usr/contrib/lib and
10687 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10688 # libtool to hard-code these into programs
10691 cygwin
* | mingw
* | pw32
* | cegcc
*)
10692 version_type
=windows
10697 case $GCC,$host_os in
10698 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10699 library_names_spec
='$libname.dll.a'
10700 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10701 postinstall_cmds
='base_file=`basename \${file}`~
10702 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10703 dldir=$destdir/`dirname \$dlpath`~
10704 test -d \$dldir || mkdir -p \$dldir~
10705 $install_prog $dir/$dlname \$dldir/$dlname~
10706 chmod a+x \$dldir/$dlname~
10707 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10708 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10710 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10711 dlpath=$dir/\$dldll~
10713 shlibpath_overrides_runpath
=yes
10717 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10718 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10720 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10723 # MinGW DLLs use traditional 'lib' prefix
10724 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10727 # pw32 DLLs use 'pw' prefix rather than 'lib'
10728 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10734 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10737 dynamic_linker
='Win32 ld.exe'
10738 # FIXME: first we should search . and the directory the executable is in
10742 darwin
* | rhapsody
*)
10743 dynamic_linker
="$host_os dyld"
10744 version_type
=darwin
10747 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10748 soname_spec
='${libname}${release}${major}$shared_ext'
10749 shlibpath_overrides_runpath
=yes
10750 shlibpath_var
=DYLD_LIBRARY_PATH
10751 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10753 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10754 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10761 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10762 soname_spec
='${libname}${release}${shared_ext}$major'
10763 shlibpath_var
=LD_LIBRARY_PATH
10766 freebsd
* | dragonfly
*)
10767 # DragonFly does not have aout. When/if they implement a new
10768 # versioning mechanism, adjust this.
10769 if test -x /usr
/bin
/objformat
; then
10770 objformat
=`/usr/bin/objformat`
10773 freebsd
[23].
*) objformat
=aout
;;
10774 *) objformat
=elf
;;
10777 version_type
=freebsd-
$objformat
10778 case $version_type in
10780 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10785 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10789 shlibpath_var
=LD_LIBRARY_PATH
10792 shlibpath_overrides_runpath
=yes
10794 freebsd3.
[01]* | freebsdelf3.
[01]*)
10795 shlibpath_overrides_runpath
=yes
10796 hardcode_into_libs
=yes
10798 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10799 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10800 shlibpath_overrides_runpath
=no
10801 hardcode_into_libs
=yes
10803 *) # from 4.6 on, and DragonFly
10804 shlibpath_overrides_runpath
=yes
10805 hardcode_into_libs
=yes
10814 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10815 soname_spec
='${libname}${release}${shared_ext}$major'
10816 shlibpath_var
=LD_LIBRARY_PATH
10817 hardcode_into_libs
=yes
10824 dynamic_linker
="$host_os runtime_loader"
10825 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10826 soname_spec
='${libname}${release}${shared_ext}$major'
10827 shlibpath_var
=LIBRARY_PATH
10828 shlibpath_overrides_runpath
=yes
10829 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10830 hardcode_into_libs
=yes
10833 hpux9
* | hpux10
* | hpux11
*)
10834 # Give a soname corresponding to the major version so that dld.sl refuses to
10835 # link against other versions.
10842 hardcode_into_libs
=yes
10843 dynamic_linker
="$host_os dld.so"
10844 shlibpath_var
=LD_LIBRARY_PATH
10845 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10846 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10847 soname_spec
='${libname}${release}${shared_ext}$major'
10848 if test "X$HPUX_IA64_MODE" = X32
; then
10849 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10851 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10853 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10857 hardcode_into_libs
=yes
10858 dynamic_linker
="$host_os dld.sl"
10859 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10860 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10861 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10862 soname_spec
='${libname}${release}${shared_ext}$major'
10863 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10864 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10868 dynamic_linker
="$host_os dld.sl"
10869 shlibpath_var
=SHLIB_PATH
10870 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
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'
10875 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10876 postinstall_cmds
='chmod 555 $lib'
10877 # or fails outright, so override atomically:
10878 install_override_mode
=555
10885 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10886 soname_spec
='${libname}${release}${shared_ext}$major'
10887 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10888 shlibpath_var
=LD_LIBRARY_PATH
10889 shlibpath_overrides_runpath
=no
10890 hardcode_into_libs
=yes
10893 irix5
* | irix6
* | nonstopux
*)
10895 nonstopux
*) version_type
=nonstopux
;;
10897 if test "$lt_cv_prog_gnu_ld" = yes; then
10905 soname_spec
='${libname}${release}${shared_ext}$major'
10906 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10908 irix5
* | nonstopux
*)
10909 libsuff
= shlibsuff
=
10912 case $LD in # libtool.m4 will add one of these switches to LD
10913 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10914 libsuff
= shlibsuff
= libmagic
=32-bit;;
10915 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10916 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10917 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10918 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10919 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10923 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10924 shlibpath_overrides_runpath
=no
10925 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10926 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10927 hardcode_into_libs
=yes
10930 # No shared lib support for Linux oldld, aout, or coff.
10931 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10935 # This must be Linux ELF.
10936 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10940 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10941 soname_spec
='${libname}${release}${shared_ext}$major'
10942 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10943 shlibpath_var
=LD_LIBRARY_PATH
10944 shlibpath_overrides_runpath
=no
10946 # Some binutils ld are patched to set DT_RUNPATH
10947 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10948 $as_echo_n "(cached) " >&6
10950 lt_cv_shlibpath_overrides_runpath
=no
10951 save_LDFLAGS
=$LDFLAGS
10952 save_libdir
=$libdir
10953 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10954 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10956 /* end confdefs.h. */
10966 if ac_fn_c_try_link
"$LINENO"; then :
10967 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10968 lt_cv_shlibpath_overrides_runpath
=yes
10971 rm -f core conftest.err conftest.
$ac_objext \
10972 conftest
$ac_exeext conftest.
$ac_ext
10973 LDFLAGS
=$save_LDFLAGS
10974 libdir
=$save_libdir
10978 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10980 # This implies no fast_install, which is unacceptable.
10981 # Some rework will be needed to allow for fast_install
10982 # before this can be enabled.
10983 hardcode_into_libs
=yes
10985 # Append ld.so.conf contents to the search path
10986 if test -f /etc
/ld.so.conf
; then
10987 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' ' '`
10988 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10991 # We used to test for /lib/ld.so.1 and disable shared libraries on
10992 # powerpc, because MkLinux only supported shared libraries with the
10993 # GNU dynamic linker. Since this was broken with cross compilers,
10994 # most powerpc-linux boxes support dynamic linking these days and
10995 # people can always --disable-shared, the test was removed, and we
10996 # assume the GNU/Linux dynamic linker is in use.
10997 dynamic_linker
='GNU/Linux ld.so'
11004 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11006 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11007 dynamic_linker
='NetBSD (a.out) ld.so'
11009 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11010 soname_spec
='${libname}${release}${shared_ext}$major'
11011 dynamic_linker
='NetBSD ld.elf_so'
11013 shlibpath_var
=LD_LIBRARY_PATH
11014 shlibpath_overrides_runpath
=yes
11015 hardcode_into_libs
=yes
11020 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11021 shlibpath_var
=LD_LIBRARY_PATH
11022 shlibpath_overrides_runpath
=yes
11029 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11030 soname_spec
='${libname}${release}${shared_ext}$major'
11031 shlibpath_var
=LD_LIBRARY_PATH
11032 shlibpath_overrides_runpath
=no
11033 hardcode_into_libs
=yes
11034 dynamic_linker
='ldqnx.so'
11039 sys_lib_dlsearch_path_spec
="/usr/lib"
11041 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11043 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11044 *) need_version
=no
;;
11046 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11047 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11048 shlibpath_var
=LD_LIBRARY_PATH
11049 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11051 openbsd2.
[89] | openbsd2.
[89].
*)
11052 shlibpath_overrides_runpath
=no
11055 shlibpath_overrides_runpath
=yes
11059 shlibpath_overrides_runpath
=yes
11064 libname_spec
='$name'
11067 library_names_spec
='$libname${shared_ext} $libname.a'
11068 dynamic_linker
='OS/2 ld.exe'
11069 shlibpath_var
=LIBPATH
11072 osf3
* | osf4
* | osf5
*)
11076 soname_spec
='${libname}${release}${shared_ext}$major'
11077 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11078 shlibpath_var
=LD_LIBRARY_PATH
11079 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11080 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11091 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11092 soname_spec
='${libname}${release}${shared_ext}$major'
11093 shlibpath_var
=LD_LIBRARY_PATH
11094 shlibpath_overrides_runpath
=yes
11095 hardcode_into_libs
=yes
11096 # ldd complains unless libraries are executable
11097 postinstall_cmds
='chmod +x $lib'
11102 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11103 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11104 shlibpath_var
=LD_LIBRARY_PATH
11105 shlibpath_overrides_runpath
=yes
11106 if test "$with_gnu_ld" = yes; then
11114 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11115 soname_spec
='${libname}${release}${shared_ext}$major'
11116 shlibpath_var
=LD_LIBRARY_PATH
11117 case $host_vendor in
11119 shlibpath_overrides_runpath
=no
11121 runpath_var
=LD_RUN_PATH
11129 shlibpath_overrides_runpath
=no
11130 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11136 if test -d /usr
/nec
;then
11138 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11139 soname_spec
='$libname${shared_ext}.$major'
11140 shlibpath_var
=LD_LIBRARY_PATH
11144 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11145 version_type
=freebsd-elf
11148 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11149 soname_spec
='${libname}${release}${shared_ext}$major'
11150 shlibpath_var
=LD_LIBRARY_PATH
11151 shlibpath_overrides_runpath
=yes
11152 hardcode_into_libs
=yes
11153 if test "$with_gnu_ld" = yes; then
11154 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11156 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11159 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11163 sys_lib_dlsearch_path_spec
='/usr/lib'
11167 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11171 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11172 shlibpath_var
=LD_LIBRARY_PATH
11173 shlibpath_overrides_runpath
=no
11174 hardcode_into_libs
=yes
11179 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11180 soname_spec
='${libname}${release}${shared_ext}$major'
11181 shlibpath_var
=LD_LIBRARY_PATH
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11189 $as_echo "$dynamic_linker" >&6; }
11190 test "$dynamic_linker" = no
&& can_build_shared
=no
11192 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11193 if test "$GCC" = yes; then
11194 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11197 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11198 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11200 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11201 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11296 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11298 if test -n "$hardcode_libdir_flag_spec" ||
11299 test -n "$runpath_var" ||
11300 test "X$hardcode_automatic" = "Xyes" ; then
11302 # We can hardcode non-existent directories.
11303 if test "$hardcode_direct" != no
&&
11304 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11305 # have to relink, otherwise we might link with an installed library
11306 # when we should be linking with a yet-to-be-installed one
11307 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11308 test "$hardcode_minus_L" != no
; then
11309 # Linking always hardcodes the temporary library directory.
11310 hardcode_action
=relink
11312 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11313 hardcode_action
=immediate
11316 # We cannot hardcode anything, or else we can only hardcode existing
11318 hardcode_action
=unsupported
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11321 $as_echo "$hardcode_action" >&6; }
11323 if test "$hardcode_action" = relink ||
11324 test "$inherit_rpath" = yes; then
11325 # Fast installation is not supported
11326 enable_fast_install
=no
11327 elif test "$shlibpath_overrides_runpath" = yes ||
11328 test "$enable_shared" = no
; then
11329 # Fast installation is not necessary
11330 enable_fast_install
=needless
11338 if test "x$enable_dlopen" != xyes
; then
11339 enable_dlopen
=unknown
11340 enable_dlopen_self
=unknown
11341 enable_dlopen_self_static
=unknown
11348 lt_cv_dlopen
="load_add_on"
11350 lt_cv_dlopen_self
=yes
11353 mingw
* | pw32
* | cegcc
*)
11354 lt_cv_dlopen
="LoadLibrary"
11359 lt_cv_dlopen
="dlopen"
11364 # if libdl is installed we need to link against it
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11366 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11367 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11368 $as_echo_n "(cached) " >&6
11370 ac_check_lib_save_LIBS
=$LIBS
11372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11373 /* end confdefs.h. */
11375 /* Override any GCC internal prototype to avoid an error.
11376 Use char because int might match the return type of a GCC
11377 builtin and then its argument prototype would still apply. */
11390 if ac_fn_c_try_link
"$LINENO"; then :
11391 ac_cv_lib_dl_dlopen
=yes
11393 ac_cv_lib_dl_dlopen
=no
11395 rm -f core conftest.err conftest.
$ac_objext \
11396 conftest
$ac_exeext conftest.
$ac_ext
11397 LIBS
=$ac_check_lib_save_LIBS
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11400 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11401 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11402 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11405 lt_cv_dlopen
="dyld"
11407 lt_cv_dlopen_self
=yes
11414 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11415 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11416 lt_cv_dlopen
="shl_load"
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11419 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11420 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11421 $as_echo_n "(cached) " >&6
11423 ac_check_lib_save_LIBS
=$LIBS
11425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11426 /* end confdefs.h. */
11428 /* Override any GCC internal prototype to avoid an error.
11429 Use char because int might match the return type of a GCC
11430 builtin and then its argument prototype would still apply. */
11438 return shl_load ();
11443 if ac_fn_c_try_link
"$LINENO"; then :
11444 ac_cv_lib_dld_shl_load
=yes
11446 ac_cv_lib_dld_shl_load
=no
11448 rm -f core conftest.err conftest.
$ac_objext \
11449 conftest
$ac_exeext conftest.
$ac_ext
11450 LIBS
=$ac_check_lib_save_LIBS
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11453 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11454 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11455 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11457 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11458 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11459 lt_cv_dlopen
="dlopen"
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11462 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11463 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11464 $as_echo_n "(cached) " >&6
11466 ac_check_lib_save_LIBS
=$LIBS
11468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11469 /* end confdefs.h. */
11471 /* Override any GCC internal prototype to avoid an error.
11472 Use char because int might match the return type of a GCC
11473 builtin and then its argument prototype would still apply. */
11486 if ac_fn_c_try_link
"$LINENO"; then :
11487 ac_cv_lib_dl_dlopen
=yes
11489 ac_cv_lib_dl_dlopen
=no
11491 rm -f core conftest.err conftest.
$ac_objext \
11492 conftest
$ac_exeext conftest.
$ac_ext
11493 LIBS
=$ac_check_lib_save_LIBS
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11496 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11497 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11498 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11501 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11502 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11503 $as_echo_n "(cached) " >&6
11505 ac_check_lib_save_LIBS
=$LIBS
11506 LIBS
="-lsvld $LIBS"
11507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11508 /* end confdefs.h. */
11510 /* Override any GCC internal prototype to avoid an error.
11511 Use char because int might match the return type of a GCC
11512 builtin and then its argument prototype would still apply. */
11525 if ac_fn_c_try_link
"$LINENO"; then :
11526 ac_cv_lib_svld_dlopen
=yes
11528 ac_cv_lib_svld_dlopen
=no
11530 rm -f core conftest.err conftest.
$ac_objext \
11531 conftest
$ac_exeext conftest.
$ac_ext
11532 LIBS
=$ac_check_lib_save_LIBS
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11535 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11536 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11537 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11540 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11541 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11542 $as_echo_n "(cached) " >&6
11544 ac_check_lib_save_LIBS
=$LIBS
11546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11547 /* end confdefs.h. */
11549 /* Override any GCC internal prototype to avoid an error.
11550 Use char because int might match the return type of a GCC
11551 builtin and then its argument prototype would still apply. */
11559 return dld_link ();
11564 if ac_fn_c_try_link
"$LINENO"; then :
11565 ac_cv_lib_dld_dld_link
=yes
11567 ac_cv_lib_dld_dld_link
=no
11569 rm -f core conftest.err conftest.
$ac_objext \
11570 conftest
$ac_exeext conftest.
$ac_ext
11571 LIBS
=$ac_check_lib_save_LIBS
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11574 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11575 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11576 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11597 if test "x$lt_cv_dlopen" != xno
; then
11603 case $lt_cv_dlopen in
11605 save_CPPFLAGS
="$CPPFLAGS"
11606 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11608 save_LDFLAGS
="$LDFLAGS"
11609 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11612 LIBS
="$lt_cv_dlopen_libs $LIBS"
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11615 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11616 if test "${lt_cv_dlopen_self+set}" = set; then :
11617 $as_echo_n "(cached) " >&6
11619 if test "$cross_compiling" = yes; then :
11620 lt_cv_dlopen_self
=cross
11622 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11623 lt_status
=$lt_dlunknown
11624 cat > conftest.
$ac_ext <<_LT_EOF
11625 #line 11625 "configure"
11626 #include "confdefs.h"
11635 # define LT_DLGLOBAL RTLD_GLOBAL
11638 # define LT_DLGLOBAL DL_GLOBAL
11640 # define LT_DLGLOBAL 0
11644 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11645 find out it does not work in some platform. */
11646 #ifndef LT_DLLAZY_OR_NOW
11648 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11651 # define LT_DLLAZY_OR_NOW DL_LAZY
11654 # define LT_DLLAZY_OR_NOW RTLD_NOW
11657 # define LT_DLLAZY_OR_NOW DL_NOW
11659 # define LT_DLLAZY_OR_NOW 0
11666 /* When -fvisbility=hidden is used, assume the code has been annotated
11667 correspondingly for the symbols needed. */
11668 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11669 void fnord () __attribute__((visibility("default")));
11672 void fnord () { int i=42; }
11675 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11676 int status = $lt_dlunknown;
11680 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11683 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11684 else puts (dlerror ());
11686 /* dlclose (self); */
11694 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11695 (eval $ac_link) 2>&5
11697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11698 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11699 (.
/conftest
; exit; ) >&5 2>/dev
/null
11701 case x
$lt_status in
11702 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11703 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11704 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11707 # compilation failed
11708 lt_cv_dlopen_self
=no
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11716 $as_echo "$lt_cv_dlopen_self" >&6; }
11718 if test "x$lt_cv_dlopen_self" = xyes
; then
11719 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11721 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11722 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11723 $as_echo_n "(cached) " >&6
11725 if test "$cross_compiling" = yes; then :
11726 lt_cv_dlopen_self_static
=cross
11728 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11729 lt_status
=$lt_dlunknown
11730 cat > conftest.
$ac_ext <<_LT_EOF
11731 #line 11731 "configure"
11732 #include "confdefs.h"
11741 # define LT_DLGLOBAL RTLD_GLOBAL
11744 # define LT_DLGLOBAL DL_GLOBAL
11746 # define LT_DLGLOBAL 0
11750 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11751 find out it does not work in some platform. */
11752 #ifndef LT_DLLAZY_OR_NOW
11754 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11757 # define LT_DLLAZY_OR_NOW DL_LAZY
11760 # define LT_DLLAZY_OR_NOW RTLD_NOW
11763 # define LT_DLLAZY_OR_NOW DL_NOW
11765 # define LT_DLLAZY_OR_NOW 0
11772 /* When -fvisbility=hidden is used, assume the code has been annotated
11773 correspondingly for the symbols needed. */
11774 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11775 void fnord () __attribute__((visibility("default")));
11778 void fnord () { int i=42; }
11781 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11782 int status = $lt_dlunknown;
11786 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11789 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11790 else puts (dlerror ());
11792 /* dlclose (self); */
11800 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11801 (eval $ac_link) 2>&5
11803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11804 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11805 (.
/conftest
; exit; ) >&5 2>/dev
/null
11807 case x
$lt_status in
11808 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11809 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11810 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11813 # compilation failed
11814 lt_cv_dlopen_self_static
=no
11821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11822 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11825 CPPFLAGS
="$save_CPPFLAGS"
11826 LDFLAGS
="$save_LDFLAGS"
11831 case $lt_cv_dlopen_self in
11832 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11833 *) enable_dlopen_self
=unknown
;;
11836 case $lt_cv_dlopen_self_static in
11837 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11838 *) enable_dlopen_self_static
=unknown
;;
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11861 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11862 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11863 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11864 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11866 $as_echo "yes" >&6; }
11868 # FIXME - insert some real tests, host_os isn't really good enough
11871 if test -n "$STRIP" ; then
11872 striplib
="$STRIP -x"
11873 old_striplib
="$STRIP -S"
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11875 $as_echo "yes" >&6; }
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11878 $as_echo "no" >&6; }
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11883 $as_echo "no" >&6; }
11899 # Report which library types will actually be built
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11901 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11903 $as_echo "$can_build_shared" >&6; }
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11906 $as_echo_n "checking whether to build shared libraries... " >&6; }
11907 test "$can_build_shared" = "no" && enable_shared
=no
11909 # On AIX, shared libraries and static libraries use the same namespace, and
11910 # are all built from PIC.
11913 test "$enable_shared" = yes && enable_static
=no
11914 if test -n "$RANLIB"; then
11915 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11916 postinstall_cmds
='$RANLIB $lib'
11921 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11922 test "$enable_shared" = yes && enable_static
=no
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11927 $as_echo "$enable_shared" >&6; }
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11930 $as_echo_n "checking whether to build static libraries... " >&6; }
11931 # Make sure either enable_shared or enable_static is yes.
11932 test "$enable_shared" = yes || enable_static
=yes
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11934 $as_echo "$enable_static" >&6; }
11941 ac_cpp
='$CPP $CPPFLAGS'
11942 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11943 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11944 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11948 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11949 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11950 (test "X$CXX" != "Xg++"))) ; then
11952 ac_cpp
='$CXXCPP $CPPFLAGS'
11953 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11954 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11955 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11957 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11958 if test -z "$CXXCPP"; then
11959 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11960 $as_echo_n "(cached) " >&6
11962 # Double quotes because CXXCPP needs to be expanded
11963 for CXXCPP
in "$CXX -E" "/lib/cpp"
11965 ac_preproc_ok
=false
11966 for ac_cxx_preproc_warn_flag
in '' yes
11968 # Use a header file that comes with gcc, so configuring glibc
11969 # with a fresh cross-compiler works.
11970 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11971 # <limits.h> exists even on freestanding compilers.
11972 # On the NeXT, cc -E runs the code through the compiler's parser,
11973 # not just through cpp. "Syntax error" is here to catch this case.
11974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11975 /* end confdefs.h. */
11977 # include <limits.h>
11979 # include <assert.h>
11983 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11986 # Broken: fails on valid input.
11989 rm -f conftest.err conftest.
$ac_ext
11991 # OK, works on sane cases. Now check whether nonexistent headers
11992 # can be detected and how.
11993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11994 /* end confdefs.h. */
11995 #include <ac_nonexistent.h>
11997 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11998 # Broken: success on invalid input.
12001 # Passes both tests.
12005 rm -f conftest.err conftest.
$ac_ext
12008 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12009 rm -f conftest.err conftest.
$ac_ext
12010 if $ac_preproc_ok; then :
12015 ac_cv_prog_CXXCPP
=$CXXCPP
12018 CXXCPP
=$ac_cv_prog_CXXCPP
12020 ac_cv_prog_CXXCPP
=$CXXCPP
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12023 $as_echo "$CXXCPP" >&6; }
12024 ac_preproc_ok
=false
12025 for ac_cxx_preproc_warn_flag
in '' yes
12027 # Use a header file that comes with gcc, so configuring glibc
12028 # with a fresh cross-compiler works.
12029 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12030 # <limits.h> exists even on freestanding compilers.
12031 # On the NeXT, cc -E runs the code through the compiler's parser,
12032 # not just through cpp. "Syntax error" is here to catch this case.
12033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12034 /* end confdefs.h. */
12036 # include <limits.h>
12038 # include <assert.h>
12042 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12045 # Broken: fails on valid input.
12048 rm -f conftest.err conftest.
$ac_ext
12050 # OK, works on sane cases. Now check whether nonexistent headers
12051 # can be detected and how.
12052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12053 /* end confdefs.h. */
12054 #include <ac_nonexistent.h>
12056 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12057 # Broken: success on invalid input.
12060 # Passes both tests.
12064 rm -f conftest.err conftest.
$ac_ext
12067 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12068 rm -f conftest.err conftest.
$ac_ext
12069 if $ac_preproc_ok; then :
12072 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12074 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
12075 See \`config.log' for more details." "$LINENO" 5; }
12079 ac_cpp
='$CPP $CPPFLAGS'
12080 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12081 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12082 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12085 _lt_caught_CXX_error
=yes
12089 ac_cpp
='$CXXCPP $CPPFLAGS'
12090 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12091 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12092 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12094 archive_cmds_need_lc_CXX
=no
12095 allow_undefined_flag_CXX
=
12096 always_export_symbols_CXX
=no
12097 archive_expsym_cmds_CXX
=
12098 compiler_needs_object_CXX
=no
12099 export_dynamic_flag_spec_CXX
=
12100 hardcode_direct_CXX
=no
12101 hardcode_direct_absolute_CXX
=no
12102 hardcode_libdir_flag_spec_CXX
=
12103 hardcode_libdir_flag_spec_ld_CXX
=
12104 hardcode_libdir_separator_CXX
=
12105 hardcode_minus_L_CXX
=no
12106 hardcode_shlibpath_var_CXX
=unsupported
12107 hardcode_automatic_CXX
=no
12108 inherit_rpath_CXX
=no
12110 module_expsym_cmds_CXX
=
12111 link_all_deplibs_CXX
=unknown
12112 old_archive_cmds_CXX
=$old_archive_cmds
12113 reload_flag_CXX
=$reload_flag
12114 reload_cmds_CXX
=$reload_cmds
12115 no_undefined_flag_CXX
=
12116 whole_archive_flag_spec_CXX
=
12117 enable_shared_with_static_runtimes_CXX
=no
12119 # Source file extension for C++ test sources.
12122 # Object file extension for compiled C++ test sources.
12126 # No sense in running all these tests if we already determined that
12127 # the CXX compiler isn't working. Some variables (like enable_shared)
12128 # are currently assumed to apply to all compilers on this platform,
12129 # and will be corrupted by setting them based on a non-working compiler.
12130 if test "$_lt_caught_CXX_error" != yes; then
12131 # Code to be used in simple compile tests
12132 lt_simple_compile_test_code
="int some_variable = 0;"
12134 # Code to be used in simple link tests
12135 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12137 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12144 # If no C compiler was specified, use CC.
12147 # If no C compiler flags were specified, use CFLAGS.
12148 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12150 # Allow CC to be a program name with arguments.
12154 # save warnings/boilerplate of simple test code
12155 ac_outfile
=conftest.
$ac_objext
12156 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12157 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12158 _lt_compiler_boilerplate
=`cat conftest.err`
12161 ac_outfile
=conftest.
$ac_objext
12162 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12163 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12164 _lt_linker_boilerplate
=`cat conftest.err`
12168 # Allow CC to be a program name with arguments.
12173 lt_save_with_gnu_ld
=$with_gnu_ld
12174 lt_save_path_LD
=$lt_cv_path_LD
12175 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12176 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12178 $as_unset lt_cv_prog_gnu_ld
12180 if test -n "${lt_cv_path_LDCXX+set}"; then
12181 lt_cv_path_LD
=$lt_cv_path_LDCXX
12183 $as_unset lt_cv_path_LD
12185 test -z "${LDCXX+set}" || LD
=$LDCXX
12189 for cc_temp
in $compiler""; do
12191 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12192 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12197 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12200 if test -n "$compiler"; then
12201 # We don't want -fno-exception when compiling C++ code, so set the
12202 # no_builtin_flag separately
12203 if test "$GXX" = yes; then
12204 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12206 lt_prog_compiler_no_builtin_flag_CXX
=
12209 if test "$GXX" = yes; then
12210 # Set up default GNU C++ configuration
12214 # Check whether --with-gnu-ld was given.
12215 if test "${with_gnu_ld+set}" = set; then :
12216 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12222 if test "$GCC" = yes; then
12223 # Check if gcc -print-prog-name=ld gives a path.
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12225 $as_echo_n "checking for ld used by $CC... " >&6; }
12228 # gcc leaves a trailing carriage return which upsets mingw
12229 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12231 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12234 # Accept absolute paths.
12236 re_direlt
='/[^/][^/]*/\.\./'
12237 # Canonicalize the pathname of ld
12238 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12239 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12240 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12242 test -z "$LD" && LD
="$ac_prog"
12245 # If it fails, then pretend we aren't using GCC.
12249 # If it is relative, then search for the first ld in PATH.
12250 with_gnu_ld
=unknown
12253 elif test "$with_gnu_ld" = yes; then
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12255 $as_echo_n "checking for GNU ld... " >&6; }
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12258 $as_echo_n "checking for non-GNU ld... " >&6; }
12260 if test "${lt_cv_path_LD+set}" = set; then :
12261 $as_echo_n "(cached) " >&6
12263 if test -z "$LD"; then
12264 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12265 for ac_dir
in $PATH; do
12267 test -z "$ac_dir" && ac_dir
=.
12268 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12269 lt_cv_path_LD
="$ac_dir/$ac_prog"
12270 # Check to see if the program is GNU ld. I'd rather use --version,
12271 # but apparently some variants of GNU ld only accept -v.
12272 # Break only if it was the GNU/non-GNU ld that we prefer.
12273 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12274 *GNU
* |
*'with BFD'*)
12275 test "$with_gnu_ld" != no
&& break
12278 test "$with_gnu_ld" != yes && break
12285 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12289 LD
="$lt_cv_path_LD"
12290 if test -n "$LD"; then
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12292 $as_echo "$LD" >&6; }
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12295 $as_echo "no" >&6; }
12297 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12299 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12300 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12301 $as_echo_n "(cached) " >&6
12303 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12304 case `$LD -v 2>&1 </dev/null` in
12305 *GNU
* |
*'with BFD'*)
12306 lt_cv_prog_gnu_ld
=yes
12309 lt_cv_prog_gnu_ld
=no
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12314 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12315 with_gnu_ld
=$lt_cv_prog_gnu_ld
12323 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12324 # archiving commands below assume that GNU ld is being used.
12325 if test "$with_gnu_ld" = yes; then
12326 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12327 archive_expsym_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12329 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12330 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12332 # If archive_cmds runs LD, not CC, wlarc should be empty
12333 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12334 # investigate it a little bit more. (MM)
12337 # ancient GNU ld didn't support --whole-archive et. al.
12338 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12339 $GREP 'no-whole-archive' > /dev
/null
; then
12340 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12342 whole_archive_flag_spec_CXX
=
12348 # A generic and very simple default shared library creation
12349 # command for GNU C++ for the case where it uses the native
12350 # linker, instead of GNU ld. If possible, this setting should
12351 # overridden to take advantage of the native linker features on
12352 # the platform it is being used on.
12353 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12356 # Commands to make compiler produce verbose output that lists
12357 # what "hidden" libraries, object files and flags are used when
12358 # linking a shared library.
12359 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12367 # PORTME: fill in a description of your system's C++ link characteristics
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12369 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12373 # FIXME: insert proper C++ library support
12377 if test "$host_cpu" = ia64
; then
12378 # On IA64, the linker does run time linking by default, so we don't
12379 # have to do anything special.
12380 aix_use_runtimelinking
=no
12381 exp_sym_flag
='-Bexport'
12384 aix_use_runtimelinking
=no
12386 # Test if we are trying to use run time linking or normal
12387 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12388 # need to do runtime linking.
12389 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12390 for ld_flag
in $LDFLAGS; do
12393 aix_use_runtimelinking
=yes
12401 exp_sym_flag
='-bexport'
12402 no_entry_flag
='-bnoentry'
12405 # When large executables or shared objects are built, AIX ld can
12406 # have problems creating the table of contents. If linking a library
12407 # or program results in "error TOC overflow" add -mminimal-toc to
12408 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12409 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12411 archive_cmds_CXX
=''
12412 hardcode_direct_CXX
=yes
12413 hardcode_direct_absolute_CXX
=yes
12414 hardcode_libdir_separator_CXX
=':'
12415 link_all_deplibs_CXX
=yes
12416 file_list_spec_CXX
='${wl}-f,'
12418 if test "$GXX" = yes; then
12419 case $host_os in aix4.
[012]|aix4.
[012].
*)
12420 # We only want to do this on AIX 4.2 and lower, the check
12421 # below for broken collect2 doesn't work under 4.3+
12422 collect2name
=`${CC} -print-prog-name=collect2`
12423 if test -f "$collect2name" &&
12424 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12426 # We have reworked collect2
12429 # We have old collect2
12430 hardcode_direct_CXX
=unsupported
12431 # It fails to find uninstalled libraries when the uninstalled
12432 # path is not listed in the libpath. Setting hardcode_minus_L
12433 # to unsupported forces relinking
12434 hardcode_minus_L_CXX
=yes
12435 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12436 hardcode_libdir_separator_CXX
=
12439 shared_flag
='-shared'
12440 if test "$aix_use_runtimelinking" = yes; then
12441 shared_flag
="$shared_flag "'${wl}-G'
12445 if test "$host_cpu" = ia64
; then
12446 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12447 # chokes on -Wl,-G. The following line is correct:
12450 if test "$aix_use_runtimelinking" = yes; then
12451 shared_flag
='${wl}-G'
12453 shared_flag
='${wl}-bM:SRE'
12458 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12459 # It seems that -bexpall does not export symbols beginning with
12460 # underscore (_), so it is better to generate a list of symbols to
12462 always_export_symbols_CXX
=yes
12463 if test "$aix_use_runtimelinking" = yes; then
12464 # Warning - without using the other runtime loading flags (-brtl),
12465 # -berok will link without error, but may produce a broken library.
12466 allow_undefined_flag_CXX
='-berok'
12467 # Determine the default libpath from the value encoded in an empty
12469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12470 /* end confdefs.h. */
12480 if ac_fn_cxx_try_link
"$LINENO"; then :
12482 lt_aix_libpath_sed
='
12483 /Import File Strings/,/^$/ {
12489 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12490 # Check for a 64-bit object if we didn't find anything.
12491 if test -z "$aix_libpath"; then
12492 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12495 rm -f core conftest.err conftest.
$ac_objext \
12496 conftest
$ac_exeext conftest.
$ac_ext
12497 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12499 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12501 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"
12503 if test "$host_cpu" = ia64
; then
12504 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12505 allow_undefined_flag_CXX
="-z nodefs"
12506 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"
12508 # Determine the default libpath from the value encoded in an
12509 # empty executable.
12510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12511 /* end confdefs.h. */
12521 if ac_fn_cxx_try_link
"$LINENO"; then :
12523 lt_aix_libpath_sed
='
12524 /Import File Strings/,/^$/ {
12530 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12531 # Check for a 64-bit object if we didn't find anything.
12532 if test -z "$aix_libpath"; then
12533 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12536 rm -f core conftest.err conftest.
$ac_objext \
12537 conftest
$ac_exeext conftest.
$ac_ext
12538 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12540 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12541 # Warning - without using the other run time loading flags,
12542 # -berok will link without error, but may produce a broken library.
12543 no_undefined_flag_CXX
=' ${wl}-bernotok'
12544 allow_undefined_flag_CXX
=' ${wl}-berok'
12545 if test "$with_gnu_ld" = yes; then
12546 # We only use this code for GNU lds that support --whole-archive.
12547 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12549 # Exported symbols can be pulled into shared objects from archives
12550 whole_archive_flag_spec_CXX
='$convenience'
12552 archive_cmds_need_lc_CXX
=yes
12553 # This is similar to how AIX traditionally builds its shared
12555 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'
12561 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12562 allow_undefined_flag_CXX
=unsupported
12563 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12564 # support --undefined. This deserves some investigation. FIXME
12565 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12572 case $cc_basename in
12574 # FIXME: insert proper C++ library support
12580 cygwin
* | mingw
* | pw32
* | cegcc
*)
12581 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12582 # as there is no search path for DLLs.
12583 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12584 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12585 allow_undefined_flag_CXX
=unsupported
12586 always_export_symbols_CXX
=no
12587 enable_shared_with_static_runtimes_CXX
=yes
12589 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12590 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'
12591 # If the export-symbols file already is a .def file (1st line
12592 # is EXPORTS), use it as is; otherwise, prepend...
12593 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12594 cp $export_symbols $output_objdir/$soname.def;
12596 echo EXPORTS > $output_objdir/$soname.def;
12597 cat $export_symbols >> $output_objdir/$soname.def;
12599 $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'
12604 darwin
* | rhapsody
*)
12607 archive_cmds_need_lc_CXX
=no
12608 hardcode_direct_CXX
=no
12609 hardcode_automatic_CXX
=yes
12610 hardcode_shlibpath_var_CXX
=unsupported
12611 if test "$lt_cv_ld_force_load" = "yes"; then
12612 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\"`'
12614 whole_archive_flag_spec_CXX
=''
12616 link_all_deplibs_CXX
=yes
12617 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12618 case $cc_basename in
12619 ifort
*) _lt_dar_can_shared
=yes ;;
12620 *) _lt_dar_can_shared
=$GCC ;;
12622 if test "$_lt_dar_can_shared" = "yes"; then
12623 output_verbose_link_cmd
=func_echo_all
12624 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}"
12625 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12626 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}"
12627 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}"
12628 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12629 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}"
12630 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}"
12640 case $cc_basename in
12642 # FIXME: insert proper C++ library support
12646 # Green Hills C++ Compiler
12647 # FIXME: insert proper C++ library support
12651 # FIXME: insert proper C++ library support
12658 # C++ shared libraries reported to be fairly broken before
12664 archive_cmds_need_lc_CXX
=no
12667 freebsd
* | dragonfly
*)
12668 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12677 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12678 link_all_deplibs_CXX
=yes
12682 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12683 hardcode_libdir_separator_CXX
=:
12684 export_dynamic_flag_spec_CXX
='${wl}-E'
12685 hardcode_direct_CXX
=yes
12686 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12687 # but as the default
12688 # location of the library.
12690 case $cc_basename in
12692 # FIXME: insert proper C++ library support
12696 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'
12697 # Commands to make compiler produce verbose output that lists
12698 # what "hidden" libraries, object files and flags are used when
12699 # linking a shared library.
12701 # There doesn't appear to be a way to prevent this compiler from
12702 # explicitly linking system object files so we need to strip them
12703 # from the output so that they don't get included in the library
12705 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"'
12708 if test "$GXX" = yes; then
12709 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'
12711 # FIXME: insert proper C++ library support
12719 if test $with_gnu_ld = no
; then
12720 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12721 hardcode_libdir_separator_CXX
=:
12727 export_dynamic_flag_spec_CXX
='${wl}-E'
12733 hardcode_direct_CXX
=no
12734 hardcode_shlibpath_var_CXX
=no
12737 hardcode_direct_CXX
=yes
12738 hardcode_direct_absolute_CXX
=yes
12739 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12740 # but as the default
12741 # location of the library.
12745 case $cc_basename in
12747 # FIXME: insert proper C++ library support
12753 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12756 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12759 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12762 # Commands to make compiler produce verbose output that lists
12763 # what "hidden" libraries, object files and flags are used when
12764 # linking a shared library.
12766 # There doesn't appear to be a way to prevent this compiler from
12767 # explicitly linking system object files so we need to strip them
12768 # from the output so that they don't get included in the library
12770 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"'
12773 if test "$GXX" = yes; then
12774 if test $with_gnu_ld = no
; then
12777 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12780 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12783 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'
12788 # FIXME: insert proper C++ library support
12796 hardcode_direct_CXX
=no
12797 hardcode_shlibpath_var_CXX
=no
12798 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12799 export_dynamic_flag_spec_CXX
='${wl}-E'
12800 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12801 # Instead, shared libraries are loaded at an image base (0x10000000 by
12802 # default) and relocated if they conflict, which is a slow very memory
12803 # consuming and fragmenting process. To avoid this, we pick a random,
12804 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12805 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12806 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'
12807 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'
12810 case $cc_basename in
12813 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'
12815 # Archives containing C++ object files must be created using
12816 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12817 # necessary to make sure instantiated templates are included
12819 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12822 if test "$GXX" = yes; then
12823 if test "$with_gnu_ld" = no
; then
12824 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'
12826 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'
12829 link_all_deplibs_CXX
=yes
12832 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12833 hardcode_libdir_separator_CXX
=:
12834 inherit_rpath_CXX
=yes
12837 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12838 case $cc_basename in
12840 # Kuck and Associates, Inc. (KAI) C++ Compiler
12842 # KCC will only create a shared library if the output file
12843 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12844 # to its proper name (with version) after linking.
12845 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'
12846 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'
12847 # Commands to make compiler produce verbose output that lists
12848 # what "hidden" libraries, object files and flags are used when
12849 # linking a shared library.
12851 # There doesn't appear to be a way to prevent this compiler from
12852 # explicitly linking system object files so we need to strip them
12853 # from the output so that they don't get included in the library
12855 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"'
12857 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12858 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12860 # Archives containing C++ object files must be created using
12861 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12862 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12867 # version 8.0 and above of icpc choke on multiply defined symbols
12868 # if we add $predep_objects and $postdep_objects, however 7.1 and
12869 # earlier do not add the objects themselves.
12870 case `$CC -V 2>&1` in
12872 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12873 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'
12875 *) # Version 8.0 or newer
12878 ia64
*) tmp_idyn
=' -i_dynamic';;
12880 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12881 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'
12884 archive_cmds_need_lc_CXX
=no
12885 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12886 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12887 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12890 # Portland Group C++ compiler
12892 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12893 prelink_cmds_CXX
='tpldir=Template.dir~
12895 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12896 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12897 old_archive_cmds_CXX
='tpldir=Template.dir~
12899 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12900 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12902 archive_cmds_CXX
='tpldir=Template.dir~
12904 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12905 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12906 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12908 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12909 $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'
12911 *) # Version 6 and above use weak symbols
12912 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12913 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'
12917 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12918 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12919 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'
12923 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12924 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'
12926 runpath_var
=LD_RUN_PATH
12927 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12928 hardcode_libdir_separator_CXX
=:
12930 # Commands to make compiler produce verbose output that lists
12931 # what "hidden" libraries, object files and flags are used when
12932 # linking a shared library.
12934 # There doesn't appear to be a way to prevent this compiler from
12935 # explicitly linking system object files so we need to strip them
12936 # from the output so that they don't get included in the library
12938 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'
12940 xl
* | mpixl
* | bgxl
*)
12941 # IBM XL 8.0 on PPC, with GNU ld
12942 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12943 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12944 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12945 if test "x$supports_anon_versioning" = xyes
; then
12946 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12947 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12948 echo "local: *; };" >> $output_objdir/$libname.ver~
12949 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12953 case `$CC -V 2>&1 | sed 5q` in
12956 no_undefined_flag_CXX
=' -zdefs'
12957 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12958 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'
12959 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12960 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'
12961 compiler_needs_object_CXX
=yes
12963 # Not sure whether something based on
12964 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12966 output_verbose_link_cmd
='func_echo_all'
12968 # Archives containing C++ object files must be created using
12969 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12970 # necessary to make sure instantiated templates are included
12972 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12980 # FIXME: insert proper C++ library support
12985 # FIXME: insert proper C++ library support
12990 case $cc_basename in
12992 # FIXME: insert proper C++ library support
12996 # FIXME: insert proper C++ library support
13003 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13004 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13006 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13007 hardcode_direct_CXX
=yes
13008 hardcode_shlibpath_var_CXX
=no
13010 # Workaround some broken pre-1.5 toolchains
13011 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13019 # C++ shared libraries are fairly broken
13024 if test -f /usr
/libexec
/ld.so
; then
13025 hardcode_direct_CXX
=yes
13026 hardcode_shlibpath_var_CXX
=no
13027 hardcode_direct_absolute_CXX
=yes
13028 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13029 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13030 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13031 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13032 export_dynamic_flag_spec_CXX
='${wl}-E'
13033 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13035 output_verbose_link_cmd
=func_echo_all
13041 osf3
* | osf4
* | osf5
*)
13042 case $cc_basename in
13044 # Kuck and Associates, Inc. (KAI) C++ Compiler
13046 # KCC will only create a shared library if the output file
13047 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13048 # to its proper name (with version) after linking.
13049 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'
13051 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13052 hardcode_libdir_separator_CXX
=:
13054 # Archives containing C++ object files must be created using
13055 # the KAI C++ compiler.
13057 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13058 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13062 # Rational C++ 2.4.1
13063 # FIXME: insert proper C++ library support
13069 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13070 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'
13071 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13074 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13075 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'
13076 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13077 echo "-hidden">> $lib.exp~
13078 $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~
13080 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13084 hardcode_libdir_separator_CXX
=:
13086 # Commands to make compiler produce verbose output that lists
13087 # what "hidden" libraries, object files and flags are used when
13088 # linking a shared library.
13090 # There doesn't appear to be a way to prevent this compiler from
13091 # explicitly linking system object files so we need to strip them
13092 # from the output so that they don't get included in the library
13094 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"'
13097 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13098 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13101 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'
13104 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'
13108 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13109 hardcode_libdir_separator_CXX
=:
13111 # Commands to make compiler produce verbose output that lists
13112 # what "hidden" libraries, object files and flags are used when
13113 # linking a shared library.
13114 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13117 # FIXME: insert proper C++ library support
13125 # FIXME: insert proper C++ library support
13130 case $cc_basename in
13133 # FIXME: insert proper C++ library support
13138 # FIXME: insert proper C++ library support
13142 # FIXME: insert proper C++ library support
13149 case $cc_basename in
13151 # Sun C++ 4.2, 5.x and Centerline C++
13152 archive_cmds_need_lc_CXX
=yes
13153 no_undefined_flag_CXX
=' -zdefs'
13154 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13155 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13156 $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'
13158 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13159 hardcode_shlibpath_var_CXX
=no
13161 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13163 # The compiler driver will combine and reorder linker options,
13164 # but understands `-z linker_flag'.
13165 # Supported since Solaris 2.6 (maybe 2.5.1?)
13166 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13169 link_all_deplibs_CXX
=yes
13171 output_verbose_link_cmd
='func_echo_all'
13173 # Archives containing C++ object files must be created using
13174 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13175 # necessary to make sure instantiated templates are included
13177 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13180 # Green Hills C++ Compiler
13181 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13183 # The C++ compiler must be used to create the archive.
13184 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13187 # GNU C++ compiler with Solaris linker
13188 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13189 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13190 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13191 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13192 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13193 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13195 # Commands to make compiler produce verbose output that lists
13196 # what "hidden" libraries, object files and flags are used when
13197 # linking a shared library.
13198 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13200 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13202 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13203 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13204 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13206 # Commands to make compiler produce verbose output that lists
13207 # what "hidden" libraries, object files and flags are used when
13208 # linking a shared library.
13209 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13212 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13214 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13216 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13224 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13225 no_undefined_flag_CXX
='${wl}-z,text'
13226 archive_cmds_need_lc_CXX
=no
13227 hardcode_shlibpath_var_CXX
=no
13228 runpath_var
='LD_RUN_PATH'
13230 case $cc_basename in
13232 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13233 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13236 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13237 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13242 sysv5
* | sco3.2v5
* | sco5v6
*)
13243 # Note: We can NOT use -z defs as we might desire, because we do not
13244 # link with -lc, and that would cause any symbols used from libc to
13245 # always be unresolved, which means just about no library would
13246 # ever link correctly. If we're not using GNU ld we use -z text
13247 # though, which does catch some bad symbols but isn't as heavy-handed
13249 no_undefined_flag_CXX
='${wl}-z,text'
13250 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13251 archive_cmds_need_lc_CXX
=no
13252 hardcode_shlibpath_var_CXX
=no
13253 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13254 hardcode_libdir_separator_CXX
=':'
13255 link_all_deplibs_CXX
=yes
13256 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13257 runpath_var
='LD_RUN_PATH'
13259 case $cc_basename in
13261 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13262 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13263 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13264 '"$old_archive_cmds_CXX"
13265 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13266 '"$reload_cmds_CXX"
13269 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13270 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13276 case $cc_basename in
13278 # NonStop-UX NCC 3.20
13279 # FIXME: insert proper C++ library support
13283 # FIXME: insert proper C++ library support
13290 # FIXME: insert proper C++ library support
13295 # FIXME: insert proper C++ library support
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13301 $as_echo "$ld_shlibs_CXX" >&6; }
13302 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13308 ## There is no encapsulation within the following macros, do not change
13309 ## the running order or otherwise move them around unless you know exactly
13310 ## what you are doing...
13311 # Dependencies to place before and after the object being linked:
13312 predep_objects_CXX
=
13313 postdep_objects_CXX
=
13316 compiler_lib_search_path_CXX
=
13318 cat > conftest.
$ac_ext <<_LT_EOF
13322 Foo (void) { a = 0; }
13328 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13329 (eval $ac_compile) 2>&5
13331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13332 test $ac_status = 0; }; then
13333 # Parse the compiler output and extract the necessary
13334 # objects, libraries and library flags.
13336 # Sentinel used to keep track of whether or not we are before
13337 # the conftest object file.
13338 pre_test_object_deps_done
=no
13340 for p
in `eval "$output_verbose_link_cmd"`; do
13344 # Some compilers place space between "-{L,R}" and the path.
13345 # Remove the space.
13346 if test $p = "-L" ||
13347 test $p = "-R"; then
13354 if test "$pre_test_object_deps_done" = no
; then
13357 # Internal compiler library paths should come after those
13358 # provided the user. The postdeps already come after the
13359 # user supplied libs so there is no need to process them.
13360 if test -z "$compiler_lib_search_path_CXX"; then
13361 compiler_lib_search_path_CXX
="${prev}${p}"
13363 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13366 # The "-l" case would never come before the object being
13367 # linked, so don't bother handling this case.
13370 if test -z "$postdeps_CXX"; then
13371 postdeps_CXX
="${prev}${p}"
13373 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13379 # This assumes that the test object file only shows up
13380 # once in the compiler output.
13381 if test "$p" = "conftest.$objext"; then
13382 pre_test_object_deps_done
=yes
13386 if test "$pre_test_object_deps_done" = no
; then
13387 if test -z "$predep_objects_CXX"; then
13388 predep_objects_CXX
="$p"
13390 predep_objects_CXX
="$predep_objects_CXX $p"
13393 if test -z "$postdep_objects_CXX"; then
13394 postdep_objects_CXX
="$p"
13396 postdep_objects_CXX
="$postdep_objects_CXX $p"
13401 *) ;; # Ignore the rest.
13409 echo "libtool.m4: error: problem compiling CXX test program"
13412 $RM -f confest.
$objext
13414 # PORTME: override above test on systems where it is broken
13417 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13418 # hack all around it, let's just trust "g++" to DTRT.
13419 predep_objects_CXX
=
13420 postdep_objects_CXX
=
13425 case `$CC -V 2>&1 | sed 5q` in
13429 # The more standards-conforming stlport4 library is
13430 # incompatible with the Cstd library. Avoid specifying
13431 # it if it's in CXXFLAGS. Ignore libCrun as
13432 # -library=stlport4 depends on it.
13433 case " $CXX $CXXFLAGS " in
13434 *" -library=stlport4 "*)
13435 solaris_use_stlport4
=yes
13439 if test "$solaris_use_stlport4" != yes; then
13440 postdeps_CXX
='-library=Cstd -library=Crun'
13447 case $cc_basename in
13449 # The more standards-conforming stlport4 library is
13450 # incompatible with the Cstd library. Avoid specifying
13451 # it if it's in CXXFLAGS. Ignore libCrun as
13452 # -library=stlport4 depends on it.
13453 case " $CXX $CXXFLAGS " in
13454 *" -library=stlport4 "*)
13455 solaris_use_stlport4
=yes
13459 # Adding this requires a known-good setup of shared libraries for
13460 # Sun compiler versions before 5.6, else PIC objects from an old
13461 # archive will be linked into the output, leading to subtle bugs.
13462 if test "$solaris_use_stlport4" != yes; then
13463 postdeps_CXX
='-library=Cstd -library=Crun'
13471 case " $postdeps_CXX " in
13472 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13474 compiler_lib_search_dirs_CXX
=
13475 if test -n "${compiler_lib_search_path_CXX}"; then
13476 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13509 lt_prog_compiler_wl_CXX
=
13510 lt_prog_compiler_pic_CXX
=
13511 lt_prog_compiler_static_CXX
=
13513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13514 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13516 # C++ specific cases for pic, static, wl, etc.
13517 if test "$GXX" = yes; then
13518 lt_prog_compiler_wl_CXX
='-Wl,'
13519 lt_prog_compiler_static_CXX
='-static'
13523 # All AIX code is PIC.
13524 if test "$host_cpu" = ia64
; then
13525 # AIX 5 now supports IA64 processor
13526 lt_prog_compiler_static_CXX
='-Bstatic'
13528 lt_prog_compiler_pic_CXX
='-fPIC'
13534 # see comment about AmigaOS4 .so support
13535 lt_prog_compiler_pic_CXX
='-fPIC'
13538 # FIXME: we need at least 68020 code to build shared libraries, but
13539 # adding the `-m68020' flag to GCC prevents building anything better,
13541 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13546 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13547 # PIC is the default for these OSes.
13549 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13550 # This hack is so that the source file can tell whether it is being
13551 # built for inclusion in a dll (and should export symbols for example).
13552 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13553 # (--disable-auto-import) libraries
13554 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13556 darwin
* | rhapsody
*)
13557 # PIC is the default on this platform
13558 # Common symbols not allowed in MH_DYLIB files
13559 lt_prog_compiler_pic_CXX
='-fno-common'
13562 # DJGPP does not support shared libraries at all
13563 lt_prog_compiler_pic_CXX
=
13566 # PIC is the default for Haiku.
13567 # The "-static" flag exists, but is broken.
13568 lt_prog_compiler_static_CXX
=
13571 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13572 # Instead, we relocate shared libraries at runtime.
13575 if test -d /usr
/nec
; then
13576 lt_prog_compiler_pic_CXX
=-Kconform_pic
13580 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13581 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13582 # sets the default TLS model and affects inlining.
13587 lt_prog_compiler_pic_CXX
='-fPIC'
13592 # QNX uses GNU C++, but need to define -shared option too, otherwise
13593 # it will coredump.
13594 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13597 lt_prog_compiler_pic_CXX
='-fPIC'
13603 # All AIX code is PIC.
13604 if test "$host_cpu" = ia64
; then
13605 # AIX 5 now supports IA64 processor
13606 lt_prog_compiler_static_CXX
='-Bstatic'
13608 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13612 case $cc_basename in
13614 # Green Hills C++ Compiler
13615 # _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"
13620 case $cc_basename in
13622 lt_prog_compiler_pic_CXX
='-KPIC'
13625 # Green Hills C++ Compiler
13626 lt_prog_compiler_pic_CXX
='-pic'
13632 freebsd
* | dragonfly
*)
13633 # FreeBSD uses GNU C++
13635 hpux9
* | hpux10
* | hpux11
*)
13636 case $cc_basename in
13638 lt_prog_compiler_wl_CXX
='-Wl,'
13639 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13640 if test "$host_cpu" != ia64
; then
13641 lt_prog_compiler_pic_CXX
='+Z'
13645 lt_prog_compiler_wl_CXX
='-Wl,'
13646 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13652 lt_prog_compiler_pic_CXX
='+Z'
13661 # This is c89, which is MS Visual C++ (no shared libs)
13662 # Anyone wants to do a port?
13664 irix5
* | irix6
* | nonstopux
*)
13665 case $cc_basename in
13667 lt_prog_compiler_wl_CXX
='-Wl,'
13668 lt_prog_compiler_static_CXX
='-non_shared'
13669 # CC pic flag -KPIC is the default.
13675 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13676 case $cc_basename in
13679 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13680 lt_prog_compiler_pic_CXX
='-fPIC'
13683 # old Intel C++ for x86_64 which still supported -KPIC.
13684 lt_prog_compiler_wl_CXX
='-Wl,'
13685 lt_prog_compiler_pic_CXX
='-KPIC'
13686 lt_prog_compiler_static_CXX
='-static'
13689 # Intel C++, used to be incompatible with GCC.
13690 # ICC 10 doesn't accept -KPIC any more.
13691 lt_prog_compiler_wl_CXX
='-Wl,'
13692 lt_prog_compiler_pic_CXX
='-fPIC'
13693 lt_prog_compiler_static_CXX
='-static'
13696 # Portland Group C++ compiler
13697 lt_prog_compiler_wl_CXX
='-Wl,'
13698 lt_prog_compiler_pic_CXX
='-fpic'
13699 lt_prog_compiler_static_CXX
='-Bstatic'
13703 # Make sure the PIC flag is empty. It appears that all Alpha
13704 # Linux and Compaq Tru64 Unix objects are PIC.
13705 lt_prog_compiler_pic_CXX
=
13706 lt_prog_compiler_static_CXX
='-non_shared'
13708 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13709 # IBM XL 8.0, 9.0 on PPC and BlueGene
13710 lt_prog_compiler_wl_CXX
='-Wl,'
13711 lt_prog_compiler_pic_CXX
='-qpic'
13712 lt_prog_compiler_static_CXX
='-qstaticlink'
13715 case `$CC -V 2>&1 | sed 5q` in
13718 lt_prog_compiler_pic_CXX
='-KPIC'
13719 lt_prog_compiler_static_CXX
='-Bstatic'
13720 lt_prog_compiler_wl_CXX
='-Qoption ld '
13731 case $cc_basename in
13733 lt_prog_compiler_pic_CXX
='-W c,exportall'
13742 # QNX uses GNU C++, but need to define -shared option too, otherwise
13743 # it will coredump.
13744 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13746 osf3
* | osf4
* | osf5
*)
13747 case $cc_basename in
13749 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13752 # Rational C++ 2.4.1
13753 lt_prog_compiler_pic_CXX
='-pic'
13756 # Digital/Compaq C++
13757 lt_prog_compiler_wl_CXX
='-Wl,'
13758 # Make sure the PIC flag is empty. It appears that all Alpha
13759 # Linux and Compaq Tru64 Unix objects are PIC.
13760 lt_prog_compiler_pic_CXX
=
13761 lt_prog_compiler_static_CXX
='-non_shared'
13770 case $cc_basename in
13772 # Sun C++ 4.2, 5.x and Centerline C++
13773 lt_prog_compiler_pic_CXX
='-KPIC'
13774 lt_prog_compiler_static_CXX
='-Bstatic'
13775 lt_prog_compiler_wl_CXX
='-Qoption ld '
13778 # Green Hills C++ Compiler
13779 lt_prog_compiler_pic_CXX
='-PIC'
13786 case $cc_basename in
13789 lt_prog_compiler_pic_CXX
='-pic'
13790 lt_prog_compiler_static_CXX
='-Bstatic'
13794 lt_prog_compiler_pic_CXX
='-pic'
13800 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13801 case $cc_basename in
13803 lt_prog_compiler_wl_CXX
='-Wl,'
13804 lt_prog_compiler_pic_CXX
='-KPIC'
13805 lt_prog_compiler_static_CXX
='-Bstatic'
13810 case $cc_basename in
13812 # NonStop-UX NCC 3.20
13813 lt_prog_compiler_pic_CXX
='-KPIC'
13822 lt_prog_compiler_can_build_shared_CXX
=no
13828 # For platforms which do not support PIC, -DPIC is meaningless:
13830 lt_prog_compiler_pic_CXX
=
13833 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13837 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13842 # Check to make sure the PIC flag actually works.
13844 if test -n "$lt_prog_compiler_pic_CXX"; then
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13846 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13847 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13848 $as_echo_n "(cached) " >&6
13850 lt_cv_prog_compiler_pic_works_CXX
=no
13851 ac_outfile
=conftest.
$ac_objext
13852 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13853 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13854 # Insert the option either (1) after the last *FLAGS variable, or
13855 # (2) before a word containing "conftest.", or (3) at the end.
13856 # Note that $ac_compile itself does not contain backslashes and begins
13857 # with a dollar sign (not a hyphen), so the echo should work correctly.
13858 # The option is referenced via a variable to avoid confusing sed.
13859 lt_compile
=`echo "$ac_compile" | $SED \
13860 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13861 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13862 -e 's:$: $lt_compiler_flag:'`
13863 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13864 (eval "$lt_compile" 2>conftest.err
)
13866 cat conftest.err
>&5
13867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13868 if (exit $ac_status) && test -s "$ac_outfile"; then
13869 # The compiler can only warn and ignore the option if not recognized
13870 # So say no if there are warnings other than the usual output.
13871 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13872 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13873 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13874 lt_cv_prog_compiler_pic_works_CXX
=yes
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13881 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13883 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13884 case $lt_prog_compiler_pic_CXX in
13886 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13889 lt_prog_compiler_pic_CXX
=
13890 lt_prog_compiler_can_build_shared_CXX
=no
13898 # Check to make sure the static flag actually works.
13900 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13902 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13903 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13904 $as_echo_n "(cached) " >&6
13906 lt_cv_prog_compiler_static_works_CXX
=no
13907 save_LDFLAGS
="$LDFLAGS"
13908 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13909 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13910 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13911 # The linker can only warn and ignore the option if not recognized
13912 # So say no if there are warnings
13913 if test -s conftest.err
; then
13914 # Append any errors to the config.log.
13915 cat conftest.err
1>&5
13916 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13917 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13918 if diff conftest.exp conftest.er2
>/dev
/null
; then
13919 lt_cv_prog_compiler_static_works_CXX
=yes
13922 lt_cv_prog_compiler_static_works_CXX
=yes
13926 LDFLAGS
="$save_LDFLAGS"
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13930 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13932 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13935 lt_prog_compiler_static_CXX
=
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13942 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13943 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13944 $as_echo_n "(cached) " >&6
13946 lt_cv_prog_compiler_c_o_CXX
=no
13947 $RM -r conftest
2>/dev
/null
13951 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13953 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13954 # Insert the option either (1) after the last *FLAGS variable, or
13955 # (2) before a word containing "conftest.", or (3) at the end.
13956 # Note that $ac_compile itself does not contain backslashes and begins
13957 # with a dollar sign (not a hyphen), so the echo should work correctly.
13958 lt_compile
=`echo "$ac_compile" | $SED \
13959 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13960 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13961 -e 's:$: $lt_compiler_flag:'`
13962 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13963 (eval "$lt_compile" 2>out
/conftest.err
)
13965 cat out
/conftest.err
>&5
13966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13967 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13969 # The compiler can only warn and ignore the option if not recognized
13970 # So say no if there are warnings
13971 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13972 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13973 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13974 lt_cv_prog_compiler_c_o_CXX
=yes
13979 # SGI C++ compiler will create directory out/ii_files/ for
13980 # template instantiation
13981 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13982 $RM out
/* && rmdir out
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13989 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13994 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13995 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13996 $as_echo_n "(cached) " >&6
13998 lt_cv_prog_compiler_c_o_CXX
=no
13999 $RM -r conftest
2>/dev
/null
14003 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14005 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14006 # Insert the option either (1) after the last *FLAGS variable, or
14007 # (2) before a word containing "conftest.", or (3) at the end.
14008 # Note that $ac_compile itself does not contain backslashes and begins
14009 # with a dollar sign (not a hyphen), so the echo should work correctly.
14010 lt_compile
=`echo "$ac_compile" | $SED \
14011 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14012 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14013 -e 's:$: $lt_compiler_flag:'`
14014 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14015 (eval "$lt_compile" 2>out
/conftest.err
)
14017 cat out
/conftest.err
>&5
14018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14019 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14021 # The compiler can only warn and ignore the option if not recognized
14022 # So say no if there are warnings
14023 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14024 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14025 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14026 lt_cv_prog_compiler_c_o_CXX
=yes
14031 # SGI C++ compiler will create directory out/ii_files/ for
14032 # template instantiation
14033 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14034 $RM out
/* && rmdir out
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14041 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14046 hard_links
="nottested"
14047 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14048 # do not overwrite the value of need_locks provided by the user
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14050 $as_echo_n "checking if we can lock with hard links... " >&6; }
14053 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14055 ln conftest.a conftest.b
2>&5 || hard_links
=no
14056 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14058 $as_echo "$hard_links" >&6; }
14059 if test "$hard_links" = no
; then
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14061 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14071 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14073 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14076 # If we're using GNU nm, then we don't want the "-C" option.
14077 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14078 # Also, AIX nm treats weak defined symbols like other global defined
14079 # symbols, whereas GNU nm marks them as "W".
14080 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14081 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'
14083 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'
14087 export_symbols_cmds_CXX
="$ltdll_cmds"
14089 cygwin
* | mingw
* | cegcc
*)
14090 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'
14093 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14096 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14099 $as_echo "$ld_shlibs_CXX" >&6; }
14100 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14102 with_gnu_ld_CXX
=$with_gnu_ld
14110 # Do we need to explicitly link libc?
14112 case "x$archive_cmds_need_lc_CXX" in
14114 # Assume -lc should be added
14115 archive_cmds_need_lc_CXX
=yes
14117 if test "$enable_shared" = yes && test "$GCC" = yes; then
14118 case $archive_cmds_CXX in
14120 # FIXME: we may have to deal with multi-command sequences.
14123 # Test whether the compiler implicitly links with -lc since on some
14124 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14125 # to ld, don't add -lc before -lgcc.
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14127 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14128 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14129 $as_echo_n "(cached) " >&6
14132 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14134 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14135 (eval $ac_compile) 2>&5
14137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14138 test $ac_status = 0; } 2>conftest.err
; then
14141 libobjs
=conftest.
$ac_objext
14143 wl
=$lt_prog_compiler_wl_CXX
14144 pic_flag
=$lt_prog_compiler_pic_CXX
14150 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14151 allow_undefined_flag_CXX
=
14152 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14153 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14156 test $ac_status = 0; }
14158 lt_cv_archive_cmds_need_lc_CXX
=no
14160 lt_cv_archive_cmds_need_lc_CXX
=yes
14162 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14164 cat conftest.err
1>&5
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14170 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14171 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14242 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14244 library_names_spec
=
14245 libname_spec
='lib$name'
14249 postuninstall_cmds
=
14253 shlibpath_overrides_runpath
=unknown
14255 dynamic_linker
="$host_os ld.so"
14256 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14257 need_lib_prefix
=unknown
14258 hardcode_into_libs
=no
14260 # when you set need_version to no, make sure it does not cause -set_version
14261 # flags to be left without arguments
14262 need_version
=unknown
14267 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14268 shlibpath_var
=LIBPATH
14270 # AIX 3 has no versioning support, so we append a major version to the name.
14271 soname_spec
='${libname}${release}${shared_ext}$major'
14278 hardcode_into_libs
=yes
14279 if test "$host_cpu" = ia64
; then
14280 # AIX 5 supports IA64
14281 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14282 shlibpath_var
=LD_LIBRARY_PATH
14284 # With GCC up to 2.95.x, collect2 would create an import file
14285 # for dependence libraries. The import file would start with
14286 # the line `#! .'. This would cause the generated library to
14287 # depend on `.', always an invalid library. This was fixed in
14288 # development snapshots of GCC prior to 3.0.
14290 aix4 | aix4.
[01] | aix4.
[01].
*)
14291 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14293 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14296 can_build_shared
=no
14300 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14301 # soname into executable. Probably we can add versioning support to
14302 # collect2, so additional links can be useful in future.
14303 if test "$aix_use_runtimelinking" = yes; then
14304 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14305 # instead of lib<name>.a to let people know that these are not
14306 # typical AIX shared libraries.
14307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14309 # We preserve .a as extension for shared libraries through AIX4.2
14310 # and later when we are not doing run time linking.
14311 library_names_spec
='${libname}${release}.a $libname.a'
14312 soname_spec
='${libname}${release}${shared_ext}$major'
14314 shlibpath_var
=LIBPATH
14321 # Since July 2007 AmigaOS4 officially supports .so libraries.
14322 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14323 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14326 library_names_spec
='$libname.ixlibrary $libname.a'
14327 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14328 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'
14334 library_names_spec
='${libname}${shared_ext}'
14335 dynamic_linker
="$host_os ld.so"
14336 shlibpath_var
=LIBRARY_PATH
14342 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14343 soname_spec
='${libname}${release}${shared_ext}$major'
14344 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14345 shlibpath_var
=LD_LIBRARY_PATH
14346 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14347 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14348 # the default ld.so.conf also contains /usr/contrib/lib and
14349 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14350 # libtool to hard-code these into programs
14353 cygwin
* | mingw
* | pw32
* | cegcc
*)
14354 version_type
=windows
14359 case $GCC,$host_os in
14360 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14361 library_names_spec
='$libname.dll.a'
14362 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14363 postinstall_cmds
='base_file=`basename \${file}`~
14364 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14365 dldir=$destdir/`dirname \$dlpath`~
14366 test -d \$dldir || mkdir -p \$dldir~
14367 $install_prog $dir/$dlname \$dldir/$dlname~
14368 chmod a+x \$dldir/$dlname~
14369 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14370 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14372 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14373 dlpath=$dir/\$dldll~
14375 shlibpath_overrides_runpath
=yes
14379 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14380 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14384 # MinGW DLLs use traditional 'lib' prefix
14385 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14388 # pw32 DLLs use 'pw' prefix rather than 'lib'
14389 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14395 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14398 dynamic_linker
='Win32 ld.exe'
14399 # FIXME: first we should search . and the directory the executable is in
14403 darwin
* | rhapsody
*)
14404 dynamic_linker
="$host_os dyld"
14405 version_type
=darwin
14408 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14409 soname_spec
='${libname}${release}${major}$shared_ext'
14410 shlibpath_overrides_runpath
=yes
14411 shlibpath_var
=DYLD_LIBRARY_PATH
14412 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14414 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14421 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14422 soname_spec
='${libname}${release}${shared_ext}$major'
14423 shlibpath_var
=LD_LIBRARY_PATH
14426 freebsd
* | dragonfly
*)
14427 # DragonFly does not have aout. When/if they implement a new
14428 # versioning mechanism, adjust this.
14429 if test -x /usr
/bin
/objformat
; then
14430 objformat
=`/usr/bin/objformat`
14433 freebsd
[23].
*) objformat
=aout
;;
14434 *) objformat
=elf
;;
14437 version_type
=freebsd-
$objformat
14438 case $version_type in
14440 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14445 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14449 shlibpath_var
=LD_LIBRARY_PATH
14452 shlibpath_overrides_runpath
=yes
14454 freebsd3.
[01]* | freebsdelf3.
[01]*)
14455 shlibpath_overrides_runpath
=yes
14456 hardcode_into_libs
=yes
14458 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14459 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14460 shlibpath_overrides_runpath
=no
14461 hardcode_into_libs
=yes
14463 *) # from 4.6 on, and DragonFly
14464 shlibpath_overrides_runpath
=yes
14465 hardcode_into_libs
=yes
14474 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14475 soname_spec
='${libname}${release}${shared_ext}$major'
14476 shlibpath_var
=LD_LIBRARY_PATH
14477 hardcode_into_libs
=yes
14484 dynamic_linker
="$host_os runtime_loader"
14485 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14486 soname_spec
='${libname}${release}${shared_ext}$major'
14487 shlibpath_var
=LIBRARY_PATH
14488 shlibpath_overrides_runpath
=yes
14489 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14490 hardcode_into_libs
=yes
14493 hpux9
* | hpux10
* | hpux11
*)
14494 # Give a soname corresponding to the major version so that dld.sl refuses to
14495 # link against other versions.
14502 hardcode_into_libs
=yes
14503 dynamic_linker
="$host_os dld.so"
14504 shlibpath_var
=LD_LIBRARY_PATH
14505 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14506 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14507 soname_spec
='${libname}${release}${shared_ext}$major'
14508 if test "X$HPUX_IA64_MODE" = X32
; then
14509 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14511 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14513 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14517 hardcode_into_libs
=yes
14518 dynamic_linker
="$host_os dld.sl"
14519 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14520 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14521 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14522 soname_spec
='${libname}${release}${shared_ext}$major'
14523 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14524 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14528 dynamic_linker
="$host_os dld.sl"
14529 shlibpath_var
=SHLIB_PATH
14530 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
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'
14535 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14536 postinstall_cmds
='chmod 555 $lib'
14537 # or fails outright, so override atomically:
14538 install_override_mode
=555
14545 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14546 soname_spec
='${libname}${release}${shared_ext}$major'
14547 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14548 shlibpath_var
=LD_LIBRARY_PATH
14549 shlibpath_overrides_runpath
=no
14550 hardcode_into_libs
=yes
14553 irix5
* | irix6
* | nonstopux
*)
14555 nonstopux
*) version_type
=nonstopux
;;
14557 if test "$lt_cv_prog_gnu_ld" = yes; then
14565 soname_spec
='${libname}${release}${shared_ext}$major'
14566 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14568 irix5
* | nonstopux
*)
14569 libsuff
= shlibsuff
=
14572 case $LD in # libtool.m4 will add one of these switches to LD
14573 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14574 libsuff
= shlibsuff
= libmagic
=32-bit;;
14575 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14576 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14577 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14578 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14579 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14583 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14584 shlibpath_overrides_runpath
=no
14585 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14586 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14587 hardcode_into_libs
=yes
14590 # No shared lib support for Linux oldld, aout, or coff.
14591 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14595 # This must be Linux ELF.
14596 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14600 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14601 soname_spec
='${libname}${release}${shared_ext}$major'
14602 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14603 shlibpath_var
=LD_LIBRARY_PATH
14604 shlibpath_overrides_runpath
=no
14606 # Some binutils ld are patched to set DT_RUNPATH
14607 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14608 $as_echo_n "(cached) " >&6
14610 lt_cv_shlibpath_overrides_runpath
=no
14611 save_LDFLAGS
=$LDFLAGS
14612 save_libdir
=$libdir
14613 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14614 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14616 /* end confdefs.h. */
14626 if ac_fn_cxx_try_link
"$LINENO"; then :
14627 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14628 lt_cv_shlibpath_overrides_runpath
=yes
14631 rm -f core conftest.err conftest.
$ac_objext \
14632 conftest
$ac_exeext conftest.
$ac_ext
14633 LDFLAGS
=$save_LDFLAGS
14634 libdir
=$save_libdir
14638 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14640 # This implies no fast_install, which is unacceptable.
14641 # Some rework will be needed to allow for fast_install
14642 # before this can be enabled.
14643 hardcode_into_libs
=yes
14645 # Append ld.so.conf contents to the search path
14646 if test -f /etc
/ld.so.conf
; then
14647 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' ' '`
14648 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14651 # We used to test for /lib/ld.so.1 and disable shared libraries on
14652 # powerpc, because MkLinux only supported shared libraries with the
14653 # GNU dynamic linker. Since this was broken with cross compilers,
14654 # most powerpc-linux boxes support dynamic linking these days and
14655 # people can always --disable-shared, the test was removed, and we
14656 # assume the GNU/Linux dynamic linker is in use.
14657 dynamic_linker
='GNU/Linux ld.so'
14664 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14665 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14666 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14667 dynamic_linker
='NetBSD (a.out) ld.so'
14669 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14670 soname_spec
='${libname}${release}${shared_ext}$major'
14671 dynamic_linker
='NetBSD ld.elf_so'
14673 shlibpath_var
=LD_LIBRARY_PATH
14674 shlibpath_overrides_runpath
=yes
14675 hardcode_into_libs
=yes
14680 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14681 shlibpath_var
=LD_LIBRARY_PATH
14682 shlibpath_overrides_runpath
=yes
14689 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14690 soname_spec
='${libname}${release}${shared_ext}$major'
14691 shlibpath_var
=LD_LIBRARY_PATH
14692 shlibpath_overrides_runpath
=no
14693 hardcode_into_libs
=yes
14694 dynamic_linker
='ldqnx.so'
14699 sys_lib_dlsearch_path_spec
="/usr/lib"
14701 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14703 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14704 *) need_version
=no
;;
14706 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14707 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14708 shlibpath_var
=LD_LIBRARY_PATH
14709 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14711 openbsd2.
[89] | openbsd2.
[89].
*)
14712 shlibpath_overrides_runpath
=no
14715 shlibpath_overrides_runpath
=yes
14719 shlibpath_overrides_runpath
=yes
14724 libname_spec
='$name'
14727 library_names_spec
='$libname${shared_ext} $libname.a'
14728 dynamic_linker
='OS/2 ld.exe'
14729 shlibpath_var
=LIBPATH
14732 osf3
* | osf4
* | osf5
*)
14736 soname_spec
='${libname}${release}${shared_ext}$major'
14737 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14738 shlibpath_var
=LD_LIBRARY_PATH
14739 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14740 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14751 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14752 soname_spec
='${libname}${release}${shared_ext}$major'
14753 shlibpath_var
=LD_LIBRARY_PATH
14754 shlibpath_overrides_runpath
=yes
14755 hardcode_into_libs
=yes
14756 # ldd complains unless libraries are executable
14757 postinstall_cmds
='chmod +x $lib'
14762 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14763 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14764 shlibpath_var
=LD_LIBRARY_PATH
14765 shlibpath_overrides_runpath
=yes
14766 if test "$with_gnu_ld" = yes; then
14774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14775 soname_spec
='${libname}${release}${shared_ext}$major'
14776 shlibpath_var
=LD_LIBRARY_PATH
14777 case $host_vendor in
14779 shlibpath_overrides_runpath
=no
14781 runpath_var
=LD_RUN_PATH
14789 shlibpath_overrides_runpath
=no
14790 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14796 if test -d /usr
/nec
;then
14798 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14799 soname_spec
='$libname${shared_ext}.$major'
14800 shlibpath_var
=LD_LIBRARY_PATH
14804 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14805 version_type
=freebsd-elf
14808 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14809 soname_spec
='${libname}${release}${shared_ext}$major'
14810 shlibpath_var
=LD_LIBRARY_PATH
14811 shlibpath_overrides_runpath
=yes
14812 hardcode_into_libs
=yes
14813 if test "$with_gnu_ld" = yes; then
14814 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14816 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14819 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14823 sys_lib_dlsearch_path_spec
='/usr/lib'
14827 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14831 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14832 shlibpath_var
=LD_LIBRARY_PATH
14833 shlibpath_overrides_runpath
=no
14834 hardcode_into_libs
=yes
14839 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14840 soname_spec
='${libname}${release}${shared_ext}$major'
14841 shlibpath_var
=LD_LIBRARY_PATH
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14849 $as_echo "$dynamic_linker" >&6; }
14850 test "$dynamic_linker" = no
&& can_build_shared
=no
14852 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14853 if test "$GCC" = yes; then
14854 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14857 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14858 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14860 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14861 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14902 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14903 hardcode_action_CXX
=
14904 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14905 test -n "$runpath_var_CXX" ||
14906 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14908 # We can hardcode non-existent directories.
14909 if test "$hardcode_direct_CXX" != no
&&
14910 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14911 # have to relink, otherwise we might link with an installed library
14912 # when we should be linking with a yet-to-be-installed one
14913 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14914 test "$hardcode_minus_L_CXX" != no
; then
14915 # Linking always hardcodes the temporary library directory.
14916 hardcode_action_CXX
=relink
14918 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14919 hardcode_action_CXX
=immediate
14922 # We cannot hardcode anything, or else we can only hardcode existing
14924 hardcode_action_CXX
=unsupported
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14927 $as_echo "$hardcode_action_CXX" >&6; }
14929 if test "$hardcode_action_CXX" = relink ||
14930 test "$inherit_rpath_CXX" = yes; then
14931 # Fast installation is not supported
14932 enable_fast_install
=no
14933 elif test "$shlibpath_overrides_runpath" = yes ||
14934 test "$enable_shared" = no
; then
14935 # Fast installation is not necessary
14936 enable_fast_install
=needless
14945 fi # test -n "$compiler"
14951 with_gnu_ld
=$lt_save_with_gnu_ld
14952 lt_cv_path_LDCXX
=$lt_cv_path_LD
14953 lt_cv_path_LD
=$lt_save_path_LD
14954 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14955 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14956 fi # test "$_lt_caught_CXX_error" != yes
14959 ac_cpp
='$CPP $CPPFLAGS'
14960 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14961 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14962 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14976 ac_config_commands
="$ac_config_commands libtool"
14981 # Only expand once:
14987 XCFLAGS
="-Wall -Wextra"
14990 if test "${multilib}" = "yes"; then
14991 multilib_arg
="--enable-multilib"
14996 ac_config_files
="$ac_config_files Makefile libmpx.spec"
14998 ac_config_headers
="$ac_config_headers config.h"
15000 ac_config_files
="$ac_config_files mpxrt/Makefile"
15003 cat >confcache
<<\_ACEOF
15004 # This file is a shell script that caches the results of configure
15005 # tests run on this system so they can be shared between configure
15006 # scripts and configure runs, see configure's option --config-cache.
15007 # It is not useful on other systems. If it contains results you don't
15008 # want to keep, you may remove or edit it.
15010 # config.status only pays attention to the cache file if you give it
15011 # the --recheck option to rerun configure.
15013 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15014 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15015 # following values.
15019 # The following way of writing the cache mishandles newlines in values,
15020 # but we know of no workaround that is simple, portable, and efficient.
15021 # So, we kill variables containing newlines.
15022 # Ultrix sh set writes to stderr and can't be redirected directly,
15023 # and sets the high bit in the cache file unless we assign to the vars.
15025 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15026 eval ac_val
=\$
$ac_var
15030 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15031 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15034 _ | IFS | as_nl
) ;; #(
15035 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15036 *) { eval $ac_var=; unset $ac_var;} ;;
15042 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15043 *${as_nl}ac_space
=\
*)
15044 # `set' does not quote correctly, so add quotes: double-quote
15045 # substitution turns \\\\ into \\, and sed turns \\ into \.
15048 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15051 # `set' quotes correctly as required by POSIX, so do not add quotes.
15052 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15061 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15063 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15065 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15066 if test -w "$cache_file"; then
15067 test "x$cache_file" != "x/dev/null" &&
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15069 $as_echo "$as_me: updating cache $cache_file" >&6;}
15070 cat confcache
>$cache_file
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15073 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15078 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15079 # Let make expand exec_prefix.
15080 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15082 DEFS
=-DHAVE_CONFIG_H
15086 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15087 # 1. Remove the extension, and $U if already installed.
15088 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15089 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15090 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15091 # will be set to the directory where LIBOBJS objects are built.
15092 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15093 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15095 LIBOBJS
=$ac_libobjs
15097 LTLIBOBJS
=$ac_ltlibobjs
15100 if test -z "${LIBMPX_SUPPORTED_TRUE}" && test -z "${LIBMPX_SUPPORTED_FALSE}"; then
15101 as_fn_error
"conditional \"LIBMPX_SUPPORTED\" was never defined.
15102 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15104 if test -n "$EXEEXT"; then
15106 am__EXEEXT_FALSE
='#'
15108 am__EXEEXT_TRUE
='#'
15112 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15113 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
15114 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15117 : ${CONFIG_STATUS=./config.status}
15119 ac_clean_files_save
=$ac_clean_files
15120 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15122 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15124 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15126 # Generated by $as_me.
15127 # Run this file to recreate the current configuration.
15128 # Compiler output produced by configure, useful for debugging
15129 # configure, is in config.log if it exists.
15132 ac_cs_recheck=false
15135 SHELL=\${CONFIG_SHELL-$SHELL}
15138 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15139 ## -------------------- ##
15140 ## M4sh Initialization. ##
15141 ## -------------------- ##
15143 # Be more Bourne compatible
15144 DUALCASE
=1; export DUALCASE
# for MKS sh
15145 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15148 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15149 # is contrary to our usage. Disable this feature.
15150 alias -g '${1+"$@"}'='"$@"'
15151 setopt NO_GLOB_SUBST
15153 case `(set -o) 2>/dev/null` in #(
15165 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15166 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15167 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15168 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15169 # Prefer a ksh shell builtin over an external printf program on Solaris,
15170 # but without wasting forks for bash or zsh.
15171 if test -z "$BASH_VERSION$ZSH_VERSION" \
15172 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15173 as_echo='print
-r --'
15174 as_echo_n='print
-rn --'
15175 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15176 as_echo='printf %s
\n'
15177 as_echo_n='printf %s
'
15179 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15180 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15181 as_echo_n='/usr
/ucb
/echo -n'
15183 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15184 as_echo_n_body='eval
15188 expr "X$arg" : "X\\(.*\\)$as_nl";
15189 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15191 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15193 export as_echo_n_body
15194 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15196 export as_echo_body
15197 as_echo='sh
-c $as_echo_body as_echo
'
15200 # The user is always right.
15201 if test "${PATH_SEPARATOR+set}" != set; then
15203 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15204 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15211 # We need space, tab and new line, in precisely that order. Quoting is
15212 # there to prevent editors from complaining about space-tab.
15213 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15214 # splitting by setting IFS to empty value.)
15217 # Find who we are. Look in the path if we contain no directory separator.
15219 *[\\/]* ) as_myself=$0 ;;
15220 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15221 for as_dir in $PATH
15224 test -z "$as_dir" && as_dir=.
15225 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15231 # We did not find ourselves, most probably we were run as `sh COMMAND'
15232 # in which case we are not to be found in the path.
15233 if test "x$as_myself" = x
; then
15236 if test ! -f "$as_myself"; then
15237 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15241 # Unset variables that we do not need and which cause bugs (e.g. in
15242 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15243 # suppresses any "Segmentation fault" message there. '((' could
15244 # trigger a bug in pdksh 5.2.14.
15245 for as_var
in BASH_ENV ENV MAIL MAILPATH
15246 do eval test x\
${$as_var+set} = xset \
15247 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15260 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15263 # as_fn_error ERROR [LINENO LOG_FD]
15264 # ---------------------------------
15265 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15266 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15267 # script with status $?, using 1 if that was 0.
15270 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15272 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15273 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15275 $as_echo "$as_me: error: $1" >&2
15276 as_fn_exit
$as_status
15280 # as_fn_set_status STATUS
15281 # -----------------------
15282 # Set $? to STATUS, without forking.
15283 as_fn_set_status
()
15286 } # as_fn_set_status
15288 # as_fn_exit STATUS
15289 # -----------------
15290 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15294 as_fn_set_status
$1
15300 # Portably unset VAR.
15303 { eval $1=; unset $1;}
15305 as_unset
=as_fn_unset
15306 # as_fn_append VAR VALUE
15307 # ----------------------
15308 # Append the text in VALUE to the end of the definition contained in VAR. Take
15309 # advantage of any shell optimizations that allow amortized linear growth over
15310 # repeated appends, instead of the typical quadratic growth present in naive
15312 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15313 eval 'as_fn_append ()
15324 # as_fn_arith ARG...
15325 # ------------------
15326 # Perform arithmetic evaluation on the ARGs, and store the result in the
15327 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15328 # must be portable across $(()) and expr.
15329 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15330 eval 'as_fn_arith ()
15337 as_val
=`expr "$@" || test $? -eq 1`
15342 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15343 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15349 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15350 as_basename
=basename
15355 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15361 as_me
=`$as_basename -- "$0" ||
15362 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15363 X"$0" : 'X\(//\)$' \| \
15364 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15366 sed '/^.*\/\([^/][^/]*\)\/*$/{
15380 # Avoid depending upon Character Ranges.
15381 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15382 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15383 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15384 as_cr_digits
='0123456789'
15385 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15387 ECHO_C
= ECHO_N
= ECHO_T
=
15388 case `echo -n x` in #(((((
15390 case `echo 'xy\c'` in
15391 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15393 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15400 rm -f conf$$ conf$$.exe conf$$.
file
15401 if test -d conf$$.dir
; then
15402 rm -f conf$$.dir
/conf$$.
file
15405 mkdir conf$$.dir
2>/dev
/null
15407 if (echo >conf$$.
file) 2>/dev
/null
; then
15408 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15410 # ... but there are two gotchas:
15411 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15412 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15413 # In both cases, we have to default to `cp -p'.
15414 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15416 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15424 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15425 rmdir conf$$.dir
2>/dev
/null
15430 # Create "$as_dir" as a directory, including parents if necessary.
15435 -*) as_dir
=.
/$as_dir;;
15437 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15441 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15442 *) as_qdir
=$as_dir;;
15444 as_dirs
="'$as_qdir' $as_dirs"
15445 as_dir
=`$as_dirname -- "$as_dir" ||
15446 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15447 X"$as_dir" : 'X\(//\)[^/]' \| \
15448 X"$as_dir" : 'X\(//\)$' \| \
15449 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15450 $as_echo X"$as_dir" |
15451 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15455 /^X\(\/\/\)[^/].*/{
15468 test -d "$as_dir" && break
15470 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15471 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15475 if mkdir
-p .
2>/dev
/null
; then
15476 as_mkdir_p
='mkdir -p "$as_dir"'
15478 test -d .
/-p && rmdir .
/-p
15482 if test -x / >/dev
/null
2>&1; then
15483 as_test_x
='test -x'
15485 if ls -dL / >/dev
/null
2>&1; then
15492 if test -d "$1"; then
15498 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15499 ???[sx]*):;;*)false;;esac;fi
15503 as_executable_p
=$as_test_x
15505 # Sed expression to map a string onto a valid CPP name.
15506 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15508 # Sed expression to map a string onto a valid variable name.
15509 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15513 ## ----------------------------------- ##
15514 ## Main body of $CONFIG_STATUS script. ##
15515 ## ----------------------------------- ##
15517 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15519 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15520 # Save the log message, to keep $0 and so on meaningful, and to
15521 # report actual input values of CONFIG_FILES etc. instead of their
15522 # values after options handling.
15524 This file was extended by package-unused $as_me version-unused, which was
15525 generated by GNU Autoconf 2.64. Invocation command line was
15527 CONFIG_FILES = $CONFIG_FILES
15528 CONFIG_HEADERS = $CONFIG_HEADERS
15529 CONFIG_LINKS = $CONFIG_LINKS
15530 CONFIG_COMMANDS = $CONFIG_COMMANDS
15533 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15538 case $ac_config_files in *"
15539 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15542 case $ac_config_headers in *"
15543 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15547 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15548 # Files that config.status was made for.
15549 config_files="$ac_config_files"
15550 config_headers="$ac_config_headers"
15551 config_commands="$ac_config_commands"
15555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15557 \`$as_me' instantiates files and other configuration actions
15558 from templates according to the current configuration. Unless the files
15559 and actions are specified as TAGs, all are instantiated by default.
15561 Usage: $0 [OPTION]... [TAG]...
15563 -h, --help print this help, then exit
15564 -V, --version print version number and configuration settings, then exit
15565 -q, --quiet, --silent
15566 do not print progress messages
15567 -d, --debug don't remove temporary files
15568 --recheck update $as_me by reconfiguring in the same conditions
15569 --file=FILE[:TEMPLATE]
15570 instantiate the configuration file FILE
15571 --header=FILE[:TEMPLATE]
15572 instantiate the configuration header FILE
15574 Configuration files:
15577 Configuration headers:
15580 Configuration commands:
15583 Report bugs to <libmpx>."
15586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15588 package-unused config.status version-unused
15589 configured by $0, generated by GNU Autoconf 2.64,
15590 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15592 Copyright (C) 2009 Free Software Foundation, Inc.
15593 This config.status script is free software; the Free Software Foundation
15594 gives unlimited permission to copy, distribute and modify it."
15601 test -n "\$AWK" || AWK=awk
15604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15605 # The default lists apply if the user does not specify any file.
15611 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15612 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15623 # Handling of the options.
15624 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15626 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15627 $as_echo "$ac_cs_version"; exit ;;
15628 --debug |
--debu |
--deb |
--de |
--d |
-d )
15630 --file |
--fil |
--fi |
--f )
15633 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15635 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15636 ac_need_defaults
=false
;;
15637 --header |
--heade |
--head |
--hea )
15640 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15642 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15643 ac_need_defaults
=false
;;
15645 # Conflict between --help and --header
15646 as_fn_error
"ambiguous option: \`$1'
15647 Try \`$0 --help' for more information.";;
15648 --help |
--hel |
-h )
15649 $as_echo "$ac_cs_usage"; exit ;;
15650 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15651 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15654 # This is an error.
15655 -*) as_fn_error
"unrecognized option: \`$1'
15656 Try \`$0 --help' for more information." ;;
15658 *) as_fn_append ac_config_targets
" $1"
15659 ac_need_defaults
=false
;;
15665 ac_configure_extra_args
=
15667 if $ac_cs_silent; then
15669 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15673 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15674 if \$ac_cs_recheck; then
15675 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15677 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15678 CONFIG_SHELL='$SHELL'
15679 export CONFIG_SHELL
15684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15688 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15689 ## Running $as_me. ##
15695 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15703 with_multisubdir="$with_multisubdir"
15704 with_multisrctop="$with_multisrctop"
15705 with_target_subdir="$with_target_subdir"
15706 ac_configure_args="${multilib_arg} ${ac_configure_args}"
15707 multi_basedir="$multi_basedir"
15708 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
15711 GFORTRAN="$GFORTRAN"
15715 # The HP-UX ksh and POSIX shell print the target directory to stdout
15716 # if CDPATH is set.
15717 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15719 sed_quote_subst='$sed_quote_subst'
15720 double_quote_subst='$double_quote_subst'
15721 delay_variable_subst='$delay_variable_subst'
15722 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15723 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15724 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15725 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15726 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15727 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15728 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15729 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15730 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15731 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15732 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15733 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15734 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15735 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15736 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15737 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15738 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15739 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15740 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15741 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15742 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15743 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15744 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15745 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15746 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15747 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15748 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15749 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15750 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15751 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15752 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15753 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15754 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15755 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15756 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15757 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15758 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15759 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15760 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15761 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15762 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15763 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15764 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15765 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15766 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15767 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15768 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15769 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15770 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"`'
15771 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15772 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15773 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15774 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15775 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15776 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15777 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15778 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15779 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15780 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15781 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15782 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15783 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15784 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15785 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15786 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15787 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15788 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15789 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15790 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15791 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15792 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15793 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15794 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15795 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15796 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15797 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15798 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15799 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15800 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15801 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15802 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15803 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15804 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15805 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15806 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15807 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15808 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15809 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15810 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15811 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15812 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15813 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15814 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15815 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15816 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15817 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15818 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15819 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15820 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15821 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15822 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15823 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15824 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15825 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15826 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15827 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15828 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15829 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15830 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15831 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15832 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15833 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15834 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15835 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15836 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15837 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15838 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15839 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15840 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15841 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15842 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
15843 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
15844 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
15845 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
15846 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
15847 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
15848 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
15849 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
15850 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15851 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15852 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
15853 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
15854 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
15855 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
15856 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
15857 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
15858 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
15859 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
15860 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
15861 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15862 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15863 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
15864 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15865 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15866 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15867 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15868 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15869 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15870 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
15871 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15872 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15873 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15874 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
15875 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
15876 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
15877 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
15878 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
15879 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
15880 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
15881 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
15882 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
15883 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
15884 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
15885 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15886 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15887 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15888 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15889 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
15890 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
15891 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
15892 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15893 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15894 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
15895 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
15896 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
15899 LTCFLAGS='$LTCFLAGS'
15900 compiler='$compiler_DEFAULT'
15902 # A function that is used when there is no print builtin or printf.
15903 func_fallback_echo ()
15905 eval 'cat <<_LTECHO_EOF
15910 # Quote evaled strings.
15924 deplibs_check_method \
15933 lt_cv_sys_global_symbol_pipe \
15934 lt_cv_sys_global_symbol_to_cdecl \
15935 lt_cv_sys_global_symbol_to_c_name_address \
15936 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15937 lt_prog_compiler_no_builtin_flag \
15938 lt_prog_compiler_wl \
15939 lt_prog_compiler_pic \
15940 lt_prog_compiler_static \
15941 lt_cv_prog_compiler_c_o \
15949 export_dynamic_flag_spec \
15950 whole_archive_flag_spec \
15951 compiler_needs_object \
15953 allow_undefined_flag \
15954 no_undefined_flag \
15955 hardcode_libdir_flag_spec \
15956 hardcode_libdir_flag_spec_ld \
15957 hardcode_libdir_separator \
15962 variables_saved_for_relink \
15964 library_names_spec \
15966 install_override_mode \
15970 compiler_lib_search_dirs \
15975 compiler_lib_search_path \
15979 lt_prog_compiler_no_builtin_flag_CXX \
15980 lt_prog_compiler_wl_CXX \
15981 lt_prog_compiler_pic_CXX \
15982 lt_prog_compiler_static_CXX \
15983 lt_cv_prog_compiler_c_o_CXX \
15984 export_dynamic_flag_spec_CXX \
15985 whole_archive_flag_spec_CXX \
15986 compiler_needs_object_CXX \
15988 allow_undefined_flag_CXX \
15989 no_undefined_flag_CXX \
15990 hardcode_libdir_flag_spec_CXX \
15991 hardcode_libdir_flag_spec_ld_CXX \
15992 hardcode_libdir_separator_CXX \
15993 fix_srcfile_path_CXX \
15994 exclude_expsyms_CXX \
15995 include_expsyms_CXX \
15996 file_list_spec_CXX \
15997 compiler_lib_search_dirs_CXX \
15998 predep_objects_CXX \
15999 postdep_objects_CXX \
16002 compiler_lib_search_path_CXX; do
16003 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16004 *[\\\\\\\`\\"\\\$]*)
16005 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16008 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16013 # Double-quote double-evaled strings.
16014 for var in reload_cmds \
16015 old_postinstall_cmds \
16016 old_postuninstall_cmds \
16018 extract_expsyms_cmds \
16019 old_archive_from_new_cmds \
16020 old_archive_from_expsyms_cmds \
16022 archive_expsym_cmds \
16024 module_expsym_cmds \
16025 export_symbols_cmds \
16028 postuninstall_cmds \
16030 sys_lib_search_path_spec \
16031 sys_lib_dlsearch_path_spec \
16033 old_archive_cmds_CXX \
16034 old_archive_from_new_cmds_CXX \
16035 old_archive_from_expsyms_cmds_CXX \
16037 archive_expsym_cmds_CXX \
16039 module_expsym_cmds_CXX \
16040 export_symbols_cmds_CXX \
16041 prelink_cmds_CXX; do
16042 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16043 *[\\\\\\\`\\"\\\$]*)
16044 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16047 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16052 ac_aux_dir='$ac_aux_dir'
16053 xsi_shell='$xsi_shell'
16054 lt_shell_append='$lt_shell_append'
16056 # See if we are running on zsh, and set the options which allow our
16057 # commands through without removal of \ escapes INIT.
16058 if test -n "\${ZSH_VERSION+set}" ; then
16059 setopt NO_GLOB_SUBST
16065 TIMESTAMP='$TIMESTAMP'
16076 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16078 # Handling of arguments.
16079 for ac_config_target
in $ac_config_targets
16081 case $ac_config_target in
16082 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16083 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16084 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16085 "libmpx.spec") CONFIG_FILES
="$CONFIG_FILES libmpx.spec" ;;
16086 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
16087 "mpxrt/Makefile") CONFIG_FILES
="$CONFIG_FILES mpxrt/Makefile" ;;
16089 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16094 # If the user did not use the arguments to specify the items to instantiate,
16095 # then the envvar interface is used. Set only those that are not.
16096 # We use the long form for the default assignment because of an extremely
16097 # bizarre bug on SunOS 4.1.3.
16098 if $ac_need_defaults; then
16099 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16100 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16101 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16104 # Have a temporary directory for convenience. Make it in the build tree
16105 # simply because there is no reason against having it here, and in addition,
16106 # creating and moving files from /tmp can sometimes cause problems.
16107 # Hook for its removal unless debugging.
16108 # Note that there is a small window in which the directory will not be cleaned:
16109 # after its creation but before its name has been assigned to `$tmp'.
16113 trap 'exit_status=$?
16114 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16116 trap 'as_fn_exit 1' 1 2 13 15
16118 # Create a (secure) tmp directory for tmp files.
16121 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16122 test -n "$tmp" && test -d "$tmp"
16125 tmp
=.
/conf$$
-$RANDOM
16126 (umask 077 && mkdir
"$tmp")
16127 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
16129 # Set up the scripts for CONFIG_FILES section.
16130 # No need to generate them if there are no CONFIG_FILES.
16131 # This happens for instance with `./config.status config.h'.
16132 if test -n "$CONFIG_FILES"; then
16135 ac_cr
=`echo X | tr X '\015'`
16136 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16137 # But we know of no other shell where ac_cr would be empty at this
16138 # point, so we can use a bashism as a fallback.
16139 if test "x$ac_cr" = x
; then
16140 eval ac_cr
=\$
\'\\r
\'
16142 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16143 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16146 ac_cs_awk_cr
=$ac_cr
16149 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16154 echo "cat >conf$$subs.awk <<_ACEOF" &&
16155 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16157 } >conf$$subs.sh ||
16158 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16159 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16161 for ac_last_try in false false false false false :; do
16162 . ./conf$$subs.sh ||
16163 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16165 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16166 if test $ac_delim_n = $ac_delim_num; then
16168 elif $ac_last_try; then
16169 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16171 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16174 rm -f conf$$subs.sh
16176 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16177 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16181 s/^/S["/; s
/!.
*/"]=/
16191 s/\(.\{148\}\).*/\1/
16193 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16198 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16205 s/\(.\{148\}\).*/\1/
16207 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16211 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16216 ' <conf$$subs.awk | sed '
16221 ' >>$CONFIG_STATUS || ac_write_fail=1
16222 rm -f conf$$subs.awk
16223 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16225 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16226 for (key in S) S_is_set[key] = 1
16232 nfields = split(line, field, "@
")
16234 len = length(field[1])
16235 for (i = 2; i < nfields; i++) {
16237 keylen = length(key)
16238 if (S_is_set[key]) {
16240 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16241 len += length(value) + length(field[++i])
16252 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16253 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16254 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16257 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16258 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
16261 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16262 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16263 # trailing colons and then remove the whole line if VPATH becomes empty
16264 # (actually we leave an empty line to preserve line numbers).
16265 if test "x
$srcdir" = x.; then
16266 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16267 s/:*\$(srcdir):*/:/
16268 s/:*\${srcdir}:*/:/
16270 s/^\([^=]*=[ ]*\):*/\1/
16276 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16277 fi # test -n "$CONFIG_FILES"
16279 # Set up the scripts for CONFIG_HEADERS section.
16280 # No need to generate them if there are no CONFIG_HEADERS.
16281 # This happens for instance with `./config.status Makefile'.
16282 if test -n "$CONFIG_HEADERS"; then
16283 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16287 # Transform confdefs.h into an awk script `defines.awk', embedded as
16288 # here-document in config.status, that substitutes the proper values into
16289 # config.h.in to produce config.h.
16291 # Create a delimiter string that does not exist in confdefs.h, to ease
16292 # handling of long lines.
16294 for ac_last_try in false false :; do
16295 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16296 if test -z "$ac_t"; then
16298 elif $ac_last_try; then
16299 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
16301 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16305 # For the awk script, D is an array of macro values keyed by name,
16306 # likewise P contains macro parameters if any. Preserve backslash
16307 # newline sequences.
16309 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16311 s/.\{148\}/&'"$ac_delim"'/g
16314 s/^[ ]*#[ ]*define[ ][ ]*/ /
16321 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16323 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16327 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16328 D["\
1"]=" \
3\\\\\\n
"\\/p
16330 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16335 s/.\{148\}/&'"$ac_delim"'/g
16340 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16343 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16345 ' <confdefs.h | sed '
16346 s/'"$ac_delim"'/"\\\
16347 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16349 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16350 for (key in D) D_is_set[key] = 1
16353 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16355 split(line, arg, " ")
16356 if (arg[1] == "#") {
16360 defundef
= substr
(arg
[1], 2)
16363 split(mac1
, mac2
, "(") #)
16365 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16366 if (D_is_set
[macro
]) {
16367 # Preserve the white space surrounding the "#".
16368 print prefix
"define", macro P
[macro
] D
[macro
]
16371 # Replace #undef with comments. This is necessary, for example,
16372 # in the case of _POSIX_SOURCE, which is predefined and required
16373 # on some systems where configure will not decide to define it.
16374 if (defundef
== "undef") {
16375 print
"/*", prefix defundef
, macro
, "*/"
16383 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16384 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
16385 fi # test -n "$CONFIG_HEADERS"
16388 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16393 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16395 case $ac_mode$ac_tag in
16397 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16398 :[FH
]-) ac_tag
=-:-;;
16399 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16416 -) ac_f
="$tmp/stdin";;
16417 *) # Look for the file first in the build tree, then in the source tree
16418 # (if the path is not absolute). The absolute path cannot be DOS-style,
16419 # because $ac_f cannot contain `:'.
16423 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16425 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
16427 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16428 as_fn_append ac_file_inputs
" '$ac_f'"
16431 # Let's still pretend it is `configure' which instantiates (i.e., don't
16432 # use $as_me), people would be surprised to read:
16433 # /* config.h. Generated by config.status. */
16434 configure_input
='Generated from '`
16435 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16437 if test x
"$ac_file" != x-
; then
16438 configure_input
="$ac_file. $configure_input"
16439 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16440 $as_echo "$as_me: creating $ac_file" >&6;}
16442 # Neutralize special characters interpreted by sed in replacement strings.
16443 case $configure_input in #(
16444 *\
&* |
*\|
* |
*\\* )
16445 ac_sed_conf_input
=`$as_echo "$configure_input" |
16446 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16447 *) ac_sed_conf_input
=$configure_input;;
16451 *:-:* |
*:-) cat >"$tmp/stdin" \
16452 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
16457 ac_dir
=`$as_dirname -- "$ac_file" ||
16458 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16459 X"$ac_file" : 'X\(//\)[^/]' \| \
16460 X"$ac_file" : 'X\(//\)$' \| \
16461 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16462 $as_echo X"$ac_file" |
16463 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16467 /^X\(\/\/\)[^/].*/{
16480 as_dir
="$ac_dir"; as_fn_mkdir_p
16484 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16486 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16487 # A ".." for each directory in $ac_dir_suffix.
16488 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16489 case $ac_top_builddir_sub in
16490 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16491 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16494 ac_abs_top_builddir
=$ac_pwd
16495 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16496 # for backward compatibility:
16497 ac_top_builddir
=$ac_top_build_prefix
16500 .
) # We are building in place.
16502 ac_top_srcdir
=$ac_top_builddir_sub
16503 ac_abs_top_srcdir
=$ac_pwd ;;
16504 [\\/]* | ?
:[\\/]* ) # Absolute name.
16505 ac_srcdir
=$srcdir$ac_dir_suffix;
16506 ac_top_srcdir
=$srcdir
16507 ac_abs_top_srcdir
=$srcdir ;;
16508 *) # Relative name.
16509 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16510 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16511 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16513 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16523 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16524 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16526 ac_MKDIR_P
=$MKDIR_P
16528 [\\/$
]* | ?
:[\\/]* ) ;;
16529 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16534 # If the template does not know about datarootdir, expand it.
16535 # FIXME: This hack should be removed a few years after 2.60.
16536 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16547 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16548 *datarootdir
*) ac_datarootdir_seen
=yes;;
16549 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16551 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16553 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16554 ac_datarootdir_hack='
16555 s&@datadir@&$datadir&g
16556 s&@docdir@&$docdir&g
16557 s&@infodir@&$infodir&g
16558 s&@localedir@&$localedir&g
16559 s&@mandir@&$mandir&g
16560 s&\\\${datarootdir}&$datarootdir&g' ;;
16564 # Neutralize VPATH when `$srcdir' = `.'.
16565 # Shell code in configure.ac might set extrasub.
16566 # FIXME: do we really want to maintain this feature?
16567 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16568 ac_sed_extra="$ac_vpsub
16571 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16573 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16574 s|@configure_input@|
$ac_sed_conf_input|
;t t
16575 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16576 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16577 s
&@srcdir@
&$ac_srcdir&;t t
16578 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16579 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16580 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16581 s
&@builddir@
&$ac_builddir&;t t
16582 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16583 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16584 s
&@INSTALL@
&$ac_INSTALL&;t t
16585 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16586 $ac_datarootdir_hack
16588 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16589 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16591 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16592 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16593 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16595 which seems to be undefined. Please make sure it is defined." >&5
16596 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16597 which seems to be undefined. Please make sure it is defined." >&2;}
16601 -) cat "$tmp/out" && rm -f "$tmp/out";;
16602 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16604 || as_fn_error "could not create $ac_file" "$LINENO" 5
16610 if test x"$ac_file" != x-; then
16612 $as_echo "/* $configure_input */" \
16613 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16614 } >"$tmp/config.h" \
16615 || as_fn_error "could not create $ac_file" "$LINENO" 5
16616 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16617 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16618 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16621 mv "$tmp/config.h" "$ac_file" \
16622 || as_fn_error "could not create $ac_file" "$LINENO" 5
16625 $as_echo "/* $configure_input */" \
16626 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16627 || as_fn_error "could not create -" "$LINENO" 5
16629 # Compute "$ac_file"'s index
in $config_headers.
16632 for _am_header
in $config_headers :; do
16633 case $_am_header in
16634 $_am_arg |
$_am_arg:* )
16637 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16640 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16641 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16642 X"$_am_arg" : 'X\(//\)[^/]' \| \
16643 X"$_am_arg" : 'X\(//\)$' \| \
16644 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16645 $as_echo X"$_am_arg" |
16646 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16650 /^X\(\/\/\)[^/].*/{
16662 s/.*/./; q'`/stamp-h
$_am_stamp_count
16665 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16666 $as_echo "$as_me: executing $ac_file commands" >&6;}
16671 case $ac_file$ac_mode in
16673 # Only add multilib support code if we just rebuilt the top-level
16675 case " $CONFIG_FILES " in
16677 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
16682 # See if we are running on zsh, and set the options which allow our
16683 # commands through without removal of \ escapes.
16684 if test -n "${ZSH_VERSION+set}" ; then
16685 setopt NO_GLOB_SUBST
16688 cfgfile
="${ofile}T"
16689 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16692 cat <<_LT_EOF >> "$cfgfile"
16695 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16696 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16697 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16698 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16700 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16701 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16702 # Written by Gordon Matzigkeit, 1996
16704 # This file is part of GNU Libtool.
16706 # GNU Libtool is free software; you can redistribute it and/or
16707 # modify it under the terms of the GNU General Public License as
16708 # published by the Free Software Foundation; either version 2 of
16709 # the License, or (at your option) any later version.
16711 # As a special exception to the GNU General Public License,
16712 # if you distribute this file as part of a program or library that
16713 # is built using GNU Libtool, you may include this file under the
16714 # same distribution terms that you use for the rest of that program.
16716 # GNU Libtool is distributed in the hope that it will be useful,
16717 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16718 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16719 # GNU General Public License for more details.
16721 # You should have received a copy of the GNU General Public License
16722 # along with GNU Libtool; see the file COPYING. If not, a copy
16723 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16724 # obtained by writing to the Free Software Foundation, Inc.,
16725 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16728 # The names of the tagged configurations supported by this script.
16729 available_tags="CXX "
16731 # ### BEGIN LIBTOOL CONFIG
16733 # Which release of libtool.m4 was used?
16734 macro_version=$macro_version
16735 macro_revision=$macro_revision
16737 # Whether or not to build shared libraries.
16738 build_libtool_libs=$enable_shared
16740 # Whether or not to build static libraries.
16741 build_old_libs=$enable_static
16743 # What type of objects to build.
16746 # Whether or not to optimize for fast installation.
16747 fast_install=$enable_fast_install
16749 # Shell to use when invoking shell scripts.
16752 # An echo program that protects backslashes.
16756 host_alias=$host_alias
16760 # The build system.
16761 build_alias=$build_alias
16765 # A sed program that does not truncate output.
16768 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16769 Xsed="\$SED -e 1s/^X//"
16771 # A grep program that handles long lines.
16777 # A literal string matcher.
16780 # A BSD- or MS-compatible name lister.
16783 # Whether we need soft or hard links.
16786 # What is the maximum length of a command?
16787 max_cmd_len=$max_cmd_len
16789 # Object file suffix (normally "o").
16792 # Executable file suffix (normally "").
16795 # whether the shell understands "unset".
16798 # turn spaces into newlines.
16801 # turn newlines into spaces.
16804 # An object symbol dumper.
16805 OBJDUMP=$lt_OBJDUMP
16807 # Method to check whether dependent libraries are shared objects.
16808 deplibs_check_method=$lt_deplibs_check_method
16810 # Command to use when deplibs_check_method == "file_magic".
16811 file_magic_cmd=$lt_file_magic_cmd
16815 AR_FLAGS=$lt_AR_FLAGS
16817 # A symbol stripping program.
16820 # Commands used to install an old-style archive.
16822 old_postinstall_cmds=$lt_old_postinstall_cmds
16823 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16825 # Whether to use a lock for old archive extraction.
16826 lock_old_archive_extraction=$lock_old_archive_extraction
16831 # LTCC compiler flags.
16832 LTCFLAGS=$lt_CFLAGS
16834 # Take the output of nm and produce a listing of raw symbols and C names.
16835 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16837 # Transform the output of nm in a proper C declaration.
16838 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16840 # Transform the output of nm in a C name address pair.
16841 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16843 # Transform the output of nm in a C name address pair when lib prefix is needed.
16844 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16846 # The name of the directory that contains temporary libtool files.
16849 # Used to examine libraries when file_magic_cmd begins with "file".
16850 MAGIC_CMD=$MAGIC_CMD
16852 # Must we lock files when doing compilation?
16853 need_locks=$lt_need_locks
16855 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16856 DSYMUTIL=$lt_DSYMUTIL
16858 # Tool to change global to local symbols on Mac OS X.
16861 # Tool to manipulate fat objects and archives on Mac OS X.
16864 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16867 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16868 OTOOL64=$lt_OTOOL64
16870 # Old archive suffix (normally "a").
16873 # Shared library suffix (normally ".so").
16874 shrext_cmds=$lt_shrext_cmds
16876 # The commands to extract the exported symbol list from a shared archive.
16877 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16879 # Variables whose values should be saved in libtool wrapper scripts and
16880 # restored at link time.
16881 variables_saved_for_relink=$lt_variables_saved_for_relink
16883 # Do we need the "lib" prefix for modules?
16884 need_lib_prefix=$need_lib_prefix
16886 # Do we need a version for libraries?
16887 need_version=$need_version
16889 # Library versioning type.
16890 version_type=$version_type
16892 # Shared library runtime path variable.
16893 runpath_var=$runpath_var
16895 # Shared library path variable.
16896 shlibpath_var=$shlibpath_var
16898 # Is shlibpath searched before the hard-coded library search path?
16899 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16901 # Format of library name prefix.
16902 libname_spec=$lt_libname_spec
16904 # List of archive names. First name is the real one, the rest are links.
16905 # The last name is the one that the linker finds with -lNAME
16906 library_names_spec=$lt_library_names_spec
16908 # The coded name of the library, if different from the real name.
16909 soname_spec=$lt_soname_spec
16911 # Permission mode override for installation of shared libraries.
16912 install_override_mode=$lt_install_override_mode
16914 # Command to use after installation of a shared archive.
16915 postinstall_cmds=$lt_postinstall_cmds
16917 # Command to use after uninstallation of a shared archive.
16918 postuninstall_cmds=$lt_postuninstall_cmds
16920 # Commands used to finish a libtool library installation in a directory.
16921 finish_cmds=$lt_finish_cmds
16923 # As "finish_cmds", except a single script fragment to be evaled but
16925 finish_eval=$lt_finish_eval
16927 # Whether we should hardcode library paths into libraries.
16928 hardcode_into_libs=$hardcode_into_libs
16930 # Compile-time system search path for libraries.
16931 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16933 # Run-time system search path for libraries.
16934 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16936 # Whether dlopen is supported.
16937 dlopen_support=$enable_dlopen
16939 # Whether dlopen of programs is supported.
16940 dlopen_self=$enable_dlopen_self
16942 # Whether dlopen of statically linked programs is supported.
16943 dlopen_self_static=$enable_dlopen_self_static
16945 # Commands to strip libraries.
16946 old_striplib=$lt_old_striplib
16947 striplib=$lt_striplib
16950 # The linker used to build libraries.
16953 # How to create reloadable object files.
16954 reload_flag=$lt_reload_flag
16955 reload_cmds=$lt_reload_cmds
16957 # Commands used to build an old-style archive.
16958 old_archive_cmds=$lt_old_archive_cmds
16960 # A language specific compiler.
16963 # Is the compiler the GNU compiler?
16966 # Compiler flag to turn off builtin functions.
16967 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16969 # How to pass a linker flag through the compiler.
16970 wl=$lt_lt_prog_compiler_wl
16972 # Additional compiler flags for building library objects.
16973 pic_flag=$lt_lt_prog_compiler_pic
16975 # Compiler flag to prevent dynamic linking.
16976 link_static_flag=$lt_lt_prog_compiler_static
16978 # Does compiler simultaneously support -c and -o options?
16979 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16981 # Whether or not to add -lc for building shared libraries.
16982 build_libtool_need_lc=$archive_cmds_need_lc
16984 # Whether or not to disallow shared libs when runtime libs are static.
16985 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16987 # Compiler flag to allow reflexive dlopens.
16988 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16990 # Compiler flag to generate shared objects directly from archives.
16991 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16993 # Whether the compiler copes with passing no objects directly.
16994 compiler_needs_object=$lt_compiler_needs_object
16996 # Create an old-style archive from a shared archive.
16997 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16999 # Create a temporary old-style archive to link instead of a shared archive.
17000 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17002 # Commands used to build a shared archive.
17003 archive_cmds=$lt_archive_cmds
17004 archive_expsym_cmds=$lt_archive_expsym_cmds
17006 # Commands used to build a loadable module if different from building
17007 # a shared archive.
17008 module_cmds=$lt_module_cmds
17009 module_expsym_cmds=$lt_module_expsym_cmds
17011 # Whether we are building with GNU ld or not.
17012 with_gnu_ld=$lt_with_gnu_ld
17014 # Flag that allows shared libraries with undefined symbols to be built.
17015 allow_undefined_flag=$lt_allow_undefined_flag
17017 # Flag that enforces no undefined symbols.
17018 no_undefined_flag=$lt_no_undefined_flag
17020 # Flag to hardcode \$libdir into a binary during linking.
17021 # This must work even if \$libdir does not exist
17022 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17024 # If ld is used when linking, flag to hardcode \$libdir into a binary
17025 # during linking. This must work even if \$libdir does not exist.
17026 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17028 # Whether we need a single "-rpath" flag with a separated argument.
17029 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17031 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17032 # DIR into the resulting binary.
17033 hardcode_direct=$hardcode_direct
17035 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17036 # DIR into the resulting binary and the resulting library dependency is
17037 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17038 # library is relocated.
17039 hardcode_direct_absolute=$hardcode_direct_absolute
17041 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17042 # into the resulting binary.
17043 hardcode_minus_L=$hardcode_minus_L
17045 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17046 # into the resulting binary.
17047 hardcode_shlibpath_var=$hardcode_shlibpath_var
17049 # Set to "yes" if building a shared library automatically hardcodes DIR
17050 # into the library and all subsequent libraries and executables linked
17052 hardcode_automatic=$hardcode_automatic
17054 # Set to yes if linker adds runtime paths of dependent libraries
17055 # to runtime path list.
17056 inherit_rpath=$inherit_rpath
17058 # Whether libtool must link a program against all its dependency libraries.
17059 link_all_deplibs=$link_all_deplibs
17061 # Fix the shell variable \$srcfile for the compiler.
17062 fix_srcfile_path=$lt_fix_srcfile_path
17064 # Set to "yes" if exported symbols are required.
17065 always_export_symbols=$always_export_symbols
17067 # The commands to list exported symbols.
17068 export_symbols_cmds=$lt_export_symbols_cmds
17070 # Symbols that should not be listed in the preloaded symbols.
17071 exclude_expsyms=$lt_exclude_expsyms
17073 # Symbols that must always be exported.
17074 include_expsyms=$lt_include_expsyms
17076 # Commands necessary for linking programs (against libraries) with templates.
17077 prelink_cmds=$lt_prelink_cmds
17079 # Specify filename containing input files.
17080 file_list_spec=$lt_file_list_spec
17082 # How to hardcode a shared library path into an executable.
17083 hardcode_action=$hardcode_action
17085 # The directories searched by this compiler when creating a shared library.
17086 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17088 # Dependencies to place before and after the objects being linked to
17089 # create a shared library.
17090 predep_objects=$lt_predep_objects
17091 postdep_objects=$lt_postdep_objects
17092 predeps=$lt_predeps
17093 postdeps=$lt_postdeps
17095 # The library search path used internally by the compiler when linking
17096 # a shared library.
17097 compiler_lib_search_path=$lt_compiler_lib_search_path
17099 # ### END LIBTOOL CONFIG
17105 cat <<\_LT_EOF
>> "$cfgfile"
17106 # AIX sometimes has problems with the GCC collect2 program. For some
17107 # reason, if we set the COLLECT_NAMES environment variable, the problems
17108 # vanish in a puff of smoke.
17109 if test "X${COLLECT_NAMES+set}" != Xset
; then
17111 export COLLECT_NAMES
17118 ltmain
="$ac_aux_dir/ltmain.sh"
17121 # We use sed instead of cat because bash on DJGPP gets confused if
17122 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17123 # text mode, it properly converts lines to CR/LF. This bash problem
17124 # is reportedly fixed, but why not run on old versions too?
17125 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17126 ||
(rm -f "$cfgfile"; exit 1)
17130 cat << \_LT_EOF
>> "$cfgfile"
17132 # func_dirname file append nondir_replacement
17133 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17134 # otherwise set result to NONDIR_REPLACEMENT.
17138 */*) func_dirname_result
="${1%/*}${2}" ;;
17139 * ) func_dirname_result
="${3}" ;;
17143 # func_basename file
17146 func_basename_result
="${1##*/}"
17149 # func_dirname_and_basename file append nondir_replacement
17150 # perform func_basename and func_dirname in a single function
17152 # dirname: Compute the dirname of FILE. If nonempty,
17153 # add APPEND to the result, otherwise set result
17154 # to NONDIR_REPLACEMENT.
17155 # value returned in "$func_dirname_result"
17156 # basename: Compute filename of FILE.
17157 # value retuned in "$func_basename_result"
17158 # Implementation must be kept synchronized with func_dirname
17159 # and func_basename. For efficiency, we do not delegate to
17160 # those functions but instead duplicate the functionality here.
17161 func_dirname_and_basename
()
17164 */*) func_dirname_result
="${1%/*}${2}" ;;
17165 * ) func_dirname_result
="${3}" ;;
17167 func_basename_result
="${1##*/}"
17170 # func_stripname prefix suffix name
17171 # strip PREFIX and SUFFIX off of NAME.
17172 # PREFIX and SUFFIX must not contain globbing or regex special
17173 # characters, hashes, percent signs, but SUFFIX may contain a leading
17174 # dot (in which case that matches only a dot).
17177 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17178 # positional parameters, so assign one to ordinary parameter first.
17179 func_stripname_result
=${3}
17180 func_stripname_result
=${func_stripname_result#"${1}"}
17181 func_stripname_result
=${func_stripname_result%"${2}"}
17187 func_opt_split_opt
=${1%%=*}
17188 func_opt_split_arg
=${1#*=}
17195 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17196 *) func_lo2o_result
=${1} ;;
17200 # func_xform libobj-or-source
17203 func_xform_result
=${1%.*}.lo
17206 # func_arith arithmetic-term...
17209 func_arith_result
=$
(( $
* ))
17213 # STRING may not start with a hyphen.
17216 func_len_result
=${#1}
17221 *) # Bourne compatible functions.
17222 cat << \_LT_EOF
>> "$cfgfile"
17224 # func_dirname file append nondir_replacement
17225 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17226 # otherwise set result to NONDIR_REPLACEMENT.
17229 # Extract subdirectory from the argument.
17230 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17231 if test "X$func_dirname_result" = "X${1}"; then
17232 func_dirname_result
="${3}"
17234 func_dirname_result
="$func_dirname_result${2}"
17238 # func_basename file
17241 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17245 # func_stripname prefix suffix name
17246 # strip PREFIX and SUFFIX off of NAME.
17247 # PREFIX and SUFFIX must not contain globbing or regex special
17248 # characters, hashes, percent signs, but SUFFIX may contain a leading
17249 # dot (in which case that matches only a dot).
17250 # func_strip_suffix prefix name
17254 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17255 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17260 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17261 my_sed_long_arg
='1s/^-[^=]*=//'
17266 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17267 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17273 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17276 # func_xform libobj-or-source
17279 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17282 # func_arith arithmetic-term...
17285 func_arith_result
=`expr "$@"`
17289 # STRING may not start with a hyphen.
17292 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17298 case $lt_shell_append in
17300 cat << \_LT_EOF
>> "$cfgfile"
17302 # func_append var value
17303 # Append VALUE to the end of shell variable VAR.
17311 cat << \_LT_EOF
>> "$cfgfile"
17313 # func_append var value
17314 # Append VALUE to the end of shell variable VAR.
17325 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17326 ||
(rm -f "$cfgfile"; exit 1)
17328 mv -f "$cfgfile" "$ofile" ||
17329 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17333 cat <<_LT_EOF >> "$ofile"
17335 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17337 # The linker used to build libraries.
17340 # How to create reloadable object files.
17341 reload_flag=$lt_reload_flag_CXX
17342 reload_cmds=$lt_reload_cmds_CXX
17344 # Commands used to build an old-style archive.
17345 old_archive_cmds=$lt_old_archive_cmds_CXX
17347 # A language specific compiler.
17348 CC=$lt_compiler_CXX
17350 # Is the compiler the GNU compiler?
17353 # Compiler flag to turn off builtin functions.
17354 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17356 # How to pass a linker flag through the compiler.
17357 wl=$lt_lt_prog_compiler_wl_CXX
17359 # Additional compiler flags for building library objects.
17360 pic_flag=$lt_lt_prog_compiler_pic_CXX
17362 # Compiler flag to prevent dynamic linking.
17363 link_static_flag=$lt_lt_prog_compiler_static_CXX
17365 # Does compiler simultaneously support -c and -o options?
17366 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17368 # Whether or not to add -lc for building shared libraries.
17369 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17371 # Whether or not to disallow shared libs when runtime libs are static.
17372 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17374 # Compiler flag to allow reflexive dlopens.
17375 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17377 # Compiler flag to generate shared objects directly from archives.
17378 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17380 # Whether the compiler copes with passing no objects directly.
17381 compiler_needs_object=$lt_compiler_needs_object_CXX
17383 # Create an old-style archive from a shared archive.
17384 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17386 # Create a temporary old-style archive to link instead of a shared archive.
17387 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17389 # Commands used to build a shared archive.
17390 archive_cmds=$lt_archive_cmds_CXX
17391 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17393 # Commands used to build a loadable module if different from building
17394 # a shared archive.
17395 module_cmds=$lt_module_cmds_CXX
17396 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17398 # Whether we are building with GNU ld or not.
17399 with_gnu_ld=$lt_with_gnu_ld_CXX
17401 # Flag that allows shared libraries with undefined symbols to be built.
17402 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17404 # Flag that enforces no undefined symbols.
17405 no_undefined_flag=$lt_no_undefined_flag_CXX
17407 # Flag to hardcode \$libdir into a binary during linking.
17408 # This must work even if \$libdir does not exist
17409 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17411 # If ld is used when linking, flag to hardcode \$libdir into a binary
17412 # during linking. This must work even if \$libdir does not exist.
17413 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17415 # Whether we need a single "-rpath" flag with a separated argument.
17416 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17418 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17419 # DIR into the resulting binary.
17420 hardcode_direct=$hardcode_direct_CXX
17422 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17423 # DIR into the resulting binary and the resulting library dependency is
17424 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17425 # library is relocated.
17426 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17428 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17429 # into the resulting binary.
17430 hardcode_minus_L=$hardcode_minus_L_CXX
17432 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17433 # into the resulting binary.
17434 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17436 # Set to "yes" if building a shared library automatically hardcodes DIR
17437 # into the library and all subsequent libraries and executables linked
17439 hardcode_automatic=$hardcode_automatic_CXX
17441 # Set to yes if linker adds runtime paths of dependent libraries
17442 # to runtime path list.
17443 inherit_rpath=$inherit_rpath_CXX
17445 # Whether libtool must link a program against all its dependency libraries.
17446 link_all_deplibs=$link_all_deplibs_CXX
17448 # Fix the shell variable \$srcfile for the compiler.
17449 fix_srcfile_path=$lt_fix_srcfile_path_CXX
17451 # Set to "yes" if exported symbols are required.
17452 always_export_symbols=$always_export_symbols_CXX
17454 # The commands to list exported symbols.
17455 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17457 # Symbols that should not be listed in the preloaded symbols.
17458 exclude_expsyms=$lt_exclude_expsyms_CXX
17460 # Symbols that must always be exported.
17461 include_expsyms=$lt_include_expsyms_CXX
17463 # Commands necessary for linking programs (against libraries) with templates.
17464 prelink_cmds=$lt_prelink_cmds_CXX
17466 # Specify filename containing input files.
17467 file_list_spec=$lt_file_list_spec_CXX
17469 # How to hardcode a shared library path into an executable.
17470 hardcode_action=$hardcode_action_CXX
17472 # The directories searched by this compiler when creating a shared library.
17473 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17475 # Dependencies to place before and after the objects being linked to
17476 # create a shared library.
17477 predep_objects=$lt_predep_objects_CXX
17478 postdep_objects=$lt_postdep_objects_CXX
17479 predeps=$lt_predeps_CXX
17480 postdeps=$lt_postdeps_CXX
17482 # The library search path used internally by the compiler when linking
17483 # a shared library.
17484 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17486 # ### END LIBTOOL TAG CONFIG: CXX
17490 "mpxrt/Makefile":F
) cat > vpsed$$
<< \_EOF
17491 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17493 sed -f vpsed$$
$ac_file > tmp$$
17496 echo 'MULTISUBDIR =' >> $ac_file
17498 .
${multi_basedir}/config-ml.
in
17499 { ml_norecursion
=; unset ml_norecursion
;}
17508 ac_clean_files
=$ac_clean_files_save
17510 test $ac_write_fail = 0 ||
17511 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17514 # configure is writing to config.log, and then calls config.status.
17515 # config.status does its own redirection, appending to config.log.
17516 # Unfortunately, on DOS this fails, as config.log is still kept open
17517 # by configure, so config.status won't be able to write to it; its
17518 # output is simply discarded. So we exec the FD to /dev/null,
17519 # effectively closing config.log, so it can be properly (re)opened and
17520 # appended to by config.status. When coming back to configure, we
17521 # need to make the FD available again.
17522 if test "$no_create" != yes; then
17524 ac_config_status_args
=
17525 test "$silent" = yes &&
17526 ac_config_status_args
="$ac_config_status_args --quiet"
17528 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17530 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17531 # would make configure fail if this is the last instruction.
17532 $ac_cs_success || as_fn_exit $?
17534 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17536 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}