2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
528 # Check that we are running under the correct shell.
529 SHELL
=${CONFIG_SHELL-/bin/sh}
533 # Remove one level of quotation (which was required for Make).
534 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
539 if test "X$1" = X--no-reexec
; then
540 # Discard the --no-reexec flag, and continue.
542 elif test "X$1" = X--fallback-echo
; then
543 # Avoid inline document here, it may be left over
545 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
546 # Yippee, $ECHO works!
549 # Restart under the correct shell.
550 exec $SHELL "$0" --no-reexec ${1+"$@"}
553 if test "X$1" = X--fallback-echo
; then
554 # used as fallback echo
562 # The HP-UX ksh and POSIX shell print the target directory to stdout
564 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
566 if test -z "$lt_ECHO"; then
567 if test "X${echo_test_string+set}" != Xset
; then
568 # find a string as large as possible, as long as the shell can cope with it
569 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
570 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
571 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
572 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
579 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
580 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
581 test "X$echo_testing_string" = "X$echo_test_string"; then
584 # The Solaris, AIX, and Digital Unix default echo programs unquote
585 # backslashes. This makes it impossible to quote backslashes using
586 # echo "$something" | sed 's/\\/\\\\/g'
588 # So, first we look for a working echo in the user's PATH.
590 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
591 for dir
in $PATH /usr
/ucb
; do
593 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
594 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
595 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
596 test "X$echo_testing_string" = "X$echo_test_string"; then
603 if test "X$ECHO" = Xecho
; then
604 # We didn't find a better echo, so look for alternatives.
605 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
606 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
607 test "X$echo_testing_string" = "X$echo_test_string"; then
608 # This shell has a builtin print -r that does the trick.
610 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
611 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
612 # If we have ksh, try running configure again with it.
613 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
614 export ORIGINAL_CONFIG_SHELL
615 CONFIG_SHELL
=/bin
/ksh
617 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
621 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
622 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
623 test "X$echo_testing_string" = "X$echo_test_string"; then
626 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
627 test "X$echo_testing_string" = 'X\t' &&
628 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
629 test "X$echo_testing_string" = "X$echo_test_string"; then
630 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
632 SHELL
="$CONFIG_SHELL"
634 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
635 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
636 test "X$echo_testing_string" = 'X\t' &&
637 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
638 test "X$echo_testing_string" = "X$echo_test_string"; then
639 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
641 # maybe with a smaller string...
644 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
645 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
652 if test "$prev" != 'sed 50q "$0"'; then
653 echo_test_string
=`eval $prev`
654 export echo_test_string
655 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
657 # Oops. We lost completely, so just stick with echo.
666 # Copy echo and quote the copy suitably for passing to libtool from
667 # the Makefile, instead of quoting the original, which is used later.
669 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
670 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676 exec 7<&0 </dev
/null
6>&1
679 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
680 # so uname gets run too.
681 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
686 ac_default_prefix
=/usr
/local
688 ac_config_libobj_dir
=.
695 # Identity of this package.
703 ac_unique_file
="gcj_mlc.c"
704 # Factoring default headers for most tests.
705 ac_includes_default
="\
707 #ifdef HAVE_SYS_TYPES_H
708 # include <sys/types.h>
710 #ifdef HAVE_SYS_STAT_H
711 # include <sys/stat.h>
717 # ifdef HAVE_STDLIB_H
722 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
727 #ifdef HAVE_STRINGS_H
728 # include <strings.h>
730 #ifdef HAVE_INTTYPES_H
731 # include <inttypes.h>
740 ac_subst_vars
='am__EXEEXT_FALSE
781 MAINTAINER_MODE_FALSE
818 INSTALL_STRIP_PROGRAM
875 program_transform_name
888 enable_option_checking
890 enable_dependency_tracking
891 enable_maintainer_mode
904 ac_precious_vars
='build_alias
917 # Initialize some variables set by options.
919 ac_init_version
=false
920 ac_unrecognized_opts
=
922 # The variables have the same names as the options, with
923 # dashes changed to underlines.
931 program_transform_name
=s
,x
,x
,
939 # Installation directory options.
940 # These are left unexpanded so users can "make install exec_prefix=/foo"
941 # and all the variables that are supposed to be based on exec_prefix
942 # by default will actually change.
943 # Use braces instead of parens because sh, perl, etc. also accept them.
944 # (The list follows the same order as the GNU Coding Standards.)
945 bindir
='${exec_prefix}/bin'
946 sbindir
='${exec_prefix}/sbin'
947 libexecdir
='${exec_prefix}/libexec'
948 datarootdir
='${prefix}/share'
949 datadir
='${datarootdir}'
950 sysconfdir
='${prefix}/etc'
951 sharedstatedir
='${prefix}/com'
952 localstatedir
='${prefix}/var'
953 includedir
='${prefix}/include'
954 oldincludedir
='/usr/include'
955 docdir
='${datarootdir}/doc/${PACKAGE}'
956 infodir
='${datarootdir}/info'
961 libdir
='${exec_prefix}/lib'
962 localedir
='${datarootdir}/locale'
963 mandir
='${datarootdir}/man'
969 # If the previous option needs an argument, assign it.
970 if test -n "$ac_prev"; then
971 eval $ac_prev=\
$ac_option
977 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
981 # Accept the important Cygnus configure options, so we can diagnose typos.
983 case $ac_dashdash$ac_option in
987 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
989 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
992 -build |
--build |
--buil |
--bui |
--bu)
993 ac_prev
=build_alias
;;
994 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
995 build_alias
=$ac_optarg ;;
997 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
998 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
999 ac_prev
=cache_file
;;
1000 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1001 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1002 cache_file
=$ac_optarg ;;
1004 --config-cache |
-C)
1005 cache_file
=config.cache
;;
1007 -datadir |
--datadir |
--datadi |
--datad)
1009 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1010 datadir
=$ac_optarg ;;
1012 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1013 |
--dataroo |
--dataro |
--datar)
1014 ac_prev
=datarootdir
;;
1015 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1016 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1017 datarootdir
=$ac_optarg ;;
1019 -disable-* |
--disable-*)
1020 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1021 # Reject names that are not valid shell variable names.
1022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1023 as_fn_error
"invalid feature name: $ac_useropt"
1024 ac_useropt_orig
=$ac_useropt
1025 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026 case $ac_user_opts in
1028 "enable_
$ac_useropt"
1030 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1031 ac_unrecognized_sep
=', ';;
1033 eval enable_
$ac_useropt=no
;;
1035 -docdir |
--docdir |
--docdi |
--doc |
--do)
1037 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1038 docdir
=$ac_optarg ;;
1040 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1042 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1043 dvidir
=$ac_optarg ;;
1045 -enable-* |
--enable-*)
1046 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1047 # Reject names that are not valid shell variable names.
1048 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1049 as_fn_error
"invalid feature name: $ac_useropt"
1050 ac_useropt_orig
=$ac_useropt
1051 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1052 case $ac_user_opts in
1054 "enable_
$ac_useropt"
1056 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1057 ac_unrecognized_sep
=', ';;
1059 eval enable_
$ac_useropt=\
$ac_optarg ;;
1061 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1062 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1063 |
--exec |
--exe |
--ex)
1064 ac_prev
=exec_prefix
;;
1065 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1066 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1067 |
--exec=* |
--exe=* |
--ex=*)
1068 exec_prefix
=$ac_optarg ;;
1070 -gas |
--gas |
--ga |
--g)
1071 # Obsolete; use --with-gas.
1074 -help |
--help |
--hel |
--he |
-h)
1075 ac_init_help
=long
;;
1076 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1077 ac_init_help
=recursive
;;
1078 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1079 ac_init_help
=short
;;
1081 -host |
--host |
--hos |
--ho)
1082 ac_prev
=host_alias
;;
1083 -host=* |
--host=* |
--hos=* |
--ho=*)
1084 host_alias
=$ac_optarg ;;
1086 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1088 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1090 htmldir
=$ac_optarg ;;
1092 -includedir |
--includedir |
--includedi |
--included |
--include \
1093 |
--includ |
--inclu |
--incl |
--inc)
1094 ac_prev
=includedir
;;
1095 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1096 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1097 includedir
=$ac_optarg ;;
1099 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1101 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1102 infodir
=$ac_optarg ;;
1104 -libdir |
--libdir |
--libdi |
--libd)
1106 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1107 libdir
=$ac_optarg ;;
1109 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1110 |
--libexe |
--libex |
--libe)
1111 ac_prev
=libexecdir
;;
1112 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1113 |
--libexe=* |
--libex=* |
--libe=*)
1114 libexecdir
=$ac_optarg ;;
1116 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1117 ac_prev
=localedir
;;
1118 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1119 localedir
=$ac_optarg ;;
1121 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1122 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1123 ac_prev
=localstatedir
;;
1124 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1125 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1126 localstatedir
=$ac_optarg ;;
1128 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1130 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1131 mandir
=$ac_optarg ;;
1133 -nfp |
--nfp |
--nf)
1134 # Obsolete; use --without-fp.
1137 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1138 |
--no-cr |
--no-c |
-n)
1141 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1142 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1145 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1146 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1147 |
--oldin |
--oldi |
--old |
--ol |
--o)
1148 ac_prev
=oldincludedir
;;
1149 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1150 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1151 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1152 oldincludedir
=$ac_optarg ;;
1154 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1156 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1157 prefix
=$ac_optarg ;;
1159 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1160 |
--program-pre |
--program-pr |
--program-p)
1161 ac_prev
=program_prefix
;;
1162 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1163 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1164 program_prefix
=$ac_optarg ;;
1166 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1167 |
--program-suf |
--program-su |
--program-s)
1168 ac_prev
=program_suffix
;;
1169 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1170 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1171 program_suffix
=$ac_optarg ;;
1173 -program-transform-name |
--program-transform-name \
1174 |
--program-transform-nam |
--program-transform-na \
1175 |
--program-transform-n |
--program-transform- \
1176 |
--program-transform |
--program-transfor \
1177 |
--program-transfo |
--program-transf \
1178 |
--program-trans |
--program-tran \
1179 |
--progr-tra |
--program-tr |
--program-t)
1180 ac_prev
=program_transform_name
;;
1181 -program-transform-name=* |
--program-transform-name=* \
1182 |
--program-transform-nam=* |
--program-transform-na=* \
1183 |
--program-transform-n=* |
--program-transform-=* \
1184 |
--program-transform=* |
--program-transfor=* \
1185 |
--program-transfo=* |
--program-transf=* \
1186 |
--program-trans=* |
--program-tran=* \
1187 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1188 program_transform_name
=$ac_optarg ;;
1190 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1192 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1193 pdfdir
=$ac_optarg ;;
1195 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1197 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1200 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1201 |
-silent |
--silent |
--silen |
--sile |
--sil)
1204 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1206 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1208 sbindir
=$ac_optarg ;;
1210 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1211 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1212 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1214 ac_prev
=sharedstatedir
;;
1215 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1216 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1217 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1219 sharedstatedir
=$ac_optarg ;;
1221 -site |
--site |
--sit)
1223 -site=* |
--site=* |
--sit=*)
1226 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1228 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1229 srcdir
=$ac_optarg ;;
1231 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1232 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1233 ac_prev
=sysconfdir
;;
1234 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1235 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1236 sysconfdir
=$ac_optarg ;;
1238 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1239 ac_prev
=target_alias
;;
1240 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1241 target_alias
=$ac_optarg ;;
1243 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1246 -version |
--version |
--versio |
--versi |
--vers |
-V)
1247 ac_init_version
=: ;;
1250 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1251 # Reject names that are not valid shell variable names.
1252 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1253 as_fn_error
"invalid package name: $ac_useropt"
1254 ac_useropt_orig
=$ac_useropt
1255 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1256 case $ac_user_opts in
1260 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1261 ac_unrecognized_sep
=', ';;
1263 eval with_
$ac_useropt=\
$ac_optarg ;;
1265 -without-* |
--without-*)
1266 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1267 # Reject names that are not valid shell variable names.
1268 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1269 as_fn_error
"invalid package name: $ac_useropt"
1270 ac_useropt_orig
=$ac_useropt
1271 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1272 case $ac_user_opts in
1276 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1277 ac_unrecognized_sep
=', ';;
1279 eval with_
$ac_useropt=no
;;
1282 # Obsolete; use --with-x.
1285 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1286 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1287 ac_prev
=x_includes
;;
1288 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1289 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1290 x_includes
=$ac_optarg ;;
1292 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1293 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1294 ac_prev
=x_libraries
;;
1295 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1296 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1297 x_libraries
=$ac_optarg ;;
1299 -*) as_fn_error
"unrecognized option: \`$ac_option'
1300 Try \`$0 --help' for more information."
1304 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1305 # Reject names that are not valid shell variable names.
1306 case $ac_envvar in #(
1307 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1308 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1310 eval $ac_envvar=\
$ac_optarg
1311 export $ac_envvar ;;
1314 # FIXME: should be removed in autoconf 3.0.
1315 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1316 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1317 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1318 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1324 if test -n "$ac_prev"; then
1325 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1326 as_fn_error
"missing argument to $ac_option"
1329 if test -n "$ac_unrecognized_opts"; then
1330 case $enable_option_checking in
1332 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1333 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1337 # Check all directory arguments for consistency.
1338 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1339 datadir sysconfdir sharedstatedir localstatedir includedir \
1340 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1341 libdir localedir mandir
1343 eval ac_val
=\$
$ac_var
1344 # Remove trailing slashes.
1347 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1348 eval $ac_var=\
$ac_val;;
1350 # Be sure to have absolute directory names.
1352 [\\/$
]* | ?
:[\\/]* ) continue;;
1353 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1355 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1358 # There might be people who depend on the old broken behavior: `$host'
1359 # used to hold the argument of --host etc.
1360 # FIXME: To remove some day.
1363 target
=$target_alias
1365 # FIXME: To remove some day.
1366 if test "x$host_alias" != x
; then
1367 if test "x$build_alias" = x
; then
1368 cross_compiling
=maybe
1369 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1370 If a cross compiler is detected then cross compile mode will be used." >&2
1371 elif test "x$build_alias" != "x$host_alias"; then
1377 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1379 test "$silent" = yes && exec 6>/dev
/null
1382 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1383 ac_ls_di
=`ls -di .` &&
1384 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1385 as_fn_error
"working directory cannot be determined"
1386 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1387 as_fn_error
"pwd does not report name of working directory"
1390 # Find the source files, if location was not specified.
1391 if test -z "$srcdir"; then
1392 ac_srcdir_defaulted
=yes
1393 # Try the directory containing this script, then the parent directory.
1394 ac_confdir
=`$as_dirname -- "$as_myself" ||
1395 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1396 X"$as_myself" : 'X\(//\)[^/]' \| \
1397 X"$as_myself" : 'X\(//\)$' \| \
1398 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1399 $as_echo X"$as_myself" |
1400 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1418 if test ! -r "$srcdir/$ac_unique_file"; then
1422 ac_srcdir_defaulted
=no
1424 if test ! -r "$srcdir/$ac_unique_file"; then
1425 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1426 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1428 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1430 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1432 # When building in place, set srcdir=.
1433 if test "$ac_abs_confdir" = "$ac_pwd"; then
1436 # Remove unnecessary trailing slashes from srcdir.
1437 # Double slashes in file names in object file debugging info
1438 # mess up M-x gdb in Emacs.
1440 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1442 for ac_var
in $ac_precious_vars; do
1443 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1444 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1445 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1446 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1450 # Report the --help message.
1452 if test "$ac_init_help" = "long"; then
1453 # Omit some internal or obsolete options to make the list less imposing.
1454 # This message is too long to be a string in the A/UX 3.1 sh.
1456 \`configure' configures this package to adapt to many kinds of systems.
1458 Usage: $0 [OPTION]... [VAR=VALUE]...
1460 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1461 VAR=VALUE. See below for descriptions of some of the useful variables.
1463 Defaults for the options are specified in brackets.
1466 -h, --help display this help and exit
1467 --help=short display options specific to this package
1468 --help=recursive display the short help of all the included packages
1469 -V, --version display version information and exit
1470 -q, --quiet, --silent do not print \`checking...' messages
1471 --cache-file=FILE cache test results in FILE [disabled]
1472 -C, --config-cache alias for \`--cache-file=config.cache'
1473 -n, --no-create do not create output files
1474 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1476 Installation directories:
1477 --prefix=PREFIX install architecture-independent files in PREFIX
1478 [$ac_default_prefix]
1479 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1482 By default, \`make install' will install all the files in
1483 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1484 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1485 for instance \`--prefix=\$HOME'.
1487 For better control, use the options below.
1489 Fine tuning of the installation directories:
1490 --bindir=DIR user executables [EPREFIX/bin]
1491 --sbindir=DIR system admin executables [EPREFIX/sbin]
1492 --libexecdir=DIR program executables [EPREFIX/libexec]
1493 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1494 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1495 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1496 --libdir=DIR object code libraries [EPREFIX/lib]
1497 --includedir=DIR C header files [PREFIX/include]
1498 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1499 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1500 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1501 --infodir=DIR info documentation [DATAROOTDIR/info]
1502 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1503 --mandir=DIR man documentation [DATAROOTDIR/man]
1504 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1505 --htmldir=DIR html documentation [DOCDIR]
1506 --dvidir=DIR dvi documentation [DOCDIR]
1507 --pdfdir=DIR pdf documentation [DOCDIR]
1508 --psdir=DIR ps documentation [DOCDIR]
1514 --program-prefix=PREFIX prepend PREFIX to installed program names
1515 --program-suffix=SUFFIX append SUFFIX to installed program names
1516 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1519 --build=BUILD configure
for building on BUILD
[guessed
]
1520 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1521 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1525 if test -n "$ac_init_help"; then
1530 --disable-option-checking ignore unrecognized
--enable/--with options
1531 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1532 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1533 --enable-multilib build many library versions
(default
)
1534 --disable-dependency-tracking speeds up one-time build
1535 --enable-dependency-tracking do not reject slow dependency extractors
1536 --enable-maintainer-mode enable make rules and dependencies not useful
1537 (and sometimes confusing
) to the casual installer
1538 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1539 --enable-static[=PKGS
] build static libraries
[default
=yes]
1540 --enable-fast-install[=PKGS
]
1541 optimize
for fast installation
[default
=yes]
1542 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1543 --enable-parallel-mark parallelize marking and free list construction
1544 --enable-gc-debug include full support
for pointer backtracing etc.
1547 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1548 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1549 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1551 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1552 --with-target-subdir=SUBDIR
1553 configuring with a cross compiler
1554 --with-cross-host=HOST configuring with a cross compiler
1555 --with-ecos enable runtime eCos target support
1557 Some influential environment variables
:
1558 CC C compiler
command
1559 CFLAGS C compiler flags
1560 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1561 nonstandard directory
<lib dir
>
1562 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1563 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1564 you have headers
in a nonstandard directory
<include dir
>
1565 CXX C
++ compiler
command
1566 CXXFLAGS C
++ compiler flags
1568 CXXCPP C
++ preprocessor
1570 Use these variables to override the choices made by
`configure' or to help
1571 it to find libraries and programs with nonstandard names/locations.
1573 Report bugs to the package provider.
1578 if test "$ac_init_help" = "recursive"; then
1579 # If there are subdirs, report their specific --help.
1580 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1581 test -d "$ac_dir" ||
1582 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1587 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1589 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1590 # A ".." for each directory in $ac_dir_suffix.
1591 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1592 case $ac_top_builddir_sub in
1593 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1594 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1597 ac_abs_top_builddir=$ac_pwd
1598 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1599 # for backward compatibility:
1600 ac_top_builddir=$ac_top_build_prefix
1603 .) # We are building in place.
1605 ac_top_srcdir=$ac_top_builddir_sub
1606 ac_abs_top_srcdir=$ac_pwd ;;
1607 [\\/]* | ?:[\\/]* ) # Absolute name.
1608 ac_srcdir=$srcdir$ac_dir_suffix;
1609 ac_top_srcdir=$srcdir
1610 ac_abs_top_srcdir=$srcdir ;;
1612 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1613 ac_top_srcdir=$ac_top_build_prefix$srcdir
1614 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1616 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1618 cd "$ac_dir" || { ac_status=$?; continue; }
1619 # Check for guested configure.
1620 if test -f "$ac_srcdir/configure.gnu"; then
1622 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1623 elif test -f "$ac_srcdir/configure"; then
1625 $SHELL "$ac_srcdir/configure" --help=recursive
1627 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1629 cd "$ac_pwd" || { ac_status=$?; break; }
1633 test -n "$ac_init_help" && exit $ac_status
1634 if $ac_init_version; then
1637 generated by GNU Autoconf 2.64
1639 Copyright (C) 2009 Free Software Foundation, Inc.
1640 This configure script is free software; the Free Software Foundation
1641 gives unlimited permission to copy, distribute and modify it.
1646 ## ------------------------ ##
1647 ## Autoconf initialization. ##
1648 ## ------------------------ ##
1650 # ac_fn_c_try_compile LINENO
1651 # --------------------------
1652 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1653 ac_fn_c_try_compile ()
1655 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1656 rm -f conftest.$ac_objext
1657 if { { ac_try="$ac_compile"
1659 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1660 *) ac_try_echo
=$ac_try;;
1662 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1663 $as_echo "$ac_try_echo"; } >&5
1664 (eval "$ac_compile") 2>conftest.err
1666 if test -s conftest.err
; then
1667 grep -v '^ *+' conftest.err
>conftest.er1
1668 cat conftest.er1
>&5
1669 mv -f conftest.er1 conftest.err
1671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1672 test $ac_status = 0; } && {
1673 test -z "$ac_c_werror_flag" ||
1674 test ! -s conftest.err
1675 } && test -s conftest.
$ac_objext; then :
1678 $as_echo "$as_me: failed program was:" >&5
1679 sed 's/^/| /' conftest.
$ac_ext >&5
1683 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1686 } # ac_fn_c_try_compile
1688 # ac_fn_cxx_try_compile LINENO
1689 # ----------------------------
1690 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1691 ac_fn_cxx_try_compile
()
1693 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1694 rm -f conftest.
$ac_objext
1695 if { { ac_try
="$ac_compile"
1697 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1698 *) ac_try_echo=$ac_try;;
1700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1701 $as_echo "$ac_try_echo"; } >&5
1702 (eval "$ac_compile") 2>conftest.err
1704 if test -s conftest.err; then
1705 grep -v '^ *+' conftest.err >conftest.er1
1706 cat conftest.er1 >&5
1707 mv -f conftest.er1 conftest.err
1709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1710 test $ac_status = 0; } && {
1711 test -z "$ac_cxx_werror_flag" ||
1712 test ! -s conftest.err
1713 } && test -s conftest.$ac_objext; then :
1716 $as_echo "$as_me: failed program was:" >&5
1717 sed 's/^/| /' conftest.$ac_ext >&5
1721 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1724 } # ac_fn_cxx_try_compile
1726 # ac_fn_c_try_link LINENO
1727 # -----------------------
1728 # Try to link conftest.$ac_ext, and return whether this succeeded.
1731 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732 rm -f conftest.$ac_objext conftest$ac_exeext
1733 if { { ac_try="$ac_link"
1735 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1736 *) ac_try_echo
=$ac_try;;
1738 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1739 $as_echo "$ac_try_echo"; } >&5
1740 (eval "$ac_link") 2>conftest.err
1742 if test -s conftest.err
; then
1743 grep -v '^ *+' conftest.err
>conftest.er1
1744 cat conftest.er1
>&5
1745 mv -f conftest.er1 conftest.err
1747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1748 test $ac_status = 0; } && {
1749 test -z "$ac_c_werror_flag" ||
1750 test ! -s conftest.err
1751 } && test -s conftest
$ac_exeext && {
1752 test "$cross_compiling" = yes ||
1753 $as_test_x conftest
$ac_exeext
1757 $as_echo "$as_me: failed program was:" >&5
1758 sed 's/^/| /' conftest.
$ac_ext >&5
1762 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1763 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1764 # interfere with the next link command; also delete a directory that is
1765 # left behind by Apple's compiler. We do this before executing the actions.
1766 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1767 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1770 } # ac_fn_c_try_link
1772 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1773 # -------------------------------------------------------
1774 # Tests whether HEADER exists and can be compiled using the include files in
1775 # INCLUDES, setting the cache variable VAR accordingly.
1776 ac_fn_c_check_header_compile
()
1778 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1780 $as_echo_n "checking for $2... " >&6; }
1781 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1782 $as_echo_n "(cached) " >&6
1784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1785 /* end confdefs.h. */
1789 if ac_fn_c_try_compile
"$LINENO"; then :
1794 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1798 $as_echo "$ac_res" >&6; }
1799 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1801 } # ac_fn_c_check_header_compile
1803 # ac_fn_c_try_cpp LINENO
1804 # ----------------------
1805 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1808 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1809 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1811 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1812 *) ac_try_echo=$ac_try;;
1814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1815 $as_echo "$ac_try_echo"; } >&5
1816 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1818 if test -s conftest.err; then
1819 grep -v '^ *+' conftest.err >conftest.er1
1820 cat conftest.er1 >&5
1821 mv -f conftest.er1 conftest.err
1823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1824 test $ac_status = 0; } >/dev/null && {
1825 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1826 test ! -s conftest.err
1830 $as_echo "$as_me: failed program was:" >&5
1831 sed 's/^/| /' conftest.$ac_ext >&5
1835 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1840 # ac_fn_c_try_run LINENO
1841 # ----------------------
1842 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1843 # that executables *can* be run.
1846 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1847 if { { ac_try="$ac_link"
1849 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1850 *) ac_try_echo
=$ac_try;;
1852 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1853 $as_echo "$ac_try_echo"; } >&5
1854 (eval "$ac_link") 2>&5
1856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1857 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1858 { { case "(($ac_try" in
1859 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1860 *) ac_try_echo=$ac_try;;
1862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1863 $as_echo "$ac_try_echo"; } >&5
1864 (eval "$ac_try") 2>&5
1866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1867 test $ac_status = 0; }; }; then :
1870 $as_echo "$as_me: program exited with status $ac_status" >&5
1871 $as_echo "$as_me: failed program was:" >&5
1872 sed 's/^/| /' conftest.$ac_ext >&5
1874 ac_retval=$ac_status
1876 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1877 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1882 # ac_fn_c_check_func LINENO FUNC VAR
1883 # ----------------------------------
1884 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1885 ac_fn_c_check_func ()
1887 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1889 $as_echo_n "checking for $2... " >&6; }
1890 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1891 $as_echo_n "(cached) " >&6
1893 if test x$gcc_no_link = xyes; then
1894 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1897 /* end confdefs.h. */
1898 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1900 #define $2 innocuous_$2
1902 /* System header to define __stub macros and hopefully few prototypes,
1903 which can conflict with char $2 (); below.
1904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1905 <limits.h> exists even on freestanding compilers. */
1908 # include <limits.h>
1910 # include <assert.h>
1915 /* Override any GCC internal prototype to avoid an error.
1916 Use char because int might match the return type of a GCC
1917 builtin and then its argument prototype would still apply. */
1922 /* The GNU C library defines this for functions which it implements
1923 to always fail with ENOSYS. Some functions are actually named
1924 something starting with __ and the normal name is an alias. */
1925 #if defined __stub_$2 || defined __stub___$2
1937 if ac_fn_c_try_link "$LINENO"; then :
1942 rm -f core conftest.err conftest.$ac_objext \
1943 conftest$ac_exeext conftest.$ac_ext
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1947 $as_echo "$ac_res" >&6; }
1948 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1950 } # ac_fn_c_check_func
1952 # ac_fn_cxx_try_cpp LINENO
1953 # ------------------------
1954 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1955 ac_fn_cxx_try_cpp ()
1957 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1958 if { { ac_try="$ac_cpp conftest.$ac_ext"
1960 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1961 *) ac_try_echo
=$ac_try;;
1963 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1964 $as_echo "$ac_try_echo"; } >&5
1965 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1967 if test -s conftest.err
; then
1968 grep -v '^ *+' conftest.err
>conftest.er1
1969 cat conftest.er1
>&5
1970 mv -f conftest.er1 conftest.err
1972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1973 test $ac_status = 0; } >/dev
/null
&& {
1974 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1975 test ! -s conftest.err
1979 $as_echo "$as_me: failed program was:" >&5
1980 sed 's/^/| /' conftest.
$ac_ext >&5
1984 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1987 } # ac_fn_cxx_try_cpp
1989 # ac_fn_cxx_try_link LINENO
1990 # -------------------------
1991 # Try to link conftest.$ac_ext, and return whether this succeeded.
1992 ac_fn_cxx_try_link
()
1994 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1995 rm -f conftest.
$ac_objext conftest
$ac_exeext
1996 if { { ac_try
="$ac_link"
1998 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1999 *) ac_try_echo=$ac_try;;
2001 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2002 $as_echo "$ac_try_echo"; } >&5
2003 (eval "$ac_link") 2>conftest.err
2005 if test -s conftest.err; then
2006 grep -v '^ *+' conftest.err >conftest.er1
2007 cat conftest.er1 >&5
2008 mv -f conftest.er1 conftest.err
2010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2011 test $ac_status = 0; } && {
2012 test -z "$ac_cxx_werror_flag" ||
2013 test ! -s conftest.err
2014 } && test -s conftest$ac_exeext && {
2015 test "$cross_compiling" = yes ||
2016 $as_test_x conftest$ac_exeext
2020 $as_echo "$as_me: failed program was:" >&5
2021 sed 's/^/| /' conftest.$ac_ext >&5
2025 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2026 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2027 # interfere with the next link command; also delete a directory that is
2028 # left behind by Apple's compiler. We do this before executing the actions.
2029 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2030 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2033 } # ac_fn_cxx_try_link
2035 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2036 # ----------------------------------------------------
2037 # Tries to find if the field MEMBER exists in type AGGR, after including
2038 # INCLUDES, setting cache variable VAR accordingly.
2039 ac_fn_c_check_member ()
2041 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2043 $as_echo_n "checking for $2.$3... " >&6; }
2044 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2045 $as_echo_n "(cached) " >&6
2047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2048 /* end confdefs.h. */
2060 if ac_fn_c_try_compile "$LINENO"; then :
2063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2064 /* end confdefs.h. */
2070 if (sizeof ac_aggr.$3)
2076 if ac_fn_c_try_compile "$LINENO"; then :
2081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2087 $as_echo "$ac_res" >&6; }
2088 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2090 } # ac_fn_c_check_member
2092 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2093 # -------------------------------------------------------
2094 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2095 # the include files in INCLUDES and setting the cache variable VAR
2097 ac_fn_c_check_header_mongrel ()
2099 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2100 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2102 $as_echo_n "checking for $2... " >&6; }
2103 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2104 $as_echo_n "(cached) " >&6
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2108 $as_echo "$ac_res" >&6; }
2110 # Is the header compilable?
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2112 $as_echo_n "checking $2 usability... " >&6; }
2113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2114 /* end confdefs.h. */
2118 if ac_fn_c_try_compile "$LINENO"; then :
2119 ac_header_compiler=yes
2121 ac_header_compiler=no
2123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2125 $as_echo "$ac_header_compiler" >&6; }
2127 # Is the header present?
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2129 $as_echo_n "checking $2 presence... " >&6; }
2130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2131 /* end confdefs.h. */
2134 if ac_fn_c_try_cpp "$LINENO"; then :
2135 ac_header_preproc=yes
2137 ac_header_preproc=no
2139 rm -f conftest.err conftest.$ac_ext
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2141 $as_echo "$ac_header_preproc" >&6; }
2143 # So? What about this header?
2144 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2147 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2149 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2153 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2155 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2157 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2159 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2161 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2165 $as_echo_n "checking for $2... " >&6; }
2166 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2167 $as_echo_n "(cached) " >&6
2169 eval "$3=\$ac_header_compiler"
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2173 $as_echo "$ac_res" >&6; }
2175 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2177 } # ac_fn_c_check_header_mongrel
2178 cat >config.log <<_ACEOF
2179 This file contains any messages produced by compilers while
2180 running configure, to aid debugging if configure makes a mistake.
2182 It was created by $as_me, which was
2183 generated by GNU Autoconf 2.64. Invocation command line was
2195 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2196 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2197 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2198 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2199 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2201 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2202 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2204 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2205 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2206 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2207 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2208 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2209 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2210 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2218 test -z "$as_dir" && as_dir=.
2219 $as_echo "PATH: $as_dir"
2235 # Keep a trace of the command line.
2236 # Strip out --no-create and --no-recursion so they do not pile up.
2237 # Strip out --silent because we don't want to record it for future runs.
2238 # Also quote any args containing shell meta-characters.
2239 # Make two passes to allow for proper duplicate-argument suppression.
2243 ac_must_keep_next=false
2249 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2250 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2251 | -silent | --silent | --silen | --sile | --sil)
2254 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2257 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2259 as_fn_append ac_configure_args1 " '$ac_arg'"
2260 if test $ac_must_keep_next = true; then
2261 ac_must_keep_next=false # Got value, back to normal.
2264 *=* | --config-cache | -C | -disable-* | --disable-* \
2265 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2266 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2267 | -with-* | --with-* | -without-* | --without-* | --x)
2268 case "$ac_configure_args0 " in
2269 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2272 -* ) ac_must_keep_next=true ;;
2275 as_fn_append ac_configure_args " '$ac_arg'"
2280 { ac_configure_args0=; unset ac_configure_args0;}
2281 { ac_configure_args1=; unset ac_configure_args1;}
2283 # When interrupted or exit'd, cleanup temporary files, and complete
2284 # config.log. We remove comments because anyway the quotes in there
2285 # would cause problems or look ugly.
2286 # WARNING: Use '\'' to represent an apostrophe within the trap.
2287 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2288 trap 'exit_status=$?
2289 # Save into config.log some information that might help in debugging.
2294 ## ---------------- ##
2295 ## Cache variables. ##
2296 ## ---------------- ##
2299 # The following way of writing the cache mishandles newlines in values,
2301 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2302 eval ac_val=\$$ac_var
2306 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2307 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2310 _ | IFS | as_nl) ;; #(
2311 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2312 *) { eval $ac_var=; unset $ac_var;} ;;
2317 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2318 *${as_nl}ac_space=\ *)
2320 "s/'\''/'\''\\\\'\'''\''/g;
2321 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2324 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2332 ## ----------------- ##
2333 ## Output variables. ##
2334 ## ----------------- ##
2337 for ac_var in $ac_subst_vars
2339 eval ac_val=\$$ac_var
2341 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2343 $as_echo "$ac_var='\''$ac_val'\''"
2347 if test -n "$ac_subst_files"; then
2349 ## ------------------- ##
2350 ## File substitutions. ##
2351 ## ------------------- ##
2354 for ac_var in $ac_subst_files
2356 eval ac_val=\$$ac_var
2358 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2360 $as_echo "$ac_var='\''$ac_val'\''"
2365 if test -s confdefs.h; then
2375 test "$ac_signal" != 0 &&
2376 $as_echo "$as_me: caught signal $ac_signal"
2377 $as_echo "$as_me: exit $exit_status"
2379 rm -f core *.core core.conftest.* &&
2380 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2383 for ac_signal in 1 2 13 15; do
2384 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2388 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2389 rm -f -r conftest* confdefs.h
2391 $as_echo "/* confdefs.h */" > confdefs.h
2393 # Predefined preprocessor variables.
2395 cat >>confdefs.h <<_ACEOF
2396 #define PACKAGE_NAME "$PACKAGE_NAME"
2399 cat >>confdefs.h <<_ACEOF
2400 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2403 cat >>confdefs.h <<_ACEOF
2404 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2407 cat >>confdefs.h <<_ACEOF
2408 #define PACKAGE_STRING "$PACKAGE_STRING"
2411 cat >>confdefs.h <<_ACEOF
2412 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2415 cat >>confdefs.h <<_ACEOF
2416 #define PACKAGE_URL "$PACKAGE_URL"
2420 # Let the site file select an alternate cache file if it wants to.
2421 # Prefer an explicitly selected file to automatically selected ones.
2424 if test -n "$CONFIG_SITE"; then
2425 ac_site_file1=$CONFIG_SITE
2426 elif test "x$prefix" != xNONE; then
2427 ac_site_file1=$prefix/share/config.site
2428 ac_site_file2=$prefix/etc/config.site
2430 ac_site_file1=$ac_default_prefix/share/config.site
2431 ac_site_file2=$ac_default_prefix/etc/config.site
2433 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2435 test "x$ac_site_file" = xNONE && continue
2436 if test -r "$ac_site_file"; then
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2438 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2439 sed 's/^/| /' "$ac_site_file" >&5
2444 if test -r "$cache_file"; then
2445 # Some versions of bash will fail to source /dev/null (special
2446 # files actually), so we avoid doing that.
2447 if test -f "$cache_file"; then
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2449 $as_echo "$as_me: loading cache $cache_file" >&6;}
2451 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2452 *) . "./$cache_file";;
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2457 $as_echo "$as_me: creating cache $cache_file" >&6;}
2461 # Check that the precious variables saved in the cache have kept the same
2463 ac_cache_corrupted=false
2464 for ac_var in $ac_precious_vars; do
2465 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2466 eval ac_new_set=\$ac_env_${ac_var}_set
2467 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2468 eval ac_new_val=\$ac_env_${ac_var}_value
2469 case $ac_old_set,$ac_new_set in
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2472 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2473 ac_cache_corrupted=: ;;
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2476 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2477 ac_cache_corrupted=: ;;
2480 if test "x$ac_old_val" != "x$ac_new_val"; then
2481 # differences in whitespace do not lead to failure.
2482 ac_old_val_w=`echo x
$ac_old_val`
2483 ac_new_val_w=`echo x
$ac_new_val`
2484 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2486 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2487 ac_cache_corrupted=:
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2490 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2491 eval $ac_var=\$ac_old_val
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2494 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2496 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2499 # Pass precious variables to config.status.
2500 if test "$ac_new_set" = set; then
2502 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2503 *) ac_arg=$ac_var=$ac_new_val ;;
2505 case " $ac_configure_args " in
2506 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2507 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2511 if $ac_cache_corrupted; then
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2513 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2515 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2516 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2518 ## -------------------- ##
2519 ## Main body of script. ##
2520 ## -------------------- ##
2523 ac_cpp='$CPP $CPPFLAGS'
2524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2533 # This works around the fact that libtool configuration may change LD
2534 # for this particular configuration, but some shells, instead of
2535 # keeping the changes in LD private, export them just because LD is
2537 ORIGINAL_LD_FOR_MULTILIBS=$LD
2539 # Default to --enable-multilib
2540 # Check whether --enable-multilib was given.
2541 if test "${enable_multilib+set}" = set; then :
2542 enableval=$enable_multilib; case "$enableval" in
2543 yes) multilib=yes ;;
2545 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2552 # We may get other options which we leave undocumented:
2553 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2554 # See config-ml.in if you want the gory details.
2556 if test "$srcdir" = "."; then
2557 if test "$with_target_subdir" != "."; then
2558 multi_basedir="$srcdir/$with_multisrctop../.."
2560 multi_basedir="$srcdir/$with_multisrctop.."
2563 multi_basedir="$srcdir/.."
2567 # Even if the default multilib is not a cross compilation,
2568 # it may be that some of the other multilibs are.
2569 if test $cross_compiling = no && test $multilib = yes \
2570 && test "x${with_multisubdir}" != x ; then
2571 cross_compiling=maybe
2574 ac_config_commands="$ac_config_commands default-1"
2578 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2579 for ac_t in install-sh install.sh shtool; do
2580 if test -f "$ac_dir/$ac_t"; then
2582 ac_install_sh="$ac_aux_dir/$ac_t -c"
2587 if test -z "$ac_aux_dir"; then
2588 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2591 # These three variables are undocumented and unsupported,
2592 # and are intended to be withdrawn in a future Autoconf release.
2593 # They can cause serious problems if a builder's source tree is in a directory
2594 # whose full name contains unusual characters.
2595 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2596 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2597 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2600 # Make sure we can run config.sub.
2601 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2602 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2605 $as_echo_n "checking build system type... " >&6; }
2606 if test "${ac_cv_build+set}" = set; then :
2607 $as_echo_n "(cached) " >&6
2609 ac_build_alias=$build_alias
2610 test "x$ac_build_alias" = x &&
2611 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2612 test "x$ac_build_alias" = x &&
2613 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2614 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2615 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2619 $as_echo "$ac_cv_build" >&6; }
2620 case $ac_cv_build in
2622 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2625 ac_save_IFS=$IFS; IFS='-'
2631 # Remember, the first character of IFS is used to create $*,
2632 # except with old shells:
2635 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2639 $as_echo_n "checking host system type... " >&6; }
2640 if test "${ac_cv_host+set}" = set; then :
2641 $as_echo_n "(cached) " >&6
2643 if test "x$host_alias" = x; then
2644 ac_cv_host=$ac_cv_build
2646 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2647 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2652 $as_echo "$ac_cv_host" >&6; }
2655 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2658 ac_save_IFS=$IFS; IFS='-'
2664 # Remember, the first character of IFS is used to create $*,
2665 # except with old shells:
2668 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2672 $as_echo_n "checking target system type... " >&6; }
2673 if test "${ac_cv_target+set}" = set; then :
2674 $as_echo_n "(cached) " >&6
2676 if test "x$target_alias" = x; then
2677 ac_cv_target=$ac_cv_host
2679 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2680 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2685 $as_echo "$ac_cv_target" >&6; }
2686 case $ac_cv_target in
2688 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2690 target=$ac_cv_target
2691 ac_save_IFS=$IFS; IFS='-'
2697 # Remember, the first character of IFS is used to create $*,
2698 # except with old shells:
2701 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2704 # The aliases save the names the user supplied, while $host etc.
2705 # will get canonicalized.
2706 test -n "$target_alias" &&
2707 test "$program_prefix$program_suffix$program_transform_name" = \
2709 program_prefix=${target_alias}-
2711 # Get the 'noncanonical' system names.
2712 case ${build_alias} in
2713 "") build_noncanonical=${build} ;;
2714 *) build_noncanonical=${build_alias} ;;
2717 case ${host_alias} in
2718 "") host_noncanonical=${build_noncanonical} ;;
2719 *) host_noncanonical=${host_alias} ;;
2722 case ${target_alias} in
2723 "") target_noncanonical=${host_noncanonical} ;;
2724 *) target_noncanonical=${target_alias} ;;
2730 # This works around an automake problem.
2731 mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
2734 am__api_version='1.11'
2736 # Find a good install program. We prefer a C program (faster),
2737 # so one script is as good as another. But avoid the broken or
2738 # incompatible versions:
2739 # SysV /etc/install, /usr/sbin/install
2740 # SunOS /usr/etc/install
2741 # IRIX /sbin/install
2743 # AmigaOS /C/install, which installs bootblocks on floppy discs
2744 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2745 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2746 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2747 # OS/2's system install, which has a completely different semantic
2748 # ./install, which can be erroneously created by make from ./install.sh.
2749 # Reject install programs that cannot install multiple files.
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2751 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2752 if test -z "$INSTALL"; then
2753 if test "${ac_cv_path_install+set}" = set; then :
2754 $as_echo_n "(cached) " >&6
2756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2760 test -z "$as_dir" && as_dir=.
2761 # Account for people who put trailing slashes in PATH elements.
2762 case $as_dir/ in #((
2763 ./ | .// | /[cC]/* | \
2764 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2765 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2768 # OSF1 and SCO ODT 3.0 have their own names for install.
2769 # Don't use installbsd from OSF since it installs stuff as root
2771 for ac_prog in ginstall scoinst install; do
2772 for ac_exec_ext in '' $ac_executable_extensions; do
2773 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2774 if test $ac_prog = install &&
2775 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2776 # AIX install. It has an incompatible calling convention.
2778 elif test $ac_prog = install &&
2779 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2780 # program-specific install script used by HP pwplus--don't use.
2783 rm -rf conftest.one conftest.two conftest.dir
2784 echo one > conftest.one
2785 echo two > conftest.two
2787 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2788 test -s conftest.one && test -s conftest.two &&
2789 test -s conftest.dir/conftest.one &&
2790 test -s conftest.dir/conftest.two
2792 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2805 rm -rf conftest.one conftest.two conftest.dir
2808 if test "${ac_cv_path_install+set}" = set; then
2809 INSTALL=$ac_cv_path_install
2811 # As a last resort, use the slow shell script. Don't cache a
2812 # value for INSTALL within a source directory, because that will
2813 # break other packages using the cache if that directory is
2814 # removed, or if the value is a relative name.
2815 INSTALL=$ac_install_sh
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2819 $as_echo "$INSTALL" >&6; }
2821 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2822 # It thinks the first close brace ends the variable substitution.
2823 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2825 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2827 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2830 $as_echo_n "checking whether build environment is sane... " >&6; }
2833 echo timestamp > conftest.file
2834 # Reject unsafe characters in $srcdir or the absolute working directory
2835 # name. Accept space and tab only in the latter.
2839 *[\\\"\#\$\&\'\`$am_lf]*)
2840 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2843 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2844 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2847 # Do `set' in a subshell so we don't clobber the current shell's
2848 # arguments. Must try -L first in case configure is actually a
2849 # symlink; some systems play weird games with the mod time of symlinks
2850 # (eg FreeBSD returns the mod time of the symlink's containing
2853 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2854 if test "$*" = "X"; then
2856 set X
`ls -t "$srcdir/configure" conftest.file`
2859 if test "$*" != "X $srcdir/configure conftest.file" \
2860 && test "$*" != "X conftest.file $srcdir/configure"; then
2862 # If neither matched, then we have a broken ls. This can happen
2863 # if, for instance, CONFIG_SHELL is bash and it inherits a
2864 # broken ls alias from the environment. This has actually
2865 # happened. Such a system could not be considered "sane".
2866 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2867 alias in your environment" "$LINENO" 5
2870 test "$2" = conftest.
file
2876 as_fn_error
"newly created file is older than distributed files!
2877 Check your system clock" "$LINENO" 5
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2880 $as_echo "yes" >&6; }
2881 test "$program_prefix" != NONE
&&
2882 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2883 # Use a double $ so make ignores it.
2884 test "$program_suffix" != NONE
&&
2885 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2886 # Double any \ or $.
2887 # By default was `s,x,x', remove it if useless.
2888 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2889 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2891 # expand $ac_aux_dir to an absolute path
2892 am_aux_dir
=`cd $ac_aux_dir && pwd`
2894 if test x
"${MISSING+set}" != xset
; then
2897 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2899 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2902 # Use eval to expand $SHELL
2903 if eval "$MISSING --run true"; then
2904 am_missing_run
="$MISSING --run "
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2908 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2911 if test x
"${install_sh}" != xset
; then
2914 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2916 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2920 # Installed binaries are usually stripped using `strip' when the user
2921 # run `make install-strip'. However `strip' might not be the right
2922 # tool to use in cross-compilation environments, therefore Automake
2923 # will honor the `STRIP' environment variable to overrule this program.
2924 if test "$cross_compiling" != no
; then
2925 if test -n "$ac_tool_prefix"; then
2926 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2927 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2929 $as_echo_n "checking for $ac_word... " >&6; }
2930 if test "${ac_cv_prog_STRIP+set}" = set; then :
2931 $as_echo_n "(cached) " >&6
2933 if test -n "$STRIP"; then
2934 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2940 test -z "$as_dir" && as_dir
=.
2941 for ac_exec_ext
in '' $ac_executable_extensions; do
2942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2943 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2953 STRIP
=$ac_cv_prog_STRIP
2954 if test -n "$STRIP"; then
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2956 $as_echo "$STRIP" >&6; }
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2959 $as_echo "no" >&6; }
2964 if test -z "$ac_cv_prog_STRIP"; then
2966 # Extract the first word of "strip", so it can be a program name with args.
2967 set dummy strip
; ac_word
=$2
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2969 $as_echo_n "checking for $ac_word... " >&6; }
2970 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2971 $as_echo_n "(cached) " >&6
2973 if test -n "$ac_ct_STRIP"; then
2974 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2980 test -z "$as_dir" && as_dir
=.
2981 for ac_exec_ext
in '' $ac_executable_extensions; do
2982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2983 ac_cv_prog_ac_ct_STRIP
="strip"
2984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2993 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2994 if test -n "$ac_ct_STRIP"; then
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2996 $as_echo "$ac_ct_STRIP" >&6; }
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2999 $as_echo "no" >&6; }
3002 if test "x$ac_ct_STRIP" = x
; then
3005 case $cross_compiling:$ac_tool_warned in
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3008 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3009 ac_tool_warned
=yes ;;
3014 STRIP
="$ac_cv_prog_STRIP"
3018 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3021 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3022 if test -z "$MKDIR_P"; then
3023 if test "${ac_cv_path_mkdir+set}" = set; then :
3024 $as_echo_n "(cached) " >&6
3026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3027 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3030 test -z "$as_dir" && as_dir
=.
3031 for ac_prog
in mkdir gmkdir
; do
3032 for ac_exec_ext
in '' $ac_executable_extensions; do
3033 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3034 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3035 'mkdir (GNU coreutils) '* | \
3036 'mkdir (coreutils) '* | \
3037 'mkdir (fileutils) '4.1*)
3038 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3048 if test "${ac_cv_path_mkdir+set}" = set; then
3049 MKDIR_P
="$ac_cv_path_mkdir -p"
3051 # As a last resort, use the slow shell script. Don't cache a
3052 # value for MKDIR_P within a source directory, because that will
3053 # break other packages using the cache if that directory is
3054 # removed, or if the value is a relative name.
3055 test -d .
/--version && rmdir .
/--version
3056 MKDIR_P
="$ac_install_sh -d"
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3060 $as_echo "$MKDIR_P" >&6; }
3064 [\\/$
]* | ?
:[\\/]*) ;;
3065 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3068 for ac_prog
in gawk mawk nawk
awk
3070 # Extract the first word of "$ac_prog", so it can be a program name with args.
3071 set dummy
$ac_prog; ac_word
=$2
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3073 $as_echo_n "checking for $ac_word... " >&6; }
3074 if test "${ac_cv_prog_AWK+set}" = set; then :
3075 $as_echo_n "(cached) " >&6
3077 if test -n "$AWK"; then
3078 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3084 test -z "$as_dir" && as_dir
=.
3085 for ac_exec_ext
in '' $ac_executable_extensions; do
3086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3087 ac_cv_prog_AWK
="$ac_prog"
3088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3098 if test -n "$AWK"; then
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3100 $as_echo "$AWK" >&6; }
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3103 $as_echo "no" >&6; }
3107 test -n "$AWK" && break
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3111 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3113 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3114 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3115 $as_echo_n "(cached) " >&6
3117 cat >conftest.
make <<\_ACEOF
3120 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3122 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3123 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3125 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3127 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3131 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3133 $as_echo "yes" >&6; }
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3137 $as_echo "no" >&6; }
3138 SET_MAKE
="MAKE=${MAKE-make}"
3141 rm -rf .tst
2>/dev
/null
3142 mkdir .tst
2>/dev
/null
3143 if test -d .tst
; then
3148 rmdir .tst
2>/dev
/null
3150 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3151 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3152 # is not polluted with repeated "-I."
3153 am__isrc
=' -I$(srcdir)'
3154 # test to see if srcdir already configured
3155 if test -f $srcdir/config.status
; then
3156 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3160 # test whether we have cygpath
3161 if test -z "$CYGPATH_W"; then
3162 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3163 CYGPATH_W
='cygpath -w'
3170 # Define the identity of the package.
3175 # Some tools Automake needs.
3177 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3180 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3183 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3186 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3189 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3191 # We need awk for the "check" target. The system "awk" is bad on
3193 # Always define AMTAR for backward compatibility.
3195 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3197 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3204 # The autoconf 2.5x version of the no-executables hack.
3207 # Yak. We must force CC and CXX to /not/ be precious variables; otherwise
3208 # the wrong, non-multilib-adjusted value will be used in multilibs.
3209 # As a side effect, we have to subst CFLAGS and CXXFLAGS ourselves.
3214 ac_cpp
='$CPP $CPPFLAGS'
3215 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3216 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3217 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3218 if test -n "$ac_tool_prefix"; then
3219 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3220 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3222 $as_echo_n "checking for $ac_word... " >&6; }
3223 if test "${ac_cv_prog_CC+set}" = set; then :
3224 $as_echo_n "(cached) " >&6
3226 if test -n "$CC"; then
3227 ac_cv_prog_CC
="$CC" # Let the user override the test.
3229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3233 test -z "$as_dir" && as_dir
=.
3234 for ac_exec_ext
in '' $ac_executable_extensions; do
3235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3236 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3247 if test -n "$CC"; then
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3249 $as_echo "$CC" >&6; }
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3252 $as_echo "no" >&6; }
3257 if test -z "$ac_cv_prog_CC"; then
3259 # Extract the first word of "gcc", so it can be a program name with args.
3260 set dummy gcc
; ac_word
=$2
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3262 $as_echo_n "checking for $ac_word... " >&6; }
3263 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3264 $as_echo_n "(cached) " >&6
3266 if test -n "$ac_ct_CC"; then
3267 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3273 test -z "$as_dir" && as_dir
=.
3274 for ac_exec_ext
in '' $ac_executable_extensions; do
3275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3276 ac_cv_prog_ac_ct_CC
="gcc"
3277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3286 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3287 if test -n "$ac_ct_CC"; then
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3289 $as_echo "$ac_ct_CC" >&6; }
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3292 $as_echo "no" >&6; }
3295 if test "x$ac_ct_CC" = x
; then
3298 case $cross_compiling:$ac_tool_warned in
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3301 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3302 ac_tool_warned
=yes ;;
3310 if test -z "$CC"; then
3311 if test -n "$ac_tool_prefix"; then
3312 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3313 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3315 $as_echo_n "checking for $ac_word... " >&6; }
3316 if test "${ac_cv_prog_CC+set}" = set; then :
3317 $as_echo_n "(cached) " >&6
3319 if test -n "$CC"; then
3320 ac_cv_prog_CC
="$CC" # Let the user override the test.
3322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3326 test -z "$as_dir" && as_dir
=.
3327 for ac_exec_ext
in '' $ac_executable_extensions; do
3328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3329 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3340 if test -n "$CC"; then
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3342 $as_echo "$CC" >&6; }
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3345 $as_echo "no" >&6; }
3351 if test -z "$CC"; then
3352 # Extract the first word of "cc", so it can be a program name with args.
3353 set dummy cc
; ac_word
=$2
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3355 $as_echo_n "checking for $ac_word... " >&6; }
3356 if test "${ac_cv_prog_CC+set}" = set; then :
3357 $as_echo_n "(cached) " >&6
3359 if test -n "$CC"; then
3360 ac_cv_prog_CC
="$CC" # Let the user override the test.
3363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3367 test -z "$as_dir" && as_dir
=.
3368 for ac_exec_ext
in '' $ac_executable_extensions; do
3369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3370 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3371 ac_prog_rejected
=yes
3375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3382 if test $ac_prog_rejected = yes; then
3383 # We found a bogon in the path, so make sure we never use it.
3384 set dummy
$ac_cv_prog_CC
3386 if test $# != 0; then
3387 # We chose a different compiler from the bogus one.
3388 # However, it has the same basename, so the bogon will be chosen
3389 # first if we set CC to just the basename; use the full file name.
3391 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3397 if test -n "$CC"; then
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3399 $as_echo "$CC" >&6; }
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3402 $as_echo "no" >&6; }
3407 if test -z "$CC"; then
3408 if test -n "$ac_tool_prefix"; then
3409 for ac_prog
in cl.exe
3411 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3412 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3414 $as_echo_n "checking for $ac_word... " >&6; }
3415 if test "${ac_cv_prog_CC+set}" = set; then :
3416 $as_echo_n "(cached) " >&6
3418 if test -n "$CC"; then
3419 ac_cv_prog_CC
="$CC" # Let the user override the test.
3421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3425 test -z "$as_dir" && as_dir
=.
3426 for ac_exec_ext
in '' $ac_executable_extensions; do
3427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3428 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3439 if test -n "$CC"; then
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3441 $as_echo "$CC" >&6; }
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3444 $as_echo "no" >&6; }
3448 test -n "$CC" && break
3451 if test -z "$CC"; then
3453 for ac_prog
in cl.exe
3455 # Extract the first word of "$ac_prog", so it can be a program name with args.
3456 set dummy
$ac_prog; ac_word
=$2
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3458 $as_echo_n "checking for $ac_word... " >&6; }
3459 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3460 $as_echo_n "(cached) " >&6
3462 if test -n "$ac_ct_CC"; then
3463 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3469 test -z "$as_dir" && as_dir
=.
3470 for ac_exec_ext
in '' $ac_executable_extensions; do
3471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3472 ac_cv_prog_ac_ct_CC
="$ac_prog"
3473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3482 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3483 if test -n "$ac_ct_CC"; then
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3485 $as_echo "$ac_ct_CC" >&6; }
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3488 $as_echo "no" >&6; }
3492 test -n "$ac_ct_CC" && break
3495 if test "x$ac_ct_CC" = x
; then
3498 case $cross_compiling:$ac_tool_warned in
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3502 ac_tool_warned
=yes ;;
3511 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3512 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3513 as_fn_error
"no acceptable C compiler found in \$PATH
3514 See \`config.log' for more details." "$LINENO" 5; }
3516 # Provide some information about the compiler.
3517 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3520 for ac_option
in --version -v -V -qversion; do
3521 { { ac_try
="$ac_compiler $ac_option >&5"
3523 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3524 *) ac_try_echo=$ac_try;;
3526 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3527 $as_echo "$ac_try_echo"; } >&5
3528 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3530 if test -s conftest.err; then
3532 ... rest of stderr output deleted ...
3533 10q' conftest.err >conftest.er1
3534 cat conftest.er1 >&5
3535 rm -f conftest.er1 conftest.err
3537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3538 test $ac_status = 0; }
3541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3542 /* end confdefs.h. */
3553 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3554 (eval $ac_link) 2>&5
3556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3557 test $ac_status = 0; }; then :
3562 if test x$gcc_no_link = xyes; then
3563 # Setting cross_compile will disable run tests; it will
3564 # also disable AC_CHECK_FILE but that's generally
3565 # correct if we can't link.
3569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3570 /* end confdefs.h. */
3580 ac_clean_files_save=$ac_clean_files
3581 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3582 # Try to create an executable without -o first, disregard a.out.
3583 # It will help us diagnose broken compilers, and finding out an intuition
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3586 $as_echo_n "checking for C compiler default output file name... " >&6; }
3587 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3589 # The possible output files:
3590 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3593 for ac_file in $ac_files
3596 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3597 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3602 if { { ac_try="$ac_link_default"
3604 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3605 *) ac_try_echo
=$ac_try;;
3607 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3608 $as_echo "$ac_try_echo"; } >&5
3609 (eval "$ac_link_default") 2>&5
3611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3612 test $ac_status = 0; }; then :
3613 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3614 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3615 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3616 # so that the user can short-circuit this test for compilers unknown to
3618 for ac_file
in $ac_files ''
3620 test -f "$ac_file" ||
continue
3622 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3625 # We found the default executable, but exeext='' is most
3629 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3631 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3633 # We set ac_cv_exeext here because the later test for it is not
3634 # safe: cross compilers may not add the suffix if given an `-o'
3635 # argument, so we may need to know it at that point already.
3636 # Even if this section looks crufty: it has the advantage of
3643 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3649 $as_echo "$ac_file" >&6; }
3650 if test -z "$ac_file"; then :
3651 $as_echo "$as_me: failed program was:" >&5
3652 sed 's/^/| /' conftest.
$ac_ext >&5
3654 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3655 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3656 { as_fn_set_status
77
3657 as_fn_error
"C compiler cannot create executables
3658 See \`config.log' for more details." "$LINENO" 5; }; }
3660 ac_exeext
=$ac_cv_exeext
3662 # Check that the compiler produces executables we can run. If not, either
3663 # the compiler is broken, or we cross compile.
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3665 $as_echo_n "checking whether the C compiler works... " >&6; }
3666 # If not cross compiling, check that we can run a simple program.
3667 if test "$cross_compiling" != yes; then
3668 if { ac_try
='./$ac_file'
3669 { { case "(($ac_try" in
3670 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3671 *) ac_try_echo=$ac_try;;
3673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3674 $as_echo "$ac_try_echo"; } >&5
3675 (eval "$ac_try") 2>&5
3677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3678 test $ac_status = 0; }; }; then
3681 if test "$cross_compiling" = maybe; then
3684 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3685 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3686 as_fn_error "cannot run C compiled programs.
3687 If you meant to cross compile
, use \
`--host'.
3688 See \`config.log
' for more details." "$LINENO" 5; }
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3693 $as_echo "yes" >&6; }
3695 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3696 ac_clean_files=$ac_clean_files_save
3697 # Check that the compiler produces executables we can run. If not, either
3698 # the compiler is broken, or we cross compile.
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3700 $as_echo_n "checking whether we are cross compiling... " >&6; }
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3702 $as_echo "$cross_compiling" >&6; }
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3705 $as_echo_n "checking for suffix of executables... " >&6; }
3706 if { { ac_try="$ac_link"
3708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3709 *) ac_try_echo=$ac_try;;
3711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3712 $as_echo "$ac_try_echo"; } >&5
3713 (eval "$ac_link") 2>&5
3715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3716 test $ac_status = 0; }; then :
3717 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3718 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3719 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3721 for ac_file
in conftest.exe conftest conftest.
*; do
3722 test -f "$ac_file" ||
continue
3724 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3725 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3731 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3733 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3734 See \`config.log' for more details." "$LINENO" 5; }
3736 rm -f conftest
$ac_cv_exeext
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3738 $as_echo "$ac_cv_exeext" >&6; }
3740 rm -f conftest.
$ac_ext
3741 EXEEXT
=$ac_cv_exeext
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3745 $as_echo_n "checking for suffix of object files... " >&6; }
3746 if test "${ac_cv_objext+set}" = set; then :
3747 $as_echo_n "(cached) " >&6
3749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3750 /* end confdefs.h. */
3760 rm -f conftest.o conftest.obj
3761 if { { ac_try
="$ac_compile"
3763 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3764 *) ac_try_echo=$ac_try;;
3766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3767 $as_echo "$ac_try_echo"; } >&5
3768 (eval "$ac_compile") 2>&5
3770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3771 test $ac_status = 0; }; then :
3772 for ac_file in conftest.o conftest.obj conftest.*; do
3773 test -f "$ac_file" || continue;
3775 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3776 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3781 $as_echo "$as_me: failed program was:" >&5
3782 sed 's/^/| /' conftest.$ac_ext >&5
3784 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3785 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3786 as_fn_error "cannot compute suffix of object files
: cannot compile
3787 See \
`config.log' for more details." "$LINENO" 5; }
3789 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3792 $as_echo "$ac_cv_objext" >&6; }
3793 OBJEXT=$ac_cv_objext
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3796 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3797 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3798 $as_echo_n "(cached) " >&6
3800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3801 /* end confdefs.h. */
3814 if ac_fn_c_try_compile "$LINENO"; then :
3819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3820 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3824 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3825 if test $ac_compiler_gnu = yes; then
3830 ac_test_CFLAGS=${CFLAGS+set}
3831 ac_save_CFLAGS=$CFLAGS
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3833 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3834 if test "${ac_cv_prog_cc_g+set}" = set; then :
3835 $as_echo_n "(cached) " >&6
3837 ac_save_c_werror_flag=$ac_c_werror_flag
3838 ac_c_werror_flag=yes
3841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3842 /* end confdefs.h. */
3852 if ac_fn_c_try_compile "$LINENO"; then :
3856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3857 /* end confdefs.h. */
3867 if ac_fn_c_try_compile "$LINENO"; then :
3870 ac_c_werror_flag=$ac_save_c_werror_flag
3872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3873 /* end confdefs.h. */
3883 if ac_fn_c_try_compile "$LINENO"; then :
3886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3891 ac_c_werror_flag=$ac_save_c_werror_flag
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3894 $as_echo "$ac_cv_prog_cc_g" >&6; }
3895 if test "$ac_test_CFLAGS" = set; then
3896 CFLAGS=$ac_save_CFLAGS
3897 elif test $ac_cv_prog_cc_g = yes; then
3898 if test "$GCC" = yes; then
3904 if test "$GCC" = yes; then
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3911 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3912 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3913 $as_echo_n "(cached) " >&6
3915 ac_cv_prog_cc_c89=no
3917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3918 /* end confdefs.h. */
3921 #include <sys/types.h>
3922 #include <sys/stat.h>
3923 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3924 struct buf { int x; };
3925 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3926 static char *e (p, i)
3932 static char *f (char * (*g) (char **, int), char **p, ...)
3937 s = g (p, va_arg (v,int));
3942 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3943 function prototypes and stuff, but not '\xHH' hex character constants.
3944 These don't provoke an error unfortunately, instead are silently treated
3945 as 'x'. The following induces an error, until -std is added to get
3946 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3947 array size at least. It's necessary to write '\x00'==0 to get something
3948 that's true only with -std. */
3949 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3951 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3952 inside strings and character constants. */
3954 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3956 int test (int i, double x);
3957 struct s1 {int (*f) (int a);};
3958 struct s2 {int (*f) (double a);};
3959 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3965 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3970 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3971 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3973 CC="$ac_save_CC $ac_arg"
3974 if ac_fn_c_try_compile "$LINENO"; then :
3975 ac_cv_prog_cc_c89=$ac_arg
3977 rm -f core conftest.err conftest.$ac_objext
3978 test "x$ac_cv_prog_cc_c89" != "xno" && break
3980 rm -f conftest.$ac_ext
3985 case "x$ac_cv_prog_cc_c89" in
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3988 $as_echo "none needed" >&6; } ;;
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3991 $as_echo "unsupported" >&6; } ;;
3993 CC="$CC $ac_cv_prog_cc_c89"
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3995 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3997 if test "x$ac_cv_prog_cc_c89" != xno; then :
4002 ac_cpp='$CPP $CPPFLAGS'
4003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4006 DEPDIR="${am__leading_dot}deps"
4008 ac_config_commands="$ac_config_commands depfiles"
4011 am_make=${MAKE-make}
4012 cat > confinc << 'END'
4014 @echo this is the am__doit target
4017 # If we don't find an include directive, just comment out the code.
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4019 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4023 # First try GNU make style include.
4024 echo "include confinc" > confmf
4025 # Ignore all kinds of additional output from `make'.
4026 case `$am_make -s -f confmf 2> /dev/null` in #(
4027 *the\ am__doit\ target*)
4033 # Now try BSD make style include.
4034 if test "$am__include" = "#"; then
4035 echo '.include
"confinc"' > confmf
4036 case `$am_make -s -f confmf 2> /dev/null` in #(
4037 *the\ am__doit\ target*)
4038 am__include=.include
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4047 $as_echo "$_am_result" >&6; }
4048 rm -f confinc confmf
4050 # Check whether --enable-dependency-tracking was given.
4051 if test "${enable_dependency_tracking+set}" = set; then :
4052 enableval=$enable_dependency_tracking;
4055 if test "x$enable_dependency_tracking" != xno; then
4056 am_depcomp="$ac_aux_dir/depcomp"
4059 if test "x$enable_dependency_tracking" != xno
; then
4069 depcc
="$CC" am_compiler_list
=
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4072 $as_echo_n "checking dependency style of $depcc... " >&6; }
4073 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4074 $as_echo_n "(cached) " >&6
4076 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4077 # We make a subdir and do the tests there. Otherwise we can end up
4078 # making bogus files that we don't know about and never remove. For
4079 # instance it was reported that on HP-UX the gcc test will end up
4080 # making a dummy file named `D' -- because `-MD' means `put the output
4083 # Copy depcomp to subdir because otherwise we won't find it if we're
4084 # using a relative directory.
4085 cp "$am_depcomp" conftest.dir
4087 # We will build objects and dependencies in a subdirectory because
4088 # it helps to detect inapplicable dependency modes. For instance
4089 # both Tru64's cc and ICC support -MD to output dependencies as a
4090 # side effect of compilation, but ICC will put the dependencies in
4091 # the current directory while Tru64 will put them in the object
4095 am_cv_CC_dependencies_compiler_type
=none
4096 if test "$am_compiler_list" = ""; then
4097 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4100 case " $depcc " in #(
4101 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4104 for depmode
in $am_compiler_list; do
4105 # Setup a source with many dependencies, because some compilers
4106 # like to wrap large dependency lists on column 80 (with \), and
4107 # we should not choose a depcomp mode which is confused by this.
4109 # We need to recreate these files for each test, as the compiler may
4110 # overwrite some of them when testing with obscure command lines.
4111 # This happens at least with the AIX C compiler.
4113 for i
in 1 2 3 4 5 6; do
4114 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4115 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4116 # Solaris 8's {/usr,}/bin/sh.
4117 touch sub
/conftst
$i.h
4119 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4121 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4122 # mode. It turns out that the SunPro C++ compiler does not properly
4123 # handle `-M -o', and we need to detect this. Also, some Intel
4124 # versions had trouble with output in subdirs
4125 am__obj
=sub
/conftest.
${OBJEXT-o}
4126 am__minus_obj
="-o $am__obj"
4129 # This depmode causes a compiler race in universal mode.
4130 test "$am__universal" = false ||
continue
4133 # after this tag, mechanisms are not by side-effect, so they'll
4134 # only be used when explicitly requested
4135 if test "x$enable_dependency_tracking" = xyes
; then
4141 msvisualcpp | msvcmsys
)
4142 # This compiler won't grok `-c -o', but also, the minuso test has
4143 # not run yet. These depmodes are late enough in the game, and
4144 # so weak that their functioning should not be impacted.
4145 am__obj
=conftest.
${OBJEXT-o}
4150 if depmode
=$depmode \
4151 source=sub
/conftest.c object
=$am__obj \
4152 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4153 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4154 >/dev
/null
2>conftest.err
&&
4155 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4156 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4157 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4158 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4159 # icc doesn't choke on unknown options, it will just issue warnings
4160 # or remarks (even with -Werror). So we grep stderr for any message
4161 # that says an option was ignored or not supported.
4162 # When given -MP, icc 7.0 and 7.1 complain thusly:
4163 # icc: Command line warning: ignoring option '-M'; no argument required
4164 # The diagnosis changed in icc 8.0:
4165 # icc: Command line remark: option '-MP' not supported
4166 if (grep 'ignoring option' conftest.err ||
4167 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4168 am_cv_CC_dependencies_compiler_type
=$depmode
4177 am_cv_CC_dependencies_compiler_type
=none
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4182 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4183 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4186 test "x$enable_dependency_tracking" != xno \
4187 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4189 am__fastdepCC_FALSE
='#'
4191 am__fastdepCC_TRUE
='#'
4192 am__fastdepCC_FALSE
=
4197 ac_cpp
='$CXXCPP $CPPFLAGS'
4198 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4199 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4200 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4201 if test -z "$CXX"; then
4202 if test -n "$CCC"; then
4205 if test -n "$ac_tool_prefix"; then
4206 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4208 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4209 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4211 $as_echo_n "checking for $ac_word... " >&6; }
4212 if test "${ac_cv_prog_CXX+set}" = set; then :
4213 $as_echo_n "(cached) " >&6
4215 if test -n "$CXX"; then
4216 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4222 test -z "$as_dir" && as_dir
=.
4223 for ac_exec_ext
in '' $ac_executable_extensions; do
4224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4225 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4236 if test -n "$CXX"; then
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4238 $as_echo "$CXX" >&6; }
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4241 $as_echo "no" >&6; }
4245 test -n "$CXX" && break
4248 if test -z "$CXX"; then
4250 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4252 # Extract the first word of "$ac_prog", so it can be a program name with args.
4253 set dummy
$ac_prog; ac_word
=$2
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4255 $as_echo_n "checking for $ac_word... " >&6; }
4256 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4257 $as_echo_n "(cached) " >&6
4259 if test -n "$ac_ct_CXX"; then
4260 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4266 test -z "$as_dir" && as_dir
=.
4267 for ac_exec_ext
in '' $ac_executable_extensions; do
4268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4269 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4279 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4280 if test -n "$ac_ct_CXX"; then
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4282 $as_echo "$ac_ct_CXX" >&6; }
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4285 $as_echo "no" >&6; }
4289 test -n "$ac_ct_CXX" && break
4292 if test "x$ac_ct_CXX" = x
; then
4295 case $cross_compiling:$ac_tool_warned in
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4299 ac_tool_warned
=yes ;;
4307 # Provide some information about the compiler.
4308 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4311 for ac_option
in --version -v -V -qversion; do
4312 { { ac_try
="$ac_compiler $ac_option >&5"
4314 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4315 *) ac_try_echo=$ac_try;;
4317 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4318 $as_echo "$ac_try_echo"; } >&5
4319 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4321 if test -s conftest.err; then
4323 ... rest of stderr output deleted ...
4324 10q' conftest.err >conftest.er1
4325 cat conftest.er1 >&5
4326 rm -f conftest.er1 conftest.err
4328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4329 test $ac_status = 0; }
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4333 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4334 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4335 $as_echo_n "(cached) " >&6
4337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4338 /* end confdefs.h. */
4351 if ac_fn_cxx_try_compile "$LINENO"; then :
4356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4357 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4361 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4362 if test $ac_compiler_gnu = yes; then
4367 ac_test_CXXFLAGS=${CXXFLAGS+set}
4368 ac_save_CXXFLAGS=$CXXFLAGS
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4370 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4371 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4372 $as_echo_n "(cached) " >&6
4374 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4375 ac_cxx_werror_flag=yes
4378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4379 /* end confdefs.h. */
4389 if ac_fn_cxx_try_compile "$LINENO"; then :
4390 ac_cv_prog_cxx_g=yes
4393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4394 /* end confdefs.h. */
4404 if ac_fn_cxx_try_compile "$LINENO"; then :
4407 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4410 /* end confdefs.h. */
4420 if ac_fn_cxx_try_compile "$LINENO"; then :
4421 ac_cv_prog_cxx_g=yes
4423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4428 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4431 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4432 if test "$ac_test_CXXFLAGS" = set; then
4433 CXXFLAGS=$ac_save_CXXFLAGS
4434 elif test $ac_cv_prog_cxx_g = yes; then
4435 if test "$GXX" = yes; then
4441 if test "$GXX" = yes; then
4448 ac_cpp='$CPP $CPPFLAGS'
4449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4453 depcc="$CXX" am_compiler_list=
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4456 $as_echo_n "checking dependency style of $depcc... " >&6; }
4457 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4458 $as_echo_n "(cached) " >&6
4460 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4461 # We make a subdir and do the tests there. Otherwise we can end up
4462 # making bogus files that we don't know about and never remove. For
4463 # instance it was reported that on HP-UX the gcc test will end up
4464 # making a dummy file named `D
' -- because `-MD' means
`put the output
4467 # Copy depcomp to subdir because otherwise we won't find it if we're
4468 # using a relative directory.
4469 cp "$am_depcomp" conftest.dir
4471 # We will build objects and dependencies in a subdirectory because
4472 # it helps to detect inapplicable dependency modes. For instance
4473 # both Tru64's cc and ICC support -MD to output dependencies as a
4474 # side effect of compilation, but ICC will put the dependencies in
4475 # the current directory while Tru64 will put them in the object
4479 am_cv_CXX_dependencies_compiler_type=none
4480 if test "$am_compiler_list" = ""; then
4481 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4484 case " $depcc " in #(
4485 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4488 for depmode in $am_compiler_list; do
4489 # Setup a source with many dependencies, because some compilers
4490 # like to wrap large dependency lists on column 80 (with \), and
4491 # we should not choose a depcomp mode which is confused by this.
4493 # We need to recreate these files for each test, as the compiler may
4494 # overwrite some of them when testing with obscure command lines.
4495 # This happens at least with the AIX C compiler.
4497 for i in 1 2 3 4 5 6; do
4498 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4499 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4500 # Solaris 8's
{/usr
,}/bin
/sh.
4501 touch sub
/conftst
$i.h
4503 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4505 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4506 # mode. It turns out that the SunPro C++ compiler does not properly
4507 # handle `-M -o', and we need to detect this. Also, some Intel
4508 # versions had trouble with output in subdirs
4509 am__obj
=sub
/conftest.
${OBJEXT-o}
4510 am__minus_obj
="-o $am__obj"
4513 # This depmode causes a compiler race in universal mode.
4514 test "$am__universal" = false ||
continue
4517 # after this tag, mechanisms are not by side-effect, so they'll
4518 # only be used when explicitly requested
4519 if test "x$enable_dependency_tracking" = xyes
; then
4525 msvisualcpp | msvcmsys
)
4526 # This compiler won't grok `-c -o', but also, the minuso test has
4527 # not run yet. These depmodes are late enough in the game, and
4528 # so weak that their functioning should not be impacted.
4529 am__obj
=conftest.
${OBJEXT-o}
4534 if depmode
=$depmode \
4535 source=sub
/conftest.c object
=$am__obj \
4536 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4537 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4538 >/dev
/null
2>conftest.err
&&
4539 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4540 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4541 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4542 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4543 # icc doesn't choke on unknown options, it will just issue warnings
4544 # or remarks (even with -Werror). So we grep stderr for any message
4545 # that says an option was ignored or not supported.
4546 # When given -MP, icc 7.0 and 7.1 complain thusly:
4547 # icc: Command line warning: ignoring option '-M'; no argument required
4548 # The diagnosis changed in icc 8.0:
4549 # icc: Command line remark: option '-MP' not supported
4550 if (grep 'ignoring option' conftest.err ||
4551 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4552 am_cv_CXX_dependencies_compiler_type
=$depmode
4561 am_cv_CXX_dependencies_compiler_type
=none
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4566 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4567 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4570 test "x$enable_dependency_tracking" != xno \
4571 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4572 am__fastdepCXX_TRUE
=
4573 am__fastdepCXX_FALSE
='#'
4575 am__fastdepCXX_TRUE
='#'
4576 am__fastdepCXX_FALSE
=
4582 if test "x$CC" != xcc
; then
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4584 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4587 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4589 set dummy
$CC; ac_cc
=`$as_echo "$2" |
4590 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4591 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
4592 $as_echo_n "(cached) " >&6
4594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4595 /* end confdefs.h. */
4605 # Make sure it works both with $CC and with simple cc.
4606 # We do the test twice because some compilers refuse to overwrite an
4607 # existing .o file with -o, though they will create one.
4608 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4610 if { { case "(($ac_try" in
4611 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4612 *) ac_try_echo=$ac_try;;
4614 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4615 $as_echo "$ac_try_echo"; } >&5
4616 (eval "$ac_try") 2>&5
4618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4619 test $ac_status = 0; } &&
4620 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4621 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4622 *) ac_try_echo
=$ac_try;;
4624 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4625 $as_echo "$ac_try_echo"; } >&5
4626 (eval "$ac_try") 2>&5
4628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4629 test $ac_status = 0; };
4631 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
4632 if test "x$CC" != xcc
; then
4633 # Test first that cc exists at all.
4634 if { ac_try
='cc -c conftest.$ac_ext >&5'
4635 { { case "(($ac_try" in
4636 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4637 *) ac_try_echo=$ac_try;;
4639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4640 $as_echo "$ac_try_echo"; } >&5
4641 (eval "$ac_try") 2>&5
4643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4644 test $ac_status = 0; }; }; then
4645 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4647 if { { case "(($ac_try" in
4648 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4649 *) ac_try_echo
=$ac_try;;
4651 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4652 $as_echo "$ac_try_echo"; } >&5
4653 (eval "$ac_try") 2>&5
4655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4656 test $ac_status = 0; } &&
4657 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
4658 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4659 *) ac_try_echo=$ac_try;;
4661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4662 $as_echo "$ac_try_echo"; } >&5
4663 (eval "$ac_try") 2>&5
4665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4666 test $ac_status = 0; };
4671 # cc exists but doesn't like -o.
4672 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4677 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4679 rm -f core conftest*
4682 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4684 $as_echo "yes" >&6; }
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4687 $as_echo "no" >&6; }
4689 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4693 # FIXME: we rely on the cache variable name because
4694 # there is no other way.
4696 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4697 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4698 if test "$am_t" != yes; then
4699 # Losing compiler, so override with the script.
4700 # FIXME: It is wrong to rewrite CC.
4701 # But if we don't then we get into trouble of one sort or another.
4702 # A longer-term fix would be to have automake use am__CC in this case,
4703 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4704 CC="$am_aux_dir/compile $CC"
4712 # Newer automakes demand CCAS and CCASFLAGS.
4714 : ${CCASFLAGS='$(CFLAGS)'}
4718 if test -n "$ac_tool_prefix"; then
4719 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4720 set dummy ${ac_tool_prefix}as; ac_word=$2
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4722 $as_echo_n "checking for $ac_word... " >&6; }
4723 if test "${ac_cv_prog_AS+set}" = set; then :
4724 $as_echo_n "(cached) " >&6
4726 if test -n "$AS"; then
4727 ac_cv_prog_AS="$AS" # Let the user override the test.
4729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4733 test -z "$as_dir" && as_dir=.
4734 for ac_exec_ext in '' $ac_executable_extensions; do
4735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4736 ac_cv_prog_AS="${ac_tool_prefix}as"
4737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4747 if test -n "$AS"; then
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4749 $as_echo "$AS" >&6; }
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4752 $as_echo "no" >&6; }
4757 if test -z "$ac_cv_prog_AS"; then
4759 # Extract the first word of "as", so it can be a program name with args.
4760 set dummy as; ac_word=$2
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4762 $as_echo_n "checking for $ac_word... " >&6; }
4763 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4764 $as_echo_n "(cached) " >&6
4766 if test -n "$ac_ct_AS"; then
4767 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4773 test -z "$as_dir" && as_dir=.
4774 for ac_exec_ext in '' $ac_executable_extensions; do
4775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4776 ac_cv_prog_ac_ct_AS="as"
4777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4786 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4787 if test -n "$ac_ct_AS"; then
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4789 $as_echo "$ac_ct_AS" >&6; }
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4792 $as_echo "no" >&6; }
4795 if test "x$ac_ct_AS" = x; then
4798 case $cross_compiling:$ac_tool_warned in
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4801 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4802 ac_tool_warned=yes ;;
4810 if test -n "$ac_tool_prefix"; then
4811 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4812 set dummy ${ac_tool_prefix}ar; ac_word=$2
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4814 $as_echo_n "checking for $ac_word... " >&6; }
4815 if test "${ac_cv_prog_AR+set}" = set; then :
4816 $as_echo_n "(cached) " >&6
4818 if test -n "$AR"; then
4819 ac_cv_prog_AR="$AR" # Let the user override the test.
4821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4825 test -z "$as_dir" && as_dir=.
4826 for ac_exec_ext in '' $ac_executable_extensions; do
4827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4828 ac_cv_prog_AR="${ac_tool_prefix}ar"
4829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4839 if test -n "$AR"; then
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4841 $as_echo "$AR" >&6; }
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4844 $as_echo "no" >&6; }
4849 if test -z "$ac_cv_prog_AR"; then
4851 # Extract the first word of "ar", so it can be a program name with args.
4852 set dummy ar; ac_word=$2
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4854 $as_echo_n "checking for $ac_word... " >&6; }
4855 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4856 $as_echo_n "(cached) " >&6
4858 if test -n "$ac_ct_AR"; then
4859 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4865 test -z "$as_dir" && as_dir=.
4866 for ac_exec_ext in '' $ac_executable_extensions; do
4867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4868 ac_cv_prog_ac_ct_AR="ar"
4869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4878 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4879 if test -n "$ac_ct_AR"; then
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4881 $as_echo "$ac_ct_AR" >&6; }
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4884 $as_echo "no" >&6; }
4887 if test "x$ac_ct_AR" = x; then
4890 case $cross_compiling:$ac_tool_warned in
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4894 ac_tool_warned=yes ;;
4902 if test -n "$ac_tool_prefix"; then
4903 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4904 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4906 $as_echo_n "checking for $ac_word... " >&6; }
4907 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4908 $as_echo_n "(cached) " >&6
4910 if test -n "$RANLIB"; then
4911 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4917 test -z "$as_dir" && as_dir=.
4918 for ac_exec_ext in '' $ac_executable_extensions; do
4919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4920 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4930 RANLIB=$ac_cv_prog_RANLIB
4931 if test -n "$RANLIB"; then
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4933 $as_echo "$RANLIB" >&6; }
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4936 $as_echo "no" >&6; }
4941 if test -z "$ac_cv_prog_RANLIB"; then
4942 ac_ct_RANLIB=$RANLIB
4943 # Extract the first word of "ranlib", so it can be a program name with args.
4944 set dummy ranlib; ac_word=$2
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4946 $as_echo_n "checking for $ac_word... " >&6; }
4947 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4948 $as_echo_n "(cached) " >&6
4950 if test -n "$ac_ct_RANLIB"; then
4951 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4957 test -z "$as_dir" && as_dir=.
4958 for ac_exec_ext in '' $ac_executable_extensions; do
4959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4960 ac_cv_prog_ac_ct_RANLIB="ranlib"
4961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4970 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4971 if test -n "$ac_ct_RANLIB"; then
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4973 $as_echo "$ac_ct_RANLIB" >&6; }
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4976 $as_echo "no" >&6; }
4979 if test "x$ac_ct_RANLIB" = x; then
4982 case $cross_compiling:$ac_tool_warned in
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4985 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4986 ac_tool_warned=yes ;;
4988 RANLIB=$ac_ct_RANLIB
4991 RANLIB="$ac_cv_prog_RANLIB"
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4999 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5000 # Check whether --enable-maintainer-mode was given.
5001 if test "${enable_maintainer_mode+set}" = set; then :
5002 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5004 USE_MAINTAINER_MODE=no
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5008 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5009 if test $USE_MAINTAINER_MODE = yes; then
5010 MAINTAINER_MODE_TRUE=
5011 MAINTAINER_MODE_FALSE='#'
5013 MAINTAINER_MODE_TRUE='#'
5014 MAINTAINER_MODE_FALSE=
5017 MAINT=$MAINTAINER_MODE_TRUE
5021 . ${srcdir}/configure.host
5023 case ${gc_basedir} in
5024 /* | A-Za-z:/\\*) gc_flagbasedir=${gc_basedir} ;;
5025 *) gc_flagbasedir='$(top_builddir)/'${gc_basedir} ;;
5028 gc_cflags="${gc_cflags} -Iinclude -I"'$(top_builddir)'"/./targ-include -I${gc_flagbasedir}/libc/include"
5031 gc_cflags="${gc_cflags} -I${gc_flagbasedir}/../winsup/include"
5037 gc_cflags="${gc_cflags} -DGC_BUILD=1"
5042 GC_CFLAGS=${gc_cflags}
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5048 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5053 macro_version='2.2.6'
5054 macro_revision='1.3012'
5068 ltmain="$ac_aux_dir/ltmain.sh"
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5071 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5072 if test "${ac_cv_path_SED+set}" = set; then :
5073 $as_echo_n "(cached) " >&6
5075 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5076 for ac_i in 1 2 3 4 5 6 7; do
5077 ac_script="$ac_script$as_nl$ac_script"
5079 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5080 { ac_script=; unset ac_script;}
5081 if test -z "$SED"; then
5082 ac_path_SED_found=false
5083 # Loop through the user's path and test for each of PROGNAME-LIST
5084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5088 test -z "$as_dir" && as_dir=.
5089 for ac_prog in sed gsed; do
5090 for ac_exec_ext in '' $ac_executable_extensions; do
5091 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5092 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5093 # Check for GNU ac_path_SED and select it if it is found.
5094 # Check for GNU $ac_path_SED
5095 case `"$ac_path_SED" --version 2>&1` in
5097 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5100 $as_echo_n 0123456789 >"conftest.in"
5103 cat "conftest.in" "conftest.in" >"conftest.tmp"
5104 mv "conftest.tmp" "conftest.in"
5105 cp "conftest.in" "conftest.nl"
5106 $as_echo '' >> "conftest.nl"
5107 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5108 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5109 as_fn_arith $ac_count + 1 && ac_count=$as_val
5110 if test $ac_count -gt ${ac_path_SED_max-0}; then
5111 # Best one so far, save it but keep looking for a better one
5112 ac_cv_path_SED="$ac_path_SED"
5113 ac_path_SED_max=$ac_count
5115 # 10*(2^10) chars as input seems more than enough
5116 test $ac_count -gt 10 && break
5118 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5121 $ac_path_SED_found && break 3
5126 if test -z "$ac_cv_path_SED"; then
5127 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5135 $as_echo "$ac_cv_path_SED" >&6; }
5136 SED="$ac_cv_path_SED"
5139 test -z "$SED" && SED=sed
5140 Xsed="$SED -e 1s/^X//"
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5153 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5154 if test "${ac_cv_path_GREP+set}" = set; then :
5155 $as_echo_n "(cached) " >&6
5157 if test -z "$GREP"; then
5158 ac_path_GREP_found=false
5159 # Loop through the user's path and test for each of PROGNAME-LIST
5160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5161 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5164 test -z "$as_dir" && as_dir=.
5165 for ac_prog in grep ggrep; do
5166 for ac_exec_ext in '' $ac_executable_extensions; do
5167 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5168 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5169 # Check for GNU ac_path_GREP and select it if it is found.
5170 # Check for GNU $ac_path_GREP
5171 case `"$ac_path_GREP" --version 2>&1` in
5173 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5176 $as_echo_n 0123456789 >"conftest.in"
5179 cat "conftest.in" "conftest.in" >"conftest.tmp"
5180 mv "conftest.tmp" "conftest.in"
5181 cp "conftest.in" "conftest.nl"
5182 $as_echo 'GREP' >> "conftest.nl"
5183 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5184 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5185 as_fn_arith $ac_count + 1 && ac_count=$as_val
5186 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5187 # Best one so far, save it but keep looking for a better one
5188 ac_cv_path_GREP="$ac_path_GREP"
5189 ac_path_GREP_max=$ac_count
5191 # 10*(2^10) chars as input seems more than enough
5192 test $ac_count -gt 10 && break
5194 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5197 $ac_path_GREP_found && break 3
5202 if test -z "$ac_cv_path_GREP"; then
5203 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5206 ac_cv_path_GREP=$GREP
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5211 $as_echo "$ac_cv_path_GREP" >&6; }
5212 GREP="$ac_cv_path_GREP"
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5216 $as_echo_n "checking for egrep... " >&6; }
5217 if test "${ac_cv_path_EGREP+set}" = set; then :
5218 $as_echo_n "(cached) " >&6
5220 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5221 then ac_cv_path_EGREP="$GREP -E"
5223 if test -z "$EGREP"; then
5224 ac_path_EGREP_found=false
5225 # Loop through the user's path and test for each of PROGNAME-LIST
5226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5227 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5230 test -z "$as_dir" && as_dir=.
5231 for ac_prog in egrep; do
5232 for ac_exec_ext in '' $ac_executable_extensions; do
5233 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5234 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5235 # Check for GNU ac_path_EGREP and select it if it is found.
5236 # Check for GNU $ac_path_EGREP
5237 case `"$ac_path_EGREP" --version 2>&1` in
5239 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5242 $as_echo_n 0123456789 >"conftest.in"
5245 cat "conftest.in" "conftest.in" >"conftest.tmp"
5246 mv "conftest.tmp" "conftest.in"
5247 cp "conftest.in" "conftest.nl"
5248 $as_echo 'EGREP' >> "conftest.nl"
5249 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5250 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5251 as_fn_arith $ac_count + 1 && ac_count=$as_val
5252 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5253 # Best one so far, save it but keep looking for a better one
5254 ac_cv_path_EGREP="$ac_path_EGREP"
5255 ac_path_EGREP_max=$ac_count
5257 # 10*(2^10) chars as input seems more than enough
5258 test $ac_count -gt 10 && break
5260 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5263 $ac_path_EGREP_found && break 3
5268 if test -z "$ac_cv_path_EGREP"; then
5269 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5272 ac_cv_path_EGREP=$EGREP
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5278 $as_echo "$ac_cv_path_EGREP" >&6; }
5279 EGREP="$ac_cv_path_EGREP"
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5283 $as_echo_n "checking for fgrep... " >&6; }
5284 if test "${ac_cv_path_FGREP+set}" = set; then :
5285 $as_echo_n "(cached) " >&6
5287 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5288 then ac_cv_path_FGREP="$GREP -F"
5290 if test -z "$FGREP"; then
5291 ac_path_FGREP_found=false
5292 # Loop through the user's path and test for each of PROGNAME-LIST
5293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5294 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5297 test -z "$as_dir" && as_dir=.
5298 for ac_prog in fgrep; do
5299 for ac_exec_ext in '' $ac_executable_extensions; do
5300 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5301 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5302 # Check for GNU ac_path_FGREP and select it if it is found.
5303 # Check for GNU $ac_path_FGREP
5304 case `"$ac_path_FGREP" --version 2>&1` in
5306 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5309 $as_echo_n 0123456789 >"conftest.in"
5312 cat "conftest.in" "conftest.in" >"conftest.tmp"
5313 mv "conftest.tmp" "conftest.in"
5314 cp "conftest.in" "conftest.nl"
5315 $as_echo 'FGREP' >> "conftest.nl"
5316 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5317 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5318 as_fn_arith $ac_count + 1 && ac_count=$as_val
5319 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5320 # Best one so far, save it but keep looking for a better one
5321 ac_cv_path_FGREP="$ac_path_FGREP"
5322 ac_path_FGREP_max=$ac_count
5324 # 10*(2^10) chars as input seems more than enough
5325 test $ac_count -gt 10 && break
5327 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5330 $ac_path_FGREP_found && break 3
5335 if test -z "$ac_cv_path_FGREP"; then
5336 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5339 ac_cv_path_FGREP=$FGREP
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5345 $as_echo "$ac_cv_path_FGREP" >&6; }
5346 FGREP="$ac_cv_path_FGREP"
5349 test -z "$GREP" && GREP=grep
5369 # Check whether --with-gnu-ld was given.
5370 if test "${with_gnu_ld+set}" = set; then :
5371 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5377 if test "$GCC" = yes; then
5378 # Check if gcc -print-prog-name=ld gives a path.
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5380 $as_echo_n "checking for ld used by $CC... " >&6; }
5383 # gcc leaves a trailing carriage return which upsets mingw
5384 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
5386 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
5389 # Accept absolute paths.
5391 re_direlt='/[^/][^/]*/\.\./'
5392 # Canonicalize the pathname of ld
5393 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
5394 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5395 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
5397 test -z "$LD" && LD="$ac_prog"
5400 # If it fails, then pretend we aren't using GCC.
5404 # If it is relative, then search for the first ld in PATH.
5408 elif test "$with_gnu_ld" = yes; then
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5410 $as_echo_n "checking for GNU ld... " >&6; }
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5413 $as_echo_n "checking for non-GNU ld... " >&6; }
5415 if test "${lt_cv_path_LD+set}" = set; then :
5416 $as_echo_n "(cached) " >&6
5418 if test -z "$LD"; then
5419 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5420 for ac_dir in $PATH; do
5422 test -z "$ac_dir" && ac_dir=.
5423 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5424 lt_cv_path_LD="$ac_dir/$ac_prog"
5425 # Check to see if the program is GNU ld. I'd rather use --version,
5426 # but apparently some variants of GNU ld only accept -v.
5427 # Break only if it was the GNU/non-GNU ld that we prefer.
5428 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
5429 *GNU* | *'with BFD'*)
5430 test "$with_gnu_ld" != no && break
5433 test "$with_gnu_ld" != yes && break
5440 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5445 if test -n "$LD"; then
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5447 $as_echo "$LD" >&6; }
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5450 $as_echo "no" >&6; }
5452 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5454 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5455 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5456 $as_echo_n "(cached) " >&6
5458 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5459 case `$LD -v 2>&1 </dev
/null
` in
5460 *GNU* | *'with BFD'*)
5461 lt_cv_prog_gnu_ld=yes
5464 lt_cv_prog_gnu_ld=no
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5469 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5470 with_gnu_ld=$lt_cv_prog_gnu_ld
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5481 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5482 if test "${lt_cv_path_NM+set}" = set; then :
5483 $as_echo_n "(cached) " >&6
5485 if test -n "$NM"; then
5486 # Let the user override the test.
5489 lt_nm_to_check="${ac_tool_prefix}nm"
5490 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5491 lt_nm_to_check="$lt_nm_to_check nm"
5493 for lt_tmp_nm in $lt_nm_to_check; do
5494 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5495 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5497 test -z "$ac_dir" && ac_dir=.
5498 tmp_nm="$ac_dir/$lt_tmp_nm"
5499 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5500 # Check to see if the nm accepts a BSD-compat flag.
5501 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
5502 # nm: unknown option "B" ignored
5503 # Tru64's nm complains that
/dev
/null is an invalid object
file
5504 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5505 */dev
/null
* |
*'Invalid file or object type'*)
5506 lt_cv_path_NM
="$tmp_nm -B"
5510 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5512 lt_cv_path_NM
="$tmp_nm -p"
5516 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5517 continue # so that we can try to find one that supports BSD flags
5526 : ${lt_cv_path_NM=no}
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5530 $as_echo "$lt_cv_path_NM" >&6; }
5531 if test "$lt_cv_path_NM" != "no"; then
5534 # Didn't find any BSD compatible name lister, look for dumpbin.
5535 if test -n "$ac_tool_prefix"; then
5536 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5538 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5539 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5541 $as_echo_n "checking for $ac_word... " >&6; }
5542 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5543 $as_echo_n "(cached) " >&6
5545 if test -n "$DUMPBIN"; then
5546 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5552 test -z "$as_dir" && as_dir
=.
5553 for ac_exec_ext
in '' $ac_executable_extensions; do
5554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5555 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5565 DUMPBIN
=$ac_cv_prog_DUMPBIN
5566 if test -n "$DUMPBIN"; then
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5568 $as_echo "$DUMPBIN" >&6; }
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5571 $as_echo "no" >&6; }
5575 test -n "$DUMPBIN" && break
5578 if test -z "$DUMPBIN"; then
5579 ac_ct_DUMPBIN
=$DUMPBIN
5580 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5582 # Extract the first word of "$ac_prog", so it can be a program name with args.
5583 set dummy
$ac_prog; ac_word
=$2
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5585 $as_echo_n "checking for $ac_word... " >&6; }
5586 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5587 $as_echo_n "(cached) " >&6
5589 if test -n "$ac_ct_DUMPBIN"; then
5590 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5596 test -z "$as_dir" && as_dir
=.
5597 for ac_exec_ext
in '' $ac_executable_extensions; do
5598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5599 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5609 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5610 if test -n "$ac_ct_DUMPBIN"; then
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5612 $as_echo "$ac_ct_DUMPBIN" >&6; }
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5615 $as_echo "no" >&6; }
5619 test -n "$ac_ct_DUMPBIN" && break
5622 if test "x$ac_ct_DUMPBIN" = x
; then
5625 case $cross_compiling:$ac_tool_warned in
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5629 ac_tool_warned
=yes ;;
5631 DUMPBIN
=$ac_ct_DUMPBIN
5636 if test "$DUMPBIN" != ":"; then
5640 test -z "$NM" && NM
=nm
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5648 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5649 if test "${lt_cv_nm_interface+set}" = set; then :
5650 $as_echo_n "(cached) " >&6
5652 lt_cv_nm_interface
="BSD nm"
5653 echo "int some_variable = 0;" > conftest.
$ac_ext
5654 (eval echo "\"\$as_me:5654: $ac_compile\"" >&5)
5655 (eval "$ac_compile" 2>conftest.err
)
5656 cat conftest.err
>&5
5657 (eval echo "\"\$as_me:5657: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5658 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5659 cat conftest.err
>&5
5660 (eval echo "\"\$as_me:5660: output\"" >&5)
5661 cat conftest.out
>&5
5662 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5663 lt_cv_nm_interface
="MS dumpbin"
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5668 $as_echo "$lt_cv_nm_interface" >&6; }
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5671 $as_echo_n "checking whether ln -s works... " >&6; }
5673 if test "$LN_S" = "ln -s"; then
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5675 $as_echo "yes" >&6; }
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5678 $as_echo "no, using $LN_S" >&6; }
5681 # find the maximum length of command line arguments
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5683 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5684 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5685 $as_echo_n "(cached) " >&6
5692 # On DJGPP, this test can blow up pretty badly due to problems in libc
5693 # (any single argument exceeding 2000 bytes causes a buffer overrun
5694 # during glob expansion). Even if it were fixed, the result of this
5695 # check would be larger than it should be.
5696 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5700 # Under GNU Hurd, this test is not required because there is
5701 # no limit to the length of command line arguments.
5702 # Libtool will interpret -1 as no limit whatsoever
5703 lt_cv_sys_max_cmd_len
=-1;
5706 cygwin
* | mingw
* | cegcc
*)
5707 # On Win9x/ME, this test blows up -- it succeeds, but takes
5708 # about 5 minutes as the teststring grows exponentially.
5709 # Worse, since 9x/ME are not pre-emptively multitasking,
5710 # you end up with a "frozen" computer, even though with patience
5711 # the test eventually succeeds (with a max line length of 256k).
5712 # Instead, let's just punt: use the minimum linelength reported by
5713 # all of the supported platforms: 8192 (on NT/2K/XP).
5714 lt_cv_sys_max_cmd_len
=8192;
5718 # On AmigaOS with pdksh, this test takes hours, literally.
5719 # So we just punt and use a minimum line length of 8192.
5720 lt_cv_sys_max_cmd_len
=8192;
5723 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5724 # This has been around since 386BSD, at least. Likely further.
5725 if test -x /sbin
/sysctl
; then
5726 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5727 elif test -x /usr
/sbin
/sysctl
; then
5728 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5730 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5732 # And add a safety zone
5733 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5734 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5738 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5739 lt_cv_sys_max_cmd_len
=196608
5743 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5744 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5745 # nice to cause kernel panics so lets avoid the loop below.
5746 # First set a reasonable default.
5747 lt_cv_sys_max_cmd_len
=16384
5749 if test -x /sbin
/sysconfig
; then
5750 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5751 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5756 lt_cv_sys_max_cmd_len
=102400
5758 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5759 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5760 if test -n "$kargmax"; then
5761 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5763 lt_cv_sys_max_cmd_len
=32768
5767 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5768 if test -n "$lt_cv_sys_max_cmd_len"; then
5769 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5770 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5772 # Make teststring a little bigger before we do anything with it.
5773 # a 1K string should be a reasonable start.
5774 for i
in 1 2 3 4 5 6 7 8 ; do
5775 teststring
=$teststring$teststring
5777 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5778 # If test is not a shell built-in, we'll probably end up computing a
5779 # maximum length that is only half of the actual maximum length, but
5781 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5782 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
5783 test $i != 17 # 1/2 MB should be enough
5786 teststring
=$teststring$teststring
5788 # Only check the string length outside the loop.
5789 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5791 # Add a significant safety factor because C++ compilers can tack on
5792 # massive amounts of additional arguments before passing them to the
5793 # linker. It appears as though 1/2 is a usable value.
5794 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5801 if test -n $lt_cv_sys_max_cmd_len ; then
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5803 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5806 $as_echo "none" >&6; }
5808 max_cmd_len
=$lt_cv_sys_max_cmd_len
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5820 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5821 # Try some XSI features
5824 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5826 && eval 'test $(( 1 + 1 )) -eq 2 \
5827 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5830 $as_echo "$xsi_shell" >&6; }
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5834 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5836 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5838 && lt_shell_append=yes
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5840 $as_echo "$lt_shell_append" >&6; }
5843 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5853 # test EBCDIC or ASCII
5854 case `echo X|tr X '\101'` in
5855 A) # ASCII based system
5856 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5857 lt_SP2NL='tr \040 \012'
5858 lt_NL2SP='tr \015\012 \040\040'
5860 *) # EBCDIC based system
5861 lt_SP2NL='tr \100 \n'
5862 lt_NL2SP='tr \r\n \100\100'
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5875 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5876 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5877 $as_echo_n "(cached
) " >&6
5879 lt_cv_ld_reload_flag='-r'
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5882 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5883 reload_flag=$lt_cv_ld_reload_flag
5884 case $reload_flag in
5886 *) reload_flag=" $reload_flag" ;;
5888 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5891 if test "$GCC" = yes; then
5892 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5894 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5907 if test -n "$ac_tool_prefix"; then
5908 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5909 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5911 $as_echo_n "checking
for $ac_word...
" >&6; }
5912 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5913 $as_echo_n "(cached
) " >&6
5915 if test -n "$OBJDUMP"; then
5916 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5922 test -z "$as_dir" && as_dir=.
5923 for ac_exec_ext in '' $ac_executable_extensions; do
5924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5925 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5926 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5935 OBJDUMP=$ac_cv_prog_OBJDUMP
5936 if test -n "$OBJDUMP"; then
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5938 $as_echo "$OBJDUMP" >&6; }
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5941 $as_echo "no
" >&6; }
5946 if test -z "$ac_cv_prog_OBJDUMP"; then
5947 ac_ct_OBJDUMP=$OBJDUMP
5948 # Extract the first word of "objdump
", so it can be a program name with args.
5949 set dummy objdump; ac_word=$2
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5951 $as_echo_n "checking
for $ac_word...
" >&6; }
5952 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5953 $as_echo_n "(cached
) " >&6
5955 if test -n "$ac_ct_OBJDUMP"; then
5956 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5962 test -z "$as_dir" && as_dir=.
5963 for ac_exec_ext in '' $ac_executable_extensions; do
5964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5965 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5966 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5975 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5976 if test -n "$ac_ct_OBJDUMP"; then
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5978 $as_echo "$ac_ct_OBJDUMP" >&6; }
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5981 $as_echo "no
" >&6; }
5984 if test "x
$ac_ct_OBJDUMP" = x; then
5987 case $cross_compiling:$ac_tool_warned in
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5990 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5991 ac_tool_warned=yes ;;
5993 OBJDUMP=$ac_ct_OBJDUMP
5996 OBJDUMP="$ac_cv_prog_OBJDUMP"
5999 test -z "$OBJDUMP" && OBJDUMP=objdump
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6010 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6011 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6012 $as_echo_n "(cached
) " >&6
6014 lt_cv_file_magic_cmd='$MAGIC_CMD'
6015 lt_cv_file_magic_test_file=
6016 lt_cv_deplibs_check_method='unknown'
6017 # Need to set the preceding variable on all platforms that support
6018 # interlibrary dependencies.
6019 # 'none' -- dependencies not supported.
6020 # `unknown' -- same as none, but documents that we really don't know.
6021 # 'pass_all' -- all dependencies passed with no checks.
6022 # 'test_compile' -- check by making test program.
6023 # 'file_magic [[regex]]' -- check by looking for files in library path
6024 # which responds to the $file_magic_cmd with a given extended regex.
6025 # If you have `file' or equivalent on your system and you're not sure
6026 # whether `pass_all' will *always* work, you probably want this one.
6030 lt_cv_deplibs_check_method=pass_all
6034 lt_cv_deplibs_check_method=pass_all
6038 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6039 lt_cv_file_magic_cmd='/usr/bin/file -L'
6040 lt_cv_file_magic_test_file=/shlib/libc.so
6044 # func_win32_libid is a shell function defined in ltmain.sh
6045 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6046 lt_cv_file_magic_cmd='func_win32_libid'
6050 # Base MSYS/MinGW do not provide the 'file' command needed by
6051 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6052 # unless we find 'file', for example because we are cross-compiling.
6053 if ( file / ) >/dev/null 2>&1; then
6054 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6055 lt_cv_file_magic_cmd='func_win32_libid'
6057 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6058 lt_cv_file_magic_cmd='$OBJDUMP -f'
6063 # use the weaker test based on 'objdump'. See mingw*.
6064 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6065 lt_cv_file_magic_cmd='$OBJDUMP -f'
6068 darwin* | rhapsody*)
6069 lt_cv_deplibs_check_method=pass_all
6072 freebsd* | dragonfly*)
6073 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6076 # Not sure whether the presence of OpenBSD here was a mistake.
6077 # Let's accept both of them until this is cleared up.
6078 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6079 lt_cv_file_magic_cmd=/usr/bin/file
6080 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6084 lt_cv_deplibs_check_method=pass_all
6089 lt_cv_deplibs_check_method=pass_all
6092 hpux10.20* | hpux11*)
6093 lt_cv_file_magic_cmd=/usr/bin/file
6096 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6097 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6100 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
6101 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6104 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6105 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6111 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6112 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6115 irix5* | irix6* | nonstopux*)
6117 *-32|*"-32 ") libmagic=32-bit;;
6118 *-n32|*"-n32 ") libmagic=N32;;
6119 *-64|*"-64 ") libmagic=64-bit;;
6120 *) libmagic=never-match;;
6122 lt_cv_deplibs_check_method=pass_all
6125 # This must be Linux ELF.
6126 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6127 lt_cv_deplibs_check_method=pass_all
6131 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6132 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6134 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6139 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6140 lt_cv_file_magic_cmd=/usr/bin/file
6141 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6145 lt_cv_deplibs_check_method=pass_all
6149 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6150 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6152 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6156 osf3* | osf4* | osf5*)
6157 lt_cv_deplibs_check_method=pass_all
6161 lt_cv_deplibs_check_method=pass_all
6165 lt_cv_deplibs_check_method=pass_all
6168 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6169 lt_cv_deplibs_check_method=pass_all
6173 case $host_vendor in
6175 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]'
6176 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6179 lt_cv_deplibs_check_method=pass_all
6182 lt_cv_file_magic_cmd='/bin/file'
6183 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6186 lt_cv_file_magic_cmd='/bin/file'
6187 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6188 lt_cv_file_magic_test_file=/lib/libc.so
6191 lt_cv_deplibs_check_method=pass_all
6194 lt_cv_deplibs_check_method=pass_all
6200 lt_cv_deplibs_check_method=pass_all
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6206 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6207 file_magic_cmd=$lt_cv_file_magic_cmd
6208 deplibs_check_method=$lt_cv_deplibs_check_method
6209 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6222 if test -n "$ac_tool_prefix"; then
6223 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6224 set dummy ${ac_tool_prefix}ar; ac_word=$2
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6226 $as_echo_n "checking
for $ac_word...
" >&6; }
6227 if test "${ac_cv_prog_AR+set}" = set; then :
6228 $as_echo_n "(cached
) " >&6
6230 if test -n "$AR"; then
6231 ac_cv_prog_AR="$AR" # Let the user override the test.
6233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6237 test -z "$as_dir" && as_dir=.
6238 for ac_exec_ext in '' $ac_executable_extensions; do
6239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6240 ac_cv_prog_AR="${ac_tool_prefix}ar"
6241 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6251 if test -n "$AR"; then
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6253 $as_echo "$AR" >&6; }
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6256 $as_echo "no
" >&6; }
6261 if test -z "$ac_cv_prog_AR"; then
6263 # Extract the first word of "ar", so it can be a program name with args.
6264 set dummy ar; ac_word=$2
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6266 $as_echo_n "checking
for $ac_word...
" >&6; }
6267 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6268 $as_echo_n "(cached
) " >&6
6270 if test -n "$ac_ct_AR"; then
6271 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6277 test -z "$as_dir" && as_dir=.
6278 for ac_exec_ext in '' $ac_executable_extensions; do
6279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6280 ac_cv_prog_ac_ct_AR="ar"
6281 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6290 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6291 if test -n "$ac_ct_AR"; then
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6293 $as_echo "$ac_ct_AR" >&6; }
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6296 $as_echo "no
" >&6; }
6299 if test "x
$ac_ct_AR" = x; then
6302 case $cross_compiling:$ac_tool_warned in
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6305 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6306 ac_tool_warned=yes ;;
6314 test -z "$AR" && AR=ar
6315 test -z "$AR_FLAGS" && AR_FLAGS=cru
6327 if test -n "$ac_tool_prefix"; then
6328 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6329 set dummy ${ac_tool_prefix}strip; ac_word=$2
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6331 $as_echo_n "checking
for $ac_word...
" >&6; }
6332 if test "${ac_cv_prog_STRIP+set}" = set; then :
6333 $as_echo_n "(cached
) " >&6
6335 if test -n "$STRIP"; then
6336 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6342 test -z "$as_dir" && as_dir=.
6343 for ac_exec_ext in '' $ac_executable_extensions; do
6344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6345 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6346 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6355 STRIP=$ac_cv_prog_STRIP
6356 if test -n "$STRIP"; then
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6358 $as_echo "$STRIP" >&6; }
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6361 $as_echo "no
" >&6; }
6366 if test -z "$ac_cv_prog_STRIP"; then
6368 # Extract the first word of "strip
", so it can be a program name with args.
6369 set dummy strip; ac_word=$2
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6371 $as_echo_n "checking
for $ac_word...
" >&6; }
6372 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6373 $as_echo_n "(cached
) " >&6
6375 if test -n "$ac_ct_STRIP"; then
6376 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6382 test -z "$as_dir" && as_dir=.
6383 for ac_exec_ext in '' $ac_executable_extensions; do
6384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6385 ac_cv_prog_ac_ct_STRIP="strip
"
6386 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6395 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6396 if test -n "$ac_ct_STRIP"; then
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6398 $as_echo "$ac_ct_STRIP" >&6; }
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6401 $as_echo "no
" >&6; }
6404 if test "x
$ac_ct_STRIP" = x; then
6407 case $cross_compiling:$ac_tool_warned in
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6410 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6411 ac_tool_warned=yes ;;
6416 STRIP="$ac_cv_prog_STRIP"
6419 test -z "$STRIP" && STRIP=:
6426 if test -n "$ac_tool_prefix"; then
6427 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6428 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6430 $as_echo_n "checking
for $ac_word...
" >&6; }
6431 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6432 $as_echo_n "(cached
) " >&6
6434 if test -n "$RANLIB"; then
6435 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6441 test -z "$as_dir" && as_dir=.
6442 for ac_exec_ext in '' $ac_executable_extensions; do
6443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6444 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6445 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6454 RANLIB=$ac_cv_prog_RANLIB
6455 if test -n "$RANLIB"; then
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6457 $as_echo "$RANLIB" >&6; }
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6460 $as_echo "no
" >&6; }
6465 if test -z "$ac_cv_prog_RANLIB"; then
6466 ac_ct_RANLIB=$RANLIB
6467 # Extract the first word of "ranlib
", so it can be a program name with args.
6468 set dummy ranlib; ac_word=$2
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6470 $as_echo_n "checking
for $ac_word...
" >&6; }
6471 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6472 $as_echo_n "(cached
) " >&6
6474 if test -n "$ac_ct_RANLIB"; then
6475 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6481 test -z "$as_dir" && as_dir=.
6482 for ac_exec_ext in '' $ac_executable_extensions; do
6483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6484 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6485 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6494 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6495 if test -n "$ac_ct_RANLIB"; then
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6497 $as_echo "$ac_ct_RANLIB" >&6; }
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6500 $as_echo "no
" >&6; }
6503 if test "x
$ac_ct_RANLIB" = x; then
6506 case $cross_compiling:$ac_tool_warned in
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6509 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6510 ac_tool_warned=yes ;;
6512 RANLIB=$ac_ct_RANLIB
6515 RANLIB="$ac_cv_prog_RANLIB"
6518 test -z "$RANLIB" && RANLIB=:
6525 # Determine commands to create old-style static archives.
6526 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6527 old_postinstall_cmds='chmod 644 $oldlib'
6528 old_postuninstall_cmds=
6530 if test -n "$RANLIB"; then
6533 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6536 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6539 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6575 # If no C compiler was specified, use CC.
6578 # If no C compiler flags were specified, use CFLAGS.
6579 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6581 # Allow CC to be a program name with arguments.
6585 # Check for command to grab the raw symbol name followed by C symbol from nm.
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6587 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6588 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6589 $as_echo_n "(cached
) " >&6
6592 # These are sane defaults that work on at least a few old systems.
6593 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6595 # Character class describing NM global symbol codes.
6596 symcode='[BCDEGRST]'
6598 # Regexp to match symbols that can be accessed directly from C.
6599 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6601 # Define system-specific variables.
6606 cygwin* | mingw* | pw32* | cegcc*)
6607 symcode='[ABCDGISTW]'
6610 if test "$host_cpu" = ia64; then
6611 symcode='[ABCDEGRST]'
6615 symcode='[BCDEGRST]'
6618 symcode='[BCDEGQRST]'
6629 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6637 # If we're using GNU nm, then use its standard symbol codes.
6638 case `$NM -V 2>&1` in
6639 *GNU* | *'with BFD'*)
6640 symcode='[ABCDGIRSTW]' ;;
6643 # Transform an extracted symbol line into a proper C declaration.
6644 # Some systems (esp. on ia64) link data and code symbols differently,
6645 # so use this general approach.
6646 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6648 # Transform an extracted symbol line into symbol name and symbol address
6649 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6650 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'"
6652 # Handle CRLF in mingw tool chain
6656 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6660 # Try without a prefix underscore, then with it.
6661 for ac_symprfx in "" "_
"; do
6663 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6664 symxfrm="\\1 $ac_symprfx\\2 \\2"
6666 # Write the raw and C identifiers.
6667 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6668 # Fake it for dumpbin and say T for any non-static function
6669 # and D for any global variable.
6670 # Also find C++ and __fastcall symbols from MSVC++,
6671 # which start with @ or ?.
6672 lt_cv_sys_global_symbol_pipe="$AWK '"\
6673 " {last_section=section; section=\$ 3};"\
6674 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6675 " \$ 0!~/External *\|/{next};"\
6676 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6677 " {if(hide[section]) next};"\
6678 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6679 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6680 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6681 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6682 " ' prfx
=^
$ac_symprfx"
6684 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6687 # Check to see that the pipe works correctly.
6691 cat > conftest.$ac_ext <<_LT_EOF
6696 void nm_test_func(void);
6697 void nm_test_func(void){}
6701 int main(){nm_test_var='a';nm_test_func();return(0);}
6704 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6705 (eval $ac_compile) 2>&5
6707 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6708 test $ac_status = 0; }; then
6709 # Now try to grab the symbols.
6711 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\""; } >&5
6712 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6714 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6715 test $ac_status = 0; } && test -s "$nlist"; then
6716 # Try sorting and uniquifying the output.
6717 if sort "$nlist" | uniq > "$nlist"T; then
6718 mv -f "$nlist"T "$nlist"
6723 # Make sure that we snagged all the symbols we need.
6724 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6725 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6726 cat <<_LT_EOF > conftest.$ac_ext
6732 # Now generate the symbol file.
6733 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6735 cat <<_LT_EOF >> conftest.$ac_ext
6737 /* The mapping between symbol names and symbols. */
6742 lt__PROGRAM__LTX_preloaded_symbols[] =
6744 { "@PROGRAM@
", (void *) 0 },
6746 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6747 cat <<\_LT_EOF >> conftest.$ac_ext
6751 /* This works around a problem in FreeBSD linker */
6752 #ifdef FREEBSD_WORKAROUND
6753 static const void *lt_preloaded_setup() {
6754 return lt__PROGRAM__LTX_preloaded_symbols;
6762 # Now try linking the two files.
6763 mv conftest.$ac_objext conftstm.$ac_objext
6764 lt_save_LIBS="$LIBS"
6765 lt_save_CFLAGS="$CFLAGS"
6766 LIBS="conftstm.
$ac_objext"
6767 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6768 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6769 (eval $ac_link) 2>&5
6771 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6772 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6775 LIBS="$lt_save_LIBS"
6776 CFLAGS="$lt_save_CFLAGS"
6778 echo "cannot
find nm_test_func
in $nlist" >&5
6781 echo "cannot
find nm_test_var
in $nlist" >&5
6784 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6787 echo "$progname: failed program was
:" >&5
6788 cat conftest.$ac_ext >&5
6790 rm -rf conftest* conftst*
6792 # Do not use the global_symbol_pipe unless it works.
6793 if test "$pipe_works" = yes; then
6796 lt_cv_sys_global_symbol_pipe=
6802 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6803 lt_cv_sys_global_symbol_to_cdecl=
6805 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6807 $as_echo "failed
" >&6; }
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6810 $as_echo "ok
" >&6; }
6835 # Check whether --enable-libtool-lock was given.
6836 if test "${enable_libtool_lock+set}" = set; then :
6837 enableval=$enable_libtool_lock;
6840 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6842 # Some flags need to be propagated to the compiler or linker for good
6846 # Find out which ABI we are using.
6847 echo 'int i;' > conftest.$ac_ext
6848 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6849 (eval $ac_compile) 2>&5
6851 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6852 test $ac_status = 0; }; then
6853 case `/usr/bin/file conftest.$ac_objext` in
6865 # Find out which ABI we are using.
6866 echo '#line 6866 "configure
"' > conftest.$ac_ext
6867 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6868 (eval $ac_compile) 2>&5
6870 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6871 test $ac_status = 0; }; then
6872 if test "$lt_cv_prog_gnu_ld" = yes; then
6873 case `/usr/bin/file conftest.$ac_objext` in
6875 LD="${LD-ld} -melf32bsmip"
6878 LD="${LD-ld} -melf32bmipn32"
6881 LD="${LD-ld} -melf64bmip"
6885 case `/usr/bin/file conftest.$ac_objext` in
6901 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6902 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6903 # Find out which ABI we are using.
6904 echo 'int i;' > conftest.$ac_ext
6905 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6906 (eval $ac_compile) 2>&5
6908 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6909 test $ac_status = 0; }; then
6910 case `/usr/bin/file conftest.o` in
6913 x86_64-*kfreebsd*-gnu)
6914 LD="${LD-ld} -m elf_i386_fbsd
"
6917 LD="${LD-ld} -m elf_i386
"
6919 ppc64-*linux*|powerpc64-*linux*)
6920 LD="${LD-ld} -m elf32ppclinux
"
6923 LD="${LD-ld} -m elf_s390
"
6926 LD="${LD-ld} -m elf32_sparc
"
6932 x86_64-*kfreebsd*-gnu)
6933 LD="${LD-ld} -m elf_x86_64_fbsd
"
6936 LD="${LD-ld} -m elf_x86_64
"
6938 ppc*-*linux*|powerpc*-*linux*)
6939 LD="${LD-ld} -m elf64ppc
"
6941 s390*-*linux*|s390*-*tpf*)
6942 LD="${LD-ld} -m elf64_s390
"
6945 LD="${LD-ld} -m elf64_sparc
"
6955 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6956 SAVE_CFLAGS="$CFLAGS"
6957 CFLAGS="$CFLAGS -belf"
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6959 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6960 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6961 $as_echo_n "(cached
) " >&6
6964 ac_cpp='$CPP $CPPFLAGS'
6965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6969 if test x$gcc_no_link = xyes; then
6970 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
6972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6973 /* end confdefs.h. */
6983 if ac_fn_c_try_link "$LINENO"; then :
6984 lt_cv_cc_needs_belf=yes
6986 lt_cv_cc_needs_belf=no
6988 rm -f core conftest.err conftest.$ac_objext \
6989 conftest$ac_exeext conftest.$ac_ext
6991 ac_cpp='$CPP $CPPFLAGS'
6992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6998 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6999 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7000 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7001 CFLAGS="$SAVE_CFLAGS"
7005 # Find out which ABI we are using.
7006 echo 'int i;' > conftest.$ac_ext
7007 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7008 (eval $ac_compile) 2>&5
7010 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7011 test $ac_status = 0; }; then
7012 case `/usr/bin/file conftest.o` in
7014 case $lt_cv_prog_gnu_ld in
7015 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7017 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7029 need_locks="$enable_libtool_lock"
7033 rhapsody* | darwin*)
7034 if test -n "$ac_tool_prefix"; then
7035 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7036 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7038 $as_echo_n "checking
for $ac_word...
" >&6; }
7039 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7040 $as_echo_n "(cached
) " >&6
7042 if test -n "$DSYMUTIL"; then
7043 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7049 test -z "$as_dir" && as_dir=.
7050 for ac_exec_ext in '' $ac_executable_extensions; do
7051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7052 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7053 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7062 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7063 if test -n "$DSYMUTIL"; then
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7065 $as_echo "$DSYMUTIL" >&6; }
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7068 $as_echo "no
" >&6; }
7073 if test -z "$ac_cv_prog_DSYMUTIL"; then
7074 ac_ct_DSYMUTIL=$DSYMUTIL
7075 # Extract the first word of "dsymutil
", so it can be a program name with args.
7076 set dummy dsymutil; ac_word=$2
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7078 $as_echo_n "checking
for $ac_word...
" >&6; }
7079 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7080 $as_echo_n "(cached
) " >&6
7082 if test -n "$ac_ct_DSYMUTIL"; then
7083 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7089 test -z "$as_dir" && as_dir=.
7090 for ac_exec_ext in '' $ac_executable_extensions; do
7091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7092 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7093 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7102 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7103 if test -n "$ac_ct_DSYMUTIL"; then
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7105 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7108 $as_echo "no
" >&6; }
7111 if test "x
$ac_ct_DSYMUTIL" = x; then
7114 case $cross_compiling:$ac_tool_warned in
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7117 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7118 ac_tool_warned=yes ;;
7120 DSYMUTIL=$ac_ct_DSYMUTIL
7123 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7126 if test -n "$ac_tool_prefix"; then
7127 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7128 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7130 $as_echo_n "checking
for $ac_word...
" >&6; }
7131 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7132 $as_echo_n "(cached
) " >&6
7134 if test -n "$NMEDIT"; then
7135 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7141 test -z "$as_dir" && as_dir=.
7142 for ac_exec_ext in '' $ac_executable_extensions; do
7143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7144 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7145 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7154 NMEDIT=$ac_cv_prog_NMEDIT
7155 if test -n "$NMEDIT"; then
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7157 $as_echo "$NMEDIT" >&6; }
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7160 $as_echo "no
" >&6; }
7165 if test -z "$ac_cv_prog_NMEDIT"; then
7166 ac_ct_NMEDIT=$NMEDIT
7167 # Extract the first word of "nmedit
", so it can be a program name with args.
7168 set dummy nmedit; ac_word=$2
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7170 $as_echo_n "checking
for $ac_word...
" >&6; }
7171 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7172 $as_echo_n "(cached
) " >&6
7174 if test -n "$ac_ct_NMEDIT"; then
7175 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7181 test -z "$as_dir" && as_dir=.
7182 for ac_exec_ext in '' $ac_executable_extensions; do
7183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7184 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7185 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7194 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7195 if test -n "$ac_ct_NMEDIT"; then
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7197 $as_echo "$ac_ct_NMEDIT" >&6; }
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7200 $as_echo "no
" >&6; }
7203 if test "x
$ac_ct_NMEDIT" = x; then
7206 case $cross_compiling:$ac_tool_warned in
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7209 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7210 ac_tool_warned=yes ;;
7212 NMEDIT=$ac_ct_NMEDIT
7215 NMEDIT="$ac_cv_prog_NMEDIT"
7218 if test -n "$ac_tool_prefix"; then
7219 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7220 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7222 $as_echo_n "checking
for $ac_word...
" >&6; }
7223 if test "${ac_cv_prog_LIPO+set}" = set; then :
7224 $as_echo_n "(cached
) " >&6
7226 if test -n "$LIPO"; then
7227 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7233 test -z "$as_dir" && as_dir=.
7234 for ac_exec_ext in '' $ac_executable_extensions; do
7235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7236 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7237 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7246 LIPO=$ac_cv_prog_LIPO
7247 if test -n "$LIPO"; then
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7249 $as_echo "$LIPO" >&6; }
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7252 $as_echo "no
" >&6; }
7257 if test -z "$ac_cv_prog_LIPO"; then
7259 # Extract the first word of "lipo
", so it can be a program name with args.
7260 set dummy lipo; ac_word=$2
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7262 $as_echo_n "checking
for $ac_word...
" >&6; }
7263 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7264 $as_echo_n "(cached
) " >&6
7266 if test -n "$ac_ct_LIPO"; then
7267 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7273 test -z "$as_dir" && as_dir=.
7274 for ac_exec_ext in '' $ac_executable_extensions; do
7275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7276 ac_cv_prog_ac_ct_LIPO="lipo
"
7277 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7286 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7287 if test -n "$ac_ct_LIPO"; then
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7289 $as_echo "$ac_ct_LIPO" >&6; }
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7292 $as_echo "no
" >&6; }
7295 if test "x
$ac_ct_LIPO" = x; then
7298 case $cross_compiling:$ac_tool_warned in
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7301 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7302 ac_tool_warned=yes ;;
7307 LIPO="$ac_cv_prog_LIPO"
7310 if test -n "$ac_tool_prefix"; then
7311 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7312 set dummy ${ac_tool_prefix}otool; ac_word=$2
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7314 $as_echo_n "checking
for $ac_word...
" >&6; }
7315 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7316 $as_echo_n "(cached
) " >&6
7318 if test -n "$OTOOL"; then
7319 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7325 test -z "$as_dir" && as_dir=.
7326 for ac_exec_ext in '' $ac_executable_extensions; do
7327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7328 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7329 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7338 OTOOL=$ac_cv_prog_OTOOL
7339 if test -n "$OTOOL"; then
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7341 $as_echo "$OTOOL" >&6; }
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7344 $as_echo "no
" >&6; }
7349 if test -z "$ac_cv_prog_OTOOL"; then
7351 # Extract the first word of "otool
", so it can be a program name with args.
7352 set dummy otool; ac_word=$2
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7354 $as_echo_n "checking
for $ac_word...
" >&6; }
7355 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7356 $as_echo_n "(cached
) " >&6
7358 if test -n "$ac_ct_OTOOL"; then
7359 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7365 test -z "$as_dir" && as_dir=.
7366 for ac_exec_ext in '' $ac_executable_extensions; do
7367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7368 ac_cv_prog_ac_ct_OTOOL="otool
"
7369 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7378 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7379 if test -n "$ac_ct_OTOOL"; then
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7381 $as_echo "$ac_ct_OTOOL" >&6; }
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7384 $as_echo "no
" >&6; }
7387 if test "x
$ac_ct_OTOOL" = x; then
7390 case $cross_compiling:$ac_tool_warned in
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7393 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7394 ac_tool_warned=yes ;;
7399 OTOOL="$ac_cv_prog_OTOOL"
7402 if test -n "$ac_tool_prefix"; then
7403 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7404 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7406 $as_echo_n "checking
for $ac_word...
" >&6; }
7407 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7408 $as_echo_n "(cached
) " >&6
7410 if test -n "$OTOOL64"; then
7411 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7417 test -z "$as_dir" && as_dir=.
7418 for ac_exec_ext in '' $ac_executable_extensions; do
7419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7420 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7421 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7430 OTOOL64=$ac_cv_prog_OTOOL64
7431 if test -n "$OTOOL64"; then
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7433 $as_echo "$OTOOL64" >&6; }
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7436 $as_echo "no
" >&6; }
7441 if test -z "$ac_cv_prog_OTOOL64"; then
7442 ac_ct_OTOOL64=$OTOOL64
7443 # Extract the first word of "otool64
", so it can be a program name with args.
7444 set dummy otool64; ac_word=$2
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7446 $as_echo_n "checking
for $ac_word...
" >&6; }
7447 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7448 $as_echo_n "(cached
) " >&6
7450 if test -n "$ac_ct_OTOOL64"; then
7451 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7457 test -z "$as_dir" && as_dir=.
7458 for ac_exec_ext in '' $ac_executable_extensions; do
7459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7460 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7461 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7470 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7471 if test -n "$ac_ct_OTOOL64"; then
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7473 $as_echo "$ac_ct_OTOOL64" >&6; }
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7476 $as_echo "no
" >&6; }
7479 if test "x
$ac_ct_OTOOL64" = x; then
7482 case $cross_compiling:$ac_tool_warned in
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7485 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7486 ac_tool_warned=yes ;;
7488 OTOOL64=$ac_ct_OTOOL64
7491 OTOOL64="$ac_cv_prog_OTOOL64"
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7521 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7522 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7523 $as_echo_n "(cached
) " >&6
7525 lt_cv_apple_cc_single_mod=no
7526 if test -z "${LT_MULTI_MODULE}"; then
7527 # By default we will add the -single_module flag. You can override
7528 # by either setting the environment variable LT_MULTI_MODULE
7529 # non-empty at configure time, or by adding -multi_module to the
7531 rm -rf libconftest.dylib*
7532 echo "int foo
(void
){return 1;}" > conftest.c
7533 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7534 -dynamiclib -Wl,-single_module conftest.c
" >&5
7535 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7536 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7538 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7539 lt_cv_apple_cc_single_mod=yes
7541 cat conftest.err >&5
7543 rm -rf libconftest.dylib*
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7548 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7550 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7551 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7552 $as_echo_n "(cached
) " >&6
7554 lt_cv_ld_exported_symbols_list=no
7555 save_LDFLAGS=$LDFLAGS
7556 echo "_main
" > conftest.sym
7557 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7558 if test x$gcc_no_link = xyes; then
7559 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
7561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7562 /* end confdefs.h. */
7572 if ac_fn_c_try_link "$LINENO"; then :
7573 lt_cv_ld_exported_symbols_list=yes
7575 lt_cv_ld_exported_symbols_list=no
7577 rm -f core conftest.err conftest.$ac_objext \
7578 conftest$ac_exeext conftest.$ac_ext
7579 LDFLAGS="$save_LDFLAGS"
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7583 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7585 rhapsody* | darwin1.[012])
7586 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7588 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7589 darwin*) # darwin 5.x on
7590 # if running on 10.5 or later, the deployment target defaults
7591 # to the OS version, if on x86, and 10.4, the deployment
7592 # target defaults to 10.4. Don't you love it?
7593 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7594 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7595 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7597 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7599 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7603 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7604 _lt_dar_single_mod='$single_module'
7606 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7607 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7609 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7611 if test "$DSYMUTIL" != ":"; then
7612 _lt_dsymutil='~$DSYMUTIL $lib || :'
7620 ac_cpp='$CPP $CPPFLAGS'
7621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7625 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7626 # On Suns, sometimes $CPP names a directory.
7627 if test -n "$CPP" && test -d "$CPP"; then
7630 if test -z "$CPP"; then
7631 if test "${ac_cv_prog_CPP+set}" = set; then :
7632 $as_echo_n "(cached
) " >&6
7634 # Double quotes because CPP needs to be expanded
7635 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7638 for ac_c_preproc_warn_flag in '' yes
7640 # Use a header file that comes with gcc, so configuring glibc
7641 # with a fresh cross-compiler works.
7642 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7643 # <limits.h> exists even on freestanding compilers.
7644 # On the NeXT, cc -E runs the code through the compiler's parser,
7645 # not just through cpp. "Syntax error
" is here to catch this case.
7646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7647 /* end confdefs.h. */
7649 # include <limits.h>
7651 # include <assert.h>
7655 if ac_fn_c_try_cpp "$LINENO"; then :
7658 # Broken: fails on valid input.
7661 rm -f conftest.err conftest.$ac_ext
7663 # OK, works on sane cases. Now check whether nonexistent headers
7664 # can be detected and how.
7665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7666 /* end confdefs.h. */
7667 #include <ac_nonexistent.h>
7669 if ac_fn_c_try_cpp "$LINENO"; then :
7670 # Broken: success on invalid input.
7673 # Passes both tests.
7677 rm -f conftest.err conftest.$ac_ext
7680 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7681 rm -f conftest.err conftest.$ac_ext
7682 if $ac_preproc_ok; then :
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7695 $as_echo "$CPP" >&6; }
7697 for ac_c_preproc_warn_flag in '' yes
7699 # Use a header file that comes with gcc, so configuring glibc
7700 # with a fresh cross-compiler works.
7701 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7702 # <limits.h> exists even on freestanding compilers.
7703 # On the NeXT, cc -E runs the code through the compiler's parser,
7704 # not just through cpp. "Syntax error
" is here to catch this case.
7705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7706 /* end confdefs.h. */
7708 # include <limits.h>
7710 # include <assert.h>
7714 if ac_fn_c_try_cpp "$LINENO"; then :
7717 # Broken: fails on valid input.
7720 rm -f conftest.err conftest.$ac_ext
7722 # OK, works on sane cases. Now check whether nonexistent headers
7723 # can be detected and how.
7724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7725 /* end confdefs.h. */
7726 #include <ac_nonexistent.h>
7728 if ac_fn_c_try_cpp "$LINENO"; then :
7729 # Broken: success on invalid input.
7732 # Passes both tests.
7736 rm -f conftest.err conftest.$ac_ext
7739 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7740 rm -f conftest.err conftest.$ac_ext
7741 if $ac_preproc_ok; then :
7744 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7746 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7747 See \`config.log' for more details.
" "$LINENO" 5; }
7751 ac_cpp='$CPP $CPPFLAGS'
7752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7758 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7759 if test "${ac_cv_header_stdc+set}" = set; then :
7760 $as_echo_n "(cached
) " >&6
7762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7763 /* end confdefs.h. */
7777 if ac_fn_c_try_compile "$LINENO"; then :
7778 ac_cv_header_stdc=yes
7780 ac_cv_header_stdc=no
7782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7784 if test $ac_cv_header_stdc = yes; then
7785 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7787 /* end confdefs.h. */
7791 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7792 $EGREP "memchr
" >/dev/null 2>&1; then :
7795 ac_cv_header_stdc=no
7801 if test $ac_cv_header_stdc = yes; then
7802 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7804 /* end confdefs.h. */
7808 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7809 $EGREP "free
" >/dev/null 2>&1; then :
7812 ac_cv_header_stdc=no
7818 if test $ac_cv_header_stdc = yes; then
7819 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7820 if test "$cross_compiling" = yes; then :
7823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7824 /* end confdefs.h. */
7827 #if ((' ' & 0x0FF) == 0x020)
7828 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7829 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7831 # define ISLOWER(c) \
7832 (('a' <= (c) && (c) <= 'i') \
7833 || ('j' <= (c) && (c) <= 'r') \
7834 || ('s' <= (c) && (c) <= 'z'))
7835 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7838 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7843 for (i = 0; i < 256; i++)
7844 if (XOR (islower (i), ISLOWER (i))
7845 || toupper (i) != TOUPPER (i))
7850 if ac_fn_c_try_run "$LINENO"; then :
7853 ac_cv_header_stdc=no
7855 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7856 conftest.$ac_objext conftest.beam conftest.$ac_ext
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7862 $as_echo "$ac_cv_header_stdc" >&6; }
7863 if test $ac_cv_header_stdc = yes; then
7865 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7869 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7870 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7871 inttypes.h stdint.h unistd.h
7873 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7874 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7876 eval as_val
=\$
$as_ac_Header
7877 if test "x$as_val" = x
""yes; then :
7878 cat >>confdefs.h
<<_ACEOF
7879 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7887 for ac_header
in dlfcn.h
7889 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7891 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7892 cat >>confdefs.h
<<_ACEOF
7893 #define HAVE_DLFCN_H 1
7903 ac_cpp
='$CXXCPP $CPPFLAGS'
7904 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7905 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7906 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7907 if test -z "$CXX"; then
7908 if test -n "$CCC"; then
7911 if test -n "$ac_tool_prefix"; then
7912 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
7914 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7915 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7917 $as_echo_n "checking for $ac_word... " >&6; }
7918 if test "${ac_cv_prog_CXX+set}" = set; then :
7919 $as_echo_n "(cached) " >&6
7921 if test -n "$CXX"; then
7922 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
7924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7928 test -z "$as_dir" && as_dir
=.
7929 for ac_exec_ext
in '' $ac_executable_extensions; do
7930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7931 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
7932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7942 if test -n "$CXX"; then
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
7944 $as_echo "$CXX" >&6; }
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7947 $as_echo "no" >&6; }
7951 test -n "$CXX" && break
7954 if test -z "$CXX"; then
7956 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
7958 # Extract the first word of "$ac_prog", so it can be a program name with args.
7959 set dummy
$ac_prog; ac_word
=$2
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7961 $as_echo_n "checking for $ac_word... " >&6; }
7962 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
7963 $as_echo_n "(cached) " >&6
7965 if test -n "$ac_ct_CXX"; then
7966 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
7968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7972 test -z "$as_dir" && as_dir
=.
7973 for ac_exec_ext
in '' $ac_executable_extensions; do
7974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7975 ac_cv_prog_ac_ct_CXX
="$ac_prog"
7976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7985 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
7986 if test -n "$ac_ct_CXX"; then
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
7988 $as_echo "$ac_ct_CXX" >&6; }
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7991 $as_echo "no" >&6; }
7995 test -n "$ac_ct_CXX" && break
7998 if test "x$ac_ct_CXX" = x
; then
8001 case $cross_compiling:$ac_tool_warned in
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8004 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8005 ac_tool_warned
=yes ;;
8013 # Provide some information about the compiler.
8014 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
8017 for ac_option
in --version -v -V -qversion; do
8018 { { ac_try
="$ac_compiler $ac_option >&5"
8020 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8021 *) ac_try_echo=$ac_try;;
8023 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8024 $as_echo "$ac_try_echo"; } >&5
8025 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8027 if test -s conftest.err; then
8029 ... rest of stderr output deleted ...
8030 10q' conftest.err >conftest.er1
8031 cat conftest.er1 >&5
8032 rm -f conftest.er1 conftest.err
8034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8035 test $ac_status = 0; }
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
8039 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
8040 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
8041 $as_echo_n "(cached) " >&6
8043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8044 /* end confdefs.h. */
8057 if ac_fn_cxx_try_compile "$LINENO"; then :
8062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8063 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
8067 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
8068 if test $ac_compiler_gnu = yes; then
8073 ac_test_CXXFLAGS=${CXXFLAGS+set}
8074 ac_save_CXXFLAGS=$CXXFLAGS
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
8076 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
8077 if test "${ac_cv_prog_cxx_g+set}" = set; then :
8078 $as_echo_n "(cached) " >&6
8080 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
8081 ac_cxx_werror_flag=yes
8084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8085 /* end confdefs.h. */
8095 if ac_fn_cxx_try_compile "$LINENO"; then :
8096 ac_cv_prog_cxx_g=yes
8099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8100 /* end confdefs.h. */
8110 if ac_fn_cxx_try_compile "$LINENO"; then :
8113 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8116 /* end confdefs.h. */
8126 if ac_fn_cxx_try_compile "$LINENO"; then :
8127 ac_cv_prog_cxx_g=yes
8129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8134 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
8137 $as_echo "$ac_cv_prog_cxx_g" >&6; }
8138 if test "$ac_test_CXXFLAGS" = set; then
8139 CXXFLAGS=$ac_save_CXXFLAGS
8140 elif test $ac_cv_prog_cxx_g = yes; then
8141 if test "$GXX" = yes; then
8147 if test "$GXX" = yes; then
8154 ac_cpp='$CPP $CPPFLAGS'
8155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8159 depcc="$CXX" am_compiler_list=
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
8162 $as_echo_n "checking dependency style of $depcc... " >&6; }
8163 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
8164 $as_echo_n "(cached) " >&6
8166 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
8167 # We make a subdir and do the tests there. Otherwise we can end up
8168 # making bogus files that we don't know about and never remove. For
8169 # instance it was reported that on HP-UX the gcc test will end up
8170 # making a dummy file named `D
' -- because `-MD' means
`put the output
8173 # Copy depcomp to subdir because otherwise we won't find it if we're
8174 # using a relative directory.
8175 cp "$am_depcomp" conftest.dir
8177 # We will build objects and dependencies in a subdirectory because
8178 # it helps to detect inapplicable dependency modes. For instance
8179 # both Tru64's cc and ICC support -MD to output dependencies as a
8180 # side effect of compilation, but ICC will put the dependencies in
8181 # the current directory while Tru64 will put them in the object
8185 am_cv_CXX_dependencies_compiler_type=none
8186 if test "$am_compiler_list" = ""; then
8187 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
8190 case " $depcc " in #(
8191 *\ -arch\ *\ -arch\ *) am__universal=true ;;
8194 for depmode in $am_compiler_list; do
8195 # Setup a source with many dependencies, because some compilers
8196 # like to wrap large dependency lists on column 80 (with \), and
8197 # we should not choose a depcomp mode which is confused by this.
8199 # We need to recreate these files for each test, as the compiler may
8200 # overwrite some of them when testing with obscure command lines.
8201 # This happens at least with the AIX C compiler.
8203 for i in 1 2 3 4 5 6; do
8204 echo '#include "conftst'$i'.h"' >> sub/conftest.c
8205 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
8206 # Solaris 8's
{/usr
,}/bin
/sh.
8207 touch sub
/conftst
$i.h
8209 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8211 # We check with `-c' and `-o' for the sake of the "dashmstdout"
8212 # mode. It turns out that the SunPro C++ compiler does not properly
8213 # handle `-M -o', and we need to detect this. Also, some Intel
8214 # versions had trouble with output in subdirs
8215 am__obj
=sub
/conftest.
${OBJEXT-o}
8216 am__minus_obj
="-o $am__obj"
8219 # This depmode causes a compiler race in universal mode.
8220 test "$am__universal" = false ||
continue
8223 # after this tag, mechanisms are not by side-effect, so they'll
8224 # only be used when explicitly requested
8225 if test "x$enable_dependency_tracking" = xyes
; then
8231 msvisualcpp | msvcmsys
)
8232 # This compiler won't grok `-c -o', but also, the minuso test has
8233 # not run yet. These depmodes are late enough in the game, and
8234 # so weak that their functioning should not be impacted.
8235 am__obj
=conftest.
${OBJEXT-o}
8240 if depmode
=$depmode \
8241 source=sub
/conftest.c object
=$am__obj \
8242 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
8243 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
8244 >/dev
/null
2>conftest.err
&&
8245 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
8246 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
8247 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
8248 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
8249 # icc doesn't choke on unknown options, it will just issue warnings
8250 # or remarks (even with -Werror). So we grep stderr for any message
8251 # that says an option was ignored or not supported.
8252 # When given -MP, icc 7.0 and 7.1 complain thusly:
8253 # icc: Command line warning: ignoring option '-M'; no argument required
8254 # The diagnosis changed in icc 8.0:
8255 # icc: Command line remark: option '-MP' not supported
8256 if (grep 'ignoring option' conftest.err ||
8257 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
8258 am_cv_CXX_dependencies_compiler_type
=$depmode
8267 am_cv_CXX_dependencies_compiler_type
=none
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
8272 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
8273 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
8276 test "x$enable_dependency_tracking" != xno \
8277 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
8278 am__fastdepCXX_TRUE
=
8279 am__fastdepCXX_FALSE
='#'
8281 am__fastdepCXX_TRUE
='#'
8282 am__fastdepCXX_FALSE
=
8286 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
8287 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
8288 (test "X$CXX" != "Xg++"))) ; then
8290 ac_cpp
='$CXXCPP $CPPFLAGS'
8291 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8292 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8293 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
8295 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
8296 if test -z "$CXXCPP"; then
8297 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
8298 $as_echo_n "(cached) " >&6
8300 # Double quotes because CXXCPP needs to be expanded
8301 for CXXCPP
in "$CXX -E" "/lib/cpp"
8304 for ac_cxx_preproc_warn_flag
in '' yes
8306 # Use a header file that comes with gcc, so configuring glibc
8307 # with a fresh cross-compiler works.
8308 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8309 # <limits.h> exists even on freestanding compilers.
8310 # On the NeXT, cc -E runs the code through the compiler's parser,
8311 # not just through cpp. "Syntax error" is here to catch this case.
8312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8313 /* end confdefs.h. */
8315 # include <limits.h>
8317 # include <assert.h>
8321 if ac_fn_cxx_try_cpp
"$LINENO"; then :
8324 # Broken: fails on valid input.
8327 rm -f conftest.err conftest.
$ac_ext
8329 # OK, works on sane cases. Now check whether nonexistent headers
8330 # can be detected and how.
8331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8332 /* end confdefs.h. */
8333 #include <ac_nonexistent.h>
8335 if ac_fn_cxx_try_cpp
"$LINENO"; then :
8336 # Broken: success on invalid input.
8339 # Passes both tests.
8343 rm -f conftest.err conftest.
$ac_ext
8346 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8347 rm -f conftest.err conftest.
$ac_ext
8348 if $ac_preproc_ok; then :
8353 ac_cv_prog_CXXCPP
=$CXXCPP
8356 CXXCPP
=$ac_cv_prog_CXXCPP
8358 ac_cv_prog_CXXCPP
=$CXXCPP
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
8361 $as_echo "$CXXCPP" >&6; }
8363 for ac_cxx_preproc_warn_flag
in '' yes
8365 # Use a header file that comes with gcc, so configuring glibc
8366 # with a fresh cross-compiler works.
8367 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8368 # <limits.h> exists even on freestanding compilers.
8369 # On the NeXT, cc -E runs the code through the compiler's parser,
8370 # not just through cpp. "Syntax error" is here to catch this case.
8371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8372 /* end confdefs.h. */
8374 # include <limits.h>
8376 # include <assert.h>
8380 if ac_fn_cxx_try_cpp
"$LINENO"; then :
8383 # Broken: fails on valid input.
8386 rm -f conftest.err conftest.
$ac_ext
8388 # OK, works on sane cases. Now check whether nonexistent headers
8389 # can be detected and how.
8390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8391 /* end confdefs.h. */
8392 #include <ac_nonexistent.h>
8394 if ac_fn_cxx_try_cpp
"$LINENO"; then :
8395 # Broken: success on invalid input.
8398 # Passes both tests.
8402 rm -f conftest.err conftest.
$ac_ext
8405 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8406 rm -f conftest.err conftest.
$ac_ext
8407 if $ac_preproc_ok; then :
8410 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8412 _lt_caught_CXX_error
=yes; }
8416 ac_cpp
='$CPP $CPPFLAGS'
8417 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8418 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8419 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8422 _lt_caught_CXX_error
=yes
8439 # Check whether --enable-shared was given.
8440 if test "${enable_shared+set}" = set; then :
8441 enableval
=$enable_shared; p
=${PACKAGE-default}
8443 yes) enable_shared
=yes ;;
8444 no
) enable_shared
=no
;;
8447 # Look at the argument we got. We use all the common list separators.
8448 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8449 for pkg
in $enableval; do
8451 if test "X$pkg" = "X$p"; then
8470 # Check whether --enable-static was given.
8471 if test "${enable_static+set}" = set; then :
8472 enableval
=$enable_static; p
=${PACKAGE-default}
8474 yes) enable_static
=yes ;;
8475 no
) enable_static
=no
;;
8478 # Look at the argument we got. We use all the common list separators.
8479 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8480 for pkg
in $enableval; do
8482 if test "X$pkg" = "X$p"; then
8502 # Check whether --with-pic was given.
8503 if test "${with_pic+set}" = set; then :
8504 withval
=$with_pic; pic_mode
="$withval"
8510 test -z "$pic_mode" && pic_mode
=default
8518 # Check whether --enable-fast-install was given.
8519 if test "${enable_fast_install+set}" = set; then :
8520 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8522 yes) enable_fast_install
=yes ;;
8523 no
) enable_fast_install
=no
;;
8525 enable_fast_install
=no
8526 # Look at the argument we got. We use all the common list separators.
8527 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8528 for pkg
in $enableval; do
8530 if test "X$pkg" = "X$p"; then
8531 enable_fast_install
=yes
8538 enable_fast_install
=yes
8551 # This can be used to rebuild libtool when needed
8552 LIBTOOL_DEPS
="$ltmain"
8554 # Always use our own libtool.
8555 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8581 test -z "$LN_S" && LN_S
="ln -s"
8596 if test -n "${ZSH_VERSION+set}" ; then
8597 setopt NO_GLOB_SUBST
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8601 $as_echo_n "checking for objdir... " >&6; }
8602 if test "${lt_cv_objdir+set}" = set; then :
8603 $as_echo_n "(cached) " >&6
8605 rm -f .libs
2>/dev
/null
8606 mkdir .libs
2>/dev
/null
8607 if test -d .libs
; then
8610 # MS-DOS does not allow filenames that begin with a dot.
8613 rmdir .libs
2>/dev
/null
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8616 $as_echo "$lt_cv_objdir" >&6; }
8617 objdir
=$lt_cv_objdir
8623 cat >>confdefs.h
<<_ACEOF
8624 #define LT_OBJDIR "$lt_cv_objdir/"
8645 # AIX sometimes has problems with the GCC collect2 program. For some
8646 # reason, if we set the COLLECT_NAMES environment variable, the problems
8647 # vanish in a puff of smoke.
8648 if test "X${COLLECT_NAMES+set}" != Xset
; then
8650 export COLLECT_NAMES
8655 # Sed substitution that helps us do robust quoting. It backslashifies
8656 # metacharacters that are still active within double-quoted strings.
8657 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
8659 # Same as above, but do not quote variable references.
8660 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
8662 # Sed substitution to delay expansion of an escaped shell variable in a
8663 # double_quote_subst'ed string.
8664 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
8666 # Sed substitution to delay expansion of an escaped single quote.
8667 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
8669 # Sed substitution to avoid accidental globbing in evaled expressions
8670 no_glob_subst
='s/\*/\\\*/g'
8674 can_build_shared
=yes
8676 # All known linkers require a `.a' archive for static linking (except MSVC,
8677 # which needs '.lib').
8680 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8683 old_CFLAGS
="$CFLAGS"
8685 # Set sane defaults for various variables
8686 test -z "$CC" && CC
=cc
8687 test -z "$LTCC" && LTCC
=$CC
8688 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8689 test -z "$LD" && LD
=ld
8690 test -z "$ac_objext" && ac_objext
=o
8692 for cc_temp
in $compiler""; do
8694 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8695 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8700 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8703 # Only perform the check for file, if the check method requires it
8704 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8705 case $deplibs_check_method in
8707 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8709 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8710 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8711 $as_echo_n "(cached) " >&6
8715 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8718 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8719 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8720 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8721 for ac_dir
in $ac_dummy; do
8723 test -z "$ac_dir" && ac_dir
=.
8724 if test -f $ac_dir/${ac_tool_prefix}file; then
8725 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8726 if test -n "$file_magic_test_file"; then
8727 case $deplibs_check_method in
8729 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8730 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8731 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8732 $EGREP "$file_magic_regex" > /dev
/null
; then
8737 *** Warning: the command libtool uses to detect shared libraries,
8738 *** $file_magic_cmd, produces output that libtool cannot recognize.
8739 *** The result is that libtool may fail to recognize shared libraries
8740 *** as such. This will affect the creation of libtool libraries that
8741 *** depend on shared libraries, but programs linked with such libtool
8742 *** libraries will work regardless of this problem. Nevertheless, you
8743 *** may want to report the problem to your system manager and/or to
8744 *** bug-libtool@gnu.org
8754 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8759 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8760 if test -n "$MAGIC_CMD"; then
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8762 $as_echo "$MAGIC_CMD" >&6; }
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8765 $as_echo "no" >&6; }
8772 if test -z "$lt_cv_path_MAGIC_CMD"; then
8773 if test -n "$ac_tool_prefix"; then
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8775 $as_echo_n "checking for file... " >&6; }
8776 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8777 $as_echo_n "(cached) " >&6
8781 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8784 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8785 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8786 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8787 for ac_dir
in $ac_dummy; do
8789 test -z "$ac_dir" && ac_dir
=.
8790 if test -f $ac_dir/file; then
8791 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8792 if test -n "$file_magic_test_file"; then
8793 case $deplibs_check_method in
8795 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8796 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8797 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8798 $EGREP "$file_magic_regex" > /dev
/null
; then
8803 *** Warning: the command libtool uses to detect shared libraries,
8804 *** $file_magic_cmd, produces output that libtool cannot recognize.
8805 *** The result is that libtool may fail to recognize shared libraries
8806 *** as such. This will affect the creation of libtool libraries that
8807 *** depend on shared libraries, but programs linked with such libtool
8808 *** libraries will work regardless of this problem. Nevertheless, you
8809 *** may want to report the problem to your system manager and/or to
8810 *** bug-libtool@gnu.org
8820 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8825 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8826 if test -n "$MAGIC_CMD"; then
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8828 $as_echo "$MAGIC_CMD" >&6; }
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8831 $as_echo "no" >&6; }
8844 # Use C for the default configuration in the libtool script
8848 ac_cpp
='$CPP $CPPFLAGS'
8849 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8850 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8851 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8854 # Source file extension for C test sources.
8857 # Object file extension for compiled C test sources.
8861 # Code to be used in simple compile tests
8862 lt_simple_compile_test_code
="int some_variable = 0;"
8864 # Code to be used in simple link tests
8865 lt_simple_link_test_code
='int main(){return(0);}'
8873 # If no C compiler was specified, use CC.
8876 # If no C compiler flags were specified, use CFLAGS.
8877 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8879 # Allow CC to be a program name with arguments.
8882 # Save the default compiler, since it gets overwritten when the other
8883 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8884 compiler_DEFAULT
=$CC
8886 # save warnings/boilerplate of simple test code
8887 ac_outfile
=conftest.
$ac_objext
8888 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8889 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8890 _lt_compiler_boilerplate
=`cat conftest.err`
8893 ac_outfile
=conftest.
$ac_objext
8894 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8895 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8896 _lt_linker_boilerplate
=`cat conftest.err`
8901 ## There is no encapsulation within the following macros, do not change
8902 ## the running order or otherwise move them around unless you know exactly
8903 ## what you are doing...
8904 if test -n "$compiler"; then
8906 lt_prog_compiler_no_builtin_flag
=
8908 if test "$GCC" = yes; then
8909 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8912 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8913 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8914 $as_echo_n "(cached) " >&6
8916 lt_cv_prog_compiler_rtti_exceptions
=no
8917 ac_outfile
=conftest.
$ac_objext
8918 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8919 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8920 # Insert the option either (1) after the last *FLAGS variable, or
8921 # (2) before a word containing "conftest.", or (3) at the end.
8922 # Note that $ac_compile itself does not contain backslashes and begins
8923 # with a dollar sign (not a hyphen), so the echo should work correctly.
8924 # The option is referenced via a variable to avoid confusing sed.
8925 lt_compile
=`echo "$ac_compile" | $SED \
8926 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8927 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8928 -e 's:$: $lt_compiler_flag:'`
8929 (eval echo "\"\$as_me:8929: $lt_compile\"" >&5)
8930 (eval "$lt_compile" 2>conftest.err
)
8932 cat conftest.err
>&5
8933 echo "$as_me:8933: \$? = $ac_status" >&5
8934 if (exit $ac_status) && test -s "$ac_outfile"; then
8935 # The compiler can only warn and ignore the option if not recognized
8936 # So say no if there are warnings other than the usual output.
8937 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8938 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8939 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8940 lt_cv_prog_compiler_rtti_exceptions
=yes
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8947 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8949 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8950 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8962 lt_prog_compiler_wl
=
8963 lt_prog_compiler_pic
=
8964 lt_prog_compiler_static
=
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8967 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8969 if test "$GCC" = yes; then
8970 lt_prog_compiler_wl
='-Wl,'
8971 lt_prog_compiler_static
='-static'
8975 # All AIX code is PIC.
8976 if test "$host_cpu" = ia64
; then
8977 # AIX 5 now supports IA64 processor
8978 lt_prog_compiler_static
='-Bstatic'
8985 # see comment about AmigaOS4 .so support
8986 lt_prog_compiler_pic
='-fPIC'
8989 # FIXME: we need at least 68020 code to build shared libraries, but
8990 # adding the `-m68020' flag to GCC prevents building anything better,
8992 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8997 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8998 # PIC is the default for these OSes.
9001 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9002 # This hack is so that the source file can tell whether it is being
9003 # built for inclusion in a dll (and should export symbols for example).
9004 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9005 # (--disable-auto-import) libraries
9006 lt_prog_compiler_pic
='-DDLL_EXPORT'
9009 darwin
* | rhapsody
*)
9010 # PIC is the default on this platform
9011 # Common symbols not allowed in MH_DYLIB files
9012 lt_prog_compiler_pic
='-fno-common'
9016 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9017 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9018 # sets the default TLS model and affects inlining.
9024 lt_prog_compiler_pic
='-fPIC'
9030 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9031 # Instead, we relocate shared libraries at runtime.
9035 # Just because we use GCC doesn't mean we suddenly get shared libraries
9036 # on systems that don't support them.
9037 lt_prog_compiler_can_build_shared
=no
9042 # QNX uses GNU C++, but need to define -shared option too, otherwise
9044 lt_prog_compiler_pic
='-fPIC -shared'
9048 if test -d /usr
/nec
; then
9049 lt_prog_compiler_pic
=-Kconform_pic
9054 lt_prog_compiler_pic
='-fPIC'
9058 # PORTME Check for flag to pass linker flags through the system compiler.
9061 lt_prog_compiler_wl
='-Wl,'
9062 if test "$host_cpu" = ia64
; then
9063 # AIX 5 now supports IA64 processor
9064 lt_prog_compiler_static
='-Bstatic'
9066 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9070 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9071 # This hack is so that the source file can tell whether it is being
9072 # built for inclusion in a dll (and should export symbols for example).
9073 lt_prog_compiler_pic
='-DDLL_EXPORT'
9076 hpux9
* | hpux10
* | hpux11
*)
9077 lt_prog_compiler_wl
='-Wl,'
9078 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9085 lt_prog_compiler_pic
='+Z'
9088 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9089 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9092 irix5
* | irix6
* | nonstopux
*)
9093 lt_prog_compiler_wl
='-Wl,'
9094 # PIC (with -KPIC) is the default.
9095 lt_prog_compiler_static
='-non_shared'
9098 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9099 case $cc_basename in
9100 # old Intel for x86_64 which still supported -KPIC.
9102 lt_prog_compiler_wl
='-Wl,'
9103 lt_prog_compiler_pic
='-KPIC'
9104 lt_prog_compiler_static
='-static'
9106 # icc used to be incompatible with GCC.
9107 # ICC 10 doesn't accept -KPIC any more.
9109 lt_prog_compiler_wl
='-Wl,'
9110 lt_prog_compiler_pic
='-fPIC'
9111 lt_prog_compiler_static
='-static'
9113 # Lahey Fortran 8.1.
9115 lt_prog_compiler_wl
='-Wl,'
9116 lt_prog_compiler_pic
='--shared'
9117 lt_prog_compiler_static
='--static'
9119 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
9120 # Portland Group compilers (*not* the Pentium gcc compiler,
9121 # which looks to be a dead project)
9122 lt_prog_compiler_wl
='-Wl,'
9123 lt_prog_compiler_pic
='-fpic'
9124 lt_prog_compiler_static
='-Bstatic'
9127 lt_prog_compiler_wl
='-Wl,'
9128 # All Alpha code is PIC.
9129 lt_prog_compiler_static
='-non_shared'
9132 # IBM XL C 8.0/Fortran 10.1 on PPC
9133 lt_prog_compiler_wl
='-Wl,'
9134 lt_prog_compiler_pic
='-qpic'
9135 lt_prog_compiler_static
='-qstaticlink'
9138 case `$CC -V 2>&1 | sed 5q` in
9141 lt_prog_compiler_pic
='-KPIC'
9142 lt_prog_compiler_static
='-Bstatic'
9143 lt_prog_compiler_wl
='-Wl,'
9146 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9147 lt_prog_compiler_pic
='-KPIC'
9148 lt_prog_compiler_static
='-Bstatic'
9149 lt_prog_compiler_wl
=''
9157 lt_prog_compiler_pic
='-KPIC'
9158 lt_prog_compiler_static
='-Bstatic'
9162 # QNX uses GNU C++, but need to define -shared option too, otherwise
9164 lt_prog_compiler_pic
='-fPIC -shared'
9167 osf3
* | osf4
* | osf5
*)
9168 lt_prog_compiler_wl
='-Wl,'
9169 # All OSF/1 code is PIC.
9170 lt_prog_compiler_static
='-non_shared'
9174 lt_prog_compiler_static
='-non_shared'
9178 lt_prog_compiler_pic
='-KPIC'
9179 lt_prog_compiler_static
='-Bstatic'
9180 case $cc_basename in
9182 lt_prog_compiler_wl
='-Qoption ld ';;
9184 lt_prog_compiler_wl
='-Wl,';;
9189 lt_prog_compiler_wl
='-Qoption ld '
9190 lt_prog_compiler_pic
='-PIC'
9191 lt_prog_compiler_static
='-Bstatic'
9194 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9195 lt_prog_compiler_wl
='-Wl,'
9196 lt_prog_compiler_pic
='-KPIC'
9197 lt_prog_compiler_static
='-Bstatic'
9201 if test -d /usr
/nec
;then
9202 lt_prog_compiler_pic
='-Kconform_pic'
9203 lt_prog_compiler_static
='-Bstatic'
9207 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9208 lt_prog_compiler_wl
='-Wl,'
9209 lt_prog_compiler_pic
='-KPIC'
9210 lt_prog_compiler_static
='-Bstatic'
9214 lt_prog_compiler_wl
='-Wl,'
9215 lt_prog_compiler_can_build_shared
=no
9219 lt_prog_compiler_pic
='-pic'
9220 lt_prog_compiler_static
='-Bstatic'
9224 lt_prog_compiler_can_build_shared
=no
9230 # For platforms which do not support PIC, -DPIC is meaningless:
9232 lt_prog_compiler_pic
=
9235 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9239 $as_echo "$lt_prog_compiler_pic" >&6; }
9247 # Check to make sure the PIC flag actually works.
9249 if test -n "$lt_prog_compiler_pic"; then
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9251 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9252 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9253 $as_echo_n "(cached) " >&6
9255 lt_cv_prog_compiler_pic_works
=no
9256 ac_outfile
=conftest.
$ac_objext
9257 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9258 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9259 # Insert the option either (1) after the last *FLAGS variable, or
9260 # (2) before a word containing "conftest.", or (3) at the end.
9261 # Note that $ac_compile itself does not contain backslashes and begins
9262 # with a dollar sign (not a hyphen), so the echo should work correctly.
9263 # The option is referenced via a variable to avoid confusing sed.
9264 lt_compile
=`echo "$ac_compile" | $SED \
9265 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9266 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9267 -e 's:$: $lt_compiler_flag:'`
9268 (eval echo "\"\$as_me:9268: $lt_compile\"" >&5)
9269 (eval "$lt_compile" 2>conftest.err
)
9271 cat conftest.err
>&5
9272 echo "$as_me:9272: \$? = $ac_status" >&5
9273 if (exit $ac_status) && test -s "$ac_outfile"; then
9274 # The compiler can only warn and ignore the option if not recognized
9275 # So say no if there are warnings other than the usual output.
9276 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
9277 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9278 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9279 lt_cv_prog_compiler_pic_works
=yes
9285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9286 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9288 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9289 case $lt_prog_compiler_pic in
9291 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9294 lt_prog_compiler_pic
=
9295 lt_prog_compiler_can_build_shared
=no
9306 # Check to make sure the static flag actually works.
9308 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9310 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9311 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9312 $as_echo_n "(cached) " >&6
9314 lt_cv_prog_compiler_static_works
=no
9315 save_LDFLAGS
="$LDFLAGS"
9316 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9317 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9318 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9319 # The linker can only warn and ignore the option if not recognized
9320 # So say no if there are warnings
9321 if test -s conftest.err
; then
9322 # Append any errors to the config.log.
9323 cat conftest.err
1>&5
9324 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
9325 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9326 if diff conftest.exp conftest.er2
>/dev
/null
; then
9327 lt_cv_prog_compiler_static_works
=yes
9330 lt_cv_prog_compiler_static_works
=yes
9334 LDFLAGS
="$save_LDFLAGS"
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9338 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9340 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9343 lt_prog_compiler_static
=
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9353 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9354 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9355 $as_echo_n "(cached) " >&6
9357 lt_cv_prog_compiler_c_o
=no
9358 $RM -r conftest
2>/dev
/null
9362 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9364 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9365 # Insert the option either (1) after the last *FLAGS variable, or
9366 # (2) before a word containing "conftest.", or (3) at the end.
9367 # Note that $ac_compile itself does not contain backslashes and begins
9368 # with a dollar sign (not a hyphen), so the echo should work correctly.
9369 lt_compile
=`echo "$ac_compile" | $SED \
9370 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9371 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9372 -e 's:$: $lt_compiler_flag:'`
9373 (eval echo "\"\$as_me:9373: $lt_compile\"" >&5)
9374 (eval "$lt_compile" 2>out
/conftest.err
)
9376 cat out
/conftest.err
>&5
9377 echo "$as_me:9377: \$? = $ac_status" >&5
9378 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9380 # The compiler can only warn and ignore the option if not recognized
9381 # So say no if there are warnings
9382 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9383 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9384 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9385 lt_cv_prog_compiler_c_o
=yes
9390 # SGI C++ compiler will create directory out/ii_files/ for
9391 # template instantiation
9392 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9393 $RM out
/* && rmdir out
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9400 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9408 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9409 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9410 $as_echo_n "(cached) " >&6
9412 lt_cv_prog_compiler_c_o
=no
9413 $RM -r conftest
2>/dev
/null
9417 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9419 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9420 # Insert the option either (1) after the last *FLAGS variable, or
9421 # (2) before a word containing "conftest.", or (3) at the end.
9422 # Note that $ac_compile itself does not contain backslashes and begins
9423 # with a dollar sign (not a hyphen), so the echo should work correctly.
9424 lt_compile
=`echo "$ac_compile" | $SED \
9425 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9426 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9427 -e 's:$: $lt_compiler_flag:'`
9428 (eval echo "\"\$as_me:9428: $lt_compile\"" >&5)
9429 (eval "$lt_compile" 2>out
/conftest.err
)
9431 cat out
/conftest.err
>&5
9432 echo "$as_me:9432: \$? = $ac_status" >&5
9433 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9435 # The compiler can only warn and ignore the option if not recognized
9436 # So say no if there are warnings
9437 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9438 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9439 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9440 lt_cv_prog_compiler_c_o
=yes
9445 # SGI C++ compiler will create directory out/ii_files/ for
9446 # template instantiation
9447 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9448 $RM out
/* && rmdir out
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9455 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9460 hard_links
="nottested"
9461 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9462 # do not overwrite the value of need_locks provided by the user
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9464 $as_echo_n "checking if we can lock with hard links... " >&6; }
9467 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9469 ln conftest.a conftest.b
2>&5 || hard_links
=no
9470 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9472 $as_echo "$hard_links" >&6; }
9473 if test "$hard_links" = no
; then
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9475 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9488 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9491 allow_undefined_flag
=
9492 always_export_symbols
=no
9494 archive_expsym_cmds
=
9495 compiler_needs_object
=no
9496 enable_shared_with_static_runtimes
=no
9497 export_dynamic_flag_spec
=
9498 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9499 hardcode_automatic
=no
9501 hardcode_direct_absolute
=no
9502 hardcode_libdir_flag_spec
=
9503 hardcode_libdir_flag_spec_ld
=
9504 hardcode_libdir_separator
=
9506 hardcode_shlibpath_var
=unsupported
9508 link_all_deplibs
=unknown
9511 old_archive_from_new_cmds
=
9512 old_archive_from_expsyms_cmds
=
9513 thread_safe_flag_spec
=
9514 whole_archive_flag_spec
=
9515 # include_expsyms should be a list of space-separated symbols to be *always*
9516 # included in the symbol list
9518 # exclude_expsyms can be an extended regexp of symbols to exclude
9519 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9520 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9521 # as well as any symbol that contains `d'.
9522 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9523 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9524 # platforms (ab)use it in PIC code, but their linkers get confused if
9525 # the symbol is explicitly referenced. Since portable code cannot
9526 # rely on this symbol name, it's probably fine to never include it in
9527 # preloaded symbol tables.
9528 # Exclude shared library initialization/finalization symbols.
9529 extract_expsyms_cmds
=
9532 cygwin
* | mingw
* | pw32
* | cegcc
*)
9533 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9534 # When not using gcc, we currently assume that we are using
9535 # Microsoft Visual C++.
9536 if test "$GCC" != yes; then
9541 # we just hope/assume this is gcc and not c89 (= MSVC++)
9550 if test "$with_gnu_ld" = yes; then
9551 # If archive_cmds runs LD, not CC, wlarc should be empty
9554 # Set some defaults for GNU ld with shared library support. These
9555 # are reset later if shared libraries are not supported. Putting them
9556 # here allows them to be overridden if necessary.
9557 runpath_var
=LD_RUN_PATH
9558 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9559 export_dynamic_flag_spec
='${wl}--export-dynamic'
9560 # ancient GNU ld didn't support --whole-archive et. al.
9561 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9562 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9564 whole_archive_flag_spec
=
9566 supports_anon_versioning
=no
9567 case `$LD -v 2>&1` in
9568 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9569 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9570 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9571 *\
2.11.
*) ;; # other 2.11 versions
9572 *) supports_anon_versioning
=yes ;;
9575 # See if GNU ld supports shared libraries.
9578 # On AIX/PPC, the GNU linker is very broken
9579 if test "$host_cpu" != ia64
; then
9583 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9584 *** to be unable to reliably create shared libraries on AIX.
9585 *** Therefore, libtool is disabling shared libraries support. If you
9586 *** really care for shared libraries, you may want to modify your PATH
9587 *** so that a non-GNU linker is found, and then restart.
9596 # see comment about AmigaOS4 .so support
9597 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9598 archive_expsym_cmds
=''
9601 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)'
9602 hardcode_libdir_flag_spec
='-L$libdir'
9603 hardcode_minus_L
=yes
9609 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9610 allow_undefined_flag
=unsupported
9611 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9612 # support --undefined. This deserves some investigation. FIXME
9613 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9619 cygwin
* | mingw
* | pw32
* | cegcc
*)
9620 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9621 # as there is no search path for DLLs.
9622 hardcode_libdir_flag_spec
='-L$libdir'
9623 allow_undefined_flag
=unsupported
9624 always_export_symbols
=no
9625 enable_shared_with_static_runtimes
=yes
9626 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9628 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9629 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9630 # If the export-symbols file already is a .def file (1st line
9631 # is EXPORTS), use it as is; otherwise, prepend...
9632 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9633 cp $export_symbols $output_objdir/$soname.def;
9635 echo EXPORTS > $output_objdir/$soname.def;
9636 cat $export_symbols >> $output_objdir/$soname.def;
9638 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9646 hardcode_shlibpath_var
=no
9647 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9648 export_dynamic_flag_spec
='${wl}-E'
9649 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9650 # Instead, shared libraries are loaded at an image base (0x10000000 by
9651 # default) and relocated if they conflict, which is a slow very memory
9652 # consuming and fragmenting process. To avoid this, we pick a random,
9653 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9654 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9655 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9656 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'
9659 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9661 if test "$host_os" = linux-dietlibc
; then
9662 case $cc_basename in
9663 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9666 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9667 && test "$tmp_diet" = no
9670 tmp_sharedflag
='-shared'
9671 case $cc_basename,$host_cpu in
9672 pgcc
*) # Portland Group C compiler
9673 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9674 tmp_addflag
=' $pic_flag'
9676 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9677 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9678 tmp_addflag
=' $pic_flag -Mnomain' ;;
9679 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9680 tmp_addflag
=' -i_dynamic' ;;
9681 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9682 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9683 ifc
* | ifort
*) # Intel Fortran compiler
9684 tmp_addflag
=' -nofor_main' ;;
9685 lf95
*) # Lahey Fortran 8.1
9686 whole_archive_flag_spec
=
9687 tmp_sharedflag
='--shared' ;;
9688 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9689 tmp_sharedflag
='-qmkshrobj'
9692 case `$CC -V 2>&1 | sed 5q` in
9693 *Sun\ C
*) # Sun C 5.9
9694 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9695 compiler_needs_object
=yes
9696 tmp_sharedflag
='-G' ;;
9697 *Sun\ F
*) # Sun Fortran 8.3
9698 tmp_sharedflag
='-G' ;;
9700 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9702 if test "x$supports_anon_versioning" = xyes
; then
9703 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9704 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9705 echo "local: *; };" >> $output_objdir/$libname.ver~
9706 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9709 case $cc_basename in
9711 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9712 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9713 hardcode_libdir_flag_spec
=
9714 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9715 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9716 if test "x$supports_anon_versioning" = xyes
; then
9717 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9718 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9719 echo "local: *; };" >> $output_objdir/$libname.ver~
9720 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9730 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9731 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9734 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9735 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9740 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9744 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9745 *** create shared libraries on Solaris systems. Therefore, libtool
9746 *** is disabling shared libraries support. We urge you to upgrade GNU
9747 *** binutils to release 2.9.1 or newer. Another option is to modify
9748 *** your PATH or compiler configuration so that the native linker is
9749 *** used, and then restart.
9752 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9753 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9754 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9760 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9761 case `$LD -v 2>&1` in
9762 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9766 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9767 *** reliably create shared libraries on SCO systems. Therefore, libtool
9768 *** is disabling shared libraries support. We urge you to upgrade GNU
9769 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9770 *** your PATH or compiler configuration so that the native linker is
9771 *** used, and then restart.
9776 # For security reasons, it is highly recommended that you always
9777 # use absolute paths for naming shared libraries, and exclude the
9778 # DT_RUNPATH tag from executables and libraries. But doing so
9779 # requires that you compile everything twice, which is a pain.
9780 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9781 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9782 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9783 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9792 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9795 hardcode_shlibpath_var
=no
9799 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9800 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9801 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9808 if test "$ld_shlibs" = no
; then
9810 hardcode_libdir_flag_spec
=
9811 export_dynamic_flag_spec
=
9812 whole_archive_flag_spec
=
9815 # PORTME fill in a description of your system's linker (not GNU ld)
9818 allow_undefined_flag
=unsupported
9819 always_export_symbols
=yes
9820 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'
9821 # Note: this linker hardcodes the directories in LIBPATH if there
9822 # are no directories specified by -L.
9823 hardcode_minus_L
=yes
9824 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9825 # Neither direct hardcoding nor static linking is supported with a
9827 hardcode_direct
=unsupported
9832 if test "$host_cpu" = ia64
; then
9833 # On IA64, the linker does run time linking by default, so we don't
9834 # have to do anything special.
9835 aix_use_runtimelinking
=no
9836 exp_sym_flag
='-Bexport'
9839 # If we're using GNU nm, then we don't want the "-C" option.
9840 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9841 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9842 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9844 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'
9846 aix_use_runtimelinking
=no
9848 # Test if we are trying to use run time linking or normal
9849 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9850 # need to do runtime linking.
9851 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9852 for ld_flag
in $LDFLAGS; do
9853 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9854 aix_use_runtimelinking
=yes
9861 exp_sym_flag
='-bexport'
9862 no_entry_flag
='-bnoentry'
9865 # When large executables or shared objects are built, AIX ld can
9866 # have problems creating the table of contents. If linking a library
9867 # or program results in "error TOC overflow" add -mminimal-toc to
9868 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9869 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9873 hardcode_direct_absolute
=yes
9874 hardcode_libdir_separator
=':'
9875 link_all_deplibs
=yes
9876 file_list_spec
='${wl}-f,'
9878 if test "$GCC" = yes; then
9879 case $host_os in aix4.
[012]|aix4.
[012].
*)
9880 # We only want to do this on AIX 4.2 and lower, the check
9881 # below for broken collect2 doesn't work under 4.3+
9882 collect2name
=`${CC} -print-prog-name=collect2`
9883 if test -f "$collect2name" &&
9884 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9886 # We have reworked collect2
9889 # We have old collect2
9890 hardcode_direct
=unsupported
9891 # It fails to find uninstalled libraries when the uninstalled
9892 # path is not listed in the libpath. Setting hardcode_minus_L
9893 # to unsupported forces relinking
9894 hardcode_minus_L
=yes
9895 hardcode_libdir_flag_spec
='-L$libdir'
9896 hardcode_libdir_separator
=
9900 shared_flag
='-shared'
9901 if test "$aix_use_runtimelinking" = yes; then
9902 shared_flag
="$shared_flag "'${wl}-G'
9906 if test "$host_cpu" = ia64
; then
9907 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9908 # chokes on -Wl,-G. The following line is correct:
9911 if test "$aix_use_runtimelinking" = yes; then
9912 shared_flag
='${wl}-G'
9914 shared_flag
='${wl}-bM:SRE'
9919 export_dynamic_flag_spec
='${wl}-bexpall'
9920 # It seems that -bexpall does not export symbols beginning with
9921 # underscore (_), so it is better to generate a list of symbols to export.
9922 always_export_symbols
=yes
9923 if test "$aix_use_runtimelinking" = yes; then
9924 # Warning - without using the other runtime loading flags (-brtl),
9925 # -berok will link without error, but may produce a broken library.
9926 allow_undefined_flag
='-berok'
9927 # Determine the default libpath from the value encoded in an
9929 if test x
$gcc_no_link = xyes
; then
9930 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9933 /* end confdefs.h. */
9943 if ac_fn_c_try_link
"$LINENO"; then :
9945 lt_aix_libpath_sed
='
9946 /Import File Strings/,/^$/ {
9952 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9953 # Check for a 64-bit object if we didn't find anything.
9954 if test -z "$aix_libpath"; then
9955 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9958 rm -f core conftest.err conftest.
$ac_objext \
9959 conftest
$ac_exeext conftest.
$ac_ext
9960 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9962 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9963 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9965 if test "$host_cpu" = ia64
; then
9966 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9967 allow_undefined_flag
="-z nodefs"
9968 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"
9970 # Determine the default libpath from the value encoded in an
9972 if test x
$gcc_no_link = xyes
; then
9973 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9976 /* end confdefs.h. */
9986 if ac_fn_c_try_link
"$LINENO"; then :
9988 lt_aix_libpath_sed
='
9989 /Import File Strings/,/^$/ {
9995 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9996 # Check for a 64-bit object if we didn't find anything.
9997 if test -z "$aix_libpath"; then
9998 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10001 rm -f core conftest.err conftest.
$ac_objext \
10002 conftest
$ac_exeext conftest.
$ac_ext
10003 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10005 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10006 # Warning - without using the other run time loading flags,
10007 # -berok will link without error, but may produce a broken library.
10008 no_undefined_flag
=' ${wl}-bernotok'
10009 allow_undefined_flag
=' ${wl}-berok'
10010 # Exported symbols can be pulled into shared objects from archives
10011 whole_archive_flag_spec
='$convenience'
10012 archive_cmds_need_lc
=yes
10013 # This is similar to how AIX traditionally builds its shared libraries.
10014 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'
10022 # see comment about AmigaOS4 .so support
10023 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10024 archive_expsym_cmds
=''
10027 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)'
10028 hardcode_libdir_flag_spec
='-L$libdir'
10029 hardcode_minus_L
=yes
10035 export_dynamic_flag_spec
=-rdynamic
10038 cygwin
* | mingw
* | pw32
* | cegcc
*)
10039 # When not using gcc, we currently assume that we are using
10040 # Microsoft Visual C++.
10041 # hardcode_libdir_flag_spec is actually meaningless, as there is
10042 # no search path for DLLs.
10043 hardcode_libdir_flag_spec
=' '
10044 allow_undefined_flag
=unsupported
10045 # Tell ltmain to make .lib files, not .a files.
10047 # Tell ltmain to make .dll files, not .so files.
10049 # FIXME: Setting linknames here is a bad hack.
10050 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10051 # The linker will automatically build a .lib file if we build a DLL.
10052 old_archive_from_new_cmds
='true'
10053 # FIXME: Should let the user specify the lib program.
10054 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10055 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10056 enable_shared_with_static_runtimes
=yes
10059 darwin
* | rhapsody
*)
10062 archive_cmds_need_lc
=no
10064 hardcode_automatic
=yes
10065 hardcode_shlibpath_var
=unsupported
10066 whole_archive_flag_spec
=''
10067 link_all_deplibs
=yes
10068 allow_undefined_flag
="$_lt_dar_allow_undefined"
10069 case $cc_basename in
10070 ifort
*) _lt_dar_can_shared
=yes ;;
10071 *) _lt_dar_can_shared
=$GCC ;;
10073 if test "$_lt_dar_can_shared" = "yes"; then
10074 output_verbose_link_cmd
=echo
10075 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10076 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10077 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}"
10078 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}"
10087 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10088 hardcode_libdir_flag_spec
='-L$libdir'
10089 hardcode_shlibpath_var
=no
10096 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10097 # support. Future versions do this automatically, but an explicit c++rt0.o
10098 # does not break anything, and helps significantly (at the cost of a little
10101 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10102 hardcode_libdir_flag_spec
='-R$libdir'
10103 hardcode_direct
=yes
10104 hardcode_shlibpath_var
=no
10107 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10109 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10110 hardcode_direct
=yes
10111 hardcode_minus_L
=yes
10112 hardcode_shlibpath_var
=no
10115 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10116 freebsd
* | dragonfly
*)
10117 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10118 hardcode_libdir_flag_spec
='-R$libdir'
10119 hardcode_direct
=yes
10120 hardcode_shlibpath_var
=no
10124 if test "$GCC" = yes; then
10125 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'
10127 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'
10129 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10130 hardcode_libdir_separator
=:
10131 hardcode_direct
=yes
10133 # hardcode_minus_L: Not really in the search PATH,
10134 # but as the default location of the library.
10135 hardcode_minus_L
=yes
10136 export_dynamic_flag_spec
='${wl}-E'
10140 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
10141 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10143 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10145 if test "$with_gnu_ld" = no
; then
10146 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10147 hardcode_libdir_flag_spec_ld
='+b $libdir'
10148 hardcode_libdir_separator
=:
10149 hardcode_direct
=yes
10150 hardcode_direct_absolute
=yes
10151 export_dynamic_flag_spec
='${wl}-E'
10152 # hardcode_minus_L: Not really in the search PATH,
10153 # but as the default location of the library.
10154 hardcode_minus_L
=yes
10159 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
10162 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10165 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10168 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10174 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10177 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10180 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10184 if test "$with_gnu_ld" = no
; then
10185 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10186 hardcode_libdir_separator
=:
10191 hardcode_shlibpath_var
=no
10194 hardcode_direct
=yes
10195 hardcode_direct_absolute
=yes
10196 export_dynamic_flag_spec
='${wl}-E'
10198 # hardcode_minus_L: Not really in the search PATH,
10199 # but as the default location of the library.
10200 hardcode_minus_L
=yes
10206 irix5
* | irix6
* | nonstopux
*)
10207 if test "$GCC" = yes; then
10208 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10209 # Try to use the -exported_symbol ld option, if it does not
10210 # work, assume that -exports_file does not work either and
10211 # implicitly export all symbols.
10212 save_LDFLAGS
="$LDFLAGS"
10213 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10214 if test x
$gcc_no_link = xyes
; then
10215 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10218 /* end confdefs.h. */
10221 if ac_fn_c_try_link
"$LINENO"; then :
10222 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10225 rm -f core conftest.err conftest.
$ac_objext \
10226 conftest
$ac_exeext conftest.
$ac_ext
10227 LDFLAGS
="$save_LDFLAGS"
10229 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10230 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10232 archive_cmds_need_lc
='no'
10233 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10234 hardcode_libdir_separator
=:
10236 link_all_deplibs
=yes
10240 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10241 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10243 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10245 hardcode_libdir_flag_spec
='-R$libdir'
10246 hardcode_direct
=yes
10247 hardcode_shlibpath_var
=no
10251 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10252 hardcode_direct
=yes
10253 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10254 hardcode_libdir_separator
=:
10255 hardcode_shlibpath_var
=no
10262 if test -f /usr
/libexec
/ld.so
; then
10263 hardcode_direct
=yes
10264 hardcode_shlibpath_var
=no
10265 hardcode_direct_absolute
=yes
10266 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10267 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10268 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10269 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10270 export_dynamic_flag_spec
='${wl}-E'
10273 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10274 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10275 hardcode_libdir_flag_spec
='-R$libdir'
10278 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10279 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10289 hardcode_libdir_flag_spec
='-L$libdir'
10290 hardcode_minus_L
=yes
10291 allow_undefined_flag
=unsupported
10292 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'
10293 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10297 if test "$GCC" = yes; then
10298 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10299 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10301 allow_undefined_flag
=' -expect_unresolved \*'
10302 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10304 archive_cmds_need_lc
='no'
10305 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10306 hardcode_libdir_separator
=:
10309 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10310 if test "$GCC" = yes; then
10311 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10312 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10313 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10315 allow_undefined_flag
=' -expect_unresolved \*'
10316 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10317 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~
10318 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10320 # Both c and cxx compiler support -rpath directly
10321 hardcode_libdir_flag_spec
='-rpath $libdir'
10323 archive_cmds_need_lc
='no'
10324 hardcode_libdir_separator
=:
10328 no_undefined_flag
=' -z defs'
10329 if test "$GCC" = yes; then
10331 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10332 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10333 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10335 case `$CC -V 2>&1` in
10338 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10339 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10340 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10344 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10345 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10346 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10350 hardcode_libdir_flag_spec
='-R$libdir'
10351 hardcode_shlibpath_var
=no
10353 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10355 # The compiler driver will combine and reorder linker options,
10356 # but understands `-z linker_flag'. GCC discards it without `$wl',
10357 # but is careful enough not to reorder.
10358 # Supported since Solaris 2.6 (maybe 2.5.1?)
10359 if test "$GCC" = yes; then
10360 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10362 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10366 link_all_deplibs
=yes
10370 if test "x$host_vendor" = xsequent
; then
10371 # Use $CC to link under sequent, because it throws in some extra .o
10372 # files that make .init and .fini sections work.
10373 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10375 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10377 hardcode_libdir_flag_spec
='-L$libdir'
10378 hardcode_direct
=yes
10379 hardcode_minus_L
=yes
10380 hardcode_shlibpath_var
=no
10384 case $host_vendor in
10386 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10387 hardcode_direct
=yes # is this really true???
10390 ## LD is ld it makes a PLAMLIB
10391 ## CC just makes a GrossModule.
10392 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10393 reload_cmds
='$CC -r -o $output$reload_objs'
10397 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10398 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10401 runpath_var
='LD_RUN_PATH'
10402 hardcode_shlibpath_var
=no
10406 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10407 hardcode_shlibpath_var
=no
10408 export_dynamic_flag_spec
='-Bexport'
10412 if test -d /usr
/nec
; then
10413 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10414 hardcode_shlibpath_var
=no
10415 runpath_var
=LD_RUN_PATH
10416 hardcode_runpath_var
=yes
10421 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10422 no_undefined_flag
='${wl}-z,text'
10423 archive_cmds_need_lc
=no
10424 hardcode_shlibpath_var
=no
10425 runpath_var
='LD_RUN_PATH'
10427 if test "$GCC" = yes; then
10428 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10429 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10431 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10432 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10436 sysv5
* | sco3.2v5
* | sco5v6
*)
10437 # Note: We can NOT use -z defs as we might desire, because we do not
10438 # link with -lc, and that would cause any symbols used from libc to
10439 # always be unresolved, which means just about no library would
10440 # ever link correctly. If we're not using GNU ld we use -z text
10441 # though, which does catch some bad symbols but isn't as heavy-handed
10443 no_undefined_flag
='${wl}-z,text'
10444 allow_undefined_flag
='${wl}-z,nodefs'
10445 archive_cmds_need_lc
=no
10446 hardcode_shlibpath_var
=no
10447 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10448 hardcode_libdir_separator
=':'
10449 link_all_deplibs
=yes
10450 export_dynamic_flag_spec
='${wl}-Bexport'
10451 runpath_var
='LD_RUN_PATH'
10453 if test "$GCC" = yes; then
10454 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10455 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10457 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10458 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10463 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10464 hardcode_libdir_flag_spec
='-L$libdir'
10465 hardcode_shlibpath_var
=no
10473 if test x
$host_vendor = xsni
; then
10475 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10476 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10483 $as_echo "$ld_shlibs" >&6; }
10484 test "$ld_shlibs" = no
&& can_build_shared
=no
10486 with_gnu_ld
=$with_gnu_ld
10503 # Do we need to explicitly link libc?
10505 case "x$archive_cmds_need_lc" in
10507 # Assume -lc should be added
10508 archive_cmds_need_lc
=yes
10510 if test "$enable_shared" = yes && test "$GCC" = yes; then
10511 case $archive_cmds in
10513 # FIXME: we may have to deal with multi-command sequences.
10516 # Test whether the compiler implicitly links with -lc since on some
10517 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10518 # to ld, don't add -lc before -lgcc.
10519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10520 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10521 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10522 $as_echo_n "(cached) " >&6
10525 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10527 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10528 (eval $ac_compile) 2>&5
10530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10531 test $ac_status = 0; } 2>conftest.err
; then
10534 libobjs
=conftest.
$ac_objext
10536 wl
=$lt_prog_compiler_wl
10537 pic_flag
=$lt_prog_compiler_pic
10543 lt_save_allow_undefined_flag
=$allow_undefined_flag
10544 allow_undefined_flag
=
10545 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10546 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10549 test $ac_status = 0; }
10551 lt_cv_archive_cmds_need_lc
=no
10553 lt_cv_archive_cmds_need_lc
=yes
10555 allow_undefined_flag
=$lt_save_allow_undefined_flag
10557 cat conftest.err
1>&5
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10563 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10564 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10728 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10730 if test "$GCC" = yes; then
10732 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10733 *) lt_awk_arg
="/^libraries:/" ;;
10735 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10736 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
10737 # if the path contains ";" then we assume it to be the separator
10738 # otherwise default to the standard path separator (i.e. ":") - it is
10739 # assumed that no part of a normal pathname contains ";" but that should
10740 # okay in the real world where ";" in dirpaths is itself problematic.
10741 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10743 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10745 # Ok, now we have the path, separated by spaces, we can step through it
10746 # and add multilib dir if necessary.
10747 lt_tmp_lt_search_path_spec
=
10748 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10749 for lt_sys_path
in $lt_search_path_spec; do
10750 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10751 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10753 test -d "$lt_sys_path" && \
10754 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10757 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10758 BEGIN {RS=" "; FS="/|\n";} {
10761 for (lt_i = NF; lt_i > 0; lt_i--) {
10762 if ($lt_i != "" && $lt_i != ".") {
10763 if ($lt_i == "..") {
10766 if (lt_count == 0) {
10767 lt_foo="/" $lt_i lt_foo;
10774 if (lt_foo != "") { lt_freq[lt_foo]++; }
10775 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10777 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
10779 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10781 library_names_spec
=
10782 libname_spec
='lib$name'
10786 postuninstall_cmds
=
10790 shlibpath_overrides_runpath
=unknown
10792 dynamic_linker
="$host_os ld.so"
10793 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10794 need_lib_prefix
=unknown
10795 hardcode_into_libs
=no
10797 # when you set need_version to no, make sure it does not cause -set_version
10798 # flags to be left without arguments
10799 need_version
=unknown
10804 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10805 shlibpath_var
=LIBPATH
10807 # AIX 3 has no versioning support, so we append a major version to the name.
10808 soname_spec
='${libname}${release}${shared_ext}$major'
10815 hardcode_into_libs
=yes
10816 if test "$host_cpu" = ia64
; then
10817 # AIX 5 supports IA64
10818 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10819 shlibpath_var
=LD_LIBRARY_PATH
10821 # With GCC up to 2.95.x, collect2 would create an import file
10822 # for dependence libraries. The import file would start with
10823 # the line `#! .'. This would cause the generated library to
10824 # depend on `.', always an invalid library. This was fixed in
10825 # development snapshots of GCC prior to 3.0.
10827 aix4 | aix4.
[01] | aix4.
[01].
*)
10828 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10830 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10833 can_build_shared
=no
10837 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10838 # soname into executable. Probably we can add versioning support to
10839 # collect2, so additional links can be useful in future.
10840 if test "$aix_use_runtimelinking" = yes; then
10841 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10842 # instead of lib<name>.a to let people know that these are not
10843 # typical AIX shared libraries.
10844 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10846 # We preserve .a as extension for shared libraries through AIX4.2
10847 # and later when we are not doing run time linking.
10848 library_names_spec
='${libname}${release}.a $libname.a'
10849 soname_spec
='${libname}${release}${shared_ext}$major'
10851 shlibpath_var
=LIBPATH
10858 # Since July 2007 AmigaOS4 officially supports .so libraries.
10859 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10860 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10863 library_names_spec
='$libname.ixlibrary $libname.a'
10864 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10865 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
10871 library_names_spec
='${libname}${shared_ext}'
10872 dynamic_linker
="$host_os ld.so"
10873 shlibpath_var
=LIBRARY_PATH
10879 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10880 soname_spec
='${libname}${release}${shared_ext}$major'
10881 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10882 shlibpath_var
=LD_LIBRARY_PATH
10883 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10884 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10885 # the default ld.so.conf also contains /usr/contrib/lib and
10886 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10887 # libtool to hard-code these into programs
10890 cygwin
* | mingw
* | pw32
* | cegcc
*)
10891 version_type
=windows
10896 case $GCC,$host_os in
10897 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10898 library_names_spec
='$libname.dll.a'
10899 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10900 postinstall_cmds
='base_file=`basename \${file}`~
10901 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10902 dldir=$destdir/`dirname \$dlpath`~
10903 test -d \$dldir || mkdir -p \$dldir~
10904 $install_prog $dir/$dlname \$dldir/$dlname~
10905 chmod a+x \$dldir/$dlname~
10906 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10907 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10909 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10910 dlpath=$dir/\$dldll~
10912 shlibpath_overrides_runpath
=yes
10916 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10917 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10918 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10921 # MinGW DLLs use traditional 'lib' prefix
10922 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10923 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10924 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10925 # It is most probably a Windows format PATH printed by
10926 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10927 # path with ; separators, and with drive letters. We can handle the
10928 # drive letters (cygwin fileutils understands them), so leave them,
10929 # especially as we might pass files found there to a mingw objdump,
10930 # which wouldn't understand a cygwinified path. Ahh.
10931 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10933 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10937 # pw32 DLLs use 'pw' prefix rather than 'lib'
10938 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10944 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10947 dynamic_linker
='Win32 ld.exe'
10948 # FIXME: first we should search . and the directory the executable is in
10952 darwin
* | rhapsody
*)
10953 dynamic_linker
="$host_os dyld"
10954 version_type
=darwin
10957 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10958 soname_spec
='${libname}${release}${major}$shared_ext'
10959 shlibpath_overrides_runpath
=yes
10960 shlibpath_var
=DYLD_LIBRARY_PATH
10961 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10963 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10964 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10971 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10972 soname_spec
='${libname}${release}${shared_ext}$major'
10973 shlibpath_var
=LD_LIBRARY_PATH
10980 freebsd
* | dragonfly
*)
10981 # DragonFly does not have aout. When/if they implement a new
10982 # versioning mechanism, adjust this.
10983 if test -x /usr
/bin
/objformat
; then
10984 objformat
=`/usr/bin/objformat`
10987 freebsd
[123]*) objformat
=aout
;;
10988 *) objformat
=elf
;;
10991 version_type
=freebsd-
$objformat
10992 case $version_type in
10994 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10999 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11003 shlibpath_var
=LD_LIBRARY_PATH
11006 shlibpath_overrides_runpath
=yes
11008 freebsd3.
[01]* | freebsdelf3.
[01]*)
11009 shlibpath_overrides_runpath
=yes
11010 hardcode_into_libs
=yes
11012 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11013 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11014 shlibpath_overrides_runpath
=no
11015 hardcode_into_libs
=yes
11017 *) # from 4.6 on, and DragonFly
11018 shlibpath_overrides_runpath
=yes
11019 hardcode_into_libs
=yes
11028 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11029 soname_spec
='${libname}${release}${shared_ext}$major'
11030 shlibpath_var
=LD_LIBRARY_PATH
11031 hardcode_into_libs
=yes
11034 hpux9
* | hpux10
* | hpux11
*)
11035 # Give a soname corresponding to the major version so that dld.sl refuses to
11036 # link against other versions.
11043 hardcode_into_libs
=yes
11044 dynamic_linker
="$host_os dld.so"
11045 shlibpath_var
=LD_LIBRARY_PATH
11046 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048 soname_spec
='${libname}${release}${shared_ext}$major'
11049 if test "X$HPUX_IA64_MODE" = X32
; then
11050 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11052 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11054 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11058 hardcode_into_libs
=yes
11059 dynamic_linker
="$host_os dld.sl"
11060 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11061 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11062 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11063 soname_spec
='${libname}${release}${shared_ext}$major'
11064 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11065 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11069 dynamic_linker
="$host_os dld.sl"
11070 shlibpath_var
=SHLIB_PATH
11071 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11072 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11073 soname_spec
='${libname}${release}${shared_ext}$major'
11076 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11077 postinstall_cmds
='chmod 555 $lib'
11084 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11085 soname_spec
='${libname}${release}${shared_ext}$major'
11086 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11087 shlibpath_var
=LD_LIBRARY_PATH
11088 shlibpath_overrides_runpath
=no
11089 hardcode_into_libs
=yes
11092 irix5
* | irix6
* | nonstopux
*)
11094 nonstopux
*) version_type
=nonstopux
;;
11096 if test "$lt_cv_prog_gnu_ld" = yes; then
11104 soname_spec
='${libname}${release}${shared_ext}$major'
11105 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11107 irix5
* | nonstopux
*)
11108 libsuff
= shlibsuff
=
11111 case $LD in # libtool.m4 will add one of these switches to LD
11112 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11113 libsuff
= shlibsuff
= libmagic
=32-bit;;
11114 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11115 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11116 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11117 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11118 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11122 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11123 shlibpath_overrides_runpath
=no
11124 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11125 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11126 hardcode_into_libs
=yes
11129 # No shared lib support for Linux oldld, aout, or coff.
11130 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11134 # This must be Linux ELF.
11135 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11139 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11140 soname_spec
='${libname}${release}${shared_ext}$major'
11141 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11142 shlibpath_var
=LD_LIBRARY_PATH
11143 shlibpath_overrides_runpath
=no
11145 # Some binutils ld are patched to set DT_RUNPATH
11146 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11147 $as_echo_n "(cached) " >&6
11149 lt_cv_shlibpath_overrides_runpath
=no
11150 save_LDFLAGS
=$LDFLAGS
11151 save_libdir
=$libdir
11152 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11153 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11154 if test x
$gcc_no_link = xyes
; then
11155 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11158 /* end confdefs.h. */
11168 if ac_fn_c_try_link
"$LINENO"; then :
11169 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11170 lt_cv_shlibpath_overrides_runpath
=yes
11173 rm -f core conftest.err conftest.
$ac_objext \
11174 conftest
$ac_exeext conftest.
$ac_ext
11175 LDFLAGS
=$save_LDFLAGS
11176 libdir
=$save_libdir
11180 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11182 # This implies no fast_install, which is unacceptable.
11183 # Some rework will be needed to allow for fast_install
11184 # before this can be enabled.
11185 hardcode_into_libs
=yes
11187 # Append ld.so.conf contents to the search path
11188 if test -f /etc
/ld.so.conf
; then
11189 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;/^$/d' | tr '\n' ' '`
11190 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11193 # We used to test for /lib/ld.so.1 and disable shared libraries on
11194 # powerpc, because MkLinux only supported shared libraries with the
11195 # GNU dynamic linker. Since this was broken with cross compilers,
11196 # most powerpc-linux boxes support dynamic linking these days and
11197 # people can always --disable-shared, the test was removed, and we
11198 # assume the GNU/Linux dynamic linker is in use.
11199 dynamic_linker
='GNU/Linux ld.so'
11206 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11207 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11208 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11209 dynamic_linker
='NetBSD (a.out) ld.so'
11211 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11212 soname_spec
='${libname}${release}${shared_ext}$major'
11213 dynamic_linker
='NetBSD ld.elf_so'
11215 shlibpath_var
=LD_LIBRARY_PATH
11216 shlibpath_overrides_runpath
=yes
11217 hardcode_into_libs
=yes
11222 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11223 shlibpath_var
=LD_LIBRARY_PATH
11224 shlibpath_overrides_runpath
=yes
11231 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11232 soname_spec
='${libname}${release}${shared_ext}$major'
11233 shlibpath_var
=LD_LIBRARY_PATH
11234 shlibpath_overrides_runpath
=no
11235 hardcode_into_libs
=yes
11236 dynamic_linker
='ldqnx.so'
11241 sys_lib_dlsearch_path_spec
="/usr/lib"
11243 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11245 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11246 *) need_version
=no
;;
11248 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11249 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11250 shlibpath_var
=LD_LIBRARY_PATH
11251 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11253 openbsd2.
[89] | openbsd2.
[89].
*)
11254 shlibpath_overrides_runpath
=no
11257 shlibpath_overrides_runpath
=yes
11261 shlibpath_overrides_runpath
=yes
11266 libname_spec
='$name'
11269 library_names_spec
='$libname${shared_ext} $libname.a'
11270 dynamic_linker
='OS/2 ld.exe'
11271 shlibpath_var
=LIBPATH
11274 osf3
* | osf4
* | osf5
*)
11278 soname_spec
='${libname}${release}${shared_ext}$major'
11279 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11280 shlibpath_var
=LD_LIBRARY_PATH
11281 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11282 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11293 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11294 soname_spec
='${libname}${release}${shared_ext}$major'
11295 shlibpath_var
=LD_LIBRARY_PATH
11296 shlibpath_overrides_runpath
=yes
11297 hardcode_into_libs
=yes
11298 # ldd complains unless libraries are executable
11299 postinstall_cmds
='chmod +x $lib'
11304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11305 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11306 shlibpath_var
=LD_LIBRARY_PATH
11307 shlibpath_overrides_runpath
=yes
11308 if test "$with_gnu_ld" = yes; then
11316 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11317 soname_spec
='${libname}${release}${shared_ext}$major'
11318 shlibpath_var
=LD_LIBRARY_PATH
11319 case $host_vendor in
11321 shlibpath_overrides_runpath
=no
11323 runpath_var
=LD_RUN_PATH
11331 shlibpath_overrides_runpath
=no
11332 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11338 if test -d /usr
/nec
;then
11340 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11341 soname_spec
='$libname${shared_ext}.$major'
11342 shlibpath_var
=LD_LIBRARY_PATH
11346 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11347 version_type
=freebsd-elf
11350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11351 soname_spec
='${libname}${release}${shared_ext}$major'
11352 shlibpath_var
=LD_LIBRARY_PATH
11353 shlibpath_overrides_runpath
=yes
11354 hardcode_into_libs
=yes
11355 if test "$with_gnu_ld" = yes; then
11356 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11358 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11361 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11365 sys_lib_dlsearch_path_spec
='/usr/lib'
11369 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11373 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11374 shlibpath_var
=LD_LIBRARY_PATH
11375 shlibpath_overrides_runpath
=no
11376 hardcode_into_libs
=yes
11381 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11382 soname_spec
='${libname}${release}${shared_ext}$major'
11383 shlibpath_var
=LD_LIBRARY_PATH
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11391 $as_echo "$dynamic_linker" >&6; }
11392 test "$dynamic_linker" = no
&& can_build_shared
=no
11394 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11395 if test "$GCC" = yes; then
11396 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11399 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11400 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11402 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11403 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11493 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11495 if test -n "$hardcode_libdir_flag_spec" ||
11496 test -n "$runpath_var" ||
11497 test "X$hardcode_automatic" = "Xyes" ; then
11499 # We can hardcode non-existent directories.
11500 if test "$hardcode_direct" != no
&&
11501 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11502 # have to relink, otherwise we might link with an installed library
11503 # when we should be linking with a yet-to-be-installed one
11504 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11505 test "$hardcode_minus_L" != no
; then
11506 # Linking always hardcodes the temporary library directory.
11507 hardcode_action
=relink
11509 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11510 hardcode_action
=immediate
11513 # We cannot hardcode anything, or else we can only hardcode existing
11515 hardcode_action
=unsupported
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11518 $as_echo "$hardcode_action" >&6; }
11520 if test "$hardcode_action" = relink ||
11521 test "$inherit_rpath" = yes; then
11522 # Fast installation is not supported
11523 enable_fast_install
=no
11524 elif test "$shlibpath_overrides_runpath" = yes ||
11525 test "$enable_shared" = no
; then
11526 # Fast installation is not necessary
11527 enable_fast_install
=needless
11535 if test "x$enable_dlopen" != xyes
; then
11536 enable_dlopen
=unknown
11537 enable_dlopen_self
=unknown
11538 enable_dlopen_self_static
=unknown
11545 lt_cv_dlopen
="load_add_on"
11547 lt_cv_dlopen_self
=yes
11550 mingw
* | pw32
* | cegcc
*)
11551 lt_cv_dlopen
="LoadLibrary"
11556 lt_cv_dlopen
="dlopen"
11561 # if libdl is installed we need to link against it
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11563 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11564 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11565 $as_echo_n "(cached) " >&6
11567 ac_check_lib_save_LIBS
=$LIBS
11569 if test x
$gcc_no_link = xyes
; then
11570 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11573 /* end confdefs.h. */
11575 /* Override any GCC internal prototype to avoid an error.
11576 Use char because int might match the return type of a GCC
11577 builtin and then its argument prototype would still apply. */
11590 if ac_fn_c_try_link
"$LINENO"; then :
11591 ac_cv_lib_dl_dlopen
=yes
11593 ac_cv_lib_dl_dlopen
=no
11595 rm -f core conftest.err conftest.
$ac_objext \
11596 conftest
$ac_exeext conftest.
$ac_ext
11597 LIBS
=$ac_check_lib_save_LIBS
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11600 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11601 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11602 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11605 lt_cv_dlopen
="dyld"
11607 lt_cv_dlopen_self
=yes
11614 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11615 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11616 lt_cv_dlopen
="shl_load"
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11619 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11620 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11621 $as_echo_n "(cached) " >&6
11623 ac_check_lib_save_LIBS
=$LIBS
11625 if test x
$gcc_no_link = xyes
; then
11626 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11629 /* end confdefs.h. */
11631 /* Override any GCC internal prototype to avoid an error.
11632 Use char because int might match the return type of a GCC
11633 builtin and then its argument prototype would still apply. */
11641 return shl_load ();
11646 if ac_fn_c_try_link
"$LINENO"; then :
11647 ac_cv_lib_dld_shl_load
=yes
11649 ac_cv_lib_dld_shl_load
=no
11651 rm -f core conftest.err conftest.
$ac_objext \
11652 conftest
$ac_exeext conftest.
$ac_ext
11653 LIBS
=$ac_check_lib_save_LIBS
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11656 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11657 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11658 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11660 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11661 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11662 lt_cv_dlopen
="dlopen"
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11665 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11666 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11667 $as_echo_n "(cached) " >&6
11669 ac_check_lib_save_LIBS
=$LIBS
11671 if test x
$gcc_no_link = xyes
; then
11672 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11675 /* end confdefs.h. */
11677 /* Override any GCC internal prototype to avoid an error.
11678 Use char because int might match the return type of a GCC
11679 builtin and then its argument prototype would still apply. */
11692 if ac_fn_c_try_link
"$LINENO"; then :
11693 ac_cv_lib_dl_dlopen
=yes
11695 ac_cv_lib_dl_dlopen
=no
11697 rm -f core conftest.err conftest.
$ac_objext \
11698 conftest
$ac_exeext conftest.
$ac_ext
11699 LIBS
=$ac_check_lib_save_LIBS
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11702 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11703 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11704 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11707 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11708 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11709 $as_echo_n "(cached) " >&6
11711 ac_check_lib_save_LIBS
=$LIBS
11712 LIBS
="-lsvld $LIBS"
11713 if test x
$gcc_no_link = xyes
; then
11714 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11717 /* end confdefs.h. */
11719 /* Override any GCC internal prototype to avoid an error.
11720 Use char because int might match the return type of a GCC
11721 builtin and then its argument prototype would still apply. */
11734 if ac_fn_c_try_link
"$LINENO"; then :
11735 ac_cv_lib_svld_dlopen
=yes
11737 ac_cv_lib_svld_dlopen
=no
11739 rm -f core conftest.err conftest.
$ac_objext \
11740 conftest
$ac_exeext conftest.
$ac_ext
11741 LIBS
=$ac_check_lib_save_LIBS
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11744 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11745 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11746 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11749 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11750 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11751 $as_echo_n "(cached) " >&6
11753 ac_check_lib_save_LIBS
=$LIBS
11755 if test x
$gcc_no_link = xyes
; then
11756 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11759 /* end confdefs.h. */
11761 /* Override any GCC internal prototype to avoid an error.
11762 Use char because int might match the return type of a GCC
11763 builtin and then its argument prototype would still apply. */
11771 return dld_link ();
11776 if ac_fn_c_try_link
"$LINENO"; then :
11777 ac_cv_lib_dld_dld_link
=yes
11779 ac_cv_lib_dld_dld_link
=no
11781 rm -f core conftest.err conftest.
$ac_objext \
11782 conftest
$ac_exeext conftest.
$ac_ext
11783 LIBS
=$ac_check_lib_save_LIBS
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11786 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11787 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11788 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11809 if test "x$lt_cv_dlopen" != xno
; then
11815 case $lt_cv_dlopen in
11817 save_CPPFLAGS
="$CPPFLAGS"
11818 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11820 save_LDFLAGS
="$LDFLAGS"
11821 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11824 LIBS
="$lt_cv_dlopen_libs $LIBS"
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11827 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11828 if test "${lt_cv_dlopen_self+set}" = set; then :
11829 $as_echo_n "(cached) " >&6
11831 if test "$cross_compiling" = yes; then :
11832 lt_cv_dlopen_self
=cross
11834 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11835 lt_status
=$lt_dlunknown
11836 cat > conftest.
$ac_ext <<_LT_EOF
11837 #line 11837 "configure"
11838 #include "confdefs.h"
11847 # define LT_DLGLOBAL RTLD_GLOBAL
11850 # define LT_DLGLOBAL DL_GLOBAL
11852 # define LT_DLGLOBAL 0
11856 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11857 find out it does not work in some platform. */
11858 #ifndef LT_DLLAZY_OR_NOW
11860 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11863 # define LT_DLLAZY_OR_NOW DL_LAZY
11866 # define LT_DLLAZY_OR_NOW RTLD_NOW
11869 # define LT_DLLAZY_OR_NOW DL_NOW
11871 # define LT_DLLAZY_OR_NOW 0
11878 void fnord() { int i=42;}
11881 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11882 int status = $lt_dlunknown;
11886 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11887 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11888 /* dlclose (self); */
11896 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11897 (eval $ac_link) 2>&5
11899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11900 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11901 (.
/conftest
; exit; ) >&5 2>/dev
/null
11903 case x
$lt_status in
11904 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11905 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11906 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11909 # compilation failed
11910 lt_cv_dlopen_self
=no
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11918 $as_echo "$lt_cv_dlopen_self" >&6; }
11920 if test "x$lt_cv_dlopen_self" = xyes
; then
11921 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11923 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11924 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11925 $as_echo_n "(cached) " >&6
11927 if test "$cross_compiling" = yes; then :
11928 lt_cv_dlopen_self_static
=cross
11930 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11931 lt_status
=$lt_dlunknown
11932 cat > conftest.
$ac_ext <<_LT_EOF
11933 #line 11933 "configure"
11934 #include "confdefs.h"
11943 # define LT_DLGLOBAL RTLD_GLOBAL
11946 # define LT_DLGLOBAL DL_GLOBAL
11948 # define LT_DLGLOBAL 0
11952 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11953 find out it does not work in some platform. */
11954 #ifndef LT_DLLAZY_OR_NOW
11956 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11959 # define LT_DLLAZY_OR_NOW DL_LAZY
11962 # define LT_DLLAZY_OR_NOW RTLD_NOW
11965 # define LT_DLLAZY_OR_NOW DL_NOW
11967 # define LT_DLLAZY_OR_NOW 0
11974 void fnord() { int i=42;}
11977 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11978 int status = $lt_dlunknown;
11982 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11983 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11984 /* dlclose (self); */
11992 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11993 (eval $ac_link) 2>&5
11995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11996 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11997 (.
/conftest
; exit; ) >&5 2>/dev
/null
11999 case x
$lt_status in
12000 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12001 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12002 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12005 # compilation failed
12006 lt_cv_dlopen_self_static
=no
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12014 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12017 CPPFLAGS
="$save_CPPFLAGS"
12018 LDFLAGS
="$save_LDFLAGS"
12023 case $lt_cv_dlopen_self in
12024 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12025 *) enable_dlopen_self
=unknown
;;
12028 case $lt_cv_dlopen_self_static in
12029 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12030 *) enable_dlopen_self_static
=unknown
;;
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12053 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12054 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12055 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12056 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12058 $as_echo "yes" >&6; }
12060 # FIXME - insert some real tests, host_os isn't really good enough
12063 if test -n "$STRIP" ; then
12064 striplib
="$STRIP -x"
12065 old_striplib
="$STRIP -S"
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12067 $as_echo "yes" >&6; }
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12070 $as_echo "no" >&6; }
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12075 $as_echo "no" >&6; }
12091 # Report which library types will actually be built
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12093 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12095 $as_echo "$can_build_shared" >&6; }
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12098 $as_echo_n "checking whether to build shared libraries... " >&6; }
12099 test "$can_build_shared" = "no" && enable_shared
=no
12101 # On AIX, shared libraries and static libraries use the same namespace, and
12102 # are all built from PIC.
12105 test "$enable_shared" = yes && enable_static
=no
12106 if test -n "$RANLIB"; then
12107 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12108 postinstall_cmds
='$RANLIB $lib'
12113 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12114 test "$enable_shared" = yes && enable_static
=no
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12119 $as_echo "$enable_shared" >&6; }
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12122 $as_echo_n "checking whether to build static libraries... " >&6; }
12123 # Make sure either enable_shared or enable_static is yes.
12124 test "$enable_shared" = yes || enable_static
=yes
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12126 $as_echo "$enable_static" >&6; }
12133 ac_cpp
='$CPP $CPPFLAGS'
12134 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12135 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12136 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12142 ac_cpp
='$CXXCPP $CPPFLAGS'
12143 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12144 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12145 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12147 archive_cmds_need_lc_CXX
=no
12148 allow_undefined_flag_CXX
=
12149 always_export_symbols_CXX
=no
12150 archive_expsym_cmds_CXX
=
12151 compiler_needs_object_CXX
=no
12152 export_dynamic_flag_spec_CXX
=
12153 hardcode_direct_CXX
=no
12154 hardcode_direct_absolute_CXX
=no
12155 hardcode_libdir_flag_spec_CXX
=
12156 hardcode_libdir_flag_spec_ld_CXX
=
12157 hardcode_libdir_separator_CXX
=
12158 hardcode_minus_L_CXX
=no
12159 hardcode_shlibpath_var_CXX
=unsupported
12160 hardcode_automatic_CXX
=no
12161 inherit_rpath_CXX
=no
12163 module_expsym_cmds_CXX
=
12164 link_all_deplibs_CXX
=unknown
12165 old_archive_cmds_CXX
=$old_archive_cmds
12166 no_undefined_flag_CXX
=
12167 whole_archive_flag_spec_CXX
=
12168 enable_shared_with_static_runtimes_CXX
=no
12170 # Source file extension for C++ test sources.
12173 # Object file extension for compiled C++ test sources.
12177 # No sense in running all these tests if we already determined that
12178 # the CXX compiler isn't working. Some variables (like enable_shared)
12179 # are currently assumed to apply to all compilers on this platform,
12180 # and will be corrupted by setting them based on a non-working compiler.
12181 if test "$_lt_caught_CXX_error" != yes; then
12182 # Code to be used in simple compile tests
12183 lt_simple_compile_test_code
="int some_variable = 0;"
12185 # Code to be used in simple link tests
12186 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12188 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12195 # If no C compiler was specified, use CC.
12198 # If no C compiler flags were specified, use CFLAGS.
12199 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12201 # Allow CC to be a program name with arguments.
12205 # save warnings/boilerplate of simple test code
12206 ac_outfile
=conftest.
$ac_objext
12207 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12208 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12209 _lt_compiler_boilerplate
=`cat conftest.err`
12212 ac_outfile
=conftest.
$ac_objext
12213 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12214 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12215 _lt_linker_boilerplate
=`cat conftest.err`
12219 # Allow CC to be a program name with arguments.
12224 lt_save_with_gnu_ld
=$with_gnu_ld
12225 lt_save_path_LD
=$lt_cv_path_LD
12226 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12227 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12229 $as_unset lt_cv_prog_gnu_ld
12231 if test -n "${lt_cv_path_LDCXX+set}"; then
12232 lt_cv_path_LD
=$lt_cv_path_LDCXX
12234 $as_unset lt_cv_path_LD
12236 test -z "${LDCXX+set}" || LD
=$LDCXX
12240 for cc_temp
in $compiler""; do
12242 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12243 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12248 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12251 if test -n "$compiler"; then
12252 # We don't want -fno-exception when compiling C++ code, so set the
12253 # no_builtin_flag separately
12254 if test "$GXX" = yes; then
12255 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12257 lt_prog_compiler_no_builtin_flag_CXX
=
12260 if test "$GXX" = yes; then
12261 # Set up default GNU C++ configuration
12265 # Check whether --with-gnu-ld was given.
12266 if test "${with_gnu_ld+set}" = set; then :
12267 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12273 if test "$GCC" = yes; then
12274 # Check if gcc -print-prog-name=ld gives a path.
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12276 $as_echo_n "checking for ld used by $CC... " >&6; }
12279 # gcc leaves a trailing carriage return which upsets mingw
12280 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12282 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12285 # Accept absolute paths.
12287 re_direlt
='/[^/][^/]*/\.\./'
12288 # Canonicalize the pathname of ld
12289 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12290 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12291 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12293 test -z "$LD" && LD
="$ac_prog"
12296 # If it fails, then pretend we aren't using GCC.
12300 # If it is relative, then search for the first ld in PATH.
12301 with_gnu_ld
=unknown
12304 elif test "$with_gnu_ld" = yes; then
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12306 $as_echo_n "checking for GNU ld... " >&6; }
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12309 $as_echo_n "checking for non-GNU ld... " >&6; }
12311 if test "${lt_cv_path_LD+set}" = set; then :
12312 $as_echo_n "(cached) " >&6
12314 if test -z "$LD"; then
12315 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12316 for ac_dir
in $PATH; do
12318 test -z "$ac_dir" && ac_dir
=.
12319 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12320 lt_cv_path_LD
="$ac_dir/$ac_prog"
12321 # Check to see if the program is GNU ld. I'd rather use --version,
12322 # but apparently some variants of GNU ld only accept -v.
12323 # Break only if it was the GNU/non-GNU ld that we prefer.
12324 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12325 *GNU
* |
*'with BFD'*)
12326 test "$with_gnu_ld" != no
&& break
12329 test "$with_gnu_ld" != yes && break
12336 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12340 LD
="$lt_cv_path_LD"
12341 if test -n "$LD"; then
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12343 $as_echo "$LD" >&6; }
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12346 $as_echo "no" >&6; }
12348 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12350 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12351 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12352 $as_echo_n "(cached) " >&6
12354 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12355 case `$LD -v 2>&1 </dev/null` in
12356 *GNU
* |
*'with BFD'*)
12357 lt_cv_prog_gnu_ld
=yes
12360 lt_cv_prog_gnu_ld
=no
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12365 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12366 with_gnu_ld
=$lt_cv_prog_gnu_ld
12374 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12375 # archiving commands below assume that GNU ld is being used.
12376 if test "$with_gnu_ld" = yes; then
12377 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12378 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'
12380 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12381 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12383 # If archive_cmds runs LD, not CC, wlarc should be empty
12384 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12385 # investigate it a little bit more. (MM)
12388 # ancient GNU ld didn't support --whole-archive et. al.
12389 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12390 $GREP 'no-whole-archive' > /dev
/null
; then
12391 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12393 whole_archive_flag_spec_CXX
=
12399 # A generic and very simple default shared library creation
12400 # command for GNU C++ for the case where it uses the native
12401 # linker, instead of GNU ld. If possible, this setting should
12402 # overridden to take advantage of the native linker features on
12403 # the platform it is being used on.
12404 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12407 # Commands to make compiler produce verbose output that lists
12408 # what "hidden" libraries, object files and flags are used when
12409 # linking a shared library.
12410 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "^ .* -L"'
12418 # PORTME: fill in a description of your system's C++ link characteristics
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12420 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12424 # FIXME: insert proper C++ library support
12428 if test "$host_cpu" = ia64
; then
12429 # On IA64, the linker does run time linking by default, so we don't
12430 # have to do anything special.
12431 aix_use_runtimelinking
=no
12432 exp_sym_flag
='-Bexport'
12435 aix_use_runtimelinking
=no
12437 # Test if we are trying to use run time linking or normal
12438 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12439 # need to do runtime linking.
12440 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12441 for ld_flag
in $LDFLAGS; do
12444 aix_use_runtimelinking
=yes
12452 exp_sym_flag
='-bexport'
12453 no_entry_flag
='-bnoentry'
12456 # When large executables or shared objects are built, AIX ld can
12457 # have problems creating the table of contents. If linking a library
12458 # or program results in "error TOC overflow" add -mminimal-toc to
12459 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12460 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12462 archive_cmds_CXX
=''
12463 hardcode_direct_CXX
=yes
12464 hardcode_direct_absolute_CXX
=yes
12465 hardcode_libdir_separator_CXX
=':'
12466 link_all_deplibs_CXX
=yes
12467 file_list_spec_CXX
='${wl}-f,'
12469 if test "$GXX" = yes; then
12470 case $host_os in aix4.
[012]|aix4.
[012].
*)
12471 # We only want to do this on AIX 4.2 and lower, the check
12472 # below for broken collect2 doesn't work under 4.3+
12473 collect2name
=`${CC} -print-prog-name=collect2`
12474 if test -f "$collect2name" &&
12475 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12477 # We have reworked collect2
12480 # We have old collect2
12481 hardcode_direct_CXX
=unsupported
12482 # It fails to find uninstalled libraries when the uninstalled
12483 # path is not listed in the libpath. Setting hardcode_minus_L
12484 # to unsupported forces relinking
12485 hardcode_minus_L_CXX
=yes
12486 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12487 hardcode_libdir_separator_CXX
=
12490 shared_flag
='-shared'
12491 if test "$aix_use_runtimelinking" = yes; then
12492 shared_flag
="$shared_flag "'${wl}-G'
12496 if test "$host_cpu" = ia64
; then
12497 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12498 # chokes on -Wl,-G. The following line is correct:
12501 if test "$aix_use_runtimelinking" = yes; then
12502 shared_flag
='${wl}-G'
12504 shared_flag
='${wl}-bM:SRE'
12509 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12510 # It seems that -bexpall does not export symbols beginning with
12511 # underscore (_), so it is better to generate a list of symbols to
12513 always_export_symbols_CXX
=yes
12514 if test "$aix_use_runtimelinking" = yes; then
12515 # Warning - without using the other runtime loading flags (-brtl),
12516 # -berok will link without error, but may produce a broken library.
12517 allow_undefined_flag_CXX
='-berok'
12518 # Determine the default libpath from the value encoded in an empty
12520 if test x
$gcc_no_link = xyes
; then
12521 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12524 /* end confdefs.h. */
12534 if ac_fn_cxx_try_link
"$LINENO"; then :
12536 lt_aix_libpath_sed
='
12537 /Import File Strings/,/^$/ {
12543 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12544 # Check for a 64-bit object if we didn't find anything.
12545 if test -z "$aix_libpath"; then
12546 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12549 rm -f core conftest.err conftest.
$ac_objext \
12550 conftest
$ac_exeext conftest.
$ac_ext
12551 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12553 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12555 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 $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12557 if test "$host_cpu" = ia64
; then
12558 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12559 allow_undefined_flag_CXX
="-z nodefs"
12560 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"
12562 # Determine the default libpath from the value encoded in an
12563 # empty executable.
12564 if test x
$gcc_no_link = xyes
; then
12565 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12568 /* end confdefs.h. */
12578 if ac_fn_cxx_try_link
"$LINENO"; then :
12580 lt_aix_libpath_sed
='
12581 /Import File Strings/,/^$/ {
12587 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12588 # Check for a 64-bit object if we didn't find anything.
12589 if test -z "$aix_libpath"; then
12590 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12593 rm -f core conftest.err conftest.
$ac_objext \
12594 conftest
$ac_exeext conftest.
$ac_ext
12595 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12597 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12598 # Warning - without using the other run time loading flags,
12599 # -berok will link without error, but may produce a broken library.
12600 no_undefined_flag_CXX
=' ${wl}-bernotok'
12601 allow_undefined_flag_CXX
=' ${wl}-berok'
12602 # Exported symbols can be pulled into shared objects from archives
12603 whole_archive_flag_spec_CXX
='$convenience'
12604 archive_cmds_need_lc_CXX
=yes
12605 # This is similar to how AIX traditionally builds its shared
12607 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'
12613 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12614 allow_undefined_flag_CXX
=unsupported
12615 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12616 # support --undefined. This deserves some investigation. FIXME
12617 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12624 case $cc_basename in
12626 # FIXME: insert proper C++ library support
12632 cygwin
* | mingw
* | pw32
* | cegcc
*)
12633 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12634 # as there is no search path for DLLs.
12635 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12636 allow_undefined_flag_CXX
=unsupported
12637 always_export_symbols_CXX
=no
12638 enable_shared_with_static_runtimes_CXX
=yes
12640 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12641 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'
12642 # If the export-symbols file already is a .def file (1st line
12643 # is EXPORTS), use it as is; otherwise, prepend...
12644 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12645 cp $export_symbols $output_objdir/$soname.def;
12647 echo EXPORTS > $output_objdir/$soname.def;
12648 cat $export_symbols >> $output_objdir/$soname.def;
12650 $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'
12655 darwin
* | rhapsody
*)
12658 archive_cmds_need_lc_CXX
=no
12659 hardcode_direct_CXX
=no
12660 hardcode_automatic_CXX
=yes
12661 hardcode_shlibpath_var_CXX
=unsupported
12662 whole_archive_flag_spec_CXX
=''
12663 link_all_deplibs_CXX
=yes
12664 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12665 case $cc_basename in
12666 ifort
*) _lt_dar_can_shared
=yes ;;
12667 *) _lt_dar_can_shared
=$GCC ;;
12669 if test "$_lt_dar_can_shared" = "yes"; then
12670 output_verbose_link_cmd
=echo
12671 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}"
12672 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12673 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}"
12674 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}"
12675 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12676 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}"
12677 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}"
12687 case $cc_basename in
12689 # FIXME: insert proper C++ library support
12693 # Green Hills C++ Compiler
12694 # FIXME: insert proper C++ library support
12698 # FIXME: insert proper C++ library support
12705 # C++ shared libraries reported to be fairly broken before
12711 archive_cmds_need_lc_CXX
=no
12714 freebsd
* | dragonfly
*)
12715 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12724 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12725 hardcode_libdir_separator_CXX
=:
12726 export_dynamic_flag_spec_CXX
='${wl}-E'
12727 hardcode_direct_CXX
=yes
12728 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12729 # but as the default
12730 # location of the library.
12732 case $cc_basename in
12734 # FIXME: insert proper C++ library support
12738 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'
12739 # Commands to make compiler produce verbose output that lists
12740 # what "hidden" libraries, object files and flags are used when
12741 # linking a shared library.
12743 # There doesn't appear to be a way to prevent this compiler from
12744 # explicitly linking system object files so we need to strip them
12745 # from the output so that they don't get included in the library
12747 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; $ECHO "X$list" | $Xsed'
12750 if test "$GXX" = yes; then
12751 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'
12753 # FIXME: insert proper C++ library support
12761 if test $with_gnu_ld = no
; then
12762 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12763 hardcode_libdir_separator_CXX
=:
12769 export_dynamic_flag_spec_CXX
='${wl}-E'
12775 hardcode_direct_CXX
=no
12776 hardcode_shlibpath_var_CXX
=no
12779 hardcode_direct_CXX
=yes
12780 hardcode_direct_absolute_CXX
=yes
12781 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12782 # but as the default
12783 # location of the library.
12787 case $cc_basename in
12789 # FIXME: insert proper C++ library support
12795 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12798 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12801 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12804 # Commands to make compiler produce verbose output that lists
12805 # what "hidden" libraries, object files and flags are used when
12806 # linking a shared library.
12808 # There doesn't appear to be a way to prevent this compiler from
12809 # explicitly linking system object files so we need to strip them
12810 # from the output so that they don't get included in the library
12812 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; $ECHO "X$list" | $Xsed'
12815 if test "$GXX" = yes; then
12816 if test $with_gnu_ld = no
; then
12819 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12822 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12825 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'
12830 # FIXME: insert proper C++ library support
12838 hardcode_direct_CXX
=no
12839 hardcode_shlibpath_var_CXX
=no
12840 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12841 export_dynamic_flag_spec_CXX
='${wl}-E'
12842 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12843 # Instead, shared libraries are loaded at an image base (0x10000000 by
12844 # default) and relocated if they conflict, which is a slow very memory
12845 # consuming and fragmenting process. To avoid this, we pick a random,
12846 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12847 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12848 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'
12849 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'
12852 case $cc_basename in
12855 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12857 # Archives containing C++ object files must be created using
12858 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12859 # necessary to make sure instantiated templates are included
12861 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12864 if test "$GXX" = yes; then
12865 if test "$with_gnu_ld" = no
; then
12866 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12868 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
12871 link_all_deplibs_CXX
=yes
12874 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12875 hardcode_libdir_separator_CXX
=:
12876 inherit_rpath_CXX
=yes
12879 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12880 case $cc_basename in
12882 # Kuck and Associates, Inc. (KAI) C++ Compiler
12884 # KCC will only create a shared library if the output file
12885 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12886 # to its proper name (with version) after linking.
12887 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'
12888 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'
12889 # Commands to make compiler produce verbose output that lists
12890 # what "hidden" libraries, object files and flags are used when
12891 # linking a shared library.
12893 # There doesn't appear to be a way to prevent this compiler from
12894 # explicitly linking system object files so we need to strip them
12895 # from the output so that they don't get included in the library
12897 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; $ECHO "X$list" | $Xsed'
12899 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12900 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12902 # Archives containing C++ object files must be created using
12903 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12904 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12909 # version 8.0 and above of icpc choke on multiply defined symbols
12910 # if we add $predep_objects and $postdep_objects, however 7.1 and
12911 # earlier do not add the objects themselves.
12912 case `$CC -V 2>&1` in
12914 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12915 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'
12917 *) # Version 8.0 or newer
12920 ia64
*) tmp_idyn
=' -i_dynamic';;
12922 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12923 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'
12926 archive_cmds_need_lc_CXX
=no
12927 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12928 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12929 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12932 # Portland Group C++ compiler
12934 *pgCC\
[1-5]* |
*pgcpp\
[1-5]*)
12935 prelink_cmds_CXX
='tpldir=Template.dir~
12937 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12938 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12939 old_archive_cmds_CXX
='tpldir=Template.dir~
12941 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12942 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12944 archive_cmds_CXX
='tpldir=Template.dir~
12946 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12947 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12948 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12950 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12951 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12953 *) # Version 6 will use weak symbols
12954 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12955 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'
12959 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12960 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12961 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12965 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12966 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'
12968 runpath_var
=LD_RUN_PATH
12969 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12970 hardcode_libdir_separator_CXX
=:
12972 # Commands to make compiler produce verbose output that lists
12973 # what "hidden" libraries, object files and flags are used when
12974 # linking a shared library.
12976 # There doesn't appear to be a way to prevent this compiler from
12977 # explicitly linking system object files so we need to strip them
12978 # from the output so that they don't get included in the library
12980 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12983 # IBM XL 8.0 on PPC, with GNU ld
12984 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12985 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12986 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12987 if test "x$supports_anon_versioning" = xyes
; then
12988 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12989 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12990 echo "local: *; };" >> $output_objdir/$libname.ver~
12991 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12995 case `$CC -V 2>&1 | sed 5q` in
12998 no_undefined_flag_CXX
=' -zdefs'
12999 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13000 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'
13001 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13002 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
13003 compiler_needs_object_CXX
=yes
13005 # Not sure whether something based on
13006 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13008 output_verbose_link_cmd
='echo'
13010 # Archives containing C++ object files must be created using
13011 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13012 # necessary to make sure instantiated templates are included
13014 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13022 # FIXME: insert proper C++ library support
13027 # FIXME: insert proper C++ library support
13032 case $cc_basename in
13034 # FIXME: insert proper C++ library support
13038 # FIXME: insert proper C++ library support
13045 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13046 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13048 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13049 hardcode_direct_CXX
=yes
13050 hardcode_shlibpath_var_CXX
=no
13052 # Workaround some broken pre-1.5 toolchains
13053 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13061 # C++ shared libraries are fairly broken
13066 if test -f /usr
/libexec
/ld.so
; then
13067 hardcode_direct_CXX
=yes
13068 hardcode_shlibpath_var_CXX
=no
13069 hardcode_direct_absolute_CXX
=yes
13070 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13071 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13072 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13073 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13074 export_dynamic_flag_spec_CXX
='${wl}-E'
13075 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13077 output_verbose_link_cmd
=echo
13083 osf3
* | osf4
* | osf5
*)
13084 case $cc_basename in
13086 # Kuck and Associates, Inc. (KAI) C++ Compiler
13088 # KCC will only create a shared library if the output file
13089 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13090 # to its proper name (with version) after linking.
13091 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'
13093 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13094 hardcode_libdir_separator_CXX
=:
13096 # Archives containing C++ object files must be created using
13097 # the KAI C++ compiler.
13099 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13100 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13104 # Rational C++ 2.4.1
13105 # FIXME: insert proper C++ library support
13111 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13112 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13113 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13116 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13117 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13118 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13119 echo "-hidden">> $lib.exp~
13120 $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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
13122 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13126 hardcode_libdir_separator_CXX
=:
13128 # Commands to make compiler produce verbose output that lists
13129 # what "hidden" libraries, object files and flags are used when
13130 # linking a shared library.
13132 # There doesn't appear to be a way to prevent this compiler from
13133 # explicitly linking system object files so we need to strip them
13134 # from the output so that they don't get included in the library
13136 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13139 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13140 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13143 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13146 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" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13150 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13151 hardcode_libdir_separator_CXX
=:
13153 # Commands to make compiler produce verbose output that lists
13154 # what "hidden" libraries, object files and flags are used when
13155 # linking a shared library.
13156 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "^ .* -L"'
13159 # FIXME: insert proper C++ library support
13167 # FIXME: insert proper C++ library support
13172 case $cc_basename in
13175 # FIXME: insert proper C++ library support
13180 # FIXME: insert proper C++ library support
13184 # FIXME: insert proper C++ library support
13191 case $cc_basename in
13193 # Sun C++ 4.2, 5.x and Centerline C++
13194 archive_cmds_need_lc_CXX
=yes
13195 no_undefined_flag_CXX
=' -zdefs'
13196 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13197 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13198 $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'
13200 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13201 hardcode_shlibpath_var_CXX
=no
13203 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13205 # The compiler driver will combine and reorder linker options,
13206 # but understands `-z linker_flag'.
13207 # Supported since Solaris 2.6 (maybe 2.5.1?)
13208 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13211 link_all_deplibs_CXX
=yes
13213 output_verbose_link_cmd
='echo'
13215 # Archives containing C++ object files must be created using
13216 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13217 # necessary to make sure instantiated templates are included
13219 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13222 # Green Hills C++ Compiler
13223 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13225 # The C++ compiler must be used to create the archive.
13226 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13229 # GNU C++ compiler with Solaris linker
13230 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13231 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13232 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13233 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13234 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13235 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13237 # Commands to make compiler produce verbose output that lists
13238 # what "hidden" libraries, object files and flags are used when
13239 # linking a shared library.
13240 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "^ .* -L"'
13242 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13244 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13245 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13246 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13248 # Commands to make compiler produce verbose output that lists
13249 # what "hidden" libraries, object files and flags are used when
13250 # linking a shared library.
13251 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "^ .* -L"'
13254 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13256 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13258 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13266 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13267 no_undefined_flag_CXX
='${wl}-z,text'
13268 archive_cmds_need_lc_CXX
=no
13269 hardcode_shlibpath_var_CXX
=no
13270 runpath_var
='LD_RUN_PATH'
13272 case $cc_basename in
13274 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13275 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13278 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13279 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13284 sysv5
* | sco3.2v5
* | sco5v6
*)
13285 # Note: We can NOT use -z defs as we might desire, because we do not
13286 # link with -lc, and that would cause any symbols used from libc to
13287 # always be unresolved, which means just about no library would
13288 # ever link correctly. If we're not using GNU ld we use -z text
13289 # though, which does catch some bad symbols but isn't as heavy-handed
13291 no_undefined_flag_CXX
='${wl}-z,text'
13292 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13293 archive_cmds_need_lc_CXX
=no
13294 hardcode_shlibpath_var_CXX
=no
13295 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13296 hardcode_libdir_separator_CXX
=':'
13297 link_all_deplibs_CXX
=yes
13298 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13299 runpath_var
='LD_RUN_PATH'
13301 case $cc_basename in
13303 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13304 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13307 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13308 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13314 case $cc_basename in
13316 # NonStop-UX NCC 3.20
13317 # FIXME: insert proper C++ library support
13321 # FIXME: insert proper C++ library support
13328 # FIXME: insert proper C++ library support
13333 # FIXME: insert proper C++ library support
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13339 $as_echo "$ld_shlibs_CXX" >&6; }
13340 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13346 ## There is no encapsulation within the following macros, do not change
13347 ## the running order or otherwise move them around unless you know exactly
13348 ## what you are doing...
13349 # Dependencies to place before and after the object being linked:
13350 predep_objects_CXX
=
13351 postdep_objects_CXX
=
13354 compiler_lib_search_path_CXX
=
13356 cat > conftest.
$ac_ext <<_LT_EOF
13360 Foo (void) { a = 0; }
13366 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13367 (eval $ac_compile) 2>&5
13369 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13370 test $ac_status = 0; }; then
13371 # Parse the compiler output and extract the necessary
13372 # objects, libraries and library flags.
13374 # Sentinel used to keep track of whether or not we are before
13375 # the conftest object file.
13376 pre_test_object_deps_done
=no
13378 for p
in `eval "$output_verbose_link_cmd"`; do
13382 # Some compilers place space between "-{L,R}" and the path.
13383 # Remove the space.
13384 if test $p = "-L" ||
13385 test $p = "-R"; then
13392 if test "$pre_test_object_deps_done" = no
; then
13395 # Internal compiler library paths should come after those
13396 # provided the user. The postdeps already come after the
13397 # user supplied libs so there is no need to process them.
13398 if test -z "$compiler_lib_search_path_CXX"; then
13399 compiler_lib_search_path_CXX
="${prev}${p}"
13401 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13404 # The "-l" case would never come before the object being
13405 # linked, so don't bother handling this case.
13408 if test -z "$postdeps_CXX"; then
13409 postdeps_CXX
="${prev}${p}"
13411 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13417 # This assumes that the test object file only shows up
13418 # once in the compiler output.
13419 if test "$p" = "conftest.$objext"; then
13420 pre_test_object_deps_done
=yes
13424 if test "$pre_test_object_deps_done" = no
; then
13425 if test -z "$predep_objects_CXX"; then
13426 predep_objects_CXX
="$p"
13428 predep_objects_CXX
="$predep_objects_CXX $p"
13431 if test -z "$postdep_objects_CXX"; then
13432 postdep_objects_CXX
="$p"
13434 postdep_objects_CXX
="$postdep_objects_CXX $p"
13439 *) ;; # Ignore the rest.
13447 echo "libtool.m4: error: problem compiling CXX test program"
13450 $RM -f confest.
$objext
13452 # PORTME: override above test on systems where it is broken
13455 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13456 # hack all around it, let's just trust "g++" to DTRT.
13457 predep_objects_CXX
=
13458 postdep_objects_CXX
=
13463 case `$CC -V 2>&1 | sed 5q` in
13467 # The more standards-conforming stlport4 library is
13468 # incompatible with the Cstd library. Avoid specifying
13469 # it if it's in CXXFLAGS. Ignore libCrun as
13470 # -library=stlport4 depends on it.
13471 case " $CXX $CXXFLAGS " in
13472 *" -library=stlport4 "*)
13473 solaris_use_stlport4
=yes
13477 if test "$solaris_use_stlport4" != yes; then
13478 postdeps_CXX
='-library=Cstd -library=Crun'
13485 case $cc_basename in
13487 # The more standards-conforming stlport4 library is
13488 # incompatible with the Cstd library. Avoid specifying
13489 # it if it's in CXXFLAGS. Ignore libCrun as
13490 # -library=stlport4 depends on it.
13491 case " $CXX $CXXFLAGS " in
13492 *" -library=stlport4 "*)
13493 solaris_use_stlport4
=yes
13497 # Adding this requires a known-good setup of shared libraries for
13498 # Sun compiler versions before 5.6, else PIC objects from an old
13499 # archive will be linked into the output, leading to subtle bugs.
13500 if test "$solaris_use_stlport4" != yes; then
13501 postdeps_CXX
='-library=Cstd -library=Crun'
13509 case " $postdeps_CXX " in
13510 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13512 compiler_lib_search_dirs_CXX
=
13513 if test -n "${compiler_lib_search_path_CXX}"; then
13514 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13547 lt_prog_compiler_wl_CXX
=
13548 lt_prog_compiler_pic_CXX
=
13549 lt_prog_compiler_static_CXX
=
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13552 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13554 # C++ specific cases for pic, static, wl, etc.
13555 if test "$GXX" = yes; then
13556 lt_prog_compiler_wl_CXX
='-Wl,'
13557 lt_prog_compiler_static_CXX
='-static'
13561 # All AIX code is PIC.
13562 if test "$host_cpu" = ia64
; then
13563 # AIX 5 now supports IA64 processor
13564 lt_prog_compiler_static_CXX
='-Bstatic'
13571 # see comment about AmigaOS4 .so support
13572 lt_prog_compiler_pic_CXX
='-fPIC'
13575 # FIXME: we need at least 68020 code to build shared libraries, but
13576 # adding the `-m68020' flag to GCC prevents building anything better,
13578 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13583 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13584 # PIC is the default for these OSes.
13586 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13587 # This hack is so that the source file can tell whether it is being
13588 # built for inclusion in a dll (and should export symbols for example).
13589 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13590 # (--disable-auto-import) libraries
13591 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13593 darwin
* | rhapsody
*)
13594 # PIC is the default on this platform
13595 # Common symbols not allowed in MH_DYLIB files
13596 lt_prog_compiler_pic_CXX
='-fno-common'
13599 # DJGPP does not support shared libraries at all
13600 lt_prog_compiler_pic_CXX
=
13603 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13604 # Instead, we relocate shared libraries at runtime.
13607 if test -d /usr
/nec
; then
13608 lt_prog_compiler_pic_CXX
=-Kconform_pic
13612 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13613 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13614 # sets the default TLS model and affects inlining.
13619 lt_prog_compiler_pic_CXX
='-fPIC'
13624 # QNX uses GNU C++, but need to define -shared option too, otherwise
13625 # it will coredump.
13626 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13629 lt_prog_compiler_pic_CXX
='-fPIC'
13635 # All AIX code is PIC.
13636 if test "$host_cpu" = ia64
; then
13637 # AIX 5 now supports IA64 processor
13638 lt_prog_compiler_static_CXX
='-Bstatic'
13640 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13644 case $cc_basename in
13646 # Green Hills C++ Compiler
13647 # _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"
13652 case $cc_basename in
13654 lt_prog_compiler_pic_CXX
='-KPIC'
13657 # Green Hills C++ Compiler
13658 lt_prog_compiler_pic_CXX
='-pic'
13664 freebsd
* | dragonfly
*)
13665 # FreeBSD uses GNU C++
13667 hpux9
* | hpux10
* | hpux11
*)
13668 case $cc_basename in
13670 lt_prog_compiler_wl_CXX
='-Wl,'
13671 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13672 if test "$host_cpu" != ia64
; then
13673 lt_prog_compiler_pic_CXX
='+Z'
13677 lt_prog_compiler_wl_CXX
='-Wl,'
13678 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13684 lt_prog_compiler_pic_CXX
='+Z'
13693 # This is c89, which is MS Visual C++ (no shared libs)
13694 # Anyone wants to do a port?
13696 irix5
* | irix6
* | nonstopux
*)
13697 case $cc_basename in
13699 lt_prog_compiler_wl_CXX
='-Wl,'
13700 lt_prog_compiler_static_CXX
='-non_shared'
13701 # CC pic flag -KPIC is the default.
13707 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13708 case $cc_basename in
13711 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13712 lt_prog_compiler_pic_CXX
='-fPIC'
13715 # old Intel C++ for x86_64 which still supported -KPIC.
13716 lt_prog_compiler_wl_CXX
='-Wl,'
13717 lt_prog_compiler_pic_CXX
='-KPIC'
13718 lt_prog_compiler_static_CXX
='-static'
13721 # Intel C++, used to be incompatible with GCC.
13722 # ICC 10 doesn't accept -KPIC any more.
13723 lt_prog_compiler_wl_CXX
='-Wl,'
13724 lt_prog_compiler_pic_CXX
='-fPIC'
13725 lt_prog_compiler_static_CXX
='-static'
13728 # Portland Group C++ compiler
13729 lt_prog_compiler_wl_CXX
='-Wl,'
13730 lt_prog_compiler_pic_CXX
='-fpic'
13731 lt_prog_compiler_static_CXX
='-Bstatic'
13735 # Make sure the PIC flag is empty. It appears that all Alpha
13736 # Linux and Compaq Tru64 Unix objects are PIC.
13737 lt_prog_compiler_pic_CXX
=
13738 lt_prog_compiler_static_CXX
='-non_shared'
13741 # IBM XL 8.0 on PPC
13742 lt_prog_compiler_wl_CXX
='-Wl,'
13743 lt_prog_compiler_pic_CXX
='-qpic'
13744 lt_prog_compiler_static_CXX
='-qstaticlink'
13747 case `$CC -V 2>&1 | sed 5q` in
13750 lt_prog_compiler_pic_CXX
='-KPIC'
13751 lt_prog_compiler_static_CXX
='-Bstatic'
13752 lt_prog_compiler_wl_CXX
='-Qoption ld '
13763 case $cc_basename in
13765 lt_prog_compiler_pic_CXX
='-W c,exportall'
13774 # QNX uses GNU C++, but need to define -shared option too, otherwise
13775 # it will coredump.
13776 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13778 osf3
* | osf4
* | osf5
*)
13779 case $cc_basename in
13781 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13784 # Rational C++ 2.4.1
13785 lt_prog_compiler_pic_CXX
='-pic'
13788 # Digital/Compaq C++
13789 lt_prog_compiler_wl_CXX
='-Wl,'
13790 # Make sure the PIC flag is empty. It appears that all Alpha
13791 # Linux and Compaq Tru64 Unix objects are PIC.
13792 lt_prog_compiler_pic_CXX
=
13793 lt_prog_compiler_static_CXX
='-non_shared'
13802 case $cc_basename in
13804 # Sun C++ 4.2, 5.x and Centerline C++
13805 lt_prog_compiler_pic_CXX
='-KPIC'
13806 lt_prog_compiler_static_CXX
='-Bstatic'
13807 lt_prog_compiler_wl_CXX
='-Qoption ld '
13810 # Green Hills C++ Compiler
13811 lt_prog_compiler_pic_CXX
='-PIC'
13818 case $cc_basename in
13821 lt_prog_compiler_pic_CXX
='-pic'
13822 lt_prog_compiler_static_CXX
='-Bstatic'
13826 lt_prog_compiler_pic_CXX
='-pic'
13832 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13833 case $cc_basename in
13835 lt_prog_compiler_wl_CXX
='-Wl,'
13836 lt_prog_compiler_pic_CXX
='-KPIC'
13837 lt_prog_compiler_static_CXX
='-Bstatic'
13842 case $cc_basename in
13844 # NonStop-UX NCC 3.20
13845 lt_prog_compiler_pic_CXX
='-KPIC'
13854 lt_prog_compiler_can_build_shared_CXX
=no
13860 # For platforms which do not support PIC, -DPIC is meaningless:
13862 lt_prog_compiler_pic_CXX
=
13865 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13869 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13874 # Check to make sure the PIC flag actually works.
13876 if test -n "$lt_prog_compiler_pic_CXX"; then
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13878 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13879 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13880 $as_echo_n "(cached) " >&6
13882 lt_cv_prog_compiler_pic_works_CXX
=no
13883 ac_outfile
=conftest.
$ac_objext
13884 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13885 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13886 # Insert the option either (1) after the last *FLAGS variable, or
13887 # (2) before a word containing "conftest.", or (3) at the end.
13888 # Note that $ac_compile itself does not contain backslashes and begins
13889 # with a dollar sign (not a hyphen), so the echo should work correctly.
13890 # The option is referenced via a variable to avoid confusing sed.
13891 lt_compile
=`echo "$ac_compile" | $SED \
13892 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13893 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13894 -e 's:$: $lt_compiler_flag:'`
13895 (eval echo "\"\$as_me:13895: $lt_compile\"" >&5)
13896 (eval "$lt_compile" 2>conftest.err
)
13898 cat conftest.err
>&5
13899 echo "$as_me:13899: \$? = $ac_status" >&5
13900 if (exit $ac_status) && test -s "$ac_outfile"; then
13901 # The compiler can only warn and ignore the option if not recognized
13902 # So say no if there are warnings other than the usual output.
13903 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13904 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13905 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13906 lt_cv_prog_compiler_pic_works_CXX
=yes
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13913 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13915 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13916 case $lt_prog_compiler_pic_CXX in
13918 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13921 lt_prog_compiler_pic_CXX
=
13922 lt_prog_compiler_can_build_shared_CXX
=no
13930 # Check to make sure the static flag actually works.
13932 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13934 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13935 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13936 $as_echo_n "(cached) " >&6
13938 lt_cv_prog_compiler_static_works_CXX
=no
13939 save_LDFLAGS
="$LDFLAGS"
13940 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13941 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13942 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13943 # The linker can only warn and ignore the option if not recognized
13944 # So say no if there are warnings
13945 if test -s conftest.err
; then
13946 # Append any errors to the config.log.
13947 cat conftest.err
1>&5
13948 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
13949 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13950 if diff conftest.exp conftest.er2
>/dev
/null
; then
13951 lt_cv_prog_compiler_static_works_CXX
=yes
13954 lt_cv_prog_compiler_static_works_CXX
=yes
13958 LDFLAGS
="$save_LDFLAGS"
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13962 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13964 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13967 lt_prog_compiler_static_CXX
=
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13974 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13975 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13976 $as_echo_n "(cached) " >&6
13978 lt_cv_prog_compiler_c_o_CXX
=no
13979 $RM -r conftest
2>/dev
/null
13983 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13985 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13986 # Insert the option either (1) after the last *FLAGS variable, or
13987 # (2) before a word containing "conftest.", or (3) at the end.
13988 # Note that $ac_compile itself does not contain backslashes and begins
13989 # with a dollar sign (not a hyphen), so the echo should work correctly.
13990 lt_compile
=`echo "$ac_compile" | $SED \
13991 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13992 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13993 -e 's:$: $lt_compiler_flag:'`
13994 (eval echo "\"\$as_me:13994: $lt_compile\"" >&5)
13995 (eval "$lt_compile" 2>out
/conftest.err
)
13997 cat out
/conftest.err
>&5
13998 echo "$as_me:13998: \$? = $ac_status" >&5
13999 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14001 # The compiler can only warn and ignore the option if not recognized
14002 # So say no if there are warnings
14003 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14004 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14005 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14006 lt_cv_prog_compiler_c_o_CXX
=yes
14011 # SGI C++ compiler will create directory out/ii_files/ for
14012 # template instantiation
14013 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14014 $RM out
/* && rmdir out
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14021 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14026 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14027 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14028 $as_echo_n "(cached) " >&6
14030 lt_cv_prog_compiler_c_o_CXX
=no
14031 $RM -r conftest
2>/dev
/null
14035 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14037 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14038 # Insert the option either (1) after the last *FLAGS variable, or
14039 # (2) before a word containing "conftest.", or (3) at the end.
14040 # Note that $ac_compile itself does not contain backslashes and begins
14041 # with a dollar sign (not a hyphen), so the echo should work correctly.
14042 lt_compile
=`echo "$ac_compile" | $SED \
14043 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14044 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14045 -e 's:$: $lt_compiler_flag:'`
14046 (eval echo "\"\$as_me:14046: $lt_compile\"" >&5)
14047 (eval "$lt_compile" 2>out
/conftest.err
)
14049 cat out
/conftest.err
>&5
14050 echo "$as_me:14050: \$? = $ac_status" >&5
14051 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14053 # The compiler can only warn and ignore the option if not recognized
14054 # So say no if there are warnings
14055 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14056 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14057 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14058 lt_cv_prog_compiler_c_o_CXX
=yes
14063 # SGI C++ compiler will create directory out/ii_files/ for
14064 # template instantiation
14065 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14066 $RM out
/* && rmdir out
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14073 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14078 hard_links
="nottested"
14079 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14080 # do not overwrite the value of need_locks provided by the user
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14082 $as_echo_n "checking if we can lock with hard links... " >&6; }
14085 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14087 ln conftest.a conftest.b
2>&5 || hard_links
=no
14088 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14090 $as_echo "$hard_links" >&6; }
14091 if test "$hard_links" = no
; then
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14093 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14103 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14105 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14108 # If we're using GNU nm, then we don't want the "-C" option.
14109 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14110 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14111 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14113 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14117 export_symbols_cmds_CXX
="$ltdll_cmds"
14119 cygwin
* | mingw
* | cegcc
*)
14120 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'
14123 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14126 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14129 $as_echo "$ld_shlibs_CXX" >&6; }
14130 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14132 with_gnu_ld_CXX
=$with_gnu_ld
14140 # Do we need to explicitly link libc?
14142 case "x$archive_cmds_need_lc_CXX" in
14144 # Assume -lc should be added
14145 archive_cmds_need_lc_CXX
=yes
14147 if test "$enable_shared" = yes && test "$GCC" = yes; then
14148 case $archive_cmds_CXX in
14150 # FIXME: we may have to deal with multi-command sequences.
14153 # Test whether the compiler implicitly links with -lc since on some
14154 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14155 # to ld, don't add -lc before -lgcc.
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14157 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14158 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14159 $as_echo_n "(cached) " >&6
14162 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14164 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14165 (eval $ac_compile) 2>&5
14167 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14168 test $ac_status = 0; } 2>conftest.err
; then
14171 libobjs
=conftest.
$ac_objext
14173 wl
=$lt_prog_compiler_wl_CXX
14174 pic_flag
=$lt_prog_compiler_pic_CXX
14180 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14181 allow_undefined_flag_CXX
=
14182 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14183 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14186 test $ac_status = 0; }
14188 lt_cv_archive_cmds_need_lc_CXX
=no
14190 lt_cv_archive_cmds_need_lc_CXX
=yes
14192 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14194 cat conftest.err
1>&5
14199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14200 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14201 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14272 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14274 library_names_spec
=
14275 libname_spec
='lib$name'
14279 postuninstall_cmds
=
14283 shlibpath_overrides_runpath
=unknown
14285 dynamic_linker
="$host_os ld.so"
14286 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14287 need_lib_prefix
=unknown
14288 hardcode_into_libs
=no
14290 # when you set need_version to no, make sure it does not cause -set_version
14291 # flags to be left without arguments
14292 need_version
=unknown
14297 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14298 shlibpath_var
=LIBPATH
14300 # AIX 3 has no versioning support, so we append a major version to the name.
14301 soname_spec
='${libname}${release}${shared_ext}$major'
14308 hardcode_into_libs
=yes
14309 if test "$host_cpu" = ia64
; then
14310 # AIX 5 supports IA64
14311 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14312 shlibpath_var
=LD_LIBRARY_PATH
14314 # With GCC up to 2.95.x, collect2 would create an import file
14315 # for dependence libraries. The import file would start with
14316 # the line `#! .'. This would cause the generated library to
14317 # depend on `.', always an invalid library. This was fixed in
14318 # development snapshots of GCC prior to 3.0.
14320 aix4 | aix4.
[01] | aix4.
[01].
*)
14321 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14323 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14326 can_build_shared
=no
14330 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14331 # soname into executable. Probably we can add versioning support to
14332 # collect2, so additional links can be useful in future.
14333 if test "$aix_use_runtimelinking" = yes; then
14334 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14335 # instead of lib<name>.a to let people know that these are not
14336 # typical AIX shared libraries.
14337 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14339 # We preserve .a as extension for shared libraries through AIX4.2
14340 # and later when we are not doing run time linking.
14341 library_names_spec
='${libname}${release}.a $libname.a'
14342 soname_spec
='${libname}${release}${shared_ext}$major'
14344 shlibpath_var
=LIBPATH
14351 # Since July 2007 AmigaOS4 officially supports .so libraries.
14352 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14353 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14356 library_names_spec
='$libname.ixlibrary $libname.a'
14357 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14358 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
14364 library_names_spec
='${libname}${shared_ext}'
14365 dynamic_linker
="$host_os ld.so"
14366 shlibpath_var
=LIBRARY_PATH
14372 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14373 soname_spec
='${libname}${release}${shared_ext}$major'
14374 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14375 shlibpath_var
=LD_LIBRARY_PATH
14376 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14377 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14378 # the default ld.so.conf also contains /usr/contrib/lib and
14379 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14380 # libtool to hard-code these into programs
14383 cygwin
* | mingw
* | pw32
* | cegcc
*)
14384 version_type
=windows
14389 case $GCC,$host_os in
14390 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14391 library_names_spec
='$libname.dll.a'
14392 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14393 postinstall_cmds
='base_file=`basename \${file}`~
14394 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14395 dldir=$destdir/`dirname \$dlpath`~
14396 test -d \$dldir || mkdir -p \$dldir~
14397 $install_prog $dir/$dlname \$dldir/$dlname~
14398 chmod a+x \$dldir/$dlname~
14399 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14400 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14402 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14403 dlpath=$dir/\$dldll~
14405 shlibpath_overrides_runpath
=yes
14409 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14410 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14411 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14414 # MinGW DLLs use traditional 'lib' prefix
14415 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14416 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14417 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
14418 # It is most probably a Windows format PATH printed by
14419 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14420 # path with ; separators, and with drive letters. We can handle the
14421 # drive letters (cygwin fileutils understands them), so leave them,
14422 # especially as we might pass files found there to a mingw objdump,
14423 # which wouldn't understand a cygwinified path. Ahh.
14424 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14426 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14430 # pw32 DLLs use 'pw' prefix rather than 'lib'
14431 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14437 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14440 dynamic_linker
='Win32 ld.exe'
14441 # FIXME: first we should search . and the directory the executable is in
14445 darwin
* | rhapsody
*)
14446 dynamic_linker
="$host_os dyld"
14447 version_type
=darwin
14450 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14451 soname_spec
='${libname}${release}${major}$shared_ext'
14452 shlibpath_overrides_runpath
=yes
14453 shlibpath_var
=DYLD_LIBRARY_PATH
14454 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14456 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14463 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14464 soname_spec
='${libname}${release}${shared_ext}$major'
14465 shlibpath_var
=LD_LIBRARY_PATH
14472 freebsd
* | dragonfly
*)
14473 # DragonFly does not have aout. When/if they implement a new
14474 # versioning mechanism, adjust this.
14475 if test -x /usr
/bin
/objformat
; then
14476 objformat
=`/usr/bin/objformat`
14479 freebsd
[123]*) objformat
=aout
;;
14480 *) objformat
=elf
;;
14483 version_type
=freebsd-
$objformat
14484 case $version_type in
14486 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14491 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14495 shlibpath_var
=LD_LIBRARY_PATH
14498 shlibpath_overrides_runpath
=yes
14500 freebsd3.
[01]* | freebsdelf3.
[01]*)
14501 shlibpath_overrides_runpath
=yes
14502 hardcode_into_libs
=yes
14504 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14505 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14506 shlibpath_overrides_runpath
=no
14507 hardcode_into_libs
=yes
14509 *) # from 4.6 on, and DragonFly
14510 shlibpath_overrides_runpath
=yes
14511 hardcode_into_libs
=yes
14520 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14521 soname_spec
='${libname}${release}${shared_ext}$major'
14522 shlibpath_var
=LD_LIBRARY_PATH
14523 hardcode_into_libs
=yes
14526 hpux9
* | hpux10
* | hpux11
*)
14527 # Give a soname corresponding to the major version so that dld.sl refuses to
14528 # link against other versions.
14535 hardcode_into_libs
=yes
14536 dynamic_linker
="$host_os dld.so"
14537 shlibpath_var
=LD_LIBRARY_PATH
14538 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14539 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14540 soname_spec
='${libname}${release}${shared_ext}$major'
14541 if test "X$HPUX_IA64_MODE" = X32
; then
14542 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14544 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14546 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14550 hardcode_into_libs
=yes
14551 dynamic_linker
="$host_os dld.sl"
14552 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14553 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14554 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14555 soname_spec
='${libname}${release}${shared_ext}$major'
14556 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14557 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14561 dynamic_linker
="$host_os dld.sl"
14562 shlibpath_var
=SHLIB_PATH
14563 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14564 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14565 soname_spec
='${libname}${release}${shared_ext}$major'
14568 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14569 postinstall_cmds
='chmod 555 $lib'
14576 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14577 soname_spec
='${libname}${release}${shared_ext}$major'
14578 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14579 shlibpath_var
=LD_LIBRARY_PATH
14580 shlibpath_overrides_runpath
=no
14581 hardcode_into_libs
=yes
14584 irix5
* | irix6
* | nonstopux
*)
14586 nonstopux
*) version_type
=nonstopux
;;
14588 if test "$lt_cv_prog_gnu_ld" = yes; then
14596 soname_spec
='${libname}${release}${shared_ext}$major'
14597 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14599 irix5
* | nonstopux
*)
14600 libsuff
= shlibsuff
=
14603 case $LD in # libtool.m4 will add one of these switches to LD
14604 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14605 libsuff
= shlibsuff
= libmagic
=32-bit;;
14606 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14607 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14608 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14609 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14610 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14614 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14615 shlibpath_overrides_runpath
=no
14616 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14617 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14618 hardcode_into_libs
=yes
14621 # No shared lib support for Linux oldld, aout, or coff.
14622 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14626 # This must be Linux ELF.
14627 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14631 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14632 soname_spec
='${libname}${release}${shared_ext}$major'
14633 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14634 shlibpath_var
=LD_LIBRARY_PATH
14635 shlibpath_overrides_runpath
=no
14637 # Some binutils ld are patched to set DT_RUNPATH
14638 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14639 $as_echo_n "(cached) " >&6
14641 lt_cv_shlibpath_overrides_runpath
=no
14642 save_LDFLAGS
=$LDFLAGS
14643 save_libdir
=$libdir
14644 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14645 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14646 if test x
$gcc_no_link = xyes
; then
14647 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14650 /* end confdefs.h. */
14660 if ac_fn_cxx_try_link
"$LINENO"; then :
14661 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14662 lt_cv_shlibpath_overrides_runpath
=yes
14665 rm -f core conftest.err conftest.
$ac_objext \
14666 conftest
$ac_exeext conftest.
$ac_ext
14667 LDFLAGS
=$save_LDFLAGS
14668 libdir
=$save_libdir
14672 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14674 # This implies no fast_install, which is unacceptable.
14675 # Some rework will be needed to allow for fast_install
14676 # before this can be enabled.
14677 hardcode_into_libs
=yes
14679 # Append ld.so.conf contents to the search path
14680 if test -f /etc
/ld.so.conf
; then
14681 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;/^$/d' | tr '\n' ' '`
14682 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14685 # We used to test for /lib/ld.so.1 and disable shared libraries on
14686 # powerpc, because MkLinux only supported shared libraries with the
14687 # GNU dynamic linker. Since this was broken with cross compilers,
14688 # most powerpc-linux boxes support dynamic linking these days and
14689 # people can always --disable-shared, the test was removed, and we
14690 # assume the GNU/Linux dynamic linker is in use.
14691 dynamic_linker
='GNU/Linux ld.so'
14698 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14699 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14700 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14701 dynamic_linker
='NetBSD (a.out) ld.so'
14703 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14704 soname_spec
='${libname}${release}${shared_ext}$major'
14705 dynamic_linker
='NetBSD ld.elf_so'
14707 shlibpath_var
=LD_LIBRARY_PATH
14708 shlibpath_overrides_runpath
=yes
14709 hardcode_into_libs
=yes
14714 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14715 shlibpath_var
=LD_LIBRARY_PATH
14716 shlibpath_overrides_runpath
=yes
14723 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14724 soname_spec
='${libname}${release}${shared_ext}$major'
14725 shlibpath_var
=LD_LIBRARY_PATH
14726 shlibpath_overrides_runpath
=no
14727 hardcode_into_libs
=yes
14728 dynamic_linker
='ldqnx.so'
14733 sys_lib_dlsearch_path_spec
="/usr/lib"
14735 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14737 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14738 *) need_version
=no
;;
14740 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14741 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14742 shlibpath_var
=LD_LIBRARY_PATH
14743 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14745 openbsd2.
[89] | openbsd2.
[89].
*)
14746 shlibpath_overrides_runpath
=no
14749 shlibpath_overrides_runpath
=yes
14753 shlibpath_overrides_runpath
=yes
14758 libname_spec
='$name'
14761 library_names_spec
='$libname${shared_ext} $libname.a'
14762 dynamic_linker
='OS/2 ld.exe'
14763 shlibpath_var
=LIBPATH
14766 osf3
* | osf4
* | osf5
*)
14770 soname_spec
='${libname}${release}${shared_ext}$major'
14771 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14772 shlibpath_var
=LD_LIBRARY_PATH
14773 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14774 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14785 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14786 soname_spec
='${libname}${release}${shared_ext}$major'
14787 shlibpath_var
=LD_LIBRARY_PATH
14788 shlibpath_overrides_runpath
=yes
14789 hardcode_into_libs
=yes
14790 # ldd complains unless libraries are executable
14791 postinstall_cmds
='chmod +x $lib'
14796 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14797 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14798 shlibpath_var
=LD_LIBRARY_PATH
14799 shlibpath_overrides_runpath
=yes
14800 if test "$with_gnu_ld" = yes; then
14808 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14809 soname_spec
='${libname}${release}${shared_ext}$major'
14810 shlibpath_var
=LD_LIBRARY_PATH
14811 case $host_vendor in
14813 shlibpath_overrides_runpath
=no
14815 runpath_var
=LD_RUN_PATH
14823 shlibpath_overrides_runpath
=no
14824 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14830 if test -d /usr
/nec
;then
14832 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14833 soname_spec
='$libname${shared_ext}.$major'
14834 shlibpath_var
=LD_LIBRARY_PATH
14838 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14839 version_type
=freebsd-elf
14842 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14843 soname_spec
='${libname}${release}${shared_ext}$major'
14844 shlibpath_var
=LD_LIBRARY_PATH
14845 shlibpath_overrides_runpath
=yes
14846 hardcode_into_libs
=yes
14847 if test "$with_gnu_ld" = yes; then
14848 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14850 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14853 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14857 sys_lib_dlsearch_path_spec
='/usr/lib'
14861 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14865 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14866 shlibpath_var
=LD_LIBRARY_PATH
14867 shlibpath_overrides_runpath
=no
14868 hardcode_into_libs
=yes
14873 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14874 soname_spec
='${libname}${release}${shared_ext}$major'
14875 shlibpath_var
=LD_LIBRARY_PATH
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14883 $as_echo "$dynamic_linker" >&6; }
14884 test "$dynamic_linker" = no
&& can_build_shared
=no
14886 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14887 if test "$GCC" = yes; then
14888 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14891 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14892 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14894 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14895 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14934 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14935 hardcode_action_CXX
=
14936 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14937 test -n "$runpath_var_CXX" ||
14938 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14940 # We can hardcode non-existent directories.
14941 if test "$hardcode_direct_CXX" != no
&&
14942 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14943 # have to relink, otherwise we might link with an installed library
14944 # when we should be linking with a yet-to-be-installed one
14945 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14946 test "$hardcode_minus_L_CXX" != no
; then
14947 # Linking always hardcodes the temporary library directory.
14948 hardcode_action_CXX
=relink
14950 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14951 hardcode_action_CXX
=immediate
14954 # We cannot hardcode anything, or else we can only hardcode existing
14956 hardcode_action_CXX
=unsupported
14958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14959 $as_echo "$hardcode_action_CXX" >&6; }
14961 if test "$hardcode_action_CXX" = relink ||
14962 test "$inherit_rpath_CXX" = yes; then
14963 # Fast installation is not supported
14964 enable_fast_install
=no
14965 elif test "$shlibpath_overrides_runpath" = yes ||
14966 test "$enable_shared" = no
; then
14967 # Fast installation is not necessary
14968 enable_fast_install
=needless
14977 fi # test -n "$compiler"
14983 with_gnu_ld
=$lt_save_with_gnu_ld
14984 lt_cv_path_LDCXX
=$lt_cv_path_LD
14985 lt_cv_path_LD
=$lt_save_path_LD
14986 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14987 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14988 fi # test "$_lt_caught_CXX_error" != yes
14991 ac_cpp
='$CPP $CPPFLAGS'
14992 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14993 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14994 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15008 ac_config_commands
="$ac_config_commands libtool"
15013 # Only expand once:
15018 # Check whether --with-target-subdir was given.
15019 if test "${with_target_subdir+set}" = set; then :
15020 withval
=$with_target_subdir;
15024 # Check whether --with-cross-host was given.
15025 if test "${with_cross_host+set}" = set; then :
15026 withval
=$with_cross_host;
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15031 $as_echo_n "checking for thread model used by GCC... " >&6; }
15032 THREADS
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
15033 if test -z "$THREADS"; then
15036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS" >&5
15037 $as_echo "$THREADS" >&6; }
15039 # Check whether --enable-parallel-mark was given.
15040 if test "${enable_parallel_mark+set}" = set; then :
15041 enableval
=$enable_parallel_mark; case "$THREADS" in
15042 no | none | single
)
15043 as_fn_error
"Parallel mark requires --enable-threads=x spec" "$LINENO" 5
15050 AM_CPPFLAGS
="-I`cd $srcdir && ${PWDCMD-pwd}`/include"
15053 no | none | single
)
15056 posix | posix95 | pthreads
)
15058 THREADLIBS
=-lpthread
15060 x86-
*-linux* | ia64-
*-linux* | i586-
*-linux* | i686-
*-linux* | x86_64-
*-linux* | alpha-
*-linux*)
15062 $as_echo "#define GC_LINUX_THREADS 1" >>confdefs.h
15065 $as_echo "#define _REENTRANT 1" >>confdefs.h
15067 if test "${enable_parallel_mark}" = yes; then
15069 $as_echo "#define PARALLEL_MARK 1" >>confdefs.h
15073 $as_echo "#define THREAD_LOCAL_ALLOC 1" >>confdefs.h
15077 $as_echo "#define GC_LINUX_THREADS 1" >>confdefs.h
15079 $as_echo "#define _REENTRANT 1" >>confdefs.h
15084 $as_echo "#define GC_AIX_THREADS 1" >>confdefs.h
15086 $as_echo "#define _REENTRANT 1" >>confdefs.h
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&5
15091 $as_echo "$as_me: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&2;}
15093 $as_echo "#define GC_HPUX_THREADS 1" >>confdefs.h
15096 $as_echo "#define _POSIX_C_SOURCE 199506L" >>confdefs.h
15098 if test "${enable_parallel_mark}" = yes; then
15099 $as_echo "#define PARALLEL_MARK 1" >>confdefs.h
15102 $as_echo "#define THREAD_LOCAL_ALLOC 1" >>confdefs.h
15104 THREADLIBS
="-lpthread -lrt"
15105 # HPUX needs REENTRANT for the _r calls.
15107 $as_echo "#define _REENTRANT 1" >>confdefs.h
15111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&5
15112 $as_echo "$as_me: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&2;}
15115 $as_echo "#define GC_FREEBSD_THREADS 1" >>confdefs.h
15117 INCLUDES
="$INCLUDES -pthread"
15118 THREADDLLIBS
=-pthread
15119 $as_echo "#define _REENTRANT 1" >>confdefs.h
15121 if test "${enable_parallel_mark}" = yes; then
15122 $as_echo "#define PARALLEL_MARK 1" >>confdefs.h
15125 $as_echo "#define THREAD_LOCAL_ALLOC 1" >>confdefs.h
15128 $as_echo "#define USE_COMPILER_TLS 1" >>confdefs.h
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&5
15133 $as_echo "$as_me: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&2;}
15135 $as_echo "#define GC_FREEBSD_THREADS 1" >>confdefs.h
15137 AM_CPPFLAGS
="$AM_CPPFLAGS -pthread"
15138 THREADLIBS
=-pthread
15142 $as_echo "#define GC_SOLARIS_PTHREADS 1" >>confdefs.h
15144 # Need to use alternate thread library, otherwise gctest hangs
15146 multi_os_directory
=`$CC -print-multi-os-directory`
15147 THREADLIBS
="-L/usr/lib/lwp/$multi_os_directory \
15148 -R/usr/lib/lwp/$multi_os_directory -lpthread -lthread -lrt"
15152 $as_echo "#define GC_IRIX_THREADS 1" >>confdefs.h
15157 $as_echo "#define GC_WIN32_THREADS 1" >>confdefs.h
15162 $as_echo "#define GC_DARWIN_THREADS 1" >>confdefs.h
15164 $as_echo "#define THREAD_LOCAL_ALLOC 1" >>confdefs.h
15166 if test "${enable_parallel_mark}" = yes; then
15167 $as_echo "#define PARALLEL_MARK 1" >>confdefs.h
15173 $as_echo "#define GC_OSF1_THREADS 1" >>confdefs.h
15175 if test "${enable_parallel_mark}" = yes; then
15176 $as_echo "#define PARALLEL_MARK 1" >>confdefs.h
15178 $as_echo "#define THREAD_LOCAL_ALLOC 1" >>confdefs.h
15180 # May want to enable it in other cases, too.
15181 # Measurements havent yet been done.
15183 AM_CPPFLAGS
="$AM_CPPFLAGS -pthread"
15184 THREADLIBS
="-lpthread -lrt"
15189 $as_echo "#define GC_WIN32_THREADS 1" >>confdefs.h
15194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADLIBS" >&5
15195 $as_echo "$THREADLIBS" >&6; }
15196 # Use pthread GCC switch
15197 THREADLIBS
=-pthread
15198 if test "${enable_parallel_mark}" = yes; then
15199 $as_echo "#define PARALLEL_MARK 1" >>confdefs.h
15202 $as_echo "#define THREAD_LOCAL_ALLOC 1" >>confdefs.h
15205 $as_echo "#define GC_DGUX386_THREADS 1" >>confdefs.h
15208 $as_echo "#define DGUX_THREADS 1" >>confdefs.h
15210 # Enable _POSIX4A_DRAFT10_SOURCE with flag -pthread
15211 AM_CPPFLAGS
="-pthread $AM_CPPFLAGS"
15215 THREADLIBS
=-lpthread
15216 $as_echo "#define GC_AIX_THREADS 1" >>confdefs.h
15218 $as_echo "#define _REENTRANT 1" >>confdefs.h
15221 decosf1 | irix | mach | os2 | solaris | dce | vxworks
)
15222 as_fn_error
"thread package $THREADS not yet supported" "$LINENO" 5
15225 as_fn_error
"$THREADS is an unknown thread package" "$LINENO" 5
15232 powerpc_darwin
=true
15235 if test x
$powerpc_darwin = xtrue
; then
15236 POWERPC_DARWIN_TRUE
=
15237 POWERPC_DARWIN_FALSE
='#'
15239 POWERPC_DARWIN_TRUE
='#'
15240 POWERPC_DARWIN_FALSE
=
15244 # Darwin needs a few extra special tests to deal with variation in the
15247 powerpc
*-*-darwin*)
15248 ac_fn_c_check_member
"$LINENO" "ppc_thread_state_t" "r0" "ac_cv_member_ppc_thread_state_t_r0" "#include <mach/thread_status.h>
15250 if test "x$ac_cv_member_ppc_thread_state_t_r0" = x
""yes; then :
15252 $as_echo "#define HAS_PPC_THREAD_STATE_R0 1" >>confdefs.h
15256 ac_fn_c_check_member
"$LINENO" "ppc_thread_state_t" "__r0" "ac_cv_member_ppc_thread_state_t___r0" "#include <mach/thread_status.h>
15258 if test "x$ac_cv_member_ppc_thread_state_t___r0" = x
""yes; then :
15260 $as_echo "#define HAS_PPC_THREAD_STATE___R0 1" >>confdefs.h
15264 ac_fn_c_check_member
"$LINENO" "ppc_thread_state64_t" "r0" "ac_cv_member_ppc_thread_state64_t_r0" "#include <mach/thread_status.h>
15266 if test "x$ac_cv_member_ppc_thread_state64_t_r0" = x
""yes; then :
15268 $as_echo "#define HAS_PPC_THREAD_STATE64_R0 1" >>confdefs.h
15272 ac_fn_c_check_member
"$LINENO" "ppc_thread_state64_t" "__r0" "ac_cv_member_ppc_thread_state64_t___r0" "#include <mach/thread_status.h>
15274 if test "x$ac_cv_member_ppc_thread_state64_t___r0" = x
""yes; then :
15276 $as_echo "#define HAS_PPC_THREAD_STATE64___R0 1" >>confdefs.h
15282 ac_fn_c_check_member
"$LINENO" "x86_thread_state32_t" "eax" "ac_cv_member_x86_thread_state32_t_eax" "#include <sys/cdefs.h>
15283 #include <mach/thread_status.h>
15285 if test "x$ac_cv_member_x86_thread_state32_t_eax" = x
""yes; then :
15287 $as_echo "#define HAS_X86_THREAD_STATE32_EAX 1" >>confdefs.h
15291 ac_fn_c_check_member
"$LINENO" "x86_thread_state32_t" "__eax" "ac_cv_member_x86_thread_state32_t___eax" "#include <sys/cdefs.h>
15292 #include <mach/thread_status.h>
15294 if test "x$ac_cv_member_x86_thread_state32_t___eax" = x
""yes; then :
15296 $as_echo "#define HAS_X86_THREAD_STATE32___EAX 1" >>confdefs.h
15302 ac_fn_c_check_member
"$LINENO" "x86_thread_state64_t" "rax" "ac_cv_member_x86_thread_state64_t_rax" "#include <sys/cdefs.h>
15303 #include <mach/thread_status.h>
15305 if test "x$ac_cv_member_x86_thread_state64_t_rax" = x
""yes; then :
15307 $as_echo "#define HAS_X86_THREAD_STATE64_RAX 1" >>confdefs.h
15311 ac_fn_c_check_member
"$LINENO" "x86_thread_state64_t" "__rax" "ac_cv_member_x86_thread_state64_t___rax" "#include <sys/cdefs.h>
15312 #include <mach/thread_status.h>
15314 if test "x$ac_cv_member_x86_thread_state64_t___rax" = x
""yes; then :
15316 $as_echo "#define HAS_X86_THREAD_STATE64___RAX 1" >>confdefs.h
15324 # We never want libdl on darwin. It is a fake libdl that just ends up making
15325 # dyld calls anyway
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15330 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15331 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
15332 $as_echo_n "(cached) " >&6
15334 ac_check_lib_save_LIBS
=$LIBS
15336 if test x
$gcc_no_link = xyes
; then
15337 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15340 /* end confdefs.h. */
15342 /* Override any GCC internal prototype to avoid an error.
15343 Use char because int might match the return type of a GCC
15344 builtin and then its argument prototype would still apply. */
15357 if ac_fn_c_try_link
"$LINENO"; then :
15358 ac_cv_lib_dl_dlopen
=yes
15360 ac_cv_lib_dl_dlopen
=no
15362 rm -f core conftest.err conftest.
$ac_objext \
15363 conftest
$ac_exeext conftest.
$ac_ext
15364 LIBS
=$ac_check_lib_save_LIBS
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15367 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15368 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
15369 EXTRA_TEST_LIBS
="$EXTRA_TEST_LIBS -ldl"
15375 # extra LD Flags which are required for targets
15378 extra_ldflags_libgc
=-Wl,-single_module
15385 target_all
=libgcjgc.la
15390 # Check whether --with-ecos was given.
15391 if test "${with_ecos+set}" = set; then :
15392 withval
=$with_ecos; TARGET_ECOS
="$with_ecos"
15401 case "$TARGET_ECOS" in
15406 $as_echo "#define ECOS 1" >>confdefs.h
15408 AM_CPPFLAGS
="${AM_CPPFLAGS} -I${TARGET_ECOS}/include"
15409 addobjs
="$addobjs ecos.lo"
15413 if test "${enable_cplusplus}" = yes; then
15414 addincludes
="$addincludes include/gc_cpp.h include/gc_allocator.h"
15415 addtests
="$addtests test_cpp"
15418 if test "${enable_cplusplus}" = yes; then
15420 CPLUSPLUS_FALSE
='#'
15431 # Configuration of shared libraries
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
15434 $as_echo_n "checking whether to build shared libraries... " >&6; }
15435 # Check whether --enable-shared was given.
15436 if test "${enable_shared+set}" = set; then :
15437 enableval
=$enable_shared; p
=${PACKAGE-default}
15439 yes) enable_shared
=yes ;;
15440 no
) enable_shared
=no
;;
15443 # Look at the argument we got. We use all the common list separators.
15444 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
15445 for pkg
in $enableval; do
15447 if test "X$pkg" = "X$p"; then
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15468 $as_echo "no" >&6; }
15471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15472 $as_echo "yes" >&6; }
15476 # Checks for pthreads functions
15479 LIBS
="$LIBS $THREADLIBS"
15480 for ac_func
in pthread_getattr_np
15482 ac_fn_c_check_func
"$LINENO" "pthread_getattr_np" "ac_cv_func_pthread_getattr_np"
15483 if test "x$ac_cv_func_pthread_getattr_np" = x
""yes; then :
15484 cat >>confdefs.h
<<_ACEOF
15485 #define HAVE_PTHREAD_GETATTR_NP 1
15493 # Configuration of machine-dependent code
15495 # Set NO_EXECUTE_PERMISSION by default because gcj already uses
15496 # ffi_closure_{alloc,free} which takes care of allocating trampolines
15497 # in executable memory.
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which machine-dependent code should be used" >&5
15500 $as_echo_n "checking which machine-dependent code should be used... " >&6; }
15504 machdep
="alpha_mach_dep.lo"
15505 if test x
"${ac_cv_lib_dl_dlopen}" != xyes
; then
15506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenBSD/Alpha without dlopen(). Shared library support is disabled" >&5
15507 $as_echo "$as_me: WARNING: OpenBSD/Alpha without dlopen(). Shared library support is disabled" >&2;}
15511 machdep
="alpha_mach_dep.lo"
15513 i?
86-*-solaris2.
[89] | i?
86-*-solaris2.1?
)
15515 $as_echo "#define SOLARIS25_PROC_VDB_BUG_FIXED 1" >>confdefs.h
15519 machdep
="mips_ultrix_mach_dep.lo"
15521 $as_echo "#define STACKBASE __stackbase" >>confdefs.h
15524 $as_echo "#define DATASTART_IS_ETEXT 1" >>confdefs.h
15528 machdep
="mips_ultrix_mach-dep.lo"
15530 mips-nec-sysv
*|mips-unknown-sysv
*)
15535 machdep
="mips_sgi_mach_dep.lo"
15538 machdep
="sparc_netbsd_mach_dep.lo"
15540 sparc-sun-solaris2.3
)
15541 machdep
="sparc_mach_dep.lo"
15543 $as_echo "#define SUNOS53_SHARED_LIB 1" >>confdefs.h
15546 sparc
*-sun-solaris2.
*)
15547 machdep
="sparc_mach_dep.lo"
15550 machdep
="mach_dep.lo ia64_save_regs_in_stack.lo"
15554 $as_echo "#define NO_EXECUTE_PERMISSION 1" >>confdefs.h
15556 if test x
"$machdep" = x
; then
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $machdep" >&5
15558 $as_echo "$machdep" >&6; }
15559 machdep
="mach_dep.lo"
15561 addobjs
="$addobjs $machdep"
15568 # Check for AViiON Machines running DGUX
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if host is AViiON running DGUX" >&5
15571 $as_echo_n "checking if host is AViiON running DGUX... " >&6; }
15573 ac_fn_c_check_header_mongrel
"$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default"
15574 if test "x$ac_cv_header_sys_dg_sys_info_h" = x
""yes; then :
15580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_is_dgux" >&5
15581 $as_echo "$ac_is_dgux" >&6; }
15582 ## :GOTCHA: we do not check anything but sys/dg_sys_info.h
15583 if test $ac_is_dgux = yes; then
15584 if test "$enable_full_debug" = "yes"; then
15585 CFLAGS
="-g -mstandard -DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
15586 CXXFLAGS
="-g -mstandard -DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
15588 CFLAGS
="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
15589 CXXFLAGS
="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Solaris gcc optimization fix is necessary" >&5
15596 $as_echo_n "checking whether Solaris gcc optimization fix is necessary... " >&6; }
15599 if test "$GCC" = yes; then
15600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15601 $as_echo "yes" >&6; }
15603 for i
in $CFLAGS; do
15608 new_CFLAGS
="$new_CFLAGS $i"
15612 CFLAGS
="$new_CFLAGS"
15614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15615 $as_echo "no" >&6; }
15618 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15619 $as_echo "no" >&6; } ;;
15622 MY_CFLAGS
="$CFLAGS"
15626 $as_echo "#define SILENT 1" >>confdefs.h
15629 $as_echo "#define NO_SIGNALS 1" >>confdefs.h
15632 $as_echo "#define ALL_INTERIOR_POINTERS 1" >>confdefs.h
15636 $as_echo "#define JAVA_FINALIZATION 1" >>confdefs.h
15639 $as_echo "#define GC_GCJ_SUPPORT 1" >>confdefs.h
15642 $as_echo "#define ATOMIC_UNCOLLECTABLE 1" >>confdefs.h
15645 # Check whether --enable-gc-debug was given.
15646 if test "${enable_gc_debug+set}" = set; then :
15647 enableval
=$enable_gc_debug; if test "$enable_gc_debug" = "yes"; then
15648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Must define GC_DEBUG and use debug alloc. in clients.\"" >&5
15649 $as_echo "$as_me: WARNING: \"Must define GC_DEBUG and use debug alloc. in clients.\"" >&2;}
15651 $as_echo "#define KEEP_BACK_PTRS 1" >>confdefs.h
15654 $as_echo "#define DBG_HDRS_ALL 1" >>confdefs.h
15659 $as_echo "#define MAKE_BACK_GRAPH 1" >>confdefs.h
15662 x86-
*-linux* | i586-
*-linux* | i686-
*-linux* | x86_64-
*-linux* )
15663 $as_echo "#define MAKE_BACK_GRAPH 1" >>confdefs.h
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&5
15666 $as_echo "$as_me: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&2;}
15668 $as_echo "#define SAVE_CALL_COUNT 8" >>confdefs.h
15672 $as_echo "#define MAKE_BACK_GRAPH 1" >>confdefs.h
15680 if test "${gc_use_mmap}" = "yes"; then
15682 $as_echo "#define USE_MMAP 1" >>confdefs.h
15686 if test -n "$with_cross_host" &&
15687 test x
"$with_cross_host" != x
"no"; then
15688 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
15689 toolexeclibdir
='$(toolexecdir)/lib'
15691 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
15692 toolexeclibdir
='$(libdir)'
15694 multi_os_directory
=`$CC -print-multi-os-directory`
15695 case $multi_os_directory in
15696 .
) ;; # Avoid trailing /.
15697 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
15702 if test "${multilib}" = "yes"; then
15703 multilib_arg
="--enable-multilib"
15708 ac_config_headers
="$ac_config_headers include/gc_config.h include/gc_ext_config.h"
15711 ac_config_files
="$ac_config_files Makefile include/Makefile threads.mk"
15713 cat >confcache
<<\_ACEOF
15714 # This file is a shell script that caches the results of configure
15715 # tests run on this system so they can be shared between configure
15716 # scripts and configure runs, see configure's option --config-cache.
15717 # It is not useful on other systems. If it contains results you don't
15718 # want to keep, you may remove or edit it.
15720 # config.status only pays attention to the cache file if you give it
15721 # the --recheck option to rerun configure.
15723 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15724 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15725 # following values.
15729 # The following way of writing the cache mishandles newlines in values,
15730 # but we know of no workaround that is simple, portable, and efficient.
15731 # So, we kill variables containing newlines.
15732 # Ultrix sh set writes to stderr and can't be redirected directly,
15733 # and sets the high bit in the cache file unless we assign to the vars.
15735 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15736 eval ac_val
=\$
$ac_var
15740 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15741 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15744 _ | IFS | as_nl
) ;; #(
15745 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15746 *) { eval $ac_var=; unset $ac_var;} ;;
15752 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15753 *${as_nl}ac_space
=\
*)
15754 # `set' does not quote correctly, so add quotes: double-quote
15755 # substitution turns \\\\ into \\, and sed turns \\ into \.
15758 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15761 # `set' quotes correctly as required by POSIX, so do not add quotes.
15762 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15771 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15773 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15775 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15776 if test -w "$cache_file"; then
15777 test "x$cache_file" != "x/dev/null" &&
15778 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15779 $as_echo "$as_me: updating cache $cache_file" >&6;}
15780 cat confcache
>$cache_file
15782 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15783 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15788 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15789 # Let make expand exec_prefix.
15790 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15792 DEFS
=-DHAVE_CONFIG_H
15796 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15797 # 1. Remove the extension, and $U if already installed.
15798 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15799 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15800 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15801 # will be set to the directory where LIBOBJS objects are built.
15802 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15803 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15805 LIBOBJS
=$ac_libobjs
15807 LTLIBOBJS
=$ac_ltlibobjs
15810 if test -n "$EXEEXT"; then
15812 am__EXEEXT_FALSE
='#'
15814 am__EXEEXT_TRUE
='#'
15818 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15819 as_fn_error
"conditional \"AMDEP\" was never defined.
15820 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15822 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15823 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
15824 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15826 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15827 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
15828 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15830 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15831 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
15832 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15834 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15835 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
15836 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15838 if test -z "${POWERPC_DARWIN_TRUE}" && test -z "${POWERPC_DARWIN_FALSE}"; then
15839 as_fn_error
"conditional \"POWERPC_DARWIN\" was never defined.
15840 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15842 if test -z "${CPLUSPLUS_TRUE}" && test -z "${CPLUSPLUS_FALSE}"; then
15843 as_fn_error
"conditional \"CPLUSPLUS\" was never defined.
15844 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15847 : ${CONFIG_STATUS=./config.status}
15849 ac_clean_files_save
=$ac_clean_files
15850 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15851 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15852 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15854 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15856 # Generated by $as_me.
15857 # Run this file to recreate the current configuration.
15858 # Compiler output produced by configure, useful for debugging
15859 # configure, is in config.log if it exists.
15862 ac_cs_recheck=false
15865 SHELL=\${CONFIG_SHELL-$SHELL}
15868 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15869 ## -------------------- ##
15870 ## M4sh Initialization. ##
15871 ## -------------------- ##
15873 # Be more Bourne compatible
15874 DUALCASE
=1; export DUALCASE
# for MKS sh
15875 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15878 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15879 # is contrary to our usage. Disable this feature.
15880 alias -g '${1+"$@"}'='"$@"'
15881 setopt NO_GLOB_SUBST
15883 case `(set -o) 2>/dev/null` in #(
15895 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15896 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15897 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15898 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15899 # Prefer a ksh shell builtin over an external printf program on Solaris,
15900 # but without wasting forks for bash or zsh.
15901 if test -z "$BASH_VERSION$ZSH_VERSION" \
15902 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15903 as_echo='print
-r --'
15904 as_echo_n='print
-rn --'
15905 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15906 as_echo='printf %s
\n'
15907 as_echo_n='printf %s
'
15909 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15910 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15911 as_echo_n='/usr
/ucb
/echo -n'
15913 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15914 as_echo_n_body='eval
15918 expr "X$arg" : "X\\(.*\\)$as_nl";
15919 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15921 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15923 export as_echo_n_body
15924 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15926 export as_echo_body
15927 as_echo='sh
-c $as_echo_body as_echo
'
15930 # The user is always right.
15931 if test "${PATH_SEPARATOR+set}" != set; then
15933 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15934 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15941 # We need space, tab and new line, in precisely that order. Quoting is
15942 # there to prevent editors from complaining about space-tab.
15943 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15944 # splitting by setting IFS to empty value.)
15947 # Find who we are. Look in the path if we contain no directory separator.
15949 *[\\/]* ) as_myself=$0 ;;
15950 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15951 for as_dir in $PATH
15954 test -z "$as_dir" && as_dir=.
15955 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15961 # We did not find ourselves, most probably we were run as `sh COMMAND'
15962 # in which case we are not to be found in the path.
15963 if test "x$as_myself" = x
; then
15966 if test ! -f "$as_myself"; then
15967 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15971 # Unset variables that we do not need and which cause bugs (e.g. in
15972 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15973 # suppresses any "Segmentation fault" message there. '((' could
15974 # trigger a bug in pdksh 5.2.14.
15975 for as_var
in BASH_ENV ENV MAIL MAILPATH
15976 do eval test x\
${$as_var+set} = xset \
15977 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15990 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15993 # as_fn_error ERROR [LINENO LOG_FD]
15994 # ---------------------------------
15995 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15996 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15997 # script with status $?, using 1 if that was 0.
16000 as_status
=$?
; test $as_status -eq 0 && as_status
=1
16002 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16003 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
16005 $as_echo "$as_me: error: $1" >&2
16006 as_fn_exit
$as_status
16010 # as_fn_set_status STATUS
16011 # -----------------------
16012 # Set $? to STATUS, without forking.
16013 as_fn_set_status
()
16016 } # as_fn_set_status
16018 # as_fn_exit STATUS
16019 # -----------------
16020 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16024 as_fn_set_status
$1
16030 # Portably unset VAR.
16033 { eval $1=; unset $1;}
16035 as_unset
=as_fn_unset
16036 # as_fn_append VAR VALUE
16037 # ----------------------
16038 # Append the text in VALUE to the end of the definition contained in VAR. Take
16039 # advantage of any shell optimizations that allow amortized linear growth over
16040 # repeated appends, instead of the typical quadratic growth present in naive
16042 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16043 eval 'as_fn_append ()
16054 # as_fn_arith ARG...
16055 # ------------------
16056 # Perform arithmetic evaluation on the ARGs, and store the result in the
16057 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16058 # must be portable across $(()) and expr.
16059 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16060 eval 'as_fn_arith ()
16067 as_val
=`expr "$@" || test $? -eq 1`
16072 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16073 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16079 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16080 as_basename
=basename
16085 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16091 as_me
=`$as_basename -- "$0" ||
16092 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16093 X"$0" : 'X\(//\)$' \| \
16094 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16096 sed '/^.*\/\([^/][^/]*\)\/*$/{
16110 # Avoid depending upon Character Ranges.
16111 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16112 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16113 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16114 as_cr_digits
='0123456789'
16115 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16117 ECHO_C
= ECHO_N
= ECHO_T
=
16118 case `echo -n x` in #(((((
16120 case `echo 'xy\c'` in
16121 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16123 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16130 rm -f conf$$ conf$$.exe conf$$.
file
16131 if test -d conf$$.dir
; then
16132 rm -f conf$$.dir
/conf$$.
file
16135 mkdir conf$$.dir
2>/dev
/null
16137 if (echo >conf$$.
file) 2>/dev
/null
; then
16138 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16140 # ... but there are two gotchas:
16141 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16142 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16143 # In both cases, we have to default to `cp -p'.
16144 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16146 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16154 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16155 rmdir conf$$.dir
2>/dev
/null
16160 # Create "$as_dir" as a directory, including parents if necessary.
16165 -*) as_dir
=.
/$as_dir;;
16167 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16171 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16172 *) as_qdir
=$as_dir;;
16174 as_dirs
="'$as_qdir' $as_dirs"
16175 as_dir
=`$as_dirname -- "$as_dir" ||
16176 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16177 X"$as_dir" : 'X\(//\)[^/]' \| \
16178 X"$as_dir" : 'X\(//\)$' \| \
16179 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16180 $as_echo X"$as_dir" |
16181 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16185 /^X\(\/\/\)[^/].*/{
16198 test -d "$as_dir" && break
16200 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16201 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
16205 if mkdir
-p .
2>/dev
/null
; then
16206 as_mkdir_p
='mkdir -p "$as_dir"'
16208 test -d .
/-p && rmdir .
/-p
16212 if test -x / >/dev
/null
2>&1; then
16213 as_test_x
='test -x'
16215 if ls -dL / >/dev
/null
2>&1; then
16222 if test -d "$1"; then
16228 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16229 ???[sx]*):;;*)false;;esac;fi
16233 as_executable_p
=$as_test_x
16235 # Sed expression to map a string onto a valid CPP name.
16236 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16238 # Sed expression to map a string onto a valid variable name.
16239 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16243 ## ----------------------------------- ##
16244 ## Main body of $CONFIG_STATUS script. ##
16245 ## ----------------------------------- ##
16247 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16249 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16250 # Save the log message, to keep $0 and so on meaningful, and to
16251 # report actual input values of CONFIG_FILES etc. instead of their
16252 # values after options handling.
16254 This file was extended by $as_me, which was
16255 generated by GNU Autoconf 2.64. Invocation command line was
16257 CONFIG_FILES = $CONFIG_FILES
16258 CONFIG_HEADERS = $CONFIG_HEADERS
16259 CONFIG_LINKS = $CONFIG_LINKS
16260 CONFIG_COMMANDS = $CONFIG_COMMANDS
16263 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16268 case $ac_config_files in *"
16269 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16272 case $ac_config_headers in *"
16273 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16277 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16278 # Files that config.status was made for.
16279 config_files="$ac_config_files"
16280 config_headers="$ac_config_headers"
16281 config_commands="$ac_config_commands"
16285 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16287 \`$as_me' instantiates files and other configuration actions
16288 from templates according to the current configuration. Unless the files
16289 and actions are specified as TAGs, all are instantiated by default.
16291 Usage: $0 [OPTION]... [TAG]...
16293 -h, --help print this help, then exit
16294 -V, --version print version number and configuration settings, then exit
16295 -q, --quiet, --silent
16296 do not print progress messages
16297 -d, --debug don't remove temporary files
16298 --recheck update $as_me by reconfiguring in the same conditions
16299 --file=FILE[:TEMPLATE]
16300 instantiate the configuration file FILE
16301 --header=FILE[:TEMPLATE]
16302 instantiate the configuration header FILE
16304 Configuration files:
16307 Configuration headers:
16310 Configuration commands:
16313 Report bugs to the package provider."
16316 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16319 configured by $0, generated by GNU Autoconf 2.64,
16320 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16322 Copyright (C) 2009 Free Software Foundation, Inc.
16323 This config.status script is free software; the Free Software Foundation
16324 gives unlimited permission to copy, distribute and modify it."
16331 test -n "\$AWK" || AWK=awk
16334 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16335 # The default lists apply if the user does not specify any file.
16341 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16342 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16353 # Handling of the options.
16354 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16356 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16357 $as_echo "$ac_cs_version"; exit ;;
16358 --debug |
--debu |
--deb |
--de |
--d |
-d )
16360 --file |
--fil |
--fi |
--f )
16363 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16365 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16366 ac_need_defaults
=false
;;
16367 --header |
--heade |
--head |
--hea )
16370 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16372 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16373 ac_need_defaults
=false
;;
16375 # Conflict between --help and --header
16376 as_fn_error
"ambiguous option: \`$1'
16377 Try \`$0 --help' for more information.";;
16378 --help |
--hel |
-h )
16379 $as_echo "$ac_cs_usage"; exit ;;
16380 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16381 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16384 # This is an error.
16385 -*) as_fn_error
"unrecognized option: \`$1'
16386 Try \`$0 --help' for more information." ;;
16388 *) as_fn_append ac_config_targets
" $1"
16389 ac_need_defaults
=false
;;
16395 ac_configure_extra_args
=
16397 if $ac_cs_silent; then
16399 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16404 if \$ac_cs_recheck; then
16405 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16407 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16408 CONFIG_SHELL='$SHELL'
16409 export CONFIG_SHELL
16414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16418 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16419 ## Running $as_me. ##
16425 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16433 with_multisubdir="$with_multisubdir"
16434 with_multisrctop="$with_multisrctop"
16435 with_target_subdir="$with_target_subdir"
16436 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16437 multi_basedir="$multi_basedir"
16438 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16441 GFORTRAN="$GFORTRAN"
16443 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16446 # The HP-UX ksh and POSIX shell print the target directory to stdout
16447 # if CDPATH is set.
16448 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16450 sed_quote_subst='$sed_quote_subst'
16451 double_quote_subst='$double_quote_subst'
16452 delay_variable_subst='$delay_variable_subst'
16453 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16454 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16455 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16456 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16457 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16458 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16459 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16460 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16461 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16462 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16463 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16464 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16465 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16466 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16467 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16468 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16469 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16470 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16471 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16472 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16473 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16474 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16475 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16476 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16477 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16478 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16479 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16480 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16481 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16482 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16483 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16484 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16485 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16486 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16487 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16488 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16489 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16490 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16491 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16492 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16493 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16494 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16495 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16496 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16497 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
16498 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16499 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16500 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16501 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16502 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16503 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16504 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16505 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16506 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16507 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16508 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16509 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16510 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16511 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16512 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16513 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16514 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16515 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16516 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16517 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16518 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16519 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16520 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16521 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16522 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16523 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16524 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16525 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16526 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16527 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16528 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16529 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16530 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16531 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16532 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16533 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16534 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16535 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16536 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16537 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16538 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16539 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16540 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16541 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16542 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16543 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16544 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16545 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16546 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16547 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16548 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16549 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16550 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16551 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16552 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16553 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16554 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16555 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16556 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16557 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16558 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16559 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16560 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16561 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16562 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16563 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16564 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16565 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16566 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16567 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16568 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16569 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16570 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16571 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
16572 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16573 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16574 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
16575 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
16576 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
16577 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16578 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16579 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16580 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16581 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16582 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16583 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16584 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16585 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16586 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16587 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16588 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16589 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16590 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16591 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16592 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16593 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16594 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16595 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16596 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16597 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16598 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16599 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16600 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16601 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16602 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16603 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16604 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16605 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16606 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16607 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16608 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16609 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16610 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16611 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16612 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16613 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16614 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16615 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16616 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16617 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16618 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16619 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16620 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16621 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16622 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16623 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16626 LTCFLAGS='$LTCFLAGS'
16627 compiler='$compiler_DEFAULT'
16629 # Quote evaled strings.
16641 deplibs_check_method \
16650 lt_cv_sys_global_symbol_pipe \
16651 lt_cv_sys_global_symbol_to_cdecl \
16652 lt_cv_sys_global_symbol_to_c_name_address \
16653 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16656 lt_prog_compiler_no_builtin_flag \
16657 lt_prog_compiler_wl \
16658 lt_prog_compiler_pic \
16659 lt_prog_compiler_static \
16660 lt_cv_prog_compiler_c_o \
16668 export_dynamic_flag_spec \
16669 whole_archive_flag_spec \
16670 compiler_needs_object \
16672 allow_undefined_flag \
16673 no_undefined_flag \
16674 hardcode_libdir_flag_spec \
16675 hardcode_libdir_flag_spec_ld \
16676 hardcode_libdir_separator \
16681 variables_saved_for_relink \
16683 library_names_spec \
16688 compiler_lib_search_dirs \
16693 compiler_lib_search_path \
16696 lt_prog_compiler_no_builtin_flag_CXX \
16697 lt_prog_compiler_wl_CXX \
16698 lt_prog_compiler_pic_CXX \
16699 lt_prog_compiler_static_CXX \
16700 lt_cv_prog_compiler_c_o_CXX \
16701 export_dynamic_flag_spec_CXX \
16702 whole_archive_flag_spec_CXX \
16703 compiler_needs_object_CXX \
16705 allow_undefined_flag_CXX \
16706 no_undefined_flag_CXX \
16707 hardcode_libdir_flag_spec_CXX \
16708 hardcode_libdir_flag_spec_ld_CXX \
16709 hardcode_libdir_separator_CXX \
16710 fix_srcfile_path_CXX \
16711 exclude_expsyms_CXX \
16712 include_expsyms_CXX \
16713 file_list_spec_CXX \
16714 compiler_lib_search_dirs_CXX \
16715 predep_objects_CXX \
16716 postdep_objects_CXX \
16719 compiler_lib_search_path_CXX; do
16720 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16721 *[\\\\\\\`\\"\\\$]*)
16722 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16725 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16730 # Double-quote double-evaled strings.
16731 for var in reload_cmds \
16732 old_postinstall_cmds \
16733 old_postuninstall_cmds \
16735 extract_expsyms_cmds \
16736 old_archive_from_new_cmds \
16737 old_archive_from_expsyms_cmds \
16739 archive_expsym_cmds \
16741 module_expsym_cmds \
16742 export_symbols_cmds \
16745 postuninstall_cmds \
16747 sys_lib_search_path_spec \
16748 sys_lib_dlsearch_path_spec \
16749 old_archive_cmds_CXX \
16750 old_archive_from_new_cmds_CXX \
16751 old_archive_from_expsyms_cmds_CXX \
16753 archive_expsym_cmds_CXX \
16755 module_expsym_cmds_CXX \
16756 export_symbols_cmds_CXX \
16757 prelink_cmds_CXX; do
16758 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16759 *[\\\\\\\`\\"\\\$]*)
16760 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16763 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16768 # Fix-up fallback echo if it was mangled by the above quoting rules.
16770 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16774 ac_aux_dir='$ac_aux_dir'
16775 xsi_shell='$xsi_shell'
16776 lt_shell_append='$lt_shell_append'
16778 # See if we are running on zsh, and set the options which allow our
16779 # commands through without removal of \ escapes INIT.
16780 if test -n "\${ZSH_VERSION+set}" ; then
16781 setopt NO_GLOB_SUBST
16787 TIMESTAMP='$TIMESTAMP'
16798 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16800 # Handling of arguments.
16801 for ac_config_target
in $ac_config_targets
16803 case $ac_config_target in
16804 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16805 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16806 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16807 "include/gc_config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/gc_config.h" ;;
16808 "include/gc_ext_config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/gc_ext_config.h" ;;
16809 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16810 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
16811 "threads.mk") CONFIG_FILES
="$CONFIG_FILES threads.mk" ;;
16813 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16818 # If the user did not use the arguments to specify the items to instantiate,
16819 # then the envvar interface is used. Set only those that are not.
16820 # We use the long form for the default assignment because of an extremely
16821 # bizarre bug on SunOS 4.1.3.
16822 if $ac_need_defaults; then
16823 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16824 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16825 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16828 # Have a temporary directory for convenience. Make it in the build tree
16829 # simply because there is no reason against having it here, and in addition,
16830 # creating and moving files from /tmp can sometimes cause problems.
16831 # Hook for its removal unless debugging.
16832 # Note that there is a small window in which the directory will not be cleaned:
16833 # after its creation but before its name has been assigned to `$tmp'.
16837 trap 'exit_status=$?
16838 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16840 trap 'as_fn_exit 1' 1 2 13 15
16842 # Create a (secure) tmp directory for tmp files.
16845 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16846 test -n "$tmp" && test -d "$tmp"
16849 tmp
=.
/conf$$
-$RANDOM
16850 (umask 077 && mkdir
"$tmp")
16851 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
16853 # Set up the scripts for CONFIG_FILES section.
16854 # No need to generate them if there are no CONFIG_FILES.
16855 # This happens for instance with `./config.status config.h'.
16856 if test -n "$CONFIG_FILES"; then
16859 ac_cr
=`echo X | tr X '\015'`
16860 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16861 # But we know of no other shell where ac_cr would be empty at this
16862 # point, so we can use a bashism as a fallback.
16863 if test "x$ac_cr" = x
; then
16864 eval ac_cr
=\$
\'\\r
\'
16866 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16867 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16870 ac_cs_awk_cr
=$ac_cr
16873 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16878 echo "cat >conf$$subs.awk <<_ACEOF" &&
16879 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16881 } >conf$$subs.sh ||
16882 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16883 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16885 for ac_last_try in false false false false false :; do
16886 . ./conf$$subs.sh ||
16887 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16889 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16890 if test $ac_delim_n = $ac_delim_num; then
16892 elif $ac_last_try; then
16893 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16895 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16898 rm -f conf$$subs.sh
16900 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16901 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16905 s/^/S["/; s
/!.
*/"]=/
16915 s/\(.\{148\}\).*/\1/
16917 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16922 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16929 s/\(.\{148\}\).*/\1/
16931 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16935 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16940 ' <conf$$subs.awk | sed '
16945 ' >>$CONFIG_STATUS || ac_write_fail=1
16946 rm -f conf$$subs.awk
16947 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16949 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16950 for (key in S) S_is_set[key] = 1
16956 nfields = split(line, field, "@
")
16958 len = length(field[1])
16959 for (i = 2; i < nfields; i++) {
16961 keylen = length(key)
16962 if (S_is_set[key]) {
16964 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16965 len += length(value) + length(field[++i])
16976 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16977 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16978 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16981 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16982 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
16985 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16986 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16987 # trailing colons and then remove the whole line if VPATH becomes empty
16988 # (actually we leave an empty line to preserve line numbers).
16989 if test "x
$srcdir" = x.; then
16990 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16991 s/:*\$(srcdir):*/:/
16992 s/:*\${srcdir}:*/:/
16994 s/^\([^=]*=[ ]*\):*/\1/
17000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17001 fi # test -n "$CONFIG_FILES"
17003 # Set up the scripts for CONFIG_HEADERS section.
17004 # No need to generate them if there are no CONFIG_HEADERS.
17005 # This happens for instance with `./config.status Makefile'.
17006 if test -n "$CONFIG_HEADERS"; then
17007 cat >"$tmp/defines.
awk" <<\_ACAWK ||
17011 # Transform confdefs.h into an awk script `defines.awk', embedded as
17012 # here-document in config.status, that substitutes the proper values into
17013 # config.h.in to produce config.h.
17015 # Create a delimiter string that does not exist in confdefs.h, to ease
17016 # handling of long lines.
17018 for ac_last_try in false false :; do
17019 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
17020 if test -z "$ac_t"; then
17022 elif $ac_last_try; then
17023 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
17025 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17029 # For the awk script, D is an array of macro values keyed by name,
17030 # likewise P contains macro parameters if any. Preserve backslash
17031 # newline sequences.
17033 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17035 s/.\{148\}/&'"$ac_delim"'/g
17038 s/^[ ]*#[ ]*define[ ][ ]*/ /
17045 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17047 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17051 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17052 D["\
1"]=" \
3\\\\\\n
"\\/p
17054 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17059 s/.\{148\}/&'"$ac_delim"'/g
17064 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17067 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17069 ' <confdefs.h | sed '
17070 s/'"$ac_delim"'/"\\\
17071 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17073 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17074 for (key in D) D_is_set[key] = 1
17077 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17079 split(line, arg, " ")
17080 if (arg[1] == "#") {
17084 defundef
= substr
(arg
[1], 2)
17087 split(mac1
, mac2
, "(") #)
17089 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17090 if (D_is_set
[macro
]) {
17091 # Preserve the white space surrounding the "#".
17092 print prefix
"define", macro P
[macro
] D
[macro
]
17095 # Replace #undef with comments. This is necessary, for example,
17096 # in the case of _POSIX_SOURCE, which is predefined and required
17097 # on some systems where configure will not decide to define it.
17098 if (defundef
== "undef") {
17099 print
"/*", prefix defundef
, macro
, "*/"
17107 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17108 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
17109 fi # test -n "$CONFIG_HEADERS"
17112 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17117 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17119 case $ac_mode$ac_tag in
17121 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17122 :[FH
]-) ac_tag
=-:-;;
17123 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17140 -) ac_f
="$tmp/stdin";;
17141 *) # Look for the file first in the build tree, then in the source tree
17142 # (if the path is not absolute). The absolute path cannot be DOS-style,
17143 # because $ac_f cannot contain `:'.
17147 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17149 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
17151 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17152 as_fn_append ac_file_inputs
" '$ac_f'"
17155 # Let's still pretend it is `configure' which instantiates (i.e., don't
17156 # use $as_me), people would be surprised to read:
17157 # /* config.h. Generated by config.status. */
17158 configure_input
='Generated from '`
17159 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17161 if test x
"$ac_file" != x-
; then
17162 configure_input
="$ac_file. $configure_input"
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17164 $as_echo "$as_me: creating $ac_file" >&6;}
17166 # Neutralize special characters interpreted by sed in replacement strings.
17167 case $configure_input in #(
17168 *\
&* |
*\|
* |
*\\* )
17169 ac_sed_conf_input
=`$as_echo "$configure_input" |
17170 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17171 *) ac_sed_conf_input
=$configure_input;;
17175 *:-:* |
*:-) cat >"$tmp/stdin" \
17176 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
17181 ac_dir
=`$as_dirname -- "$ac_file" ||
17182 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17183 X"$ac_file" : 'X\(//\)[^/]' \| \
17184 X"$ac_file" : 'X\(//\)$' \| \
17185 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17186 $as_echo X"$ac_file" |
17187 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17191 /^X\(\/\/\)[^/].*/{
17204 as_dir
="$ac_dir"; as_fn_mkdir_p
17208 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17210 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17211 # A ".." for each directory in $ac_dir_suffix.
17212 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17213 case $ac_top_builddir_sub in
17214 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17215 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17218 ac_abs_top_builddir
=$ac_pwd
17219 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17220 # for backward compatibility:
17221 ac_top_builddir
=$ac_top_build_prefix
17224 .
) # We are building in place.
17226 ac_top_srcdir
=$ac_top_builddir_sub
17227 ac_abs_top_srcdir
=$ac_pwd ;;
17228 [\\/]* | ?
:[\\/]* ) # Absolute name.
17229 ac_srcdir
=$srcdir$ac_dir_suffix;
17230 ac_top_srcdir
=$srcdir
17231 ac_abs_top_srcdir
=$srcdir ;;
17232 *) # Relative name.
17233 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17234 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17235 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17237 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17247 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17248 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17250 ac_MKDIR_P
=$MKDIR_P
17252 [\\/$
]* | ?
:[\\/]* ) ;;
17253 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17257 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17258 # If the template does not know about datarootdir, expand it.
17259 # FIXME: This hack should be removed a few years after 2.60.
17260 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17271 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17272 *datarootdir
*) ac_datarootdir_seen
=yes;;
17273 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17275 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17277 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17278 ac_datarootdir_hack='
17279 s&@datadir@&$datadir&g
17280 s&@docdir@&$docdir&g
17281 s&@infodir@&$infodir&g
17282 s&@localedir@&$localedir&g
17283 s&@mandir@&$mandir&g
17284 s&\\\${datarootdir}&$datarootdir&g' ;;
17288 # Neutralize VPATH when `$srcdir' = `.'.
17289 # Shell code in configure.ac might set extrasub.
17290 # FIXME: do we really want to maintain this feature?
17291 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17292 ac_sed_extra="$ac_vpsub
17295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17297 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17298 s|@configure_input@|
$ac_sed_conf_input|
;t t
17299 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17300 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17301 s
&@srcdir@
&$ac_srcdir&;t t
17302 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17303 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17304 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17305 s
&@builddir@
&$ac_builddir&;t t
17306 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17307 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17308 s
&@INSTALL@
&$ac_INSTALL&;t t
17309 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17310 $ac_datarootdir_hack
17312 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
17313 || as_fn_error "could not create
$ac_file" "$LINENO" 5
17315 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17316 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
17317 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
17318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17319 which seems to be undefined. Please make sure it is defined." >&5
17320 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17321 which seems to be undefined. Please make sure it is defined." >&2;}
17325 -) cat "$tmp/out" && rm -f "$tmp/out";;
17326 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17328 || as_fn_error "could not create $ac_file" "$LINENO" 5
17334 if test x"$ac_file" != x-; then
17336 $as_echo "/* $configure_input */" \
17337 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17338 } >"$tmp/config.h" \
17339 || as_fn_error "could not create $ac_file" "$LINENO" 5
17340 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17341 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17342 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17345 mv "$tmp/config.h" "$ac_file" \
17346 || as_fn_error "could not create $ac_file" "$LINENO" 5
17349 $as_echo "/* $configure_input */" \
17350 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17351 || as_fn_error "could not create -" "$LINENO" 5
17353 # Compute "$ac_file"'s index
in $config_headers.
17356 for _am_header
in $config_headers :; do
17357 case $_am_header in
17358 $_am_arg |
$_am_arg:* )
17361 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17364 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17365 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17366 X"$_am_arg" : 'X\(//\)[^/]' \| \
17367 X"$_am_arg" : 'X\(//\)$' \| \
17368 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17369 $as_echo X"$_am_arg" |
17370 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17374 /^X\(\/\/\)[^/].*/{
17386 s/.*/./; q'`/stamp-h
$_am_stamp_count
17389 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17390 $as_echo "$as_me: executing $ac_file commands" >&6;}
17395 case $ac_file$ac_mode in
17397 # Only add multilib support code if we just rebuilt the top-level
17399 case " $CONFIG_FILES " in
17401 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
17404 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
17405 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17406 # are listed without --file. Let's play safe and only enable the eval
17407 # if we detect the quoting.
17408 case $CONFIG_FILES in
17409 *\'*) eval set x
"$CONFIG_FILES" ;;
17410 *) set x
$CONFIG_FILES ;;
17415 # Strip MF so we end up with the name of the file.
17416 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17417 # Check whether this is an Automake generated Makefile or not.
17418 # We used to match only the files named `Makefile.in', but
17419 # some people rename them; so instead we look at the file content.
17420 # Grep'ing the first line is not enough: some people post-process
17421 # each Makefile.in and add a new line on top of each file to say so.
17422 # Grep'ing the whole file is not good either: AIX grep has a line
17423 # limit of 2048, but all sed's we know have understand at least 4000.
17424 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17425 dirpart
=`$as_dirname -- "$mf" ||
17426 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17427 X"$mf" : 'X\(//\)[^/]' \| \
17428 X"$mf" : 'X\(//\)$' \| \
17429 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17431 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17435 /^X\(\/\/\)[^/].*/{
17451 # Extract the definition of DEPDIR, am__include, and am__quote
17452 # from the Makefile without running `make'.
17453 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17454 test -z "$DEPDIR" && continue
17455 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17456 test -z "am__include" && continue
17457 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17458 # When using ansi2knr, U may be empty or an underscore; expand it
17459 U
=`sed -n 's/^U = //p' < "$mf"`
17460 # Find all dependency output files, they are included files with
17461 # $(DEPDIR) in their names. We invoke sed twice because it is the
17462 # simplest approach to changing $(DEPDIR) to its actual value in the
17464 for file in `sed -n "
17465 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17466 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17467 # Make sure the directory exists.
17468 test -f "$dirpart/$file" && continue
17469 fdir
=`$as_dirname -- "$file" ||
17470 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17471 X"$file" : 'X\(//\)[^/]' \| \
17472 X"$file" : 'X\(//\)$' \| \
17473 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17474 $as_echo X"$file" |
17475 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17479 /^X\(\/\/\)[^/].*/{
17492 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17493 # echo "creating $dirpart/$file"
17494 echo '# dummy' > "$dirpart/$file"
17501 # See if we are running on zsh, and set the options which allow our
17502 # commands through without removal of \ escapes.
17503 if test -n "${ZSH_VERSION+set}" ; then
17504 setopt NO_GLOB_SUBST
17507 cfgfile
="${ofile}T"
17508 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17511 cat <<_LT_EOF >> "$cfgfile"
17514 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17515 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17516 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17517 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17519 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17520 # 2006, 2007, 2008 Free Software Foundation, Inc.
17521 # Written by Gordon Matzigkeit, 1996
17523 # This file is part of GNU Libtool.
17525 # GNU Libtool is free software; you can redistribute it and/or
17526 # modify it under the terms of the GNU General Public License as
17527 # published by the Free Software Foundation; either version 2 of
17528 # the License, or (at your option) any later version.
17530 # As a special exception to the GNU General Public License,
17531 # if you distribute this file as part of a program or library that
17532 # is built using GNU Libtool, you may include this file under the
17533 # same distribution terms that you use for the rest of that program.
17535 # GNU Libtool is distributed in the hope that it will be useful,
17536 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17537 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17538 # GNU General Public License for more details.
17540 # You should have received a copy of the GNU General Public License
17541 # along with GNU Libtool; see the file COPYING. If not, a copy
17542 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17543 # obtained by writing to the Free Software Foundation, Inc.,
17544 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17547 # The names of the tagged configurations supported by this script.
17548 available_tags="CXX "
17550 # ### BEGIN LIBTOOL CONFIG
17552 # Which release of libtool.m4 was used?
17553 macro_version=$macro_version
17554 macro_revision=$macro_revision
17556 # Whether or not to build shared libraries.
17557 build_libtool_libs=$enable_shared
17559 # Whether or not to build static libraries.
17560 build_old_libs=$enable_static
17562 # What type of objects to build.
17565 # Whether or not to optimize for fast installation.
17566 fast_install=$enable_fast_install
17569 host_alias=$host_alias
17573 # The build system.
17574 build_alias=$build_alias
17578 # A sed program that does not truncate output.
17581 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17582 Xsed="\$SED -e 1s/^X//"
17584 # A grep program that handles long lines.
17590 # A literal string matcher.
17593 # A BSD- or MS-compatible name lister.
17596 # Whether we need soft or hard links.
17599 # What is the maximum length of a command?
17600 max_cmd_len=$max_cmd_len
17602 # Object file suffix (normally "o").
17605 # Executable file suffix (normally "").
17608 # whether the shell understands "unset".
17611 # turn spaces into newlines.
17614 # turn newlines into spaces.
17617 # How to create reloadable object files.
17618 reload_flag=$lt_reload_flag
17619 reload_cmds=$lt_reload_cmds
17621 # An object symbol dumper.
17622 OBJDUMP=$lt_OBJDUMP
17624 # Method to check whether dependent libraries are shared objects.
17625 deplibs_check_method=$lt_deplibs_check_method
17627 # Command to use when deplibs_check_method == "file_magic".
17628 file_magic_cmd=$lt_file_magic_cmd
17632 AR_FLAGS=$lt_AR_FLAGS
17634 # A symbol stripping program.
17637 # Commands used to install an old-style archive.
17639 old_postinstall_cmds=$lt_old_postinstall_cmds
17640 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17645 # LTCC compiler flags.
17646 LTCFLAGS=$lt_CFLAGS
17648 # Take the output of nm and produce a listing of raw symbols and C names.
17649 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17651 # Transform the output of nm in a proper C declaration.
17652 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17654 # Transform the output of nm in a C name address pair.
17655 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17657 # Transform the output of nm in a C name address pair when lib prefix is needed.
17658 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17660 # The name of the directory that contains temporary libtool files.
17663 # Shell to use when invoking shell scripts.
17666 # An echo program that does not interpret backslashes.
17669 # Used to examine libraries when file_magic_cmd begins with "file".
17670 MAGIC_CMD=$MAGIC_CMD
17672 # Must we lock files when doing compilation?
17673 need_locks=$lt_need_locks
17675 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17676 DSYMUTIL=$lt_DSYMUTIL
17678 # Tool to change global to local symbols on Mac OS X.
17681 # Tool to manipulate fat objects and archives on Mac OS X.
17684 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17687 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17688 OTOOL64=$lt_OTOOL64
17690 # Old archive suffix (normally "a").
17693 # Shared library suffix (normally ".so").
17694 shrext_cmds=$lt_shrext_cmds
17696 # The commands to extract the exported symbol list from a shared archive.
17697 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17699 # Variables whose values should be saved in libtool wrapper scripts and
17700 # restored at link time.
17701 variables_saved_for_relink=$lt_variables_saved_for_relink
17703 # Do we need the "lib" prefix for modules?
17704 need_lib_prefix=$need_lib_prefix
17706 # Do we need a version for libraries?
17707 need_version=$need_version
17709 # Library versioning type.
17710 version_type=$version_type
17712 # Shared library runtime path variable.
17713 runpath_var=$runpath_var
17715 # Shared library path variable.
17716 shlibpath_var=$shlibpath_var
17718 # Is shlibpath searched before the hard-coded library search path?
17719 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17721 # Format of library name prefix.
17722 libname_spec=$lt_libname_spec
17724 # List of archive names. First name is the real one, the rest are links.
17725 # The last name is the one that the linker finds with -lNAME
17726 library_names_spec=$lt_library_names_spec
17728 # The coded name of the library, if different from the real name.
17729 soname_spec=$lt_soname_spec
17731 # Command to use after installation of a shared archive.
17732 postinstall_cmds=$lt_postinstall_cmds
17734 # Command to use after uninstallation of a shared archive.
17735 postuninstall_cmds=$lt_postuninstall_cmds
17737 # Commands used to finish a libtool library installation in a directory.
17738 finish_cmds=$lt_finish_cmds
17740 # As "finish_cmds", except a single script fragment to be evaled but
17742 finish_eval=$lt_finish_eval
17744 # Whether we should hardcode library paths into libraries.
17745 hardcode_into_libs=$hardcode_into_libs
17747 # Compile-time system search path for libraries.
17748 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17750 # Run-time system search path for libraries.
17751 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17753 # Whether dlopen is supported.
17754 dlopen_support=$enable_dlopen
17756 # Whether dlopen of programs is supported.
17757 dlopen_self=$enable_dlopen_self
17759 # Whether dlopen of statically linked programs is supported.
17760 dlopen_self_static=$enable_dlopen_self_static
17762 # Commands to strip libraries.
17763 old_striplib=$lt_old_striplib
17764 striplib=$lt_striplib
17767 # The linker used to build libraries.
17770 # Commands used to build an old-style archive.
17771 old_archive_cmds=$lt_old_archive_cmds
17773 # A language specific compiler.
17776 # Is the compiler the GNU compiler?
17779 # Compiler flag to turn off builtin functions.
17780 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17782 # How to pass a linker flag through the compiler.
17783 wl=$lt_lt_prog_compiler_wl
17785 # Additional compiler flags for building library objects.
17786 pic_flag=$lt_lt_prog_compiler_pic
17788 # Compiler flag to prevent dynamic linking.
17789 link_static_flag=$lt_lt_prog_compiler_static
17791 # Does compiler simultaneously support -c and -o options?
17792 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17794 # Whether or not to add -lc for building shared libraries.
17795 build_libtool_need_lc=$archive_cmds_need_lc
17797 # Whether or not to disallow shared libs when runtime libs are static.
17798 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17800 # Compiler flag to allow reflexive dlopens.
17801 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17803 # Compiler flag to generate shared objects directly from archives.
17804 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17806 # Whether the compiler copes with passing no objects directly.
17807 compiler_needs_object=$lt_compiler_needs_object
17809 # Create an old-style archive from a shared archive.
17810 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17812 # Create a temporary old-style archive to link instead of a shared archive.
17813 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17815 # Commands used to build a shared archive.
17816 archive_cmds=$lt_archive_cmds
17817 archive_expsym_cmds=$lt_archive_expsym_cmds
17819 # Commands used to build a loadable module if different from building
17820 # a shared archive.
17821 module_cmds=$lt_module_cmds
17822 module_expsym_cmds=$lt_module_expsym_cmds
17824 # Whether we are building with GNU ld or not.
17825 with_gnu_ld=$lt_with_gnu_ld
17827 # Flag that allows shared libraries with undefined symbols to be built.
17828 allow_undefined_flag=$lt_allow_undefined_flag
17830 # Flag that enforces no undefined symbols.
17831 no_undefined_flag=$lt_no_undefined_flag
17833 # Flag to hardcode \$libdir into a binary during linking.
17834 # This must work even if \$libdir does not exist
17835 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17837 # If ld is used when linking, flag to hardcode \$libdir into a binary
17838 # during linking. This must work even if \$libdir does not exist.
17839 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17841 # Whether we need a single "-rpath" flag with a separated argument.
17842 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17844 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17845 # DIR into the resulting binary.
17846 hardcode_direct=$hardcode_direct
17848 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17849 # DIR into the resulting binary and the resulting library dependency is
17850 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17851 # library is relocated.
17852 hardcode_direct_absolute=$hardcode_direct_absolute
17854 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17855 # into the resulting binary.
17856 hardcode_minus_L=$hardcode_minus_L
17858 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17859 # into the resulting binary.
17860 hardcode_shlibpath_var=$hardcode_shlibpath_var
17862 # Set to "yes" if building a shared library automatically hardcodes DIR
17863 # into the library and all subsequent libraries and executables linked
17865 hardcode_automatic=$hardcode_automatic
17867 # Set to yes if linker adds runtime paths of dependent libraries
17868 # to runtime path list.
17869 inherit_rpath=$inherit_rpath
17871 # Whether libtool must link a program against all its dependency libraries.
17872 link_all_deplibs=$link_all_deplibs
17874 # Fix the shell variable \$srcfile for the compiler.
17875 fix_srcfile_path=$lt_fix_srcfile_path
17877 # Set to "yes" if exported symbols are required.
17878 always_export_symbols=$always_export_symbols
17880 # The commands to list exported symbols.
17881 export_symbols_cmds=$lt_export_symbols_cmds
17883 # Symbols that should not be listed in the preloaded symbols.
17884 exclude_expsyms=$lt_exclude_expsyms
17886 # Symbols that must always be exported.
17887 include_expsyms=$lt_include_expsyms
17889 # Commands necessary for linking programs (against libraries) with templates.
17890 prelink_cmds=$lt_prelink_cmds
17892 # Specify filename containing input files.
17893 file_list_spec=$lt_file_list_spec
17895 # How to hardcode a shared library path into an executable.
17896 hardcode_action=$hardcode_action
17898 # The directories searched by this compiler when creating a shared library.
17899 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17901 # Dependencies to place before and after the objects being linked to
17902 # create a shared library.
17903 predep_objects=$lt_predep_objects
17904 postdep_objects=$lt_postdep_objects
17905 predeps=$lt_predeps
17906 postdeps=$lt_postdeps
17908 # The library search path used internally by the compiler when linking
17909 # a shared library.
17910 compiler_lib_search_path=$lt_compiler_lib_search_path
17912 # ### END LIBTOOL CONFIG
17918 cat <<\_LT_EOF
>> "$cfgfile"
17919 # AIX sometimes has problems with the GCC collect2 program. For some
17920 # reason, if we set the COLLECT_NAMES environment variable, the problems
17921 # vanish in a puff of smoke.
17922 if test "X${COLLECT_NAMES+set}" != Xset
; then
17924 export COLLECT_NAMES
17931 ltmain
="$ac_aux_dir/ltmain.sh"
17934 # We use sed instead of cat because bash on DJGPP gets confused if
17935 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17936 # text mode, it properly converts lines to CR/LF. This bash problem
17937 # is reportedly fixed, but why not run on old versions too?
17938 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17939 ||
(rm -f "$cfgfile"; exit 1)
17943 cat << \_LT_EOF
>> "$cfgfile"
17945 # func_dirname file append nondir_replacement
17946 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17947 # otherwise set result to NONDIR_REPLACEMENT.
17951 */*) func_dirname_result
="${1%/*}${2}" ;;
17952 * ) func_dirname_result
="${3}" ;;
17956 # func_basename file
17959 func_basename_result
="${1##*/}"
17962 # func_dirname_and_basename file append nondir_replacement
17963 # perform func_basename and func_dirname in a single function
17965 # dirname: Compute the dirname of FILE. If nonempty,
17966 # add APPEND to the result, otherwise set result
17967 # to NONDIR_REPLACEMENT.
17968 # value returned in "$func_dirname_result"
17969 # basename: Compute filename of FILE.
17970 # value retuned in "$func_basename_result"
17971 # Implementation must be kept synchronized with func_dirname
17972 # and func_basename. For efficiency, we do not delegate to
17973 # those functions but instead duplicate the functionality here.
17974 func_dirname_and_basename
()
17977 */*) func_dirname_result
="${1%/*}${2}" ;;
17978 * ) func_dirname_result
="${3}" ;;
17980 func_basename_result
="${1##*/}"
17983 # func_stripname prefix suffix name
17984 # strip PREFIX and SUFFIX off of NAME.
17985 # PREFIX and SUFFIX must not contain globbing or regex special
17986 # characters, hashes, percent signs, but SUFFIX may contain a leading
17987 # dot (in which case that matches only a dot).
17990 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17991 # positional parameters, so assign one to ordinary parameter first.
17992 func_stripname_result
=${3}
17993 func_stripname_result
=${func_stripname_result#"${1}"}
17994 func_stripname_result
=${func_stripname_result%"${2}"}
18000 func_opt_split_opt
=${1%%=*}
18001 func_opt_split_arg
=${1#*=}
18008 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
18009 *) func_lo2o_result
=${1} ;;
18013 # func_xform libobj-or-source
18016 func_xform_result
=${1%.*}.lo
18019 # func_arith arithmetic-term...
18022 func_arith_result
=$
(( $
* ))
18026 # STRING may not start with a hyphen.
18029 func_len_result
=${#1}
18034 *) # Bourne compatible functions.
18035 cat << \_LT_EOF
>> "$cfgfile"
18037 # func_dirname file append nondir_replacement
18038 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18039 # otherwise set result to NONDIR_REPLACEMENT.
18042 # Extract subdirectory from the argument.
18043 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
18044 if test "X$func_dirname_result" = "X${1}"; then
18045 func_dirname_result
="${3}"
18047 func_dirname_result
="$func_dirname_result${2}"
18051 # func_basename file
18054 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
18058 # func_stripname prefix suffix name
18059 # strip PREFIX and SUFFIX off of NAME.
18060 # PREFIX and SUFFIX must not contain globbing or regex special
18061 # characters, hashes, percent signs, but SUFFIX may contain a leading
18062 # dot (in which case that matches only a dot).
18063 # func_strip_suffix prefix name
18067 .
*) func_stripname_result
=`$ECHO "X${3}" \
18068 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18069 *) func_stripname_result
=`$ECHO "X${3}" \
18070 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
18075 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18076 my_sed_long_arg
='1s/^-[^=]*=//'
18081 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18082 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18088 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18091 # func_xform libobj-or-source
18094 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
18097 # func_arith arithmetic-term...
18100 func_arith_result
=`expr "$@"`
18104 # STRING may not start with a hyphen.
18107 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18113 case $lt_shell_append in
18115 cat << \_LT_EOF
>> "$cfgfile"
18117 # func_append var value
18118 # Append VALUE to the end of shell variable VAR.
18126 cat << \_LT_EOF
>> "$cfgfile"
18128 # func_append var value
18129 # Append VALUE to the end of shell variable VAR.
18140 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18141 ||
(rm -f "$cfgfile"; exit 1)
18143 mv -f "$cfgfile" "$ofile" ||
18144 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18148 cat <<_LT_EOF >> "$ofile"
18150 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18152 # The linker used to build libraries.
18155 # Commands used to build an old-style archive.
18156 old_archive_cmds=$lt_old_archive_cmds_CXX
18158 # A language specific compiler.
18159 CC=$lt_compiler_CXX
18161 # Is the compiler the GNU compiler?
18164 # Compiler flag to turn off builtin functions.
18165 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18167 # How to pass a linker flag through the compiler.
18168 wl=$lt_lt_prog_compiler_wl_CXX
18170 # Additional compiler flags for building library objects.
18171 pic_flag=$lt_lt_prog_compiler_pic_CXX
18173 # Compiler flag to prevent dynamic linking.
18174 link_static_flag=$lt_lt_prog_compiler_static_CXX
18176 # Does compiler simultaneously support -c and -o options?
18177 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18179 # Whether or not to add -lc for building shared libraries.
18180 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18182 # Whether or not to disallow shared libs when runtime libs are static.
18183 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18185 # Compiler flag to allow reflexive dlopens.
18186 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18188 # Compiler flag to generate shared objects directly from archives.
18189 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18191 # Whether the compiler copes with passing no objects directly.
18192 compiler_needs_object=$lt_compiler_needs_object_CXX
18194 # Create an old-style archive from a shared archive.
18195 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18197 # Create a temporary old-style archive to link instead of a shared archive.
18198 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18200 # Commands used to build a shared archive.
18201 archive_cmds=$lt_archive_cmds_CXX
18202 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18204 # Commands used to build a loadable module if different from building
18205 # a shared archive.
18206 module_cmds=$lt_module_cmds_CXX
18207 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18209 # Whether we are building with GNU ld or not.
18210 with_gnu_ld=$lt_with_gnu_ld_CXX
18212 # Flag that allows shared libraries with undefined symbols to be built.
18213 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18215 # Flag that enforces no undefined symbols.
18216 no_undefined_flag=$lt_no_undefined_flag_CXX
18218 # Flag to hardcode \$libdir into a binary during linking.
18219 # This must work even if \$libdir does not exist
18220 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18222 # If ld is used when linking, flag to hardcode \$libdir into a binary
18223 # during linking. This must work even if \$libdir does not exist.
18224 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18226 # Whether we need a single "-rpath" flag with a separated argument.
18227 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18229 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18230 # DIR into the resulting binary.
18231 hardcode_direct=$hardcode_direct_CXX
18233 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18234 # DIR into the resulting binary and the resulting library dependency is
18235 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18236 # library is relocated.
18237 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18239 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18240 # into the resulting binary.
18241 hardcode_minus_L=$hardcode_minus_L_CXX
18243 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18244 # into the resulting binary.
18245 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18247 # Set to "yes" if building a shared library automatically hardcodes DIR
18248 # into the library and all subsequent libraries and executables linked
18250 hardcode_automatic=$hardcode_automatic_CXX
18252 # Set to yes if linker adds runtime paths of dependent libraries
18253 # to runtime path list.
18254 inherit_rpath=$inherit_rpath_CXX
18256 # Whether libtool must link a program against all its dependency libraries.
18257 link_all_deplibs=$link_all_deplibs_CXX
18259 # Fix the shell variable \$srcfile for the compiler.
18260 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18262 # Set to "yes" if exported symbols are required.
18263 always_export_symbols=$always_export_symbols_CXX
18265 # The commands to list exported symbols.
18266 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18268 # Symbols that should not be listed in the preloaded symbols.
18269 exclude_expsyms=$lt_exclude_expsyms_CXX
18271 # Symbols that must always be exported.
18272 include_expsyms=$lt_include_expsyms_CXX
18274 # Commands necessary for linking programs (against libraries) with templates.
18275 prelink_cmds=$lt_prelink_cmds_CXX
18277 # Specify filename containing input files.
18278 file_list_spec=$lt_file_list_spec_CXX
18280 # How to hardcode a shared library path into an executable.
18281 hardcode_action=$hardcode_action_CXX
18283 # The directories searched by this compiler when creating a shared library.
18284 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18286 # Dependencies to place before and after the objects being linked to
18287 # create a shared library.
18288 predep_objects=$lt_predep_objects_CXX
18289 postdep_objects=$lt_postdep_objects_CXX
18290 predeps=$lt_predeps_CXX
18291 postdeps=$lt_postdeps_CXX
18293 # The library search path used internally by the compiler when linking
18294 # a shared library.
18295 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18297 # ### END LIBTOOL TAG CONFIG: CXX
18308 ac_clean_files
=$ac_clean_files_save
18310 test $ac_write_fail = 0 ||
18311 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18314 # configure is writing to config.log, and then calls config.status.
18315 # config.status does its own redirection, appending to config.log.
18316 # Unfortunately, on DOS this fails, as config.log is still kept open
18317 # by configure, so config.status won't be able to write to it; its
18318 # output is simply discarded. So we exec the FD to /dev/null,
18319 # effectively closing config.log, so it can be properly (re)opened and
18320 # appended to by config.status. When coming back to configure, we
18321 # need to make the FD available again.
18322 if test "$no_create" != yes; then
18324 ac_config_status_args
=
18325 test "$silent" = yes &&
18326 ac_config_status_args
="$ac_config_status_args --quiet"
18328 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18330 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18331 # would make configure fail if this is the last instruction.
18332 $ac_cs_success || as_fn_exit $?
18334 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18336 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}