2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for libcc1 version-unused.
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
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev
/null
; then :
186 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
191 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir
=.
198 for as_base
in sh bash ksh sh5
; do
199 # Try only shells that exist, to save several forks.
200 as_shell
=$as_dir/$as_base
201 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 CONFIG_SHELL
=$as_shell as_have_required
=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
212 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
214 CONFIG_SHELL
=$SHELL as_have_required
=yes
219 if test "x$CONFIG_SHELL" != x
; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x
$as_have_required = xno
; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x
${ZSH_VERSION+set} = xset
; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL
=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE
= GREP_OPTIONS
=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir
=.
/$as_dir;;
291 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
295 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs
="'$as_qdir' $as_dirs"
299 as_dir
=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
325 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
360 as_val
=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status
=$?
; test $as_status -eq 0 && as_status
=1
374 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit
$as_status
381 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
388 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
400 as_me
=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits
='0123456789'
424 as_cr_alnum
=$as_cr_Letters$as_cr_digits
427 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
428 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C
= ECHO_N
= ECHO_T
=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
471 rm -f conf$$ conf$$.exe conf$$.
file
472 if test -d conf$$.dir
; then
473 rm -f conf$$.dir
/conf$$.
file
476 mkdir conf$$.dir
2>/dev
/null
478 if (echo >conf$$.
file) 2>/dev
/null
; then
479 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
487 elif ln conf$$.
file conf$$
2>/dev
/null
; then
495 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
496 rmdir conf$$.dir
2>/dev
/null
498 if mkdir
-p .
2>/dev
/null
; then
499 as_mkdir_p
='mkdir -p "$as_dir"'
501 test -d .
/-p && rmdir .
/-p
505 if test -x / >/dev
/null
2>&1; then
508 if ls -dL / >/dev
/null
2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p
=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL
=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev
/null
6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
556 # Identity of this package.
557 PACKAGE_NAME
='libcc1'
558 PACKAGE_TARNAME
='libcc1'
559 PACKAGE_VERSION
='version-unused'
560 PACKAGE_STRING
='libcc1 version-unused'
564 ac_unique_file
="libcc1.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default
="\
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
578 # ifdef HAVE_STDLIB_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
601 ac_subst_vars
='am__EXEEXT_FALSE
635 MAINTAINER_MODE_FALSE
654 INSTALL_STRIP_PROGRAM
723 program_transform_name
736 enable_option_checking
738 enable_dependency_tracking
739 enable_maintainer_mode
748 ac_precious_vars
='build_alias
763 # Initialize some variables set by options.
765 ac_init_version
=false
766 ac_unrecognized_opts
=
768 # The variables have the same names as the options, with
769 # dashes changed to underlines.
777 program_transform_name
=s
,x
,x
,
785 # Installation directory options.
786 # These are left unexpanded so users can "make install exec_prefix=/foo"
787 # and all the variables that are supposed to be based on exec_prefix
788 # by default will actually change.
789 # Use braces instead of parens because sh, perl, etc. also accept them.
790 # (The list follows the same order as the GNU Coding Standards.)
791 bindir
='${exec_prefix}/bin'
792 sbindir
='${exec_prefix}/sbin'
793 libexecdir
='${exec_prefix}/libexec'
794 datarootdir
='${prefix}/share'
795 datadir
='${datarootdir}'
796 sysconfdir
='${prefix}/etc'
797 sharedstatedir
='${prefix}/com'
798 localstatedir
='${prefix}/var'
799 includedir
='${prefix}/include'
800 oldincludedir
='/usr/include'
801 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
802 infodir
='${datarootdir}/info'
807 libdir
='${exec_prefix}/lib'
808 localedir
='${datarootdir}/locale'
809 mandir
='${datarootdir}/man'
815 # If the previous option needs an argument, assign it.
816 if test -n "$ac_prev"; then
817 eval $ac_prev=\
$ac_option
823 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
827 # Accept the important Cygnus configure options, so we can diagnose typos.
829 case $ac_dashdash$ac_option in
833 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
835 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
838 -build |
--build |
--buil |
--bui |
--bu)
839 ac_prev
=build_alias
;;
840 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
841 build_alias
=$ac_optarg ;;
843 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
844 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
845 ac_prev
=cache_file
;;
846 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
847 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
848 cache_file
=$ac_optarg ;;
851 cache_file
=config.cache
;;
853 -datadir |
--datadir |
--datadi |
--datad)
855 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
856 datadir
=$ac_optarg ;;
858 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
859 |
--dataroo |
--dataro |
--datar)
860 ac_prev
=datarootdir
;;
861 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
862 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
863 datarootdir
=$ac_optarg ;;
865 -disable-* |
--disable-*)
866 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
867 # Reject names that are not valid shell variable names.
868 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
869 as_fn_error
"invalid feature name: $ac_useropt"
870 ac_useropt_orig
=$ac_useropt
871 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
872 case $ac_user_opts in
876 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
877 ac_unrecognized_sep
=', ';;
879 eval enable_
$ac_useropt=no
;;
881 -docdir |
--docdir |
--docdi |
--doc |
--do)
883 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
886 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
888 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
891 -enable-* |
--enable-*)
892 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
893 # Reject names that are not valid shell variable names.
894 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
895 as_fn_error
"invalid feature name: $ac_useropt"
896 ac_useropt_orig
=$ac_useropt
897 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
898 case $ac_user_opts in
902 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
903 ac_unrecognized_sep
=', ';;
905 eval enable_
$ac_useropt=\
$ac_optarg ;;
907 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
908 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
909 |
--exec |
--exe |
--ex)
910 ac_prev
=exec_prefix
;;
911 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
912 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
913 |
--exec=* |
--exe=* |
--ex=*)
914 exec_prefix
=$ac_optarg ;;
916 -gas |
--gas |
--ga |
--g)
917 # Obsolete; use --with-gas.
920 -help |
--help |
--hel |
--he |
-h)
922 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
923 ac_init_help
=recursive
;;
924 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
925 ac_init_help
=short
;;
927 -host |
--host |
--hos |
--ho)
928 ac_prev
=host_alias
;;
929 -host=* |
--host=* |
--hos=* |
--ho=*)
930 host_alias
=$ac_optarg ;;
932 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
934 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
936 htmldir
=$ac_optarg ;;
938 -includedir |
--includedir |
--includedi |
--included |
--include \
939 |
--includ |
--inclu |
--incl |
--inc)
940 ac_prev
=includedir
;;
941 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
942 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
943 includedir
=$ac_optarg ;;
945 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
947 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
948 infodir
=$ac_optarg ;;
950 -libdir |
--libdir |
--libdi |
--libd)
952 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
955 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
956 |
--libexe |
--libex |
--libe)
957 ac_prev
=libexecdir
;;
958 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
959 |
--libexe=* |
--libex=* |
--libe=*)
960 libexecdir
=$ac_optarg ;;
962 -localedir |
--localedir |
--localedi |
--localed |
--locale)
964 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
965 localedir
=$ac_optarg ;;
967 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
968 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
969 ac_prev
=localstatedir
;;
970 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
971 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
972 localstatedir
=$ac_optarg ;;
974 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
976 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
980 # Obsolete; use --without-fp.
983 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
984 |
--no-cr |
--no-c |
-n)
987 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
988 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
991 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
992 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
993 |
--oldin |
--oldi |
--old |
--ol |
--o)
994 ac_prev
=oldincludedir
;;
995 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
996 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
997 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
998 oldincludedir
=$ac_optarg ;;
1000 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1002 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1003 prefix
=$ac_optarg ;;
1005 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1006 |
--program-pre |
--program-pr |
--program-p)
1007 ac_prev
=program_prefix
;;
1008 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1009 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1010 program_prefix
=$ac_optarg ;;
1012 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1013 |
--program-suf |
--program-su |
--program-s)
1014 ac_prev
=program_suffix
;;
1015 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1016 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1017 program_suffix
=$ac_optarg ;;
1019 -program-transform-name |
--program-transform-name \
1020 |
--program-transform-nam |
--program-transform-na \
1021 |
--program-transform-n |
--program-transform- \
1022 |
--program-transform |
--program-transfor \
1023 |
--program-transfo |
--program-transf \
1024 |
--program-trans |
--program-tran \
1025 |
--progr-tra |
--program-tr |
--program-t)
1026 ac_prev
=program_transform_name
;;
1027 -program-transform-name=* |
--program-transform-name=* \
1028 |
--program-transform-nam=* |
--program-transform-na=* \
1029 |
--program-transform-n=* |
--program-transform-=* \
1030 |
--program-transform=* |
--program-transfor=* \
1031 |
--program-transfo=* |
--program-transf=* \
1032 |
--program-trans=* |
--program-tran=* \
1033 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1034 program_transform_name
=$ac_optarg ;;
1036 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1038 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1039 pdfdir
=$ac_optarg ;;
1041 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1043 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1046 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1047 |
-silent |
--silent |
--silen |
--sile |
--sil)
1050 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1052 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1054 sbindir
=$ac_optarg ;;
1056 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1057 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1058 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1060 ac_prev
=sharedstatedir
;;
1061 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1062 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1063 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1065 sharedstatedir
=$ac_optarg ;;
1067 -site |
--site |
--sit)
1069 -site=* |
--site=* |
--sit=*)
1072 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1074 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1075 srcdir
=$ac_optarg ;;
1077 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1078 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1079 ac_prev
=sysconfdir
;;
1080 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1081 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1082 sysconfdir
=$ac_optarg ;;
1084 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1085 ac_prev
=target_alias
;;
1086 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1087 target_alias
=$ac_optarg ;;
1089 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1092 -version |
--version |
--versio |
--versi |
--vers |
-V)
1093 ac_init_version
=: ;;
1096 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1097 # Reject names that are not valid shell variable names.
1098 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1099 as_fn_error
"invalid package name: $ac_useropt"
1100 ac_useropt_orig
=$ac_useropt
1101 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1102 case $ac_user_opts in
1106 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1107 ac_unrecognized_sep
=', ';;
1109 eval with_
$ac_useropt=\
$ac_optarg ;;
1111 -without-* |
--without-*)
1112 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1113 # Reject names that are not valid shell variable names.
1114 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1115 as_fn_error
"invalid package name: $ac_useropt"
1116 ac_useropt_orig
=$ac_useropt
1117 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1118 case $ac_user_opts in
1122 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1123 ac_unrecognized_sep
=', ';;
1125 eval with_
$ac_useropt=no
;;
1128 # Obsolete; use --with-x.
1131 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1132 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1133 ac_prev
=x_includes
;;
1134 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1135 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1136 x_includes
=$ac_optarg ;;
1138 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1139 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1140 ac_prev
=x_libraries
;;
1141 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1142 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1143 x_libraries
=$ac_optarg ;;
1145 -*) as_fn_error
"unrecognized option: \`$ac_option'
1146 Try \`$0 --help' for more information."
1150 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1151 # Reject names that are not valid shell variable names.
1152 case $ac_envvar in #(
1153 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1154 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1156 eval $ac_envvar=\
$ac_optarg
1157 export $ac_envvar ;;
1160 # FIXME: should be removed in autoconf 3.0.
1161 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1162 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1163 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1164 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1170 if test -n "$ac_prev"; then
1171 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1172 as_fn_error
"missing argument to $ac_option"
1175 if test -n "$ac_unrecognized_opts"; then
1176 case $enable_option_checking in
1178 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1179 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1183 # Check all directory arguments for consistency.
1184 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1185 datadir sysconfdir sharedstatedir localstatedir includedir \
1186 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1187 libdir localedir mandir
1189 eval ac_val
=\$
$ac_var
1190 # Remove trailing slashes.
1193 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1194 eval $ac_var=\
$ac_val;;
1196 # Be sure to have absolute directory names.
1198 [\\/$
]* | ?
:[\\/]* ) continue;;
1199 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1201 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1204 # There might be people who depend on the old broken behavior: `$host'
1205 # used to hold the argument of --host etc.
1206 # FIXME: To remove some day.
1209 target
=$target_alias
1211 # FIXME: To remove some day.
1212 if test "x$host_alias" != x
; then
1213 if test "x$build_alias" = x
; then
1214 cross_compiling
=maybe
1215 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1216 If a cross compiler is detected then cross compile mode will be used." >&2
1217 elif test "x$build_alias" != "x$host_alias"; then
1223 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1225 test "$silent" = yes && exec 6>/dev
/null
1228 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1229 ac_ls_di
=`ls -di .` &&
1230 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1231 as_fn_error
"working directory cannot be determined"
1232 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1233 as_fn_error
"pwd does not report name of working directory"
1236 # Find the source files, if location was not specified.
1237 if test -z "$srcdir"; then
1238 ac_srcdir_defaulted
=yes
1239 # Try the directory containing this script, then the parent directory.
1240 ac_confdir
=`$as_dirname -- "$as_myself" ||
1241 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1242 X"$as_myself" : 'X\(//\)[^/]' \| \
1243 X"$as_myself" : 'X\(//\)$' \| \
1244 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1245 $as_echo X"$as_myself" |
1246 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1264 if test ! -r "$srcdir/$ac_unique_file"; then
1268 ac_srcdir_defaulted
=no
1270 if test ! -r "$srcdir/$ac_unique_file"; then
1271 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1272 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1274 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1276 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1278 # When building in place, set srcdir=.
1279 if test "$ac_abs_confdir" = "$ac_pwd"; then
1282 # Remove unnecessary trailing slashes from srcdir.
1283 # Double slashes in file names in object file debugging info
1284 # mess up M-x gdb in Emacs.
1286 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1288 for ac_var
in $ac_precious_vars; do
1289 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1290 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1291 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1292 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1296 # Report the --help message.
1298 if test "$ac_init_help" = "long"; then
1299 # Omit some internal or obsolete options to make the list less imposing.
1300 # This message is too long to be a string in the A/UX 3.1 sh.
1302 \`configure' configures libcc1 version-unused to adapt to many kinds of systems.
1304 Usage: $0 [OPTION]... [VAR=VALUE]...
1306 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1307 VAR=VALUE. See below for descriptions of some of the useful variables.
1309 Defaults for the options are specified in brackets.
1312 -h, --help display this help and exit
1313 --help=short display options specific to this package
1314 --help=recursive display the short help of all the included packages
1315 -V, --version display version information and exit
1316 -q, --quiet, --silent do not print \`checking...' messages
1317 --cache-file=FILE cache test results in FILE [disabled]
1318 -C, --config-cache alias for \`--cache-file=config.cache'
1319 -n, --no-create do not create output files
1320 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1322 Installation directories:
1323 --prefix=PREFIX install architecture-independent files in PREFIX
1324 [$ac_default_prefix]
1325 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1328 By default, \`make install' will install all the files in
1329 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1330 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1331 for instance \`--prefix=\$HOME'.
1333 For better control, use the options below.
1335 Fine tuning of the installation directories:
1336 --bindir=DIR user executables [EPREFIX/bin]
1337 --sbindir=DIR system admin executables [EPREFIX/sbin]
1338 --libexecdir=DIR program executables [EPREFIX/libexec]
1339 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1340 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1341 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1342 --libdir=DIR object code libraries [EPREFIX/lib]
1343 --includedir=DIR C header files [PREFIX/include]
1344 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1345 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1346 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1347 --infodir=DIR info documentation [DATAROOTDIR/info]
1348 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1349 --mandir=DIR man documentation [DATAROOTDIR/man]
1350 --docdir=DIR documentation root [DATAROOTDIR/doc/libcc1]
1351 --htmldir=DIR html documentation [DOCDIR]
1352 --dvidir=DIR dvi documentation [DOCDIR]
1353 --pdfdir=DIR pdf documentation [DOCDIR]
1354 --psdir=DIR ps documentation [DOCDIR]
1360 --program-prefix=PREFIX prepend PREFIX to installed program names
1361 --program-suffix=SUFFIX append SUFFIX to installed program names
1362 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1365 --build=BUILD configure
for building on BUILD
[guessed
]
1366 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1367 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1371 if test -n "$ac_init_help"; then
1372 case $ac_init_help in
1373 short | recursive
) echo "Configuration of libcc1 version-unused:";;
1378 --disable-option-checking ignore unrecognized
--enable/--with options
1379 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1380 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1381 --disable-dependency-tracking speeds up one-time build
1382 --enable-dependency-tracking do not reject slow dependency extractors
1383 --enable-maintainer-mode enable make rules and dependencies not useful
1384 (and sometimes confusing
) to the casual installer
1385 --enable-static[=PKGS
] build static libraries
[default
=no
]
1386 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1387 --enable-fast-install[=PKGS
]
1388 optimize
for fast installation
[default
=yes]
1389 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1390 --enable-plugin enable plugin support
1393 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1394 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1395 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1396 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1398 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1400 Some influential environment variables
:
1401 CC C compiler
command
1402 CFLAGS C compiler flags
1403 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1404 nonstandard directory
<lib dir
>
1405 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1406 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1407 you have headers
in a nonstandard directory
<include dir
>
1409 CXX C
++ compiler
command
1410 CXXFLAGS C
++ compiler flags
1411 CXXCPP C
++ preprocessor
1413 Use these variables to override the choices made by
`configure' or to help
1414 it to find libraries and programs with nonstandard names/locations.
1416 Report bugs to the package provider.
1421 if test "$ac_init_help" = "recursive"; then
1422 # If there are subdirs, report their specific --help.
1423 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1424 test -d "$ac_dir" ||
1425 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1430 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1432 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1433 # A ".." for each directory in $ac_dir_suffix.
1434 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1435 case $ac_top_builddir_sub in
1436 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1437 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1440 ac_abs_top_builddir=$ac_pwd
1441 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1442 # for backward compatibility:
1443 ac_top_builddir=$ac_top_build_prefix
1446 .) # We are building in place.
1448 ac_top_srcdir=$ac_top_builddir_sub
1449 ac_abs_top_srcdir=$ac_pwd ;;
1450 [\\/]* | ?:[\\/]* ) # Absolute name.
1451 ac_srcdir=$srcdir$ac_dir_suffix;
1452 ac_top_srcdir=$srcdir
1453 ac_abs_top_srcdir=$srcdir ;;
1455 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1456 ac_top_srcdir=$ac_top_build_prefix$srcdir
1457 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1459 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1461 cd "$ac_dir" || { ac_status=$?; continue; }
1462 # Check for guested configure.
1463 if test -f "$ac_srcdir/configure.gnu"; then
1465 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1466 elif test -f "$ac_srcdir/configure"; then
1468 $SHELL "$ac_srcdir/configure" --help=recursive
1470 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1472 cd "$ac_pwd" || { ac_status=$?; break; }
1476 test -n "$ac_init_help" && exit $ac_status
1477 if $ac_init_version; then
1479 libcc1 configure version-unused
1480 generated by GNU Autoconf 2.64
1482 Copyright (C) 2009 Free Software Foundation, Inc.
1483 This configure script is free software; the Free Software Foundation
1484 gives unlimited permission to copy, distribute and modify it.
1489 ## ------------------------ ##
1490 ## Autoconf initialization. ##
1491 ## ------------------------ ##
1493 # ac_fn_c_try_compile LINENO
1494 # --------------------------
1495 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1496 ac_fn_c_try_compile ()
1498 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1499 rm -f conftest.$ac_objext
1500 if { { ac_try="$ac_compile"
1502 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1503 *) ac_try_echo
=$ac_try;;
1505 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1506 $as_echo "$ac_try_echo"; } >&5
1507 (eval "$ac_compile") 2>conftest.err
1509 if test -s conftest.err
; then
1510 grep -v '^ *+' conftest.err
>conftest.er1
1511 cat conftest.er1
>&5
1512 mv -f conftest.er1 conftest.err
1514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1515 test $ac_status = 0; } && {
1516 test -z "$ac_c_werror_flag" ||
1517 test ! -s conftest.err
1518 } && test -s conftest.
$ac_objext; then :
1521 $as_echo "$as_me: failed program was:" >&5
1522 sed 's/^/| /' conftest.
$ac_ext >&5
1526 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1529 } # ac_fn_c_try_compile
1531 # ac_fn_c_try_cpp LINENO
1532 # ----------------------
1533 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1536 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1537 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1539 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1540 *) ac_try_echo=$ac_try;;
1542 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1543 $as_echo "$ac_try_echo"; } >&5
1544 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1546 if test -s conftest.err; then
1547 grep -v '^ *+' conftest.err >conftest.er1
1548 cat conftest.er1 >&5
1549 mv -f conftest.er1 conftest.err
1551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1552 test $ac_status = 0; } >/dev/null && {
1553 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1554 test ! -s conftest.err
1558 $as_echo "$as_me: failed program was:" >&5
1559 sed 's/^/| /' conftest.$ac_ext >&5
1563 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1568 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1569 # -------------------------------------------------------
1570 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1571 # the include files in INCLUDES and setting the cache variable VAR
1573 ac_fn_c_check_header_mongrel ()
1575 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1576 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1578 $as_echo_n "checking for $2... " >&6; }
1579 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1580 $as_echo_n "(cached) " >&6
1583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1584 $as_echo "$ac_res" >&6; }
1586 # Is the header compilable?
1587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1588 $as_echo_n "checking $2 usability... " >&6; }
1589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1590 /* end confdefs.h. */
1594 if ac_fn_c_try_compile "$LINENO"; then :
1595 ac_header_compiler=yes
1597 ac_header_compiler=no
1599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1601 $as_echo "$ac_header_compiler" >&6; }
1603 # Is the header present?
1604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1605 $as_echo_n "checking $2 presence... " >&6; }
1606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1607 /* end confdefs.h. */
1610 if ac_fn_c_try_cpp "$LINENO"; then :
1611 ac_header_preproc=yes
1613 ac_header_preproc=no
1615 rm -f conftest.err conftest.$ac_ext
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1617 $as_echo "$ac_header_preproc" >&6; }
1619 # So? What about this header?
1620 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1623 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1625 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1629 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1631 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1633 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1635 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1637 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1641 $as_echo_n "checking for $2... " >&6; }
1642 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1643 $as_echo_n "(cached) " >&6
1645 eval "$3=\$ac_header_compiler"
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1649 $as_echo "$ac_res" >&6; }
1651 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1653 } # ac_fn_c_check_header_mongrel
1655 # ac_fn_c_try_run LINENO
1656 # ----------------------
1657 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1658 # that executables *can* be run.
1661 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1662 if { { ac_try="$ac_link"
1664 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1665 *) ac_try_echo
=$ac_try;;
1667 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1668 $as_echo "$ac_try_echo"; } >&5
1669 (eval "$ac_link") 2>&5
1671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1672 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1673 { { case "(($ac_try" in
1674 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1675 *) ac_try_echo=$ac_try;;
1677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1678 $as_echo "$ac_try_echo"; } >&5
1679 (eval "$ac_try") 2>&5
1681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1682 test $ac_status = 0; }; }; then :
1685 $as_echo "$as_me: program exited with status $ac_status" >&5
1686 $as_echo "$as_me: failed program was:" >&5
1687 sed 's/^/| /' conftest.$ac_ext >&5
1689 ac_retval=$ac_status
1691 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1692 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1697 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1698 # -------------------------------------------------------
1699 # Tests whether HEADER exists and can be compiled using the include files in
1700 # INCLUDES, setting the cache variable VAR accordingly.
1701 ac_fn_c_check_header_compile ()
1703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1705 $as_echo_n "checking for $2... " >&6; }
1706 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1707 $as_echo_n "(cached) " >&6
1709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1710 /* end confdefs.h. */
1714 if ac_fn_c_try_compile "$LINENO"; then :
1719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1723 $as_echo "$ac_res" >&6; }
1724 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1726 } # ac_fn_c_check_header_compile
1728 # ac_fn_c_try_link LINENO
1729 # -----------------------
1730 # Try to link conftest.$ac_ext, and return whether this succeeded.
1733 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1734 rm -f conftest.$ac_objext conftest$ac_exeext
1735 if { { ac_try="$ac_link"
1737 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1738 *) ac_try_echo
=$ac_try;;
1740 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1741 $as_echo "$ac_try_echo"; } >&5
1742 (eval "$ac_link") 2>conftest.err
1744 if test -s conftest.err
; then
1745 grep -v '^ *+' conftest.err
>conftest.er1
1746 cat conftest.er1
>&5
1747 mv -f conftest.er1 conftest.err
1749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1750 test $ac_status = 0; } && {
1751 test -z "$ac_c_werror_flag" ||
1752 test ! -s conftest.err
1753 } && test -s conftest
$ac_exeext && {
1754 test "$cross_compiling" = yes ||
1755 $as_test_x conftest
$ac_exeext
1759 $as_echo "$as_me: failed program was:" >&5
1760 sed 's/^/| /' conftest.
$ac_ext >&5
1764 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1765 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1766 # interfere with the next link command; also delete a directory that is
1767 # left behind by Apple's compiler. We do this before executing the actions.
1768 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1769 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1772 } # ac_fn_c_try_link
1774 # ac_fn_c_check_func LINENO FUNC VAR
1775 # ----------------------------------
1776 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1777 ac_fn_c_check_func
()
1779 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1781 $as_echo_n "checking for $2... " >&6; }
1782 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1783 $as_echo_n "(cached) " >&6
1785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1786 /* end confdefs.h. */
1787 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1789 #define $2 innocuous_$2
1791 /* System header to define __stub macros and hopefully few prototypes,
1792 which can conflict with char $2 (); below.
1793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1794 <limits.h> exists even on freestanding compilers. */
1797 # include <limits.h>
1799 # include <assert.h>
1804 /* Override any GCC internal prototype to avoid an error.
1805 Use char because int might match the return type of a GCC
1806 builtin and then its argument prototype would still apply. */
1811 /* The GNU C library defines this for functions which it implements
1812 to always fail with ENOSYS. Some functions are actually named
1813 something starting with __ and the normal name is an alias. */
1814 #if defined __stub_$2 || defined __stub___$2
1826 if ac_fn_c_try_link
"$LINENO"; then :
1831 rm -f core conftest.err conftest.
$ac_objext \
1832 conftest
$ac_exeext conftest.
$ac_ext
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1836 $as_echo "$ac_res" >&6; }
1837 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1839 } # ac_fn_c_check_func
1841 # ac_fn_cxx_try_compile LINENO
1842 # ----------------------------
1843 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1844 ac_fn_cxx_try_compile
()
1846 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1847 rm -f conftest.
$ac_objext
1848 if { { ac_try
="$ac_compile"
1850 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1851 *) ac_try_echo=$ac_try;;
1853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1854 $as_echo "$ac_try_echo"; } >&5
1855 (eval "$ac_compile") 2>conftest.err
1857 if test -s conftest.err; then
1858 grep -v '^ *+' conftest.err >conftest.er1
1859 cat conftest.er1 >&5
1860 mv -f conftest.er1 conftest.err
1862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1863 test $ac_status = 0; } && {
1864 test -z "$ac_cxx_werror_flag" ||
1865 test ! -s conftest.err
1866 } && test -s conftest.$ac_objext; then :
1869 $as_echo "$as_me: failed program was:" >&5
1870 sed 's/^/| /' conftest.$ac_ext >&5
1874 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1877 } # ac_fn_cxx_try_compile
1879 # ac_fn_cxx_try_cpp LINENO
1880 # ------------------------
1881 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1882 ac_fn_cxx_try_cpp ()
1884 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1885 if { { ac_try="$ac_cpp conftest.$ac_ext"
1887 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1888 *) ac_try_echo
=$ac_try;;
1890 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1891 $as_echo "$ac_try_echo"; } >&5
1892 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1894 if test -s conftest.err
; then
1895 grep -v '^ *+' conftest.err
>conftest.er1
1896 cat conftest.er1
>&5
1897 mv -f conftest.er1 conftest.err
1899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1900 test $ac_status = 0; } >/dev
/null
&& {
1901 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1902 test ! -s conftest.err
1906 $as_echo "$as_me: failed program was:" >&5
1907 sed 's/^/| /' conftest.
$ac_ext >&5
1911 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1914 } # ac_fn_cxx_try_cpp
1916 # ac_fn_cxx_try_link LINENO
1917 # -------------------------
1918 # Try to link conftest.$ac_ext, and return whether this succeeded.
1919 ac_fn_cxx_try_link
()
1921 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1922 rm -f conftest.
$ac_objext conftest
$ac_exeext
1923 if { { ac_try
="$ac_link"
1925 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1926 *) ac_try_echo=$ac_try;;
1928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1929 $as_echo "$ac_try_echo"; } >&5
1930 (eval "$ac_link") 2>conftest.err
1932 if test -s conftest.err; then
1933 grep -v '^ *+' conftest.err >conftest.er1
1934 cat conftest.er1 >&5
1935 mv -f conftest.er1 conftest.err
1937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1938 test $ac_status = 0; } && {
1939 test -z "$ac_cxx_werror_flag" ||
1940 test ! -s conftest.err
1941 } && test -s conftest$ac_exeext && {
1942 test "$cross_compiling" = yes ||
1943 $as_test_x conftest$ac_exeext
1947 $as_echo "$as_me: failed program was:" >&5
1948 sed 's/^/| /' conftest.$ac_ext >&5
1952 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1953 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1954 # interfere with the next link command; also delete a directory that is
1955 # left behind by Apple's compiler. We do this before executing the actions.
1956 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1957 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1960 } # ac_fn_cxx_try_link
1962 # ac_fn_c_check_decl LINENO SYMBOL VAR
1963 # ------------------------------------
1964 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1965 ac_fn_c_check_decl ()
1967 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1968 as_decl_name=`echo $2|
sed 's/ *(.*//'`
1969 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1971 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1972 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1973 $as_echo_n "(cached) " >&6
1975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1976 /* end confdefs.h. */
1981 #ifndef $as_decl_name
1983 (void) $as_decl_use;
1985 (void) $as_decl_name;
1993 if ac_fn_c_try_compile "$LINENO"; then :
1998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2002 $as_echo "$ac_res" >&6; }
2003 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2005 } # ac_fn_c_check_decl
2006 cat >config.log <<_ACEOF
2007 This file contains any messages produced by compilers while
2008 running configure, to aid debugging if configure makes a mistake.
2010 It was created by libcc1 $as_me version-unused, which was
2011 generated by GNU Autoconf 2.64. Invocation command line was
2023 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2024 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2025 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2026 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2027 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2029 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2030 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2032 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2033 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2034 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2035 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2036 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2037 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2038 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2046 test -z "$as_dir" && as_dir=.
2047 $as_echo "PATH: $as_dir"
2063 # Keep a trace of the command line.
2064 # Strip out --no-create and --no-recursion so they do not pile up.
2065 # Strip out --silent because we don't want to record it for future runs.
2066 # Also quote any args containing shell meta-characters.
2067 # Make two passes to allow for proper duplicate-argument suppression.
2071 ac_must_keep_next=false
2077 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2078 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2079 | -silent | --silent | --silen | --sile | --sil)
2082 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2085 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2087 as_fn_append ac_configure_args1 " '$ac_arg'"
2088 if test $ac_must_keep_next = true; then
2089 ac_must_keep_next=false # Got value, back to normal.
2092 *=* | --config-cache | -C | -disable-* | --disable-* \
2093 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2094 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2095 | -with-* | --with-* | -without-* | --without-* | --x)
2096 case "$ac_configure_args0 " in
2097 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2100 -* ) ac_must_keep_next=true ;;
2103 as_fn_append ac_configure_args " '$ac_arg'"
2108 { ac_configure_args0=; unset ac_configure_args0;}
2109 { ac_configure_args1=; unset ac_configure_args1;}
2111 # When interrupted or exit'd, cleanup temporary files, and complete
2112 # config.log. We remove comments because anyway the quotes in there
2113 # would cause problems or look ugly.
2114 # WARNING: Use '\'' to represent an apostrophe within the trap.
2115 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2116 trap 'exit_status=$?
2117 # Save into config.log some information that might help in debugging.
2122 ## ---------------- ##
2123 ## Cache variables. ##
2124 ## ---------------- ##
2127 # The following way of writing the cache mishandles newlines in values,
2129 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2130 eval ac_val=\$$ac_var
2134 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2135 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2138 _ | IFS | as_nl) ;; #(
2139 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2140 *) { eval $ac_var=; unset $ac_var;} ;;
2145 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2146 *${as_nl}ac_space=\ *)
2148 "s/'\''/'\''\\\\'\'''\''/g;
2149 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2152 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2160 ## ----------------- ##
2161 ## Output variables. ##
2162 ## ----------------- ##
2165 for ac_var in $ac_subst_vars
2167 eval ac_val=\$$ac_var
2169 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2171 $as_echo "$ac_var='\''$ac_val'\''"
2175 if test -n "$ac_subst_files"; then
2177 ## ------------------- ##
2178 ## File substitutions. ##
2179 ## ------------------- ##
2182 for ac_var in $ac_subst_files
2184 eval ac_val=\$$ac_var
2186 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2188 $as_echo "$ac_var='\''$ac_val'\''"
2193 if test -s confdefs.h; then
2203 test "$ac_signal" != 0 &&
2204 $as_echo "$as_me: caught signal $ac_signal"
2205 $as_echo "$as_me: exit $exit_status"
2207 rm -f core *.core core.conftest.* &&
2208 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2211 for ac_signal in 1 2 13 15; do
2212 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2216 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2217 rm -f -r conftest* confdefs.h
2219 $as_echo "/* confdefs.h */" > confdefs.h
2221 # Predefined preprocessor variables.
2223 cat >>confdefs.h <<_ACEOF
2224 #define PACKAGE_NAME "$PACKAGE_NAME"
2227 cat >>confdefs.h <<_ACEOF
2228 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2231 cat >>confdefs.h <<_ACEOF
2232 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2235 cat >>confdefs.h <<_ACEOF
2236 #define PACKAGE_STRING "$PACKAGE_STRING"
2239 cat >>confdefs.h <<_ACEOF
2240 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2243 cat >>confdefs.h <<_ACEOF
2244 #define PACKAGE_URL "$PACKAGE_URL"
2248 # Let the site file select an alternate cache file if it wants to.
2249 # Prefer an explicitly selected file to automatically selected ones.
2252 if test -n "$CONFIG_SITE"; then
2253 ac_site_file1=$CONFIG_SITE
2254 elif test "x$prefix" != xNONE; then
2255 ac_site_file1=$prefix/share/config.site
2256 ac_site_file2=$prefix/etc/config.site
2258 ac_site_file1=$ac_default_prefix/share/config.site
2259 ac_site_file2=$ac_default_prefix/etc/config.site
2261 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2263 test "x$ac_site_file" = xNONE && continue
2264 if test -r "$ac_site_file"; then
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2266 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2267 sed 's/^/| /' "$ac_site_file" >&5
2272 if test -r "$cache_file"; then
2273 # Some versions of bash will fail to source /dev/null (special
2274 # files actually), so we avoid doing that.
2275 if test -f "$cache_file"; then
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2277 $as_echo "$as_me: loading cache $cache_file" >&6;}
2279 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2280 *) . "./$cache_file";;
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2285 $as_echo "$as_me: creating cache $cache_file" >&6;}
2289 # Check that the precious variables saved in the cache have kept the same
2291 ac_cache_corrupted=false
2292 for ac_var in $ac_precious_vars; do
2293 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2294 eval ac_new_set=\$ac_env_${ac_var}_set
2295 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2296 eval ac_new_val=\$ac_env_${ac_var}_value
2297 case $ac_old_set,$ac_new_set in
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2300 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2301 ac_cache_corrupted=: ;;
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2304 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2305 ac_cache_corrupted=: ;;
2308 if test "x$ac_old_val" != "x$ac_new_val"; then
2309 # differences in whitespace do not lead to failure.
2310 ac_old_val_w=`echo x
$ac_old_val`
2311 ac_new_val_w=`echo x
$ac_new_val`
2312 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2314 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2315 ac_cache_corrupted=:
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2318 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2319 eval $ac_var=\$ac_old_val
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2322 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2324 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2327 # Pass precious variables to config.status.
2328 if test "$ac_new_set" = set; then
2330 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2331 *) ac_arg=$ac_var=$ac_new_val ;;
2333 case " $ac_configure_args " in
2334 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2335 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2339 if $ac_cache_corrupted; then
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2341 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2343 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2344 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2346 ## -------------------- ##
2347 ## Main body of script. ##
2348 ## -------------------- ##
2351 ac_cpp='$CPP $CPPFLAGS'
2352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2361 ac_config_headers="$ac_config_headers cc1plugin-config.h"
2365 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2366 for ac_t in install-sh install.sh shtool; do
2367 if test -f "$ac_dir/$ac_t"; then
2369 ac_install_sh="$ac_aux_dir/$ac_t -c"
2374 if test -z "$ac_aux_dir"; then
2375 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2378 # These three variables are undocumented and unsupported,
2379 # and are intended to be withdrawn in a future Autoconf release.
2380 # They can cause serious problems if a builder's source tree is in a directory
2381 # whose full name contains unusual characters.
2382 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2383 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2384 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2387 # Make sure we can run config.sub.
2388 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2389 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2392 $as_echo_n "checking build system type... " >&6; }
2393 if test "${ac_cv_build+set}" = set; then :
2394 $as_echo_n "(cached) " >&6
2396 ac_build_alias=$build_alias
2397 test "x$ac_build_alias" = x &&
2398 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2399 test "x$ac_build_alias" = x &&
2400 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2401 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2402 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2406 $as_echo "$ac_cv_build" >&6; }
2407 case $ac_cv_build in
2409 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2412 ac_save_IFS=$IFS; IFS='-'
2418 # Remember, the first character of IFS is used to create $*,
2419 # except with old shells:
2422 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2426 $as_echo_n "checking host system type... " >&6; }
2427 if test "${ac_cv_host+set}" = set; then :
2428 $as_echo_n "(cached) " >&6
2430 if test "x$host_alias" = x; then
2431 ac_cv_host=$ac_cv_build
2433 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2434 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2439 $as_echo "$ac_cv_host" >&6; }
2442 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2445 ac_save_IFS=$IFS; IFS='-'
2451 # Remember, the first character of IFS is used to create $*,
2452 # except with old shells:
2455 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2459 $as_echo_n "checking target system type... " >&6; }
2460 if test "${ac_cv_target+set}" = set; then :
2461 $as_echo_n "(cached) " >&6
2463 if test "x$target_alias" = x; then
2464 ac_cv_target=$ac_cv_host
2466 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2467 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2472 $as_echo "$ac_cv_target" >&6; }
2473 case $ac_cv_target in
2475 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2477 target=$ac_cv_target
2478 ac_save_IFS=$IFS; IFS='-'
2484 # Remember, the first character of IFS is used to create $*,
2485 # except with old shells:
2488 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2491 # The aliases save the names the user supplied, while $host etc.
2492 # will get canonicalized.
2493 test -n "$target_alias" &&
2494 test "$program_prefix$program_suffix$program_transform_name" = \
2496 program_prefix=${target_alias}-
2499 ac_cpp='$CPP $CPPFLAGS'
2500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2503 if test -n "$ac_tool_prefix"; then
2504 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2505 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2507 $as_echo_n "checking for $ac_word... " >&6; }
2508 if test "${ac_cv_prog_CC+set}" = set; then :
2509 $as_echo_n "(cached) " >&6
2511 if test -n "$CC"; then
2512 ac_cv_prog_CC="$CC" # Let the user override the test.
2514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2518 test -z "$as_dir" && as_dir=.
2519 for ac_exec_ext in '' $ac_executable_extensions; do
2520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2521 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2532 if test -n "$CC"; then
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2534 $as_echo "$CC" >&6; }
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2537 $as_echo "no" >&6; }
2542 if test -z "$ac_cv_prog_CC"; then
2544 # Extract the first word of "gcc", so it can be a program name with args.
2545 set dummy gcc; ac_word=$2
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2547 $as_echo_n "checking for $ac_word... " >&6; }
2548 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2549 $as_echo_n "(cached) " >&6
2551 if test -n "$ac_ct_CC"; then
2552 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2558 test -z "$as_dir" && as_dir=.
2559 for ac_exec_ext in '' $ac_executable_extensions; do
2560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2561 ac_cv_prog_ac_ct_CC="gcc"
2562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2571 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2572 if test -n "$ac_ct_CC"; then
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2574 $as_echo "$ac_ct_CC" >&6; }
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2577 $as_echo "no" >&6; }
2580 if test "x$ac_ct_CC" = x; then
2583 case $cross_compiling:$ac_tool_warned in
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2587 ac_tool_warned=yes ;;
2595 if test -z "$CC"; then
2596 if test -n "$ac_tool_prefix"; then
2597 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2598 set dummy ${ac_tool_prefix}cc; ac_word=$2
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2600 $as_echo_n "checking for $ac_word... " >&6; }
2601 if test "${ac_cv_prog_CC+set}" = set; then :
2602 $as_echo_n "(cached) " >&6
2604 if test -n "$CC"; then
2605 ac_cv_prog_CC="$CC" # Let the user override the test.
2607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2611 test -z "$as_dir" && as_dir=.
2612 for ac_exec_ext in '' $ac_executable_extensions; do
2613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2614 ac_cv_prog_CC="${ac_tool_prefix}cc"
2615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2625 if test -n "$CC"; then
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2627 $as_echo "$CC" >&6; }
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2630 $as_echo "no" >&6; }
2636 if test -z "$CC"; then
2637 # Extract the first word of "cc", so it can be a program name with args.
2638 set dummy cc; ac_word=$2
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2640 $as_echo_n "checking for $ac_word... " >&6; }
2641 if test "${ac_cv_prog_CC+set}" = set; then :
2642 $as_echo_n "(cached) " >&6
2644 if test -n "$CC"; then
2645 ac_cv_prog_CC="$CC" # Let the user override the test.
2648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2652 test -z "$as_dir" && as_dir=.
2653 for ac_exec_ext in '' $ac_executable_extensions; do
2654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2655 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2656 ac_prog_rejected=yes
2660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2667 if test $ac_prog_rejected = yes; then
2668 # We found a bogon in the path, so make sure we never use it.
2669 set dummy $ac_cv_prog_CC
2671 if test $# != 0; then
2672 # We chose a different compiler from the bogus one.
2673 # However, it has the same basename, so the bogon will be chosen
2674 # first if we set CC to just the basename; use the full file name.
2676 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2682 if test -n "$CC"; then
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2684 $as_echo "$CC" >&6; }
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2687 $as_echo "no" >&6; }
2692 if test -z "$CC"; then
2693 if test -n "$ac_tool_prefix"; then
2694 for ac_prog in cl.exe
2696 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2697 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2699 $as_echo_n "checking for $ac_word... " >&6; }
2700 if test "${ac_cv_prog_CC+set}" = set; then :
2701 $as_echo_n "(cached) " >&6
2703 if test -n "$CC"; then
2704 ac_cv_prog_CC="$CC" # Let the user override the test.
2706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2710 test -z "$as_dir" && as_dir=.
2711 for ac_exec_ext in '' $ac_executable_extensions; do
2712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2713 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2724 if test -n "$CC"; then
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2726 $as_echo "$CC" >&6; }
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2729 $as_echo "no" >&6; }
2733 test -n "$CC" && break
2736 if test -z "$CC"; then
2738 for ac_prog in cl.exe
2740 # Extract the first word of "$ac_prog", so it can be a program name with args.
2741 set dummy $ac_prog; ac_word=$2
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2743 $as_echo_n "checking for $ac_word... " >&6; }
2744 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2745 $as_echo_n "(cached) " >&6
2747 if test -n "$ac_ct_CC"; then
2748 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2754 test -z "$as_dir" && as_dir=.
2755 for ac_exec_ext in '' $ac_executable_extensions; do
2756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2757 ac_cv_prog_ac_ct_CC="$ac_prog"
2758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2767 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2768 if test -n "$ac_ct_CC"; then
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2770 $as_echo "$ac_ct_CC" >&6; }
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2773 $as_echo "no" >&6; }
2777 test -n "$ac_ct_CC" && break
2780 if test "x$ac_ct_CC" = x; then
2783 case $cross_compiling:$ac_tool_warned in
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2787 ac_tool_warned=yes ;;
2796 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2798 as_fn_error "no acceptable C compiler found
in \
$PATH
2799 See \
`config.log' for more details." "$LINENO" 5; }
2801 # Provide some information about the compiler.
2802 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2805 for ac_option in --version -v -V -qversion; do
2806 { { ac_try="$ac_compiler $ac_option >&5"
2808 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2809 *) ac_try_echo
=$ac_try;;
2811 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2812 $as_echo "$ac_try_echo"; } >&5
2813 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2815 if test -s conftest.err
; then
2817 ... rest of stderr output deleted ...
2818 10q' conftest.err
>conftest.er1
2819 cat conftest.er1
>&5
2820 rm -f conftest.er1 conftest.err
2822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2823 test $ac_status = 0; }
2826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2827 /* end confdefs.h. */
2837 ac_clean_files_save
=$ac_clean_files
2838 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2839 # Try to create an executable without -o first, disregard a.out.
2840 # It will help us diagnose broken compilers, and finding out an intuition
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2843 $as_echo_n "checking for C compiler default output file name... " >&6; }
2844 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2846 # The possible output files:
2847 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2850 for ac_file
in $ac_files
2853 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2854 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2859 if { { ac_try
="$ac_link_default"
2861 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2862 *) ac_try_echo=$ac_try;;
2864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2865 $as_echo "$ac_try_echo"; } >&5
2866 (eval "$ac_link_default") 2>&5
2868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2869 test $ac_status = 0; }; then :
2870 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2871 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2872 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2873 # so that the user can short-circuit this test for compilers unknown to
2875 for ac_file in $ac_files ''
2877 test -f "$ac_file" || continue
2879 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2882 # We found the default executable, but exeext='' is most
2886 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2888 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2890 # We set ac_cv_exeext here because the later test for it is not
2891 # safe: cross compilers may not add the suffix if given an `-o'
2892 # argument, so we may need to know it at that point already.
2893 # Even if this section looks crufty: it has the advantage of
2900 test "$ac_cv_exeext" = no && ac_cv_exeext=
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2906 $as_echo "$ac_file" >&6; }
2907 if test -z "$ac_file"; then :
2908 $as_echo "$as_me: failed program was:" >&5
2909 sed 's
/^
/|
/' conftest.$ac_ext >&5
2911 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2912 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2913 { as_fn_set_status 77
2914 as_fn_error "C compiler cannot create executables
2915 See \`config.log
' for more details." "$LINENO" 5; }; }
2917 ac_exeext=$ac_cv_exeext
2919 # Check that the compiler produces executables we can run. If not, either
2920 # the compiler is broken, or we cross compile.
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2922 $as_echo_n "checking whether the C compiler works... " >&6; }
2923 # If not cross compiling, check that we can run a simple program.
2924 if test "$cross_compiling" != yes; then
2925 if { ac_try='.
/$ac_file'
2926 { { case "(($ac_try" in
2927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2928 *) ac_try_echo=$ac_try;;
2930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2931 $as_echo "$ac_try_echo"; } >&5
2932 (eval "$ac_try") 2>&5
2934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2935 test $ac_status = 0; }; }; then
2938 if test "$cross_compiling" = maybe; then
2941 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2942 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2943 as_fn_error "cannot run C compiled programs.
2944 If you meant to cross compile, use \`--host'.
2945 See \`config.log' for more details.
" "$LINENO" 5; }
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
2950 $as_echo "yes" >&6; }
2952 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2953 ac_clean_files=$ac_clean_files_save
2954 # Check that the compiler produces executables we can run. If not, either
2955 # the compiler is broken, or we cross compile.
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
2957 $as_echo_n "checking whether we are cross compiling...
" >&6; }
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $cross_compiling" >&5
2959 $as_echo "$cross_compiling" >&6; }
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
2962 $as_echo_n "checking
for suffix of executables...
" >&6; }
2963 if { { ac_try="$ac_link"
2965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2966 *) ac_try_echo=$ac_try;;
2968 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2969 $as_echo "$ac_try_echo"; } >&5
2970 (eval "$ac_link") 2>&5
2972 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
2973 test $ac_status = 0; }; then :
2974 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2975 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2976 # work properly (i.e., refer to `conftest.exe'), while it won't with
2978 for ac_file in conftest.exe conftest conftest.*; do
2979 test -f "$ac_file" || continue
2981 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2982 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2988 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2989 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2990 as_fn_error "cannot compute suffix of executables: cannot compile and link
2991 See \`config.log' for more details.
" "$LINENO" 5; }
2993 rm -f conftest$ac_cv_exeext
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
2995 $as_echo "$ac_cv_exeext" >&6; }
2997 rm -f conftest.$ac_ext
2998 EXEEXT=$ac_cv_exeext
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of object files
" >&5
3001 $as_echo_n "checking
for suffix of object files...
" >&6; }
3002 if test "${ac_cv_objext+set}" = set; then :
3003 $as_echo_n "(cached
) " >&6
3005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3006 /* end confdefs.h. */
3016 rm -f conftest.o conftest.obj
3017 if { { ac_try="$ac_compile"
3019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3020 *) ac_try_echo=$ac_try;;
3022 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3023 $as_echo "$ac_try_echo"; } >&5
3024 (eval "$ac_compile") 2>&5
3026 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3027 test $ac_status = 0; }; then :
3028 for ac_file in conftest.o conftest.obj conftest.*; do
3029 test -f "$ac_file" || continue;
3031 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3032 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3037 $as_echo "$as_me: failed program was
:" >&5
3038 sed 's/^/| /' conftest.$ac_ext >&5
3040 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3041 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3042 as_fn_error "cannot compute suffix of object files: cannot compile
3043 See \`config.log' for more details.
" "$LINENO" 5; }
3045 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_objext" >&5
3048 $as_echo "$ac_cv_objext" >&6; }
3049 OBJEXT=$ac_cv_objext
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler
" >&5
3052 $as_echo_n "checking whether we are using the GNU C compiler...
" >&6; }
3053 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3054 $as_echo_n "(cached
) " >&6
3056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3057 /* end confdefs.h. */
3070 if ac_fn_c_try_compile "$LINENO"; then :
3075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3076 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_compiler_gnu" >&5
3080 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3081 if test $ac_compiler_gnu = yes; then
3086 ac_test_CFLAGS=${CFLAGS+set}
3087 ac_save_CFLAGS=$CFLAGS
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC accepts
-g" >&5
3089 $as_echo_n "checking whether
$CC accepts
-g...
" >&6; }
3090 if test "${ac_cv_prog_cc_g+set}" = set; then :
3091 $as_echo_n "(cached
) " >&6
3093 ac_save_c_werror_flag=$ac_c_werror_flag
3094 ac_c_werror_flag=yes
3097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3098 /* end confdefs.h. */
3108 if ac_fn_c_try_compile "$LINENO"; then :
3112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3113 /* end confdefs.h. */
3123 if ac_fn_c_try_compile "$LINENO"; then :
3126 ac_c_werror_flag=$ac_save_c_werror_flag
3128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3129 /* end confdefs.h. */
3139 if ac_fn_c_try_compile "$LINENO"; then :
3142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3147 ac_c_werror_flag=$ac_save_c_werror_flag
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_g" >&5
3150 $as_echo "$ac_cv_prog_cc_g" >&6; }
3151 if test "$ac_test_CFLAGS" = set; then
3152 CFLAGS=$ac_save_CFLAGS
3153 elif test $ac_cv_prog_cc_g = yes; then
3154 if test "$GCC" = yes; then
3160 if test "$GCC" = yes; then
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $CC option to accept ISO C89
" >&5
3167 $as_echo_n "checking
for $CC option to accept ISO C89...
" >&6; }
3168 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3169 $as_echo_n "(cached
) " >&6
3171 ac_cv_prog_cc_c89=no
3173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3174 /* end confdefs.h. */
3177 #include <sys/types.h>
3178 #include <sys/stat.h>
3179 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3180 struct buf { int x; };
3181 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3182 static char *e (p, i)
3188 static char *f (char * (*g) (char **, int), char **p, ...)
3193 s = g (p, va_arg (v,int));
3198 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3199 function prototypes and stuff, but not '\xHH' hex character constants.
3200 These don't provoke an error unfortunately, instead are silently treated
3201 as 'x'. The following induces an error, until -std is added to get
3202 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3203 array size at least. It's necessary to write '\x00'==0 to get something
3204 that's true only with -std. */
3205 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3207 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3208 inside strings and character constants. */
3210 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3212 int test (int i, double x);
3213 struct s1 {int (*f) (int a);};
3214 struct s2 {int (*f) (double a);};
3215 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3221 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3226 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3227 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3229 CC="$ac_save_CC $ac_arg"
3230 if ac_fn_c_try_compile "$LINENO"; then :
3231 ac_cv_prog_cc_c89=$ac_arg
3233 rm -f core conftest.err conftest.$ac_objext
3234 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3236 rm -f conftest.$ac_ext
3241 case "x
$ac_cv_prog_cc_c89" in
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none needed
" >&5
3244 $as_echo "none needed
" >&6; } ;;
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: unsupported
" >&5
3247 $as_echo "unsupported
" >&6; } ;;
3249 CC="$CC $ac_cv_prog_cc_c89"
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_c89" >&5
3251 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3253 if test "x
$ac_cv_prog_cc_c89" != xno; then :
3258 ac_cpp='$CPP $CPPFLAGS'
3259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3265 ac_cpp='$CPP $CPPFLAGS'
3266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
3270 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
3271 # On Suns, sometimes $CPP names a directory.
3272 if test -n "$CPP" && test -d "$CPP"; then
3275 if test -z "$CPP"; then
3276 if test "${ac_cv_prog_CPP+set}" = set; then :
3277 $as_echo_n "(cached
) " >&6
3279 # Double quotes because CPP needs to be expanded
3280 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3283 for ac_c_preproc_warn_flag in '' yes
3285 # Use a header file that comes with gcc, so configuring glibc
3286 # with a fresh cross-compiler works.
3287 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3288 # <limits.h> exists even on freestanding compilers.
3289 # On the NeXT, cc -E runs the code through the compiler's parser,
3290 # not just through cpp. "Syntax error
" is here to catch this case.
3291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3292 /* end confdefs.h. */
3294 # include <limits.h>
3296 # include <assert.h>
3300 if ac_fn_c_try_cpp "$LINENO"; then :
3303 # Broken: fails on valid input.
3306 rm -f conftest.err conftest.$ac_ext
3308 # OK, works on sane cases. Now check whether nonexistent headers
3309 # can be detected and how.
3310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3311 /* end confdefs.h. */
3312 #include <ac_nonexistent.h>
3314 if ac_fn_c_try_cpp "$LINENO"; then :
3315 # Broken: success on invalid input.
3318 # Passes both tests.
3322 rm -f conftest.err conftest.$ac_ext
3325 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3326 rm -f conftest.err conftest.$ac_ext
3327 if $ac_preproc_ok; then :
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
3340 $as_echo "$CPP" >&6; }
3342 for ac_c_preproc_warn_flag in '' yes
3344 # Use a header file that comes with gcc, so configuring glibc
3345 # with a fresh cross-compiler works.
3346 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3347 # <limits.h> exists even on freestanding compilers.
3348 # On the NeXT, cc -E runs the code through the compiler's parser,
3349 # not just through cpp. "Syntax error
" is here to catch this case.
3350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3351 /* end confdefs.h. */
3353 # include <limits.h>
3355 # include <assert.h>
3359 if ac_fn_c_try_cpp "$LINENO"; then :
3362 # Broken: fails on valid input.
3365 rm -f conftest.err conftest.$ac_ext
3367 # OK, works on sane cases. Now check whether nonexistent headers
3368 # can be detected and how.
3369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3370 /* end confdefs.h. */
3371 #include <ac_nonexistent.h>
3373 if ac_fn_c_try_cpp "$LINENO"; then :
3374 # Broken: success on invalid input.
3377 # Passes both tests.
3381 rm -f conftest.err conftest.$ac_ext
3384 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3385 rm -f conftest.err conftest.$ac_ext
3386 if $ac_preproc_ok; then :
3389 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3390 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3391 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3392 See \`config.log' for more details.
" "$LINENO" 5; }
3396 ac_cpp='$CPP $CPPFLAGS'
3397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
3403 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
3404 if test "${ac_cv_path_GREP+set}" = set; then :
3405 $as_echo_n "(cached
) " >&6
3407 if test -z "$GREP"; then
3408 ac_path_GREP_found=false
3409 # Loop through the user's path and test for each of PROGNAME-LIST
3410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3411 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3414 test -z "$as_dir" && as_dir=.
3415 for ac_prog in grep ggrep; do
3416 for ac_exec_ext in '' $ac_executable_extensions; do
3417 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3418 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3419 # Check for GNU ac_path_GREP and select it if it is found.
3420 # Check for GNU $ac_path_GREP
3421 case `"$ac_path_GREP" --version 2>&1` in
3423 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3426 $as_echo_n 0123456789 >"conftest.
in"
3429 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3430 mv "conftest.tmp
" "conftest.
in"
3431 cp "conftest.
in" "conftest.
nl"
3432 $as_echo 'GREP' >> "conftest.
nl"
3433 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3434 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3435 as_fn_arith $ac_count + 1 && ac_count=$as_val
3436 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3437 # Best one so far, save it but keep looking for a better one
3438 ac_cv_path_GREP="$ac_path_GREP"
3439 ac_path_GREP_max=$ac_count
3441 # 10*(2^10) chars as input seems more than enough
3442 test $ac_count -gt 10 && break
3444 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3447 $ac_path_GREP_found && break 3
3452 if test -z "$ac_cv_path_GREP"; then
3453 as_fn_error "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
3456 ac_cv_path_GREP=$GREP
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
3461 $as_echo "$ac_cv_path_GREP" >&6; }
3462 GREP="$ac_cv_path_GREP"
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
3466 $as_echo_n "checking
for egrep...
" >&6; }
3467 if test "${ac_cv_path_EGREP+set}" = set; then :
3468 $as_echo_n "(cached
) " >&6
3470 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3471 then ac_cv_path_EGREP="$GREP -E"
3473 if test -z "$EGREP"; then
3474 ac_path_EGREP_found=false
3475 # Loop through the user's path and test for each of PROGNAME-LIST
3476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3477 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3480 test -z "$as_dir" && as_dir=.
3481 for ac_prog in egrep; do
3482 for ac_exec_ext in '' $ac_executable_extensions; do
3483 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3484 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3485 # Check for GNU ac_path_EGREP and select it if it is found.
3486 # Check for GNU $ac_path_EGREP
3487 case `"$ac_path_EGREP" --version 2>&1` in
3489 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3492 $as_echo_n 0123456789 >"conftest.
in"
3495 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3496 mv "conftest.tmp
" "conftest.
in"
3497 cp "conftest.
in" "conftest.
nl"
3498 $as_echo 'EGREP' >> "conftest.
nl"
3499 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3500 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3501 as_fn_arith $ac_count + 1 && ac_count=$as_val
3502 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3503 # Best one so far, save it but keep looking for a better one
3504 ac_cv_path_EGREP="$ac_path_EGREP"
3505 ac_path_EGREP_max=$ac_count
3507 # 10*(2^10) chars as input seems more than enough
3508 test $ac_count -gt 10 && break
3510 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3513 $ac_path_EGREP_found && break 3
3518 if test -z "$ac_cv_path_EGREP"; then
3519 as_fn_error "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
3522 ac_cv_path_EGREP=$EGREP
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
3528 $as_echo "$ac_cv_path_EGREP" >&6; }
3529 EGREP="$ac_cv_path_EGREP"
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
3533 $as_echo_n "checking
for ANSI C header files...
" >&6; }
3534 if test "${ac_cv_header_stdc+set}" = set; then :
3535 $as_echo_n "(cached
) " >&6
3537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3538 /* end confdefs.h. */
3552 if ac_fn_c_try_compile "$LINENO"; then :
3553 ac_cv_header_stdc=yes
3555 ac_cv_header_stdc=no
3557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3559 if test $ac_cv_header_stdc = yes; then
3560 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3562 /* end confdefs.h. */
3566 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3567 $EGREP "memchr
" >/dev/null 2>&1; then :
3570 ac_cv_header_stdc=no
3576 if test $ac_cv_header_stdc = yes; then
3577 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3579 /* end confdefs.h. */
3583 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3584 $EGREP "free
" >/dev/null 2>&1; then :
3587 ac_cv_header_stdc=no
3593 if test $ac_cv_header_stdc = yes; then
3594 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3595 if test "$cross_compiling" = yes; then :
3598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3599 /* end confdefs.h. */
3602 #if ((' ' & 0x0FF) == 0x020)
3603 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3604 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3606 # define ISLOWER(c) \
3607 (('a' <= (c) && (c) <= 'i') \
3608 || ('j' <= (c) && (c) <= 'r') \
3609 || ('s' <= (c) && (c) <= 'z'))
3610 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3613 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3618 for (i = 0; i < 256; i++)
3619 if (XOR (islower (i), ISLOWER (i))
3620 || toupper (i) != TOUPPER (i))
3625 if ac_fn_c_try_run "$LINENO"; then :
3628 ac_cv_header_stdc=no
3630 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3631 conftest.$ac_objext conftest.beam conftest.$ac_ext
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
3637 $as_echo "$ac_cv_header_stdc" >&6; }
3638 if test $ac_cv_header_stdc = yes; then
3640 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3644 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3645 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3646 inttypes.h stdint.h unistd.h
3648 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3649 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3651 eval as_val
=\$
$as_ac_Header
3652 if test "x$as_val" = x
""yes; then :
3653 cat >>confdefs.h
<<_ACEOF
3654 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3663 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3664 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
3671 if test "$MINIX" = yes; then
3673 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3676 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3679 $as_echo "#define _MINIX 1" >>confdefs.h
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3685 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3686 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
3687 $as_echo_n "(cached) " >&6
3689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3690 /* end confdefs.h. */
3692 # define __EXTENSIONS__ 1
3693 $ac_includes_default
3702 if ac_fn_c_try_compile
"$LINENO"; then :
3703 ac_cv_safe_to_define___extensions__
=yes
3705 ac_cv_safe_to_define___extensions__
=no
3707 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3710 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3711 test $ac_cv_safe_to_define___extensions__ = yes &&
3712 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3714 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3716 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3718 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3720 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3723 # Determine the noncanonical target name, for directory use.
3724 case ${build_alias} in
3725 "") build_noncanonical
=${build} ;;
3726 *) build_noncanonical
=${build_alias} ;;
3729 case ${host_alias} in
3730 "") host_noncanonical
=${build_noncanonical} ;;
3731 *) host_noncanonical
=${host_alias} ;;
3734 case ${target_alias} in
3735 "") target_noncanonical
=${host_noncanonical} ;;
3736 *) target_noncanonical
=${target_alias} ;;
3742 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
3743 # have matching libraries, they should use host libraries: Makefile.tpl
3744 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
3745 # However, they still use the build modules, because the corresponding
3746 # host modules (e.g. bison) are only built for the host when bootstrap
3748 # - build_subdir is where we find build modules, and never changes.
3749 # - build_libsubdir is where we find build libraries, and can be overridden.
3751 # Prefix 'build-' so this never conflicts with target_subdir.
3752 build_subdir
="build-${build_noncanonical}"
3754 # Check whether --with-build-libsubdir was given.
3755 if test "${with_build_libsubdir+set}" = set; then :
3756 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
3758 build_libsubdir
="$build_subdir"
3761 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
3762 if ( test $srcdir = .
&& test -d gcc
) \
3763 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
3764 host_subdir
="host-${host_noncanonical}"
3769 target_subdir
=${target_noncanonical}
3772 # 1.11.1: Require that version of automake.
3773 # foreign: Don't require README, INSTALL, NEWS, etc.
3774 # no-define: Don't define PACKAGE and VERSION.
3775 # -Wall: Issue all automake warnings.
3776 # -Wno-portability: Don't warn about constructs supported by GNU make.
3777 # (because GCC requires GNU make anyhow).
3778 am__api_version
='1.11'
3780 # Find a good install program. We prefer a C program (faster),
3781 # so one script is as good as another. But avoid the broken or
3782 # incompatible versions:
3783 # SysV /etc/install, /usr/sbin/install
3784 # SunOS /usr/etc/install
3785 # IRIX /sbin/install
3787 # AmigaOS /C/install, which installs bootblocks on floppy discs
3788 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3789 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3790 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3791 # OS/2's system install, which has a completely different semantic
3792 # ./install, which can be erroneously created by make from ./install.sh.
3793 # Reject install programs that cannot install multiple files.
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3795 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3796 if test -z "$INSTALL"; then
3797 if test "${ac_cv_path_install+set}" = set; then :
3798 $as_echo_n "(cached) " >&6
3800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3804 test -z "$as_dir" && as_dir
=.
3805 # Account for people who put trailing slashes in PATH elements.
3806 case $as_dir/ in #((
3807 .
/ | .
// |
/[cC
]/* | \
3808 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3809 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3812 # OSF1 and SCO ODT 3.0 have their own names for install.
3813 # Don't use installbsd from OSF since it installs stuff as root
3815 for ac_prog
in ginstall scoinst
install; do
3816 for ac_exec_ext
in '' $ac_executable_extensions; do
3817 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3818 if test $ac_prog = install &&
3819 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3820 # AIX install. It has an incompatible calling convention.
3822 elif test $ac_prog = install &&
3823 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3824 # program-specific install script used by HP pwplus--don't use.
3827 rm -rf conftest.one conftest.two conftest.dir
3828 echo one
> conftest.one
3829 echo two
> conftest.two
3831 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3832 test -s conftest.one
&& test -s conftest.two
&&
3833 test -s conftest.dir
/conftest.one
&&
3834 test -s conftest.dir
/conftest.two
3836 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3849 rm -rf conftest.one conftest.two conftest.dir
3852 if test "${ac_cv_path_install+set}" = set; then
3853 INSTALL
=$ac_cv_path_install
3855 # As a last resort, use the slow shell script. Don't cache a
3856 # value for INSTALL within a source directory, because that will
3857 # break other packages using the cache if that directory is
3858 # removed, or if the value is a relative name.
3859 INSTALL
=$ac_install_sh
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3863 $as_echo "$INSTALL" >&6; }
3865 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3866 # It thinks the first close brace ends the variable substitution.
3867 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3869 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3871 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3874 $as_echo_n "checking whether build environment is sane... " >&6; }
3877 echo timestamp
> conftest.
file
3878 # Reject unsafe characters in $srcdir or the absolute working directory
3879 # name. Accept space and tab only in the latter.
3883 *[\\\"\
#\$\&\'\`$am_lf]*)
3884 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3887 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3888 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3891 # Do `set' in a subshell so we don't clobber the current shell's
3892 # arguments. Must try -L first in case configure is actually a
3893 # symlink; some systems play weird games with the mod time of symlinks
3894 # (eg FreeBSD returns the mod time of the symlink's containing
3897 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3898 if test "$*" = "X"; then
3900 set X
`ls -t "$srcdir/configure" conftest.file`
3903 if test "$*" != "X $srcdir/configure conftest.file" \
3904 && test "$*" != "X conftest.file $srcdir/configure"; then
3906 # If neither matched, then we have a broken ls. This can happen
3907 # if, for instance, CONFIG_SHELL is bash and it inherits a
3908 # broken ls alias from the environment. This has actually
3909 # happened. Such a system could not be considered "sane".
3910 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3911 alias in your environment" "$LINENO" 5
3914 test "$2" = conftest.
file
3920 as_fn_error
"newly created file is older than distributed files!
3921 Check your system clock" "$LINENO" 5
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3924 $as_echo "yes" >&6; }
3925 test "$program_prefix" != NONE
&&
3926 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3927 # Use a double $ so make ignores it.
3928 test "$program_suffix" != NONE
&&
3929 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3930 # Double any \ or $.
3931 # By default was `s,x,x', remove it if useless.
3932 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3933 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3935 # expand $ac_aux_dir to an absolute path
3936 am_aux_dir
=`cd $ac_aux_dir && pwd`
3938 if test x
"${MISSING+set}" != xset
; then
3941 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3943 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3946 # Use eval to expand $SHELL
3947 if eval "$MISSING --run true"; then
3948 am_missing_run
="$MISSING --run "
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3952 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3955 if test x
"${install_sh}" != xset
; then
3958 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3960 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3964 # Installed binaries are usually stripped using `strip' when the user
3965 # run `make install-strip'. However `strip' might not be the right
3966 # tool to use in cross-compilation environments, therefore Automake
3967 # will honor the `STRIP' environment variable to overrule this program.
3968 if test "$cross_compiling" != no
; then
3969 if test -n "$ac_tool_prefix"; then
3970 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3971 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3973 $as_echo_n "checking for $ac_word... " >&6; }
3974 if test "${ac_cv_prog_STRIP+set}" = set; then :
3975 $as_echo_n "(cached) " >&6
3977 if test -n "$STRIP"; then
3978 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3984 test -z "$as_dir" && as_dir
=.
3985 for ac_exec_ext
in '' $ac_executable_extensions; do
3986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3987 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3997 STRIP
=$ac_cv_prog_STRIP
3998 if test -n "$STRIP"; then
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4000 $as_echo "$STRIP" >&6; }
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4003 $as_echo "no" >&6; }
4008 if test -z "$ac_cv_prog_STRIP"; then
4010 # Extract the first word of "strip", so it can be a program name with args.
4011 set dummy strip
; ac_word
=$2
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4013 $as_echo_n "checking for $ac_word... " >&6; }
4014 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4015 $as_echo_n "(cached) " >&6
4017 if test -n "$ac_ct_STRIP"; then
4018 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4024 test -z "$as_dir" && as_dir
=.
4025 for ac_exec_ext
in '' $ac_executable_extensions; do
4026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4027 ac_cv_prog_ac_ct_STRIP
="strip"
4028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4037 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4038 if test -n "$ac_ct_STRIP"; then
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4040 $as_echo "$ac_ct_STRIP" >&6; }
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4043 $as_echo "no" >&6; }
4046 if test "x$ac_ct_STRIP" = x
; then
4049 case $cross_compiling:$ac_tool_warned in
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4052 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4053 ac_tool_warned
=yes ;;
4058 STRIP
="$ac_cv_prog_STRIP"
4062 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4065 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4066 if test -z "$MKDIR_P"; then
4067 if test "${ac_cv_path_mkdir+set}" = set; then :
4068 $as_echo_n "(cached) " >&6
4070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4071 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4074 test -z "$as_dir" && as_dir
=.
4075 for ac_prog
in mkdir gmkdir
; do
4076 for ac_exec_ext
in '' $ac_executable_extensions; do
4077 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
4078 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4079 'mkdir (GNU coreutils) '* | \
4080 'mkdir (coreutils) '* | \
4081 'mkdir (fileutils) '4.1*)
4082 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4092 if test "${ac_cv_path_mkdir+set}" = set; then
4093 MKDIR_P
="$ac_cv_path_mkdir -p"
4095 # As a last resort, use the slow shell script. Don't cache a
4096 # value for MKDIR_P within a source directory, because that will
4097 # break other packages using the cache if that directory is
4098 # removed, or if the value is a relative name.
4099 test -d .
/--version && rmdir .
/--version
4100 MKDIR_P
="$ac_install_sh -d"
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4104 $as_echo "$MKDIR_P" >&6; }
4108 [\\/$
]* | ?
:[\\/]*) ;;
4109 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
4112 for ac_prog
in gawk mawk nawk
awk
4114 # Extract the first word of "$ac_prog", so it can be a program name with args.
4115 set dummy
$ac_prog; ac_word
=$2
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4117 $as_echo_n "checking for $ac_word... " >&6; }
4118 if test "${ac_cv_prog_AWK+set}" = set; then :
4119 $as_echo_n "(cached) " >&6
4121 if test -n "$AWK"; then
4122 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4128 test -z "$as_dir" && as_dir
=.
4129 for ac_exec_ext
in '' $ac_executable_extensions; do
4130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4131 ac_cv_prog_AWK
="$ac_prog"
4132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4142 if test -n "$AWK"; then
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4144 $as_echo "$AWK" >&6; }
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4147 $as_echo "no" >&6; }
4151 test -n "$AWK" && break
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4155 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4157 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4158 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4159 $as_echo_n "(cached) " >&6
4161 cat >conftest.
make <<\_ACEOF
4164 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4166 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4167 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4169 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4171 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4175 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4177 $as_echo "yes" >&6; }
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4181 $as_echo "no" >&6; }
4182 SET_MAKE
="MAKE=${MAKE-make}"
4185 rm -rf .tst
2>/dev
/null
4186 mkdir .tst
2>/dev
/null
4187 if test -d .tst
; then
4192 rmdir .tst
2>/dev
/null
4194 DEPDIR
="${am__leading_dot}deps"
4196 ac_config_commands
="$ac_config_commands depfiles"
4199 am_make
=${MAKE-make}
4200 cat > confinc
<< 'END'
4202 @
echo this is the am__doit target
4205 # If we don't find an include directive, just comment out the code.
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4207 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4211 # First try GNU make style include.
4212 echo "include confinc" > confmf
4213 # Ignore all kinds of additional output from `make'.
4214 case `$am_make -s -f confmf 2> /dev/null` in #(
4215 *the\ am__doit\ target
*)
4221 # Now try BSD make style include.
4222 if test "$am__include" = "#"; then
4223 echo '.include "confinc"' > confmf
4224 case `$am_make -s -f confmf 2> /dev/null` in #(
4225 *the\ am__doit\ target
*)
4226 am__include
=.include
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4235 $as_echo "$_am_result" >&6; }
4236 rm -f confinc confmf
4238 # Check whether --enable-dependency-tracking was given.
4239 if test "${enable_dependency_tracking+set}" = set; then :
4240 enableval
=$enable_dependency_tracking;
4243 if test "x$enable_dependency_tracking" != xno
; then
4244 am_depcomp
="$ac_aux_dir/depcomp"
4247 if test "x$enable_dependency_tracking" != xno; then
4256 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4257 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4258 # is not polluted with repeated "-I."
4259 am__isrc
=' -I$(srcdir)'
4260 # test to see if srcdir already configured
4261 if test -f $srcdir/config.status
; then
4262 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4266 # test whether we have cygpath
4267 if test -z "$CYGPATH_W"; then
4268 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4269 CYGPATH_W
='cygpath -w'
4276 # Define the identity of the package.
4278 VERSION
='version-unused'
4281 # Some tools Automake needs.
4283 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4286 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4289 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4292 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4295 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4297 # We need awk for the "check" target. The system "awk" is bad on
4299 # Always define AMTAR for backward compatibility.
4301 AMTAR
=${AMTAR-"${am_missing_run}tar"}
4303 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
4308 depcc
="$CC" am_compiler_list
=
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4311 $as_echo_n "checking dependency style of $depcc... " >&6; }
4312 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4313 $as_echo_n "(cached) " >&6
4315 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4316 # We make a subdir and do the tests there. Otherwise we can end up
4317 # making bogus files that we don't know about and never remove. For
4318 # instance it was reported that on HP-UX the gcc test will end up
4319 # making a dummy file named `D' -- because `-MD' means `put the output
4322 # Copy depcomp to subdir because otherwise we won't find it if we're
4323 # using a relative directory.
4324 cp "$am_depcomp" conftest.dir
4326 # We will build objects and dependencies in a subdirectory because
4327 # it helps to detect inapplicable dependency modes. For instance
4328 # both Tru64's cc and ICC support -MD to output dependencies as a
4329 # side effect of compilation, but ICC will put the dependencies in
4330 # the current directory while Tru64 will put them in the object
4334 am_cv_CC_dependencies_compiler_type
=none
4335 if test "$am_compiler_list" = ""; then
4336 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4339 case " $depcc " in #(
4340 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4343 for depmode
in $am_compiler_list; do
4344 # Setup a source with many dependencies, because some compilers
4345 # like to wrap large dependency lists on column 80 (with \), and
4346 # we should not choose a depcomp mode which is confused by this.
4348 # We need to recreate these files for each test, as the compiler may
4349 # overwrite some of them when testing with obscure command lines.
4350 # This happens at least with the AIX C compiler.
4352 for i
in 1 2 3 4 5 6; do
4353 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4354 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4355 # Solaris 8's {/usr,}/bin/sh.
4356 touch sub
/conftst
$i.h
4358 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4360 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4361 # mode. It turns out that the SunPro C++ compiler does not properly
4362 # handle `-M -o', and we need to detect this. Also, some Intel
4363 # versions had trouble with output in subdirs
4364 am__obj
=sub
/conftest.
${OBJEXT-o}
4365 am__minus_obj
="-o $am__obj"
4368 # This depmode causes a compiler race in universal mode.
4369 test "$am__universal" = false ||
continue
4372 # after this tag, mechanisms are not by side-effect, so they'll
4373 # only be used when explicitly requested
4374 if test "x$enable_dependency_tracking" = xyes
; then
4380 msvisualcpp | msvcmsys
)
4381 # This compiler won't grok `-c -o', but also, the minuso test has
4382 # not run yet. These depmodes are late enough in the game, and
4383 # so weak that their functioning should not be impacted.
4384 am__obj
=conftest.
${OBJEXT-o}
4389 if depmode
=$depmode \
4390 source=sub
/conftest.c object
=$am__obj \
4391 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4392 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4393 >/dev
/null
2>conftest.err
&&
4394 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4395 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4396 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4397 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4398 # icc doesn't choke on unknown options, it will just issue warnings
4399 # or remarks (even with -Werror). So we grep stderr for any message
4400 # that says an option was ignored or not supported.
4401 # When given -MP, icc 7.0 and 7.1 complain thusly:
4402 # icc: Command line warning: ignoring option '-M'; no argument required
4403 # The diagnosis changed in icc 8.0:
4404 # icc: Command line remark: option '-MP' not supported
4405 if (grep 'ignoring option' conftest.err ||
4406 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4407 am_cv_CC_dependencies_compiler_type
=$depmode
4416 am_cv_CC_dependencies_compiler_type
=none
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4421 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4422 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4425 test "x$enable_dependency_tracking" != xno \
4426 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4428 am__fastdepCC_FALSE
='#'
4430 am__fastdepCC_TRUE
='#'
4431 am__fastdepCC_FALSE
=
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4438 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4439 # Check whether --enable-maintainer-mode was given.
4440 if test "${enable_maintainer_mode+set}" = set; then :
4441 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4443 USE_MAINTAINER_MODE
=no
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4447 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4448 if test $USE_MAINTAINER_MODE = yes; then
4449 MAINTAINER_MODE_TRUE
=
4450 MAINTAINER_MODE_FALSE
='#'
4452 MAINTAINER_MODE_TRUE
='#'
4453 MAINTAINER_MODE_FALSE
=
4456 MAINT
=$MAINTAINER_MODE_TRUE
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4463 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4468 macro_version
='2.2.7a'
4469 macro_revision
='1.3134'
4483 ltmain
="$ac_aux_dir/ltmain.sh"
4485 # Backslashify metacharacters that are still active within
4486 # double-quoted strings.
4487 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4489 # Same as above, but do not quote variable references.
4490 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4492 # Sed substitution to delay expansion of an escaped shell variable in a
4493 # double_quote_subst'ed string.
4494 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4496 # Sed substitution to delay expansion of an escaped single quote.
4497 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4499 # Sed substitution to avoid accidental globbing in evaled expressions
4500 no_glob_subst
='s/\*/\\\*/g'
4502 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4503 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4504 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4507 $as_echo_n "checking how to print strings... " >&6; }
4508 # Test print first, because it will be a builtin if present.
4509 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4510 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4512 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4515 # Use this function as a fallback that always works.
4516 func_fallback_echo ()
4518 eval 'cat <<_LTECHO_EOF
4522 ECHO='func_fallback_echo
'
4525 # func_echo_all arg...
4526 # Invoke $ECHO with all args, space-separated.
4533 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4534 $as_echo "printf" >&6; } ;;
4535 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4536 $as_echo "print -r" >&6; } ;;
4537 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4538 $as_echo "cat" >&6; } ;;
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4555 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4556 if test "${ac_cv_path_SED+set}" = set; then :
4557 $as_echo_n "(cached) " >&6
4559 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4560 for ac_i in 1 2 3 4 5 6 7; do
4561 ac_script="$ac_script$as_nl$ac_script"
4563 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4564 { ac_script=; unset ac_script;}
4565 if test -z "$SED"; then
4566 ac_path_SED_found=false
4567 # Loop through the user's path and
test for each of PROGNAME-LIST
4568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4572 test -z "$as_dir" && as_dir
=.
4573 for ac_prog
in sed gsed
; do
4574 for ac_exec_ext
in '' $ac_executable_extensions; do
4575 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4576 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4577 # Check for GNU ac_path_SED and select it if it is found.
4578 # Check for GNU $ac_path_SED
4579 case `"$ac_path_SED" --version 2>&1` in
4581 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4584 $as_echo_n 0123456789 >"conftest.in"
4587 cat "conftest.in" "conftest.in" >"conftest.tmp"
4588 mv "conftest.tmp" "conftest.in"
4589 cp "conftest.in" "conftest.nl"
4590 $as_echo '' >> "conftest.nl"
4591 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4592 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4593 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4594 if test $ac_count -gt ${ac_path_SED_max-0}; then
4595 # Best one so far, save it but keep looking for a better one
4596 ac_cv_path_SED
="$ac_path_SED"
4597 ac_path_SED_max
=$ac_count
4599 # 10*(2^10) chars as input seems more than enough
4600 test $ac_count -gt 10 && break
4602 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4605 $ac_path_SED_found && break 3
4610 if test -z "$ac_cv_path_SED"; then
4611 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4619 $as_echo "$ac_cv_path_SED" >&6; }
4620 SED
="$ac_cv_path_SED"
4623 test -z "$SED" && SED
=sed
4624 Xsed
="$SED -e 1s/^X//"
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4637 $as_echo_n "checking for fgrep... " >&6; }
4638 if test "${ac_cv_path_FGREP+set}" = set; then :
4639 $as_echo_n "(cached) " >&6
4641 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4642 then ac_cv_path_FGREP
="$GREP -F"
4644 if test -z "$FGREP"; then
4645 ac_path_FGREP_found
=false
4646 # Loop through the user's path and test for each of PROGNAME-LIST
4647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4648 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4651 test -z "$as_dir" && as_dir
=.
4652 for ac_prog
in fgrep
; do
4653 for ac_exec_ext
in '' $ac_executable_extensions; do
4654 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4655 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4656 # Check for GNU ac_path_FGREP and select it if it is found.
4657 # Check for GNU $ac_path_FGREP
4658 case `"$ac_path_FGREP" --version 2>&1` in
4660 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4663 $as_echo_n 0123456789 >"conftest.in"
4666 cat "conftest.in" "conftest.in" >"conftest.tmp"
4667 mv "conftest.tmp" "conftest.in"
4668 cp "conftest.in" "conftest.nl"
4669 $as_echo 'FGREP' >> "conftest.nl"
4670 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4671 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4672 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4673 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4674 # Best one so far, save it but keep looking for a better one
4675 ac_cv_path_FGREP
="$ac_path_FGREP"
4676 ac_path_FGREP_max
=$ac_count
4678 # 10*(2^10) chars as input seems more than enough
4679 test $ac_count -gt 10 && break
4681 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4684 $ac_path_FGREP_found && break 3
4689 if test -z "$ac_cv_path_FGREP"; then
4690 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4693 ac_cv_path_FGREP
=$FGREP
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4699 $as_echo "$ac_cv_path_FGREP" >&6; }
4700 FGREP
="$ac_cv_path_FGREP"
4703 test -z "$GREP" && GREP
=grep
4723 # Check whether --with-gnu-ld was given.
4724 if test "${with_gnu_ld+set}" = set; then :
4725 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4731 if test "$GCC" = yes; then
4732 # Check if gcc -print-prog-name=ld gives a path.
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4734 $as_echo_n "checking for ld used by $CC... " >&6; }
4737 # gcc leaves a trailing carriage return which upsets mingw
4738 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4740 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4743 # Accept absolute paths.
4745 re_direlt
='/[^/][^/]*/\.\./'
4746 # Canonicalize the pathname of ld
4747 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4748 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4749 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4751 test -z "$LD" && LD
="$ac_prog"
4754 # If it fails, then pretend we aren't using GCC.
4758 # If it is relative, then search for the first ld in PATH.
4762 elif test "$with_gnu_ld" = yes; then
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4764 $as_echo_n "checking for GNU ld... " >&6; }
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4767 $as_echo_n "checking for non-GNU ld... " >&6; }
4769 if test "${lt_cv_path_LD+set}" = set; then :
4770 $as_echo_n "(cached) " >&6
4772 if test -z "$LD"; then
4773 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4774 for ac_dir
in $PATH; do
4776 test -z "$ac_dir" && ac_dir
=.
4777 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4778 lt_cv_path_LD
="$ac_dir/$ac_prog"
4779 # Check to see if the program is GNU ld. I'd rather use --version,
4780 # but apparently some variants of GNU ld only accept -v.
4781 # Break only if it was the GNU/non-GNU ld that we prefer.
4782 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4783 *GNU
* |
*'with BFD'*)
4784 test "$with_gnu_ld" != no
&& break
4787 test "$with_gnu_ld" != yes && break
4794 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4799 if test -n "$LD"; then
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4801 $as_echo "$LD" >&6; }
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4804 $as_echo "no" >&6; }
4806 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4808 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4809 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4810 $as_echo_n "(cached) " >&6
4812 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4813 case `$LD -v 2>&1 </dev/null` in
4814 *GNU
* |
*'with BFD'*)
4815 lt_cv_prog_gnu_ld
=yes
4818 lt_cv_prog_gnu_ld
=no
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4823 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4824 with_gnu_ld
=$lt_cv_prog_gnu_ld
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4835 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4836 if test "${lt_cv_path_NM+set}" = set; then :
4837 $as_echo_n "(cached) " >&6
4839 if test -n "$NM"; then
4840 # Let the user override the test.
4843 lt_nm_to_check
="${ac_tool_prefix}nm"
4844 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4845 lt_nm_to_check
="$lt_nm_to_check nm"
4847 for lt_tmp_nm
in $lt_nm_to_check; do
4848 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4849 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4851 test -z "$ac_dir" && ac_dir
=.
4852 tmp_nm
="$ac_dir/$lt_tmp_nm"
4853 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4854 # Check to see if the nm accepts a BSD-compat flag.
4855 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4856 # nm: unknown option "B" ignored
4857 # Tru64's nm complains that /dev/null is an invalid object file
4858 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4859 */dev
/null
* |
*'Invalid file or object type'*)
4860 lt_cv_path_NM
="$tmp_nm -B"
4864 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4866 lt_cv_path_NM
="$tmp_nm -p"
4870 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4871 continue # so that we can try to find one that supports BSD flags
4880 : ${lt_cv_path_NM=no}
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4884 $as_echo "$lt_cv_path_NM" >&6; }
4885 if test "$lt_cv_path_NM" != "no"; then
4888 # Didn't find any BSD compatible name lister, look for dumpbin.
4889 if test -n "$DUMPBIN"; then :
4890 # Let the user override the test.
4892 if test -n "$ac_tool_prefix"; then
4893 for ac_prog
in dumpbin
"link -dump"
4895 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4896 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4898 $as_echo_n "checking for $ac_word... " >&6; }
4899 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4900 $as_echo_n "(cached) " >&6
4902 if test -n "$DUMPBIN"; then
4903 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4909 test -z "$as_dir" && as_dir
=.
4910 for ac_exec_ext
in '' $ac_executable_extensions; do
4911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4912 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4922 DUMPBIN
=$ac_cv_prog_DUMPBIN
4923 if test -n "$DUMPBIN"; then
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4925 $as_echo "$DUMPBIN" >&6; }
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4928 $as_echo "no" >&6; }
4932 test -n "$DUMPBIN" && break
4935 if test -z "$DUMPBIN"; then
4936 ac_ct_DUMPBIN
=$DUMPBIN
4937 for ac_prog
in dumpbin
"link -dump"
4939 # Extract the first word of "$ac_prog", so it can be a program name with args.
4940 set dummy
$ac_prog; ac_word
=$2
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4942 $as_echo_n "checking for $ac_word... " >&6; }
4943 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4944 $as_echo_n "(cached) " >&6
4946 if test -n "$ac_ct_DUMPBIN"; then
4947 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4953 test -z "$as_dir" && as_dir
=.
4954 for ac_exec_ext
in '' $ac_executable_extensions; do
4955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4956 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4966 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4967 if test -n "$ac_ct_DUMPBIN"; then
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4969 $as_echo "$ac_ct_DUMPBIN" >&6; }
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4972 $as_echo "no" >&6; }
4976 test -n "$ac_ct_DUMPBIN" && break
4979 if test "x$ac_ct_DUMPBIN" = 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 DUMPBIN
=$ac_ct_DUMPBIN
4992 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4994 DUMPBIN
="$DUMPBIN -symbols"
5002 if test "$DUMPBIN" != ":"; then
5006 test -z "$NM" && NM
=nm
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5014 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5015 if test "${lt_cv_nm_interface+set}" = set; then :
5016 $as_echo_n "(cached) " >&6
5018 lt_cv_nm_interface
="BSD nm"
5019 echo "int some_variable = 0;" > conftest.
$ac_ext
5020 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5021 (eval "$ac_compile" 2>conftest.err
)
5022 cat conftest.err
>&5
5023 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5024 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5025 cat conftest.err
>&5
5026 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5027 cat conftest.out
>&5
5028 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5029 lt_cv_nm_interface
="MS dumpbin"
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5034 $as_echo "$lt_cv_nm_interface" >&6; }
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5037 $as_echo_n "checking whether ln -s works... " >&6; }
5039 if test "$LN_S" = "ln -s"; then
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5041 $as_echo "yes" >&6; }
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5044 $as_echo "no, using $LN_S" >&6; }
5047 # find the maximum length of command line arguments
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5049 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5050 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5051 $as_echo_n "(cached) " >&6
5058 # On DJGPP, this test can blow up pretty badly due to problems in libc
5059 # (any single argument exceeding 2000 bytes causes a buffer overrun
5060 # during glob expansion). Even if it were fixed, the result of this
5061 # check would be larger than it should be.
5062 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5066 # Under GNU Hurd, this test is not required because there is
5067 # no limit to the length of command line arguments.
5068 # Libtool will interpret -1 as no limit whatsoever
5069 lt_cv_sys_max_cmd_len
=-1;
5072 cygwin
* | mingw
* | cegcc
*)
5073 # On Win9x/ME, this test blows up -- it succeeds, but takes
5074 # about 5 minutes as the teststring grows exponentially.
5075 # Worse, since 9x/ME are not pre-emptively multitasking,
5076 # you end up with a "frozen" computer, even though with patience
5077 # the test eventually succeeds (with a max line length of 256k).
5078 # Instead, let's just punt: use the minimum linelength reported by
5079 # all of the supported platforms: 8192 (on NT/2K/XP).
5080 lt_cv_sys_max_cmd_len
=8192;
5084 # On MiNT this can take a long time and run out of memory.
5085 lt_cv_sys_max_cmd_len
=8192;
5089 # On AmigaOS with pdksh, this test takes hours, literally.
5090 # So we just punt and use a minimum line length of 8192.
5091 lt_cv_sys_max_cmd_len
=8192;
5094 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5095 # This has been around since 386BSD, at least. Likely further.
5096 if test -x /sbin
/sysctl
; then
5097 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5098 elif test -x /usr
/sbin
/sysctl
; then
5099 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5101 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5103 # And add a safety zone
5104 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5105 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5109 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5110 lt_cv_sys_max_cmd_len
=196608
5114 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5115 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5116 # nice to cause kernel panics so lets avoid the loop below.
5117 # First set a reasonable default.
5118 lt_cv_sys_max_cmd_len
=16384
5120 if test -x /sbin
/sysconfig
; then
5121 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5122 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5127 lt_cv_sys_max_cmd_len
=102400
5129 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5130 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5131 if test -n "$kargmax"; then
5132 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5134 lt_cv_sys_max_cmd_len
=32768
5138 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5139 if test -n "$lt_cv_sys_max_cmd_len"; then
5140 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5141 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5143 # Make teststring a little bigger before we do anything with it.
5144 # a 1K string should be a reasonable start.
5145 for i
in 1 2 3 4 5 6 7 8 ; do
5146 teststring
=$teststring$teststring
5148 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5149 # If test is not a shell built-in, we'll probably end up computing a
5150 # maximum length that is only half of the actual maximum length, but
5152 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5153 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5154 test $i != 17 # 1/2 MB should be enough
5157 teststring
=$teststring$teststring
5159 # Only check the string length outside the loop.
5160 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5162 # Add a significant safety factor because C++ compilers can tack on
5163 # massive amounts of additional arguments before passing them to the
5164 # linker. It appears as though 1/2 is a usable value.
5165 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5172 if test -n $lt_cv_sys_max_cmd_len ; then
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5174 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5177 $as_echo "none" >&6; }
5179 max_cmd_len
=$lt_cv_sys_max_cmd_len
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5191 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5192 # Try some XSI features
5195 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5197 && eval 'test $(( 1 + 1 )) -eq 2 \
5198 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5201 $as_echo "$xsi_shell" >&6; }
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5205 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5207 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5209 && lt_shell_append=yes
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5211 $as_echo "$lt_shell_append" >&6; }
5214 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5224 # test EBCDIC or ASCII
5225 case `echo X|tr X '\101'` in
5226 A) # ASCII based system
5227 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5228 lt_SP2NL='tr \040 \012'
5229 lt_NL2SP='tr \015\012 \040\040'
5231 *) # EBCDIC based system
5232 lt_SP2NL='tr \100 \n'
5233 lt_NL2SP='tr \r\n \100\100'
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5246 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5247 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5248 $as_echo_n "(cached
) " >&6
5250 lt_cv_ld_reload_flag='-r'
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5253 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5254 reload_flag=$lt_cv_ld_reload_flag
5255 case $reload_flag in
5257 *) reload_flag=" $reload_flag" ;;
5259 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5262 if test "$GCC" = yes; then
5263 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5265 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5278 if test -n "$ac_tool_prefix"; then
5279 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5280 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5282 $as_echo_n "checking
for $ac_word...
" >&6; }
5283 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5284 $as_echo_n "(cached
) " >&6
5286 if test -n "$OBJDUMP"; then
5287 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5293 test -z "$as_dir" && as_dir=.
5294 for ac_exec_ext in '' $ac_executable_extensions; do
5295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5296 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5297 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5306 OBJDUMP=$ac_cv_prog_OBJDUMP
5307 if test -n "$OBJDUMP"; then
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5309 $as_echo "$OBJDUMP" >&6; }
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5312 $as_echo "no
" >&6; }
5317 if test -z "$ac_cv_prog_OBJDUMP"; then
5318 ac_ct_OBJDUMP=$OBJDUMP
5319 # Extract the first word of "objdump
", so it can be a program name with args.
5320 set dummy objdump; ac_word=$2
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5322 $as_echo_n "checking
for $ac_word...
" >&6; }
5323 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5324 $as_echo_n "(cached
) " >&6
5326 if test -n "$ac_ct_OBJDUMP"; then
5327 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5333 test -z "$as_dir" && as_dir=.
5334 for ac_exec_ext in '' $ac_executable_extensions; do
5335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5336 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5337 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5346 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5347 if test -n "$ac_ct_OBJDUMP"; then
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5349 $as_echo "$ac_ct_OBJDUMP" >&6; }
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5352 $as_echo "no
" >&6; }
5355 if test "x
$ac_ct_OBJDUMP" = x; then
5358 case $cross_compiling:$ac_tool_warned in
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5361 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5362 ac_tool_warned=yes ;;
5364 OBJDUMP=$ac_ct_OBJDUMP
5367 OBJDUMP="$ac_cv_prog_OBJDUMP"
5370 test -z "$OBJDUMP" && OBJDUMP=objdump
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5381 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5382 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5383 $as_echo_n "(cached
) " >&6
5385 lt_cv_file_magic_cmd='$MAGIC_CMD'
5386 lt_cv_file_magic_test_file=
5387 lt_cv_deplibs_check_method='unknown'
5388 # Need to set the preceding variable on all platforms that support
5389 # interlibrary dependencies.
5390 # 'none' -- dependencies not supported.
5391 # `unknown' -- same as none, but documents that we really don't know.
5392 # 'pass_all' -- all dependencies passed with no checks.
5393 # 'test_compile' -- check by making test program.
5394 # 'file_magic [[regex]]' -- check by looking for files in library path
5395 # which responds to the $file_magic_cmd with a given extended regex.
5396 # If you have `file' or equivalent on your system and you're not sure
5397 # whether `pass_all' will *always* work, you probably want this one.
5401 lt_cv_deplibs_check_method=pass_all
5405 lt_cv_deplibs_check_method=pass_all
5409 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5410 lt_cv_file_magic_cmd='/usr/bin/file -L'
5411 lt_cv_file_magic_test_file=/shlib/libc.so
5415 # func_win32_libid is a shell function defined in ltmain.sh
5416 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5417 lt_cv_file_magic_cmd='func_win32_libid'
5421 # Base MSYS/MinGW do not provide the 'file' command needed by
5422 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5423 # unless we find 'file', for example because we are cross-compiling.
5424 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5425 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5426 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5427 lt_cv_file_magic_cmd='func_win32_libid'
5429 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5430 lt_cv_file_magic_cmd='$OBJDUMP -f'
5435 # use the weaker test based on 'objdump'. See mingw*.
5436 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5437 lt_cv_file_magic_cmd='$OBJDUMP -f'
5440 darwin* | rhapsody*)
5441 lt_cv_deplibs_check_method=pass_all
5444 freebsd* | dragonfly*)
5445 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5448 # Not sure whether the presence of OpenBSD here was a mistake.
5449 # Let's accept both of them until this is cleared up.
5450 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5451 lt_cv_file_magic_cmd=/usr/bin/file
5452 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5456 lt_cv_deplibs_check_method=pass_all
5461 lt_cv_deplibs_check_method=pass_all
5465 lt_cv_deplibs_check_method=pass_all
5468 hpux10.20* | hpux11*)
5469 lt_cv_file_magic_cmd=/usr/bin/file
5472 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5473 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5476 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5477 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5480 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5481 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5487 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5488 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5491 irix5* | irix6* | nonstopux*)
5493 *-32|*"-32 ") libmagic=32-bit;;
5494 *-n32|*"-n32 ") libmagic=N32;;
5495 *-64|*"-64 ") libmagic=64-bit;;
5496 *) libmagic=never-match;;
5498 lt_cv_deplibs_check_method=pass_all
5501 # This must be Linux ELF.
5502 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5503 lt_cv_deplibs_check_method=pass_all
5507 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5508 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5510 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5515 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5516 lt_cv_file_magic_cmd=/usr/bin/file
5517 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5521 lt_cv_deplibs_check_method=pass_all
5525 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5526 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5528 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5532 osf3* | osf4* | osf5*)
5533 lt_cv_deplibs_check_method=pass_all
5537 lt_cv_deplibs_check_method=pass_all
5541 lt_cv_deplibs_check_method=pass_all
5544 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5545 lt_cv_deplibs_check_method=pass_all
5549 case $host_vendor in
5551 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]'
5552 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5555 lt_cv_deplibs_check_method=pass_all
5558 lt_cv_file_magic_cmd='/bin/file'
5559 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5562 lt_cv_file_magic_cmd='/bin/file'
5563 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5564 lt_cv_file_magic_test_file=/lib/libc.so
5567 lt_cv_deplibs_check_method=pass_all
5570 lt_cv_deplibs_check_method=pass_all
5576 lt_cv_deplibs_check_method=pass_all
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5582 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5583 file_magic_cmd=$lt_cv_file_magic_cmd
5584 deplibs_check_method=$lt_cv_deplibs_check_method
5585 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5598 if test -n "$ac_tool_prefix"; then
5599 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5600 set dummy ${ac_tool_prefix}ar; ac_word=$2
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5602 $as_echo_n "checking
for $ac_word...
" >&6; }
5603 if test "${ac_cv_prog_AR+set}" = set; then :
5604 $as_echo_n "(cached
) " >&6
5606 if test -n "$AR"; then
5607 ac_cv_prog_AR="$AR" # Let the user override the test.
5609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5613 test -z "$as_dir" && as_dir=.
5614 for ac_exec_ext in '' $ac_executable_extensions; do
5615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5616 ac_cv_prog_AR="${ac_tool_prefix}ar"
5617 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5627 if test -n "$AR"; then
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5629 $as_echo "$AR" >&6; }
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5632 $as_echo "no
" >&6; }
5637 if test -z "$ac_cv_prog_AR"; then
5639 # Extract the first word of "ar", so it can be a program name with args.
5640 set dummy ar; ac_word=$2
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5642 $as_echo_n "checking
for $ac_word...
" >&6; }
5643 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5644 $as_echo_n "(cached
) " >&6
5646 if test -n "$ac_ct_AR"; then
5647 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5653 test -z "$as_dir" && as_dir=.
5654 for ac_exec_ext in '' $ac_executable_extensions; do
5655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5656 ac_cv_prog_ac_ct_AR="ar"
5657 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5666 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5667 if test -n "$ac_ct_AR"; then
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5669 $as_echo "$ac_ct_AR" >&6; }
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5672 $as_echo "no
" >&6; }
5675 if test "x
$ac_ct_AR" = x; then
5678 case $cross_compiling:$ac_tool_warned in
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5681 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5682 ac_tool_warned=yes ;;
5690 test -z "$AR" && AR=ar
5691 test -z "$AR_FLAGS" && AR_FLAGS=cru
5703 if test -n "$ac_tool_prefix"; then
5704 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5705 set dummy ${ac_tool_prefix}strip; ac_word=$2
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5707 $as_echo_n "checking
for $ac_word...
" >&6; }
5708 if test "${ac_cv_prog_STRIP+set}" = set; then :
5709 $as_echo_n "(cached
) " >&6
5711 if test -n "$STRIP"; then
5712 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5718 test -z "$as_dir" && as_dir=.
5719 for ac_exec_ext in '' $ac_executable_extensions; do
5720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5721 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5722 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5731 STRIP=$ac_cv_prog_STRIP
5732 if test -n "$STRIP"; then
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5734 $as_echo "$STRIP" >&6; }
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5737 $as_echo "no
" >&6; }
5742 if test -z "$ac_cv_prog_STRIP"; then
5744 # Extract the first word of "strip
", so it can be a program name with args.
5745 set dummy strip; ac_word=$2
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5747 $as_echo_n "checking
for $ac_word...
" >&6; }
5748 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5749 $as_echo_n "(cached
) " >&6
5751 if test -n "$ac_ct_STRIP"; then
5752 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5758 test -z "$as_dir" && as_dir=.
5759 for ac_exec_ext in '' $ac_executable_extensions; do
5760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5761 ac_cv_prog_ac_ct_STRIP="strip
"
5762 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5771 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5772 if test -n "$ac_ct_STRIP"; then
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5774 $as_echo "$ac_ct_STRIP" >&6; }
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5777 $as_echo "no
" >&6; }
5780 if test "x
$ac_ct_STRIP" = x; then
5783 case $cross_compiling:$ac_tool_warned in
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5786 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5787 ac_tool_warned=yes ;;
5792 STRIP="$ac_cv_prog_STRIP"
5795 test -z "$STRIP" && STRIP=:
5802 if test -n "$ac_tool_prefix"; then
5803 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5804 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5806 $as_echo_n "checking
for $ac_word...
" >&6; }
5807 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5808 $as_echo_n "(cached
) " >&6
5810 if test -n "$RANLIB"; then
5811 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5817 test -z "$as_dir" && as_dir=.
5818 for ac_exec_ext in '' $ac_executable_extensions; do
5819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5820 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5821 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5830 RANLIB=$ac_cv_prog_RANLIB
5831 if test -n "$RANLIB"; then
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5833 $as_echo "$RANLIB" >&6; }
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5836 $as_echo "no
" >&6; }
5841 if test -z "$ac_cv_prog_RANLIB"; then
5842 ac_ct_RANLIB=$RANLIB
5843 # Extract the first word of "ranlib
", so it can be a program name with args.
5844 set dummy ranlib; ac_word=$2
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5846 $as_echo_n "checking
for $ac_word...
" >&6; }
5847 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5848 $as_echo_n "(cached
) " >&6
5850 if test -n "$ac_ct_RANLIB"; then
5851 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5857 test -z "$as_dir" && as_dir=.
5858 for ac_exec_ext in '' $ac_executable_extensions; do
5859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5860 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5861 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5870 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5871 if test -n "$ac_ct_RANLIB"; then
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5873 $as_echo "$ac_ct_RANLIB" >&6; }
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5876 $as_echo "no
" >&6; }
5879 if test "x
$ac_ct_RANLIB" = x; then
5882 case $cross_compiling:$ac_tool_warned in
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5885 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5886 ac_tool_warned=yes ;;
5888 RANLIB=$ac_ct_RANLIB
5891 RANLIB="$ac_cv_prog_RANLIB"
5894 test -z "$RANLIB" && RANLIB=:
5901 # Determine commands to create old-style static archives.
5902 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5903 old_postinstall_cmds='chmod 644 $oldlib'
5904 old_postuninstall_cmds=
5906 if test -n "$RANLIB"; then
5909 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5912 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5915 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5920 lock_old_archive_extraction=yes ;;
5922 lock_old_archive_extraction=no ;;
5963 # If no C compiler was specified, use CC.
5966 # If no C compiler flags were specified, use CFLAGS.
5967 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5969 # Allow CC to be a program name with arguments.
5973 # Check for command to grab the raw symbol name followed by C symbol from nm.
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5975 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5976 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5977 $as_echo_n "(cached
) " >&6
5980 # These are sane defaults that work on at least a few old systems.
5981 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5983 # Character class describing NM global symbol codes.
5984 symcode='[BCDEGRST]'
5986 # Regexp to match symbols that can be accessed directly from C.
5987 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5989 # Define system-specific variables.
5994 cygwin* | mingw* | pw32* | cegcc*)
5995 symcode='[ABCDGISTW]'
5998 if test "$host_cpu" = ia64; then
5999 symcode='[ABCDEGRST]'
6003 symcode='[BCDEGRST]'
6006 symcode='[BCDEGQRST]'
6017 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6025 # If we're using GNU nm, then use its standard symbol codes.
6026 case `$NM -V 2>&1` in
6027 *GNU* | *'with BFD'*)
6028 symcode='[ABCDGIRSTW]' ;;
6031 # Transform an extracted symbol line into a proper C declaration.
6032 # Some systems (esp. on ia64) link data and code symbols differently,
6033 # so use this general approach.
6034 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6036 # Transform an extracted symbol line into symbol name and symbol address
6037 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6038 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'"
6040 # Handle CRLF in mingw tool chain
6044 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6048 # Try without a prefix underscore, then with it.
6049 for ac_symprfx in "" "_
"; do
6051 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6052 symxfrm="\\1 $ac_symprfx\\2 \\2"
6054 # Write the raw and C identifiers.
6055 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6056 # Fake it for dumpbin and say T for any non-static function
6057 # and D for any global variable.
6058 # Also find C++ and __fastcall symbols from MSVC++,
6059 # which start with @ or ?.
6060 lt_cv_sys_global_symbol_pipe="$AWK '"\
6061 " {last_section=section; section=\$ 3};"\
6062 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6063 " \$ 0!~/External *\|/{next};"\
6064 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6065 " {if(hide[section]) next};"\
6066 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6067 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6068 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6069 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6070 " ' prfx
=^
$ac_symprfx"
6072 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6075 # Check to see that the pipe works correctly.
6079 cat > conftest.$ac_ext <<_LT_EOF
6084 void nm_test_func(void);
6085 void nm_test_func(void){}
6089 int main(){nm_test_var='a';nm_test_func();return(0);}
6092 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6093 (eval $ac_compile) 2>&5
6095 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6096 test $ac_status = 0; }; then
6097 # Now try to grab the symbols.
6099 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6100 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6102 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6103 test $ac_status = 0; } && test -s "$nlist"; then
6104 # Try sorting and uniquifying the output.
6105 if sort "$nlist" | uniq > "$nlist"T; then
6106 mv -f "$nlist"T "$nlist"
6111 # Make sure that we snagged all the symbols we need.
6112 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6113 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6114 cat <<_LT_EOF > conftest.$ac_ext
6120 # Now generate the symbol file.
6121 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6123 cat <<_LT_EOF >> conftest.$ac_ext
6125 /* The mapping between symbol names and symbols. */
6130 lt__PROGRAM__LTX_preloaded_symbols[] =
6132 { "@PROGRAM@
", (void *) 0 },
6134 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6135 cat <<\_LT_EOF >> conftest.$ac_ext
6139 /* This works around a problem in FreeBSD linker */
6140 #ifdef FREEBSD_WORKAROUND
6141 static const void *lt_preloaded_setup() {
6142 return lt__PROGRAM__LTX_preloaded_symbols;
6150 # Now try linking the two files.
6151 mv conftest.$ac_objext conftstm.$ac_objext
6152 lt_save_LIBS="$LIBS"
6153 lt_save_CFLAGS="$CFLAGS"
6154 LIBS="conftstm.
$ac_objext"
6155 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6156 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6157 (eval $ac_link) 2>&5
6159 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6160 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6163 LIBS="$lt_save_LIBS"
6164 CFLAGS="$lt_save_CFLAGS"
6166 echo "cannot
find nm_test_func
in $nlist" >&5
6169 echo "cannot
find nm_test_var
in $nlist" >&5
6172 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6175 echo "$progname: failed program was
:" >&5
6176 cat conftest.$ac_ext >&5
6178 rm -rf conftest* conftst*
6180 # Do not use the global_symbol_pipe unless it works.
6181 if test "$pipe_works" = yes; then
6184 lt_cv_sys_global_symbol_pipe=
6190 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6191 lt_cv_sys_global_symbol_to_cdecl=
6193 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6195 $as_echo "failed
" >&6; }
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6198 $as_echo "ok
" >&6; }
6222 # Check whether --enable-libtool-lock was given.
6223 if test "${enable_libtool_lock+set}" = set; then :
6224 enableval=$enable_libtool_lock;
6227 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6229 # Some flags need to be propagated to the compiler or linker for good
6233 # Find out which ABI we are using.
6234 echo 'int i;' > conftest.$ac_ext
6235 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6236 (eval $ac_compile) 2>&5
6238 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6239 test $ac_status = 0; }; then
6240 case `/usr/bin/file conftest.$ac_objext` in
6252 # Find out which ABI we are using.
6253 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6254 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6255 (eval $ac_compile) 2>&5
6257 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6258 test $ac_status = 0; }; then
6259 if test "$lt_cv_prog_gnu_ld" = yes; then
6260 case `/usr/bin/file conftest.$ac_objext` in
6262 LD="${LD-ld} -melf32bsmip"
6265 LD="${LD-ld} -melf32bmipn32"
6268 LD="${LD-ld} -melf64bmip"
6272 case `/usr/bin/file conftest.$ac_objext` in
6288 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6289 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6290 # Find out which ABI we are using.
6291 echo 'int i;' > conftest.$ac_ext
6292 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6293 (eval $ac_compile) 2>&5
6295 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6296 test $ac_status = 0; }; then
6297 case `/usr/bin/file conftest.o` in
6300 x86_64-*kfreebsd*-gnu)
6301 LD="${LD-ld} -m elf_i386_fbsd
"
6304 case `/usr/bin/file conftest.o` in
6306 LD="${LD-ld} -m elf32_x86_64
"
6309 LD="${LD-ld} -m elf_i386
"
6313 powerpc64le-*linux*)
6314 LD="${LD-ld} -m elf32lppclinux
"
6317 LD="${LD-ld} -m elf32ppclinux
"
6320 LD="${LD-ld} -m elf_s390
"
6323 LD="${LD-ld} -m elf32_sparc
"
6329 x86_64-*kfreebsd*-gnu)
6330 LD="${LD-ld} -m elf_x86_64_fbsd
"
6333 LD="${LD-ld} -m elf_x86_64
"
6336 LD="${LD-ld} -m elf64lppc
"
6339 LD="${LD-ld} -m elf64ppc
"
6341 s390*-*linux*|s390*-*tpf*)
6342 LD="${LD-ld} -m elf64_s390
"
6345 LD="${LD-ld} -m elf64_sparc
"
6355 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6356 SAVE_CFLAGS="$CFLAGS"
6357 CFLAGS="$CFLAGS -belf"
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6359 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6360 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6361 $as_echo_n "(cached
) " >&6
6364 ac_cpp='$CPP $CPPFLAGS'
6365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6370 /* end confdefs.h. */
6380 if ac_fn_c_try_link "$LINENO"; then :
6381 lt_cv_cc_needs_belf=yes
6383 lt_cv_cc_needs_belf=no
6385 rm -f core conftest.err conftest.$ac_objext \
6386 conftest$ac_exeext conftest.$ac_ext
6388 ac_cpp='$CPP $CPPFLAGS'
6389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6395 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6396 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6397 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6398 CFLAGS="$SAVE_CFLAGS"
6402 # Find out which ABI we are using.
6403 echo 'int i;' > conftest.$ac_ext
6404 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6405 (eval $ac_compile) 2>&5
6407 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6408 test $ac_status = 0; }; then
6409 case `/usr/bin/file conftest.o` in
6411 case $lt_cv_prog_gnu_ld in
6412 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6414 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6426 need_locks="$enable_libtool_lock"
6430 rhapsody* | darwin*)
6431 if test -n "$ac_tool_prefix"; then
6432 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6433 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6435 $as_echo_n "checking
for $ac_word...
" >&6; }
6436 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6437 $as_echo_n "(cached
) " >&6
6439 if test -n "$DSYMUTIL"; then
6440 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6446 test -z "$as_dir" && as_dir=.
6447 for ac_exec_ext in '' $ac_executable_extensions; do
6448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6449 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6450 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6459 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6460 if test -n "$DSYMUTIL"; then
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6462 $as_echo "$DSYMUTIL" >&6; }
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6465 $as_echo "no
" >&6; }
6470 if test -z "$ac_cv_prog_DSYMUTIL"; then
6471 ac_ct_DSYMUTIL=$DSYMUTIL
6472 # Extract the first word of "dsymutil
", so it can be a program name with args.
6473 set dummy dsymutil; ac_word=$2
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6475 $as_echo_n "checking
for $ac_word...
" >&6; }
6476 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6477 $as_echo_n "(cached
) " >&6
6479 if test -n "$ac_ct_DSYMUTIL"; then
6480 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6486 test -z "$as_dir" && as_dir=.
6487 for ac_exec_ext in '' $ac_executable_extensions; do
6488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6489 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6490 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6499 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6500 if test -n "$ac_ct_DSYMUTIL"; then
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6502 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6505 $as_echo "no
" >&6; }
6508 if test "x
$ac_ct_DSYMUTIL" = x; then
6511 case $cross_compiling:$ac_tool_warned in
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6514 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6515 ac_tool_warned=yes ;;
6517 DSYMUTIL=$ac_ct_DSYMUTIL
6520 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6523 if test -n "$ac_tool_prefix"; then
6524 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6525 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6527 $as_echo_n "checking
for $ac_word...
" >&6; }
6528 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6529 $as_echo_n "(cached
) " >&6
6531 if test -n "$NMEDIT"; then
6532 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6538 test -z "$as_dir" && as_dir=.
6539 for ac_exec_ext in '' $ac_executable_extensions; do
6540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6541 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6542 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6551 NMEDIT=$ac_cv_prog_NMEDIT
6552 if test -n "$NMEDIT"; then
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6554 $as_echo "$NMEDIT" >&6; }
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6557 $as_echo "no
" >&6; }
6562 if test -z "$ac_cv_prog_NMEDIT"; then
6563 ac_ct_NMEDIT=$NMEDIT
6564 # Extract the first word of "nmedit
", so it can be a program name with args.
6565 set dummy nmedit; ac_word=$2
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6567 $as_echo_n "checking
for $ac_word...
" >&6; }
6568 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6569 $as_echo_n "(cached
) " >&6
6571 if test -n "$ac_ct_NMEDIT"; then
6572 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6578 test -z "$as_dir" && as_dir=.
6579 for ac_exec_ext in '' $ac_executable_extensions; do
6580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6581 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6582 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6591 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6592 if test -n "$ac_ct_NMEDIT"; then
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6594 $as_echo "$ac_ct_NMEDIT" >&6; }
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6597 $as_echo "no
" >&6; }
6600 if test "x
$ac_ct_NMEDIT" = x; then
6603 case $cross_compiling:$ac_tool_warned in
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6606 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6607 ac_tool_warned=yes ;;
6609 NMEDIT=$ac_ct_NMEDIT
6612 NMEDIT="$ac_cv_prog_NMEDIT"
6615 if test -n "$ac_tool_prefix"; then
6616 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6617 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6619 $as_echo_n "checking
for $ac_word...
" >&6; }
6620 if test "${ac_cv_prog_LIPO+set}" = set; then :
6621 $as_echo_n "(cached
) " >&6
6623 if test -n "$LIPO"; then
6624 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6630 test -z "$as_dir" && as_dir=.
6631 for ac_exec_ext in '' $ac_executable_extensions; do
6632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6633 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6634 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6643 LIPO=$ac_cv_prog_LIPO
6644 if test -n "$LIPO"; then
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6646 $as_echo "$LIPO" >&6; }
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6649 $as_echo "no
" >&6; }
6654 if test -z "$ac_cv_prog_LIPO"; then
6656 # Extract the first word of "lipo
", so it can be a program name with args.
6657 set dummy lipo; ac_word=$2
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6659 $as_echo_n "checking
for $ac_word...
" >&6; }
6660 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6661 $as_echo_n "(cached
) " >&6
6663 if test -n "$ac_ct_LIPO"; then
6664 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6670 test -z "$as_dir" && as_dir=.
6671 for ac_exec_ext in '' $ac_executable_extensions; do
6672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6673 ac_cv_prog_ac_ct_LIPO="lipo
"
6674 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6683 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6684 if test -n "$ac_ct_LIPO"; then
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6686 $as_echo "$ac_ct_LIPO" >&6; }
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6689 $as_echo "no
" >&6; }
6692 if test "x
$ac_ct_LIPO" = x; then
6695 case $cross_compiling:$ac_tool_warned in
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6698 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6699 ac_tool_warned=yes ;;
6704 LIPO="$ac_cv_prog_LIPO"
6707 if test -n "$ac_tool_prefix"; then
6708 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6709 set dummy ${ac_tool_prefix}otool; ac_word=$2
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6711 $as_echo_n "checking
for $ac_word...
" >&6; }
6712 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6713 $as_echo_n "(cached
) " >&6
6715 if test -n "$OTOOL"; then
6716 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6722 test -z "$as_dir" && as_dir=.
6723 for ac_exec_ext in '' $ac_executable_extensions; do
6724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6725 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6726 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6735 OTOOL=$ac_cv_prog_OTOOL
6736 if test -n "$OTOOL"; then
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6738 $as_echo "$OTOOL" >&6; }
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6741 $as_echo "no
" >&6; }
6746 if test -z "$ac_cv_prog_OTOOL"; then
6748 # Extract the first word of "otool
", so it can be a program name with args.
6749 set dummy otool; ac_word=$2
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6751 $as_echo_n "checking
for $ac_word...
" >&6; }
6752 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6753 $as_echo_n "(cached
) " >&6
6755 if test -n "$ac_ct_OTOOL"; then
6756 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6762 test -z "$as_dir" && as_dir=.
6763 for ac_exec_ext in '' $ac_executable_extensions; do
6764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6765 ac_cv_prog_ac_ct_OTOOL="otool
"
6766 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6775 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6776 if test -n "$ac_ct_OTOOL"; then
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6778 $as_echo "$ac_ct_OTOOL" >&6; }
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6781 $as_echo "no
" >&6; }
6784 if test "x
$ac_ct_OTOOL" = x; then
6787 case $cross_compiling:$ac_tool_warned in
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6790 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6791 ac_tool_warned=yes ;;
6796 OTOOL="$ac_cv_prog_OTOOL"
6799 if test -n "$ac_tool_prefix"; then
6800 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6801 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6803 $as_echo_n "checking
for $ac_word...
" >&6; }
6804 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6805 $as_echo_n "(cached
) " >&6
6807 if test -n "$OTOOL64"; then
6808 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6814 test -z "$as_dir" && as_dir=.
6815 for ac_exec_ext in '' $ac_executable_extensions; do
6816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6817 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6818 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6827 OTOOL64=$ac_cv_prog_OTOOL64
6828 if test -n "$OTOOL64"; then
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6830 $as_echo "$OTOOL64" >&6; }
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6833 $as_echo "no
" >&6; }
6838 if test -z "$ac_cv_prog_OTOOL64"; then
6839 ac_ct_OTOOL64=$OTOOL64
6840 # Extract the first word of "otool64
", so it can be a program name with args.
6841 set dummy otool64; ac_word=$2
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6843 $as_echo_n "checking
for $ac_word...
" >&6; }
6844 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6845 $as_echo_n "(cached
) " >&6
6847 if test -n "$ac_ct_OTOOL64"; then
6848 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6854 test -z "$as_dir" && as_dir=.
6855 for ac_exec_ext in '' $ac_executable_extensions; do
6856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6857 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6858 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6867 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6868 if test -n "$ac_ct_OTOOL64"; then
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
6870 $as_echo "$ac_ct_OTOOL64" >&6; }
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6873 $as_echo "no
" >&6; }
6876 if test "x
$ac_ct_OTOOL64" = x; then
6879 case $cross_compiling:$ac_tool_warned in
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6882 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6883 ac_tool_warned=yes ;;
6885 OTOOL64=$ac_ct_OTOOL64
6888 OTOOL64="$ac_cv_prog_OTOOL64"
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
6918 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6919 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6920 $as_echo_n "(cached
) " >&6
6922 lt_cv_apple_cc_single_mod=no
6923 if test -z "${LT_MULTI_MODULE}"; then
6924 # By default we will add the -single_module flag. You can override
6925 # by either setting the environment variable LT_MULTI_MODULE
6926 # non-empty at configure time, or by adding -multi_module to the
6928 rm -rf libconftest.dylib*
6929 echo "int foo
(void
){return 1;}" > conftest.c
6930 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6931 -dynamiclib -Wl,-single_module conftest.c
" >&5
6932 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6933 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6935 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6936 lt_cv_apple_cc_single_mod=yes
6938 cat conftest.err >&5
6940 rm -rf libconftest.dylib*
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
6945 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
6947 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6948 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6949 $as_echo_n "(cached
) " >&6
6951 lt_cv_ld_exported_symbols_list=no
6952 save_LDFLAGS=$LDFLAGS
6953 echo "_main
" > conftest.sym
6954 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6956 /* end confdefs.h. */
6966 if ac_fn_c_try_link "$LINENO"; then :
6967 lt_cv_ld_exported_symbols_list=yes
6969 lt_cv_ld_exported_symbols_list=no
6971 rm -f core conftest.err conftest.$ac_objext \
6972 conftest$ac_exeext conftest.$ac_ext
6973 LDFLAGS="$save_LDFLAGS"
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
6977 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
6979 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
6980 if test "${lt_cv_ld_force_load+set}" = set; then :
6981 $as_echo_n "(cached
) " >&6
6983 lt_cv_ld_force_load=no
6984 cat > conftest.c << _LT_EOF
6985 int forced_loaded() { return 2;}
6987 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
6988 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6989 echo "$AR cru libconftest.a conftest.o
" >&5
6990 $AR cru libconftest.a conftest.o 2>&5
6991 cat > conftest.c << _LT_EOF
6992 int main() { return 0;}
6994 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
6995 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6997 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
6998 lt_cv_ld_force_load=yes
7000 cat conftest.err >&5
7002 rm -f conftest.err libconftest.a conftest conftest.c
7003 rm -rf conftest.dSYM
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7007 $as_echo "$lt_cv_ld_force_load" >&6; }
7009 rhapsody* | darwin1.[012])
7010 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7012 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7013 darwin*) # darwin 5.x on
7014 # if running on 10.5 or later, the deployment target defaults
7015 # to the OS version, if on x86, and 10.4, the deployment
7016 # target defaults to 10.4. Don't you love it?
7017 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7018 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7019 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7021 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7023 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7027 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7028 _lt_dar_single_mod='$single_module'
7030 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7031 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7033 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7035 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7036 _lt_dsymutil='~$DSYMUTIL $lib || :'
7043 for ac_header in dlfcn.h
7045 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7047 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
7048 cat >>confdefs.h <<_ACEOF
7049 #define HAVE_DLFCN_H 1
7061 # Check whether --enable-static was given.
7062 if test "${enable_static+set}" = set; then :
7063 enableval=$enable_static; p=${PACKAGE-default}
7065 yes) enable_static=yes ;;
7066 no) enable_static=no ;;
7069 # Look at the argument we got. We use all the common list separators.
7070 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7071 for pkg in $enableval; do
7073 if test "X
$pkg" = "X
$p"; then
7099 # Check whether --enable-shared was given.
7100 if test "${enable_shared+set}" = set; then :
7101 enableval=$enable_shared; p=${PACKAGE-default}
7103 yes) enable_shared=yes ;;
7104 no) enable_shared=no ;;
7107 # Look at the argument we got. We use all the common list separators.
7108 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7109 for pkg in $enableval; do
7111 if test "X
$pkg" = "X
$p"; then
7132 # Check whether --with-pic was given.
7133 if test "${with_pic+set}" = set; then :
7134 withval=$with_pic; pic_mode="$withval"
7140 test -z "$pic_mode" && pic_mode=default
7148 # Check whether --enable-fast-install was given.
7149 if test "${enable_fast_install+set}" = set; then :
7150 enableval=$enable_fast_install; p=${PACKAGE-default}
7152 yes) enable_fast_install=yes ;;
7153 no) enable_fast_install=no ;;
7155 enable_fast_install=no
7156 # Look at the argument we got. We use all the common list separators.
7157 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7158 for pkg in $enableval; do
7160 if test "X
$pkg" = "X
$p"; then
7161 enable_fast_install=yes
7168 enable_fast_install=yes
7181 # This can be used to rebuild libtool when needed
7182 LIBTOOL_DEPS="$ltmain"
7184 # Always use our own libtool.
7185 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7212 test -z "$LN_S" && LN_S="ln -s"
7227 if test -n "${ZSH_VERSION+set}" ; then
7228 setopt NO_GLOB_SUBST
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7232 $as_echo_n "checking
for objdir...
" >&6; }
7233 if test "${lt_cv_objdir+set}" = set; then :
7234 $as_echo_n "(cached
) " >&6
7236 rm -f .libs 2>/dev/null
7237 mkdir .libs 2>/dev/null
7238 if test -d .libs; then
7241 # MS-DOS does not allow filenames that begin with a dot.
7244 rmdir .libs 2>/dev/null
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7247 $as_echo "$lt_cv_objdir" >&6; }
7248 objdir=$lt_cv_objdir
7254 cat >>confdefs.h <<_ACEOF
7255 #define LT_OBJDIR "$lt_cv_objdir/"
7263 # AIX sometimes has problems with the GCC collect2 program. For some
7264 # reason, if we set the COLLECT_NAMES environment variable, the problems
7265 # vanish in a puff of smoke.
7266 if test "X
${COLLECT_NAMES+set}" != Xset; then
7268 export COLLECT_NAMES
7275 can_build_shared=yes
7277 # All known linkers require a `.a' archive for static linking (except MSVC,
7278 # which needs '.lib').
7281 with_gnu_ld="$lt_cv_prog_gnu_ld"
7284 old_CFLAGS="$CFLAGS"
7286 # Set sane defaults for various variables
7287 test -z "$CC" && CC=cc
7288 test -z "$LTCC" && LTCC=$CC
7289 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7290 test -z "$LD" && LD=ld
7291 test -z "$ac_objext" && ac_objext=o
7293 for cc_temp in $compiler""; do
7295 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7296 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7301 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7304 # Only perform the check for file, if the check method requires it
7305 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7306 case $deplibs_check_method in
7308 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
7310 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
7311 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7312 $as_echo_n "(cached
) " >&6
7316 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7319 lt_save_MAGIC_CMD="$MAGIC_CMD"
7320 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7321 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7322 for ac_dir in $ac_dummy; do
7324 test -z "$ac_dir" && ac_dir=.
7325 if test -f $ac_dir/${ac_tool_prefix}file; then
7326 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7327 if test -n "$file_magic_test_file"; then
7328 case $deplibs_check_method in
7330 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7331 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7332 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7333 $EGREP "$file_magic_regex" > /dev/null; then
7338 *** Warning: the command libtool uses to detect shared libraries,
7339 *** $file_magic_cmd, produces output that libtool cannot recognize.
7340 *** The result is that libtool may fail to recognize shared libraries
7341 *** as such. This will affect the creation of libtool libraries that
7342 *** depend on shared libraries, but programs linked with such libtool
7343 *** libraries will work regardless of this problem. Nevertheless, you
7344 *** may want to report the problem to your system manager and/or to
7345 *** bug-libtool@gnu.org
7355 MAGIC_CMD="$lt_save_MAGIC_CMD"
7360 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7361 if test -n "$MAGIC_CMD"; then
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7363 $as_echo "$MAGIC_CMD" >&6; }
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7366 $as_echo "no
" >&6; }
7373 if test -z "$lt_cv_path_MAGIC_CMD"; then
7374 if test -n "$ac_tool_prefix"; then
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
7376 $as_echo_n "checking
for file...
" >&6; }
7377 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7378 $as_echo_n "(cached
) " >&6
7382 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7385 lt_save_MAGIC_CMD="$MAGIC_CMD"
7386 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7387 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7388 for ac_dir in $ac_dummy; do
7390 test -z "$ac_dir" && ac_dir=.
7391 if test -f $ac_dir/file; then
7392 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7393 if test -n "$file_magic_test_file"; then
7394 case $deplibs_check_method in
7396 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7397 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7398 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7399 $EGREP "$file_magic_regex" > /dev/null; then
7404 *** Warning: the command libtool uses to detect shared libraries,
7405 *** $file_magic_cmd, produces output that libtool cannot recognize.
7406 *** The result is that libtool may fail to recognize shared libraries
7407 *** as such. This will affect the creation of libtool libraries that
7408 *** depend on shared libraries, but programs linked with such libtool
7409 *** libraries will work regardless of this problem. Nevertheless, you
7410 *** may want to report the problem to your system manager and/or to
7411 *** bug-libtool@gnu.org
7421 MAGIC_CMD="$lt_save_MAGIC_CMD"
7426 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7427 if test -n "$MAGIC_CMD"; then
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7429 $as_echo "$MAGIC_CMD" >&6; }
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7432 $as_echo "no
" >&6; }
7445 # Use C for the default configuration in the libtool script
7449 ac_cpp='$CPP $CPPFLAGS'
7450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7455 # Source file extension for C test sources.
7458 # Object file extension for compiled C test sources.
7462 # Code to be used in simple compile tests
7463 lt_simple_compile_test_code="int some_variable
= 0;"
7465 # Code to be used in simple link tests
7466 lt_simple_link_test_code='int main(){return(0);}'
7474 # If no C compiler was specified, use CC.
7477 # If no C compiler flags were specified, use CFLAGS.
7478 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7480 # Allow CC to be a program name with arguments.
7483 # Save the default compiler, since it gets overwritten when the other
7484 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7485 compiler_DEFAULT=$CC
7487 # save warnings/boilerplate of simple test code
7488 ac_outfile=conftest.$ac_objext
7489 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7490 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7491 _lt_compiler_boilerplate=`cat conftest.err`
7494 ac_outfile=conftest.$ac_objext
7495 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7496 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7497 _lt_linker_boilerplate=`cat conftest.err`
7502 ## There is no encapsulation within the following macros, do not change
7503 ## the running order or otherwise move them around unless you know exactly
7504 ## what you are doing...
7505 if test -n "$compiler"; then
7507 lt_prog_compiler_no_builtin_flag=
7509 if test "$GCC" = yes; then
7510 case $cc_basename in
7512 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7514 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
7518 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
7519 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7520 $as_echo_n "(cached
) " >&6
7522 lt_cv_prog_compiler_rtti_exceptions=no
7523 ac_outfile=conftest.$ac_objext
7524 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7525 lt_compiler_flag="-fno-rtti -fno-exceptions"
7526 # Insert the option either (1) after the last *FLAGS variable, or
7527 # (2) before a word containing "conftest.
", or (3) at the end.
7528 # Note that $ac_compile itself does not contain backslashes and begins
7529 # with a dollar sign (not a hyphen), so the echo should work correctly.
7530 # The option is referenced via a variable to avoid confusing sed.
7531 lt_compile=`echo "$ac_compile" | $SED \
7532 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7533 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7534 -e 's:$: $lt_compiler_flag:'`
7535 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
7536 (eval "$lt_compile" 2>conftest.err)
7538 cat conftest.err >&5
7539 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7540 if (exit $ac_status) && test -s "$ac_outfile"; then
7541 # The compiler can only warn and ignore the option if not recognized
7542 # So say no if there are warnings other than the usual output.
7543 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7544 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7545 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7546 lt_cv_prog_compiler_rtti_exceptions=yes
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
7553 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7555 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7556 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7568 lt_prog_compiler_wl=
7569 lt_prog_compiler_pic=
7570 lt_prog_compiler_static=
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
7573 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
7575 if test "$GCC" = yes; then
7576 lt_prog_compiler_wl='-Wl,'
7577 lt_prog_compiler_static='-static'
7581 # All AIX code is PIC.
7582 if test "$host_cpu" = ia64; then
7583 # AIX 5 now supports IA64 processor
7584 lt_prog_compiler_static='-Bstatic'
7586 lt_prog_compiler_pic='-fPIC'
7592 # see comment about AmigaOS4 .so support
7593 lt_prog_compiler_pic='-fPIC'
7596 # FIXME: we need at least 68020 code to build shared libraries, but
7597 # adding the `-m68020' flag to GCC prevents building anything better,
7599 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7604 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7605 # PIC is the default for these OSes.
7608 mingw* | cygwin* | pw32* | os2* | cegcc*)
7609 # This hack is so that the source file can tell whether it is being
7610 # built for inclusion in a dll (and should export symbols for example).
7611 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7612 # (--disable-auto-import) libraries
7613 lt_prog_compiler_pic='-DDLL_EXPORT'
7616 darwin* | rhapsody*)
7617 # PIC is the default on this platform
7618 # Common symbols not allowed in MH_DYLIB files
7619 lt_prog_compiler_pic='-fno-common'
7623 # PIC is the default for Haiku.
7624 # The "-static" flag exists, but is broken.
7625 lt_prog_compiler_static=
7629 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7630 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7631 # sets the default TLS model and affects inlining.
7637 lt_prog_compiler_pic='-fPIC'
7643 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7644 # Instead, we relocate shared libraries at runtime.
7648 # Just because we use GCC doesn't mean we suddenly get shared libraries
7649 # on systems that don't support them.
7650 lt_prog_compiler_can_build_shared=no
7655 # QNX uses GNU C++, but need to define -shared option too, otherwise
7657 lt_prog_compiler_pic='-fPIC -shared'
7661 if test -d /usr/nec; then
7662 lt_prog_compiler_pic=-Kconform_pic
7667 lt_prog_compiler_pic='-fPIC'
7671 case $cc_basename in
7672 nvcc*) # Cuda Compiler Driver 2.2
7673 lt_prog_compiler_wl='-Xlinker '
7674 lt_prog_compiler_pic='-Xcompiler -fPIC'
7678 # PORTME Check for flag to pass linker flags through the system compiler.
7681 lt_prog_compiler_wl='-Wl,'
7682 if test "$host_cpu" = ia64; then
7683 # AIX 5 now supports IA64 processor
7684 lt_prog_compiler_static='-Bstatic'
7686 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7690 mingw* | cygwin* | pw32* | os2* | cegcc*)
7691 # This hack is so that the source file can tell whether it is being
7692 # built for inclusion in a dll (and should export symbols for example).
7693 lt_prog_compiler_pic='-DDLL_EXPORT'
7696 hpux9* | hpux10* | hpux11*)
7697 lt_prog_compiler_wl='-Wl,'
7698 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7705 lt_prog_compiler_pic='+Z'
7708 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7709 lt_prog_compiler_static='${wl}-a ${wl}archive'
7712 irix5* | irix6* | nonstopux*)
7713 lt_prog_compiler_wl='-Wl,'
7714 # PIC (with -KPIC) is the default.
7715 lt_prog_compiler_static='-non_shared'
7718 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7719 case $cc_basename in
7720 # old Intel for x86_64 which still supported -KPIC.
7722 lt_prog_compiler_wl='-Wl,'
7723 lt_prog_compiler_pic='-KPIC'
7724 lt_prog_compiler_static='-static'
7726 # icc used to be incompatible with GCC.
7727 # ICC 10 doesn't accept -KPIC any more.
7729 lt_prog_compiler_wl='-Wl,'
7730 lt_prog_compiler_pic='-fPIC'
7731 lt_prog_compiler_static='-static'
7733 # Lahey Fortran 8.1.
7735 lt_prog_compiler_wl='-Wl,'
7736 lt_prog_compiler_pic='--shared'
7737 lt_prog_compiler_static='--static'
7739 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7740 # Portland Group compilers (*not* the Pentium gcc compiler,
7741 # which looks to be a dead project)
7742 lt_prog_compiler_wl='-Wl,'
7743 lt_prog_compiler_pic='-fpic'
7744 lt_prog_compiler_static='-Bstatic'
7747 lt_prog_compiler_wl='-Wl,'
7748 # All Alpha code is PIC.
7749 lt_prog_compiler_static='-non_shared'
7751 xl* | bgxl* | bgf* | mpixl*)
7752 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7753 lt_prog_compiler_wl='-Wl,'
7754 lt_prog_compiler_pic='-qpic'
7755 lt_prog_compiler_static='-qstaticlink'
7758 case `$CC -V 2>&1 | sed 5q` in
7759 *Sun\ F* | *Sun*Fortran*)
7760 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7761 lt_prog_compiler_pic='-KPIC'
7762 lt_prog_compiler_static='-Bstatic'
7763 lt_prog_compiler_wl=''
7767 lt_prog_compiler_pic='-KPIC'
7768 lt_prog_compiler_static='-Bstatic'
7769 lt_prog_compiler_wl='-Wl,'
7777 lt_prog_compiler_pic='-KPIC'
7778 lt_prog_compiler_static='-Bstatic'
7782 # QNX uses GNU C++, but need to define -shared option too, otherwise
7784 lt_prog_compiler_pic='-fPIC -shared'
7787 osf3* | osf4* | osf5*)
7788 lt_prog_compiler_wl='-Wl,'
7789 # All OSF/1 code is PIC.
7790 lt_prog_compiler_static='-non_shared'
7794 lt_prog_compiler_static='-non_shared'
7798 lt_prog_compiler_pic='-KPIC'
7799 lt_prog_compiler_static='-Bstatic'
7800 case $cc_basename in
7802 lt_prog_compiler_wl='-Qoption ld ';;
7804 lt_prog_compiler_wl='-Wl,';;
7809 lt_prog_compiler_wl='-Qoption ld '
7810 lt_prog_compiler_pic='-PIC'
7811 lt_prog_compiler_static='-Bstatic'
7814 sysv4 | sysv4.2uw2* | sysv4.3*)
7815 lt_prog_compiler_wl='-Wl,'
7816 lt_prog_compiler_pic='-KPIC'
7817 lt_prog_compiler_static='-Bstatic'
7821 if test -d /usr/nec ;then
7822 lt_prog_compiler_pic='-Kconform_pic'
7823 lt_prog_compiler_static='-Bstatic'
7827 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7828 lt_prog_compiler_wl='-Wl,'
7829 lt_prog_compiler_pic='-KPIC'
7830 lt_prog_compiler_static='-Bstatic'
7834 lt_prog_compiler_wl='-Wl,'
7835 lt_prog_compiler_can_build_shared=no
7839 lt_prog_compiler_pic='-pic'
7840 lt_prog_compiler_static='-Bstatic'
7844 lt_prog_compiler_can_build_shared=no
7850 # For platforms which do not support PIC, -DPIC is meaningless:
7852 lt_prog_compiler_pic=
7855 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
7859 $as_echo "$lt_prog_compiler_pic" >&6; }
7867 # Check to make sure the PIC flag actually works.
7869 if test -n "$lt_prog_compiler_pic"; then
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
7871 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
7872 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7873 $as_echo_n "(cached
) " >&6
7875 lt_cv_prog_compiler_pic_works=no
7876 ac_outfile=conftest.$ac_objext
7877 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7878 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7879 # Insert the option either (1) after the last *FLAGS variable, or
7880 # (2) before a word containing "conftest.
", or (3) at the end.
7881 # Note that $ac_compile itself does not contain backslashes and begins
7882 # with a dollar sign (not a hyphen), so the echo should work correctly.
7883 # The option is referenced via a variable to avoid confusing sed.
7884 lt_compile=`echo "$ac_compile" | $SED \
7885 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7886 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7887 -e 's:$: $lt_compiler_flag:'`
7888 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
7889 (eval "$lt_compile" 2>conftest.err)
7891 cat conftest.err >&5
7892 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7893 if (exit $ac_status) && test -s "$ac_outfile"; then
7894 # The compiler can only warn and ignore the option if not recognized
7895 # So say no if there are warnings other than the usual output.
7896 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7897 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7898 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7899 lt_cv_prog_compiler_pic_works=yes
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
7906 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7908 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7909 case $lt_prog_compiler_pic in
7911 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7914 lt_prog_compiler_pic=
7915 lt_prog_compiler_can_build_shared=no
7926 # Check to make sure the static flag actually works.
7928 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
7930 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
7931 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7932 $as_echo_n "(cached
) " >&6
7934 lt_cv_prog_compiler_static_works=no
7935 save_LDFLAGS="$LDFLAGS"
7936 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7937 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7938 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7939 # The linker can only warn and ignore the option if not recognized
7940 # So say no if there are warnings
7941 if test -s conftest.err; then
7942 # Append any errors to the config.log.
7943 cat conftest.err 1>&5
7944 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
7945 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7946 if diff conftest.exp conftest.er2 >/dev/null; then
7947 lt_cv_prog_compiler_static_works=yes
7950 lt_cv_prog_compiler_static_works=yes
7954 LDFLAGS="$save_LDFLAGS"
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
7958 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7960 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7963 lt_prog_compiler_static=
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
7973 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
7974 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7975 $as_echo_n "(cached
) " >&6
7977 lt_cv_prog_compiler_c_o=no
7978 $RM -r conftest 2>/dev/null
7982 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7984 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
7985 # Insert the option either (1) after the last *FLAGS variable, or
7986 # (2) before a word containing "conftest.
", or (3) at the end.
7987 # Note that $ac_compile itself does not contain backslashes and begins
7988 # with a dollar sign (not a hyphen), so the echo should work correctly.
7989 lt_compile=`echo "$ac_compile" | $SED \
7990 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7991 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7992 -e 's:$: $lt_compiler_flag:'`
7993 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
7994 (eval "$lt_compile" 2>out/conftest.err)
7996 cat out/conftest.err >&5
7997 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7998 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8000 # The compiler can only warn and ignore the option if not recognized
8001 # So say no if there are warnings
8002 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8003 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8004 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8005 lt_cv_prog_compiler_c_o=yes
8010 # SGI C++ compiler will create directory out/ii_files/ for
8011 # template instantiation
8012 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8013 $RM out/* && rmdir out
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8020 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8028 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8029 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8030 $as_echo_n "(cached
) " >&6
8032 lt_cv_prog_compiler_c_o=no
8033 $RM -r conftest 2>/dev/null
8037 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8039 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8040 # Insert the option either (1) after the last *FLAGS variable, or
8041 # (2) before a word containing "conftest.
", or (3) at the end.
8042 # Note that $ac_compile itself does not contain backslashes and begins
8043 # with a dollar sign (not a hyphen), so the echo should work correctly.
8044 lt_compile=`echo "$ac_compile" | $SED \
8045 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8046 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8047 -e 's:$: $lt_compiler_flag:'`
8048 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8049 (eval "$lt_compile" 2>out/conftest.err)
8051 cat out/conftest.err >&5
8052 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8053 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8055 # The compiler can only warn and ignore the option if not recognized
8056 # So say no if there are warnings
8057 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8058 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8059 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8060 lt_cv_prog_compiler_c_o=yes
8065 # SGI C++ compiler will create directory out/ii_files/ for
8066 # template instantiation
8067 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8068 $RM out/* && rmdir out
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8075 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8080 hard_links="nottested
"
8081 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8082 # do not overwrite the value of need_locks provided by the user
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
8084 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
8087 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8089 ln conftest.a conftest.b 2>&5 || hard_links=no
8090 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
8092 $as_echo "$hard_links" >&6; }
8093 if test "$hard_links" = no; then
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8095 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
8108 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
8111 allow_undefined_flag=
8112 always_export_symbols=no
8114 archive_expsym_cmds=
8115 compiler_needs_object=no
8116 enable_shared_with_static_runtimes=no
8117 export_dynamic_flag_spec=
8118 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8119 hardcode_automatic=no
8121 hardcode_direct_absolute=no
8122 hardcode_libdir_flag_spec=
8123 hardcode_libdir_flag_spec_ld=
8124 hardcode_libdir_separator=
8126 hardcode_shlibpath_var=unsupported
8128 link_all_deplibs=unknown
8131 old_archive_from_new_cmds=
8132 old_archive_from_expsyms_cmds=
8133 thread_safe_flag_spec=
8134 whole_archive_flag_spec=
8135 # include_expsyms should be a list of space-separated symbols to be *always*
8136 # included in the symbol list
8138 # exclude_expsyms can be an extended regexp of symbols to exclude
8139 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8140 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8141 # as well as any symbol that contains `d'.
8142 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8143 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8144 # platforms (ab)use it in PIC code, but their linkers get confused if
8145 # the symbol is explicitly referenced. Since portable code cannot
8146 # rely on this symbol name, it's probably fine to never include it in
8147 # preloaded symbol tables.
8148 # Exclude shared library initialization/finalization symbols.
8149 extract_expsyms_cmds=
8152 cygwin* | mingw* | pw32* | cegcc*)
8153 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8154 # When not using gcc, we currently assume that we are using
8155 # Microsoft Visual C++.
8156 if test "$GCC" != yes; then
8161 # we just hope/assume this is gcc and not c89 (= MSVC++)
8171 # On some targets, GNU ld is compatible enough with the native linker
8172 # that we're better off using the native interface for both.
8173 lt_use_gnu_ld_interface=no
8174 if test "$with_gnu_ld" = yes; then
8177 # The AIX port of GNU ld has always aspired to compatibility
8178 # with the native linker. However, as the warning in the GNU ld
8179 # block says, versions before 2.19.5* couldn't really create working
8180 # shared libraries, regardless of the interface used.
8181 case `$LD -v 2>&1` in
8182 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8183 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8184 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8186 lt_use_gnu_ld_interface=yes
8191 lt_use_gnu_ld_interface=yes
8196 if test "$lt_use_gnu_ld_interface" = yes; then
8197 # If archive_cmds runs LD, not CC, wlarc should be empty
8200 # Set some defaults for GNU ld with shared library support. These
8201 # are reset later if shared libraries are not supported. Putting them
8202 # here allows them to be overridden if necessary.
8203 runpath_var=LD_RUN_PATH
8204 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8205 export_dynamic_flag_spec='${wl}--export-dynamic'
8206 # ancient GNU ld didn't support --whole-archive et. al.
8207 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8208 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8210 whole_archive_flag_spec=
8212 supports_anon_versioning=no
8213 case `$LD -v 2>&1` in
8214 *GNU\ gold*) supports_anon_versioning=yes ;;
8215 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8216 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8217 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8218 *\ 2.11.*) ;; # other 2.11 versions
8219 *) supports_anon_versioning=yes ;;
8222 # See if GNU ld supports shared libraries.
8225 # On AIX/PPC, the GNU linker is very broken
8226 if test "$host_cpu" != ia64; then
8230 *** Warning: the GNU linker, at least up to release 2.19, is reported
8231 *** to be unable to reliably create shared libraries on AIX.
8232 *** Therefore, libtool is disabling shared libraries support. If you
8233 *** really care for shared libraries, you may want to install binutils
8234 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8235 *** You will then need to restart the configuration process.
8244 # see comment about AmigaOS4 .so support
8245 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8246 archive_expsym_cmds=''
8249 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)'
8250 hardcode_libdir_flag_spec
='-L$libdir'
8251 hardcode_minus_L
=yes
8257 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8258 allow_undefined_flag
=unsupported
8259 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8260 # support --undefined. This deserves some investigation. FIXME
8261 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8267 cygwin
* | mingw
* | pw32
* | cegcc
*)
8268 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8269 # as there is no search path for DLLs.
8270 hardcode_libdir_flag_spec
='-L$libdir'
8271 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8272 allow_undefined_flag
=unsupported
8273 always_export_symbols
=no
8274 enable_shared_with_static_runtimes
=yes
8275 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8277 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8278 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8279 # If the export-symbols file already is a .def file (1st line
8280 # is EXPORTS), use it as is; otherwise, prepend...
8281 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8282 cp $export_symbols $output_objdir/$soname.def;
8284 echo EXPORTS > $output_objdir/$soname.def;
8285 cat $export_symbols >> $output_objdir/$soname.def;
8287 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8294 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8295 link_all_deplibs
=yes
8300 hardcode_shlibpath_var
=no
8301 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8302 export_dynamic_flag_spec
='${wl}-E'
8303 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8304 # Instead, shared libraries are loaded at an image base (0x10000000 by
8305 # default) and relocated if they conflict, which is a slow very memory
8306 # consuming and fragmenting process. To avoid this, we pick a random,
8307 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8308 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8309 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8310 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'
8313 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8315 if test "$host_os" = linux-dietlibc
; then
8316 case $cc_basename in
8317 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8320 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8321 && test "$tmp_diet" = no
8324 tmp_sharedflag
='-shared'
8325 case $cc_basename,$host_cpu in
8326 pgcc
*) # Portland Group C compiler
8327 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8328 tmp_addflag
=' $pic_flag'
8330 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8331 # Portland Group f77 and f90 compilers
8332 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8333 tmp_addflag
=' $pic_flag -Mnomain' ;;
8334 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8335 tmp_addflag
=' -i_dynamic' ;;
8336 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8337 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8338 ifc
* | ifort
*) # Intel Fortran compiler
8339 tmp_addflag
=' -nofor_main' ;;
8340 lf95
*) # Lahey Fortran 8.1
8341 whole_archive_flag_spec
=
8342 tmp_sharedflag
='--shared' ;;
8343 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8344 tmp_sharedflag
='-qmkshrobj'
8346 nvcc
*) # Cuda Compiler Driver 2.2
8347 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8348 compiler_needs_object
=yes
8351 case `$CC -V 2>&1 | sed 5q` in
8352 *Sun\ C
*) # Sun C 5.9
8353 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8354 compiler_needs_object
=yes
8355 tmp_sharedflag
='-G' ;;
8356 *Sun\ F
*) # Sun Fortran 8.3
8357 tmp_sharedflag
='-G' ;;
8359 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8361 if test "x$supports_anon_versioning" = xyes
; then
8362 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8363 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8364 echo "local: *; };" >> $output_objdir/$libname.ver~
8365 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8368 case $cc_basename in
8369 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8370 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8371 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8372 hardcode_libdir_flag_spec
=
8373 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8374 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8375 if test "x$supports_anon_versioning" = xyes
; then
8376 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8377 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8378 echo "local: *; };" >> $output_objdir/$libname.ver~
8379 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8389 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8390 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8393 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8394 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8399 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8403 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8404 *** create shared libraries on Solaris systems. Therefore, libtool
8405 *** is disabling shared libraries support. We urge you to upgrade GNU
8406 *** binutils to release 2.9.1 or newer. Another option is to modify
8407 *** your PATH or compiler configuration so that the native linker is
8408 *** used, and then restart.
8411 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8412 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8413 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8419 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8420 case `$LD -v 2>&1` in
8421 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8425 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8426 *** reliably create shared libraries on SCO systems. Therefore, libtool
8427 *** is disabling shared libraries support. We urge you to upgrade GNU
8428 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8429 *** your PATH or compiler configuration so that the native linker is
8430 *** used, and then restart.
8435 # For security reasons, it is highly recommended that you always
8436 # use absolute paths for naming shared libraries, and exclude the
8437 # DT_RUNPATH tag from executables and libraries. But doing so
8438 # requires that you compile everything twice, which is a pain.
8439 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8440 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8441 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8442 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8451 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8454 hardcode_shlibpath_var
=no
8458 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8459 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8460 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8467 if test "$ld_shlibs" = no
; then
8469 hardcode_libdir_flag_spec
=
8470 export_dynamic_flag_spec
=
8471 whole_archive_flag_spec
=
8474 # PORTME fill in a description of your system's linker (not GNU ld)
8477 allow_undefined_flag
=unsupported
8478 always_export_symbols
=yes
8479 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'
8480 # Note: this linker hardcodes the directories in LIBPATH if there
8481 # are no directories specified by -L.
8482 hardcode_minus_L
=yes
8483 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8484 # Neither direct hardcoding nor static linking is supported with a
8486 hardcode_direct
=unsupported
8491 if test "$host_cpu" = ia64
; then
8492 # On IA64, the linker does run time linking by default, so we don't
8493 # have to do anything special.
8494 aix_use_runtimelinking
=no
8495 exp_sym_flag
='-Bexport'
8498 # If we're using GNU nm, then we don't want the "-C" option.
8499 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8500 # Also, AIX nm treats weak defined symbols like other global
8501 # defined symbols, whereas GNU nm marks them as "W".
8502 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8503 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8505 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'
8507 aix_use_runtimelinking
=no
8509 # Test if we are trying to use run time linking or normal
8510 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8511 # need to do runtime linking.
8512 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8513 for ld_flag
in $LDFLAGS; do
8514 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8515 aix_use_runtimelinking
=yes
8522 exp_sym_flag
='-bexport'
8523 no_entry_flag
='-bnoentry'
8526 # When large executables or shared objects are built, AIX ld can
8527 # have problems creating the table of contents. If linking a library
8528 # or program results in "error TOC overflow" add -mminimal-toc to
8529 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8530 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8534 hardcode_direct_absolute
=yes
8535 hardcode_libdir_separator
=':'
8536 link_all_deplibs
=yes
8537 file_list_spec
='${wl}-f,'
8539 if test "$GCC" = yes; then
8540 case $host_os in aix4.
[012]|aix4.
[012].
*)
8541 # We only want to do this on AIX 4.2 and lower, the check
8542 # below for broken collect2 doesn't work under 4.3+
8543 collect2name
=`${CC} -print-prog-name=collect2`
8544 if test -f "$collect2name" &&
8545 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8547 # We have reworked collect2
8550 # We have old collect2
8551 hardcode_direct
=unsupported
8552 # It fails to find uninstalled libraries when the uninstalled
8553 # path is not listed in the libpath. Setting hardcode_minus_L
8554 # to unsupported forces relinking
8555 hardcode_minus_L
=yes
8556 hardcode_libdir_flag_spec
='-L$libdir'
8557 hardcode_libdir_separator
=
8561 shared_flag
='-shared'
8562 if test "$aix_use_runtimelinking" = yes; then
8563 shared_flag
="$shared_flag "'${wl}-G'
8567 if test "$host_cpu" = ia64
; then
8568 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8569 # chokes on -Wl,-G. The following line is correct:
8572 if test "$aix_use_runtimelinking" = yes; then
8573 shared_flag
='${wl}-G'
8575 shared_flag
='${wl}-bM:SRE'
8580 export_dynamic_flag_spec
='${wl}-bexpall'
8581 # It seems that -bexpall does not export symbols beginning with
8582 # underscore (_), so it is better to generate a list of symbols to export.
8583 always_export_symbols
=yes
8584 if test "$aix_use_runtimelinking" = yes; then
8585 # Warning - without using the other runtime loading flags (-brtl),
8586 # -berok will link without error, but may produce a broken library.
8587 allow_undefined_flag
='-berok'
8588 # Determine the default libpath from the value encoded in an
8590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8591 /* end confdefs.h. */
8601 if ac_fn_c_try_link
"$LINENO"; then :
8603 lt_aix_libpath_sed
='
8604 /Import File Strings/,/^$/ {
8610 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8611 # Check for a 64-bit object if we didn't find anything.
8612 if test -z "$aix_libpath"; then
8613 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8616 rm -f core conftest.err conftest.
$ac_objext \
8617 conftest
$ac_exeext conftest.
$ac_ext
8618 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8620 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8621 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8623 if test "$host_cpu" = ia64
; then
8624 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8625 allow_undefined_flag
="-z nodefs"
8626 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"
8628 # Determine the default libpath from the value encoded in an
8630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8631 /* end confdefs.h. */
8641 if ac_fn_c_try_link
"$LINENO"; then :
8643 lt_aix_libpath_sed
='
8644 /Import File Strings/,/^$/ {
8650 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8651 # Check for a 64-bit object if we didn't find anything.
8652 if test -z "$aix_libpath"; then
8653 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8656 rm -f core conftest.err conftest.
$ac_objext \
8657 conftest
$ac_exeext conftest.
$ac_ext
8658 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8660 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8661 # Warning - without using the other run time loading flags,
8662 # -berok will link without error, but may produce a broken library.
8663 no_undefined_flag
=' ${wl}-bernotok'
8664 allow_undefined_flag
=' ${wl}-berok'
8665 if test "$with_gnu_ld" = yes; then
8666 # We only use this code for GNU lds that support --whole-archive.
8667 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8669 # Exported symbols can be pulled into shared objects from archives
8670 whole_archive_flag_spec
='$convenience'
8672 archive_cmds_need_lc
=yes
8673 # This is similar to how AIX traditionally builds its shared libraries.
8674 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'
8682 # see comment about AmigaOS4 .so support
8683 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8684 archive_expsym_cmds
=''
8687 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)'
8688 hardcode_libdir_flag_spec
='-L$libdir'
8689 hardcode_minus_L
=yes
8695 export_dynamic_flag_spec
=-rdynamic
8698 cygwin
* | mingw
* | pw32
* | cegcc
*)
8699 # When not using gcc, we currently assume that we are using
8700 # Microsoft Visual C++.
8701 # hardcode_libdir_flag_spec is actually meaningless, as there is
8702 # no search path for DLLs.
8703 hardcode_libdir_flag_spec
=' '
8704 allow_undefined_flag
=unsupported
8705 # Tell ltmain to make .lib files, not .a files.
8707 # Tell ltmain to make .dll files, not .so files.
8709 # FIXME: Setting linknames here is a bad hack.
8710 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8711 # The linker will automatically build a .lib file if we build a DLL.
8712 old_archive_from_new_cmds
='true'
8713 # FIXME: Should let the user specify the lib program.
8714 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8715 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8716 enable_shared_with_static_runtimes
=yes
8719 darwin
* | rhapsody
*)
8722 archive_cmds_need_lc
=no
8724 hardcode_automatic
=yes
8725 hardcode_shlibpath_var
=unsupported
8726 if test "$lt_cv_ld_force_load" = "yes"; then
8727 whole_archive_flag_spec
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
8729 whole_archive_flag_spec
=''
8731 link_all_deplibs
=yes
8732 allow_undefined_flag
="$_lt_dar_allow_undefined"
8733 case $cc_basename in
8734 ifort
*) _lt_dar_can_shared
=yes ;;
8735 *) _lt_dar_can_shared
=$GCC ;;
8737 if test "$_lt_dar_can_shared" = "yes"; then
8738 output_verbose_link_cmd
=func_echo_all
8739 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8740 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8741 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}"
8742 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}"
8751 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8752 hardcode_libdir_flag_spec
='-L$libdir'
8753 hardcode_shlibpath_var
=no
8756 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8757 # support. Future versions do this automatically, but an explicit c++rt0.o
8758 # does not break anything, and helps significantly (at the cost of a little
8761 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8762 hardcode_libdir_flag_spec
='-R$libdir'
8764 hardcode_shlibpath_var
=no
8767 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8769 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8771 hardcode_minus_L
=yes
8772 hardcode_shlibpath_var
=no
8775 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8776 freebsd
* | dragonfly
*)
8777 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8778 hardcode_libdir_flag_spec
='-R$libdir'
8780 hardcode_shlibpath_var
=no
8784 if test "$GCC" = yes; then
8785 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'
8787 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'
8789 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8790 hardcode_libdir_separator
=:
8793 # hardcode_minus_L: Not really in the search PATH,
8794 # but as the default location of the library.
8795 hardcode_minus_L
=yes
8796 export_dynamic_flag_spec
='${wl}-E'
8800 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8801 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8803 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8805 if test "$with_gnu_ld" = no
; then
8806 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8807 hardcode_libdir_flag_spec_ld
='+b $libdir'
8808 hardcode_libdir_separator
=:
8810 hardcode_direct_absolute
=yes
8811 export_dynamic_flag_spec
='${wl}-E'
8812 # hardcode_minus_L: Not really in the search PATH,
8813 # but as the default location of the library.
8814 hardcode_minus_L
=yes
8819 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8822 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8825 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8828 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8834 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8837 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8841 # Older versions of the 11.00 compiler do not understand -b yet
8842 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
8844 $as_echo_n "checking if $CC understands -b... " >&6; }
8845 if test "${lt_cv_prog_compiler__b+set}" = set; then :
8846 $as_echo_n "(cached) " >&6
8848 lt_cv_prog_compiler__b
=no
8849 save_LDFLAGS
="$LDFLAGS"
8850 LDFLAGS
="$LDFLAGS -b"
8851 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8852 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8853 # The linker can only warn and ignore the option if not recognized
8854 # So say no if there are warnings
8855 if test -s conftest.err
; then
8856 # Append any errors to the config.log.
8857 cat conftest.err
1>&5
8858 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8859 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8860 if diff conftest.exp conftest.er2
>/dev
/null
; then
8861 lt_cv_prog_compiler__b
=yes
8864 lt_cv_prog_compiler__b
=yes
8868 LDFLAGS
="$save_LDFLAGS"
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
8872 $as_echo "$lt_cv_prog_compiler__b" >&6; }
8874 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
8875 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8877 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8883 if test "$with_gnu_ld" = no
; then
8884 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8885 hardcode_libdir_separator
=:
8890 hardcode_shlibpath_var
=no
8894 hardcode_direct_absolute
=yes
8895 export_dynamic_flag_spec
='${wl}-E'
8897 # hardcode_minus_L: Not really in the search PATH,
8898 # but as the default location of the library.
8899 hardcode_minus_L
=yes
8905 irix5
* | irix6
* | nonstopux
*)
8906 if test "$GCC" = yes; then
8907 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8908 # Try to use the -exported_symbol ld option, if it does not
8909 # work, assume that -exports_file does not work either and
8910 # implicitly export all symbols.
8911 save_LDFLAGS
="$LDFLAGS"
8912 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8914 /* end confdefs.h. */
8917 if ac_fn_c_try_link
"$LINENO"; then :
8918 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8921 rm -f core conftest.err conftest.
$ac_objext \
8922 conftest
$ac_exeext conftest.
$ac_ext
8923 LDFLAGS
="$save_LDFLAGS"
8925 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
8926 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8928 archive_cmds_need_lc
='no'
8929 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8930 hardcode_libdir_separator
=:
8932 link_all_deplibs
=yes
8936 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8937 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8939 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8941 hardcode_libdir_flag_spec
='-R$libdir'
8943 hardcode_shlibpath_var
=no
8947 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8949 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8950 hardcode_libdir_separator
=:
8951 hardcode_shlibpath_var
=no
8958 if test -f /usr
/libexec
/ld.so
; then
8960 hardcode_shlibpath_var
=no
8961 hardcode_direct_absolute
=yes
8962 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8963 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8964 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8965 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8966 export_dynamic_flag_spec
='${wl}-E'
8969 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8970 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8971 hardcode_libdir_flag_spec
='-R$libdir'
8974 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8975 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8985 hardcode_libdir_flag_spec
='-L$libdir'
8986 hardcode_minus_L
=yes
8987 allow_undefined_flag
=unsupported
8988 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'
8989 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8993 if test "$GCC" = yes; then
8994 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8995 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8997 allow_undefined_flag
=' -expect_unresolved \*'
8998 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9000 archive_cmds_need_lc
='no'
9001 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9002 hardcode_libdir_separator
=:
9005 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9006 if test "$GCC" = yes; then
9007 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9008 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9009 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9011 allow_undefined_flag
=' -expect_unresolved \*'
9012 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9013 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~
9014 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9016 # Both c and cxx compiler support -rpath directly
9017 hardcode_libdir_flag_spec
='-rpath $libdir'
9019 archive_cmds_need_lc
='no'
9020 hardcode_libdir_separator
=:
9024 no_undefined_flag
=' -z defs'
9025 if test "$GCC" = yes; then
9027 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9028 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9029 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9031 case `$CC -V 2>&1` in
9034 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9035 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9036 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9040 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9041 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9042 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9046 hardcode_libdir_flag_spec
='-R$libdir'
9047 hardcode_shlibpath_var
=no
9049 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9051 # The compiler driver will combine and reorder linker options,
9052 # but understands `-z linker_flag'. GCC discards it without `$wl',
9053 # but is careful enough not to reorder.
9054 # Supported since Solaris 2.6 (maybe 2.5.1?)
9055 if test "$GCC" = yes; then
9056 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9058 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9062 link_all_deplibs
=yes
9066 if test "x$host_vendor" = xsequent
; then
9067 # Use $CC to link under sequent, because it throws in some extra .o
9068 # files that make .init and .fini sections work.
9069 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9071 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9073 hardcode_libdir_flag_spec
='-L$libdir'
9075 hardcode_minus_L
=yes
9076 hardcode_shlibpath_var
=no
9080 case $host_vendor in
9082 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9083 hardcode_direct
=yes # is this really true???
9086 ## LD is ld it makes a PLAMLIB
9087 ## CC just makes a GrossModule.
9088 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9089 reload_cmds
='$CC -r -o $output$reload_objs'
9093 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9094 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9097 runpath_var
='LD_RUN_PATH'
9098 hardcode_shlibpath_var
=no
9102 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9103 hardcode_shlibpath_var
=no
9104 export_dynamic_flag_spec
='-Bexport'
9108 if test -d /usr
/nec
; then
9109 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9110 hardcode_shlibpath_var
=no
9111 runpath_var
=LD_RUN_PATH
9112 hardcode_runpath_var
=yes
9117 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9118 no_undefined_flag
='${wl}-z,text'
9119 archive_cmds_need_lc
=no
9120 hardcode_shlibpath_var
=no
9121 runpath_var
='LD_RUN_PATH'
9123 if test "$GCC" = yes; then
9124 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9125 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9127 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9128 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9132 sysv5
* | sco3.2v5
* | sco5v6
*)
9133 # Note: We can NOT use -z defs as we might desire, because we do not
9134 # link with -lc, and that would cause any symbols used from libc to
9135 # always be unresolved, which means just about no library would
9136 # ever link correctly. If we're not using GNU ld we use -z text
9137 # though, which does catch some bad symbols but isn't as heavy-handed
9139 no_undefined_flag
='${wl}-z,text'
9140 allow_undefined_flag
='${wl}-z,nodefs'
9141 archive_cmds_need_lc
=no
9142 hardcode_shlibpath_var
=no
9143 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9144 hardcode_libdir_separator
=':'
9145 link_all_deplibs
=yes
9146 export_dynamic_flag_spec
='${wl}-Bexport'
9147 runpath_var
='LD_RUN_PATH'
9149 if test "$GCC" = yes; then
9150 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9151 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9153 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9154 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9159 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9160 hardcode_libdir_flag_spec
='-L$libdir'
9161 hardcode_shlibpath_var
=no
9169 if test x
$host_vendor = xsni
; then
9171 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9172 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9179 $as_echo "$ld_shlibs" >&6; }
9180 test "$ld_shlibs" = no
&& can_build_shared
=no
9182 with_gnu_ld
=$with_gnu_ld
9199 # Do we need to explicitly link libc?
9201 case "x$archive_cmds_need_lc" in
9203 # Assume -lc should be added
9204 archive_cmds_need_lc
=yes
9206 if test "$enable_shared" = yes && test "$GCC" = yes; then
9207 case $archive_cmds in
9209 # FIXME: we may have to deal with multi-command sequences.
9212 # Test whether the compiler implicitly links with -lc since on some
9213 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9214 # to ld, don't add -lc before -lgcc.
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9216 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9217 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9218 $as_echo_n "(cached) " >&6
9221 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9223 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9224 (eval $ac_compile) 2>&5
9226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9227 test $ac_status = 0; } 2>conftest.err
; then
9230 libobjs
=conftest.
$ac_objext
9232 wl
=$lt_prog_compiler_wl
9233 pic_flag
=$lt_prog_compiler_pic
9239 lt_save_allow_undefined_flag
=$allow_undefined_flag
9240 allow_undefined_flag
=
9241 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9242 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9245 test $ac_status = 0; }
9247 lt_cv_archive_cmds_need_lc
=no
9249 lt_cv_archive_cmds_need_lc
=yes
9251 allow_undefined_flag
=$lt_save_allow_undefined_flag
9253 cat conftest.err
1>&5
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9259 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9260 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9424 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9426 if test "$GCC" = yes; then
9428 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9429 *) lt_awk_arg
="/^libraries:/" ;;
9432 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9433 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9435 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9436 case $lt_search_path_spec in
9438 # if the path contains ";" then we assume it to be the separator
9439 # otherwise default to the standard path separator (i.e. ":") - it is
9440 # assumed that no part of a normal pathname contains ";" but that should
9441 # okay in the real world where ";" in dirpaths is itself problematic.
9442 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9445 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9448 # Ok, now we have the path, separated by spaces, we can step through it
9449 # and add multilib dir if necessary.
9450 lt_tmp_lt_search_path_spec
=
9451 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9452 for lt_sys_path
in $lt_search_path_spec; do
9453 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9454 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9456 test -d "$lt_sys_path" && \
9457 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9460 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9461 BEGIN {RS=" "; FS="/|\n";} {
9464 for (lt_i = NF; lt_i > 0; lt_i--) {
9465 if ($lt_i != "" && $lt_i != ".") {
9466 if ($lt_i == "..") {
9469 if (lt_count == 0) {
9470 lt_foo="/" $lt_i lt_foo;
9477 if (lt_foo != "") { lt_freq[lt_foo]++; }
9478 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9480 # AWK program above erroneously prepends '/' to C:/dos/paths
9483 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9484 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9486 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9488 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9491 libname_spec
='lib$name'
9499 shlibpath_overrides_runpath
=unknown
9501 dynamic_linker
="$host_os ld.so"
9502 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9503 need_lib_prefix
=unknown
9504 hardcode_into_libs
=no
9506 # when you set need_version to no, make sure it does not cause -set_version
9507 # flags to be left without arguments
9508 need_version
=unknown
9513 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9514 shlibpath_var
=LIBPATH
9516 # AIX 3 has no versioning support, so we append a major version to the name.
9517 soname_spec
='${libname}${release}${shared_ext}$major'
9524 hardcode_into_libs
=yes
9525 if test "$host_cpu" = ia64
; then
9526 # AIX 5 supports IA64
9527 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9528 shlibpath_var
=LD_LIBRARY_PATH
9530 # With GCC up to 2.95.x, collect2 would create an import file
9531 # for dependence libraries. The import file would start with
9532 # the line `#! .'. This would cause the generated library to
9533 # depend on `.', always an invalid library. This was fixed in
9534 # development snapshots of GCC prior to 3.0.
9536 aix4 | aix4.
[01] | aix4.
[01].
*)
9537 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9539 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9546 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9547 # soname into executable. Probably we can add versioning support to
9548 # collect2, so additional links can be useful in future.
9549 if test "$aix_use_runtimelinking" = yes; then
9550 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9551 # instead of lib<name>.a to let people know that these are not
9552 # typical AIX shared libraries.
9553 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9555 # We preserve .a as extension for shared libraries through AIX4.2
9556 # and later when we are not doing run time linking.
9557 library_names_spec
='${libname}${release}.a $libname.a'
9558 soname_spec
='${libname}${release}${shared_ext}$major'
9560 shlibpath_var
=LIBPATH
9567 # Since July 2007 AmigaOS4 officially supports .so libraries.
9568 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9569 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9572 library_names_spec
='$libname.ixlibrary $libname.a'
9573 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9574 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9580 library_names_spec
='${libname}${shared_ext}'
9581 dynamic_linker
="$host_os ld.so"
9582 shlibpath_var
=LIBRARY_PATH
9588 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9589 soname_spec
='${libname}${release}${shared_ext}$major'
9590 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9591 shlibpath_var
=LD_LIBRARY_PATH
9592 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9593 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9594 # the default ld.so.conf also contains /usr/contrib/lib and
9595 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9596 # libtool to hard-code these into programs
9599 cygwin
* | mingw
* | pw32
* | cegcc
*)
9600 version_type
=windows
9605 case $GCC,$host_os in
9606 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9607 library_names_spec
='$libname.dll.a'
9608 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9609 postinstall_cmds
='base_file=`basename \${file}`~
9610 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9611 dldir=$destdir/`dirname \$dlpath`~
9612 test -d \$dldir || mkdir -p \$dldir~
9613 $install_prog $dir/$dlname \$dldir/$dlname~
9614 chmod a+x \$dldir/$dlname~
9615 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9616 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9618 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9619 dlpath=$dir/\$dldll~
9621 shlibpath_overrides_runpath
=yes
9625 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9626 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9628 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9631 # MinGW DLLs use traditional 'lib' prefix
9632 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9635 # pw32 DLLs use 'pw' prefix rather than 'lib'
9636 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9642 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9645 dynamic_linker
='Win32 ld.exe'
9646 # FIXME: first we should search . and the directory the executable is in
9650 darwin
* | rhapsody
*)
9651 dynamic_linker
="$host_os dyld"
9655 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9656 soname_spec
='${libname}${release}${major}$shared_ext'
9657 shlibpath_overrides_runpath
=yes
9658 shlibpath_var
=DYLD_LIBRARY_PATH
9659 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9661 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9662 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9669 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9670 soname_spec
='${libname}${release}${shared_ext}$major'
9671 shlibpath_var
=LD_LIBRARY_PATH
9674 freebsd
* | dragonfly
*)
9675 # DragonFly does not have aout. When/if they implement a new
9676 # versioning mechanism, adjust this.
9677 if test -x /usr
/bin
/objformat
; then
9678 objformat
=`/usr/bin/objformat`
9681 freebsd
[23].
*) objformat
=aout
;;
9685 version_type
=freebsd-
$objformat
9686 case $version_type in
9688 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9693 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9697 shlibpath_var
=LD_LIBRARY_PATH
9700 shlibpath_overrides_runpath
=yes
9702 freebsd3.
[01]* | freebsdelf3.
[01]*)
9703 shlibpath_overrides_runpath
=yes
9704 hardcode_into_libs
=yes
9706 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9707 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9708 shlibpath_overrides_runpath
=no
9709 hardcode_into_libs
=yes
9711 *) # from 4.6 on, and DragonFly
9712 shlibpath_overrides_runpath
=yes
9713 hardcode_into_libs
=yes
9722 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9723 soname_spec
='${libname}${release}${shared_ext}$major'
9724 shlibpath_var
=LD_LIBRARY_PATH
9725 hardcode_into_libs
=yes
9732 dynamic_linker
="$host_os runtime_loader"
9733 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9734 soname_spec
='${libname}${release}${shared_ext}$major'
9735 shlibpath_var
=LIBRARY_PATH
9736 shlibpath_overrides_runpath
=yes
9737 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
9738 hardcode_into_libs
=yes
9741 hpux9
* | hpux10
* | hpux11
*)
9742 # Give a soname corresponding to the major version so that dld.sl refuses to
9743 # link against other versions.
9750 hardcode_into_libs
=yes
9751 dynamic_linker
="$host_os dld.so"
9752 shlibpath_var
=LD_LIBRARY_PATH
9753 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9754 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9755 soname_spec
='${libname}${release}${shared_ext}$major'
9756 if test "X$HPUX_IA64_MODE" = X32
; then
9757 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9759 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9761 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9765 hardcode_into_libs
=yes
9766 dynamic_linker
="$host_os dld.sl"
9767 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9768 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9769 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9770 soname_spec
='${libname}${release}${shared_ext}$major'
9771 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9772 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9776 dynamic_linker
="$host_os dld.sl"
9777 shlibpath_var
=SHLIB_PATH
9778 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9779 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9780 soname_spec
='${libname}${release}${shared_ext}$major'
9783 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9784 postinstall_cmds
='chmod 555 $lib'
9785 # or fails outright, so override atomically:
9786 install_override_mode
=555
9793 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9794 soname_spec
='${libname}${release}${shared_ext}$major'
9795 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9796 shlibpath_var
=LD_LIBRARY_PATH
9797 shlibpath_overrides_runpath
=no
9798 hardcode_into_libs
=yes
9801 irix5
* | irix6
* | nonstopux
*)
9803 nonstopux
*) version_type
=nonstopux
;;
9805 if test "$lt_cv_prog_gnu_ld" = yes; then
9813 soname_spec
='${libname}${release}${shared_ext}$major'
9814 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9816 irix5
* | nonstopux
*)
9820 case $LD in # libtool.m4 will add one of these switches to LD
9821 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9822 libsuff
= shlibsuff
= libmagic
=32-bit;;
9823 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9824 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9825 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9826 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9827 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9831 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9832 shlibpath_overrides_runpath
=no
9833 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9834 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9835 hardcode_into_libs
=yes
9838 # No shared lib support for Linux oldld, aout, or coff.
9839 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9843 # This must be Linux ELF.
9844 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9848 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9849 soname_spec
='${libname}${release}${shared_ext}$major'
9850 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9851 shlibpath_var
=LD_LIBRARY_PATH
9852 shlibpath_overrides_runpath
=no
9854 # Some binutils ld are patched to set DT_RUNPATH
9855 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
9856 $as_echo_n "(cached) " >&6
9858 lt_cv_shlibpath_overrides_runpath
=no
9859 save_LDFLAGS
=$LDFLAGS
9861 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9862 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9864 /* end confdefs.h. */
9874 if ac_fn_c_try_link
"$LINENO"; then :
9875 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
9876 lt_cv_shlibpath_overrides_runpath
=yes
9879 rm -f core conftest.err conftest.
$ac_objext \
9880 conftest
$ac_exeext conftest.
$ac_ext
9881 LDFLAGS
=$save_LDFLAGS
9886 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
9888 # This implies no fast_install, which is unacceptable.
9889 # Some rework will be needed to allow for fast_install
9890 # before this can be enabled.
9891 hardcode_into_libs
=yes
9893 # Append ld.so.conf contents to the search path
9894 if test -f /etc
/ld.so.conf
; then
9895 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
9896 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9899 # We used to test for /lib/ld.so.1 and disable shared libraries on
9900 # powerpc, because MkLinux only supported shared libraries with the
9901 # GNU dynamic linker. Since this was broken with cross compilers,
9902 # most powerpc-linux boxes support dynamic linking these days and
9903 # people can always --disable-shared, the test was removed, and we
9904 # assume the GNU/Linux dynamic linker is in use.
9905 dynamic_linker
='GNU/Linux ld.so'
9912 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9913 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9914 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9915 dynamic_linker
='NetBSD (a.out) ld.so'
9917 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9918 soname_spec
='${libname}${release}${shared_ext}$major'
9919 dynamic_linker
='NetBSD ld.elf_so'
9921 shlibpath_var
=LD_LIBRARY_PATH
9922 shlibpath_overrides_runpath
=yes
9923 hardcode_into_libs
=yes
9928 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9929 shlibpath_var
=LD_LIBRARY_PATH
9930 shlibpath_overrides_runpath
=yes
9937 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9938 soname_spec
='${libname}${release}${shared_ext}$major'
9939 shlibpath_var
=LD_LIBRARY_PATH
9940 shlibpath_overrides_runpath
=no
9941 hardcode_into_libs
=yes
9942 dynamic_linker
='ldqnx.so'
9947 sys_lib_dlsearch_path_spec
="/usr/lib"
9949 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9951 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9952 *) need_version
=no
;;
9954 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9955 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9956 shlibpath_var
=LD_LIBRARY_PATH
9957 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9959 openbsd2.
[89] | openbsd2.
[89].
*)
9960 shlibpath_overrides_runpath
=no
9963 shlibpath_overrides_runpath
=yes
9967 shlibpath_overrides_runpath
=yes
9972 libname_spec
='$name'
9975 library_names_spec
='$libname${shared_ext} $libname.a'
9976 dynamic_linker
='OS/2 ld.exe'
9977 shlibpath_var
=LIBPATH
9980 osf3
* | osf4
* | osf5
*)
9984 soname_spec
='${libname}${release}${shared_ext}$major'
9985 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9986 shlibpath_var
=LD_LIBRARY_PATH
9987 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9988 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9999 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10000 soname_spec
='${libname}${release}${shared_ext}$major'
10001 shlibpath_var
=LD_LIBRARY_PATH
10002 shlibpath_overrides_runpath
=yes
10003 hardcode_into_libs
=yes
10004 # ldd complains unless libraries are executable
10005 postinstall_cmds
='chmod +x $lib'
10010 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10011 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10012 shlibpath_var
=LD_LIBRARY_PATH
10013 shlibpath_overrides_runpath
=yes
10014 if test "$with_gnu_ld" = yes; then
10022 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10023 soname_spec
='${libname}${release}${shared_ext}$major'
10024 shlibpath_var
=LD_LIBRARY_PATH
10025 case $host_vendor in
10027 shlibpath_overrides_runpath
=no
10029 runpath_var
=LD_RUN_PATH
10037 shlibpath_overrides_runpath
=no
10038 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10044 if test -d /usr
/nec
;then
10046 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10047 soname_spec
='$libname${shared_ext}.$major'
10048 shlibpath_var
=LD_LIBRARY_PATH
10052 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10053 version_type
=freebsd-elf
10056 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10057 soname_spec
='${libname}${release}${shared_ext}$major'
10058 shlibpath_var
=LD_LIBRARY_PATH
10059 shlibpath_overrides_runpath
=yes
10060 hardcode_into_libs
=yes
10061 if test "$with_gnu_ld" = yes; then
10062 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10064 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10067 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10071 sys_lib_dlsearch_path_spec
='/usr/lib'
10075 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10079 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10080 shlibpath_var
=LD_LIBRARY_PATH
10081 shlibpath_overrides_runpath
=no
10082 hardcode_into_libs
=yes
10087 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10088 soname_spec
='${libname}${release}${shared_ext}$major'
10089 shlibpath_var
=LD_LIBRARY_PATH
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10097 $as_echo "$dynamic_linker" >&6; }
10098 test "$dynamic_linker" = no
&& can_build_shared
=no
10100 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10101 if test "$GCC" = yes; then
10102 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10105 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10106 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10108 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10109 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10204 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10206 if test -n "$hardcode_libdir_flag_spec" ||
10207 test -n "$runpath_var" ||
10208 test "X$hardcode_automatic" = "Xyes" ; then
10210 # We can hardcode non-existent directories.
10211 if test "$hardcode_direct" != no
&&
10212 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10213 # have to relink, otherwise we might link with an installed library
10214 # when we should be linking with a yet-to-be-installed one
10215 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10216 test "$hardcode_minus_L" != no
; then
10217 # Linking always hardcodes the temporary library directory.
10218 hardcode_action
=relink
10220 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10221 hardcode_action
=immediate
10224 # We cannot hardcode anything, or else we can only hardcode existing
10226 hardcode_action
=unsupported
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10229 $as_echo "$hardcode_action" >&6; }
10231 if test "$hardcode_action" = relink ||
10232 test "$inherit_rpath" = yes; then
10233 # Fast installation is not supported
10234 enable_fast_install
=no
10235 elif test "$shlibpath_overrides_runpath" = yes ||
10236 test "$enable_shared" = no
; then
10237 # Fast installation is not necessary
10238 enable_fast_install
=needless
10246 if test "x$enable_dlopen" != xyes
; then
10247 enable_dlopen
=unknown
10248 enable_dlopen_self
=unknown
10249 enable_dlopen_self_static
=unknown
10256 lt_cv_dlopen
="load_add_on"
10258 lt_cv_dlopen_self
=yes
10261 mingw
* | pw32
* | cegcc
*)
10262 lt_cv_dlopen
="LoadLibrary"
10267 lt_cv_dlopen
="dlopen"
10272 # if libdl is installed we need to link against it
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10274 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10275 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10276 $as_echo_n "(cached) " >&6
10278 ac_check_lib_save_LIBS
=$LIBS
10280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10281 /* end confdefs.h. */
10283 /* Override any GCC internal prototype to avoid an error.
10284 Use char because int might match the return type of a GCC
10285 builtin and then its argument prototype would still apply. */
10298 if ac_fn_c_try_link
"$LINENO"; then :
10299 ac_cv_lib_dl_dlopen
=yes
10301 ac_cv_lib_dl_dlopen
=no
10303 rm -f core conftest.err conftest.
$ac_objext \
10304 conftest
$ac_exeext conftest.
$ac_ext
10305 LIBS
=$ac_check_lib_save_LIBS
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10308 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10309 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10310 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10313 lt_cv_dlopen
="dyld"
10315 lt_cv_dlopen_self
=yes
10322 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10323 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10324 lt_cv_dlopen
="shl_load"
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10327 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10328 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10329 $as_echo_n "(cached) " >&6
10331 ac_check_lib_save_LIBS
=$LIBS
10333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10334 /* end confdefs.h. */
10336 /* Override any GCC internal prototype to avoid an error.
10337 Use char because int might match the return type of a GCC
10338 builtin and then its argument prototype would still apply. */
10346 return shl_load ();
10351 if ac_fn_c_try_link
"$LINENO"; then :
10352 ac_cv_lib_dld_shl_load
=yes
10354 ac_cv_lib_dld_shl_load
=no
10356 rm -f core conftest.err conftest.
$ac_objext \
10357 conftest
$ac_exeext conftest.
$ac_ext
10358 LIBS
=$ac_check_lib_save_LIBS
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10361 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10362 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10363 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10365 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10366 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10367 lt_cv_dlopen
="dlopen"
10369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10370 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10371 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10372 $as_echo_n "(cached) " >&6
10374 ac_check_lib_save_LIBS
=$LIBS
10376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10377 /* end confdefs.h. */
10379 /* Override any GCC internal prototype to avoid an error.
10380 Use char because int might match the return type of a GCC
10381 builtin and then its argument prototype would still apply. */
10394 if ac_fn_c_try_link
"$LINENO"; then :
10395 ac_cv_lib_dl_dlopen
=yes
10397 ac_cv_lib_dl_dlopen
=no
10399 rm -f core conftest.err conftest.
$ac_objext \
10400 conftest
$ac_exeext conftest.
$ac_ext
10401 LIBS
=$ac_check_lib_save_LIBS
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10404 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10405 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10406 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10409 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10410 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10411 $as_echo_n "(cached) " >&6
10413 ac_check_lib_save_LIBS
=$LIBS
10414 LIBS
="-lsvld $LIBS"
10415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10416 /* end confdefs.h. */
10418 /* Override any GCC internal prototype to avoid an error.
10419 Use char because int might match the return type of a GCC
10420 builtin and then its argument prototype would still apply. */
10433 if ac_fn_c_try_link
"$LINENO"; then :
10434 ac_cv_lib_svld_dlopen
=yes
10436 ac_cv_lib_svld_dlopen
=no
10438 rm -f core conftest.err conftest.
$ac_objext \
10439 conftest
$ac_exeext conftest.
$ac_ext
10440 LIBS
=$ac_check_lib_save_LIBS
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10443 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10444 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10445 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10448 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10449 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10450 $as_echo_n "(cached) " >&6
10452 ac_check_lib_save_LIBS
=$LIBS
10454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10455 /* end confdefs.h. */
10457 /* Override any GCC internal prototype to avoid an error.
10458 Use char because int might match the return type of a GCC
10459 builtin and then its argument prototype would still apply. */
10467 return dld_link ();
10472 if ac_fn_c_try_link
"$LINENO"; then :
10473 ac_cv_lib_dld_dld_link
=yes
10475 ac_cv_lib_dld_dld_link
=no
10477 rm -f core conftest.err conftest.
$ac_objext \
10478 conftest
$ac_exeext conftest.
$ac_ext
10479 LIBS
=$ac_check_lib_save_LIBS
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10482 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10483 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10484 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10505 if test "x$lt_cv_dlopen" != xno
; then
10511 case $lt_cv_dlopen in
10513 save_CPPFLAGS
="$CPPFLAGS"
10514 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10516 save_LDFLAGS
="$LDFLAGS"
10517 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10520 LIBS
="$lt_cv_dlopen_libs $LIBS"
10522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10523 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10524 if test "${lt_cv_dlopen_self+set}" = set; then :
10525 $as_echo_n "(cached) " >&6
10527 if test "$cross_compiling" = yes; then :
10528 lt_cv_dlopen_self
=cross
10530 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10531 lt_status
=$lt_dlunknown
10532 cat > conftest.
$ac_ext <<_LT_EOF
10533 #line 10533 "configure"
10534 #include "confdefs.h"
10543 # define LT_DLGLOBAL RTLD_GLOBAL
10546 # define LT_DLGLOBAL DL_GLOBAL
10548 # define LT_DLGLOBAL 0
10552 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10553 find out it does not work in some platform. */
10554 #ifndef LT_DLLAZY_OR_NOW
10556 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10559 # define LT_DLLAZY_OR_NOW DL_LAZY
10562 # define LT_DLLAZY_OR_NOW RTLD_NOW
10565 # define LT_DLLAZY_OR_NOW DL_NOW
10567 # define LT_DLLAZY_OR_NOW 0
10574 /* When -fvisbility=hidden is used, assume the code has been annotated
10575 correspondingly for the symbols needed. */
10576 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10577 void fnord () __attribute__((visibility("default")));
10580 void fnord () { int i=42; }
10583 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10584 int status = $lt_dlunknown;
10588 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10591 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10592 else puts (dlerror ());
10594 /* dlclose (self); */
10602 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10603 (eval $ac_link) 2>&5
10605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10606 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10607 (.
/conftest
; exit; ) >&5 2>/dev
/null
10609 case x
$lt_status in
10610 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10611 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10612 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10615 # compilation failed
10616 lt_cv_dlopen_self
=no
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10624 $as_echo "$lt_cv_dlopen_self" >&6; }
10626 if test "x$lt_cv_dlopen_self" = xyes
; then
10627 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10629 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10630 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10631 $as_echo_n "(cached) " >&6
10633 if test "$cross_compiling" = yes; then :
10634 lt_cv_dlopen_self_static
=cross
10636 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10637 lt_status
=$lt_dlunknown
10638 cat > conftest.
$ac_ext <<_LT_EOF
10639 #line 10639 "configure"
10640 #include "confdefs.h"
10649 # define LT_DLGLOBAL RTLD_GLOBAL
10652 # define LT_DLGLOBAL DL_GLOBAL
10654 # define LT_DLGLOBAL 0
10658 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10659 find out it does not work in some platform. */
10660 #ifndef LT_DLLAZY_OR_NOW
10662 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10665 # define LT_DLLAZY_OR_NOW DL_LAZY
10668 # define LT_DLLAZY_OR_NOW RTLD_NOW
10671 # define LT_DLLAZY_OR_NOW DL_NOW
10673 # define LT_DLLAZY_OR_NOW 0
10680 /* When -fvisbility=hidden is used, assume the code has been annotated
10681 correspondingly for the symbols needed. */
10682 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10683 void fnord () __attribute__((visibility("default")));
10686 void fnord () { int i=42; }
10689 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10690 int status = $lt_dlunknown;
10694 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10697 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10698 else puts (dlerror ());
10700 /* dlclose (self); */
10708 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10709 (eval $ac_link) 2>&5
10711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10712 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10713 (.
/conftest
; exit; ) >&5 2>/dev
/null
10715 case x
$lt_status in
10716 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10717 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10718 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10721 # compilation failed
10722 lt_cv_dlopen_self_static
=no
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10730 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10733 CPPFLAGS
="$save_CPPFLAGS"
10734 LDFLAGS
="$save_LDFLAGS"
10739 case $lt_cv_dlopen_self in
10740 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10741 *) enable_dlopen_self
=unknown
;;
10744 case $lt_cv_dlopen_self_static in
10745 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10746 *) enable_dlopen_self_static
=unknown
;;
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10769 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10770 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10771 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10772 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10774 $as_echo "yes" >&6; }
10776 # FIXME - insert some real tests, host_os isn't really good enough
10779 if test -n "$STRIP" ; then
10780 striplib
="$STRIP -x"
10781 old_striplib
="$STRIP -S"
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10783 $as_echo "yes" >&6; }
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10786 $as_echo "no" >&6; }
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10791 $as_echo "no" >&6; }
10807 # Report which library types will actually be built
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10809 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10811 $as_echo "$can_build_shared" >&6; }
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10814 $as_echo_n "checking whether to build shared libraries... " >&6; }
10815 test "$can_build_shared" = "no" && enable_shared
=no
10817 # On AIX, shared libraries and static libraries use the same namespace, and
10818 # are all built from PIC.
10821 test "$enable_shared" = yes && enable_static
=no
10822 if test -n "$RANLIB"; then
10823 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10824 postinstall_cmds
='$RANLIB $lib'
10829 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10830 test "$enable_shared" = yes && enable_static
=no
10834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10835 $as_echo "$enable_shared" >&6; }
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10838 $as_echo_n "checking whether to build static libraries... " >&6; }
10839 # Make sure either enable_shared or enable_static is yes.
10840 test "$enable_shared" = yes || enable_static
=yes
10841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10842 $as_echo "$enable_static" >&6; }
10849 ac_cpp
='$CPP $CPPFLAGS'
10850 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10851 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10852 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10868 ac_config_commands
="$ac_config_commands libtool"
10873 # Only expand once:
10878 ac_cpp
='$CXXCPP $CPPFLAGS'
10879 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10880 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10881 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10882 if test -z "$CXX"; then
10883 if test -n "$CCC"; then
10886 if test -n "$ac_tool_prefix"; then
10887 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
10889 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10890 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10892 $as_echo_n "checking for $ac_word... " >&6; }
10893 if test "${ac_cv_prog_CXX+set}" = set; then :
10894 $as_echo_n "(cached) " >&6
10896 if test -n "$CXX"; then
10897 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
10899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10900 for as_dir
in $PATH
10903 test -z "$as_dir" && as_dir
=.
10904 for ac_exec_ext
in '' $ac_executable_extensions; do
10905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10906 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
10907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10916 CXX
=$ac_cv_prog_CXX
10917 if test -n "$CXX"; then
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
10919 $as_echo "$CXX" >&6; }
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10922 $as_echo "no" >&6; }
10926 test -n "$CXX" && break
10929 if test -z "$CXX"; then
10931 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
10933 # Extract the first word of "$ac_prog", so it can be a program name with args.
10934 set dummy
$ac_prog; ac_word
=$2
10935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10936 $as_echo_n "checking for $ac_word... " >&6; }
10937 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
10938 $as_echo_n "(cached) " >&6
10940 if test -n "$ac_ct_CXX"; then
10941 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
10943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10944 for as_dir
in $PATH
10947 test -z "$as_dir" && as_dir
=.
10948 for ac_exec_ext
in '' $ac_executable_extensions; do
10949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10950 ac_cv_prog_ac_ct_CXX
="$ac_prog"
10951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10960 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
10961 if test -n "$ac_ct_CXX"; then
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
10963 $as_echo "$ac_ct_CXX" >&6; }
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10966 $as_echo "no" >&6; }
10970 test -n "$ac_ct_CXX" && break
10973 if test "x$ac_ct_CXX" = x
; then
10976 case $cross_compiling:$ac_tool_warned in
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10979 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10980 ac_tool_warned
=yes ;;
10988 # Provide some information about the compiler.
10989 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
10992 for ac_option
in --version -v -V -qversion; do
10993 { { ac_try
="$ac_compiler $ac_option >&5"
10994 case "(($ac_try" in
10995 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10996 *) ac_try_echo=$ac_try;;
10998 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10999 $as_echo "$ac_try_echo"; } >&5
11000 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11002 if test -s conftest.err; then
11004 ... rest of stderr output deleted ...
11005 10q' conftest.err >conftest.er1
11006 cat conftest.er1 >&5
11007 rm -f conftest.er1 conftest.err
11009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11010 test $ac_status = 0; }
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11014 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11015 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
11016 $as_echo_n "(cached) " >&6
11018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11019 /* end confdefs.h. */
11032 if ac_fn_cxx_try_compile "$LINENO"; then :
11033 ac_compiler_gnu=yes
11037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11038 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11042 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11043 if test $ac_compiler_gnu = yes; then
11048 ac_test_CXXFLAGS=${CXXFLAGS+set}
11049 ac_save_CXXFLAGS=$CXXFLAGS
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11051 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
11052 if test "${ac_cv_prog_cxx_g+set}" = set; then :
11053 $as_echo_n "(cached) " >&6
11055 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11056 ac_cxx_werror_flag=yes
11057 ac_cv_prog_cxx_g=no
11059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11060 /* end confdefs.h. */
11070 if ac_fn_cxx_try_compile "$LINENO"; then :
11071 ac_cv_prog_cxx_g=yes
11074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11075 /* end confdefs.h. */
11085 if ac_fn_cxx_try_compile "$LINENO"; then :
11088 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11091 /* end confdefs.h. */
11101 if ac_fn_cxx_try_compile "$LINENO"; then :
11102 ac_cv_prog_cxx_g=yes
11104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11109 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11112 $as_echo "$ac_cv_prog_cxx_g" >&6; }
11113 if test "$ac_test_CXXFLAGS" = set; then
11114 CXXFLAGS=$ac_save_CXXFLAGS
11115 elif test $ac_cv_prog_cxx_g = yes; then
11116 if test "$GXX" = yes; then
11122 if test "$GXX" = yes; then
11129 ac_cpp='$CPP $CPPFLAGS'
11130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11134 depcc="$CXX" am_compiler_list=
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11137 $as_echo_n "checking dependency style of $depcc... " >&6; }
11138 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
11139 $as_echo_n "(cached) " >&6
11141 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11142 # We make a subdir and do the tests there. Otherwise we can end up
11143 # making bogus files that we don't know about and never remove. For
11144 # instance it was reported that on HP-UX the gcc test will end up
11145 # making a dummy file named `D
' -- because `-MD' means
`put the output
11148 # Copy depcomp to subdir because otherwise we won't find it if we're
11149 # using a relative directory.
11150 cp "$am_depcomp" conftest.dir
11152 # We will build objects and dependencies in a subdirectory because
11153 # it helps to detect inapplicable dependency modes. For instance
11154 # both Tru64's cc and ICC support -MD to output dependencies as a
11155 # side effect of compilation, but ICC will put the dependencies in
11156 # the current directory while Tru64 will put them in the object
11160 am_cv_CXX_dependencies_compiler_type=none
11161 if test "$am_compiler_list" = ""; then
11162 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
11164 am__universal=false
11165 case " $depcc " in #(
11166 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11169 for depmode in $am_compiler_list; do
11170 # Setup a source with many dependencies, because some compilers
11171 # like to wrap large dependency lists on column 80 (with \), and
11172 # we should not choose a depcomp mode which is confused by this.
11174 # We need to recreate these files for each test, as the compiler may
11175 # overwrite some of them when testing with obscure command lines.
11176 # This happens at least with the AIX C compiler.
11178 for i in 1 2 3 4 5 6; do
11179 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11180 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
11181 # Solaris 8's
{/usr
,}/bin
/sh.
11182 touch sub
/conftst
$i.h
11184 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11186 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11187 # mode. It turns out that the SunPro C++ compiler does not properly
11188 # handle `-M -o', and we need to detect this. Also, some Intel
11189 # versions had trouble with output in subdirs
11190 am__obj
=sub
/conftest.
${OBJEXT-o}
11191 am__minus_obj
="-o $am__obj"
11194 # This depmode causes a compiler race in universal mode.
11195 test "$am__universal" = false ||
continue
11198 # after this tag, mechanisms are not by side-effect, so they'll
11199 # only be used when explicitly requested
11200 if test "x$enable_dependency_tracking" = xyes
; then
11206 msvisualcpp | msvcmsys
)
11207 # This compiler won't grok `-c -o', but also, the minuso test has
11208 # not run yet. These depmodes are late enough in the game, and
11209 # so weak that their functioning should not be impacted.
11210 am__obj
=conftest.
${OBJEXT-o}
11215 if depmode
=$depmode \
11216 source=sub
/conftest.c object
=$am__obj \
11217 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
11218 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
11219 >/dev
/null
2>conftest.err
&&
11220 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
11221 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
11222 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
11223 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
11224 # icc doesn't choke on unknown options, it will just issue warnings
11225 # or remarks (even with -Werror). So we grep stderr for any message
11226 # that says an option was ignored or not supported.
11227 # When given -MP, icc 7.0 and 7.1 complain thusly:
11228 # icc: Command line warning: ignoring option '-M'; no argument required
11229 # The diagnosis changed in icc 8.0:
11230 # icc: Command line remark: option '-MP' not supported
11231 if (grep 'ignoring option' conftest.err ||
11232 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
11233 am_cv_CXX_dependencies_compiler_type
=$depmode
11240 rm -rf conftest.dir
11242 am_cv_CXX_dependencies_compiler_type
=none
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
11247 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
11248 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
11251 test "x$enable_dependency_tracking" != xno \
11252 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
11253 am__fastdepCXX_TRUE
=
11254 am__fastdepCXX_FALSE
='#'
11256 am__fastdepCXX_TRUE
='#'
11257 am__fastdepCXX_FALSE
=
11261 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11262 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11263 (test "X$CXX" != "Xg++"))) ; then
11265 ac_cpp
='$CXXCPP $CPPFLAGS'
11266 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11267 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11268 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11270 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11271 if test -z "$CXXCPP"; then
11272 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11273 $as_echo_n "(cached) " >&6
11275 # Double quotes because CXXCPP needs to be expanded
11276 for CXXCPP
in "$CXX -E" "/lib/cpp"
11278 ac_preproc_ok
=false
11279 for ac_cxx_preproc_warn_flag
in '' yes
11281 # Use a header file that comes with gcc, so configuring glibc
11282 # with a fresh cross-compiler works.
11283 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11284 # <limits.h> exists even on freestanding compilers.
11285 # On the NeXT, cc -E runs the code through the compiler's parser,
11286 # not just through cpp. "Syntax error" is here to catch this case.
11287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11288 /* end confdefs.h. */
11290 # include <limits.h>
11292 # include <assert.h>
11296 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11299 # Broken: fails on valid input.
11302 rm -f conftest.err conftest.
$ac_ext
11304 # OK, works on sane cases. Now check whether nonexistent headers
11305 # can be detected and how.
11306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11307 /* end confdefs.h. */
11308 #include <ac_nonexistent.h>
11310 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11311 # Broken: success on invalid input.
11314 # Passes both tests.
11318 rm -f conftest.err conftest.
$ac_ext
11321 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11322 rm -f conftest.err conftest.
$ac_ext
11323 if $ac_preproc_ok; then :
11328 ac_cv_prog_CXXCPP
=$CXXCPP
11331 CXXCPP
=$ac_cv_prog_CXXCPP
11333 ac_cv_prog_CXXCPP
=$CXXCPP
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11336 $as_echo "$CXXCPP" >&6; }
11337 ac_preproc_ok
=false
11338 for ac_cxx_preproc_warn_flag
in '' yes
11340 # Use a header file that comes with gcc, so configuring glibc
11341 # with a fresh cross-compiler works.
11342 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11343 # <limits.h> exists even on freestanding compilers.
11344 # On the NeXT, cc -E runs the code through the compiler's parser,
11345 # not just through cpp. "Syntax error" is here to catch this case.
11346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11347 /* end confdefs.h. */
11349 # include <limits.h>
11351 # include <assert.h>
11355 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11358 # Broken: fails on valid input.
11361 rm -f conftest.err conftest.
$ac_ext
11363 # OK, works on sane cases. Now check whether nonexistent headers
11364 # can be detected and how.
11365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11366 /* end confdefs.h. */
11367 #include <ac_nonexistent.h>
11369 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11370 # Broken: success on invalid input.
11373 # Passes both tests.
11377 rm -f conftest.err conftest.
$ac_ext
11380 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11381 rm -f conftest.err conftest.
$ac_ext
11382 if $ac_preproc_ok; then :
11385 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11387 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
11388 See \`config.log' for more details." "$LINENO" 5; }
11392 ac_cpp
='$CPP $CPPFLAGS'
11393 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11394 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11395 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11398 _lt_caught_CXX_error
=yes
11402 ac_cpp
='$CXXCPP $CPPFLAGS'
11403 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11404 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11405 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11407 archive_cmds_need_lc_CXX
=no
11408 allow_undefined_flag_CXX
=
11409 always_export_symbols_CXX
=no
11410 archive_expsym_cmds_CXX
=
11411 compiler_needs_object_CXX
=no
11412 export_dynamic_flag_spec_CXX
=
11413 hardcode_direct_CXX
=no
11414 hardcode_direct_absolute_CXX
=no
11415 hardcode_libdir_flag_spec_CXX
=
11416 hardcode_libdir_flag_spec_ld_CXX
=
11417 hardcode_libdir_separator_CXX
=
11418 hardcode_minus_L_CXX
=no
11419 hardcode_shlibpath_var_CXX
=unsupported
11420 hardcode_automatic_CXX
=no
11421 inherit_rpath_CXX
=no
11423 module_expsym_cmds_CXX
=
11424 link_all_deplibs_CXX
=unknown
11425 old_archive_cmds_CXX
=$old_archive_cmds
11426 reload_flag_CXX
=$reload_flag
11427 reload_cmds_CXX
=$reload_cmds
11428 no_undefined_flag_CXX
=
11429 whole_archive_flag_spec_CXX
=
11430 enable_shared_with_static_runtimes_CXX
=no
11432 # Source file extension for C++ test sources.
11435 # Object file extension for compiled C++ test sources.
11439 # No sense in running all these tests if we already determined that
11440 # the CXX compiler isn't working. Some variables (like enable_shared)
11441 # are currently assumed to apply to all compilers on this platform,
11442 # and will be corrupted by setting them based on a non-working compiler.
11443 if test "$_lt_caught_CXX_error" != yes; then
11444 # Code to be used in simple compile tests
11445 lt_simple_compile_test_code
="int some_variable = 0;"
11447 # Code to be used in simple link tests
11448 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11450 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11457 # If no C compiler was specified, use CC.
11460 # If no C compiler flags were specified, use CFLAGS.
11461 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11463 # Allow CC to be a program name with arguments.
11467 # save warnings/boilerplate of simple test code
11468 ac_outfile
=conftest.
$ac_objext
11469 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11470 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11471 _lt_compiler_boilerplate
=`cat conftest.err`
11474 ac_outfile
=conftest.
$ac_objext
11475 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11476 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11477 _lt_linker_boilerplate
=`cat conftest.err`
11481 # Allow CC to be a program name with arguments.
11486 lt_save_with_gnu_ld
=$with_gnu_ld
11487 lt_save_path_LD
=$lt_cv_path_LD
11488 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11489 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11491 $as_unset lt_cv_prog_gnu_ld
11493 if test -n "${lt_cv_path_LDCXX+set}"; then
11494 lt_cv_path_LD
=$lt_cv_path_LDCXX
11496 $as_unset lt_cv_path_LD
11498 test -z "${LDCXX+set}" || LD
=$LDCXX
11502 for cc_temp
in $compiler""; do
11504 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11505 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11510 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11513 if test -n "$compiler"; then
11514 # We don't want -fno-exception when compiling C++ code, so set the
11515 # no_builtin_flag separately
11516 if test "$GXX" = yes; then
11517 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11519 lt_prog_compiler_no_builtin_flag_CXX
=
11522 if test "$GXX" = yes; then
11523 # Set up default GNU C++ configuration
11527 # Check whether --with-gnu-ld was given.
11528 if test "${with_gnu_ld+set}" = set; then :
11529 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
11535 if test "$GCC" = yes; then
11536 # Check if gcc -print-prog-name=ld gives a path.
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11538 $as_echo_n "checking for ld used by $CC... " >&6; }
11541 # gcc leaves a trailing carriage return which upsets mingw
11542 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11544 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11547 # Accept absolute paths.
11549 re_direlt
='/[^/][^/]*/\.\./'
11550 # Canonicalize the pathname of ld
11551 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11552 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
11553 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11555 test -z "$LD" && LD
="$ac_prog"
11558 # If it fails, then pretend we aren't using GCC.
11562 # If it is relative, then search for the first ld in PATH.
11563 with_gnu_ld
=unknown
11566 elif test "$with_gnu_ld" = yes; then
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11568 $as_echo_n "checking for GNU ld... " >&6; }
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11571 $as_echo_n "checking for non-GNU ld... " >&6; }
11573 if test "${lt_cv_path_LD+set}" = set; then :
11574 $as_echo_n "(cached) " >&6
11576 if test -z "$LD"; then
11577 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11578 for ac_dir
in $PATH; do
11580 test -z "$ac_dir" && ac_dir
=.
11581 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
11582 lt_cv_path_LD
="$ac_dir/$ac_prog"
11583 # Check to see if the program is GNU ld. I'd rather use --version,
11584 # but apparently some variants of GNU ld only accept -v.
11585 # Break only if it was the GNU/non-GNU ld that we prefer.
11586 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11587 *GNU
* |
*'with BFD'*)
11588 test "$with_gnu_ld" != no
&& break
11591 test "$with_gnu_ld" != yes && break
11598 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11602 LD
="$lt_cv_path_LD"
11603 if test -n "$LD"; then
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11605 $as_echo "$LD" >&6; }
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11608 $as_echo "no" >&6; }
11610 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11612 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11613 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11614 $as_echo_n "(cached) " >&6
11616 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11617 case `$LD -v 2>&1 </dev/null` in
11618 *GNU
* |
*'with BFD'*)
11619 lt_cv_prog_gnu_ld
=yes
11622 lt_cv_prog_gnu_ld
=no
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11627 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11628 with_gnu_ld
=$lt_cv_prog_gnu_ld
11636 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11637 # archiving commands below assume that GNU ld is being used.
11638 if test "$with_gnu_ld" = yes; then
11639 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11640 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'
11642 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11643 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11645 # If archive_cmds runs LD, not CC, wlarc should be empty
11646 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11647 # investigate it a little bit more. (MM)
11650 # ancient GNU ld didn't support --whole-archive et. al.
11651 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11652 $GREP 'no-whole-archive' > /dev
/null
; then
11653 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11655 whole_archive_flag_spec_CXX
=
11661 # A generic and very simple default shared library creation
11662 # command for GNU C++ for the case where it uses the native
11663 # linker, instead of GNU ld. If possible, this setting should
11664 # overridden to take advantage of the native linker features on
11665 # the platform it is being used on.
11666 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11669 # Commands to make compiler produce verbose output that lists
11670 # what "hidden" libraries, object files and flags are used when
11671 # linking a shared library.
11672 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
11680 # PORTME: fill in a description of your system's C++ link characteristics
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11682 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11686 # FIXME: insert proper C++ library support
11690 if test "$host_cpu" = ia64
; then
11691 # On IA64, the linker does run time linking by default, so we don't
11692 # have to do anything special.
11693 aix_use_runtimelinking
=no
11694 exp_sym_flag
='-Bexport'
11697 aix_use_runtimelinking
=no
11699 # Test if we are trying to use run time linking or normal
11700 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11701 # need to do runtime linking.
11702 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11703 for ld_flag
in $LDFLAGS; do
11706 aix_use_runtimelinking
=yes
11714 exp_sym_flag
='-bexport'
11715 no_entry_flag
='-bnoentry'
11718 # When large executables or shared objects are built, AIX ld can
11719 # have problems creating the table of contents. If linking a library
11720 # or program results in "error TOC overflow" add -mminimal-toc to
11721 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11722 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11724 archive_cmds_CXX
=''
11725 hardcode_direct_CXX
=yes
11726 hardcode_direct_absolute_CXX
=yes
11727 hardcode_libdir_separator_CXX
=':'
11728 link_all_deplibs_CXX
=yes
11729 file_list_spec_CXX
='${wl}-f,'
11731 if test "$GXX" = yes; then
11732 case $host_os in aix4.
[012]|aix4.
[012].
*)
11733 # We only want to do this on AIX 4.2 and lower, the check
11734 # below for broken collect2 doesn't work under 4.3+
11735 collect2name
=`${CC} -print-prog-name=collect2`
11736 if test -f "$collect2name" &&
11737 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11739 # We have reworked collect2
11742 # We have old collect2
11743 hardcode_direct_CXX
=unsupported
11744 # It fails to find uninstalled libraries when the uninstalled
11745 # path is not listed in the libpath. Setting hardcode_minus_L
11746 # to unsupported forces relinking
11747 hardcode_minus_L_CXX
=yes
11748 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11749 hardcode_libdir_separator_CXX
=
11752 shared_flag
='-shared'
11753 if test "$aix_use_runtimelinking" = yes; then
11754 shared_flag
="$shared_flag "'${wl}-G'
11758 if test "$host_cpu" = ia64
; then
11759 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11760 # chokes on -Wl,-G. The following line is correct:
11763 if test "$aix_use_runtimelinking" = yes; then
11764 shared_flag
='${wl}-G'
11766 shared_flag
='${wl}-bM:SRE'
11771 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
11772 # It seems that -bexpall does not export symbols beginning with
11773 # underscore (_), so it is better to generate a list of symbols to
11775 always_export_symbols_CXX
=yes
11776 if test "$aix_use_runtimelinking" = yes; then
11777 # Warning - without using the other runtime loading flags (-brtl),
11778 # -berok will link without error, but may produce a broken library.
11779 allow_undefined_flag_CXX
='-berok'
11780 # Determine the default libpath from the value encoded in an empty
11782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11783 /* end confdefs.h. */
11793 if ac_fn_cxx_try_link
"$LINENO"; then :
11795 lt_aix_libpath_sed
='
11796 /Import File Strings/,/^$/ {
11802 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11803 # Check for a 64-bit object if we didn't find anything.
11804 if test -z "$aix_libpath"; then
11805 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11808 rm -f core conftest.err conftest.
$ac_objext \
11809 conftest
$ac_exeext conftest.
$ac_ext
11810 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11812 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11814 archive_expsym_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11816 if test "$host_cpu" = ia64
; then
11817 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11818 allow_undefined_flag_CXX
="-z nodefs"
11819 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"
11821 # Determine the default libpath from the value encoded in an
11822 # empty executable.
11823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11824 /* end confdefs.h. */
11834 if ac_fn_cxx_try_link
"$LINENO"; then :
11836 lt_aix_libpath_sed
='
11837 /Import File Strings/,/^$/ {
11843 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11844 # Check for a 64-bit object if we didn't find anything.
11845 if test -z "$aix_libpath"; then
11846 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11849 rm -f core conftest.err conftest.
$ac_objext \
11850 conftest
$ac_exeext conftest.
$ac_ext
11851 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11853 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11854 # Warning - without using the other run time loading flags,
11855 # -berok will link without error, but may produce a broken library.
11856 no_undefined_flag_CXX
=' ${wl}-bernotok'
11857 allow_undefined_flag_CXX
=' ${wl}-berok'
11858 if test "$with_gnu_ld" = yes; then
11859 # We only use this code for GNU lds that support --whole-archive.
11860 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11862 # Exported symbols can be pulled into shared objects from archives
11863 whole_archive_flag_spec_CXX
='$convenience'
11865 archive_cmds_need_lc_CXX
=yes
11866 # This is similar to how AIX traditionally builds its shared
11868 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'
11874 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11875 allow_undefined_flag_CXX
=unsupported
11876 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11877 # support --undefined. This deserves some investigation. FIXME
11878 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11885 case $cc_basename in
11887 # FIXME: insert proper C++ library support
11893 cygwin
* | mingw
* | pw32
* | cegcc
*)
11894 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11895 # as there is no search path for DLLs.
11896 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11897 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
11898 allow_undefined_flag_CXX
=unsupported
11899 always_export_symbols_CXX
=no
11900 enable_shared_with_static_runtimes_CXX
=yes
11902 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
11903 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'
11904 # If the export-symbols file already is a .def file (1st line
11905 # is EXPORTS), use it as is; otherwise, prepend...
11906 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11907 cp $export_symbols $output_objdir/$soname.def;
11909 echo EXPORTS > $output_objdir/$soname.def;
11910 cat $export_symbols >> $output_objdir/$soname.def;
11912 $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'
11917 darwin
* | rhapsody
*)
11920 archive_cmds_need_lc_CXX
=no
11921 hardcode_direct_CXX
=no
11922 hardcode_automatic_CXX
=yes
11923 hardcode_shlibpath_var_CXX
=unsupported
11924 if test "$lt_cv_ld_force_load" = "yes"; then
11925 whole_archive_flag_spec_CXX
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
11927 whole_archive_flag_spec_CXX
=''
11929 link_all_deplibs_CXX
=yes
11930 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
11931 case $cc_basename in
11932 ifort
*) _lt_dar_can_shared
=yes ;;
11933 *) _lt_dar_can_shared
=$GCC ;;
11935 if test "$_lt_dar_can_shared" = "yes"; then
11936 output_verbose_link_cmd
=func_echo_all
11937 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}"
11938 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11939 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}"
11940 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}"
11941 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11942 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}"
11943 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}"
11953 case $cc_basename in
11955 # FIXME: insert proper C++ library support
11959 # Green Hills C++ Compiler
11960 # FIXME: insert proper C++ library support
11964 # FIXME: insert proper C++ library support
11971 # C++ shared libraries reported to be fairly broken before
11977 archive_cmds_need_lc_CXX
=no
11980 freebsd
* | dragonfly
*)
11981 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11990 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11991 link_all_deplibs_CXX
=yes
11995 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11996 hardcode_libdir_separator_CXX
=:
11997 export_dynamic_flag_spec_CXX
='${wl}-E'
11998 hardcode_direct_CXX
=yes
11999 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12000 # but as the default
12001 # location of the library.
12003 case $cc_basename in
12005 # FIXME: insert proper C++ library support
12009 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'
12010 # Commands to make compiler produce verbose output that lists
12011 # what "hidden" libraries, object files and flags are used when
12012 # linking a shared library.
12014 # There doesn't appear to be a way to prevent this compiler from
12015 # explicitly linking system object files so we need to strip them
12016 # from the output so that they don't get included in the library
12018 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12021 if test "$GXX" = yes; then
12022 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'
12024 # FIXME: insert proper C++ library support
12032 if test $with_gnu_ld = no
; then
12033 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12034 hardcode_libdir_separator_CXX
=:
12040 export_dynamic_flag_spec_CXX
='${wl}-E'
12046 hardcode_direct_CXX
=no
12047 hardcode_shlibpath_var_CXX
=no
12050 hardcode_direct_CXX
=yes
12051 hardcode_direct_absolute_CXX
=yes
12052 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12053 # but as the default
12054 # location of the library.
12058 case $cc_basename in
12060 # FIXME: insert proper C++ library support
12066 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12069 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12072 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12075 # Commands to make compiler produce verbose output that lists
12076 # what "hidden" libraries, object files and flags are used when
12077 # linking a shared library.
12079 # There doesn't appear to be a way to prevent this compiler from
12080 # explicitly linking system object files so we need to strip them
12081 # from the output so that they don't get included in the library
12083 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12086 if test "$GXX" = yes; then
12087 if test $with_gnu_ld = no
; then
12090 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12093 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12096 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'
12101 # FIXME: insert proper C++ library support
12109 hardcode_direct_CXX
=no
12110 hardcode_shlibpath_var_CXX
=no
12111 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12112 export_dynamic_flag_spec_CXX
='${wl}-E'
12113 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12114 # Instead, shared libraries are loaded at an image base (0x10000000 by
12115 # default) and relocated if they conflict, which is a slow very memory
12116 # consuming and fragmenting process. To avoid this, we pick a random,
12117 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12118 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12119 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'
12120 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'
12123 case $cc_basename in
12126 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12128 # Archives containing C++ object files must be created using
12129 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12130 # necessary to make sure instantiated templates are included
12132 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12135 if test "$GXX" = yes; then
12136 if test "$with_gnu_ld" = no
; then
12137 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12139 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12142 link_all_deplibs_CXX
=yes
12145 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12146 hardcode_libdir_separator_CXX
=:
12147 inherit_rpath_CXX
=yes
12150 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12151 case $cc_basename in
12153 # Kuck and Associates, Inc. (KAI) C++ Compiler
12155 # KCC will only create a shared library if the output file
12156 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12157 # to its proper name (with version) after linking.
12158 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'
12159 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'
12160 # Commands to make compiler produce verbose output that lists
12161 # what "hidden" libraries, object files and flags are used when
12162 # linking a shared library.
12164 # There doesn't appear to be a way to prevent this compiler from
12165 # explicitly linking system object files so we need to strip them
12166 # from the output so that they don't get included in the library
12168 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12170 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12171 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12173 # Archives containing C++ object files must be created using
12174 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12175 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12180 # version 8.0 and above of icpc choke on multiply defined symbols
12181 # if we add $predep_objects and $postdep_objects, however 7.1 and
12182 # earlier do not add the objects themselves.
12183 case `$CC -V 2>&1` in
12185 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12186 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'
12188 *) # Version 8.0 or newer
12191 ia64
*) tmp_idyn
=' -i_dynamic';;
12193 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12194 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'
12197 archive_cmds_need_lc_CXX
=no
12198 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12199 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12200 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12203 # Portland Group C++ compiler
12205 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12206 prelink_cmds_CXX
='tpldir=Template.dir~
12208 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12209 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12210 old_archive_cmds_CXX
='tpldir=Template.dir~
12212 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12213 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12215 archive_cmds_CXX
='tpldir=Template.dir~
12217 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12218 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12219 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12221 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12222 $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'
12224 *) # Version 6 and above use weak symbols
12225 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12226 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'
12230 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12231 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12232 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12236 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12237 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'
12239 runpath_var
=LD_RUN_PATH
12240 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12241 hardcode_libdir_separator_CXX
=:
12243 # Commands to make compiler produce verbose output that lists
12244 # what "hidden" libraries, object files and flags are used when
12245 # linking a shared library.
12247 # There doesn't appear to be a way to prevent this compiler from
12248 # explicitly linking system object files so we need to strip them
12249 # from the output so that they don't get included in the library
12251 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
12253 xl
* | mpixl
* | bgxl
*)
12254 # IBM XL 8.0 on PPC, with GNU ld
12255 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12256 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12257 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12258 if test "x$supports_anon_versioning" = xyes
; then
12259 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12260 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12261 echo "local: *; };" >> $output_objdir/$libname.ver~
12262 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12266 case `$CC -V 2>&1 | sed 5q` in
12269 no_undefined_flag_CXX
=' -zdefs'
12270 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12271 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'
12272 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12273 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12274 compiler_needs_object_CXX
=yes
12276 # Not sure whether something based on
12277 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12279 output_verbose_link_cmd
='func_echo_all'
12281 # Archives containing C++ object files must be created using
12282 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12283 # necessary to make sure instantiated templates are included
12285 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12293 # FIXME: insert proper C++ library support
12298 # FIXME: insert proper C++ library support
12303 case $cc_basename in
12305 # FIXME: insert proper C++ library support
12309 # FIXME: insert proper C++ library support
12316 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12317 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12319 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12320 hardcode_direct_CXX
=yes
12321 hardcode_shlibpath_var_CXX
=no
12323 # Workaround some broken pre-1.5 toolchains
12324 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12332 # C++ shared libraries are fairly broken
12337 if test -f /usr
/libexec
/ld.so
; then
12338 hardcode_direct_CXX
=yes
12339 hardcode_shlibpath_var_CXX
=no
12340 hardcode_direct_absolute_CXX
=yes
12341 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12342 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12343 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12344 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12345 export_dynamic_flag_spec_CXX
='${wl}-E'
12346 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12348 output_verbose_link_cmd
=func_echo_all
12354 osf3
* | osf4
* | osf5
*)
12355 case $cc_basename in
12357 # Kuck and Associates, Inc. (KAI) C++ Compiler
12359 # KCC will only create a shared library if the output file
12360 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12361 # to its proper name (with version) after linking.
12362 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'
12364 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12365 hardcode_libdir_separator_CXX
=:
12367 # Archives containing C++ object files must be created using
12368 # the KAI C++ compiler.
12370 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12371 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12375 # Rational C++ 2.4.1
12376 # FIXME: insert proper C++ library support
12382 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12383 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12384 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12387 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12388 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12389 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12390 echo "-hidden">> $lib.exp~
12391 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
12393 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12397 hardcode_libdir_separator_CXX
=:
12399 # Commands to make compiler produce verbose output that lists
12400 # what "hidden" libraries, object files and flags are used when
12401 # linking a shared library.
12403 # There doesn't appear to be a way to prevent this compiler from
12404 # explicitly linking system object files so we need to strip them
12405 # from the output so that they don't get included in the library
12407 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12410 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12411 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12414 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12417 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12421 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12422 hardcode_libdir_separator_CXX
=:
12424 # Commands to make compiler produce verbose output that lists
12425 # what "hidden" libraries, object files and flags are used when
12426 # linking a shared library.
12427 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12430 # FIXME: insert proper C++ library support
12438 # FIXME: insert proper C++ library support
12443 case $cc_basename in
12446 # FIXME: insert proper C++ library support
12451 # FIXME: insert proper C++ library support
12455 # FIXME: insert proper C++ library support
12462 case $cc_basename in
12464 # Sun C++ 4.2, 5.x and Centerline C++
12465 archive_cmds_need_lc_CXX
=yes
12466 no_undefined_flag_CXX
=' -zdefs'
12467 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12468 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12469 $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'
12471 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12472 hardcode_shlibpath_var_CXX
=no
12474 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12476 # The compiler driver will combine and reorder linker options,
12477 # but understands `-z linker_flag'.
12478 # Supported since Solaris 2.6 (maybe 2.5.1?)
12479 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12482 link_all_deplibs_CXX
=yes
12484 output_verbose_link_cmd
='func_echo_all'
12486 # Archives containing C++ object files must be created using
12487 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12488 # necessary to make sure instantiated templates are included
12490 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12493 # Green Hills C++ Compiler
12494 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12496 # The C++ compiler must be used to create the archive.
12497 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12500 # GNU C++ compiler with Solaris linker
12501 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12502 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12503 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
12504 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12505 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12506 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12508 # Commands to make compiler produce verbose output that lists
12509 # what "hidden" libraries, object files and flags are used when
12510 # linking a shared library.
12511 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12513 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12515 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12516 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12517 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12519 # Commands to make compiler produce verbose output that lists
12520 # what "hidden" libraries, object files and flags are used when
12521 # linking a shared library.
12522 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12525 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12527 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12529 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12537 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12538 no_undefined_flag_CXX
='${wl}-z,text'
12539 archive_cmds_need_lc_CXX
=no
12540 hardcode_shlibpath_var_CXX
=no
12541 runpath_var
='LD_RUN_PATH'
12543 case $cc_basename in
12545 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12546 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12549 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12550 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12555 sysv5
* | sco3.2v5
* | sco5v6
*)
12556 # Note: We can NOT use -z defs as we might desire, because we do not
12557 # link with -lc, and that would cause any symbols used from libc to
12558 # always be unresolved, which means just about no library would
12559 # ever link correctly. If we're not using GNU ld we use -z text
12560 # though, which does catch some bad symbols but isn't as heavy-handed
12562 no_undefined_flag_CXX
='${wl}-z,text'
12563 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12564 archive_cmds_need_lc_CXX
=no
12565 hardcode_shlibpath_var_CXX
=no
12566 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
12567 hardcode_libdir_separator_CXX
=':'
12568 link_all_deplibs_CXX
=yes
12569 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12570 runpath_var
='LD_RUN_PATH'
12572 case $cc_basename in
12574 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12575 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12576 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
12577 '"$old_archive_cmds_CXX"
12578 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
12579 '"$reload_cmds_CXX"
12582 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12583 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12589 case $cc_basename in
12591 # NonStop-UX NCC 3.20
12592 # FIXME: insert proper C++ library support
12596 # FIXME: insert proper C++ library support
12603 # FIXME: insert proper C++ library support
12608 # FIXME: insert proper C++ library support
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12614 $as_echo "$ld_shlibs_CXX" >&6; }
12615 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12621 ## There is no encapsulation within the following macros, do not change
12622 ## the running order or otherwise move them around unless you know exactly
12623 ## what you are doing...
12624 # Dependencies to place before and after the object being linked:
12625 predep_objects_CXX
=
12626 postdep_objects_CXX
=
12629 compiler_lib_search_path_CXX
=
12631 cat > conftest.
$ac_ext <<_LT_EOF
12635 Foo (void) { a = 0; }
12641 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12642 (eval $ac_compile) 2>&5
12644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12645 test $ac_status = 0; }; then
12646 # Parse the compiler output and extract the necessary
12647 # objects, libraries and library flags.
12649 # Sentinel used to keep track of whether or not we are before
12650 # the conftest object file.
12651 pre_test_object_deps_done
=no
12653 for p
in `eval "$output_verbose_link_cmd"`; do
12657 # Some compilers place space between "-{L,R}" and the path.
12658 # Remove the space.
12659 if test $p = "-L" ||
12660 test $p = "-R"; then
12667 if test "$pre_test_object_deps_done" = no
; then
12670 # Internal compiler library paths should come after those
12671 # provided the user. The postdeps already come after the
12672 # user supplied libs so there is no need to process them.
12673 if test -z "$compiler_lib_search_path_CXX"; then
12674 compiler_lib_search_path_CXX
="${prev}${p}"
12676 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12679 # The "-l" case would never come before the object being
12680 # linked, so don't bother handling this case.
12683 if test -z "$postdeps_CXX"; then
12684 postdeps_CXX
="${prev}${p}"
12686 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12692 # This assumes that the test object file only shows up
12693 # once in the compiler output.
12694 if test "$p" = "conftest.$objext"; then
12695 pre_test_object_deps_done
=yes
12699 if test "$pre_test_object_deps_done" = no
; then
12700 if test -z "$predep_objects_CXX"; then
12701 predep_objects_CXX
="$p"
12703 predep_objects_CXX
="$predep_objects_CXX $p"
12706 if test -z "$postdep_objects_CXX"; then
12707 postdep_objects_CXX
="$p"
12709 postdep_objects_CXX
="$postdep_objects_CXX $p"
12714 *) ;; # Ignore the rest.
12722 echo "libtool.m4: error: problem compiling CXX test program"
12725 $RM -f confest.
$objext
12727 # PORTME: override above test on systems where it is broken
12730 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12731 # hack all around it, let's just trust "g++" to DTRT.
12732 predep_objects_CXX
=
12733 postdep_objects_CXX
=
12738 case `$CC -V 2>&1 | sed 5q` in
12742 # The more standards-conforming stlport4 library is
12743 # incompatible with the Cstd library. Avoid specifying
12744 # it if it's in CXXFLAGS. Ignore libCrun as
12745 # -library=stlport4 depends on it.
12746 case " $CXX $CXXFLAGS " in
12747 *" -library=stlport4 "*)
12748 solaris_use_stlport4
=yes
12752 if test "$solaris_use_stlport4" != yes; then
12753 postdeps_CXX
='-library=Cstd -library=Crun'
12760 case $cc_basename in
12762 # The more standards-conforming stlport4 library is
12763 # incompatible with the Cstd library. Avoid specifying
12764 # it if it's in CXXFLAGS. Ignore libCrun as
12765 # -library=stlport4 depends on it.
12766 case " $CXX $CXXFLAGS " in
12767 *" -library=stlport4 "*)
12768 solaris_use_stlport4
=yes
12772 # Adding this requires a known-good setup of shared libraries for
12773 # Sun compiler versions before 5.6, else PIC objects from an old
12774 # archive will be linked into the output, leading to subtle bugs.
12775 if test "$solaris_use_stlport4" != yes; then
12776 postdeps_CXX
='-library=Cstd -library=Crun'
12784 case " $postdeps_CXX " in
12785 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12787 compiler_lib_search_dirs_CXX
=
12788 if test -n "${compiler_lib_search_path_CXX}"; then
12789 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12822 lt_prog_compiler_wl_CXX
=
12823 lt_prog_compiler_pic_CXX
=
12824 lt_prog_compiler_static_CXX
=
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12827 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12829 # C++ specific cases for pic, static, wl, etc.
12830 if test "$GXX" = yes; then
12831 lt_prog_compiler_wl_CXX
='-Wl,'
12832 lt_prog_compiler_static_CXX
='-static'
12836 # All AIX code is PIC.
12837 if test "$host_cpu" = ia64
; then
12838 # AIX 5 now supports IA64 processor
12839 lt_prog_compiler_static_CXX
='-Bstatic'
12841 lt_prog_compiler_pic_CXX
='-fPIC'
12847 # see comment about AmigaOS4 .so support
12848 lt_prog_compiler_pic_CXX
='-fPIC'
12851 # FIXME: we need at least 68020 code to build shared libraries, but
12852 # adding the `-m68020' flag to GCC prevents building anything better,
12854 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12859 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12860 # PIC is the default for these OSes.
12862 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
12863 # This hack is so that the source file can tell whether it is being
12864 # built for inclusion in a dll (and should export symbols for example).
12865 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12866 # (--disable-auto-import) libraries
12867 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12869 darwin
* | rhapsody
*)
12870 # PIC is the default on this platform
12871 # Common symbols not allowed in MH_DYLIB files
12872 lt_prog_compiler_pic_CXX
='-fno-common'
12875 # DJGPP does not support shared libraries at all
12876 lt_prog_compiler_pic_CXX
=
12879 # PIC is the default for Haiku.
12880 # The "-static" flag exists, but is broken.
12881 lt_prog_compiler_static_CXX
=
12884 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12885 # Instead, we relocate shared libraries at runtime.
12888 if test -d /usr
/nec
; then
12889 lt_prog_compiler_pic_CXX
=-Kconform_pic
12893 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12894 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12895 # sets the default TLS model and affects inlining.
12900 lt_prog_compiler_pic_CXX
='-fPIC'
12905 # QNX uses GNU C++, but need to define -shared option too, otherwise
12906 # it will coredump.
12907 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12910 lt_prog_compiler_pic_CXX
='-fPIC'
12916 # All AIX code is PIC.
12917 if test "$host_cpu" = ia64
; then
12918 # AIX 5 now supports IA64 processor
12919 lt_prog_compiler_static_CXX
='-Bstatic'
12921 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12925 case $cc_basename in
12927 # Green Hills C++ Compiler
12928 # _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"
12933 case $cc_basename in
12935 lt_prog_compiler_pic_CXX
='-KPIC'
12938 # Green Hills C++ Compiler
12939 lt_prog_compiler_pic_CXX
='-pic'
12945 freebsd
* | dragonfly
*)
12946 # FreeBSD uses GNU C++
12948 hpux9
* | hpux10
* | hpux11
*)
12949 case $cc_basename in
12951 lt_prog_compiler_wl_CXX
='-Wl,'
12952 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12953 if test "$host_cpu" != ia64
; then
12954 lt_prog_compiler_pic_CXX
='+Z'
12958 lt_prog_compiler_wl_CXX
='-Wl,'
12959 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12965 lt_prog_compiler_pic_CXX
='+Z'
12974 # This is c89, which is MS Visual C++ (no shared libs)
12975 # Anyone wants to do a port?
12977 irix5
* | irix6
* | nonstopux
*)
12978 case $cc_basename in
12980 lt_prog_compiler_wl_CXX
='-Wl,'
12981 lt_prog_compiler_static_CXX
='-non_shared'
12982 # CC pic flag -KPIC is the default.
12988 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12989 case $cc_basename in
12992 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12993 lt_prog_compiler_pic_CXX
='-fPIC'
12996 # old Intel C++ for x86_64 which still supported -KPIC.
12997 lt_prog_compiler_wl_CXX
='-Wl,'
12998 lt_prog_compiler_pic_CXX
='-KPIC'
12999 lt_prog_compiler_static_CXX
='-static'
13002 # Intel C++, used to be incompatible with GCC.
13003 # ICC 10 doesn't accept -KPIC any more.
13004 lt_prog_compiler_wl_CXX
='-Wl,'
13005 lt_prog_compiler_pic_CXX
='-fPIC'
13006 lt_prog_compiler_static_CXX
='-static'
13009 # Portland Group C++ compiler
13010 lt_prog_compiler_wl_CXX
='-Wl,'
13011 lt_prog_compiler_pic_CXX
='-fpic'
13012 lt_prog_compiler_static_CXX
='-Bstatic'
13016 # Make sure the PIC flag is empty. It appears that all Alpha
13017 # Linux and Compaq Tru64 Unix objects are PIC.
13018 lt_prog_compiler_pic_CXX
=
13019 lt_prog_compiler_static_CXX
='-non_shared'
13021 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13022 # IBM XL 8.0, 9.0 on PPC and BlueGene
13023 lt_prog_compiler_wl_CXX
='-Wl,'
13024 lt_prog_compiler_pic_CXX
='-qpic'
13025 lt_prog_compiler_static_CXX
='-qstaticlink'
13028 case `$CC -V 2>&1 | sed 5q` in
13031 lt_prog_compiler_pic_CXX
='-KPIC'
13032 lt_prog_compiler_static_CXX
='-Bstatic'
13033 lt_prog_compiler_wl_CXX
='-Qoption ld '
13044 case $cc_basename in
13046 lt_prog_compiler_pic_CXX
='-W c,exportall'
13055 # QNX uses GNU C++, but need to define -shared option too, otherwise
13056 # it will coredump.
13057 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13059 osf3
* | osf4
* | osf5
*)
13060 case $cc_basename in
13062 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13065 # Rational C++ 2.4.1
13066 lt_prog_compiler_pic_CXX
='-pic'
13069 # Digital/Compaq C++
13070 lt_prog_compiler_wl_CXX
='-Wl,'
13071 # Make sure the PIC flag is empty. It appears that all Alpha
13072 # Linux and Compaq Tru64 Unix objects are PIC.
13073 lt_prog_compiler_pic_CXX
=
13074 lt_prog_compiler_static_CXX
='-non_shared'
13083 case $cc_basename in
13085 # Sun C++ 4.2, 5.x and Centerline C++
13086 lt_prog_compiler_pic_CXX
='-KPIC'
13087 lt_prog_compiler_static_CXX
='-Bstatic'
13088 lt_prog_compiler_wl_CXX
='-Qoption ld '
13091 # Green Hills C++ Compiler
13092 lt_prog_compiler_pic_CXX
='-PIC'
13099 case $cc_basename in
13102 lt_prog_compiler_pic_CXX
='-pic'
13103 lt_prog_compiler_static_CXX
='-Bstatic'
13107 lt_prog_compiler_pic_CXX
='-pic'
13113 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13114 case $cc_basename in
13116 lt_prog_compiler_wl_CXX
='-Wl,'
13117 lt_prog_compiler_pic_CXX
='-KPIC'
13118 lt_prog_compiler_static_CXX
='-Bstatic'
13123 case $cc_basename in
13125 # NonStop-UX NCC 3.20
13126 lt_prog_compiler_pic_CXX
='-KPIC'
13135 lt_prog_compiler_can_build_shared_CXX
=no
13141 # For platforms which do not support PIC, -DPIC is meaningless:
13143 lt_prog_compiler_pic_CXX
=
13146 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13150 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13155 # Check to make sure the PIC flag actually works.
13157 if test -n "$lt_prog_compiler_pic_CXX"; then
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13159 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13160 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13161 $as_echo_n "(cached) " >&6
13163 lt_cv_prog_compiler_pic_works_CXX
=no
13164 ac_outfile
=conftest.
$ac_objext
13165 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13166 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13167 # Insert the option either (1) after the last *FLAGS variable, or
13168 # (2) before a word containing "conftest.", or (3) at the end.
13169 # Note that $ac_compile itself does not contain backslashes and begins
13170 # with a dollar sign (not a hyphen), so the echo should work correctly.
13171 # The option is referenced via a variable to avoid confusing sed.
13172 lt_compile
=`echo "$ac_compile" | $SED \
13173 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13174 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13175 -e 's:$: $lt_compiler_flag:'`
13176 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13177 (eval "$lt_compile" 2>conftest.err
)
13179 cat conftest.err
>&5
13180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13181 if (exit $ac_status) && test -s "$ac_outfile"; then
13182 # The compiler can only warn and ignore the option if not recognized
13183 # So say no if there are warnings other than the usual output.
13184 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13185 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13186 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13187 lt_cv_prog_compiler_pic_works_CXX
=yes
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13194 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13196 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13197 case $lt_prog_compiler_pic_CXX in
13199 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13202 lt_prog_compiler_pic_CXX
=
13203 lt_prog_compiler_can_build_shared_CXX
=no
13211 # Check to make sure the static flag actually works.
13213 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13215 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13216 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13217 $as_echo_n "(cached) " >&6
13219 lt_cv_prog_compiler_static_works_CXX
=no
13220 save_LDFLAGS
="$LDFLAGS"
13221 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13222 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13223 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13224 # The linker can only warn and ignore the option if not recognized
13225 # So say no if there are warnings
13226 if test -s conftest.err
; then
13227 # Append any errors to the config.log.
13228 cat conftest.err
1>&5
13229 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13230 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13231 if diff conftest.exp conftest.er2
>/dev
/null
; then
13232 lt_cv_prog_compiler_static_works_CXX
=yes
13235 lt_cv_prog_compiler_static_works_CXX
=yes
13239 LDFLAGS
="$save_LDFLAGS"
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13243 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13245 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13248 lt_prog_compiler_static_CXX
=
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13255 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13256 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13257 $as_echo_n "(cached) " >&6
13259 lt_cv_prog_compiler_c_o_CXX
=no
13260 $RM -r conftest
2>/dev
/null
13264 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13266 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13267 # Insert the option either (1) after the last *FLAGS variable, or
13268 # (2) before a word containing "conftest.", or (3) at the end.
13269 # Note that $ac_compile itself does not contain backslashes and begins
13270 # with a dollar sign (not a hyphen), so the echo should work correctly.
13271 lt_compile
=`echo "$ac_compile" | $SED \
13272 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13273 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13274 -e 's:$: $lt_compiler_flag:'`
13275 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13276 (eval "$lt_compile" 2>out
/conftest.err
)
13278 cat out
/conftest.err
>&5
13279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13280 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13282 # The compiler can only warn and ignore the option if not recognized
13283 # So say no if there are warnings
13284 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13285 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13286 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13287 lt_cv_prog_compiler_c_o_CXX
=yes
13292 # SGI C++ compiler will create directory out/ii_files/ for
13293 # template instantiation
13294 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13295 $RM out
/* && rmdir out
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13302 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13307 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13308 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13309 $as_echo_n "(cached) " >&6
13311 lt_cv_prog_compiler_c_o_CXX
=no
13312 $RM -r conftest
2>/dev
/null
13316 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13318 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13319 # Insert the option either (1) after the last *FLAGS variable, or
13320 # (2) before a word containing "conftest.", or (3) at the end.
13321 # Note that $ac_compile itself does not contain backslashes and begins
13322 # with a dollar sign (not a hyphen), so the echo should work correctly.
13323 lt_compile
=`echo "$ac_compile" | $SED \
13324 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13325 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13326 -e 's:$: $lt_compiler_flag:'`
13327 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13328 (eval "$lt_compile" 2>out
/conftest.err
)
13330 cat out
/conftest.err
>&5
13331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13332 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13334 # The compiler can only warn and ignore the option if not recognized
13335 # So say no if there are warnings
13336 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13337 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13338 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13339 lt_cv_prog_compiler_c_o_CXX
=yes
13344 # SGI C++ compiler will create directory out/ii_files/ for
13345 # template instantiation
13346 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13347 $RM out
/* && rmdir out
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13354 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13359 hard_links
="nottested"
13360 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13361 # do not overwrite the value of need_locks provided by the user
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13363 $as_echo_n "checking if we can lock with hard links... " >&6; }
13366 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13368 ln conftest.a conftest.b
2>&5 || hard_links
=no
13369 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13371 $as_echo "$hard_links" >&6; }
13372 if test "$hard_links" = no
; then
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13374 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13384 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13386 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13389 # If we're using GNU nm, then we don't want the "-C" option.
13390 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13391 # Also, AIX nm treats weak defined symbols like other global defined
13392 # symbols, whereas GNU nm marks them as "W".
13393 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13394 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13396 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'
13400 export_symbols_cmds_CXX
="$ltdll_cmds"
13402 cygwin
* | mingw
* | cegcc
*)
13403 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'
13406 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13409 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13412 $as_echo "$ld_shlibs_CXX" >&6; }
13413 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13415 with_gnu_ld_CXX
=$with_gnu_ld
13423 # Do we need to explicitly link libc?
13425 case "x$archive_cmds_need_lc_CXX" in
13427 # Assume -lc should be added
13428 archive_cmds_need_lc_CXX
=yes
13430 if test "$enable_shared" = yes && test "$GCC" = yes; then
13431 case $archive_cmds_CXX in
13433 # FIXME: we may have to deal with multi-command sequences.
13436 # Test whether the compiler implicitly links with -lc since on some
13437 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13438 # to ld, don't add -lc before -lgcc.
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13440 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13441 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13442 $as_echo_n "(cached) " >&6
13445 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13447 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13448 (eval $ac_compile) 2>&5
13450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13451 test $ac_status = 0; } 2>conftest.err
; then
13454 libobjs
=conftest.
$ac_objext
13456 wl
=$lt_prog_compiler_wl_CXX
13457 pic_flag
=$lt_prog_compiler_pic_CXX
13463 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13464 allow_undefined_flag_CXX
=
13465 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13466 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13469 test $ac_status = 0; }
13471 lt_cv_archive_cmds_need_lc_CXX
=no
13473 lt_cv_archive_cmds_need_lc_CXX
=yes
13475 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13477 cat conftest.err
1>&5
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13483 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
13484 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13555 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13557 library_names_spec
=
13558 libname_spec
='lib$name'
13562 postuninstall_cmds
=
13566 shlibpath_overrides_runpath
=unknown
13568 dynamic_linker
="$host_os ld.so"
13569 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13570 need_lib_prefix
=unknown
13571 hardcode_into_libs
=no
13573 # when you set need_version to no, make sure it does not cause -set_version
13574 # flags to be left without arguments
13575 need_version
=unknown
13580 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13581 shlibpath_var
=LIBPATH
13583 # AIX 3 has no versioning support, so we append a major version to the name.
13584 soname_spec
='${libname}${release}${shared_ext}$major'
13591 hardcode_into_libs
=yes
13592 if test "$host_cpu" = ia64
; then
13593 # AIX 5 supports IA64
13594 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13595 shlibpath_var
=LD_LIBRARY_PATH
13597 # With GCC up to 2.95.x, collect2 would create an import file
13598 # for dependence libraries. The import file would start with
13599 # the line `#! .'. This would cause the generated library to
13600 # depend on `.', always an invalid library. This was fixed in
13601 # development snapshots of GCC prior to 3.0.
13603 aix4 | aix4.
[01] | aix4.
[01].
*)
13604 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13606 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13609 can_build_shared
=no
13613 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13614 # soname into executable. Probably we can add versioning support to
13615 # collect2, so additional links can be useful in future.
13616 if test "$aix_use_runtimelinking" = yes; then
13617 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13618 # instead of lib<name>.a to let people know that these are not
13619 # typical AIX shared libraries.
13620 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13622 # We preserve .a as extension for shared libraries through AIX4.2
13623 # and later when we are not doing run time linking.
13624 library_names_spec
='${libname}${release}.a $libname.a'
13625 soname_spec
='${libname}${release}${shared_ext}$major'
13627 shlibpath_var
=LIBPATH
13634 # Since July 2007 AmigaOS4 officially supports .so libraries.
13635 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13636 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13639 library_names_spec
='$libname.ixlibrary $libname.a'
13640 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13641 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
13647 library_names_spec
='${libname}${shared_ext}'
13648 dynamic_linker
="$host_os ld.so"
13649 shlibpath_var
=LIBRARY_PATH
13655 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13656 soname_spec
='${libname}${release}${shared_ext}$major'
13657 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13658 shlibpath_var
=LD_LIBRARY_PATH
13659 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13660 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13661 # the default ld.so.conf also contains /usr/contrib/lib and
13662 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13663 # libtool to hard-code these into programs
13666 cygwin
* | mingw
* | pw32
* | cegcc
*)
13667 version_type
=windows
13672 case $GCC,$host_os in
13673 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
13674 library_names_spec
='$libname.dll.a'
13675 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13676 postinstall_cmds
='base_file=`basename \${file}`~
13677 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13678 dldir=$destdir/`dirname \$dlpath`~
13679 test -d \$dldir || mkdir -p \$dldir~
13680 $install_prog $dir/$dlname \$dldir/$dlname~
13681 chmod a+x \$dldir/$dlname~
13682 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13683 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13685 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13686 dlpath=$dir/\$dldll~
13688 shlibpath_overrides_runpath
=yes
13692 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13693 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13697 # MinGW DLLs use traditional 'lib' prefix
13698 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13701 # pw32 DLLs use 'pw' prefix rather than 'lib'
13702 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13708 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13711 dynamic_linker
='Win32 ld.exe'
13712 # FIXME: first we should search . and the directory the executable is in
13716 darwin
* | rhapsody
*)
13717 dynamic_linker
="$host_os dyld"
13718 version_type
=darwin
13721 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13722 soname_spec
='${libname}${release}${major}$shared_ext'
13723 shlibpath_overrides_runpath
=yes
13724 shlibpath_var
=DYLD_LIBRARY_PATH
13725 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13727 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13734 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13735 soname_spec
='${libname}${release}${shared_ext}$major'
13736 shlibpath_var
=LD_LIBRARY_PATH
13739 freebsd
* | dragonfly
*)
13740 # DragonFly does not have aout. When/if they implement a new
13741 # versioning mechanism, adjust this.
13742 if test -x /usr
/bin
/objformat
; then
13743 objformat
=`/usr/bin/objformat`
13746 freebsd
[23].
*) objformat
=aout
;;
13747 *) objformat
=elf
;;
13750 version_type
=freebsd-
$objformat
13751 case $version_type in
13753 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13758 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13762 shlibpath_var
=LD_LIBRARY_PATH
13765 shlibpath_overrides_runpath
=yes
13767 freebsd3.
[01]* | freebsdelf3.
[01]*)
13768 shlibpath_overrides_runpath
=yes
13769 hardcode_into_libs
=yes
13771 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13772 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13773 shlibpath_overrides_runpath
=no
13774 hardcode_into_libs
=yes
13776 *) # from 4.6 on, and DragonFly
13777 shlibpath_overrides_runpath
=yes
13778 hardcode_into_libs
=yes
13787 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13788 soname_spec
='${libname}${release}${shared_ext}$major'
13789 shlibpath_var
=LD_LIBRARY_PATH
13790 hardcode_into_libs
=yes
13797 dynamic_linker
="$host_os runtime_loader"
13798 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13799 soname_spec
='${libname}${release}${shared_ext}$major'
13800 shlibpath_var
=LIBRARY_PATH
13801 shlibpath_overrides_runpath
=yes
13802 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
13803 hardcode_into_libs
=yes
13806 hpux9
* | hpux10
* | hpux11
*)
13807 # Give a soname corresponding to the major version so that dld.sl refuses to
13808 # link against other versions.
13815 hardcode_into_libs
=yes
13816 dynamic_linker
="$host_os dld.so"
13817 shlibpath_var
=LD_LIBRARY_PATH
13818 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13819 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13820 soname_spec
='${libname}${release}${shared_ext}$major'
13821 if test "X$HPUX_IA64_MODE" = X32
; then
13822 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13824 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13826 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13830 hardcode_into_libs
=yes
13831 dynamic_linker
="$host_os dld.sl"
13832 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13833 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13834 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13835 soname_spec
='${libname}${release}${shared_ext}$major'
13836 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13837 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13841 dynamic_linker
="$host_os dld.sl"
13842 shlibpath_var
=SHLIB_PATH
13843 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13844 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13845 soname_spec
='${libname}${release}${shared_ext}$major'
13848 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13849 postinstall_cmds
='chmod 555 $lib'
13850 # or fails outright, so override atomically:
13851 install_override_mode
=555
13858 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13859 soname_spec
='${libname}${release}${shared_ext}$major'
13860 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13861 shlibpath_var
=LD_LIBRARY_PATH
13862 shlibpath_overrides_runpath
=no
13863 hardcode_into_libs
=yes
13866 irix5
* | irix6
* | nonstopux
*)
13868 nonstopux
*) version_type
=nonstopux
;;
13870 if test "$lt_cv_prog_gnu_ld" = yes; then
13878 soname_spec
='${libname}${release}${shared_ext}$major'
13879 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13881 irix5
* | nonstopux
*)
13882 libsuff
= shlibsuff
=
13885 case $LD in # libtool.m4 will add one of these switches to LD
13886 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13887 libsuff
= shlibsuff
= libmagic
=32-bit;;
13888 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13889 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13890 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13891 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13892 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13896 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13897 shlibpath_overrides_runpath
=no
13898 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13899 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13900 hardcode_into_libs
=yes
13903 # No shared lib support for Linux oldld, aout, or coff.
13904 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13908 # This must be Linux ELF.
13909 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13913 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13914 soname_spec
='${libname}${release}${shared_ext}$major'
13915 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13916 shlibpath_var
=LD_LIBRARY_PATH
13917 shlibpath_overrides_runpath
=no
13919 # Some binutils ld are patched to set DT_RUNPATH
13920 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
13921 $as_echo_n "(cached) " >&6
13923 lt_cv_shlibpath_overrides_runpath
=no
13924 save_LDFLAGS
=$LDFLAGS
13925 save_libdir
=$libdir
13926 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13927 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13929 /* end confdefs.h. */
13939 if ac_fn_cxx_try_link
"$LINENO"; then :
13940 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
13941 lt_cv_shlibpath_overrides_runpath
=yes
13944 rm -f core conftest.err conftest.
$ac_objext \
13945 conftest
$ac_exeext conftest.
$ac_ext
13946 LDFLAGS
=$save_LDFLAGS
13947 libdir
=$save_libdir
13951 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
13953 # This implies no fast_install, which is unacceptable.
13954 # Some rework will be needed to allow for fast_install
13955 # before this can be enabled.
13956 hardcode_into_libs
=yes
13958 # Append ld.so.conf contents to the search path
13959 if test -f /etc
/ld.so.conf
; then
13960 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
13961 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13964 # We used to test for /lib/ld.so.1 and disable shared libraries on
13965 # powerpc, because MkLinux only supported shared libraries with the
13966 # GNU dynamic linker. Since this was broken with cross compilers,
13967 # most powerpc-linux boxes support dynamic linking these days and
13968 # people can always --disable-shared, the test was removed, and we
13969 # assume the GNU/Linux dynamic linker is in use.
13970 dynamic_linker
='GNU/Linux ld.so'
13977 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13978 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13979 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13980 dynamic_linker
='NetBSD (a.out) ld.so'
13982 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13983 soname_spec
='${libname}${release}${shared_ext}$major'
13984 dynamic_linker
='NetBSD ld.elf_so'
13986 shlibpath_var
=LD_LIBRARY_PATH
13987 shlibpath_overrides_runpath
=yes
13988 hardcode_into_libs
=yes
13993 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13994 shlibpath_var
=LD_LIBRARY_PATH
13995 shlibpath_overrides_runpath
=yes
14002 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14003 soname_spec
='${libname}${release}${shared_ext}$major'
14004 shlibpath_var
=LD_LIBRARY_PATH
14005 shlibpath_overrides_runpath
=no
14006 hardcode_into_libs
=yes
14007 dynamic_linker
='ldqnx.so'
14012 sys_lib_dlsearch_path_spec
="/usr/lib"
14014 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14016 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14017 *) need_version
=no
;;
14019 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14020 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14021 shlibpath_var
=LD_LIBRARY_PATH
14022 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14024 openbsd2.
[89] | openbsd2.
[89].
*)
14025 shlibpath_overrides_runpath
=no
14028 shlibpath_overrides_runpath
=yes
14032 shlibpath_overrides_runpath
=yes
14037 libname_spec
='$name'
14040 library_names_spec
='$libname${shared_ext} $libname.a'
14041 dynamic_linker
='OS/2 ld.exe'
14042 shlibpath_var
=LIBPATH
14045 osf3
* | osf4
* | osf5
*)
14049 soname_spec
='${libname}${release}${shared_ext}$major'
14050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14051 shlibpath_var
=LD_LIBRARY_PATH
14052 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14053 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14064 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14065 soname_spec
='${libname}${release}${shared_ext}$major'
14066 shlibpath_var
=LD_LIBRARY_PATH
14067 shlibpath_overrides_runpath
=yes
14068 hardcode_into_libs
=yes
14069 # ldd complains unless libraries are executable
14070 postinstall_cmds
='chmod +x $lib'
14075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14076 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14077 shlibpath_var
=LD_LIBRARY_PATH
14078 shlibpath_overrides_runpath
=yes
14079 if test "$with_gnu_ld" = yes; then
14087 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14088 soname_spec
='${libname}${release}${shared_ext}$major'
14089 shlibpath_var
=LD_LIBRARY_PATH
14090 case $host_vendor in
14092 shlibpath_overrides_runpath
=no
14094 runpath_var
=LD_RUN_PATH
14102 shlibpath_overrides_runpath
=no
14103 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14109 if test -d /usr
/nec
;then
14111 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14112 soname_spec
='$libname${shared_ext}.$major'
14113 shlibpath_var
=LD_LIBRARY_PATH
14117 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14118 version_type
=freebsd-elf
14121 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14122 soname_spec
='${libname}${release}${shared_ext}$major'
14123 shlibpath_var
=LD_LIBRARY_PATH
14124 shlibpath_overrides_runpath
=yes
14125 hardcode_into_libs
=yes
14126 if test "$with_gnu_ld" = yes; then
14127 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14129 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14132 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14136 sys_lib_dlsearch_path_spec
='/usr/lib'
14140 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14144 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14145 shlibpath_var
=LD_LIBRARY_PATH
14146 shlibpath_overrides_runpath
=no
14147 hardcode_into_libs
=yes
14152 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14153 soname_spec
='${libname}${release}${shared_ext}$major'
14154 shlibpath_var
=LD_LIBRARY_PATH
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14162 $as_echo "$dynamic_linker" >&6; }
14163 test "$dynamic_linker" = no
&& can_build_shared
=no
14165 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14166 if test "$GCC" = yes; then
14167 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14170 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14171 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14173 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14174 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14215 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14216 hardcode_action_CXX
=
14217 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14218 test -n "$runpath_var_CXX" ||
14219 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14221 # We can hardcode non-existent directories.
14222 if test "$hardcode_direct_CXX" != no
&&
14223 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14224 # have to relink, otherwise we might link with an installed library
14225 # when we should be linking with a yet-to-be-installed one
14226 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14227 test "$hardcode_minus_L_CXX" != no
; then
14228 # Linking always hardcodes the temporary library directory.
14229 hardcode_action_CXX
=relink
14231 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14232 hardcode_action_CXX
=immediate
14235 # We cannot hardcode anything, or else we can only hardcode existing
14237 hardcode_action_CXX
=unsupported
14239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14240 $as_echo "$hardcode_action_CXX" >&6; }
14242 if test "$hardcode_action_CXX" = relink ||
14243 test "$inherit_rpath_CXX" = yes; then
14244 # Fast installation is not supported
14245 enable_fast_install
=no
14246 elif test "$shlibpath_overrides_runpath" = yes ||
14247 test "$enable_shared" = no
; then
14248 # Fast installation is not necessary
14249 enable_fast_install
=needless
14258 fi # test -n "$compiler"
14264 with_gnu_ld
=$lt_save_with_gnu_ld
14265 lt_cv_path_LDCXX
=$lt_cv_path_LD
14266 lt_cv_path_LD
=$lt_save_path_LD
14267 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14268 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14269 fi # test "$_lt_caught_CXX_error" != yes
14272 ac_cpp
='$CPP $CPPFLAGS'
14273 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14274 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14275 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14280 if test "$GXX" = yes; then
14281 visibility
=-fvisibility=hidden
14285 ac_fn_c_check_decl
"$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
14286 if test "x$ac_cv_have_decl_basename" = x
""yes; then :
14292 cat >>confdefs.h
<<_ACEOF
14293 #define HAVE_DECL_BASENAME $ac_have_decl
14297 gcc_version
=`cat $srcdir/../gcc/BASE-VER`
14301 save_CFLAGS
="$CFLAGS"
14302 for real_option
in -W -Wall; do
14303 # Do the check with the no- prefix removed since gcc silently
14304 # accepts any -Wno-* option on purpose
14305 case $real_option in
14306 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
14307 *) option
=$real_option ;;
14309 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
14312 $as_echo_n "checking whether $CC supports $option... " >&6; }
14313 if { as_var
=$as_acx_Woption; eval "test \"\${$as_var+set}\" = set"; }; then :
14314 $as_echo_n "(cached) " >&6
14317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14318 /* end confdefs.h. */
14328 if ac_fn_c_try_compile
"$LINENO"; then :
14329 eval "$as_acx_Woption=yes"
14331 eval "$as_acx_Woption=no"
14333 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14336 eval ac_res
=\$
$as_acx_Woption
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14338 $as_echo "$ac_res" >&6; }
14339 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
14340 WARN_FLAGS
="$WARN_FLAGS${WARN_FLAGS:+ }$real_option"
14343 CFLAGS
="$save_CFLAGS"
14345 WARN_FLAGS
="$WARN_FLAGS -Werror"
14349 if test "$GXX" = yes; then
14350 libsuffix
=`$CXX -print-multi-os-directory`
14354 # If any of these functions are missing, simply don't bother building
14356 # Check for plugin support
14357 # Check whether --enable-plugin was given.
14358 if test "${enable_plugin+set}" = set; then :
14359 enableval
=$enable_plugin; enable_plugin
=$enableval
14361 enable_plugin
=yes; default_plugin
=yes
14369 if test x
$build = x
$host; then
14370 export_sym_check
="nm${exeext} -g"
14371 elif test x
$host = x
$target; then
14372 export_sym_check
="$gcc_cv_nm -g"
14378 if test x
$build = x
$host; then
14379 export_sym_check
="objdump${exeext} -T"
14380 elif test x
$host = x
$target; then
14381 export_sym_check
="$gcc_cv_objdump -T"
14388 if test x
"$enable_plugin" = x
"yes"; then
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exported symbols" >&5
14391 $as_echo_n "checking for exported symbols... " >&6; }
14392 if test "x$export_sym_check" != x
; then
14393 echo "int main() {return 0;} int foobar() {return 0;}" > conftest.c
14394 ${CC} ${CFLAGS} ${LDFLAGS} conftest.c
-o conftest
$ac_exeext > /dev
/null
2>&1
14395 if $export_sym_check conftest
$ac_exeext |
grep -q foobar
> /dev
/null
; then
14396 : # No need to use a flag
14397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14398 $as_echo "yes" >&6; }
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14401 $as_echo "yes" >&6; }
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -rdynamic" >&5
14403 $as_echo_n "checking for -rdynamic... " >&6; }
14404 ${CC} ${CFLAGS} ${LDFLAGS} -rdynamic conftest.c
-o conftest
$ac_exeext > /dev
/null
2>&1
14405 if $export_sym_check conftest
$ac_exeext |
grep -q foobar
> /dev
/null
; then
14406 plugin_rdynamic
=yes
14407 pluginlibs
="-rdynamic"
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $plugin_rdynamic" >&5
14413 $as_echo "$plugin_rdynamic" >&6; }
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unable to check" >&5
14417 $as_echo "unable to check" >&6; }
14422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
14423 $as_echo_n "checking for library containing dlopen... " >&6; }
14424 if test "${ac_cv_search_dlopen+set}" = set; then :
14425 $as_echo_n "(cached) " >&6
14427 ac_func_search_save_LIBS
=$LIBS
14428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14429 /* end confdefs.h. */
14431 /* Override any GCC internal prototype to avoid an error.
14432 Use char because int might match the return type of a GCC
14433 builtin and then its argument prototype would still apply. */
14446 for ac_lib
in '' dl
; do
14447 if test -z "$ac_lib"; then
14448 ac_res
="none required"
14451 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14453 if ac_fn_c_try_link
"$LINENO"; then :
14454 ac_cv_search_dlopen
=$ac_res
14456 rm -f core conftest.err conftest.
$ac_objext \
14458 if test "${ac_cv_search_dlopen+set}" = set; then :
14462 if test "${ac_cv_search_dlopen+set}" = set; then :
14465 ac_cv_search_dlopen
=no
14467 rm conftest.
$ac_ext
14468 LIBS
=$ac_func_search_save_LIBS
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
14471 $as_echo "$ac_cv_search_dlopen" >&6; }
14472 ac_res
=$ac_cv_search_dlopen
14473 if test "$ac_res" != no
; then :
14474 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14478 if test x
"$ac_cv_search_dlopen" = x
"-ldl"; then
14479 pluginlibs
="$pluginlibs -ldl"
14483 # Check that we can build shared objects with -fPIC -shared
14484 saved_LDFLAGS
="$LDFLAGS"
14485 saved_CFLAGS
="$CFLAGS"
14488 CFLAGS
=`echo $CFLAGS | sed s/-mdynamic-no-pic//g`
14489 CFLAGS
="$CFLAGS -fPIC"
14490 LDFLAGS
="$LDFLAGS -shared -undefined dynamic_lookup"
14493 CFLAGS
="$CFLAGS -fPIC"
14494 LDFLAGS
="$LDFLAGS -fPIC -shared"
14497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fPIC -shared" >&5
14498 $as_echo_n "checking for -fPIC -shared... " >&6; }
14499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14500 /* end confdefs.h. */
14510 if ac_fn_c_try_link
"$LINENO"; then :
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14512 $as_echo "yes" >&6; }; have_pic_shared
=yes
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14515 $as_echo "no" >&6; }; have_pic_shared
=no
14517 rm -f core conftest.err conftest.
$ac_objext \
14518 conftest
$ac_exeext conftest.
$ac_ext
14519 if test x
"$have_pic_shared" != x
"yes" -o x
"$ac_cv_search_dlopen" = x
"no"; then
14523 LDFLAGS
="$saved_LDFLAGS"
14524 CFLAGS
="$saved_CFLAGS"
14526 # If plugin support had been requested but not available, fail.
14527 if test x
"$enable_plugin" = x
"no" ; then
14528 if test x
"$default_plugin" != x
"yes"; then
14530 Building GCC with plugin support requires a host that supports
14531 -fPIC, -shared, -ldl and -rdynamic." "$LINENO" 5
14536 ac_fn_c_check_func
"$LINENO" "socketpair" "ac_cv_func_socketpair"
14537 if test "x$ac_cv_func_socketpair" = x
""yes; then :
14543 ac_fn_c_check_func
"$LINENO" "select" "ac_cv_func_select"
14544 if test "x$ac_cv_func_select" = x
""yes; then :
14550 ac_fn_c_check_func
"$LINENO" "fork" "ac_cv_func_fork"
14551 if test "x$ac_cv_func_fork" = x
""yes; then :
14557 if test $enable_plugin = yes; then
14558 ENABLE_PLUGIN_TRUE
=
14559 ENABLE_PLUGIN_FALSE
='#'
14561 ENABLE_PLUGIN_TRUE
='#'
14562 ENABLE_PLUGIN_FALSE
=
14566 ac_config_files
="$ac_config_files Makefile"
14568 cat >confcache
<<\_ACEOF
14569 # This file is a shell script that caches the results of configure
14570 # tests run on this system so they can be shared between configure
14571 # scripts and configure runs, see configure's option --config-cache.
14572 # It is not useful on other systems. If it contains results you don't
14573 # want to keep, you may remove or edit it.
14575 # config.status only pays attention to the cache file if you give it
14576 # the --recheck option to rerun configure.
14578 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14579 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14580 # following values.
14584 # The following way of writing the cache mishandles newlines in values,
14585 # but we know of no workaround that is simple, portable, and efficient.
14586 # So, we kill variables containing newlines.
14587 # Ultrix sh set writes to stderr and can't be redirected directly,
14588 # and sets the high bit in the cache file unless we assign to the vars.
14590 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14591 eval ac_val
=\$
$ac_var
14595 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14596 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14599 _ | IFS | as_nl
) ;; #(
14600 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14601 *) { eval $ac_var=; unset $ac_var;} ;;
14607 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14608 *${as_nl}ac_space
=\
*)
14609 # `set' does not quote correctly, so add quotes: double-quote
14610 # substitution turns \\\\ into \\, and sed turns \\ into \.
14613 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14616 # `set' quotes correctly as required by POSIX, so do not add quotes.
14617 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14626 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14628 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14630 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14631 if test -w "$cache_file"; then
14632 test "x$cache_file" != "x/dev/null" &&
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14634 $as_echo "$as_me: updating cache $cache_file" >&6;}
14635 cat confcache
>$cache_file
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14638 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14643 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14644 # Let make expand exec_prefix.
14645 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14647 DEFS
=-DHAVE_CONFIG_H
14651 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14652 # 1. Remove the extension, and $U if already installed.
14653 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14654 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14655 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14656 # will be set to the directory where LIBOBJS objects are built.
14657 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14658 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14660 LIBOBJS
=$ac_libobjs
14662 LTLIBOBJS
=$ac_ltlibobjs
14665 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14666 as_fn_error
"conditional \"AMDEP\" was never defined.
14667 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14669 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14670 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
14671 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14673 if test -n "$EXEEXT"; then
14675 am__EXEEXT_FALSE
='#'
14677 am__EXEEXT_TRUE
='#'
14681 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14682 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
14683 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14685 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
14686 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
14687 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14689 if test -z "${ENABLE_PLUGIN_TRUE}" && test -z "${ENABLE_PLUGIN_FALSE}"; then
14690 as_fn_error
"conditional \"ENABLE_PLUGIN\" was never defined.
14691 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14694 : ${CONFIG_STATUS=./config.status}
14696 ac_clean_files_save
=$ac_clean_files
14697 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14698 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14699 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14701 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14703 # Generated by $as_me.
14704 # Run this file to recreate the current configuration.
14705 # Compiler output produced by configure, useful for debugging
14706 # configure, is in config.log if it exists.
14709 ac_cs_recheck=false
14712 SHELL=\${CONFIG_SHELL-$SHELL}
14715 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14716 ## -------------------- ##
14717 ## M4sh Initialization. ##
14718 ## -------------------- ##
14720 # Be more Bourne compatible
14721 DUALCASE
=1; export DUALCASE
# for MKS sh
14722 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14725 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14726 # is contrary to our usage. Disable this feature.
14727 alias -g '${1+"$@"}'='"$@"'
14728 setopt NO_GLOB_SUBST
14730 case `(set -o) 2>/dev/null` in #(
14742 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14743 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14744 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14745 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14746 # Prefer a ksh shell builtin over an external printf program on Solaris,
14747 # but without wasting forks for bash or zsh.
14748 if test -z "$BASH_VERSION$ZSH_VERSION" \
14749 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14750 as_echo='print
-r --'
14751 as_echo_n='print
-rn --'
14752 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14753 as_echo='printf %s
\n'
14754 as_echo_n='printf %s
'
14756 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14757 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14758 as_echo_n='/usr
/ucb
/echo -n'
14760 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14761 as_echo_n_body='eval
14765 expr "X$arg" : "X\\(.*\\)$as_nl";
14766 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14768 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14770 export as_echo_n_body
14771 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14773 export as_echo_body
14774 as_echo='sh
-c $as_echo_body as_echo
'
14777 # The user is always right.
14778 if test "${PATH_SEPARATOR+set}" != set; then
14780 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14781 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14788 # We need space, tab and new line, in precisely that order. Quoting is
14789 # there to prevent editors from complaining about space-tab.
14790 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14791 # splitting by setting IFS to empty value.)
14794 # Find who we are. Look in the path if we contain no directory separator.
14796 *[\\/]* ) as_myself=$0 ;;
14797 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14798 for as_dir in $PATH
14801 test -z "$as_dir" && as_dir=.
14802 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14808 # We did not find ourselves, most probably we were run as `sh COMMAND'
14809 # in which case we are not to be found in the path.
14810 if test "x$as_myself" = x
; then
14813 if test ! -f "$as_myself"; then
14814 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14818 # Unset variables that we do not need and which cause bugs (e.g. in
14819 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14820 # suppresses any "Segmentation fault" message there. '((' could
14821 # trigger a bug in pdksh 5.2.14.
14822 for as_var
in BASH_ENV ENV MAIL MAILPATH
14823 do eval test x\
${$as_var+set} = xset \
14824 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14837 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14840 # as_fn_error ERROR [LINENO LOG_FD]
14841 # ---------------------------------
14842 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14843 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14844 # script with status $?, using 1 if that was 0.
14847 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14849 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14850 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14852 $as_echo "$as_me: error: $1" >&2
14853 as_fn_exit
$as_status
14857 # as_fn_set_status STATUS
14858 # -----------------------
14859 # Set $? to STATUS, without forking.
14860 as_fn_set_status
()
14863 } # as_fn_set_status
14865 # as_fn_exit STATUS
14866 # -----------------
14867 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14871 as_fn_set_status
$1
14877 # Portably unset VAR.
14880 { eval $1=; unset $1;}
14882 as_unset
=as_fn_unset
14883 # as_fn_append VAR VALUE
14884 # ----------------------
14885 # Append the text in VALUE to the end of the definition contained in VAR. Take
14886 # advantage of any shell optimizations that allow amortized linear growth over
14887 # repeated appends, instead of the typical quadratic growth present in naive
14889 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14890 eval 'as_fn_append ()
14901 # as_fn_arith ARG...
14902 # ------------------
14903 # Perform arithmetic evaluation on the ARGs, and store the result in the
14904 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14905 # must be portable across $(()) and expr.
14906 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14907 eval 'as_fn_arith ()
14914 as_val
=`expr "$@" || test $? -eq 1`
14919 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14920 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14926 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14927 as_basename
=basename
14932 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14938 as_me
=`$as_basename -- "$0" ||
14939 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14940 X"$0" : 'X\(//\)$' \| \
14941 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14943 sed '/^.*\/\([^/][^/]*\)\/*$/{
14957 # Avoid depending upon Character Ranges.
14958 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14959 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14960 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14961 as_cr_digits
='0123456789'
14962 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14964 ECHO_C
= ECHO_N
= ECHO_T
=
14965 case `echo -n x` in #(((((
14967 case `echo 'xy\c'` in
14968 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14970 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14977 rm -f conf$$ conf$$.exe conf$$.
file
14978 if test -d conf$$.dir
; then
14979 rm -f conf$$.dir
/conf$$.
file
14982 mkdir conf$$.dir
2>/dev
/null
14984 if (echo >conf$$.
file) 2>/dev
/null
; then
14985 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14987 # ... but there are two gotchas:
14988 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14989 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14990 # In both cases, we have to default to `cp -p'.
14991 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14993 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15001 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15002 rmdir conf$$.dir
2>/dev
/null
15007 # Create "$as_dir" as a directory, including parents if necessary.
15012 -*) as_dir
=.
/$as_dir;;
15014 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15018 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15019 *) as_qdir
=$as_dir;;
15021 as_dirs
="'$as_qdir' $as_dirs"
15022 as_dir
=`$as_dirname -- "$as_dir" ||
15023 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15024 X"$as_dir" : 'X\(//\)[^/]' \| \
15025 X"$as_dir" : 'X\(//\)$' \| \
15026 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15027 $as_echo X"$as_dir" |
15028 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15032 /^X\(\/\/\)[^/].*/{
15045 test -d "$as_dir" && break
15047 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15048 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15052 if mkdir
-p .
2>/dev
/null
; then
15053 as_mkdir_p
='mkdir -p "$as_dir"'
15055 test -d .
/-p && rmdir .
/-p
15059 if test -x / >/dev
/null
2>&1; then
15060 as_test_x
='test -x'
15062 if ls -dL / >/dev
/null
2>&1; then
15069 if test -d "$1"; then
15075 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15076 ???[sx]*):;;*)false;;esac;fi
15080 as_executable_p
=$as_test_x
15082 # Sed expression to map a string onto a valid CPP name.
15083 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15085 # Sed expression to map a string onto a valid variable name.
15086 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15090 ## ----------------------------------- ##
15091 ## Main body of $CONFIG_STATUS script. ##
15092 ## ----------------------------------- ##
15094 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15097 # Save the log message, to keep $0 and so on meaningful, and to
15098 # report actual input values of CONFIG_FILES etc. instead of their
15099 # values after options handling.
15101 This file was extended by libcc1 $as_me version-unused, which was
15102 generated by GNU Autoconf 2.64. Invocation command line was
15104 CONFIG_FILES = $CONFIG_FILES
15105 CONFIG_HEADERS = $CONFIG_HEADERS
15106 CONFIG_LINKS = $CONFIG_LINKS
15107 CONFIG_COMMANDS = $CONFIG_COMMANDS
15110 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15115 case $ac_config_files in *"
15116 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15119 case $ac_config_headers in *"
15120 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15124 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15125 # Files that config.status was made for.
15126 config_files="$ac_config_files"
15127 config_headers="$ac_config_headers"
15128 config_commands="$ac_config_commands"
15132 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15134 \`$as_me' instantiates files and other configuration actions
15135 from templates according to the current configuration. Unless the files
15136 and actions are specified as TAGs, all are instantiated by default.
15138 Usage: $0 [OPTION]... [TAG]...
15140 -h, --help print this help, then exit
15141 -V, --version print version number and configuration settings, then exit
15142 -q, --quiet, --silent
15143 do not print progress messages
15144 -d, --debug don't remove temporary files
15145 --recheck update $as_me by reconfiguring in the same conditions
15146 --file=FILE[:TEMPLATE]
15147 instantiate the configuration file FILE
15148 --header=FILE[:TEMPLATE]
15149 instantiate the configuration header FILE
15151 Configuration files:
15154 Configuration headers:
15157 Configuration commands:
15160 Report bugs to the package provider."
15163 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15165 libcc1 config.status version-unused
15166 configured by $0, generated by GNU Autoconf 2.64,
15167 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15169 Copyright (C) 2009 Free Software Foundation, Inc.
15170 This config.status script is free software; the Free Software Foundation
15171 gives unlimited permission to copy, distribute and modify it."
15178 test -n "\$AWK" || AWK=awk
15181 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15182 # The default lists apply if the user does not specify any file.
15188 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15189 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15200 # Handling of the options.
15201 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15203 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15204 $as_echo "$ac_cs_version"; exit ;;
15205 --debug |
--debu |
--deb |
--de |
--d |
-d )
15207 --file |
--fil |
--fi |
--f )
15210 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15212 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15213 ac_need_defaults
=false
;;
15214 --header |
--heade |
--head |
--hea )
15217 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15219 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15220 ac_need_defaults
=false
;;
15222 # Conflict between --help and --header
15223 as_fn_error
"ambiguous option: \`$1'
15224 Try \`$0 --help' for more information.";;
15225 --help |
--hel |
-h )
15226 $as_echo "$ac_cs_usage"; exit ;;
15227 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15228 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15231 # This is an error.
15232 -*) as_fn_error
"unrecognized option: \`$1'
15233 Try \`$0 --help' for more information." ;;
15235 *) as_fn_append ac_config_targets
" $1"
15236 ac_need_defaults
=false
;;
15242 ac_configure_extra_args
=
15244 if $ac_cs_silent; then
15246 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15250 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15251 if \$ac_cs_recheck; then
15252 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15254 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15255 CONFIG_SHELL='$SHELL'
15256 export CONFIG_SHELL
15261 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15265 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15266 ## Running $as_me. ##
15272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15276 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15279 # The HP-UX ksh and POSIX shell print the target directory to stdout
15280 # if CDPATH is set.
15281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15283 sed_quote_subst='$sed_quote_subst'
15284 double_quote_subst='$double_quote_subst'
15285 delay_variable_subst='$delay_variable_subst'
15286 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15287 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15288 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15289 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15290 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15291 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15292 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15293 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15294 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15295 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15296 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15297 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15298 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15299 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15300 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15301 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15302 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15303 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15304 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15305 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15306 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15307 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15308 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15309 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15310 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15311 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15312 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15313 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15314 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15315 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15316 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15317 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15318 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15319 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15320 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15321 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15322 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15323 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15324 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15325 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15326 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15327 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15328 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15329 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15330 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15331 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15332 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15333 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15334 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
15335 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15336 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15337 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15338 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15339 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15340 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15341 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15342 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15343 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15344 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15345 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15346 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15347 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15348 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15349 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15350 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15351 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15352 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15353 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15354 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15355 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15356 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15357 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15358 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15359 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15360 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15361 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15362 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15363 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15364 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15365 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15366 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15367 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15368 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15369 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15370 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15371 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15372 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15373 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15374 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15375 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15376 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15377 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15378 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15379 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15380 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15381 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15382 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15383 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15384 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15385 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15386 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15387 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15388 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15389 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15390 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15391 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15392 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15393 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15394 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15395 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15396 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15397 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15398 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15399 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15400 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15401 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15402 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15403 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15404 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15405 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15406 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
15407 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
15408 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
15409 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
15410 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
15411 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
15412 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
15413 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
15414 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15415 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15416 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
15417 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
15418 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
15419 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
15420 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
15421 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
15422 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
15423 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
15424 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
15425 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15426 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15427 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
15428 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15429 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15430 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15431 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15432 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15433 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15434 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
15435 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15436 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15437 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15438 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
15439 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
15440 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
15441 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
15442 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
15443 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
15444 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
15445 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
15446 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
15447 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
15448 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
15449 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15450 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15451 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15452 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15453 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
15454 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
15455 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
15456 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15457 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15458 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
15459 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
15460 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
15463 LTCFLAGS='$LTCFLAGS'
15464 compiler='$compiler_DEFAULT'
15466 # A function that is used when there is no print builtin or printf.
15467 func_fallback_echo ()
15469 eval 'cat <<_LTECHO_EOF
15474 # Quote evaled strings.
15488 deplibs_check_method \
15497 lt_cv_sys_global_symbol_pipe \
15498 lt_cv_sys_global_symbol_to_cdecl \
15499 lt_cv_sys_global_symbol_to_c_name_address \
15500 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15501 lt_prog_compiler_no_builtin_flag \
15502 lt_prog_compiler_wl \
15503 lt_prog_compiler_pic \
15504 lt_prog_compiler_static \
15505 lt_cv_prog_compiler_c_o \
15513 export_dynamic_flag_spec \
15514 whole_archive_flag_spec \
15515 compiler_needs_object \
15517 allow_undefined_flag \
15518 no_undefined_flag \
15519 hardcode_libdir_flag_spec \
15520 hardcode_libdir_flag_spec_ld \
15521 hardcode_libdir_separator \
15526 variables_saved_for_relink \
15528 library_names_spec \
15530 install_override_mode \
15534 compiler_lib_search_dirs \
15539 compiler_lib_search_path \
15543 lt_prog_compiler_no_builtin_flag_CXX \
15544 lt_prog_compiler_wl_CXX \
15545 lt_prog_compiler_pic_CXX \
15546 lt_prog_compiler_static_CXX \
15547 lt_cv_prog_compiler_c_o_CXX \
15548 export_dynamic_flag_spec_CXX \
15549 whole_archive_flag_spec_CXX \
15550 compiler_needs_object_CXX \
15552 allow_undefined_flag_CXX \
15553 no_undefined_flag_CXX \
15554 hardcode_libdir_flag_spec_CXX \
15555 hardcode_libdir_flag_spec_ld_CXX \
15556 hardcode_libdir_separator_CXX \
15557 fix_srcfile_path_CXX \
15558 exclude_expsyms_CXX \
15559 include_expsyms_CXX \
15560 file_list_spec_CXX \
15561 compiler_lib_search_dirs_CXX \
15562 predep_objects_CXX \
15563 postdep_objects_CXX \
15566 compiler_lib_search_path_CXX; do
15567 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15568 *[\\\\\\\`\\"\\\$]*)
15569 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15572 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15577 # Double-quote double-evaled strings.
15578 for var in reload_cmds \
15579 old_postinstall_cmds \
15580 old_postuninstall_cmds \
15582 extract_expsyms_cmds \
15583 old_archive_from_new_cmds \
15584 old_archive_from_expsyms_cmds \
15586 archive_expsym_cmds \
15588 module_expsym_cmds \
15589 export_symbols_cmds \
15592 postuninstall_cmds \
15594 sys_lib_search_path_spec \
15595 sys_lib_dlsearch_path_spec \
15597 old_archive_cmds_CXX \
15598 old_archive_from_new_cmds_CXX \
15599 old_archive_from_expsyms_cmds_CXX \
15601 archive_expsym_cmds_CXX \
15603 module_expsym_cmds_CXX \
15604 export_symbols_cmds_CXX \
15605 prelink_cmds_CXX; do
15606 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15607 *[\\\\\\\`\\"\\\$]*)
15608 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15611 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15616 ac_aux_dir='$ac_aux_dir'
15617 xsi_shell='$xsi_shell'
15618 lt_shell_append='$lt_shell_append'
15620 # See if we are running on zsh, and set the options which allow our
15621 # commands through without removal of \ escapes INIT.
15622 if test -n "\${ZSH_VERSION+set}" ; then
15623 setopt NO_GLOB_SUBST
15629 TIMESTAMP='$TIMESTAMP'
15640 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15642 # Handling of arguments.
15643 for ac_config_target
in $ac_config_targets
15645 case $ac_config_target in
15646 "cc1plugin-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS cc1plugin-config.h" ;;
15647 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15648 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15649 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15651 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15656 # If the user did not use the arguments to specify the items to instantiate,
15657 # then the envvar interface is used. Set only those that are not.
15658 # We use the long form for the default assignment because of an extremely
15659 # bizarre bug on SunOS 4.1.3.
15660 if $ac_need_defaults; then
15661 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15662 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15663 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15666 # Have a temporary directory for convenience. Make it in the build tree
15667 # simply because there is no reason against having it here, and in addition,
15668 # creating and moving files from /tmp can sometimes cause problems.
15669 # Hook for its removal unless debugging.
15670 # Note that there is a small window in which the directory will not be cleaned:
15671 # after its creation but before its name has been assigned to `$tmp'.
15675 trap 'exit_status=$?
15676 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15678 trap 'as_fn_exit 1' 1 2 13 15
15680 # Create a (secure) tmp directory for tmp files.
15683 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15684 test -n "$tmp" && test -d "$tmp"
15687 tmp
=.
/conf$$
-$RANDOM
15688 (umask 077 && mkdir
"$tmp")
15689 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15691 # Set up the scripts for CONFIG_FILES section.
15692 # No need to generate them if there are no CONFIG_FILES.
15693 # This happens for instance with `./config.status config.h'.
15694 if test -n "$CONFIG_FILES"; then
15697 ac_cr
=`echo X | tr X '\015'`
15698 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15699 # But we know of no other shell where ac_cr would be empty at this
15700 # point, so we can use a bashism as a fallback.
15701 if test "x$ac_cr" = x
; then
15702 eval ac_cr
=\$
\'\\r
\'
15704 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15705 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15708 ac_cs_awk_cr
=$ac_cr
15711 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15716 echo "cat >conf$$subs.awk <<_ACEOF" &&
15717 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15719 } >conf$$subs.sh ||
15720 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15721 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15723 for ac_last_try in false false false false false :; do
15724 . ./conf$$subs.sh ||
15725 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15727 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15728 if test $ac_delim_n = $ac_delim_num; then
15730 elif $ac_last_try; then
15731 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15733 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15736 rm -f conf$$subs.sh
15738 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15739 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15743 s/^/S["/; s
/!.
*/"]=/
15753 s/\(.\{148\}\).*/\1/
15755 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15760 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15767 s/\(.\{148\}\).*/\1/
15769 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15773 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15778 ' <conf$$subs.awk | sed '
15783 ' >>$CONFIG_STATUS || ac_write_fail=1
15784 rm -f conf$$subs.awk
15785 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15787 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15788 for (key in S) S_is_set[key] = 1
15794 nfields = split(line, field, "@
")
15796 len = length(field[1])
15797 for (i = 2; i < nfields; i++) {
15799 keylen = length(key)
15800 if (S_is_set[key]) {
15802 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15803 len += length(value) + length(field[++i])
15814 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15815 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15816 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15819 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15820 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15823 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15824 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15825 # trailing colons and then remove the whole line if VPATH becomes empty
15826 # (actually we leave an empty line to preserve line numbers).
15827 if test "x
$srcdir" = x.; then
15828 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15829 s/:*\$(srcdir):*/:/
15830 s/:*\${srcdir}:*/:/
15832 s/^\([^=]*=[ ]*\):*/\1/
15838 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15839 fi # test -n "$CONFIG_FILES"
15841 # Set up the scripts for CONFIG_HEADERS section.
15842 # No need to generate them if there are no CONFIG_HEADERS.
15843 # This happens for instance with `./config.status Makefile'.
15844 if test -n "$CONFIG_HEADERS"; then
15845 cat >"$tmp/defines.
awk" <<\_ACAWK ||
15849 # Transform confdefs.h into an awk script `defines.awk', embedded as
15850 # here-document in config.status, that substitutes the proper values into
15851 # config.h.in to produce config.h.
15853 # Create a delimiter string that does not exist in confdefs.h, to ease
15854 # handling of long lines.
15856 for ac_last_try in false false :; do
15857 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
15858 if test -z "$ac_t"; then
15860 elif $ac_last_try; then
15861 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
15863 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15867 # For the awk script, D is an array of macro values keyed by name,
15868 # likewise P contains macro parameters if any. Preserve backslash
15869 # newline sequences.
15871 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15873 s/.\{148\}/&'"$ac_delim"'/g
15876 s/^[ ]*#[ ]*define[ ][ ]*/ /
15883 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15885 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15889 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15890 D["\
1"]=" \
3\\\\\\n
"\\/p
15892 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15897 s/.\{148\}/&'"$ac_delim"'/g
15902 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15905 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15907 ' <confdefs.h | sed '
15908 s/'"$ac_delim"'/"\\\
15909 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15912 for (key in D) D_is_set[key] = 1
15915 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15917 split(line, arg, " ")
15918 if (arg[1] == "#") {
15922 defundef
= substr
(arg
[1], 2)
15925 split(mac1
, mac2
, "(") #)
15927 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15928 if (D_is_set
[macro
]) {
15929 # Preserve the white space surrounding the "#".
15930 print prefix
"define", macro P
[macro
] D
[macro
]
15933 # Replace #undef with comments. This is necessary, for example,
15934 # in the case of _POSIX_SOURCE, which is predefined and required
15935 # on some systems where configure will not decide to define it.
15936 if (defundef
== "undef") {
15937 print
"/*", prefix defundef
, macro
, "*/"
15945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15946 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
15947 fi # test -n "$CONFIG_HEADERS"
15950 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15955 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15957 case $ac_mode$ac_tag in
15959 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15960 :[FH
]-) ac_tag
=-:-;;
15961 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15978 -) ac_f
="$tmp/stdin";;
15979 *) # Look for the file first in the build tree, then in the source tree
15980 # (if the path is not absolute). The absolute path cannot be DOS-style,
15981 # because $ac_f cannot contain `:'.
15985 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15987 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
15989 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15990 as_fn_append ac_file_inputs
" '$ac_f'"
15993 # Let's still pretend it is `configure' which instantiates (i.e., don't
15994 # use $as_me), people would be surprised to read:
15995 # /* config.h. Generated by config.status. */
15996 configure_input
='Generated from '`
15997 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15999 if test x
"$ac_file" != x-
; then
16000 configure_input
="$ac_file. $configure_input"
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16002 $as_echo "$as_me: creating $ac_file" >&6;}
16004 # Neutralize special characters interpreted by sed in replacement strings.
16005 case $configure_input in #(
16006 *\
&* |
*\|
* |
*\\* )
16007 ac_sed_conf_input
=`$as_echo "$configure_input" |
16008 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16009 *) ac_sed_conf_input
=$configure_input;;
16013 *:-:* |
*:-) cat >"$tmp/stdin" \
16014 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
16019 ac_dir
=`$as_dirname -- "$ac_file" ||
16020 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16021 X"$ac_file" : 'X\(//\)[^/]' \| \
16022 X"$ac_file" : 'X\(//\)$' \| \
16023 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16024 $as_echo X"$ac_file" |
16025 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16029 /^X\(\/\/\)[^/].*/{
16042 as_dir
="$ac_dir"; as_fn_mkdir_p
16046 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16048 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16049 # A ".." for each directory in $ac_dir_suffix.
16050 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16051 case $ac_top_builddir_sub in
16052 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16053 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16056 ac_abs_top_builddir
=$ac_pwd
16057 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16058 # for backward compatibility:
16059 ac_top_builddir
=$ac_top_build_prefix
16062 .
) # We are building in place.
16064 ac_top_srcdir
=$ac_top_builddir_sub
16065 ac_abs_top_srcdir
=$ac_pwd ;;
16066 [\\/]* | ?
:[\\/]* ) # Absolute name.
16067 ac_srcdir
=$srcdir$ac_dir_suffix;
16068 ac_top_srcdir
=$srcdir
16069 ac_abs_top_srcdir
=$srcdir ;;
16070 *) # Relative name.
16071 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16072 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16073 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16075 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16085 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16086 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16088 ac_MKDIR_P
=$MKDIR_P
16090 [\\/$
]* | ?
:[\\/]* ) ;;
16091 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16096 # If the template does not know about datarootdir, expand it.
16097 # FIXME: This hack should be removed a few years after 2.60.
16098 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16109 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16110 *datarootdir
*) ac_datarootdir_seen
=yes;;
16111 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16113 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16115 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16116 ac_datarootdir_hack='
16117 s&@datadir@&$datadir&g
16118 s&@docdir@&$docdir&g
16119 s&@infodir@&$infodir&g
16120 s&@localedir@&$localedir&g
16121 s&@mandir@&$mandir&g
16122 s&\\\${datarootdir}&$datarootdir&g' ;;
16126 # Neutralize VPATH when `$srcdir' = `.'.
16127 # Shell code in configure.ac might set extrasub.
16128 # FIXME: do we really want to maintain this feature?
16129 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16130 ac_sed_extra="$ac_vpsub
16133 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16135 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16136 s|@configure_input@|
$ac_sed_conf_input|
;t t
16137 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16138 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16139 s
&@srcdir@
&$ac_srcdir&;t t
16140 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16141 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16142 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16143 s
&@builddir@
&$ac_builddir&;t t
16144 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16145 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16146 s
&@INSTALL@
&$ac_INSTALL&;t t
16147 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16148 $ac_datarootdir_hack
16150 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16151 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16153 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16154 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16155 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16157 which seems to be undefined. Please make sure it is defined." >&5
16158 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16159 which seems to be undefined. Please make sure it is defined." >&2;}
16163 -) cat "$tmp/out" && rm -f "$tmp/out";;
16164 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16166 || as_fn_error "could not create $ac_file" "$LINENO" 5
16172 if test x"$ac_file" != x-; then
16174 $as_echo "/* $configure_input */" \
16175 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16176 } >"$tmp/config.h" \
16177 || as_fn_error "could not create $ac_file" "$LINENO" 5
16178 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16179 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16180 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16183 mv "$tmp/config.h" "$ac_file" \
16184 || as_fn_error "could not create $ac_file" "$LINENO" 5
16187 $as_echo "/* $configure_input */" \
16188 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16189 || as_fn_error "could not create -" "$LINENO" 5
16191 # Compute "$ac_file"'s index
in $config_headers.
16194 for _am_header
in $config_headers :; do
16195 case $_am_header in
16196 $_am_arg |
$_am_arg:* )
16199 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16202 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16203 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16204 X"$_am_arg" : 'X\(//\)[^/]' \| \
16205 X"$_am_arg" : 'X\(//\)$' \| \
16206 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16207 $as_echo X"$_am_arg" |
16208 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16212 /^X\(\/\/\)[^/].*/{
16224 s/.*/./; q'`/stamp-h
$_am_stamp_count
16227 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16228 $as_echo "$as_me: executing $ac_file commands" >&6;}
16233 case $ac_file$ac_mode in
16234 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
16235 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16236 # are listed without --file. Let's play safe and only enable the eval
16237 # if we detect the quoting.
16238 case $CONFIG_FILES in
16239 *\'*) eval set x
"$CONFIG_FILES" ;;
16240 *) set x
$CONFIG_FILES ;;
16245 # Strip MF so we end up with the name of the file.
16246 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16247 # Check whether this is an Automake generated Makefile or not.
16248 # We used to match only the files named `Makefile.in', but
16249 # some people rename them; so instead we look at the file content.
16250 # Grep'ing the first line is not enough: some people post-process
16251 # each Makefile.in and add a new line on top of each file to say so.
16252 # Grep'ing the whole file is not good either: AIX grep has a line
16253 # limit of 2048, but all sed's we know have understand at least 4000.
16254 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16255 dirpart
=`$as_dirname -- "$mf" ||
16256 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16257 X"$mf" : 'X\(//\)[^/]' \| \
16258 X"$mf" : 'X\(//\)$' \| \
16259 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16261 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16265 /^X\(\/\/\)[^/].*/{
16281 # Extract the definition of DEPDIR, am__include, and am__quote
16282 # from the Makefile without running `make'.
16283 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16284 test -z "$DEPDIR" && continue
16285 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16286 test -z "am__include" && continue
16287 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16288 # When using ansi2knr, U may be empty or an underscore; expand it
16289 U
=`sed -n 's/^U = //p' < "$mf"`
16290 # Find all dependency output files, they are included files with
16291 # $(DEPDIR) in their names. We invoke sed twice because it is the
16292 # simplest approach to changing $(DEPDIR) to its actual value in the
16294 for file in `sed -n "
16295 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16296 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16297 # Make sure the directory exists.
16298 test -f "$dirpart/$file" && continue
16299 fdir
=`$as_dirname -- "$file" ||
16300 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16301 X"$file" : 'X\(//\)[^/]' \| \
16302 X"$file" : 'X\(//\)$' \| \
16303 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16304 $as_echo X"$file" |
16305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16309 /^X\(\/\/\)[^/].*/{
16322 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16323 # echo "creating $dirpart/$file"
16324 echo '# dummy' > "$dirpart/$file"
16331 # See if we are running on zsh, and set the options which allow our
16332 # commands through without removal of \ escapes.
16333 if test -n "${ZSH_VERSION+set}" ; then
16334 setopt NO_GLOB_SUBST
16337 cfgfile
="${ofile}T"
16338 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16341 cat <<_LT_EOF >> "$cfgfile"
16344 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16345 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16346 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16347 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16349 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16350 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16351 # Written by Gordon Matzigkeit, 1996
16353 # This file is part of GNU Libtool.
16355 # GNU Libtool is free software; you can redistribute it and/or
16356 # modify it under the terms of the GNU General Public License as
16357 # published by the Free Software Foundation; either version 2 of
16358 # the License, or (at your option) any later version.
16360 # As a special exception to the GNU General Public License,
16361 # if you distribute this file as part of a program or library that
16362 # is built using GNU Libtool, you may include this file under the
16363 # same distribution terms that you use for the rest of that program.
16365 # GNU Libtool is distributed in the hope that it will be useful,
16366 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16367 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16368 # GNU General Public License for more details.
16370 # You should have received a copy of the GNU General Public License
16371 # along with GNU Libtool; see the file COPYING. If not, a copy
16372 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16373 # obtained by writing to the Free Software Foundation, Inc.,
16374 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16377 # The names of the tagged configurations supported by this script.
16378 available_tags="CXX "
16380 # ### BEGIN LIBTOOL CONFIG
16382 # Which release of libtool.m4 was used?
16383 macro_version=$macro_version
16384 macro_revision=$macro_revision
16386 # Whether or not to build static libraries.
16387 build_old_libs=$enable_static
16389 # Whether or not to build shared libraries.
16390 build_libtool_libs=$enable_shared
16392 # What type of objects to build.
16395 # Whether or not to optimize for fast installation.
16396 fast_install=$enable_fast_install
16398 # Shell to use when invoking shell scripts.
16401 # An echo program that protects backslashes.
16405 host_alias=$host_alias
16409 # The build system.
16410 build_alias=$build_alias
16414 # A sed program that does not truncate output.
16417 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16418 Xsed="\$SED -e 1s/^X//"
16420 # A grep program that handles long lines.
16426 # A literal string matcher.
16429 # A BSD- or MS-compatible name lister.
16432 # Whether we need soft or hard links.
16435 # What is the maximum length of a command?
16436 max_cmd_len=$max_cmd_len
16438 # Object file suffix (normally "o").
16441 # Executable file suffix (normally "").
16444 # whether the shell understands "unset".
16447 # turn spaces into newlines.
16450 # turn newlines into spaces.
16453 # An object symbol dumper.
16454 OBJDUMP=$lt_OBJDUMP
16456 # Method to check whether dependent libraries are shared objects.
16457 deplibs_check_method=$lt_deplibs_check_method
16459 # Command to use when deplibs_check_method == "file_magic".
16460 file_magic_cmd=$lt_file_magic_cmd
16464 AR_FLAGS=$lt_AR_FLAGS
16466 # A symbol stripping program.
16469 # Commands used to install an old-style archive.
16471 old_postinstall_cmds=$lt_old_postinstall_cmds
16472 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16474 # Whether to use a lock for old archive extraction.
16475 lock_old_archive_extraction=$lock_old_archive_extraction
16480 # LTCC compiler flags.
16481 LTCFLAGS=$lt_CFLAGS
16483 # Take the output of nm and produce a listing of raw symbols and C names.
16484 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16486 # Transform the output of nm in a proper C declaration.
16487 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16489 # Transform the output of nm in a C name address pair.
16490 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16492 # Transform the output of nm in a C name address pair when lib prefix is needed.
16493 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16495 # The name of the directory that contains temporary libtool files.
16498 # Used to examine libraries when file_magic_cmd begins with "file".
16499 MAGIC_CMD=$MAGIC_CMD
16501 # Must we lock files when doing compilation?
16502 need_locks=$lt_need_locks
16504 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16505 DSYMUTIL=$lt_DSYMUTIL
16507 # Tool to change global to local symbols on Mac OS X.
16510 # Tool to manipulate fat objects and archives on Mac OS X.
16513 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16516 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16517 OTOOL64=$lt_OTOOL64
16519 # Old archive suffix (normally "a").
16522 # Shared library suffix (normally ".so").
16523 shrext_cmds=$lt_shrext_cmds
16525 # The commands to extract the exported symbol list from a shared archive.
16526 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16528 # Variables whose values should be saved in libtool wrapper scripts and
16529 # restored at link time.
16530 variables_saved_for_relink=$lt_variables_saved_for_relink
16532 # Do we need the "lib" prefix for modules?
16533 need_lib_prefix=$need_lib_prefix
16535 # Do we need a version for libraries?
16536 need_version=$need_version
16538 # Library versioning type.
16539 version_type=$version_type
16541 # Shared library runtime path variable.
16542 runpath_var=$runpath_var
16544 # Shared library path variable.
16545 shlibpath_var=$shlibpath_var
16547 # Is shlibpath searched before the hard-coded library search path?
16548 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16550 # Format of library name prefix.
16551 libname_spec=$lt_libname_spec
16553 # List of archive names. First name is the real one, the rest are links.
16554 # The last name is the one that the linker finds with -lNAME
16555 library_names_spec=$lt_library_names_spec
16557 # The coded name of the library, if different from the real name.
16558 soname_spec=$lt_soname_spec
16560 # Permission mode override for installation of shared libraries.
16561 install_override_mode=$lt_install_override_mode
16563 # Command to use after installation of a shared archive.
16564 postinstall_cmds=$lt_postinstall_cmds
16566 # Command to use after uninstallation of a shared archive.
16567 postuninstall_cmds=$lt_postuninstall_cmds
16569 # Commands used to finish a libtool library installation in a directory.
16570 finish_cmds=$lt_finish_cmds
16572 # As "finish_cmds", except a single script fragment to be evaled but
16574 finish_eval=$lt_finish_eval
16576 # Whether we should hardcode library paths into libraries.
16577 hardcode_into_libs=$hardcode_into_libs
16579 # Compile-time system search path for libraries.
16580 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16582 # Run-time system search path for libraries.
16583 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16585 # Whether dlopen is supported.
16586 dlopen_support=$enable_dlopen
16588 # Whether dlopen of programs is supported.
16589 dlopen_self=$enable_dlopen_self
16591 # Whether dlopen of statically linked programs is supported.
16592 dlopen_self_static=$enable_dlopen_self_static
16594 # Commands to strip libraries.
16595 old_striplib=$lt_old_striplib
16596 striplib=$lt_striplib
16599 # The linker used to build libraries.
16602 # How to create reloadable object files.
16603 reload_flag=$lt_reload_flag
16604 reload_cmds=$lt_reload_cmds
16606 # Commands used to build an old-style archive.
16607 old_archive_cmds=$lt_old_archive_cmds
16609 # A language specific compiler.
16612 # Is the compiler the GNU compiler?
16615 # Compiler flag to turn off builtin functions.
16616 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16618 # How to pass a linker flag through the compiler.
16619 wl=$lt_lt_prog_compiler_wl
16621 # Additional compiler flags for building library objects.
16622 pic_flag=$lt_lt_prog_compiler_pic
16624 # Compiler flag to prevent dynamic linking.
16625 link_static_flag=$lt_lt_prog_compiler_static
16627 # Does compiler simultaneously support -c and -o options?
16628 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16630 # Whether or not to add -lc for building shared libraries.
16631 build_libtool_need_lc=$archive_cmds_need_lc
16633 # Whether or not to disallow shared libs when runtime libs are static.
16634 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16636 # Compiler flag to allow reflexive dlopens.
16637 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16639 # Compiler flag to generate shared objects directly from archives.
16640 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16642 # Whether the compiler copes with passing no objects directly.
16643 compiler_needs_object=$lt_compiler_needs_object
16645 # Create an old-style archive from a shared archive.
16646 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16648 # Create a temporary old-style archive to link instead of a shared archive.
16649 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16651 # Commands used to build a shared archive.
16652 archive_cmds=$lt_archive_cmds
16653 archive_expsym_cmds=$lt_archive_expsym_cmds
16655 # Commands used to build a loadable module if different from building
16656 # a shared archive.
16657 module_cmds=$lt_module_cmds
16658 module_expsym_cmds=$lt_module_expsym_cmds
16660 # Whether we are building with GNU ld or not.
16661 with_gnu_ld=$lt_with_gnu_ld
16663 # Flag that allows shared libraries with undefined symbols to be built.
16664 allow_undefined_flag=$lt_allow_undefined_flag
16666 # Flag that enforces no undefined symbols.
16667 no_undefined_flag=$lt_no_undefined_flag
16669 # Flag to hardcode \$libdir into a binary during linking.
16670 # This must work even if \$libdir does not exist
16671 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16673 # If ld is used when linking, flag to hardcode \$libdir into a binary
16674 # during linking. This must work even if \$libdir does not exist.
16675 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16677 # Whether we need a single "-rpath" flag with a separated argument.
16678 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16680 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16681 # DIR into the resulting binary.
16682 hardcode_direct=$hardcode_direct
16684 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16685 # DIR into the resulting binary and the resulting library dependency is
16686 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16687 # library is relocated.
16688 hardcode_direct_absolute=$hardcode_direct_absolute
16690 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16691 # into the resulting binary.
16692 hardcode_minus_L=$hardcode_minus_L
16694 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16695 # into the resulting binary.
16696 hardcode_shlibpath_var=$hardcode_shlibpath_var
16698 # Set to "yes" if building a shared library automatically hardcodes DIR
16699 # into the library and all subsequent libraries and executables linked
16701 hardcode_automatic=$hardcode_automatic
16703 # Set to yes if linker adds runtime paths of dependent libraries
16704 # to runtime path list.
16705 inherit_rpath=$inherit_rpath
16707 # Whether libtool must link a program against all its dependency libraries.
16708 link_all_deplibs=$link_all_deplibs
16710 # Fix the shell variable \$srcfile for the compiler.
16711 fix_srcfile_path=$lt_fix_srcfile_path
16713 # Set to "yes" if exported symbols are required.
16714 always_export_symbols=$always_export_symbols
16716 # The commands to list exported symbols.
16717 export_symbols_cmds=$lt_export_symbols_cmds
16719 # Symbols that should not be listed in the preloaded symbols.
16720 exclude_expsyms=$lt_exclude_expsyms
16722 # Symbols that must always be exported.
16723 include_expsyms=$lt_include_expsyms
16725 # Commands necessary for linking programs (against libraries) with templates.
16726 prelink_cmds=$lt_prelink_cmds
16728 # Specify filename containing input files.
16729 file_list_spec=$lt_file_list_spec
16731 # How to hardcode a shared library path into an executable.
16732 hardcode_action=$hardcode_action
16734 # The directories searched by this compiler when creating a shared library.
16735 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
16737 # Dependencies to place before and after the objects being linked to
16738 # create a shared library.
16739 predep_objects=$lt_predep_objects
16740 postdep_objects=$lt_postdep_objects
16741 predeps=$lt_predeps
16742 postdeps=$lt_postdeps
16744 # The library search path used internally by the compiler when linking
16745 # a shared library.
16746 compiler_lib_search_path=$lt_compiler_lib_search_path
16748 # ### END LIBTOOL CONFIG
16754 cat <<\_LT_EOF
>> "$cfgfile"
16755 # AIX sometimes has problems with the GCC collect2 program. For some
16756 # reason, if we set the COLLECT_NAMES environment variable, the problems
16757 # vanish in a puff of smoke.
16758 if test "X${COLLECT_NAMES+set}" != Xset
; then
16760 export COLLECT_NAMES
16767 ltmain
="$ac_aux_dir/ltmain.sh"
16770 # We use sed instead of cat because bash on DJGPP gets confused if
16771 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16772 # text mode, it properly converts lines to CR/LF. This bash problem
16773 # is reportedly fixed, but why not run on old versions too?
16774 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16775 ||
(rm -f "$cfgfile"; exit 1)
16779 cat << \_LT_EOF
>> "$cfgfile"
16781 # func_dirname file append nondir_replacement
16782 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16783 # otherwise set result to NONDIR_REPLACEMENT.
16787 */*) func_dirname_result
="${1%/*}${2}" ;;
16788 * ) func_dirname_result
="${3}" ;;
16792 # func_basename file
16795 func_basename_result
="${1##*/}"
16798 # func_dirname_and_basename file append nondir_replacement
16799 # perform func_basename and func_dirname in a single function
16801 # dirname: Compute the dirname of FILE. If nonempty,
16802 # add APPEND to the result, otherwise set result
16803 # to NONDIR_REPLACEMENT.
16804 # value returned in "$func_dirname_result"
16805 # basename: Compute filename of FILE.
16806 # value retuned in "$func_basename_result"
16807 # Implementation must be kept synchronized with func_dirname
16808 # and func_basename. For efficiency, we do not delegate to
16809 # those functions but instead duplicate the functionality here.
16810 func_dirname_and_basename
()
16813 */*) func_dirname_result
="${1%/*}${2}" ;;
16814 * ) func_dirname_result
="${3}" ;;
16816 func_basename_result
="${1##*/}"
16819 # func_stripname prefix suffix name
16820 # strip PREFIX and SUFFIX off of NAME.
16821 # PREFIX and SUFFIX must not contain globbing or regex special
16822 # characters, hashes, percent signs, but SUFFIX may contain a leading
16823 # dot (in which case that matches only a dot).
16826 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16827 # positional parameters, so assign one to ordinary parameter first.
16828 func_stripname_result
=${3}
16829 func_stripname_result
=${func_stripname_result#"${1}"}
16830 func_stripname_result
=${func_stripname_result%"${2}"}
16836 func_opt_split_opt
=${1%%=*}
16837 func_opt_split_arg
=${1#*=}
16844 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16845 *) func_lo2o_result
=${1} ;;
16849 # func_xform libobj-or-source
16852 func_xform_result
=${1%.*}.lo
16855 # func_arith arithmetic-term...
16858 func_arith_result
=$
(( $
* ))
16862 # STRING may not start with a hyphen.
16865 func_len_result
=${#1}
16870 *) # Bourne compatible functions.
16871 cat << \_LT_EOF
>> "$cfgfile"
16873 # func_dirname file append nondir_replacement
16874 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16875 # otherwise set result to NONDIR_REPLACEMENT.
16878 # Extract subdirectory from the argument.
16879 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
16880 if test "X$func_dirname_result" = "X${1}"; then
16881 func_dirname_result
="${3}"
16883 func_dirname_result
="$func_dirname_result${2}"
16887 # func_basename file
16890 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
16894 # func_stripname prefix suffix name
16895 # strip PREFIX and SUFFIX off of NAME.
16896 # PREFIX and SUFFIX must not contain globbing or regex special
16897 # characters, hashes, percent signs, but SUFFIX may contain a leading
16898 # dot (in which case that matches only a dot).
16899 # func_strip_suffix prefix name
16903 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16904 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16909 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16910 my_sed_long_arg
='1s/^-[^=]*=//'
16915 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16916 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16922 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
16925 # func_xform libobj-or-source
16928 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16931 # func_arith arithmetic-term...
16934 func_arith_result
=`expr "$@"`
16938 # STRING may not start with a hyphen.
16941 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16947 case $lt_shell_append in
16949 cat << \_LT_EOF
>> "$cfgfile"
16951 # func_append var value
16952 # Append VALUE to the end of shell variable VAR.
16960 cat << \_LT_EOF
>> "$cfgfile"
16962 # func_append var value
16963 # Append VALUE to the end of shell variable VAR.
16974 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16975 ||
(rm -f "$cfgfile"; exit 1)
16977 mv -f "$cfgfile" "$ofile" ||
16978 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16982 cat <<_LT_EOF >> "$ofile"
16984 # ### BEGIN LIBTOOL TAG CONFIG: CXX
16986 # The linker used to build libraries.
16989 # How to create reloadable object files.
16990 reload_flag=$lt_reload_flag_CXX
16991 reload_cmds=$lt_reload_cmds_CXX
16993 # Commands used to build an old-style archive.
16994 old_archive_cmds=$lt_old_archive_cmds_CXX
16996 # A language specific compiler.
16997 CC=$lt_compiler_CXX
16999 # Is the compiler the GNU compiler?
17002 # Compiler flag to turn off builtin functions.
17003 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17005 # How to pass a linker flag through the compiler.
17006 wl=$lt_lt_prog_compiler_wl_CXX
17008 # Additional compiler flags for building library objects.
17009 pic_flag=$lt_lt_prog_compiler_pic_CXX
17011 # Compiler flag to prevent dynamic linking.
17012 link_static_flag=$lt_lt_prog_compiler_static_CXX
17014 # Does compiler simultaneously support -c and -o options?
17015 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17017 # Whether or not to add -lc for building shared libraries.
17018 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17020 # Whether or not to disallow shared libs when runtime libs are static.
17021 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17023 # Compiler flag to allow reflexive dlopens.
17024 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17026 # Compiler flag to generate shared objects directly from archives.
17027 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17029 # Whether the compiler copes with passing no objects directly.
17030 compiler_needs_object=$lt_compiler_needs_object_CXX
17032 # Create an old-style archive from a shared archive.
17033 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17035 # Create a temporary old-style archive to link instead of a shared archive.
17036 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17038 # Commands used to build a shared archive.
17039 archive_cmds=$lt_archive_cmds_CXX
17040 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17042 # Commands used to build a loadable module if different from building
17043 # a shared archive.
17044 module_cmds=$lt_module_cmds_CXX
17045 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17047 # Whether we are building with GNU ld or not.
17048 with_gnu_ld=$lt_with_gnu_ld_CXX
17050 # Flag that allows shared libraries with undefined symbols to be built.
17051 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17053 # Flag that enforces no undefined symbols.
17054 no_undefined_flag=$lt_no_undefined_flag_CXX
17056 # Flag to hardcode \$libdir into a binary during linking.
17057 # This must work even if \$libdir does not exist
17058 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17060 # If ld is used when linking, flag to hardcode \$libdir into a binary
17061 # during linking. This must work even if \$libdir does not exist.
17062 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17064 # Whether we need a single "-rpath" flag with a separated argument.
17065 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17067 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17068 # DIR into the resulting binary.
17069 hardcode_direct=$hardcode_direct_CXX
17071 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17072 # DIR into the resulting binary and the resulting library dependency is
17073 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17074 # library is relocated.
17075 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17077 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17078 # into the resulting binary.
17079 hardcode_minus_L=$hardcode_minus_L_CXX
17081 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17082 # into the resulting binary.
17083 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17085 # Set to "yes" if building a shared library automatically hardcodes DIR
17086 # into the library and all subsequent libraries and executables linked
17088 hardcode_automatic=$hardcode_automatic_CXX
17090 # Set to yes if linker adds runtime paths of dependent libraries
17091 # to runtime path list.
17092 inherit_rpath=$inherit_rpath_CXX
17094 # Whether libtool must link a program against all its dependency libraries.
17095 link_all_deplibs=$link_all_deplibs_CXX
17097 # Fix the shell variable \$srcfile for the compiler.
17098 fix_srcfile_path=$lt_fix_srcfile_path_CXX
17100 # Set to "yes" if exported symbols are required.
17101 always_export_symbols=$always_export_symbols_CXX
17103 # The commands to list exported symbols.
17104 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17106 # Symbols that should not be listed in the preloaded symbols.
17107 exclude_expsyms=$lt_exclude_expsyms_CXX
17109 # Symbols that must always be exported.
17110 include_expsyms=$lt_include_expsyms_CXX
17112 # Commands necessary for linking programs (against libraries) with templates.
17113 prelink_cmds=$lt_prelink_cmds_CXX
17115 # Specify filename containing input files.
17116 file_list_spec=$lt_file_list_spec_CXX
17118 # How to hardcode a shared library path into an executable.
17119 hardcode_action=$hardcode_action_CXX
17121 # The directories searched by this compiler when creating a shared library.
17122 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17124 # Dependencies to place before and after the objects being linked to
17125 # create a shared library.
17126 predep_objects=$lt_predep_objects_CXX
17127 postdep_objects=$lt_postdep_objects_CXX
17128 predeps=$lt_predeps_CXX
17129 postdeps=$lt_postdeps_CXX
17131 # The library search path used internally by the compiler when linking
17132 # a shared library.
17133 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17135 # ### END LIBTOOL TAG CONFIG: CXX
17146 ac_clean_files
=$ac_clean_files_save
17148 test $ac_write_fail = 0 ||
17149 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17152 # configure is writing to config.log, and then calls config.status.
17153 # config.status does its own redirection, appending to config.log.
17154 # Unfortunately, on DOS this fails, as config.log is still kept open
17155 # by configure, so config.status won't be able to write to it; its
17156 # output is simply discarded. So we exec the FD to /dev/null,
17157 # effectively closing config.log, so it can be properly (re)opened and
17158 # appended to by config.status. When coming back to configure, we
17159 # need to make the FD available again.
17160 if test "$no_create" != yes; then
17162 ac_config_status_args
=
17163 test "$silent" = yes &&
17164 ac_config_status_args
="$ac_config_status_args --quiet"
17166 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17168 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17169 # would make configure fail if this is the last instruction.
17170 $ac_cs_success || as_fn_exit $?
17172 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17174 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}