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
637 MAINTAINER_MODE_FALSE
656 INSTALL_STRIP_PROGRAM
725 program_transform_name
738 enable_option_checking
740 enable_dependency_tracking
741 enable_maintainer_mode
751 ac_precious_vars
='build_alias
767 # Initialize some variables set by options.
769 ac_init_version
=false
770 ac_unrecognized_opts
=
772 # The variables have the same names as the options, with
773 # dashes changed to underlines.
781 program_transform_name
=s
,x
,x
,
789 # Installation directory options.
790 # These are left unexpanded so users can "make install exec_prefix=/foo"
791 # and all the variables that are supposed to be based on exec_prefix
792 # by default will actually change.
793 # Use braces instead of parens because sh, perl, etc. also accept them.
794 # (The list follows the same order as the GNU Coding Standards.)
795 bindir
='${exec_prefix}/bin'
796 sbindir
='${exec_prefix}/sbin'
797 libexecdir
='${exec_prefix}/libexec'
798 datarootdir
='${prefix}/share'
799 datadir
='${datarootdir}'
800 sysconfdir
='${prefix}/etc'
801 sharedstatedir
='${prefix}/com'
802 localstatedir
='${prefix}/var'
803 includedir
='${prefix}/include'
804 oldincludedir
='/usr/include'
805 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
806 infodir
='${datarootdir}/info'
811 libdir
='${exec_prefix}/lib'
812 localedir
='${datarootdir}/locale'
813 mandir
='${datarootdir}/man'
819 # If the previous option needs an argument, assign it.
820 if test -n "$ac_prev"; then
821 eval $ac_prev=\
$ac_option
827 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
831 # Accept the important Cygnus configure options, so we can diagnose typos.
833 case $ac_dashdash$ac_option in
837 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
839 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
842 -build |
--build |
--buil |
--bui |
--bu)
843 ac_prev
=build_alias
;;
844 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
845 build_alias
=$ac_optarg ;;
847 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
848 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
849 ac_prev
=cache_file
;;
850 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
851 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
852 cache_file
=$ac_optarg ;;
855 cache_file
=config.cache
;;
857 -datadir |
--datadir |
--datadi |
--datad)
859 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
860 datadir
=$ac_optarg ;;
862 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
863 |
--dataroo |
--dataro |
--datar)
864 ac_prev
=datarootdir
;;
865 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
866 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
867 datarootdir
=$ac_optarg ;;
869 -disable-* |
--disable-*)
870 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
871 # Reject names that are not valid shell variable names.
872 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
873 as_fn_error
"invalid feature name: $ac_useropt"
874 ac_useropt_orig
=$ac_useropt
875 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
876 case $ac_user_opts in
880 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
881 ac_unrecognized_sep
=', ';;
883 eval enable_
$ac_useropt=no
;;
885 -docdir |
--docdir |
--docdi |
--doc |
--do)
887 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
890 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
892 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
895 -enable-* |
--enable-*)
896 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
897 # Reject names that are not valid shell variable names.
898 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
899 as_fn_error
"invalid feature name: $ac_useropt"
900 ac_useropt_orig
=$ac_useropt
901 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
902 case $ac_user_opts in
906 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
907 ac_unrecognized_sep
=', ';;
909 eval enable_
$ac_useropt=\
$ac_optarg ;;
911 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
912 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
913 |
--exec |
--exe |
--ex)
914 ac_prev
=exec_prefix
;;
915 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
916 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
917 |
--exec=* |
--exe=* |
--ex=*)
918 exec_prefix
=$ac_optarg ;;
920 -gas |
--gas |
--ga |
--g)
921 # Obsolete; use --with-gas.
924 -help |
--help |
--hel |
--he |
-h)
926 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
927 ac_init_help
=recursive
;;
928 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
929 ac_init_help
=short
;;
931 -host |
--host |
--hos |
--ho)
932 ac_prev
=host_alias
;;
933 -host=* |
--host=* |
--hos=* |
--ho=*)
934 host_alias
=$ac_optarg ;;
936 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
938 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
940 htmldir
=$ac_optarg ;;
942 -includedir |
--includedir |
--includedi |
--included |
--include \
943 |
--includ |
--inclu |
--incl |
--inc)
944 ac_prev
=includedir
;;
945 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
946 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
947 includedir
=$ac_optarg ;;
949 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
951 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
952 infodir
=$ac_optarg ;;
954 -libdir |
--libdir |
--libdi |
--libd)
956 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
959 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
960 |
--libexe |
--libex |
--libe)
961 ac_prev
=libexecdir
;;
962 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
963 |
--libexe=* |
--libex=* |
--libe=*)
964 libexecdir
=$ac_optarg ;;
966 -localedir |
--localedir |
--localedi |
--localed |
--locale)
968 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
969 localedir
=$ac_optarg ;;
971 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
972 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
973 ac_prev
=localstatedir
;;
974 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
975 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
976 localstatedir
=$ac_optarg ;;
978 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
980 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
984 # Obsolete; use --without-fp.
987 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
988 |
--no-cr |
--no-c |
-n)
991 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
992 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
995 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
996 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
997 |
--oldin |
--oldi |
--old |
--ol |
--o)
998 ac_prev
=oldincludedir
;;
999 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1000 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1001 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1002 oldincludedir
=$ac_optarg ;;
1004 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1006 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1007 prefix
=$ac_optarg ;;
1009 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1010 |
--program-pre |
--program-pr |
--program-p)
1011 ac_prev
=program_prefix
;;
1012 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1013 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1014 program_prefix
=$ac_optarg ;;
1016 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1017 |
--program-suf |
--program-su |
--program-s)
1018 ac_prev
=program_suffix
;;
1019 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1020 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1021 program_suffix
=$ac_optarg ;;
1023 -program-transform-name |
--program-transform-name \
1024 |
--program-transform-nam |
--program-transform-na \
1025 |
--program-transform-n |
--program-transform- \
1026 |
--program-transform |
--program-transfor \
1027 |
--program-transfo |
--program-transf \
1028 |
--program-trans |
--program-tran \
1029 |
--progr-tra |
--program-tr |
--program-t)
1030 ac_prev
=program_transform_name
;;
1031 -program-transform-name=* |
--program-transform-name=* \
1032 |
--program-transform-nam=* |
--program-transform-na=* \
1033 |
--program-transform-n=* |
--program-transform-=* \
1034 |
--program-transform=* |
--program-transfor=* \
1035 |
--program-transfo=* |
--program-transf=* \
1036 |
--program-trans=* |
--program-tran=* \
1037 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1038 program_transform_name
=$ac_optarg ;;
1040 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1042 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1043 pdfdir
=$ac_optarg ;;
1045 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1047 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1050 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1051 |
-silent |
--silent |
--silen |
--sile |
--sil)
1054 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1056 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1058 sbindir
=$ac_optarg ;;
1060 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1061 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1062 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1064 ac_prev
=sharedstatedir
;;
1065 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1066 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1067 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1069 sharedstatedir
=$ac_optarg ;;
1071 -site |
--site |
--sit)
1073 -site=* |
--site=* |
--sit=*)
1076 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1078 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1079 srcdir
=$ac_optarg ;;
1081 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1082 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1083 ac_prev
=sysconfdir
;;
1084 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1085 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1086 sysconfdir
=$ac_optarg ;;
1088 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1089 ac_prev
=target_alias
;;
1090 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1091 target_alias
=$ac_optarg ;;
1093 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1096 -version |
--version |
--versio |
--versi |
--vers |
-V)
1097 ac_init_version
=: ;;
1100 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1101 # Reject names that are not valid shell variable names.
1102 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1103 as_fn_error
"invalid package name: $ac_useropt"
1104 ac_useropt_orig
=$ac_useropt
1105 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1106 case $ac_user_opts in
1110 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1111 ac_unrecognized_sep
=', ';;
1113 eval with_
$ac_useropt=\
$ac_optarg ;;
1115 -without-* |
--without-*)
1116 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1117 # Reject names that are not valid shell variable names.
1118 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1119 as_fn_error
"invalid package name: $ac_useropt"
1120 ac_useropt_orig
=$ac_useropt
1121 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1122 case $ac_user_opts in
1126 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1127 ac_unrecognized_sep
=', ';;
1129 eval with_
$ac_useropt=no
;;
1132 # Obsolete; use --with-x.
1135 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1136 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1137 ac_prev
=x_includes
;;
1138 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1139 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1140 x_includes
=$ac_optarg ;;
1142 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1143 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1144 ac_prev
=x_libraries
;;
1145 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1146 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1147 x_libraries
=$ac_optarg ;;
1149 -*) as_fn_error
"unrecognized option: \`$ac_option'
1150 Try \`$0 --help' for more information."
1154 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1155 # Reject names that are not valid shell variable names.
1156 case $ac_envvar in #(
1157 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1158 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1160 eval $ac_envvar=\
$ac_optarg
1161 export $ac_envvar ;;
1164 # FIXME: should be removed in autoconf 3.0.
1165 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1166 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1167 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1168 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1174 if test -n "$ac_prev"; then
1175 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1176 as_fn_error
"missing argument to $ac_option"
1179 if test -n "$ac_unrecognized_opts"; then
1180 case $enable_option_checking in
1182 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1183 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1187 # Check all directory arguments for consistency.
1188 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1189 datadir sysconfdir sharedstatedir localstatedir includedir \
1190 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1191 libdir localedir mandir
1193 eval ac_val
=\$
$ac_var
1194 # Remove trailing slashes.
1197 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1198 eval $ac_var=\
$ac_val;;
1200 # Be sure to have absolute directory names.
1202 [\\/$
]* | ?
:[\\/]* ) continue;;
1203 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1205 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1208 # There might be people who depend on the old broken behavior: `$host'
1209 # used to hold the argument of --host etc.
1210 # FIXME: To remove some day.
1213 target
=$target_alias
1215 # FIXME: To remove some day.
1216 if test "x$host_alias" != x
; then
1217 if test "x$build_alias" = x
; then
1218 cross_compiling
=maybe
1219 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1220 If a cross compiler is detected then cross compile mode will be used." >&2
1221 elif test "x$build_alias" != "x$host_alias"; then
1227 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1229 test "$silent" = yes && exec 6>/dev
/null
1232 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1233 ac_ls_di
=`ls -di .` &&
1234 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1235 as_fn_error
"working directory cannot be determined"
1236 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1237 as_fn_error
"pwd does not report name of working directory"
1240 # Find the source files, if location was not specified.
1241 if test -z "$srcdir"; then
1242 ac_srcdir_defaulted
=yes
1243 # Try the directory containing this script, then the parent directory.
1244 ac_confdir
=`$as_dirname -- "$as_myself" ||
1245 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1246 X"$as_myself" : 'X\(//\)[^/]' \| \
1247 X"$as_myself" : 'X\(//\)$' \| \
1248 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1249 $as_echo X"$as_myself" |
1250 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1268 if test ! -r "$srcdir/$ac_unique_file"; then
1272 ac_srcdir_defaulted
=no
1274 if test ! -r "$srcdir/$ac_unique_file"; then
1275 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1276 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1278 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1280 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1282 # When building in place, set srcdir=.
1283 if test "$ac_abs_confdir" = "$ac_pwd"; then
1286 # Remove unnecessary trailing slashes from srcdir.
1287 # Double slashes in file names in object file debugging info
1288 # mess up M-x gdb in Emacs.
1290 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1292 for ac_var
in $ac_precious_vars; do
1293 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1294 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1295 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1296 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1300 # Report the --help message.
1302 if test "$ac_init_help" = "long"; then
1303 # Omit some internal or obsolete options to make the list less imposing.
1304 # This message is too long to be a string in the A/UX 3.1 sh.
1306 \`configure' configures libcc1 version-unused to adapt to many kinds of systems.
1308 Usage: $0 [OPTION]... [VAR=VALUE]...
1310 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1311 VAR=VALUE. See below for descriptions of some of the useful variables.
1313 Defaults for the options are specified in brackets.
1316 -h, --help display this help and exit
1317 --help=short display options specific to this package
1318 --help=recursive display the short help of all the included packages
1319 -V, --version display version information and exit
1320 -q, --quiet, --silent do not print \`checking...' messages
1321 --cache-file=FILE cache test results in FILE [disabled]
1322 -C, --config-cache alias for \`--cache-file=config.cache'
1323 -n, --no-create do not create output files
1324 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1326 Installation directories:
1327 --prefix=PREFIX install architecture-independent files in PREFIX
1328 [$ac_default_prefix]
1329 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1332 By default, \`make install' will install all the files in
1333 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1334 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1335 for instance \`--prefix=\$HOME'.
1337 For better control, use the options below.
1339 Fine tuning of the installation directories:
1340 --bindir=DIR user executables [EPREFIX/bin]
1341 --sbindir=DIR system admin executables [EPREFIX/sbin]
1342 --libexecdir=DIR program executables [EPREFIX/libexec]
1343 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1344 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1345 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1346 --libdir=DIR object code libraries [EPREFIX/lib]
1347 --includedir=DIR C header files [PREFIX/include]
1348 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1349 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1350 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1351 --infodir=DIR info documentation [DATAROOTDIR/info]
1352 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1353 --mandir=DIR man documentation [DATAROOTDIR/man]
1354 --docdir=DIR documentation root [DATAROOTDIR/doc/libcc1]
1355 --htmldir=DIR html documentation [DOCDIR]
1356 --dvidir=DIR dvi documentation [DOCDIR]
1357 --pdfdir=DIR pdf documentation [DOCDIR]
1358 --psdir=DIR ps documentation [DOCDIR]
1364 --program-prefix=PREFIX prepend PREFIX to installed program names
1365 --program-suffix=SUFFIX append SUFFIX to installed program names
1366 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1369 --build=BUILD configure
for building on BUILD
[guessed
]
1370 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1371 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1375 if test -n "$ac_init_help"; then
1376 case $ac_init_help in
1377 short | recursive
) echo "Configuration of libcc1 version-unused:";;
1382 --disable-option-checking ignore unrecognized
--enable/--with options
1383 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1384 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1385 --disable-dependency-tracking speeds up one-time build
1386 --enable-dependency-tracking do not reject slow dependency extractors
1387 --enable-maintainer-mode enable make rules and dependencies not useful
1388 (and sometimes confusing
) to the casual installer
1389 --enable-static[=PKGS
] build static libraries
[default
=no
]
1390 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1391 --enable-fast-install[=PKGS
]
1392 optimize
for fast installation
[default
=yes]
1393 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1394 --enable-werror-always enable -Werror despite compiler version
1395 --enable-plugin enable plugin support
1398 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1399 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1400 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1401 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1403 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1405 Some influential environment variables
:
1406 CC C compiler
command
1407 CFLAGS C compiler flags
1408 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1409 nonstandard directory
<lib dir
>
1410 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1411 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1412 you have headers
in a nonstandard directory
<include dir
>
1414 CXX C
++ compiler
command
1415 CXXFLAGS C
++ compiler flags
1416 CXXCPP C
++ preprocessor
1417 GMPINC How to
find GMP include files
1419 Use these variables to override the choices made by
`configure' or to help
1420 it to find libraries and programs with nonstandard names/locations.
1422 Report bugs to the package provider.
1427 if test "$ac_init_help" = "recursive"; then
1428 # If there are subdirs, report their specific --help.
1429 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1430 test -d "$ac_dir" ||
1431 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1436 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1438 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1439 # A ".." for each directory in $ac_dir_suffix.
1440 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1441 case $ac_top_builddir_sub in
1442 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1443 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1446 ac_abs_top_builddir=$ac_pwd
1447 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1448 # for backward compatibility:
1449 ac_top_builddir=$ac_top_build_prefix
1452 .) # We are building in place.
1454 ac_top_srcdir=$ac_top_builddir_sub
1455 ac_abs_top_srcdir=$ac_pwd ;;
1456 [\\/]* | ?:[\\/]* ) # Absolute name.
1457 ac_srcdir=$srcdir$ac_dir_suffix;
1458 ac_top_srcdir=$srcdir
1459 ac_abs_top_srcdir=$srcdir ;;
1461 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1462 ac_top_srcdir=$ac_top_build_prefix$srcdir
1463 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1465 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1467 cd "$ac_dir" || { ac_status=$?; continue; }
1468 # Check for guested configure.
1469 if test -f "$ac_srcdir/configure.gnu"; then
1471 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1472 elif test -f "$ac_srcdir/configure"; then
1474 $SHELL "$ac_srcdir/configure" --help=recursive
1476 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1478 cd "$ac_pwd" || { ac_status=$?; break; }
1482 test -n "$ac_init_help" && exit $ac_status
1483 if $ac_init_version; then
1485 libcc1 configure version-unused
1486 generated by GNU Autoconf 2.64
1488 Copyright (C) 2009 Free Software Foundation, Inc.
1489 This configure script is free software; the Free Software Foundation
1490 gives unlimited permission to copy, distribute and modify it.
1495 ## ------------------------ ##
1496 ## Autoconf initialization. ##
1497 ## ------------------------ ##
1499 # ac_fn_c_try_compile LINENO
1500 # --------------------------
1501 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1502 ac_fn_c_try_compile ()
1504 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1505 rm -f conftest.$ac_objext
1506 if { { ac_try="$ac_compile"
1508 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1509 *) ac_try_echo
=$ac_try;;
1511 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1512 $as_echo "$ac_try_echo"; } >&5
1513 (eval "$ac_compile") 2>conftest.err
1515 if test -s conftest.err
; then
1516 grep -v '^ *+' conftest.err
>conftest.er1
1517 cat conftest.er1
>&5
1518 mv -f conftest.er1 conftest.err
1520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1521 test $ac_status = 0; } && {
1522 test -z "$ac_c_werror_flag" ||
1523 test ! -s conftest.err
1524 } && test -s conftest.
$ac_objext; then :
1527 $as_echo "$as_me: failed program was:" >&5
1528 sed 's/^/| /' conftest.
$ac_ext >&5
1532 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1535 } # ac_fn_c_try_compile
1537 # ac_fn_c_try_cpp LINENO
1538 # ----------------------
1539 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1542 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1543 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1545 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1546 *) ac_try_echo=$ac_try;;
1548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1549 $as_echo "$ac_try_echo"; } >&5
1550 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1552 if test -s conftest.err; then
1553 grep -v '^ *+' conftest.err >conftest.er1
1554 cat conftest.er1 >&5
1555 mv -f conftest.er1 conftest.err
1557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1558 test $ac_status = 0; } >/dev/null && {
1559 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1560 test ! -s conftest.err
1564 $as_echo "$as_me: failed program was:" >&5
1565 sed 's/^/| /' conftest.$ac_ext >&5
1569 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1574 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1575 # -------------------------------------------------------
1576 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1577 # the include files in INCLUDES and setting the cache variable VAR
1579 ac_fn_c_check_header_mongrel ()
1581 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1582 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1584 $as_echo_n "checking for $2... " >&6; }
1585 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1586 $as_echo_n "(cached) " >&6
1589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1590 $as_echo "$ac_res" >&6; }
1592 # Is the header compilable?
1593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1594 $as_echo_n "checking $2 usability... " >&6; }
1595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1596 /* end confdefs.h. */
1600 if ac_fn_c_try_compile "$LINENO"; then :
1601 ac_header_compiler=yes
1603 ac_header_compiler=no
1605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1607 $as_echo "$ac_header_compiler" >&6; }
1609 # Is the header present?
1610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1611 $as_echo_n "checking $2 presence... " >&6; }
1612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1613 /* end confdefs.h. */
1616 if ac_fn_c_try_cpp "$LINENO"; then :
1617 ac_header_preproc=yes
1619 ac_header_preproc=no
1621 rm -f conftest.err conftest.$ac_ext
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1623 $as_echo "$ac_header_preproc" >&6; }
1625 # So? What about this header?
1626 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1629 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1631 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1635 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1637 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1639 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1641 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1643 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1647 $as_echo_n "checking for $2... " >&6; }
1648 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1649 $as_echo_n "(cached) " >&6
1651 eval "$3=\$ac_header_compiler"
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1655 $as_echo "$ac_res" >&6; }
1657 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1659 } # ac_fn_c_check_header_mongrel
1661 # ac_fn_c_try_run LINENO
1662 # ----------------------
1663 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1664 # that executables *can* be run.
1667 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1668 if { { ac_try="$ac_link"
1670 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1671 *) ac_try_echo
=$ac_try;;
1673 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674 $as_echo "$ac_try_echo"; } >&5
1675 (eval "$ac_link") 2>&5
1677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1678 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1679 { { case "(($ac_try" in
1680 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1681 *) ac_try_echo=$ac_try;;
1683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1684 $as_echo "$ac_try_echo"; } >&5
1685 (eval "$ac_try") 2>&5
1687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1688 test $ac_status = 0; }; }; then :
1691 $as_echo "$as_me: program exited with status $ac_status" >&5
1692 $as_echo "$as_me: failed program was:" >&5
1693 sed 's/^/| /' conftest.$ac_ext >&5
1695 ac_retval=$ac_status
1697 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1698 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1703 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1704 # -------------------------------------------------------
1705 # Tests whether HEADER exists and can be compiled using the include files in
1706 # INCLUDES, setting the cache variable VAR accordingly.
1707 ac_fn_c_check_header_compile ()
1709 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1711 $as_echo_n "checking for $2... " >&6; }
1712 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1713 $as_echo_n "(cached) " >&6
1715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1716 /* end confdefs.h. */
1720 if ac_fn_c_try_compile "$LINENO"; then :
1725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1729 $as_echo "$ac_res" >&6; }
1730 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1732 } # ac_fn_c_check_header_compile
1734 # ac_fn_c_try_link LINENO
1735 # -----------------------
1736 # Try to link conftest.$ac_ext, and return whether this succeeded.
1739 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1740 rm -f conftest.$ac_objext conftest$ac_exeext
1741 if { { ac_try="$ac_link"
1743 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1744 *) ac_try_echo
=$ac_try;;
1746 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1747 $as_echo "$ac_try_echo"; } >&5
1748 (eval "$ac_link") 2>conftest.err
1750 if test -s conftest.err
; then
1751 grep -v '^ *+' conftest.err
>conftest.er1
1752 cat conftest.er1
>&5
1753 mv -f conftest.er1 conftest.err
1755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1756 test $ac_status = 0; } && {
1757 test -z "$ac_c_werror_flag" ||
1758 test ! -s conftest.err
1759 } && test -s conftest
$ac_exeext && {
1760 test "$cross_compiling" = yes ||
1761 $as_test_x conftest
$ac_exeext
1765 $as_echo "$as_me: failed program was:" >&5
1766 sed 's/^/| /' conftest.
$ac_ext >&5
1770 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1771 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1772 # interfere with the next link command; also delete a directory that is
1773 # left behind by Apple's compiler. We do this before executing the actions.
1774 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1775 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1778 } # ac_fn_c_try_link
1780 # ac_fn_c_check_func LINENO FUNC VAR
1781 # ----------------------------------
1782 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1783 ac_fn_c_check_func
()
1785 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1787 $as_echo_n "checking for $2... " >&6; }
1788 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1789 $as_echo_n "(cached) " >&6
1791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1792 /* end confdefs.h. */
1793 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1795 #define $2 innocuous_$2
1797 /* System header to define __stub macros and hopefully few prototypes,
1798 which can conflict with char $2 (); below.
1799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1800 <limits.h> exists even on freestanding compilers. */
1803 # include <limits.h>
1805 # include <assert.h>
1810 /* Override any GCC internal prototype to avoid an error.
1811 Use char because int might match the return type of a GCC
1812 builtin and then its argument prototype would still apply. */
1817 /* The GNU C library defines this for functions which it implements
1818 to always fail with ENOSYS. Some functions are actually named
1819 something starting with __ and the normal name is an alias. */
1820 #if defined __stub_$2 || defined __stub___$2
1832 if ac_fn_c_try_link
"$LINENO"; then :
1837 rm -f core conftest.err conftest.
$ac_objext \
1838 conftest
$ac_exeext conftest.
$ac_ext
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1842 $as_echo "$ac_res" >&6; }
1843 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1845 } # ac_fn_c_check_func
1847 # ac_fn_cxx_try_compile LINENO
1848 # ----------------------------
1849 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1850 ac_fn_cxx_try_compile
()
1852 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1853 rm -f conftest.
$ac_objext
1854 if { { ac_try
="$ac_compile"
1856 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1857 *) ac_try_echo=$ac_try;;
1859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1860 $as_echo "$ac_try_echo"; } >&5
1861 (eval "$ac_compile") 2>conftest.err
1863 if test -s conftest.err; then
1864 grep -v '^ *+' conftest.err >conftest.er1
1865 cat conftest.er1 >&5
1866 mv -f conftest.er1 conftest.err
1868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1869 test $ac_status = 0; } && {
1870 test -z "$ac_cxx_werror_flag" ||
1871 test ! -s conftest.err
1872 } && test -s conftest.$ac_objext; then :
1875 $as_echo "$as_me: failed program was:" >&5
1876 sed 's/^/| /' conftest.$ac_ext >&5
1880 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1883 } # ac_fn_cxx_try_compile
1885 # ac_fn_cxx_try_cpp LINENO
1886 # ------------------------
1887 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1888 ac_fn_cxx_try_cpp ()
1890 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1891 if { { ac_try="$ac_cpp conftest.$ac_ext"
1893 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1894 *) ac_try_echo
=$ac_try;;
1896 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1897 $as_echo "$ac_try_echo"; } >&5
1898 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1900 if test -s conftest.err
; then
1901 grep -v '^ *+' conftest.err
>conftest.er1
1902 cat conftest.er1
>&5
1903 mv -f conftest.er1 conftest.err
1905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1906 test $ac_status = 0; } >/dev
/null
&& {
1907 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1908 test ! -s conftest.err
1912 $as_echo "$as_me: failed program was:" >&5
1913 sed 's/^/| /' conftest.
$ac_ext >&5
1917 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1920 } # ac_fn_cxx_try_cpp
1922 # ac_fn_cxx_try_link LINENO
1923 # -------------------------
1924 # Try to link conftest.$ac_ext, and return whether this succeeded.
1925 ac_fn_cxx_try_link
()
1927 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1928 rm -f conftest.
$ac_objext conftest
$ac_exeext
1929 if { { ac_try
="$ac_link"
1931 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1932 *) ac_try_echo=$ac_try;;
1934 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1935 $as_echo "$ac_try_echo"; } >&5
1936 (eval "$ac_link") 2>conftest.err
1938 if test -s conftest.err; then
1939 grep -v '^ *+' conftest.err >conftest.er1
1940 cat conftest.er1 >&5
1941 mv -f conftest.er1 conftest.err
1943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1944 test $ac_status = 0; } && {
1945 test -z "$ac_cxx_werror_flag" ||
1946 test ! -s conftest.err
1947 } && test -s conftest$ac_exeext && {
1948 test "$cross_compiling" = yes ||
1949 $as_test_x conftest$ac_exeext
1953 $as_echo "$as_me: failed program was:" >&5
1954 sed 's/^/| /' conftest.$ac_ext >&5
1958 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1959 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1960 # interfere with the next link command; also delete a directory that is
1961 # left behind by Apple's compiler. We do this before executing the actions.
1962 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1963 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1966 } # ac_fn_cxx_try_link
1968 # ac_fn_c_check_decl LINENO SYMBOL VAR
1969 # ------------------------------------
1970 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1971 ac_fn_c_check_decl ()
1973 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1974 as_decl_name=`echo $2|
sed 's/ *(.*//'`
1975 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1977 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1978 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1979 $as_echo_n "(cached) " >&6
1981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1982 /* end confdefs.h. */
1987 #ifndef $as_decl_name
1989 (void) $as_decl_use;
1991 (void) $as_decl_name;
1999 if ac_fn_c_try_compile "$LINENO"; then :
2004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2008 $as_echo "$ac_res" >&6; }
2009 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2011 } # ac_fn_c_check_decl
2012 cat >config.log <<_ACEOF
2013 This file contains any messages produced by compilers while
2014 running configure, to aid debugging if configure makes a mistake.
2016 It was created by libcc1 $as_me version-unused, which was
2017 generated by GNU Autoconf 2.64. Invocation command line was
2029 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2030 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2031 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2032 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2033 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2035 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2036 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2038 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2039 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2040 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2041 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2042 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2043 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2044 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2052 test -z "$as_dir" && as_dir=.
2053 $as_echo "PATH: $as_dir"
2069 # Keep a trace of the command line.
2070 # Strip out --no-create and --no-recursion so they do not pile up.
2071 # Strip out --silent because we don't want to record it for future runs.
2072 # Also quote any args containing shell meta-characters.
2073 # Make two passes to allow for proper duplicate-argument suppression.
2077 ac_must_keep_next=false
2083 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2084 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2085 | -silent | --silent | --silen | --sile | --sil)
2088 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2091 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2093 as_fn_append ac_configure_args1 " '$ac_arg'"
2094 if test $ac_must_keep_next = true; then
2095 ac_must_keep_next=false # Got value, back to normal.
2098 *=* | --config-cache | -C | -disable-* | --disable-* \
2099 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2100 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2101 | -with-* | --with-* | -without-* | --without-* | --x)
2102 case "$ac_configure_args0 " in
2103 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2106 -* ) ac_must_keep_next=true ;;
2109 as_fn_append ac_configure_args " '$ac_arg'"
2114 { ac_configure_args0=; unset ac_configure_args0;}
2115 { ac_configure_args1=; unset ac_configure_args1;}
2117 # When interrupted or exit'd, cleanup temporary files, and complete
2118 # config.log. We remove comments because anyway the quotes in there
2119 # would cause problems or look ugly.
2120 # WARNING: Use '\'' to represent an apostrophe within the trap.
2121 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2122 trap 'exit_status=$?
2123 # Save into config.log some information that might help in debugging.
2128 ## ---------------- ##
2129 ## Cache variables. ##
2130 ## ---------------- ##
2133 # The following way of writing the cache mishandles newlines in values,
2135 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2136 eval ac_val=\$$ac_var
2140 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2141 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2144 _ | IFS | as_nl) ;; #(
2145 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2146 *) { eval $ac_var=; unset $ac_var;} ;;
2151 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2152 *${as_nl}ac_space=\ *)
2154 "s/'\''/'\''\\\\'\'''\''/g;
2155 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2158 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2166 ## ----------------- ##
2167 ## Output variables. ##
2168 ## ----------------- ##
2171 for ac_var in $ac_subst_vars
2173 eval ac_val=\$$ac_var
2175 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2177 $as_echo "$ac_var='\''$ac_val'\''"
2181 if test -n "$ac_subst_files"; then
2183 ## ------------------- ##
2184 ## File substitutions. ##
2185 ## ------------------- ##
2188 for ac_var in $ac_subst_files
2190 eval ac_val=\$$ac_var
2192 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2194 $as_echo "$ac_var='\''$ac_val'\''"
2199 if test -s confdefs.h; then
2209 test "$ac_signal" != 0 &&
2210 $as_echo "$as_me: caught signal $ac_signal"
2211 $as_echo "$as_me: exit $exit_status"
2213 rm -f core *.core core.conftest.* &&
2214 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2217 for ac_signal in 1 2 13 15; do
2218 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2222 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2223 rm -f -r conftest* confdefs.h
2225 $as_echo "/* confdefs.h */" > confdefs.h
2227 # Predefined preprocessor variables.
2229 cat >>confdefs.h <<_ACEOF
2230 #define PACKAGE_NAME "$PACKAGE_NAME"
2233 cat >>confdefs.h <<_ACEOF
2234 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2237 cat >>confdefs.h <<_ACEOF
2238 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2241 cat >>confdefs.h <<_ACEOF
2242 #define PACKAGE_STRING "$PACKAGE_STRING"
2245 cat >>confdefs.h <<_ACEOF
2246 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2249 cat >>confdefs.h <<_ACEOF
2250 #define PACKAGE_URL "$PACKAGE_URL"
2254 # Let the site file select an alternate cache file if it wants to.
2255 # Prefer an explicitly selected file to automatically selected ones.
2258 if test -n "$CONFIG_SITE"; then
2259 ac_site_file1=$CONFIG_SITE
2260 elif test "x$prefix" != xNONE; then
2261 ac_site_file1=$prefix/share/config.site
2262 ac_site_file2=$prefix/etc/config.site
2264 ac_site_file1=$ac_default_prefix/share/config.site
2265 ac_site_file2=$ac_default_prefix/etc/config.site
2267 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2269 test "x$ac_site_file" = xNONE && continue
2270 if test -r "$ac_site_file"; then
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2272 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2273 sed 's/^/| /' "$ac_site_file" >&5
2278 if test -r "$cache_file"; then
2279 # Some versions of bash will fail to source /dev/null (special
2280 # files actually), so we avoid doing that.
2281 if test -f "$cache_file"; then
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2283 $as_echo "$as_me: loading cache $cache_file" >&6;}
2285 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2286 *) . "./$cache_file";;
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2291 $as_echo "$as_me: creating cache $cache_file" >&6;}
2295 # Check that the precious variables saved in the cache have kept the same
2297 ac_cache_corrupted=false
2298 for ac_var in $ac_precious_vars; do
2299 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2300 eval ac_new_set=\$ac_env_${ac_var}_set
2301 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2302 eval ac_new_val=\$ac_env_${ac_var}_value
2303 case $ac_old_set,$ac_new_set in
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2306 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2307 ac_cache_corrupted=: ;;
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2310 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2311 ac_cache_corrupted=: ;;
2314 if test "x$ac_old_val" != "x$ac_new_val"; then
2315 # differences in whitespace do not lead to failure.
2316 ac_old_val_w=`echo x
$ac_old_val`
2317 ac_new_val_w=`echo x
$ac_new_val`
2318 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2320 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2321 ac_cache_corrupted=:
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2324 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2325 eval $ac_var=\$ac_old_val
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2328 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2330 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2333 # Pass precious variables to config.status.
2334 if test "$ac_new_set" = set; then
2336 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2337 *) ac_arg=$ac_var=$ac_new_val ;;
2339 case " $ac_configure_args " in
2340 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2341 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2345 if $ac_cache_corrupted; then
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2349 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2350 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2352 ## -------------------- ##
2353 ## Main body of script. ##
2354 ## -------------------- ##
2357 ac_cpp='$CPP $CPPFLAGS'
2358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2367 ac_config_headers="$ac_config_headers cc1plugin-config.h"
2371 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2372 for ac_t in install-sh install.sh shtool; do
2373 if test -f "$ac_dir/$ac_t"; then
2375 ac_install_sh="$ac_aux_dir/$ac_t -c"
2380 if test -z "$ac_aux_dir"; then
2381 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2384 # These three variables are undocumented and unsupported,
2385 # and are intended to be withdrawn in a future Autoconf release.
2386 # They can cause serious problems if a builder's source tree is in a directory
2387 # whose full name contains unusual characters.
2388 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2389 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2390 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2393 # Make sure we can run config.sub.
2394 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2395 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2398 $as_echo_n "checking build system type... " >&6; }
2399 if test "${ac_cv_build+set}" = set; then :
2400 $as_echo_n "(cached) " >&6
2402 ac_build_alias=$build_alias
2403 test "x$ac_build_alias" = x &&
2404 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2405 test "x$ac_build_alias" = x &&
2406 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2407 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2408 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2412 $as_echo "$ac_cv_build" >&6; }
2413 case $ac_cv_build in
2415 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2418 ac_save_IFS=$IFS; IFS='-'
2424 # Remember, the first character of IFS is used to create $*,
2425 # except with old shells:
2428 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2432 $as_echo_n "checking host system type... " >&6; }
2433 if test "${ac_cv_host+set}" = set; then :
2434 $as_echo_n "(cached) " >&6
2436 if test "x$host_alias" = x; then
2437 ac_cv_host=$ac_cv_build
2439 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2440 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2445 $as_echo "$ac_cv_host" >&6; }
2448 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2451 ac_save_IFS=$IFS; IFS='-'
2457 # Remember, the first character of IFS is used to create $*,
2458 # except with old shells:
2461 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2465 $as_echo_n "checking target system type... " >&6; }
2466 if test "${ac_cv_target+set}" = set; then :
2467 $as_echo_n "(cached) " >&6
2469 if test "x$target_alias" = x; then
2470 ac_cv_target=$ac_cv_host
2472 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2473 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2478 $as_echo "$ac_cv_target" >&6; }
2479 case $ac_cv_target in
2481 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2483 target=$ac_cv_target
2484 ac_save_IFS=$IFS; IFS='-'
2490 # Remember, the first character of IFS is used to create $*,
2491 # except with old shells:
2494 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2497 # The aliases save the names the user supplied, while $host etc.
2498 # will get canonicalized.
2499 test -n "$target_alias" &&
2500 test "$program_prefix$program_suffix$program_transform_name" = \
2502 program_prefix=${target_alias}-
2505 ac_cpp='$CPP $CPPFLAGS'
2506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2509 if test -n "$ac_tool_prefix"; then
2510 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2511 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2513 $as_echo_n "checking for $ac_word... " >&6; }
2514 if test "${ac_cv_prog_CC+set}" = set; then :
2515 $as_echo_n "(cached) " >&6
2517 if test -n "$CC"; then
2518 ac_cv_prog_CC="$CC" # Let the user override the test.
2520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2524 test -z "$as_dir" && as_dir=.
2525 for ac_exec_ext in '' $ac_executable_extensions; do
2526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2527 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2538 if test -n "$CC"; then
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2540 $as_echo "$CC" >&6; }
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2543 $as_echo "no" >&6; }
2548 if test -z "$ac_cv_prog_CC"; then
2550 # Extract the first word of "gcc", so it can be a program name with args.
2551 set dummy gcc; ac_word=$2
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2553 $as_echo_n "checking for $ac_word... " >&6; }
2554 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2555 $as_echo_n "(cached) " >&6
2557 if test -n "$ac_ct_CC"; then
2558 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2564 test -z "$as_dir" && as_dir=.
2565 for ac_exec_ext in '' $ac_executable_extensions; do
2566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2567 ac_cv_prog_ac_ct_CC="gcc"
2568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2577 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2578 if test -n "$ac_ct_CC"; then
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2580 $as_echo "$ac_ct_CC" >&6; }
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2583 $as_echo "no" >&6; }
2586 if test "x$ac_ct_CC" = x; then
2589 case $cross_compiling:$ac_tool_warned in
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2592 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2593 ac_tool_warned=yes ;;
2601 if test -z "$CC"; then
2602 if test -n "$ac_tool_prefix"; then
2603 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2604 set dummy ${ac_tool_prefix}cc; ac_word=$2
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2606 $as_echo_n "checking for $ac_word... " >&6; }
2607 if test "${ac_cv_prog_CC+set}" = set; then :
2608 $as_echo_n "(cached) " >&6
2610 if test -n "$CC"; then
2611 ac_cv_prog_CC="$CC" # Let the user override the test.
2613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2617 test -z "$as_dir" && as_dir=.
2618 for ac_exec_ext in '' $ac_executable_extensions; do
2619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2620 ac_cv_prog_CC="${ac_tool_prefix}cc"
2621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2631 if test -n "$CC"; then
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2633 $as_echo "$CC" >&6; }
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2636 $as_echo "no" >&6; }
2642 if test -z "$CC"; then
2643 # Extract the first word of "cc", so it can be a program name with args.
2644 set dummy cc; ac_word=$2
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2646 $as_echo_n "checking for $ac_word... " >&6; }
2647 if test "${ac_cv_prog_CC+set}" = set; then :
2648 $as_echo_n "(cached) " >&6
2650 if test -n "$CC"; then
2651 ac_cv_prog_CC="$CC" # Let the user override the test.
2654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2658 test -z "$as_dir" && as_dir=.
2659 for ac_exec_ext in '' $ac_executable_extensions; do
2660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2661 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2662 ac_prog_rejected=yes
2666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2673 if test $ac_prog_rejected = yes; then
2674 # We found a bogon in the path, so make sure we never use it.
2675 set dummy $ac_cv_prog_CC
2677 if test $# != 0; then
2678 # We chose a different compiler from the bogus one.
2679 # However, it has the same basename, so the bogon will be chosen
2680 # first if we set CC to just the basename; use the full file name.
2682 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2688 if test -n "$CC"; then
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2690 $as_echo "$CC" >&6; }
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2693 $as_echo "no" >&6; }
2698 if test -z "$CC"; then
2699 if test -n "$ac_tool_prefix"; then
2700 for ac_prog in cl.exe
2702 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2703 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2705 $as_echo_n "checking for $ac_word... " >&6; }
2706 if test "${ac_cv_prog_CC+set}" = set; then :
2707 $as_echo_n "(cached) " >&6
2709 if test -n "$CC"; then
2710 ac_cv_prog_CC="$CC" # Let the user override the test.
2712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2716 test -z "$as_dir" && as_dir=.
2717 for ac_exec_ext in '' $ac_executable_extensions; do
2718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2719 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2730 if test -n "$CC"; then
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2732 $as_echo "$CC" >&6; }
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2735 $as_echo "no" >&6; }
2739 test -n "$CC" && break
2742 if test -z "$CC"; then
2744 for ac_prog in cl.exe
2746 # Extract the first word of "$ac_prog", so it can be a program name with args.
2747 set dummy $ac_prog; ac_word=$2
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2749 $as_echo_n "checking for $ac_word... " >&6; }
2750 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2751 $as_echo_n "(cached) " >&6
2753 if test -n "$ac_ct_CC"; then
2754 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2760 test -z "$as_dir" && as_dir=.
2761 for ac_exec_ext in '' $ac_executable_extensions; do
2762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2763 ac_cv_prog_ac_ct_CC="$ac_prog"
2764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2773 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2774 if test -n "$ac_ct_CC"; then
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2776 $as_echo "$ac_ct_CC" >&6; }
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2779 $as_echo "no" >&6; }
2783 test -n "$ac_ct_CC" && break
2786 if test "x$ac_ct_CC" = x; then
2789 case $cross_compiling:$ac_tool_warned in
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2792 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2793 ac_tool_warned=yes ;;
2802 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2803 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2804 as_fn_error "no acceptable C compiler found
in \
$PATH
2805 See \
`config.log' for more details." "$LINENO" 5; }
2807 # Provide some information about the compiler.
2808 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2811 for ac_option in --version -v -V -qversion; do
2812 { { ac_try="$ac_compiler $ac_option >&5"
2814 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2815 *) ac_try_echo
=$ac_try;;
2817 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2818 $as_echo "$ac_try_echo"; } >&5
2819 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2821 if test -s conftest.err
; then
2823 ... rest of stderr output deleted ...
2824 10q' conftest.err
>conftest.er1
2825 cat conftest.er1
>&5
2826 rm -f conftest.er1 conftest.err
2828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2829 test $ac_status = 0; }
2832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2833 /* end confdefs.h. */
2843 ac_clean_files_save
=$ac_clean_files
2844 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2845 # Try to create an executable without -o first, disregard a.out.
2846 # It will help us diagnose broken compilers, and finding out an intuition
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2849 $as_echo_n "checking for C compiler default output file name... " >&6; }
2850 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2852 # The possible output files:
2853 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2856 for ac_file
in $ac_files
2859 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2860 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2865 if { { ac_try
="$ac_link_default"
2867 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2868 *) ac_try_echo=$ac_try;;
2870 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2871 $as_echo "$ac_try_echo"; } >&5
2872 (eval "$ac_link_default") 2>&5
2874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2875 test $ac_status = 0; }; then :
2876 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2877 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2878 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2879 # so that the user can short-circuit this test for compilers unknown to
2881 for ac_file in $ac_files ''
2883 test -f "$ac_file" || continue
2885 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2888 # We found the default executable, but exeext='' is most
2892 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2894 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2896 # We set ac_cv_exeext here because the later test for it is not
2897 # safe: cross compilers may not add the suffix if given an `-o'
2898 # argument, so we may need to know it at that point already.
2899 # Even if this section looks crufty: it has the advantage of
2906 test "$ac_cv_exeext" = no && ac_cv_exeext=
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2912 $as_echo "$ac_file" >&6; }
2913 if test -z "$ac_file"; then :
2914 $as_echo "$as_me: failed program was:" >&5
2915 sed 's
/^
/|
/' conftest.$ac_ext >&5
2917 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2918 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2919 { as_fn_set_status 77
2920 as_fn_error "C compiler cannot create executables
2921 See \`config.log
' for more details." "$LINENO" 5; }; }
2923 ac_exeext=$ac_cv_exeext
2925 # Check that the compiler produces executables we can run. If not, either
2926 # the compiler is broken, or we cross compile.
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2928 $as_echo_n "checking whether the C compiler works... " >&6; }
2929 # If not cross compiling, check that we can run a simple program.
2930 if test "$cross_compiling" != yes; then
2931 if { ac_try='.
/$ac_file'
2932 { { case "(($ac_try" in
2933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2934 *) ac_try_echo=$ac_try;;
2936 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2937 $as_echo "$ac_try_echo"; } >&5
2938 (eval "$ac_try") 2>&5
2940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2941 test $ac_status = 0; }; }; then
2944 if test "$cross_compiling" = maybe; then
2947 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2948 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2949 as_fn_error "cannot run C compiled programs.
2950 If you meant to cross compile, use \`--host'.
2951 See \`config.log' for more details.
" "$LINENO" 5; }
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
2956 $as_echo "yes" >&6; }
2958 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2959 ac_clean_files=$ac_clean_files_save
2960 # Check that the compiler produces executables we can run. If not, either
2961 # the compiler is broken, or we cross compile.
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
2963 $as_echo_n "checking whether we are cross compiling...
" >&6; }
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $cross_compiling" >&5
2965 $as_echo "$cross_compiling" >&6; }
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
2968 $as_echo_n "checking
for suffix of executables...
" >&6; }
2969 if { { ac_try="$ac_link"
2971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2972 *) ac_try_echo=$ac_try;;
2974 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2975 $as_echo "$ac_try_echo"; } >&5
2976 (eval "$ac_link") 2>&5
2978 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
2979 test $ac_status = 0; }; then :
2980 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2981 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2982 # work properly (i.e., refer to `conftest.exe'), while it won't with
2984 for ac_file in conftest.exe conftest conftest.*; do
2985 test -f "$ac_file" || continue
2987 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2988 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2994 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2995 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2996 as_fn_error "cannot compute suffix of executables: cannot compile and link
2997 See \`config.log' for more details.
" "$LINENO" 5; }
2999 rm -f conftest$ac_cv_exeext
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
3001 $as_echo "$ac_cv_exeext" >&6; }
3003 rm -f conftest.$ac_ext
3004 EXEEXT=$ac_cv_exeext
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of object files
" >&5
3007 $as_echo_n "checking
for suffix of object files...
" >&6; }
3008 if test "${ac_cv_objext+set}" = set; then :
3009 $as_echo_n "(cached
) " >&6
3011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3012 /* end confdefs.h. */
3022 rm -f conftest.o conftest.obj
3023 if { { ac_try="$ac_compile"
3025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3026 *) ac_try_echo=$ac_try;;
3028 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3029 $as_echo "$ac_try_echo"; } >&5
3030 (eval "$ac_compile") 2>&5
3032 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3033 test $ac_status = 0; }; then :
3034 for ac_file in conftest.o conftest.obj conftest.*; do
3035 test -f "$ac_file" || continue;
3037 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3038 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3043 $as_echo "$as_me: failed program was
:" >&5
3044 sed 's/^/| /' conftest.$ac_ext >&5
3046 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3047 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3048 as_fn_error "cannot compute suffix of object files: cannot compile
3049 See \`config.log' for more details.
" "$LINENO" 5; }
3051 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_objext" >&5
3054 $as_echo "$ac_cv_objext" >&6; }
3055 OBJEXT=$ac_cv_objext
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler
" >&5
3058 $as_echo_n "checking whether we are using the GNU C compiler...
" >&6; }
3059 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3060 $as_echo_n "(cached
) " >&6
3062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3063 /* end confdefs.h. */
3076 if ac_fn_c_try_compile "$LINENO"; then :
3081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3082 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_compiler_gnu" >&5
3086 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3087 if test $ac_compiler_gnu = yes; then
3092 ac_test_CFLAGS=${CFLAGS+set}
3093 ac_save_CFLAGS=$CFLAGS
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC accepts
-g" >&5
3095 $as_echo_n "checking whether
$CC accepts
-g...
" >&6; }
3096 if test "${ac_cv_prog_cc_g+set}" = set; then :
3097 $as_echo_n "(cached
) " >&6
3099 ac_save_c_werror_flag=$ac_c_werror_flag
3100 ac_c_werror_flag=yes
3103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3104 /* end confdefs.h. */
3114 if ac_fn_c_try_compile "$LINENO"; then :
3118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3119 /* end confdefs.h. */
3129 if ac_fn_c_try_compile "$LINENO"; then :
3132 ac_c_werror_flag=$ac_save_c_werror_flag
3134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3135 /* end confdefs.h. */
3145 if ac_fn_c_try_compile "$LINENO"; then :
3148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3153 ac_c_werror_flag=$ac_save_c_werror_flag
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_g" >&5
3156 $as_echo "$ac_cv_prog_cc_g" >&6; }
3157 if test "$ac_test_CFLAGS" = set; then
3158 CFLAGS=$ac_save_CFLAGS
3159 elif test $ac_cv_prog_cc_g = yes; then
3160 if test "$GCC" = yes; then
3166 if test "$GCC" = yes; then
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $CC option to accept ISO C89
" >&5
3173 $as_echo_n "checking
for $CC option to accept ISO C89...
" >&6; }
3174 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3175 $as_echo_n "(cached
) " >&6
3177 ac_cv_prog_cc_c89=no
3179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3180 /* end confdefs.h. */
3183 #include <sys/types.h>
3184 #include <sys/stat.h>
3185 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3186 struct buf { int x; };
3187 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3188 static char *e (p, i)
3194 static char *f (char * (*g) (char **, int), char **p, ...)
3199 s = g (p, va_arg (v,int));
3204 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3205 function prototypes and stuff, but not '\xHH' hex character constants.
3206 These don't provoke an error unfortunately, instead are silently treated
3207 as 'x'. The following induces an error, until -std is added to get
3208 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3209 array size at least. It's necessary to write '\x00'==0 to get something
3210 that's true only with -std. */
3211 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3213 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3214 inside strings and character constants. */
3216 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3218 int test (int i, double x);
3219 struct s1 {int (*f) (int a);};
3220 struct s2 {int (*f) (double a);};
3221 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3227 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3232 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3233 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3235 CC="$ac_save_CC $ac_arg"
3236 if ac_fn_c_try_compile "$LINENO"; then :
3237 ac_cv_prog_cc_c89=$ac_arg
3239 rm -f core conftest.err conftest.$ac_objext
3240 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3242 rm -f conftest.$ac_ext
3247 case "x
$ac_cv_prog_cc_c89" in
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none needed
" >&5
3250 $as_echo "none needed
" >&6; } ;;
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: unsupported
" >&5
3253 $as_echo "unsupported
" >&6; } ;;
3255 CC="$CC $ac_cv_prog_cc_c89"
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_c89" >&5
3257 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3259 if test "x
$ac_cv_prog_cc_c89" != xno; then :
3264 ac_cpp='$CPP $CPPFLAGS'
3265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3271 ac_cpp='$CPP $CPPFLAGS'
3272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
3276 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
3277 # On Suns, sometimes $CPP names a directory.
3278 if test -n "$CPP" && test -d "$CPP"; then
3281 if test -z "$CPP"; then
3282 if test "${ac_cv_prog_CPP+set}" = set; then :
3283 $as_echo_n "(cached
) " >&6
3285 # Double quotes because CPP needs to be expanded
3286 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3289 for ac_c_preproc_warn_flag in '' yes
3291 # Use a header file that comes with gcc, so configuring glibc
3292 # with a fresh cross-compiler works.
3293 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3294 # <limits.h> exists even on freestanding compilers.
3295 # On the NeXT, cc -E runs the code through the compiler's parser,
3296 # not just through cpp. "Syntax error
" is here to catch this case.
3297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3298 /* end confdefs.h. */
3300 # include <limits.h>
3302 # include <assert.h>
3306 if ac_fn_c_try_cpp "$LINENO"; then :
3309 # Broken: fails on valid input.
3312 rm -f conftest.err conftest.$ac_ext
3314 # OK, works on sane cases. Now check whether nonexistent headers
3315 # can be detected and how.
3316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3317 /* end confdefs.h. */
3318 #include <ac_nonexistent.h>
3320 if ac_fn_c_try_cpp "$LINENO"; then :
3321 # Broken: success on invalid input.
3324 # Passes both tests.
3328 rm -f conftest.err conftest.$ac_ext
3331 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3332 rm -f conftest.err conftest.$ac_ext
3333 if $ac_preproc_ok; then :
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
3346 $as_echo "$CPP" >&6; }
3348 for ac_c_preproc_warn_flag in '' yes
3350 # Use a header file that comes with gcc, so configuring glibc
3351 # with a fresh cross-compiler works.
3352 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3353 # <limits.h> exists even on freestanding compilers.
3354 # On the NeXT, cc -E runs the code through the compiler's parser,
3355 # not just through cpp. "Syntax error
" is here to catch this case.
3356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3357 /* end confdefs.h. */
3359 # include <limits.h>
3361 # include <assert.h>
3365 if ac_fn_c_try_cpp "$LINENO"; then :
3368 # Broken: fails on valid input.
3371 rm -f conftest.err conftest.$ac_ext
3373 # OK, works on sane cases. Now check whether nonexistent headers
3374 # can be detected and how.
3375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3376 /* end confdefs.h. */
3377 #include <ac_nonexistent.h>
3379 if ac_fn_c_try_cpp "$LINENO"; then :
3380 # Broken: success on invalid input.
3383 # Passes both tests.
3387 rm -f conftest.err conftest.$ac_ext
3390 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3391 rm -f conftest.err conftest.$ac_ext
3392 if $ac_preproc_ok; then :
3395 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3397 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3398 See \`config.log' for more details.
" "$LINENO" 5; }
3402 ac_cpp='$CPP $CPPFLAGS'
3403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
3409 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
3410 if test "${ac_cv_path_GREP+set}" = set; then :
3411 $as_echo_n "(cached
) " >&6
3413 if test -z "$GREP"; then
3414 ac_path_GREP_found=false
3415 # Loop through the user's path and test for each of PROGNAME-LIST
3416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3417 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3420 test -z "$as_dir" && as_dir=.
3421 for ac_prog in grep ggrep; do
3422 for ac_exec_ext in '' $ac_executable_extensions; do
3423 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3424 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3425 # Check for GNU ac_path_GREP and select it if it is found.
3426 # Check for GNU $ac_path_GREP
3427 case `"$ac_path_GREP" --version 2>&1` in
3429 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3432 $as_echo_n 0123456789 >"conftest.
in"
3435 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3436 mv "conftest.tmp
" "conftest.
in"
3437 cp "conftest.
in" "conftest.
nl"
3438 $as_echo 'GREP' >> "conftest.
nl"
3439 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3440 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3441 as_fn_arith $ac_count + 1 && ac_count=$as_val
3442 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3443 # Best one so far, save it but keep looking for a better one
3444 ac_cv_path_GREP="$ac_path_GREP"
3445 ac_path_GREP_max=$ac_count
3447 # 10*(2^10) chars as input seems more than enough
3448 test $ac_count -gt 10 && break
3450 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3453 $ac_path_GREP_found && break 3
3458 if test -z "$ac_cv_path_GREP"; then
3459 as_fn_error "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
3462 ac_cv_path_GREP=$GREP
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
3467 $as_echo "$ac_cv_path_GREP" >&6; }
3468 GREP="$ac_cv_path_GREP"
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
3472 $as_echo_n "checking
for egrep...
" >&6; }
3473 if test "${ac_cv_path_EGREP+set}" = set; then :
3474 $as_echo_n "(cached
) " >&6
3476 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3477 then ac_cv_path_EGREP="$GREP -E"
3479 if test -z "$EGREP"; then
3480 ac_path_EGREP_found=false
3481 # Loop through the user's path and test for each of PROGNAME-LIST
3482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3483 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3486 test -z "$as_dir" && as_dir=.
3487 for ac_prog in egrep; do
3488 for ac_exec_ext in '' $ac_executable_extensions; do
3489 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3490 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3491 # Check for GNU ac_path_EGREP and select it if it is found.
3492 # Check for GNU $ac_path_EGREP
3493 case `"$ac_path_EGREP" --version 2>&1` in
3495 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3498 $as_echo_n 0123456789 >"conftest.
in"
3501 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3502 mv "conftest.tmp
" "conftest.
in"
3503 cp "conftest.
in" "conftest.
nl"
3504 $as_echo 'EGREP' >> "conftest.
nl"
3505 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3506 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3507 as_fn_arith $ac_count + 1 && ac_count=$as_val
3508 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3509 # Best one so far, save it but keep looking for a better one
3510 ac_cv_path_EGREP="$ac_path_EGREP"
3511 ac_path_EGREP_max=$ac_count
3513 # 10*(2^10) chars as input seems more than enough
3514 test $ac_count -gt 10 && break
3516 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3519 $ac_path_EGREP_found && break 3
3524 if test -z "$ac_cv_path_EGREP"; then
3525 as_fn_error "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
3528 ac_cv_path_EGREP=$EGREP
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
3534 $as_echo "$ac_cv_path_EGREP" >&6; }
3535 EGREP="$ac_cv_path_EGREP"
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
3539 $as_echo_n "checking
for ANSI C header files...
" >&6; }
3540 if test "${ac_cv_header_stdc+set}" = set; then :
3541 $as_echo_n "(cached
) " >&6
3543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3544 /* end confdefs.h. */
3558 if ac_fn_c_try_compile "$LINENO"; then :
3559 ac_cv_header_stdc=yes
3561 ac_cv_header_stdc=no
3563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3565 if test $ac_cv_header_stdc = yes; then
3566 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3568 /* end confdefs.h. */
3572 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3573 $EGREP "memchr
" >/dev/null 2>&1; then :
3576 ac_cv_header_stdc=no
3582 if test $ac_cv_header_stdc = yes; then
3583 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3585 /* end confdefs.h. */
3589 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3590 $EGREP "free
" >/dev/null 2>&1; then :
3593 ac_cv_header_stdc=no
3599 if test $ac_cv_header_stdc = yes; then
3600 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3601 if test "$cross_compiling" = yes; then :
3604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3605 /* end confdefs.h. */
3608 #if ((' ' & 0x0FF) == 0x020)
3609 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3610 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3612 # define ISLOWER(c) \
3613 (('a' <= (c) && (c) <= 'i') \
3614 || ('j' <= (c) && (c) <= 'r') \
3615 || ('s' <= (c) && (c) <= 'z'))
3616 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3619 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3624 for (i = 0; i < 256; i++)
3625 if (XOR (islower (i), ISLOWER (i))
3626 || toupper (i) != TOUPPER (i))
3631 if ac_fn_c_try_run "$LINENO"; then :
3634 ac_cv_header_stdc=no
3636 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3637 conftest.$ac_objext conftest.beam conftest.$ac_ext
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
3643 $as_echo "$ac_cv_header_stdc" >&6; }
3644 if test $ac_cv_header_stdc = yes; then
3646 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3650 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3651 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3652 inttypes.h stdint.h unistd.h
3654 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3655 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3657 eval as_val
=\$
$as_ac_Header
3658 if test "x$as_val" = x
""yes; then :
3659 cat >>confdefs.h
<<_ACEOF
3660 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3669 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3670 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
3677 if test "$MINIX" = yes; then
3679 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3682 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3685 $as_echo "#define _MINIX 1" >>confdefs.h
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3691 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3692 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
3693 $as_echo_n "(cached) " >&6
3695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3696 /* end confdefs.h. */
3698 # define __EXTENSIONS__ 1
3699 $ac_includes_default
3708 if ac_fn_c_try_compile
"$LINENO"; then :
3709 ac_cv_safe_to_define___extensions__
=yes
3711 ac_cv_safe_to_define___extensions__
=no
3713 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3716 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3717 test $ac_cv_safe_to_define___extensions__ = yes &&
3718 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3720 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3722 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3724 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3726 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3729 # Determine the noncanonical target name, for directory use.
3730 case ${build_alias} in
3731 "") build_noncanonical
=${build} ;;
3732 *) build_noncanonical
=${build_alias} ;;
3735 case ${host_alias} in
3736 "") host_noncanonical
=${build_noncanonical} ;;
3737 *) host_noncanonical
=${host_alias} ;;
3740 case ${target_alias} in
3741 "") target_noncanonical
=${host_noncanonical} ;;
3742 *) target_noncanonical
=${target_alias} ;;
3748 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
3749 # have matching libraries, they should use host libraries: Makefile.tpl
3750 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
3751 # However, they still use the build modules, because the corresponding
3752 # host modules (e.g. bison) are only built for the host when bootstrap
3754 # - build_subdir is where we find build modules, and never changes.
3755 # - build_libsubdir is where we find build libraries, and can be overridden.
3757 # Prefix 'build-' so this never conflicts with target_subdir.
3758 build_subdir
="build-${build_noncanonical}"
3760 # Check whether --with-build-libsubdir was given.
3761 if test "${with_build_libsubdir+set}" = set; then :
3762 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
3764 build_libsubdir
="$build_subdir"
3767 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
3768 if ( test $srcdir = .
&& test -d gcc
) \
3769 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
3770 host_subdir
="host-${host_noncanonical}"
3775 target_subdir
=${target_noncanonical}
3778 # 1.11.1: Require that version of automake.
3779 # foreign: Don't require README, INSTALL, NEWS, etc.
3780 # no-define: Don't define PACKAGE and VERSION.
3781 # -Wall: Issue all automake warnings.
3782 # -Wno-portability: Don't warn about constructs supported by GNU make.
3783 # (because GCC requires GNU make anyhow).
3784 am__api_version
='1.11'
3786 # Find a good install program. We prefer a C program (faster),
3787 # so one script is as good as another. But avoid the broken or
3788 # incompatible versions:
3789 # SysV /etc/install, /usr/sbin/install
3790 # SunOS /usr/etc/install
3791 # IRIX /sbin/install
3793 # AmigaOS /C/install, which installs bootblocks on floppy discs
3794 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3795 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3796 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3797 # OS/2's system install, which has a completely different semantic
3798 # ./install, which can be erroneously created by make from ./install.sh.
3799 # Reject install programs that cannot install multiple files.
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3801 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3802 if test -z "$INSTALL"; then
3803 if test "${ac_cv_path_install+set}" = set; then :
3804 $as_echo_n "(cached) " >&6
3806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3810 test -z "$as_dir" && as_dir
=.
3811 # Account for people who put trailing slashes in PATH elements.
3812 case $as_dir/ in #((
3813 .
/ | .
// |
/[cC
]/* | \
3814 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3815 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3818 # OSF1 and SCO ODT 3.0 have their own names for install.
3819 # Don't use installbsd from OSF since it installs stuff as root
3821 for ac_prog
in ginstall scoinst
install; do
3822 for ac_exec_ext
in '' $ac_executable_extensions; do
3823 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3824 if test $ac_prog = install &&
3825 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3826 # AIX install. It has an incompatible calling convention.
3828 elif test $ac_prog = install &&
3829 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3830 # program-specific install script used by HP pwplus--don't use.
3833 rm -rf conftest.one conftest.two conftest.dir
3834 echo one
> conftest.one
3835 echo two
> conftest.two
3837 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3838 test -s conftest.one
&& test -s conftest.two
&&
3839 test -s conftest.dir
/conftest.one
&&
3840 test -s conftest.dir
/conftest.two
3842 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3855 rm -rf conftest.one conftest.two conftest.dir
3858 if test "${ac_cv_path_install+set}" = set; then
3859 INSTALL
=$ac_cv_path_install
3861 # As a last resort, use the slow shell script. Don't cache a
3862 # value for INSTALL within a source directory, because that will
3863 # break other packages using the cache if that directory is
3864 # removed, or if the value is a relative name.
3865 INSTALL
=$ac_install_sh
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3869 $as_echo "$INSTALL" >&6; }
3871 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3872 # It thinks the first close brace ends the variable substitution.
3873 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3875 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3877 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3880 $as_echo_n "checking whether build environment is sane... " >&6; }
3883 echo timestamp
> conftest.
file
3884 # Reject unsafe characters in $srcdir or the absolute working directory
3885 # name. Accept space and tab only in the latter.
3889 *[\\\"\
#\$\&\'\`$am_lf]*)
3890 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3893 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3894 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3897 # Do `set' in a subshell so we don't clobber the current shell's
3898 # arguments. Must try -L first in case configure is actually a
3899 # symlink; some systems play weird games with the mod time of symlinks
3900 # (eg FreeBSD returns the mod time of the symlink's containing
3903 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3904 if test "$*" = "X"; then
3906 set X
`ls -t "$srcdir/configure" conftest.file`
3909 if test "$*" != "X $srcdir/configure conftest.file" \
3910 && test "$*" != "X conftest.file $srcdir/configure"; then
3912 # If neither matched, then we have a broken ls. This can happen
3913 # if, for instance, CONFIG_SHELL is bash and it inherits a
3914 # broken ls alias from the environment. This has actually
3915 # happened. Such a system could not be considered "sane".
3916 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3917 alias in your environment" "$LINENO" 5
3920 test "$2" = conftest.
file
3926 as_fn_error
"newly created file is older than distributed files!
3927 Check your system clock" "$LINENO" 5
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3930 $as_echo "yes" >&6; }
3931 test "$program_prefix" != NONE
&&
3932 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3933 # Use a double $ so make ignores it.
3934 test "$program_suffix" != NONE
&&
3935 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3936 # Double any \ or $.
3937 # By default was `s,x,x', remove it if useless.
3938 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3939 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3941 # expand $ac_aux_dir to an absolute path
3942 am_aux_dir
=`cd $ac_aux_dir && pwd`
3944 if test x
"${MISSING+set}" != xset
; then
3947 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3949 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3952 # Use eval to expand $SHELL
3953 if eval "$MISSING --run true"; then
3954 am_missing_run
="$MISSING --run "
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3958 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3961 if test x
"${install_sh}" != xset
; then
3964 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3966 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3970 # Installed binaries are usually stripped using `strip' when the user
3971 # run `make install-strip'. However `strip' might not be the right
3972 # tool to use in cross-compilation environments, therefore Automake
3973 # will honor the `STRIP' environment variable to overrule this program.
3974 if test "$cross_compiling" != no
; then
3975 if test -n "$ac_tool_prefix"; then
3976 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3977 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3979 $as_echo_n "checking for $ac_word... " >&6; }
3980 if test "${ac_cv_prog_STRIP+set}" = set; then :
3981 $as_echo_n "(cached) " >&6
3983 if test -n "$STRIP"; then
3984 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3990 test -z "$as_dir" && as_dir
=.
3991 for ac_exec_ext
in '' $ac_executable_extensions; do
3992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3993 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4003 STRIP
=$ac_cv_prog_STRIP
4004 if test -n "$STRIP"; then
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4006 $as_echo "$STRIP" >&6; }
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4009 $as_echo "no" >&6; }
4014 if test -z "$ac_cv_prog_STRIP"; then
4016 # Extract the first word of "strip", so it can be a program name with args.
4017 set dummy strip
; ac_word
=$2
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4019 $as_echo_n "checking for $ac_word... " >&6; }
4020 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4021 $as_echo_n "(cached) " >&6
4023 if test -n "$ac_ct_STRIP"; then
4024 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4030 test -z "$as_dir" && as_dir
=.
4031 for ac_exec_ext
in '' $ac_executable_extensions; do
4032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4033 ac_cv_prog_ac_ct_STRIP
="strip"
4034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4043 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4044 if test -n "$ac_ct_STRIP"; then
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4046 $as_echo "$ac_ct_STRIP" >&6; }
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4049 $as_echo "no" >&6; }
4052 if test "x$ac_ct_STRIP" = x
; then
4055 case $cross_compiling:$ac_tool_warned in
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4059 ac_tool_warned
=yes ;;
4064 STRIP
="$ac_cv_prog_STRIP"
4068 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4071 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4072 if test -z "$MKDIR_P"; then
4073 if test "${ac_cv_path_mkdir+set}" = set; then :
4074 $as_echo_n "(cached) " >&6
4076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4077 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4080 test -z "$as_dir" && as_dir
=.
4081 for ac_prog
in mkdir gmkdir
; do
4082 for ac_exec_ext
in '' $ac_executable_extensions; do
4083 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
4084 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4085 'mkdir (GNU coreutils) '* | \
4086 'mkdir (coreutils) '* | \
4087 'mkdir (fileutils) '4.1*)
4088 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4098 if test "${ac_cv_path_mkdir+set}" = set; then
4099 MKDIR_P
="$ac_cv_path_mkdir -p"
4101 # As a last resort, use the slow shell script. Don't cache a
4102 # value for MKDIR_P within a source directory, because that will
4103 # break other packages using the cache if that directory is
4104 # removed, or if the value is a relative name.
4105 test -d .
/--version && rmdir .
/--version
4106 MKDIR_P
="$ac_install_sh -d"
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4110 $as_echo "$MKDIR_P" >&6; }
4114 [\\/$
]* | ?
:[\\/]*) ;;
4115 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
4118 for ac_prog
in gawk mawk nawk
awk
4120 # Extract the first word of "$ac_prog", so it can be a program name with args.
4121 set dummy
$ac_prog; ac_word
=$2
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4123 $as_echo_n "checking for $ac_word... " >&6; }
4124 if test "${ac_cv_prog_AWK+set}" = set; then :
4125 $as_echo_n "(cached) " >&6
4127 if test -n "$AWK"; then
4128 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4134 test -z "$as_dir" && as_dir
=.
4135 for ac_exec_ext
in '' $ac_executable_extensions; do
4136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4137 ac_cv_prog_AWK
="$ac_prog"
4138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4148 if test -n "$AWK"; then
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4150 $as_echo "$AWK" >&6; }
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4153 $as_echo "no" >&6; }
4157 test -n "$AWK" && break
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4161 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4163 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4164 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4165 $as_echo_n "(cached) " >&6
4167 cat >conftest.
make <<\_ACEOF
4170 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4172 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4173 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4175 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4177 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4181 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4183 $as_echo "yes" >&6; }
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4187 $as_echo "no" >&6; }
4188 SET_MAKE
="MAKE=${MAKE-make}"
4191 rm -rf .tst
2>/dev
/null
4192 mkdir .tst
2>/dev
/null
4193 if test -d .tst
; then
4198 rmdir .tst
2>/dev
/null
4200 DEPDIR
="${am__leading_dot}deps"
4202 ac_config_commands
="$ac_config_commands depfiles"
4205 am_make
=${MAKE-make}
4206 cat > confinc
<< 'END'
4208 @
echo this is the am__doit target
4211 # If we don't find an include directive, just comment out the code.
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4213 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4217 # First try GNU make style include.
4218 echo "include confinc" > confmf
4219 # Ignore all kinds of additional output from `make'.
4220 case `$am_make -s -f confmf 2> /dev/null` in #(
4221 *the\ am__doit\ target
*)
4227 # Now try BSD make style include.
4228 if test "$am__include" = "#"; then
4229 echo '.include "confinc"' > confmf
4230 case `$am_make -s -f confmf 2> /dev/null` in #(
4231 *the\ am__doit\ target
*)
4232 am__include
=.include
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4241 $as_echo "$_am_result" >&6; }
4242 rm -f confinc confmf
4244 # Check whether --enable-dependency-tracking was given.
4245 if test "${enable_dependency_tracking+set}" = set; then :
4246 enableval
=$enable_dependency_tracking;
4249 if test "x$enable_dependency_tracking" != xno
; then
4250 am_depcomp
="$ac_aux_dir/depcomp"
4253 if test "x$enable_dependency_tracking" != xno; then
4262 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4263 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4264 # is not polluted with repeated "-I."
4265 am__isrc
=' -I$(srcdir)'
4266 # test to see if srcdir already configured
4267 if test -f $srcdir/config.status
; then
4268 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4272 # test whether we have cygpath
4273 if test -z "$CYGPATH_W"; then
4274 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4275 CYGPATH_W
='cygpath -w'
4282 # Define the identity of the package.
4284 VERSION
='version-unused'
4287 # Some tools Automake needs.
4289 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4292 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4295 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4298 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4301 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4303 # We need awk for the "check" target. The system "awk" is bad on
4305 # Always define AMTAR for backward compatibility.
4307 AMTAR
=${AMTAR-"${am_missing_run}tar"}
4309 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
4314 depcc
="$CC" am_compiler_list
=
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4317 $as_echo_n "checking dependency style of $depcc... " >&6; }
4318 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4319 $as_echo_n "(cached) " >&6
4321 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4322 # We make a subdir and do the tests there. Otherwise we can end up
4323 # making bogus files that we don't know about and never remove. For
4324 # instance it was reported that on HP-UX the gcc test will end up
4325 # making a dummy file named `D' -- because `-MD' means `put the output
4328 # Copy depcomp to subdir because otherwise we won't find it if we're
4329 # using a relative directory.
4330 cp "$am_depcomp" conftest.dir
4332 # We will build objects and dependencies in a subdirectory because
4333 # it helps to detect inapplicable dependency modes. For instance
4334 # both Tru64's cc and ICC support -MD to output dependencies as a
4335 # side effect of compilation, but ICC will put the dependencies in
4336 # the current directory while Tru64 will put them in the object
4340 am_cv_CC_dependencies_compiler_type
=none
4341 if test "$am_compiler_list" = ""; then
4342 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4345 case " $depcc " in #(
4346 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4349 for depmode
in $am_compiler_list; do
4350 # Setup a source with many dependencies, because some compilers
4351 # like to wrap large dependency lists on column 80 (with \), and
4352 # we should not choose a depcomp mode which is confused by this.
4354 # We need to recreate these files for each test, as the compiler may
4355 # overwrite some of them when testing with obscure command lines.
4356 # This happens at least with the AIX C compiler.
4358 for i
in 1 2 3 4 5 6; do
4359 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4360 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4361 # Solaris 8's {/usr,}/bin/sh.
4362 touch sub
/conftst
$i.h
4364 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4366 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4367 # mode. It turns out that the SunPro C++ compiler does not properly
4368 # handle `-M -o', and we need to detect this. Also, some Intel
4369 # versions had trouble with output in subdirs
4370 am__obj
=sub
/conftest.
${OBJEXT-o}
4371 am__minus_obj
="-o $am__obj"
4374 # This depmode causes a compiler race in universal mode.
4375 test "$am__universal" = false ||
continue
4378 # after this tag, mechanisms are not by side-effect, so they'll
4379 # only be used when explicitly requested
4380 if test "x$enable_dependency_tracking" = xyes
; then
4386 msvisualcpp | msvcmsys
)
4387 # This compiler won't grok `-c -o', but also, the minuso test has
4388 # not run yet. These depmodes are late enough in the game, and
4389 # so weak that their functioning should not be impacted.
4390 am__obj
=conftest.
${OBJEXT-o}
4395 if depmode
=$depmode \
4396 source=sub
/conftest.c object
=$am__obj \
4397 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4398 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4399 >/dev
/null
2>conftest.err
&&
4400 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4401 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4402 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4403 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4404 # icc doesn't choke on unknown options, it will just issue warnings
4405 # or remarks (even with -Werror). So we grep stderr for any message
4406 # that says an option was ignored or not supported.
4407 # When given -MP, icc 7.0 and 7.1 complain thusly:
4408 # icc: Command line warning: ignoring option '-M'; no argument required
4409 # The diagnosis changed in icc 8.0:
4410 # icc: Command line remark: option '-MP' not supported
4411 if (grep 'ignoring option' conftest.err ||
4412 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4413 am_cv_CC_dependencies_compiler_type
=$depmode
4422 am_cv_CC_dependencies_compiler_type
=none
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4427 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4428 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4431 test "x$enable_dependency_tracking" != xno \
4432 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4434 am__fastdepCC_FALSE
='#'
4436 am__fastdepCC_TRUE
='#'
4437 am__fastdepCC_FALSE
=
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4444 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4445 # Check whether --enable-maintainer-mode was given.
4446 if test "${enable_maintainer_mode+set}" = set; then :
4447 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4449 USE_MAINTAINER_MODE
=no
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4453 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4454 if test $USE_MAINTAINER_MODE = yes; then
4455 MAINTAINER_MODE_TRUE
=
4456 MAINTAINER_MODE_FALSE
='#'
4458 MAINTAINER_MODE_TRUE
='#'
4459 MAINTAINER_MODE_FALSE
=
4462 MAINT
=$MAINTAINER_MODE_TRUE
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4469 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4474 macro_version
='2.2.7a'
4475 macro_revision
='1.3134'
4489 ltmain
="$ac_aux_dir/ltmain.sh"
4491 # Backslashify metacharacters that are still active within
4492 # double-quoted strings.
4493 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4495 # Same as above, but do not quote variable references.
4496 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4498 # Sed substitution to delay expansion of an escaped shell variable in a
4499 # double_quote_subst'ed string.
4500 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4502 # Sed substitution to delay expansion of an escaped single quote.
4503 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4505 # Sed substitution to avoid accidental globbing in evaled expressions
4506 no_glob_subst
='s/\*/\\\*/g'
4508 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4509 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4510 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4513 $as_echo_n "checking how to print strings... " >&6; }
4514 # Test print first, because it will be a builtin if present.
4515 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4516 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4518 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4521 # Use this function as a fallback that always works.
4522 func_fallback_echo ()
4524 eval 'cat <<_LTECHO_EOF
4528 ECHO='func_fallback_echo
'
4531 # func_echo_all arg...
4532 # Invoke $ECHO with all args, space-separated.
4539 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4540 $as_echo "printf" >&6; } ;;
4541 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4542 $as_echo "print -r" >&6; } ;;
4543 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4544 $as_echo "cat" >&6; } ;;
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4561 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4562 if test "${ac_cv_path_SED+set}" = set; then :
4563 $as_echo_n "(cached) " >&6
4565 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4566 for ac_i in 1 2 3 4 5 6 7; do
4567 ac_script="$ac_script$as_nl$ac_script"
4569 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4570 { ac_script=; unset ac_script;}
4571 if test -z "$SED"; then
4572 ac_path_SED_found=false
4573 # Loop through the user's path and
test for each of PROGNAME-LIST
4574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4578 test -z "$as_dir" && as_dir
=.
4579 for ac_prog
in sed gsed
; do
4580 for ac_exec_ext
in '' $ac_executable_extensions; do
4581 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4582 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4583 # Check for GNU ac_path_SED and select it if it is found.
4584 # Check for GNU $ac_path_SED
4585 case `"$ac_path_SED" --version 2>&1` in
4587 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4590 $as_echo_n 0123456789 >"conftest.in"
4593 cat "conftest.in" "conftest.in" >"conftest.tmp"
4594 mv "conftest.tmp" "conftest.in"
4595 cp "conftest.in" "conftest.nl"
4596 $as_echo '' >> "conftest.nl"
4597 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4598 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4599 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4600 if test $ac_count -gt ${ac_path_SED_max-0}; then
4601 # Best one so far, save it but keep looking for a better one
4602 ac_cv_path_SED
="$ac_path_SED"
4603 ac_path_SED_max
=$ac_count
4605 # 10*(2^10) chars as input seems more than enough
4606 test $ac_count -gt 10 && break
4608 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4611 $ac_path_SED_found && break 3
4616 if test -z "$ac_cv_path_SED"; then
4617 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4625 $as_echo "$ac_cv_path_SED" >&6; }
4626 SED
="$ac_cv_path_SED"
4629 test -z "$SED" && SED
=sed
4630 Xsed
="$SED -e 1s/^X//"
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4643 $as_echo_n "checking for fgrep... " >&6; }
4644 if test "${ac_cv_path_FGREP+set}" = set; then :
4645 $as_echo_n "(cached) " >&6
4647 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4648 then ac_cv_path_FGREP
="$GREP -F"
4650 if test -z "$FGREP"; then
4651 ac_path_FGREP_found
=false
4652 # Loop through the user's path and test for each of PROGNAME-LIST
4653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4654 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4657 test -z "$as_dir" && as_dir
=.
4658 for ac_prog
in fgrep
; do
4659 for ac_exec_ext
in '' $ac_executable_extensions; do
4660 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4661 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4662 # Check for GNU ac_path_FGREP and select it if it is found.
4663 # Check for GNU $ac_path_FGREP
4664 case `"$ac_path_FGREP" --version 2>&1` in
4666 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4669 $as_echo_n 0123456789 >"conftest.in"
4672 cat "conftest.in" "conftest.in" >"conftest.tmp"
4673 mv "conftest.tmp" "conftest.in"
4674 cp "conftest.in" "conftest.nl"
4675 $as_echo 'FGREP' >> "conftest.nl"
4676 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4677 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4678 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4679 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4680 # Best one so far, save it but keep looking for a better one
4681 ac_cv_path_FGREP
="$ac_path_FGREP"
4682 ac_path_FGREP_max
=$ac_count
4684 # 10*(2^10) chars as input seems more than enough
4685 test $ac_count -gt 10 && break
4687 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4690 $ac_path_FGREP_found && break 3
4695 if test -z "$ac_cv_path_FGREP"; then
4696 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4699 ac_cv_path_FGREP
=$FGREP
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4705 $as_echo "$ac_cv_path_FGREP" >&6; }
4706 FGREP
="$ac_cv_path_FGREP"
4709 test -z "$GREP" && GREP
=grep
4729 # Check whether --with-gnu-ld was given.
4730 if test "${with_gnu_ld+set}" = set; then :
4731 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4737 if test "$GCC" = yes; then
4738 # Check if gcc -print-prog-name=ld gives a path.
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4740 $as_echo_n "checking for ld used by $CC... " >&6; }
4743 # gcc leaves a trailing carriage return which upsets mingw
4744 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4746 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4749 # Accept absolute paths.
4751 re_direlt
='/[^/][^/]*/\.\./'
4752 # Canonicalize the pathname of ld
4753 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4754 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4755 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4757 test -z "$LD" && LD
="$ac_prog"
4760 # If it fails, then pretend we aren't using GCC.
4764 # If it is relative, then search for the first ld in PATH.
4768 elif test "$with_gnu_ld" = yes; then
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4770 $as_echo_n "checking for GNU ld... " >&6; }
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4773 $as_echo_n "checking for non-GNU ld... " >&6; }
4775 if test "${lt_cv_path_LD+set}" = set; then :
4776 $as_echo_n "(cached) " >&6
4778 if test -z "$LD"; then
4779 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4780 for ac_dir
in $PATH; do
4782 test -z "$ac_dir" && ac_dir
=.
4783 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4784 lt_cv_path_LD
="$ac_dir/$ac_prog"
4785 # Check to see if the program is GNU ld. I'd rather use --version,
4786 # but apparently some variants of GNU ld only accept -v.
4787 # Break only if it was the GNU/non-GNU ld that we prefer.
4788 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4789 *GNU
* |
*'with BFD'*)
4790 test "$with_gnu_ld" != no
&& break
4793 test "$with_gnu_ld" != yes && break
4800 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4805 if test -n "$LD"; then
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4807 $as_echo "$LD" >&6; }
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4810 $as_echo "no" >&6; }
4812 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4814 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4815 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4816 $as_echo_n "(cached) " >&6
4818 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4819 case `$LD -v 2>&1 </dev/null` in
4820 *GNU
* |
*'with BFD'*)
4821 lt_cv_prog_gnu_ld
=yes
4824 lt_cv_prog_gnu_ld
=no
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4829 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4830 with_gnu_ld
=$lt_cv_prog_gnu_ld
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4841 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4842 if test "${lt_cv_path_NM+set}" = set; then :
4843 $as_echo_n "(cached) " >&6
4845 if test -n "$NM"; then
4846 # Let the user override the test.
4849 lt_nm_to_check
="${ac_tool_prefix}nm"
4850 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4851 lt_nm_to_check
="$lt_nm_to_check nm"
4853 for lt_tmp_nm
in $lt_nm_to_check; do
4854 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4855 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4857 test -z "$ac_dir" && ac_dir
=.
4858 tmp_nm
="$ac_dir/$lt_tmp_nm"
4859 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4860 # Check to see if the nm accepts a BSD-compat flag.
4861 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4862 # nm: unknown option "B" ignored
4863 # Tru64's nm complains that /dev/null is an invalid object file
4864 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4865 */dev
/null
* |
*'Invalid file or object type'*)
4866 lt_cv_path_NM
="$tmp_nm -B"
4870 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4872 lt_cv_path_NM
="$tmp_nm -p"
4876 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4877 continue # so that we can try to find one that supports BSD flags
4886 : ${lt_cv_path_NM=no}
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4890 $as_echo "$lt_cv_path_NM" >&6; }
4891 if test "$lt_cv_path_NM" != "no"; then
4894 # Didn't find any BSD compatible name lister, look for dumpbin.
4895 if test -n "$DUMPBIN"; then :
4896 # Let the user override the test.
4898 if test -n "$ac_tool_prefix"; then
4899 for ac_prog
in dumpbin
"link -dump"
4901 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4902 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4904 $as_echo_n "checking for $ac_word... " >&6; }
4905 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4906 $as_echo_n "(cached) " >&6
4908 if test -n "$DUMPBIN"; then
4909 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4915 test -z "$as_dir" && as_dir
=.
4916 for ac_exec_ext
in '' $ac_executable_extensions; do
4917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4918 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4928 DUMPBIN
=$ac_cv_prog_DUMPBIN
4929 if test -n "$DUMPBIN"; then
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4931 $as_echo "$DUMPBIN" >&6; }
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4934 $as_echo "no" >&6; }
4938 test -n "$DUMPBIN" && break
4941 if test -z "$DUMPBIN"; then
4942 ac_ct_DUMPBIN
=$DUMPBIN
4943 for ac_prog
in dumpbin
"link -dump"
4945 # Extract the first word of "$ac_prog", so it can be a program name with args.
4946 set dummy
$ac_prog; ac_word
=$2
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4948 $as_echo_n "checking for $ac_word... " >&6; }
4949 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4950 $as_echo_n "(cached) " >&6
4952 if test -n "$ac_ct_DUMPBIN"; then
4953 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4959 test -z "$as_dir" && as_dir
=.
4960 for ac_exec_ext
in '' $ac_executable_extensions; do
4961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4962 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4972 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4973 if test -n "$ac_ct_DUMPBIN"; then
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4975 $as_echo "$ac_ct_DUMPBIN" >&6; }
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4978 $as_echo "no" >&6; }
4982 test -n "$ac_ct_DUMPBIN" && break
4985 if test "x$ac_ct_DUMPBIN" = x
; then
4988 case $cross_compiling:$ac_tool_warned in
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4992 ac_tool_warned
=yes ;;
4994 DUMPBIN
=$ac_ct_DUMPBIN
4998 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5000 DUMPBIN
="$DUMPBIN -symbols"
5008 if test "$DUMPBIN" != ":"; then
5012 test -z "$NM" && NM
=nm
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5020 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5021 if test "${lt_cv_nm_interface+set}" = set; then :
5022 $as_echo_n "(cached) " >&6
5024 lt_cv_nm_interface
="BSD nm"
5025 echo "int some_variable = 0;" > conftest.
$ac_ext
5026 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5027 (eval "$ac_compile" 2>conftest.err
)
5028 cat conftest.err
>&5
5029 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5030 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5031 cat conftest.err
>&5
5032 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5033 cat conftest.out
>&5
5034 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5035 lt_cv_nm_interface
="MS dumpbin"
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5040 $as_echo "$lt_cv_nm_interface" >&6; }
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5043 $as_echo_n "checking whether ln -s works... " >&6; }
5045 if test "$LN_S" = "ln -s"; then
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5047 $as_echo "yes" >&6; }
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5050 $as_echo "no, using $LN_S" >&6; }
5053 # find the maximum length of command line arguments
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5055 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5056 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5057 $as_echo_n "(cached) " >&6
5064 # On DJGPP, this test can blow up pretty badly due to problems in libc
5065 # (any single argument exceeding 2000 bytes causes a buffer overrun
5066 # during glob expansion). Even if it were fixed, the result of this
5067 # check would be larger than it should be.
5068 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5072 # Under GNU Hurd, this test is not required because there is
5073 # no limit to the length of command line arguments.
5074 # Libtool will interpret -1 as no limit whatsoever
5075 lt_cv_sys_max_cmd_len
=-1;
5078 cygwin
* | mingw
* | cegcc
*)
5079 # On Win9x/ME, this test blows up -- it succeeds, but takes
5080 # about 5 minutes as the teststring grows exponentially.
5081 # Worse, since 9x/ME are not pre-emptively multitasking,
5082 # you end up with a "frozen" computer, even though with patience
5083 # the test eventually succeeds (with a max line length of 256k).
5084 # Instead, let's just punt: use the minimum linelength reported by
5085 # all of the supported platforms: 8192 (on NT/2K/XP).
5086 lt_cv_sys_max_cmd_len
=8192;
5090 # On MiNT this can take a long time and run out of memory.
5091 lt_cv_sys_max_cmd_len
=8192;
5095 # On AmigaOS with pdksh, this test takes hours, literally.
5096 # So we just punt and use a minimum line length of 8192.
5097 lt_cv_sys_max_cmd_len
=8192;
5100 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5101 # This has been around since 386BSD, at least. Likely further.
5102 if test -x /sbin
/sysctl
; then
5103 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5104 elif test -x /usr
/sbin
/sysctl
; then
5105 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5107 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5109 # And add a safety zone
5110 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5111 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5115 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5116 lt_cv_sys_max_cmd_len
=196608
5120 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5121 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5122 # nice to cause kernel panics so lets avoid the loop below.
5123 # First set a reasonable default.
5124 lt_cv_sys_max_cmd_len
=16384
5126 if test -x /sbin
/sysconfig
; then
5127 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5128 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5133 lt_cv_sys_max_cmd_len
=102400
5135 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5136 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5137 if test -n "$kargmax"; then
5138 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5140 lt_cv_sys_max_cmd_len
=32768
5144 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5145 if test -n "$lt_cv_sys_max_cmd_len"; then
5146 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5147 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5149 # Make teststring a little bigger before we do anything with it.
5150 # a 1K string should be a reasonable start.
5151 for i
in 1 2 3 4 5 6 7 8 ; do
5152 teststring
=$teststring$teststring
5154 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5155 # If test is not a shell built-in, we'll probably end up computing a
5156 # maximum length that is only half of the actual maximum length, but
5158 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5159 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5160 test $i != 17 # 1/2 MB should be enough
5163 teststring
=$teststring$teststring
5165 # Only check the string length outside the loop.
5166 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5168 # Add a significant safety factor because C++ compilers can tack on
5169 # massive amounts of additional arguments before passing them to the
5170 # linker. It appears as though 1/2 is a usable value.
5171 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5178 if test -n $lt_cv_sys_max_cmd_len ; then
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5180 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5183 $as_echo "none" >&6; }
5185 max_cmd_len
=$lt_cv_sys_max_cmd_len
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5197 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5198 # Try some XSI features
5201 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5203 && eval 'test $(( 1 + 1 )) -eq 2 \
5204 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5207 $as_echo "$xsi_shell" >&6; }
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5211 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5213 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5215 && lt_shell_append=yes
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5217 $as_echo "$lt_shell_append" >&6; }
5220 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5230 # test EBCDIC or ASCII
5231 case `echo X|tr X '\101'` in
5232 A) # ASCII based system
5233 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5234 lt_SP2NL='tr \040 \012'
5235 lt_NL2SP='tr \015\012 \040\040'
5237 *) # EBCDIC based system
5238 lt_SP2NL='tr \100 \n'
5239 lt_NL2SP='tr \r\n \100\100'
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5252 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5253 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5254 $as_echo_n "(cached
) " >&6
5256 lt_cv_ld_reload_flag='-r'
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5259 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5260 reload_flag=$lt_cv_ld_reload_flag
5261 case $reload_flag in
5263 *) reload_flag=" $reload_flag" ;;
5265 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5268 if test "$GCC" = yes; then
5269 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5271 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5284 if test -n "$ac_tool_prefix"; then
5285 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5286 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5288 $as_echo_n "checking
for $ac_word...
" >&6; }
5289 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5290 $as_echo_n "(cached
) " >&6
5292 if test -n "$OBJDUMP"; then
5293 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5299 test -z "$as_dir" && as_dir=.
5300 for ac_exec_ext in '' $ac_executable_extensions; do
5301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5302 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5303 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5312 OBJDUMP=$ac_cv_prog_OBJDUMP
5313 if test -n "$OBJDUMP"; then
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5315 $as_echo "$OBJDUMP" >&6; }
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5318 $as_echo "no
" >&6; }
5323 if test -z "$ac_cv_prog_OBJDUMP"; then
5324 ac_ct_OBJDUMP=$OBJDUMP
5325 # Extract the first word of "objdump
", so it can be a program name with args.
5326 set dummy objdump; ac_word=$2
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5328 $as_echo_n "checking
for $ac_word...
" >&6; }
5329 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5330 $as_echo_n "(cached
) " >&6
5332 if test -n "$ac_ct_OBJDUMP"; then
5333 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5339 test -z "$as_dir" && as_dir=.
5340 for ac_exec_ext in '' $ac_executable_extensions; do
5341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5342 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5343 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5352 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5353 if test -n "$ac_ct_OBJDUMP"; then
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5355 $as_echo "$ac_ct_OBJDUMP" >&6; }
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5358 $as_echo "no
" >&6; }
5361 if test "x
$ac_ct_OBJDUMP" = x; then
5364 case $cross_compiling:$ac_tool_warned in
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5367 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5368 ac_tool_warned=yes ;;
5370 OBJDUMP=$ac_ct_OBJDUMP
5373 OBJDUMP="$ac_cv_prog_OBJDUMP"
5376 test -z "$OBJDUMP" && OBJDUMP=objdump
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5387 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5388 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5389 $as_echo_n "(cached
) " >&6
5391 lt_cv_file_magic_cmd='$MAGIC_CMD'
5392 lt_cv_file_magic_test_file=
5393 lt_cv_deplibs_check_method='unknown'
5394 # Need to set the preceding variable on all platforms that support
5395 # interlibrary dependencies.
5396 # 'none' -- dependencies not supported.
5397 # `unknown' -- same as none, but documents that we really don't know.
5398 # 'pass_all' -- all dependencies passed with no checks.
5399 # 'test_compile' -- check by making test program.
5400 # 'file_magic [[regex]]' -- check by looking for files in library path
5401 # which responds to the $file_magic_cmd with a given extended regex.
5402 # If you have `file' or equivalent on your system and you're not sure
5403 # whether `pass_all' will *always* work, you probably want this one.
5407 lt_cv_deplibs_check_method=pass_all
5411 lt_cv_deplibs_check_method=pass_all
5415 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5416 lt_cv_file_magic_cmd='/usr/bin/file -L'
5417 lt_cv_file_magic_test_file=/shlib/libc.so
5421 # func_win32_libid is a shell function defined in ltmain.sh
5422 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5423 lt_cv_file_magic_cmd='func_win32_libid'
5427 # Base MSYS/MinGW do not provide the 'file' command needed by
5428 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5429 # unless we find 'file', for example because we are cross-compiling.
5430 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5431 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5432 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5433 lt_cv_file_magic_cmd='func_win32_libid'
5435 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5436 lt_cv_file_magic_cmd='$OBJDUMP -f'
5441 # use the weaker test based on 'objdump'. See mingw*.
5442 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5443 lt_cv_file_magic_cmd='$OBJDUMP -f'
5446 darwin* | rhapsody*)
5447 lt_cv_deplibs_check_method=pass_all
5450 freebsd* | dragonfly*)
5451 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5454 # Not sure whether the presence of OpenBSD here was a mistake.
5455 # Let's accept both of them until this is cleared up.
5456 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5457 lt_cv_file_magic_cmd=/usr/bin/file
5458 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5462 lt_cv_deplibs_check_method=pass_all
5467 lt_cv_deplibs_check_method=pass_all
5471 lt_cv_deplibs_check_method=pass_all
5474 hpux10.20* | hpux11*)
5475 lt_cv_file_magic_cmd=/usr/bin/file
5478 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5479 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5482 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]'
5483 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5486 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5487 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5493 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5494 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5497 irix5* | irix6* | nonstopux*)
5499 *-32|*"-32 ") libmagic=32-bit;;
5500 *-n32|*"-n32 ") libmagic=N32;;
5501 *-64|*"-64 ") libmagic=64-bit;;
5502 *) libmagic=never-match;;
5504 lt_cv_deplibs_check_method=pass_all
5507 # This must be Linux ELF.
5508 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5509 lt_cv_deplibs_check_method=pass_all
5513 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5514 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5516 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5521 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5522 lt_cv_file_magic_cmd=/usr/bin/file
5523 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5527 lt_cv_deplibs_check_method=pass_all
5531 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5532 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5534 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5538 osf3* | osf4* | osf5*)
5539 lt_cv_deplibs_check_method=pass_all
5543 lt_cv_deplibs_check_method=pass_all
5547 lt_cv_deplibs_check_method=pass_all
5550 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5551 lt_cv_deplibs_check_method=pass_all
5555 case $host_vendor in
5557 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]'
5558 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5561 lt_cv_deplibs_check_method=pass_all
5564 lt_cv_file_magic_cmd='/bin/file'
5565 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5568 lt_cv_file_magic_cmd='/bin/file'
5569 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5570 lt_cv_file_magic_test_file=/lib/libc.so
5573 lt_cv_deplibs_check_method=pass_all
5576 lt_cv_deplibs_check_method=pass_all
5582 lt_cv_deplibs_check_method=pass_all
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5588 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5589 file_magic_cmd=$lt_cv_file_magic_cmd
5590 deplibs_check_method=$lt_cv_deplibs_check_method
5591 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5604 if test -n "$ac_tool_prefix"; then
5605 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5606 set dummy ${ac_tool_prefix}ar; ac_word=$2
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5608 $as_echo_n "checking
for $ac_word...
" >&6; }
5609 if test "${ac_cv_prog_AR+set}" = set; then :
5610 $as_echo_n "(cached
) " >&6
5612 if test -n "$AR"; then
5613 ac_cv_prog_AR="$AR" # Let the user override the test.
5615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5619 test -z "$as_dir" && as_dir=.
5620 for ac_exec_ext in '' $ac_executable_extensions; do
5621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5622 ac_cv_prog_AR="${ac_tool_prefix}ar"
5623 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5633 if test -n "$AR"; then
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5635 $as_echo "$AR" >&6; }
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5638 $as_echo "no
" >&6; }
5643 if test -z "$ac_cv_prog_AR"; then
5645 # Extract the first word of "ar", so it can be a program name with args.
5646 set dummy ar; ac_word=$2
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5648 $as_echo_n "checking
for $ac_word...
" >&6; }
5649 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5650 $as_echo_n "(cached
) " >&6
5652 if test -n "$ac_ct_AR"; then
5653 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5659 test -z "$as_dir" && as_dir=.
5660 for ac_exec_ext in '' $ac_executable_extensions; do
5661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5662 ac_cv_prog_ac_ct_AR="ar"
5663 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5672 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5673 if test -n "$ac_ct_AR"; then
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5675 $as_echo "$ac_ct_AR" >&6; }
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5678 $as_echo "no
" >&6; }
5681 if test "x
$ac_ct_AR" = x; then
5684 case $cross_compiling:$ac_tool_warned in
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5687 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5688 ac_tool_warned=yes ;;
5696 test -z "$AR" && AR=ar
5697 test -z "$AR_FLAGS" && AR_FLAGS=cru
5709 if test -n "$ac_tool_prefix"; then
5710 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5711 set dummy ${ac_tool_prefix}strip; ac_word=$2
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5713 $as_echo_n "checking
for $ac_word...
" >&6; }
5714 if test "${ac_cv_prog_STRIP+set}" = set; then :
5715 $as_echo_n "(cached
) " >&6
5717 if test -n "$STRIP"; then
5718 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5724 test -z "$as_dir" && as_dir=.
5725 for ac_exec_ext in '' $ac_executable_extensions; do
5726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5727 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5728 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5737 STRIP=$ac_cv_prog_STRIP
5738 if test -n "$STRIP"; then
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5740 $as_echo "$STRIP" >&6; }
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5743 $as_echo "no
" >&6; }
5748 if test -z "$ac_cv_prog_STRIP"; then
5750 # Extract the first word of "strip
", so it can be a program name with args.
5751 set dummy strip; ac_word=$2
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5753 $as_echo_n "checking
for $ac_word...
" >&6; }
5754 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5755 $as_echo_n "(cached
) " >&6
5757 if test -n "$ac_ct_STRIP"; then
5758 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5764 test -z "$as_dir" && as_dir=.
5765 for ac_exec_ext in '' $ac_executable_extensions; do
5766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5767 ac_cv_prog_ac_ct_STRIP="strip
"
5768 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5777 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5778 if test -n "$ac_ct_STRIP"; then
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5780 $as_echo "$ac_ct_STRIP" >&6; }
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5783 $as_echo "no
" >&6; }
5786 if test "x
$ac_ct_STRIP" = x; then
5789 case $cross_compiling:$ac_tool_warned in
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5792 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5793 ac_tool_warned=yes ;;
5798 STRIP="$ac_cv_prog_STRIP"
5801 test -z "$STRIP" && STRIP=:
5808 if test -n "$ac_tool_prefix"; then
5809 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5810 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5812 $as_echo_n "checking
for $ac_word...
" >&6; }
5813 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5814 $as_echo_n "(cached
) " >&6
5816 if test -n "$RANLIB"; then
5817 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5823 test -z "$as_dir" && as_dir=.
5824 for ac_exec_ext in '' $ac_executable_extensions; do
5825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5826 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5827 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5836 RANLIB=$ac_cv_prog_RANLIB
5837 if test -n "$RANLIB"; then
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5839 $as_echo "$RANLIB" >&6; }
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5842 $as_echo "no
" >&6; }
5847 if test -z "$ac_cv_prog_RANLIB"; then
5848 ac_ct_RANLIB=$RANLIB
5849 # Extract the first word of "ranlib
", so it can be a program name with args.
5850 set dummy ranlib; ac_word=$2
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5852 $as_echo_n "checking
for $ac_word...
" >&6; }
5853 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5854 $as_echo_n "(cached
) " >&6
5856 if test -n "$ac_ct_RANLIB"; then
5857 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5863 test -z "$as_dir" && as_dir=.
5864 for ac_exec_ext in '' $ac_executable_extensions; do
5865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5866 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5867 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5876 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5877 if test -n "$ac_ct_RANLIB"; then
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5879 $as_echo "$ac_ct_RANLIB" >&6; }
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5882 $as_echo "no
" >&6; }
5885 if test "x
$ac_ct_RANLIB" = x; then
5888 case $cross_compiling:$ac_tool_warned in
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5891 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5892 ac_tool_warned=yes ;;
5894 RANLIB=$ac_ct_RANLIB
5897 RANLIB="$ac_cv_prog_RANLIB"
5900 test -z "$RANLIB" && RANLIB=:
5907 # Determine commands to create old-style static archives.
5908 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5909 old_postinstall_cmds='chmod 644 $oldlib'
5910 old_postuninstall_cmds=
5912 if test -n "$RANLIB"; then
5915 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5918 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5921 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5926 lock_old_archive_extraction=yes ;;
5928 lock_old_archive_extraction=no ;;
5969 # If no C compiler was specified, use CC.
5972 # If no C compiler flags were specified, use CFLAGS.
5973 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5975 # Allow CC to be a program name with arguments.
5979 # Check for command to grab the raw symbol name followed by C symbol from nm.
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5981 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5982 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5983 $as_echo_n "(cached
) " >&6
5986 # These are sane defaults that work on at least a few old systems.
5987 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5989 # Character class describing NM global symbol codes.
5990 symcode='[BCDEGRST]'
5992 # Regexp to match symbols that can be accessed directly from C.
5993 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5995 # Define system-specific variables.
6000 cygwin* | mingw* | pw32* | cegcc*)
6001 symcode='[ABCDGISTW]'
6004 if test "$host_cpu" = ia64; then
6005 symcode='[ABCDEGRST]'
6009 symcode='[BCDEGRST]'
6012 symcode='[BCDEGQRST]'
6023 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6031 # If we're using GNU nm, then use its standard symbol codes.
6032 case `$NM -V 2>&1` in
6033 *GNU* | *'with BFD'*)
6034 symcode='[ABCDGIRSTW]' ;;
6037 # Transform an extracted symbol line into a proper C declaration.
6038 # Some systems (esp. on ia64) link data and code symbols differently,
6039 # so use this general approach.
6040 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6042 # Transform an extracted symbol line into symbol name and symbol address
6043 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6044 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'"
6046 # Handle CRLF in mingw tool chain
6050 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6054 # Try without a prefix underscore, then with it.
6055 for ac_symprfx in "" "_
"; do
6057 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6058 symxfrm="\\1 $ac_symprfx\\2 \\2"
6060 # Write the raw and C identifiers.
6061 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6062 # Fake it for dumpbin and say T for any non-static function
6063 # and D for any global variable.
6064 # Also find C++ and __fastcall symbols from MSVC++,
6065 # which start with @ or ?.
6066 lt_cv_sys_global_symbol_pipe="$AWK '"\
6067 " {last_section=section; section=\$ 3};"\
6068 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6069 " \$ 0!~/External *\|/{next};"\
6070 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6071 " {if(hide[section]) next};"\
6072 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6073 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6074 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6075 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6076 " ' prfx
=^
$ac_symprfx"
6078 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6081 # Check to see that the pipe works correctly.
6085 cat > conftest.$ac_ext <<_LT_EOF
6090 void nm_test_func(void);
6091 void nm_test_func(void){}
6095 int main(){nm_test_var='a';nm_test_func();return(0);}
6098 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6099 (eval $ac_compile) 2>&5
6101 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6102 test $ac_status = 0; }; then
6103 # Now try to grab the symbols.
6105 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6106 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6108 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6109 test $ac_status = 0; } && test -s "$nlist"; then
6110 # Try sorting and uniquifying the output.
6111 if sort "$nlist" | uniq > "$nlist"T; then
6112 mv -f "$nlist"T "$nlist"
6117 # Make sure that we snagged all the symbols we need.
6118 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6119 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6120 cat <<_LT_EOF > conftest.$ac_ext
6126 # Now generate the symbol file.
6127 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6129 cat <<_LT_EOF >> conftest.$ac_ext
6131 /* The mapping between symbol names and symbols. */
6136 lt__PROGRAM__LTX_preloaded_symbols[] =
6138 { "@PROGRAM@
", (void *) 0 },
6140 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6141 cat <<\_LT_EOF >> conftest.$ac_ext
6145 /* This works around a problem in FreeBSD linker */
6146 #ifdef FREEBSD_WORKAROUND
6147 static const void *lt_preloaded_setup() {
6148 return lt__PROGRAM__LTX_preloaded_symbols;
6156 # Now try linking the two files.
6157 mv conftest.$ac_objext conftstm.$ac_objext
6158 lt_save_LIBS="$LIBS"
6159 lt_save_CFLAGS="$CFLAGS"
6160 LIBS="conftstm.
$ac_objext"
6161 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6162 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6163 (eval $ac_link) 2>&5
6165 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6166 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6169 LIBS="$lt_save_LIBS"
6170 CFLAGS="$lt_save_CFLAGS"
6172 echo "cannot
find nm_test_func
in $nlist" >&5
6175 echo "cannot
find nm_test_var
in $nlist" >&5
6178 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6181 echo "$progname: failed program was
:" >&5
6182 cat conftest.$ac_ext >&5
6184 rm -rf conftest* conftst*
6186 # Do not use the global_symbol_pipe unless it works.
6187 if test "$pipe_works" = yes; then
6190 lt_cv_sys_global_symbol_pipe=
6196 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6197 lt_cv_sys_global_symbol_to_cdecl=
6199 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6201 $as_echo "failed
" >&6; }
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6204 $as_echo "ok
" >&6; }
6228 # Check whether --enable-libtool-lock was given.
6229 if test "${enable_libtool_lock+set}" = set; then :
6230 enableval=$enable_libtool_lock;
6233 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6235 # Some flags need to be propagated to the compiler or linker for good
6239 # Find out which ABI we are using.
6240 echo 'int i;' > conftest.$ac_ext
6241 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6242 (eval $ac_compile) 2>&5
6244 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6245 test $ac_status = 0; }; then
6246 case `/usr/bin/file conftest.$ac_objext` in
6258 # Find out which ABI we are using.
6259 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6260 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6261 (eval $ac_compile) 2>&5
6263 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6264 test $ac_status = 0; }; then
6265 if test "$lt_cv_prog_gnu_ld" = yes; then
6266 case `/usr/bin/file conftest.$ac_objext` in
6268 LD="${LD-ld} -melf32bsmip"
6271 LD="${LD-ld} -melf32bmipn32"
6274 LD="${LD-ld} -melf64bmip"
6278 case `/usr/bin/file conftest.$ac_objext` in
6294 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6295 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6296 # Find out which ABI we are using.
6297 echo 'int i;' > conftest.$ac_ext
6298 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6299 (eval $ac_compile) 2>&5
6301 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6302 test $ac_status = 0; }; then
6303 case `/usr/bin/file conftest.o` in
6306 x86_64-*kfreebsd*-gnu)
6307 LD="${LD-ld} -m elf_i386_fbsd
"
6310 case `/usr/bin/file conftest.o` in
6312 LD="${LD-ld} -m elf32_x86_64
"
6315 LD="${LD-ld} -m elf_i386
"
6319 powerpc64le-*linux*)
6320 LD="${LD-ld} -m elf32lppclinux
"
6323 LD="${LD-ld} -m elf32ppclinux
"
6326 LD="${LD-ld} -m elf_s390
"
6329 LD="${LD-ld} -m elf32_sparc
"
6335 x86_64-*kfreebsd*-gnu)
6336 LD="${LD-ld} -m elf_x86_64_fbsd
"
6339 LD="${LD-ld} -m elf_x86_64
"
6342 LD="${LD-ld} -m elf64lppc
"
6345 LD="${LD-ld} -m elf64ppc
"
6347 s390*-*linux*|s390*-*tpf*)
6348 LD="${LD-ld} -m elf64_s390
"
6351 LD="${LD-ld} -m elf64_sparc
"
6361 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6362 SAVE_CFLAGS="$CFLAGS"
6363 CFLAGS="$CFLAGS -belf"
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6365 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6366 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6367 $as_echo_n "(cached
) " >&6
6370 ac_cpp='$CPP $CPPFLAGS'
6371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6376 /* end confdefs.h. */
6386 if ac_fn_c_try_link "$LINENO"; then :
6387 lt_cv_cc_needs_belf=yes
6389 lt_cv_cc_needs_belf=no
6391 rm -f core conftest.err conftest.$ac_objext \
6392 conftest$ac_exeext conftest.$ac_ext
6394 ac_cpp='$CPP $CPPFLAGS'
6395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6401 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6402 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6403 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6404 CFLAGS="$SAVE_CFLAGS"
6408 # Find out which ABI we are using.
6409 echo 'int i;' > conftest.$ac_ext
6410 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6411 (eval $ac_compile) 2>&5
6413 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6414 test $ac_status = 0; }; then
6415 case `/usr/bin/file conftest.o` in
6417 case $lt_cv_prog_gnu_ld in
6418 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6420 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6432 need_locks="$enable_libtool_lock"
6436 rhapsody* | darwin*)
6437 if test -n "$ac_tool_prefix"; then
6438 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6439 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6441 $as_echo_n "checking
for $ac_word...
" >&6; }
6442 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6443 $as_echo_n "(cached
) " >&6
6445 if test -n "$DSYMUTIL"; then
6446 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6452 test -z "$as_dir" && as_dir=.
6453 for ac_exec_ext in '' $ac_executable_extensions; do
6454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6455 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6456 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6465 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6466 if test -n "$DSYMUTIL"; then
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6468 $as_echo "$DSYMUTIL" >&6; }
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6471 $as_echo "no
" >&6; }
6476 if test -z "$ac_cv_prog_DSYMUTIL"; then
6477 ac_ct_DSYMUTIL=$DSYMUTIL
6478 # Extract the first word of "dsymutil
", so it can be a program name with args.
6479 set dummy dsymutil; ac_word=$2
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6481 $as_echo_n "checking
for $ac_word...
" >&6; }
6482 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6483 $as_echo_n "(cached
) " >&6
6485 if test -n "$ac_ct_DSYMUTIL"; then
6486 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6492 test -z "$as_dir" && as_dir=.
6493 for ac_exec_ext in '' $ac_executable_extensions; do
6494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6495 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6496 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6505 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6506 if test -n "$ac_ct_DSYMUTIL"; then
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6508 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6511 $as_echo "no
" >&6; }
6514 if test "x
$ac_ct_DSYMUTIL" = x; then
6517 case $cross_compiling:$ac_tool_warned in
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6520 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6521 ac_tool_warned=yes ;;
6523 DSYMUTIL=$ac_ct_DSYMUTIL
6526 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6529 if test -n "$ac_tool_prefix"; then
6530 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6531 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6533 $as_echo_n "checking
for $ac_word...
" >&6; }
6534 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6535 $as_echo_n "(cached
) " >&6
6537 if test -n "$NMEDIT"; then
6538 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6544 test -z "$as_dir" && as_dir=.
6545 for ac_exec_ext in '' $ac_executable_extensions; do
6546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6547 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6548 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6557 NMEDIT=$ac_cv_prog_NMEDIT
6558 if test -n "$NMEDIT"; then
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6560 $as_echo "$NMEDIT" >&6; }
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6563 $as_echo "no
" >&6; }
6568 if test -z "$ac_cv_prog_NMEDIT"; then
6569 ac_ct_NMEDIT=$NMEDIT
6570 # Extract the first word of "nmedit
", so it can be a program name with args.
6571 set dummy nmedit; ac_word=$2
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6573 $as_echo_n "checking
for $ac_word...
" >&6; }
6574 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6575 $as_echo_n "(cached
) " >&6
6577 if test -n "$ac_ct_NMEDIT"; then
6578 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6584 test -z "$as_dir" && as_dir=.
6585 for ac_exec_ext in '' $ac_executable_extensions; do
6586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6587 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6588 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6597 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6598 if test -n "$ac_ct_NMEDIT"; then
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6600 $as_echo "$ac_ct_NMEDIT" >&6; }
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6603 $as_echo "no
" >&6; }
6606 if test "x
$ac_ct_NMEDIT" = x; then
6609 case $cross_compiling:$ac_tool_warned in
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6612 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6613 ac_tool_warned=yes ;;
6615 NMEDIT=$ac_ct_NMEDIT
6618 NMEDIT="$ac_cv_prog_NMEDIT"
6621 if test -n "$ac_tool_prefix"; then
6622 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6623 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6625 $as_echo_n "checking
for $ac_word...
" >&6; }
6626 if test "${ac_cv_prog_LIPO+set}" = set; then :
6627 $as_echo_n "(cached
) " >&6
6629 if test -n "$LIPO"; then
6630 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6636 test -z "$as_dir" && as_dir=.
6637 for ac_exec_ext in '' $ac_executable_extensions; do
6638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6639 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6640 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6649 LIPO=$ac_cv_prog_LIPO
6650 if test -n "$LIPO"; then
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6652 $as_echo "$LIPO" >&6; }
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6655 $as_echo "no
" >&6; }
6660 if test -z "$ac_cv_prog_LIPO"; then
6662 # Extract the first word of "lipo
", so it can be a program name with args.
6663 set dummy lipo; ac_word=$2
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6665 $as_echo_n "checking
for $ac_word...
" >&6; }
6666 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6667 $as_echo_n "(cached
) " >&6
6669 if test -n "$ac_ct_LIPO"; then
6670 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6676 test -z "$as_dir" && as_dir=.
6677 for ac_exec_ext in '' $ac_executable_extensions; do
6678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6679 ac_cv_prog_ac_ct_LIPO="lipo
"
6680 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6689 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6690 if test -n "$ac_ct_LIPO"; then
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6692 $as_echo "$ac_ct_LIPO" >&6; }
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6695 $as_echo "no
" >&6; }
6698 if test "x
$ac_ct_LIPO" = x; then
6701 case $cross_compiling:$ac_tool_warned in
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6704 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6705 ac_tool_warned=yes ;;
6710 LIPO="$ac_cv_prog_LIPO"
6713 if test -n "$ac_tool_prefix"; then
6714 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6715 set dummy ${ac_tool_prefix}otool; ac_word=$2
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6717 $as_echo_n "checking
for $ac_word...
" >&6; }
6718 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6719 $as_echo_n "(cached
) " >&6
6721 if test -n "$OTOOL"; then
6722 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6728 test -z "$as_dir" && as_dir=.
6729 for ac_exec_ext in '' $ac_executable_extensions; do
6730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6731 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6732 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6741 OTOOL=$ac_cv_prog_OTOOL
6742 if test -n "$OTOOL"; then
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6744 $as_echo "$OTOOL" >&6; }
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6747 $as_echo "no
" >&6; }
6752 if test -z "$ac_cv_prog_OTOOL"; then
6754 # Extract the first word of "otool
", so it can be a program name with args.
6755 set dummy otool; ac_word=$2
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6757 $as_echo_n "checking
for $ac_word...
" >&6; }
6758 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6759 $as_echo_n "(cached
) " >&6
6761 if test -n "$ac_ct_OTOOL"; then
6762 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6768 test -z "$as_dir" && as_dir=.
6769 for ac_exec_ext in '' $ac_executable_extensions; do
6770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6771 ac_cv_prog_ac_ct_OTOOL="otool
"
6772 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6781 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6782 if test -n "$ac_ct_OTOOL"; then
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6784 $as_echo "$ac_ct_OTOOL" >&6; }
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6787 $as_echo "no
" >&6; }
6790 if test "x
$ac_ct_OTOOL" = x; then
6793 case $cross_compiling:$ac_tool_warned in
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6796 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6797 ac_tool_warned=yes ;;
6802 OTOOL="$ac_cv_prog_OTOOL"
6805 if test -n "$ac_tool_prefix"; then
6806 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6807 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6809 $as_echo_n "checking
for $ac_word...
" >&6; }
6810 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6811 $as_echo_n "(cached
) " >&6
6813 if test -n "$OTOOL64"; then
6814 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6820 test -z "$as_dir" && as_dir=.
6821 for ac_exec_ext in '' $ac_executable_extensions; do
6822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6823 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6824 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6833 OTOOL64=$ac_cv_prog_OTOOL64
6834 if test -n "$OTOOL64"; then
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6836 $as_echo "$OTOOL64" >&6; }
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6839 $as_echo "no
" >&6; }
6844 if test -z "$ac_cv_prog_OTOOL64"; then
6845 ac_ct_OTOOL64=$OTOOL64
6846 # Extract the first word of "otool64
", so it can be a program name with args.
6847 set dummy otool64; ac_word=$2
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6849 $as_echo_n "checking
for $ac_word...
" >&6; }
6850 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6851 $as_echo_n "(cached
) " >&6
6853 if test -n "$ac_ct_OTOOL64"; then
6854 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6860 test -z "$as_dir" && as_dir=.
6861 for ac_exec_ext in '' $ac_executable_extensions; do
6862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6863 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6864 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6873 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6874 if test -n "$ac_ct_OTOOL64"; then
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
6876 $as_echo "$ac_ct_OTOOL64" >&6; }
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6879 $as_echo "no
" >&6; }
6882 if test "x
$ac_ct_OTOOL64" = x; then
6885 case $cross_compiling:$ac_tool_warned in
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6888 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6889 ac_tool_warned=yes ;;
6891 OTOOL64=$ac_ct_OTOOL64
6894 OTOOL64="$ac_cv_prog_OTOOL64"
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
6924 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6925 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6926 $as_echo_n "(cached
) " >&6
6928 lt_cv_apple_cc_single_mod=no
6929 if test -z "${LT_MULTI_MODULE}"; then
6930 # By default we will add the -single_module flag. You can override
6931 # by either setting the environment variable LT_MULTI_MODULE
6932 # non-empty at configure time, or by adding -multi_module to the
6934 rm -rf libconftest.dylib*
6935 echo "int foo
(void
){return 1;}" > conftest.c
6936 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6937 -dynamiclib -Wl,-single_module conftest.c
" >&5
6938 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6939 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6941 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6942 lt_cv_apple_cc_single_mod=yes
6944 cat conftest.err >&5
6946 rm -rf libconftest.dylib*
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
6951 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
6953 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6954 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6955 $as_echo_n "(cached
) " >&6
6957 lt_cv_ld_exported_symbols_list=no
6958 save_LDFLAGS=$LDFLAGS
6959 echo "_main
" > conftest.sym
6960 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6962 /* end confdefs.h. */
6972 if ac_fn_c_try_link "$LINENO"; then :
6973 lt_cv_ld_exported_symbols_list=yes
6975 lt_cv_ld_exported_symbols_list=no
6977 rm -f core conftest.err conftest.$ac_objext \
6978 conftest$ac_exeext conftest.$ac_ext
6979 LDFLAGS="$save_LDFLAGS"
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
6983 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
6985 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
6986 if test "${lt_cv_ld_force_load+set}" = set; then :
6987 $as_echo_n "(cached
) " >&6
6989 lt_cv_ld_force_load=no
6990 cat > conftest.c << _LT_EOF
6991 int forced_loaded() { return 2;}
6993 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
6994 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6995 echo "$AR cru libconftest.a conftest.o
" >&5
6996 $AR cru libconftest.a conftest.o 2>&5
6997 cat > conftest.c << _LT_EOF
6998 int main() { return 0;}
7000 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7001 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7003 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7004 lt_cv_ld_force_load=yes
7006 cat conftest.err >&5
7008 rm -f conftest.err libconftest.a conftest conftest.c
7009 rm -rf conftest.dSYM
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7013 $as_echo "$lt_cv_ld_force_load" >&6; }
7015 rhapsody* | darwin1.[012])
7016 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7018 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7019 darwin*) # darwin 5.x on
7020 # if running on 10.5 or later, the deployment target defaults
7021 # to the OS version, if on x86, and 10.4, the deployment
7022 # target defaults to 10.4. Don't you love it?
7023 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7024 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7025 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7027 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7029 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7033 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7034 _lt_dar_single_mod='$single_module'
7036 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7037 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7039 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7041 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7042 _lt_dsymutil='~$DSYMUTIL $lib || :'
7049 for ac_header in dlfcn.h
7051 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7053 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
7054 cat >>confdefs.h <<_ACEOF
7055 #define HAVE_DLFCN_H 1
7067 # Check whether --enable-static was given.
7068 if test "${enable_static+set}" = set; then :
7069 enableval=$enable_static; p=${PACKAGE-default}
7071 yes) enable_static=yes ;;
7072 no) enable_static=no ;;
7075 # Look at the argument we got. We use all the common list separators.
7076 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7077 for pkg in $enableval; do
7079 if test "X
$pkg" = "X
$p"; then
7105 # Check whether --enable-shared was given.
7106 if test "${enable_shared+set}" = set; then :
7107 enableval=$enable_shared; p=${PACKAGE-default}
7109 yes) enable_shared=yes ;;
7110 no) enable_shared=no ;;
7113 # Look at the argument we got. We use all the common list separators.
7114 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7115 for pkg in $enableval; do
7117 if test "X
$pkg" = "X
$p"; then
7138 # Check whether --with-pic was given.
7139 if test "${with_pic+set}" = set; then :
7140 withval=$with_pic; pic_mode="$withval"
7146 test -z "$pic_mode" && pic_mode=default
7154 # Check whether --enable-fast-install was given.
7155 if test "${enable_fast_install+set}" = set; then :
7156 enableval=$enable_fast_install; p=${PACKAGE-default}
7158 yes) enable_fast_install=yes ;;
7159 no) enable_fast_install=no ;;
7161 enable_fast_install=no
7162 # Look at the argument we got. We use all the common list separators.
7163 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7164 for pkg in $enableval; do
7166 if test "X
$pkg" = "X
$p"; then
7167 enable_fast_install=yes
7174 enable_fast_install=yes
7187 # This can be used to rebuild libtool when needed
7188 LIBTOOL_DEPS="$ltmain"
7190 # Always use our own libtool.
7191 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7218 test -z "$LN_S" && LN_S="ln -s"
7233 if test -n "${ZSH_VERSION+set}" ; then
7234 setopt NO_GLOB_SUBST
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7238 $as_echo_n "checking
for objdir...
" >&6; }
7239 if test "${lt_cv_objdir+set}" = set; then :
7240 $as_echo_n "(cached
) " >&6
7242 rm -f .libs 2>/dev/null
7243 mkdir .libs 2>/dev/null
7244 if test -d .libs; then
7247 # MS-DOS does not allow filenames that begin with a dot.
7250 rmdir .libs 2>/dev/null
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7253 $as_echo "$lt_cv_objdir" >&6; }
7254 objdir=$lt_cv_objdir
7260 cat >>confdefs.h <<_ACEOF
7261 #define LT_OBJDIR "$lt_cv_objdir/"
7269 # AIX sometimes has problems with the GCC collect2 program. For some
7270 # reason, if we set the COLLECT_NAMES environment variable, the problems
7271 # vanish in a puff of smoke.
7272 if test "X
${COLLECT_NAMES+set}" != Xset; then
7274 export COLLECT_NAMES
7281 can_build_shared=yes
7283 # All known linkers require a `.a' archive for static linking (except MSVC,
7284 # which needs '.lib').
7287 with_gnu_ld="$lt_cv_prog_gnu_ld"
7290 old_CFLAGS="$CFLAGS"
7292 # Set sane defaults for various variables
7293 test -z "$CC" && CC=cc
7294 test -z "$LTCC" && LTCC=$CC
7295 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7296 test -z "$LD" && LD=ld
7297 test -z "$ac_objext" && ac_objext=o
7299 for cc_temp in $compiler""; do
7301 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7302 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7307 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7310 # Only perform the check for file, if the check method requires it
7311 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7312 case $deplibs_check_method in
7314 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
7316 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
7317 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7318 $as_echo_n "(cached
) " >&6
7322 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7325 lt_save_MAGIC_CMD="$MAGIC_CMD"
7326 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7327 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7328 for ac_dir in $ac_dummy; do
7330 test -z "$ac_dir" && ac_dir=.
7331 if test -f $ac_dir/${ac_tool_prefix}file; then
7332 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7333 if test -n "$file_magic_test_file"; then
7334 case $deplibs_check_method in
7336 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7337 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7338 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7339 $EGREP "$file_magic_regex" > /dev/null; then
7344 *** Warning: the command libtool uses to detect shared libraries,
7345 *** $file_magic_cmd, produces output that libtool cannot recognize.
7346 *** The result is that libtool may fail to recognize shared libraries
7347 *** as such. This will affect the creation of libtool libraries that
7348 *** depend on shared libraries, but programs linked with such libtool
7349 *** libraries will work regardless of this problem. Nevertheless, you
7350 *** may want to report the problem to your system manager and/or to
7351 *** bug-libtool@gnu.org
7361 MAGIC_CMD="$lt_save_MAGIC_CMD"
7366 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7367 if test -n "$MAGIC_CMD"; then
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7369 $as_echo "$MAGIC_CMD" >&6; }
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7372 $as_echo "no
" >&6; }
7379 if test -z "$lt_cv_path_MAGIC_CMD"; then
7380 if test -n "$ac_tool_prefix"; then
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
7382 $as_echo_n "checking
for file...
" >&6; }
7383 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7384 $as_echo_n "(cached
) " >&6
7388 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7391 lt_save_MAGIC_CMD="$MAGIC_CMD"
7392 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7393 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7394 for ac_dir in $ac_dummy; do
7396 test -z "$ac_dir" && ac_dir=.
7397 if test -f $ac_dir/file; then
7398 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7399 if test -n "$file_magic_test_file"; then
7400 case $deplibs_check_method in
7402 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7403 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7404 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7405 $EGREP "$file_magic_regex" > /dev/null; then
7410 *** Warning: the command libtool uses to detect shared libraries,
7411 *** $file_magic_cmd, produces output that libtool cannot recognize.
7412 *** The result is that libtool may fail to recognize shared libraries
7413 *** as such. This will affect the creation of libtool libraries that
7414 *** depend on shared libraries, but programs linked with such libtool
7415 *** libraries will work regardless of this problem. Nevertheless, you
7416 *** may want to report the problem to your system manager and/or to
7417 *** bug-libtool@gnu.org
7427 MAGIC_CMD="$lt_save_MAGIC_CMD"
7432 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7433 if test -n "$MAGIC_CMD"; then
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7435 $as_echo "$MAGIC_CMD" >&6; }
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7438 $as_echo "no
" >&6; }
7451 # Use C for the default configuration in the libtool script
7455 ac_cpp='$CPP $CPPFLAGS'
7456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7461 # Source file extension for C test sources.
7464 # Object file extension for compiled C test sources.
7468 # Code to be used in simple compile tests
7469 lt_simple_compile_test_code="int some_variable
= 0;"
7471 # Code to be used in simple link tests
7472 lt_simple_link_test_code='int main(){return(0);}'
7480 # If no C compiler was specified, use CC.
7483 # If no C compiler flags were specified, use CFLAGS.
7484 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7486 # Allow CC to be a program name with arguments.
7489 # Save the default compiler, since it gets overwritten when the other
7490 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7491 compiler_DEFAULT=$CC
7493 # save warnings/boilerplate of simple test code
7494 ac_outfile=conftest.$ac_objext
7495 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7496 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7497 _lt_compiler_boilerplate=`cat conftest.err`
7500 ac_outfile=conftest.$ac_objext
7501 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7502 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7503 _lt_linker_boilerplate=`cat conftest.err`
7508 ## There is no encapsulation within the following macros, do not change
7509 ## the running order or otherwise move them around unless you know exactly
7510 ## what you are doing...
7511 if test -n "$compiler"; then
7513 lt_prog_compiler_no_builtin_flag=
7515 if test "$GCC" = yes; then
7516 case $cc_basename in
7518 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7520 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
7524 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
7525 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7526 $as_echo_n "(cached
) " >&6
7528 lt_cv_prog_compiler_rtti_exceptions=no
7529 ac_outfile=conftest.$ac_objext
7530 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7531 lt_compiler_flag="-fno-rtti -fno-exceptions"
7532 # Insert the option either (1) after the last *FLAGS variable, or
7533 # (2) before a word containing "conftest.
", or (3) at the end.
7534 # Note that $ac_compile itself does not contain backslashes and begins
7535 # with a dollar sign (not a hyphen), so the echo should work correctly.
7536 # The option is referenced via a variable to avoid confusing sed.
7537 lt_compile=`echo "$ac_compile" | $SED \
7538 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7539 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7540 -e 's:$: $lt_compiler_flag:'`
7541 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
7542 (eval "$lt_compile" 2>conftest.err)
7544 cat conftest.err >&5
7545 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7546 if (exit $ac_status) && test -s "$ac_outfile"; then
7547 # The compiler can only warn and ignore the option if not recognized
7548 # So say no if there are warnings other than the usual output.
7549 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7550 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7551 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7552 lt_cv_prog_compiler_rtti_exceptions=yes
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
7559 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7561 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7562 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7574 lt_prog_compiler_wl=
7575 lt_prog_compiler_pic=
7576 lt_prog_compiler_static=
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
7579 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
7581 if test "$GCC" = yes; then
7582 lt_prog_compiler_wl='-Wl,'
7583 lt_prog_compiler_static='-static'
7587 # All AIX code is PIC.
7588 if test "$host_cpu" = ia64; then
7589 # AIX 5 now supports IA64 processor
7590 lt_prog_compiler_static='-Bstatic'
7592 lt_prog_compiler_pic='-fPIC'
7598 # see comment about AmigaOS4 .so support
7599 lt_prog_compiler_pic='-fPIC'
7602 # FIXME: we need at least 68020 code to build shared libraries, but
7603 # adding the `-m68020' flag to GCC prevents building anything better,
7605 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7610 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7611 # PIC is the default for these OSes.
7614 mingw* | cygwin* | pw32* | os2* | cegcc*)
7615 # This hack is so that the source file can tell whether it is being
7616 # built for inclusion in a dll (and should export symbols for example).
7617 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7618 # (--disable-auto-import) libraries
7619 lt_prog_compiler_pic='-DDLL_EXPORT'
7622 darwin* | rhapsody*)
7623 # PIC is the default on this platform
7624 # Common symbols not allowed in MH_DYLIB files
7625 lt_prog_compiler_pic='-fno-common'
7629 # PIC is the default for Haiku.
7630 # The "-static" flag exists, but is broken.
7631 lt_prog_compiler_static=
7635 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7636 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7637 # sets the default TLS model and affects inlining.
7643 lt_prog_compiler_pic='-fPIC'
7649 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7650 # Instead, we relocate shared libraries at runtime.
7654 # Just because we use GCC doesn't mean we suddenly get shared libraries
7655 # on systems that don't support them.
7656 lt_prog_compiler_can_build_shared=no
7661 # QNX uses GNU C++, but need to define -shared option too, otherwise
7663 lt_prog_compiler_pic='-fPIC -shared'
7667 if test -d /usr/nec; then
7668 lt_prog_compiler_pic=-Kconform_pic
7673 lt_prog_compiler_pic='-fPIC'
7677 case $cc_basename in
7678 nvcc*) # Cuda Compiler Driver 2.2
7679 lt_prog_compiler_wl='-Xlinker '
7680 lt_prog_compiler_pic='-Xcompiler -fPIC'
7684 # PORTME Check for flag to pass linker flags through the system compiler.
7687 lt_prog_compiler_wl='-Wl,'
7688 if test "$host_cpu" = ia64; then
7689 # AIX 5 now supports IA64 processor
7690 lt_prog_compiler_static='-Bstatic'
7692 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7696 mingw* | cygwin* | pw32* | os2* | cegcc*)
7697 # This hack is so that the source file can tell whether it is being
7698 # built for inclusion in a dll (and should export symbols for example).
7699 lt_prog_compiler_pic='-DDLL_EXPORT'
7702 hpux9* | hpux10* | hpux11*)
7703 lt_prog_compiler_wl='-Wl,'
7704 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7711 lt_prog_compiler_pic='+Z'
7714 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7715 lt_prog_compiler_static='${wl}-a ${wl}archive'
7718 irix5* | irix6* | nonstopux*)
7719 lt_prog_compiler_wl='-Wl,'
7720 # PIC (with -KPIC) is the default.
7721 lt_prog_compiler_static='-non_shared'
7724 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7725 case $cc_basename in
7726 # old Intel for x86_64 which still supported -KPIC.
7728 lt_prog_compiler_wl='-Wl,'
7729 lt_prog_compiler_pic='-KPIC'
7730 lt_prog_compiler_static='-static'
7732 # icc used to be incompatible with GCC.
7733 # ICC 10 doesn't accept -KPIC any more.
7735 lt_prog_compiler_wl='-Wl,'
7736 lt_prog_compiler_pic='-fPIC'
7737 lt_prog_compiler_static='-static'
7739 # Lahey Fortran 8.1.
7741 lt_prog_compiler_wl='-Wl,'
7742 lt_prog_compiler_pic='--shared'
7743 lt_prog_compiler_static='--static'
7745 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7746 # Portland Group compilers (*not* the Pentium gcc compiler,
7747 # which looks to be a dead project)
7748 lt_prog_compiler_wl='-Wl,'
7749 lt_prog_compiler_pic='-fpic'
7750 lt_prog_compiler_static='-Bstatic'
7753 lt_prog_compiler_wl='-Wl,'
7754 # All Alpha code is PIC.
7755 lt_prog_compiler_static='-non_shared'
7757 xl* | bgxl* | bgf* | mpixl*)
7758 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7759 lt_prog_compiler_wl='-Wl,'
7760 lt_prog_compiler_pic='-qpic'
7761 lt_prog_compiler_static='-qstaticlink'
7764 case `$CC -V 2>&1 | sed 5q` in
7765 *Sun\ F* | *Sun*Fortran*)
7766 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7767 lt_prog_compiler_pic='-KPIC'
7768 lt_prog_compiler_static='-Bstatic'
7769 lt_prog_compiler_wl=''
7773 lt_prog_compiler_pic='-KPIC'
7774 lt_prog_compiler_static='-Bstatic'
7775 lt_prog_compiler_wl='-Wl,'
7783 lt_prog_compiler_pic='-KPIC'
7784 lt_prog_compiler_static='-Bstatic'
7788 # QNX uses GNU C++, but need to define -shared option too, otherwise
7790 lt_prog_compiler_pic='-fPIC -shared'
7793 osf3* | osf4* | osf5*)
7794 lt_prog_compiler_wl='-Wl,'
7795 # All OSF/1 code is PIC.
7796 lt_prog_compiler_static='-non_shared'
7800 lt_prog_compiler_static='-non_shared'
7804 lt_prog_compiler_pic='-KPIC'
7805 lt_prog_compiler_static='-Bstatic'
7806 case $cc_basename in
7808 lt_prog_compiler_wl='-Qoption ld ';;
7810 lt_prog_compiler_wl='-Wl,';;
7815 lt_prog_compiler_wl='-Qoption ld '
7816 lt_prog_compiler_pic='-PIC'
7817 lt_prog_compiler_static='-Bstatic'
7820 sysv4 | sysv4.2uw2* | sysv4.3*)
7821 lt_prog_compiler_wl='-Wl,'
7822 lt_prog_compiler_pic='-KPIC'
7823 lt_prog_compiler_static='-Bstatic'
7827 if test -d /usr/nec ;then
7828 lt_prog_compiler_pic='-Kconform_pic'
7829 lt_prog_compiler_static='-Bstatic'
7833 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7834 lt_prog_compiler_wl='-Wl,'
7835 lt_prog_compiler_pic='-KPIC'
7836 lt_prog_compiler_static='-Bstatic'
7840 lt_prog_compiler_wl='-Wl,'
7841 lt_prog_compiler_can_build_shared=no
7845 lt_prog_compiler_pic='-pic'
7846 lt_prog_compiler_static='-Bstatic'
7850 lt_prog_compiler_can_build_shared=no
7856 # For platforms which do not support PIC, -DPIC is meaningless:
7858 lt_prog_compiler_pic=
7861 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
7865 $as_echo "$lt_prog_compiler_pic" >&6; }
7873 # Check to make sure the PIC flag actually works.
7875 if test -n "$lt_prog_compiler_pic"; then
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
7877 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
7878 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7879 $as_echo_n "(cached
) " >&6
7881 lt_cv_prog_compiler_pic_works=no
7882 ac_outfile=conftest.$ac_objext
7883 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7884 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7885 # Insert the option either (1) after the last *FLAGS variable, or
7886 # (2) before a word containing "conftest.
", or (3) at the end.
7887 # Note that $ac_compile itself does not contain backslashes and begins
7888 # with a dollar sign (not a hyphen), so the echo should work correctly.
7889 # The option is referenced via a variable to avoid confusing sed.
7890 lt_compile=`echo "$ac_compile" | $SED \
7891 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7892 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7893 -e 's:$: $lt_compiler_flag:'`
7894 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
7895 (eval "$lt_compile" 2>conftest.err)
7897 cat conftest.err >&5
7898 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7899 if (exit $ac_status) && test -s "$ac_outfile"; then
7900 # The compiler can only warn and ignore the option if not recognized
7901 # So say no if there are warnings other than the usual output.
7902 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7903 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7904 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7905 lt_cv_prog_compiler_pic_works=yes
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
7912 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7914 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7915 case $lt_prog_compiler_pic in
7917 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7920 lt_prog_compiler_pic=
7921 lt_prog_compiler_can_build_shared=no
7932 # Check to make sure the static flag actually works.
7934 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
7936 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
7937 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7938 $as_echo_n "(cached
) " >&6
7940 lt_cv_prog_compiler_static_works=no
7941 save_LDFLAGS="$LDFLAGS"
7942 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7943 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7944 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7945 # The linker can only warn and ignore the option if not recognized
7946 # So say no if there are warnings
7947 if test -s conftest.err; then
7948 # Append any errors to the config.log.
7949 cat conftest.err 1>&5
7950 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
7951 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7952 if diff conftest.exp conftest.er2 >/dev/null; then
7953 lt_cv_prog_compiler_static_works=yes
7956 lt_cv_prog_compiler_static_works=yes
7960 LDFLAGS="$save_LDFLAGS"
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
7964 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7966 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7969 lt_prog_compiler_static=
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
7979 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
7980 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7981 $as_echo_n "(cached
) " >&6
7983 lt_cv_prog_compiler_c_o=no
7984 $RM -r conftest 2>/dev/null
7988 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7990 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
7991 # Insert the option either (1) after the last *FLAGS variable, or
7992 # (2) before a word containing "conftest.
", or (3) at the end.
7993 # Note that $ac_compile itself does not contain backslashes and begins
7994 # with a dollar sign (not a hyphen), so the echo should work correctly.
7995 lt_compile=`echo "$ac_compile" | $SED \
7996 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7997 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7998 -e 's:$: $lt_compiler_flag:'`
7999 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8000 (eval "$lt_compile" 2>out/conftest.err)
8002 cat out/conftest.err >&5
8003 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8004 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8006 # The compiler can only warn and ignore the option if not recognized
8007 # So say no if there are warnings
8008 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8009 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8010 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8011 lt_cv_prog_compiler_c_o=yes
8016 # SGI C++ compiler will create directory out/ii_files/ for
8017 # template instantiation
8018 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8019 $RM out/* && rmdir out
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8026 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8034 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8035 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8036 $as_echo_n "(cached
) " >&6
8038 lt_cv_prog_compiler_c_o=no
8039 $RM -r conftest 2>/dev/null
8043 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8045 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8046 # Insert the option either (1) after the last *FLAGS variable, or
8047 # (2) before a word containing "conftest.
", or (3) at the end.
8048 # Note that $ac_compile itself does not contain backslashes and begins
8049 # with a dollar sign (not a hyphen), so the echo should work correctly.
8050 lt_compile=`echo "$ac_compile" | $SED \
8051 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8052 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8053 -e 's:$: $lt_compiler_flag:'`
8054 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8055 (eval "$lt_compile" 2>out/conftest.err)
8057 cat out/conftest.err >&5
8058 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8059 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8061 # The compiler can only warn and ignore the option if not recognized
8062 # So say no if there are warnings
8063 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8064 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8065 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8066 lt_cv_prog_compiler_c_o=yes
8071 # SGI C++ compiler will create directory out/ii_files/ for
8072 # template instantiation
8073 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8074 $RM out/* && rmdir out
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8081 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8086 hard_links="nottested
"
8087 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8088 # do not overwrite the value of need_locks provided by the user
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
8090 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
8093 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8095 ln conftest.a conftest.b 2>&5 || hard_links=no
8096 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
8098 $as_echo "$hard_links" >&6; }
8099 if test "$hard_links" = no; then
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8101 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
8114 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
8117 allow_undefined_flag=
8118 always_export_symbols=no
8120 archive_expsym_cmds=
8121 compiler_needs_object=no
8122 enable_shared_with_static_runtimes=no
8123 export_dynamic_flag_spec=
8124 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8125 hardcode_automatic=no
8127 hardcode_direct_absolute=no
8128 hardcode_libdir_flag_spec=
8129 hardcode_libdir_flag_spec_ld=
8130 hardcode_libdir_separator=
8132 hardcode_shlibpath_var=unsupported
8134 link_all_deplibs=unknown
8137 old_archive_from_new_cmds=
8138 old_archive_from_expsyms_cmds=
8139 thread_safe_flag_spec=
8140 whole_archive_flag_spec=
8141 # include_expsyms should be a list of space-separated symbols to be *always*
8142 # included in the symbol list
8144 # exclude_expsyms can be an extended regexp of symbols to exclude
8145 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8146 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8147 # as well as any symbol that contains `d'.
8148 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8149 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8150 # platforms (ab)use it in PIC code, but their linkers get confused if
8151 # the symbol is explicitly referenced. Since portable code cannot
8152 # rely on this symbol name, it's probably fine to never include it in
8153 # preloaded symbol tables.
8154 # Exclude shared library initialization/finalization symbols.
8155 extract_expsyms_cmds=
8158 cygwin* | mingw* | pw32* | cegcc*)
8159 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8160 # When not using gcc, we currently assume that we are using
8161 # Microsoft Visual C++.
8162 if test "$GCC" != yes; then
8167 # we just hope/assume this is gcc and not c89 (= MSVC++)
8177 # On some targets, GNU ld is compatible enough with the native linker
8178 # that we're better off using the native interface for both.
8179 lt_use_gnu_ld_interface=no
8180 if test "$with_gnu_ld" = yes; then
8183 # The AIX port of GNU ld has always aspired to compatibility
8184 # with the native linker. However, as the warning in the GNU ld
8185 # block says, versions before 2.19.5* couldn't really create working
8186 # shared libraries, regardless of the interface used.
8187 case `$LD -v 2>&1` in
8188 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8189 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8190 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8192 lt_use_gnu_ld_interface=yes
8197 lt_use_gnu_ld_interface=yes
8202 if test "$lt_use_gnu_ld_interface" = yes; then
8203 # If archive_cmds runs LD, not CC, wlarc should be empty
8206 # Set some defaults for GNU ld with shared library support. These
8207 # are reset later if shared libraries are not supported. Putting them
8208 # here allows them to be overridden if necessary.
8209 runpath_var=LD_RUN_PATH
8210 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8211 export_dynamic_flag_spec='${wl}--export-dynamic'
8212 # ancient GNU ld didn't support --whole-archive et. al.
8213 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8214 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8216 whole_archive_flag_spec=
8218 supports_anon_versioning=no
8219 case `$LD -v 2>&1` in
8220 *GNU\ gold*) supports_anon_versioning=yes ;;
8221 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8222 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8223 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8224 *\ 2.11.*) ;; # other 2.11 versions
8225 *) supports_anon_versioning=yes ;;
8228 # See if GNU ld supports shared libraries.
8231 # On AIX/PPC, the GNU linker is very broken
8232 if test "$host_cpu" != ia64; then
8236 *** Warning: the GNU linker, at least up to release 2.19, is reported
8237 *** to be unable to reliably create shared libraries on AIX.
8238 *** Therefore, libtool is disabling shared libraries support. If you
8239 *** really care for shared libraries, you may want to install binutils
8240 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8241 *** You will then need to restart the configuration process.
8250 # see comment about AmigaOS4 .so support
8251 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8252 archive_expsym_cmds=''
8255 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)'
8256 hardcode_libdir_flag_spec
='-L$libdir'
8257 hardcode_minus_L
=yes
8263 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8264 allow_undefined_flag
=unsupported
8265 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8266 # support --undefined. This deserves some investigation. FIXME
8267 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8273 cygwin
* | mingw
* | pw32
* | cegcc
*)
8274 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8275 # as there is no search path for DLLs.
8276 hardcode_libdir_flag_spec
='-L$libdir'
8277 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8278 allow_undefined_flag
=unsupported
8279 always_export_symbols
=no
8280 enable_shared_with_static_runtimes
=yes
8281 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8283 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8284 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8285 # If the export-symbols file already is a .def file (1st line
8286 # is EXPORTS), use it as is; otherwise, prepend...
8287 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8288 cp $export_symbols $output_objdir/$soname.def;
8290 echo EXPORTS > $output_objdir/$soname.def;
8291 cat $export_symbols >> $output_objdir/$soname.def;
8293 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8300 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8301 link_all_deplibs
=yes
8306 hardcode_shlibpath_var
=no
8307 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8308 export_dynamic_flag_spec
='${wl}-E'
8309 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8310 # Instead, shared libraries are loaded at an image base (0x10000000 by
8311 # default) and relocated if they conflict, which is a slow very memory
8312 # consuming and fragmenting process. To avoid this, we pick a random,
8313 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8314 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8315 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8316 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'
8319 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8321 if test "$host_os" = linux-dietlibc
; then
8322 case $cc_basename in
8323 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8326 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8327 && test "$tmp_diet" = no
8330 tmp_sharedflag
='-shared'
8331 case $cc_basename,$host_cpu in
8332 pgcc
*) # Portland Group C compiler
8333 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'
8334 tmp_addflag
=' $pic_flag'
8336 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8337 # Portland Group f77 and f90 compilers
8338 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'
8339 tmp_addflag
=' $pic_flag -Mnomain' ;;
8340 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8341 tmp_addflag
=' -i_dynamic' ;;
8342 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8343 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8344 ifc
* | ifort
*) # Intel Fortran compiler
8345 tmp_addflag
=' -nofor_main' ;;
8346 lf95
*) # Lahey Fortran 8.1
8347 whole_archive_flag_spec
=
8348 tmp_sharedflag
='--shared' ;;
8349 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8350 tmp_sharedflag
='-qmkshrobj'
8352 nvcc
*) # Cuda Compiler Driver 2.2
8353 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'
8354 compiler_needs_object
=yes
8357 case `$CC -V 2>&1 | sed 5q` in
8358 *Sun\ C
*) # Sun C 5.9
8359 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'
8360 compiler_needs_object
=yes
8361 tmp_sharedflag
='-G' ;;
8362 *Sun\ F
*) # Sun Fortran 8.3
8363 tmp_sharedflag
='-G' ;;
8365 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8367 if test "x$supports_anon_versioning" = xyes
; then
8368 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8369 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8370 echo "local: *; };" >> $output_objdir/$libname.ver~
8371 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8374 case $cc_basename in
8375 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8376 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8377 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8378 hardcode_libdir_flag_spec
=
8379 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8380 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8381 if test "x$supports_anon_versioning" = xyes
; then
8382 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8383 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8384 echo "local: *; };" >> $output_objdir/$libname.ver~
8385 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8395 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8396 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8399 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8400 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8405 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8409 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8410 *** create shared libraries on Solaris systems. Therefore, libtool
8411 *** is disabling shared libraries support. We urge you to upgrade GNU
8412 *** binutils to release 2.9.1 or newer. Another option is to modify
8413 *** your PATH or compiler configuration so that the native linker is
8414 *** used, and then restart.
8417 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8418 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8419 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8425 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8426 case `$LD -v 2>&1` in
8427 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8431 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8432 *** reliably create shared libraries on SCO systems. Therefore, libtool
8433 *** is disabling shared libraries support. We urge you to upgrade GNU
8434 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8435 *** your PATH or compiler configuration so that the native linker is
8436 *** used, and then restart.
8441 # For security reasons, it is highly recommended that you always
8442 # use absolute paths for naming shared libraries, and exclude the
8443 # DT_RUNPATH tag from executables and libraries. But doing so
8444 # requires that you compile everything twice, which is a pain.
8445 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8446 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8447 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8448 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8457 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8460 hardcode_shlibpath_var
=no
8464 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8465 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8466 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8473 if test "$ld_shlibs" = no
; then
8475 hardcode_libdir_flag_spec
=
8476 export_dynamic_flag_spec
=
8477 whole_archive_flag_spec
=
8480 # PORTME fill in a description of your system's linker (not GNU ld)
8483 allow_undefined_flag
=unsupported
8484 always_export_symbols
=yes
8485 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'
8486 # Note: this linker hardcodes the directories in LIBPATH if there
8487 # are no directories specified by -L.
8488 hardcode_minus_L
=yes
8489 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8490 # Neither direct hardcoding nor static linking is supported with a
8492 hardcode_direct
=unsupported
8497 if test "$host_cpu" = ia64
; then
8498 # On IA64, the linker does run time linking by default, so we don't
8499 # have to do anything special.
8500 aix_use_runtimelinking
=no
8501 exp_sym_flag
='-Bexport'
8504 # If we're using GNU nm, then we don't want the "-C" option.
8505 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8506 # Also, AIX nm treats weak defined symbols like other global
8507 # defined symbols, whereas GNU nm marks them as "W".
8508 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8509 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'
8511 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'
8513 aix_use_runtimelinking
=no
8515 # Test if we are trying to use run time linking or normal
8516 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8517 # need to do runtime linking.
8518 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8519 for ld_flag
in $LDFLAGS; do
8520 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8521 aix_use_runtimelinking
=yes
8528 exp_sym_flag
='-bexport'
8529 no_entry_flag
='-bnoentry'
8532 # When large executables or shared objects are built, AIX ld can
8533 # have problems creating the table of contents. If linking a library
8534 # or program results in "error TOC overflow" add -mminimal-toc to
8535 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8536 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8540 hardcode_direct_absolute
=yes
8541 hardcode_libdir_separator
=':'
8542 link_all_deplibs
=yes
8543 file_list_spec
='${wl}-f,'
8545 if test "$GCC" = yes; then
8546 case $host_os in aix4.
[012]|aix4.
[012].
*)
8547 # We only want to do this on AIX 4.2 and lower, the check
8548 # below for broken collect2 doesn't work under 4.3+
8549 collect2name
=`${CC} -print-prog-name=collect2`
8550 if test -f "$collect2name" &&
8551 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8553 # We have reworked collect2
8556 # We have old collect2
8557 hardcode_direct
=unsupported
8558 # It fails to find uninstalled libraries when the uninstalled
8559 # path is not listed in the libpath. Setting hardcode_minus_L
8560 # to unsupported forces relinking
8561 hardcode_minus_L
=yes
8562 hardcode_libdir_flag_spec
='-L$libdir'
8563 hardcode_libdir_separator
=
8567 shared_flag
='-shared'
8568 if test "$aix_use_runtimelinking" = yes; then
8569 shared_flag
="$shared_flag "'${wl}-G'
8573 if test "$host_cpu" = ia64
; then
8574 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8575 # chokes on -Wl,-G. The following line is correct:
8578 if test "$aix_use_runtimelinking" = yes; then
8579 shared_flag
='${wl}-G'
8581 shared_flag
='${wl}-bM:SRE'
8586 export_dynamic_flag_spec
='${wl}-bexpall'
8587 # It seems that -bexpall does not export symbols beginning with
8588 # underscore (_), so it is better to generate a list of symbols to export.
8589 always_export_symbols
=yes
8590 if test "$aix_use_runtimelinking" = yes; then
8591 # Warning - without using the other runtime loading flags (-brtl),
8592 # -berok will link without error, but may produce a broken library.
8593 allow_undefined_flag
='-berok'
8594 # Determine the default libpath from the value encoded in an
8596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8597 /* end confdefs.h. */
8607 if ac_fn_c_try_link
"$LINENO"; then :
8609 lt_aix_libpath_sed
='
8610 /Import File Strings/,/^$/ {
8616 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8617 # Check for a 64-bit object if we didn't find anything.
8618 if test -z "$aix_libpath"; then
8619 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8622 rm -f core conftest.err conftest.
$ac_objext \
8623 conftest
$ac_exeext conftest.
$ac_ext
8624 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8626 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8627 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"
8629 if test "$host_cpu" = ia64
; then
8630 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8631 allow_undefined_flag
="-z nodefs"
8632 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"
8634 # Determine the default libpath from the value encoded in an
8636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8637 /* end confdefs.h. */
8647 if ac_fn_c_try_link
"$LINENO"; then :
8649 lt_aix_libpath_sed
='
8650 /Import File Strings/,/^$/ {
8656 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8657 # Check for a 64-bit object if we didn't find anything.
8658 if test -z "$aix_libpath"; then
8659 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8662 rm -f core conftest.err conftest.
$ac_objext \
8663 conftest
$ac_exeext conftest.
$ac_ext
8664 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8666 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8667 # Warning - without using the other run time loading flags,
8668 # -berok will link without error, but may produce a broken library.
8669 no_undefined_flag
=' ${wl}-bernotok'
8670 allow_undefined_flag
=' ${wl}-berok'
8671 if test "$with_gnu_ld" = yes; then
8672 # We only use this code for GNU lds that support --whole-archive.
8673 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8675 # Exported symbols can be pulled into shared objects from archives
8676 whole_archive_flag_spec
='$convenience'
8678 archive_cmds_need_lc
=yes
8679 # This is similar to how AIX traditionally builds its shared libraries.
8680 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'
8688 # see comment about AmigaOS4 .so support
8689 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8690 archive_expsym_cmds
=''
8693 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)'
8694 hardcode_libdir_flag_spec
='-L$libdir'
8695 hardcode_minus_L
=yes
8701 export_dynamic_flag_spec
=-rdynamic
8704 cygwin
* | mingw
* | pw32
* | cegcc
*)
8705 # When not using gcc, we currently assume that we are using
8706 # Microsoft Visual C++.
8707 # hardcode_libdir_flag_spec is actually meaningless, as there is
8708 # no search path for DLLs.
8709 hardcode_libdir_flag_spec
=' '
8710 allow_undefined_flag
=unsupported
8711 # Tell ltmain to make .lib files, not .a files.
8713 # Tell ltmain to make .dll files, not .so files.
8715 # FIXME: Setting linknames here is a bad hack.
8716 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8717 # The linker will automatically build a .lib file if we build a DLL.
8718 old_archive_from_new_cmds
='true'
8719 # FIXME: Should let the user specify the lib program.
8720 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8721 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8722 enable_shared_with_static_runtimes
=yes
8725 darwin
* | rhapsody
*)
8728 archive_cmds_need_lc
=no
8730 hardcode_automatic
=yes
8731 hardcode_shlibpath_var
=unsupported
8732 if test "$lt_cv_ld_force_load" = "yes"; then
8733 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\"`'
8735 whole_archive_flag_spec
=''
8737 link_all_deplibs
=yes
8738 allow_undefined_flag
="$_lt_dar_allow_undefined"
8739 case $cc_basename in
8740 ifort
*) _lt_dar_can_shared
=yes ;;
8741 *) _lt_dar_can_shared
=$GCC ;;
8743 if test "$_lt_dar_can_shared" = "yes"; then
8744 output_verbose_link_cmd
=func_echo_all
8745 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8746 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8747 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}"
8748 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}"
8757 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8758 hardcode_libdir_flag_spec
='-L$libdir'
8759 hardcode_shlibpath_var
=no
8762 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8763 # support. Future versions do this automatically, but an explicit c++rt0.o
8764 # does not break anything, and helps significantly (at the cost of a little
8767 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8768 hardcode_libdir_flag_spec
='-R$libdir'
8770 hardcode_shlibpath_var
=no
8773 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8775 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8777 hardcode_minus_L
=yes
8778 hardcode_shlibpath_var
=no
8781 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8782 freebsd
* | dragonfly
*)
8783 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8784 hardcode_libdir_flag_spec
='-R$libdir'
8786 hardcode_shlibpath_var
=no
8790 if test "$GCC" = yes; then
8791 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'
8793 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'
8795 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8796 hardcode_libdir_separator
=:
8799 # hardcode_minus_L: Not really in the search PATH,
8800 # but as the default location of the library.
8801 hardcode_minus_L
=yes
8802 export_dynamic_flag_spec
='${wl}-E'
8806 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8807 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8809 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8811 if test "$with_gnu_ld" = no
; then
8812 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8813 hardcode_libdir_flag_spec_ld
='+b $libdir'
8814 hardcode_libdir_separator
=:
8816 hardcode_direct_absolute
=yes
8817 export_dynamic_flag_spec
='${wl}-E'
8818 # hardcode_minus_L: Not really in the search PATH,
8819 # but as the default location of the library.
8820 hardcode_minus_L
=yes
8825 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8828 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8831 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8834 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8840 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8843 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8847 # Older versions of the 11.00 compiler do not understand -b yet
8848 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
8850 $as_echo_n "checking if $CC understands -b... " >&6; }
8851 if test "${lt_cv_prog_compiler__b+set}" = set; then :
8852 $as_echo_n "(cached) " >&6
8854 lt_cv_prog_compiler__b
=no
8855 save_LDFLAGS
="$LDFLAGS"
8856 LDFLAGS
="$LDFLAGS -b"
8857 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8858 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8859 # The linker can only warn and ignore the option if not recognized
8860 # So say no if there are warnings
8861 if test -s conftest.err
; then
8862 # Append any errors to the config.log.
8863 cat conftest.err
1>&5
8864 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8865 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8866 if diff conftest.exp conftest.er2
>/dev
/null
; then
8867 lt_cv_prog_compiler__b
=yes
8870 lt_cv_prog_compiler__b
=yes
8874 LDFLAGS
="$save_LDFLAGS"
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
8878 $as_echo "$lt_cv_prog_compiler__b" >&6; }
8880 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
8881 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8883 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8889 if test "$with_gnu_ld" = no
; then
8890 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8891 hardcode_libdir_separator
=:
8896 hardcode_shlibpath_var
=no
8900 hardcode_direct_absolute
=yes
8901 export_dynamic_flag_spec
='${wl}-E'
8903 # hardcode_minus_L: Not really in the search PATH,
8904 # but as the default location of the library.
8905 hardcode_minus_L
=yes
8911 irix5
* | irix6
* | nonstopux
*)
8912 if test "$GCC" = yes; then
8913 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'
8914 # Try to use the -exported_symbol ld option, if it does not
8915 # work, assume that -exports_file does not work either and
8916 # implicitly export all symbols.
8917 save_LDFLAGS
="$LDFLAGS"
8918 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8920 /* end confdefs.h. */
8923 if ac_fn_c_try_link
"$LINENO"; then :
8924 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'
8927 rm -f core conftest.err conftest.
$ac_objext \
8928 conftest
$ac_exeext conftest.
$ac_ext
8929 LDFLAGS
="$save_LDFLAGS"
8931 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'
8932 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'
8934 archive_cmds_need_lc
='no'
8935 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8936 hardcode_libdir_separator
=:
8938 link_all_deplibs
=yes
8942 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8943 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8945 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8947 hardcode_libdir_flag_spec
='-R$libdir'
8949 hardcode_shlibpath_var
=no
8953 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8955 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8956 hardcode_libdir_separator
=:
8957 hardcode_shlibpath_var
=no
8964 if test -f /usr
/libexec
/ld.so
; then
8966 hardcode_shlibpath_var
=no
8967 hardcode_direct_absolute
=yes
8968 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8969 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8970 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8971 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8972 export_dynamic_flag_spec
='${wl}-E'
8975 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8976 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8977 hardcode_libdir_flag_spec
='-R$libdir'
8980 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8981 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8991 hardcode_libdir_flag_spec
='-L$libdir'
8992 hardcode_minus_L
=yes
8993 allow_undefined_flag
=unsupported
8994 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'
8995 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8999 if test "$GCC" = yes; then
9000 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9001 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'
9003 allow_undefined_flag
=' -expect_unresolved \*'
9004 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'
9006 archive_cmds_need_lc
='no'
9007 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9008 hardcode_libdir_separator
=:
9011 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9012 if test "$GCC" = yes; then
9013 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9014 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'
9015 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9017 allow_undefined_flag
=' -expect_unresolved \*'
9018 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'
9019 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~
9020 $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'
9022 # Both c and cxx compiler support -rpath directly
9023 hardcode_libdir_flag_spec
='-rpath $libdir'
9025 archive_cmds_need_lc
='no'
9026 hardcode_libdir_separator
=:
9030 no_undefined_flag
=' -z defs'
9031 if test "$GCC" = yes; then
9033 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9034 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9035 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9037 case `$CC -V 2>&1` in
9040 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9041 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9042 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9046 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9047 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9048 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9052 hardcode_libdir_flag_spec
='-R$libdir'
9053 hardcode_shlibpath_var
=no
9055 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9057 # The compiler driver will combine and reorder linker options,
9058 # but understands `-z linker_flag'. GCC discards it without `$wl',
9059 # but is careful enough not to reorder.
9060 # Supported since Solaris 2.6 (maybe 2.5.1?)
9061 if test "$GCC" = yes; then
9062 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9064 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9068 link_all_deplibs
=yes
9072 if test "x$host_vendor" = xsequent
; then
9073 # Use $CC to link under sequent, because it throws in some extra .o
9074 # files that make .init and .fini sections work.
9075 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9077 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9079 hardcode_libdir_flag_spec
='-L$libdir'
9081 hardcode_minus_L
=yes
9082 hardcode_shlibpath_var
=no
9086 case $host_vendor in
9088 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9089 hardcode_direct
=yes # is this really true???
9092 ## LD is ld it makes a PLAMLIB
9093 ## CC just makes a GrossModule.
9094 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9095 reload_cmds
='$CC -r -o $output$reload_objs'
9099 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9100 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9103 runpath_var
='LD_RUN_PATH'
9104 hardcode_shlibpath_var
=no
9108 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9109 hardcode_shlibpath_var
=no
9110 export_dynamic_flag_spec
='-Bexport'
9114 if test -d /usr
/nec
; then
9115 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9116 hardcode_shlibpath_var
=no
9117 runpath_var
=LD_RUN_PATH
9118 hardcode_runpath_var
=yes
9123 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9124 no_undefined_flag
='${wl}-z,text'
9125 archive_cmds_need_lc
=no
9126 hardcode_shlibpath_var
=no
9127 runpath_var
='LD_RUN_PATH'
9129 if test "$GCC" = yes; then
9130 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9131 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9133 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9134 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9138 sysv5
* | sco3.2v5
* | sco5v6
*)
9139 # Note: We can NOT use -z defs as we might desire, because we do not
9140 # link with -lc, and that would cause any symbols used from libc to
9141 # always be unresolved, which means just about no library would
9142 # ever link correctly. If we're not using GNU ld we use -z text
9143 # though, which does catch some bad symbols but isn't as heavy-handed
9145 no_undefined_flag
='${wl}-z,text'
9146 allow_undefined_flag
='${wl}-z,nodefs'
9147 archive_cmds_need_lc
=no
9148 hardcode_shlibpath_var
=no
9149 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9150 hardcode_libdir_separator
=':'
9151 link_all_deplibs
=yes
9152 export_dynamic_flag_spec
='${wl}-Bexport'
9153 runpath_var
='LD_RUN_PATH'
9155 if test "$GCC" = yes; then
9156 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9157 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9159 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9160 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9165 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9166 hardcode_libdir_flag_spec
='-L$libdir'
9167 hardcode_shlibpath_var
=no
9175 if test x
$host_vendor = xsni
; then
9177 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9178 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9185 $as_echo "$ld_shlibs" >&6; }
9186 test "$ld_shlibs" = no
&& can_build_shared
=no
9188 with_gnu_ld
=$with_gnu_ld
9205 # Do we need to explicitly link libc?
9207 case "x$archive_cmds_need_lc" in
9209 # Assume -lc should be added
9210 archive_cmds_need_lc
=yes
9212 if test "$enable_shared" = yes && test "$GCC" = yes; then
9213 case $archive_cmds in
9215 # FIXME: we may have to deal with multi-command sequences.
9218 # Test whether the compiler implicitly links with -lc since on some
9219 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9220 # to ld, don't add -lc before -lgcc.
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9222 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9223 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9224 $as_echo_n "(cached) " >&6
9227 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9229 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9230 (eval $ac_compile) 2>&5
9232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9233 test $ac_status = 0; } 2>conftest.err
; then
9236 libobjs
=conftest.
$ac_objext
9238 wl
=$lt_prog_compiler_wl
9239 pic_flag
=$lt_prog_compiler_pic
9245 lt_save_allow_undefined_flag
=$allow_undefined_flag
9246 allow_undefined_flag
=
9247 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9248 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9250 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9251 test $ac_status = 0; }
9253 lt_cv_archive_cmds_need_lc
=no
9255 lt_cv_archive_cmds_need_lc
=yes
9257 allow_undefined_flag
=$lt_save_allow_undefined_flag
9259 cat conftest.err
1>&5
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9265 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9266 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9430 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9432 if test "$GCC" = yes; then
9434 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9435 *) lt_awk_arg
="/^libraries:/" ;;
9438 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9439 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9441 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9442 case $lt_search_path_spec in
9444 # if the path contains ";" then we assume it to be the separator
9445 # otherwise default to the standard path separator (i.e. ":") - it is
9446 # assumed that no part of a normal pathname contains ";" but that should
9447 # okay in the real world where ";" in dirpaths is itself problematic.
9448 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9451 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9454 # Ok, now we have the path, separated by spaces, we can step through it
9455 # and add multilib dir if necessary.
9456 lt_tmp_lt_search_path_spec
=
9457 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9458 for lt_sys_path
in $lt_search_path_spec; do
9459 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9460 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9462 test -d "$lt_sys_path" && \
9463 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9466 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9467 BEGIN {RS=" "; FS="/|\n";} {
9470 for (lt_i = NF; lt_i > 0; lt_i--) {
9471 if ($lt_i != "" && $lt_i != ".") {
9472 if ($lt_i == "..") {
9475 if (lt_count == 0) {
9476 lt_foo="/" $lt_i lt_foo;
9483 if (lt_foo != "") { lt_freq[lt_foo]++; }
9484 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9486 # AWK program above erroneously prepends '/' to C:/dos/paths
9489 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9490 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9492 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9494 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9497 libname_spec
='lib$name'
9505 shlibpath_overrides_runpath
=unknown
9507 dynamic_linker
="$host_os ld.so"
9508 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9509 need_lib_prefix
=unknown
9510 hardcode_into_libs
=no
9512 # when you set need_version to no, make sure it does not cause -set_version
9513 # flags to be left without arguments
9514 need_version
=unknown
9519 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9520 shlibpath_var
=LIBPATH
9522 # AIX 3 has no versioning support, so we append a major version to the name.
9523 soname_spec
='${libname}${release}${shared_ext}$major'
9530 hardcode_into_libs
=yes
9531 if test "$host_cpu" = ia64
; then
9532 # AIX 5 supports IA64
9533 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9534 shlibpath_var
=LD_LIBRARY_PATH
9536 # With GCC up to 2.95.x, collect2 would create an import file
9537 # for dependence libraries. The import file would start with
9538 # the line `#! .'. This would cause the generated library to
9539 # depend on `.', always an invalid library. This was fixed in
9540 # development snapshots of GCC prior to 3.0.
9542 aix4 | aix4.
[01] | aix4.
[01].
*)
9543 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9545 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9552 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9553 # soname into executable. Probably we can add versioning support to
9554 # collect2, so additional links can be useful in future.
9555 if test "$aix_use_runtimelinking" = yes; then
9556 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9557 # instead of lib<name>.a to let people know that these are not
9558 # typical AIX shared libraries.
9559 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9561 # We preserve .a as extension for shared libraries through AIX4.2
9562 # and later when we are not doing run time linking.
9563 library_names_spec
='${libname}${release}.a $libname.a'
9564 soname_spec
='${libname}${release}${shared_ext}$major'
9566 shlibpath_var
=LIBPATH
9573 # Since July 2007 AmigaOS4 officially supports .so libraries.
9574 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9575 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9578 library_names_spec
='$libname.ixlibrary $libname.a'
9579 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9580 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'
9586 library_names_spec
='${libname}${shared_ext}'
9587 dynamic_linker
="$host_os ld.so"
9588 shlibpath_var
=LIBRARY_PATH
9594 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9595 soname_spec
='${libname}${release}${shared_ext}$major'
9596 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9597 shlibpath_var
=LD_LIBRARY_PATH
9598 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9599 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9600 # the default ld.so.conf also contains /usr/contrib/lib and
9601 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9602 # libtool to hard-code these into programs
9605 cygwin
* | mingw
* | pw32
* | cegcc
*)
9606 version_type
=windows
9611 case $GCC,$host_os in
9612 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9613 library_names_spec
='$libname.dll.a'
9614 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9615 postinstall_cmds
='base_file=`basename \${file}`~
9616 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9617 dldir=$destdir/`dirname \$dlpath`~
9618 test -d \$dldir || mkdir -p \$dldir~
9619 $install_prog $dir/$dlname \$dldir/$dlname~
9620 chmod a+x \$dldir/$dlname~
9621 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9622 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9624 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9625 dlpath=$dir/\$dldll~
9627 shlibpath_overrides_runpath
=yes
9631 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9632 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9634 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9637 # MinGW DLLs use traditional 'lib' prefix
9638 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9641 # pw32 DLLs use 'pw' prefix rather than 'lib'
9642 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9648 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9651 dynamic_linker
='Win32 ld.exe'
9652 # FIXME: first we should search . and the directory the executable is in
9656 darwin
* | rhapsody
*)
9657 dynamic_linker
="$host_os dyld"
9661 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9662 soname_spec
='${libname}${release}${major}$shared_ext'
9663 shlibpath_overrides_runpath
=yes
9664 shlibpath_var
=DYLD_LIBRARY_PATH
9665 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9667 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9668 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9675 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9676 soname_spec
='${libname}${release}${shared_ext}$major'
9677 shlibpath_var
=LD_LIBRARY_PATH
9680 freebsd
* | dragonfly
*)
9681 # DragonFly does not have aout. When/if they implement a new
9682 # versioning mechanism, adjust this.
9683 if test -x /usr
/bin
/objformat
; then
9684 objformat
=`/usr/bin/objformat`
9687 freebsd
[23].
*) objformat
=aout
;;
9691 version_type
=freebsd-
$objformat
9692 case $version_type in
9694 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9699 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9703 shlibpath_var
=LD_LIBRARY_PATH
9706 shlibpath_overrides_runpath
=yes
9708 freebsd3.
[01]* | freebsdelf3.
[01]*)
9709 shlibpath_overrides_runpath
=yes
9710 hardcode_into_libs
=yes
9712 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9713 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9714 shlibpath_overrides_runpath
=no
9715 hardcode_into_libs
=yes
9717 *) # from 4.6 on, and DragonFly
9718 shlibpath_overrides_runpath
=yes
9719 hardcode_into_libs
=yes
9728 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9729 soname_spec
='${libname}${release}${shared_ext}$major'
9730 shlibpath_var
=LD_LIBRARY_PATH
9731 hardcode_into_libs
=yes
9738 dynamic_linker
="$host_os runtime_loader"
9739 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9740 soname_spec
='${libname}${release}${shared_ext}$major'
9741 shlibpath_var
=LIBRARY_PATH
9742 shlibpath_overrides_runpath
=yes
9743 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
9744 hardcode_into_libs
=yes
9747 hpux9
* | hpux10
* | hpux11
*)
9748 # Give a soname corresponding to the major version so that dld.sl refuses to
9749 # link against other versions.
9756 hardcode_into_libs
=yes
9757 dynamic_linker
="$host_os dld.so"
9758 shlibpath_var
=LD_LIBRARY_PATH
9759 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9760 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9761 soname_spec
='${libname}${release}${shared_ext}$major'
9762 if test "X$HPUX_IA64_MODE" = X32
; then
9763 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9765 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9767 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9771 hardcode_into_libs
=yes
9772 dynamic_linker
="$host_os dld.sl"
9773 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9774 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9775 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9776 soname_spec
='${libname}${release}${shared_ext}$major'
9777 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9778 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9782 dynamic_linker
="$host_os dld.sl"
9783 shlibpath_var
=SHLIB_PATH
9784 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9785 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9786 soname_spec
='${libname}${release}${shared_ext}$major'
9789 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9790 postinstall_cmds
='chmod 555 $lib'
9791 # or fails outright, so override atomically:
9792 install_override_mode
=555
9799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9800 soname_spec
='${libname}${release}${shared_ext}$major'
9801 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9802 shlibpath_var
=LD_LIBRARY_PATH
9803 shlibpath_overrides_runpath
=no
9804 hardcode_into_libs
=yes
9807 irix5
* | irix6
* | nonstopux
*)
9809 nonstopux
*) version_type
=nonstopux
;;
9811 if test "$lt_cv_prog_gnu_ld" = yes; then
9819 soname_spec
='${libname}${release}${shared_ext}$major'
9820 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9822 irix5
* | nonstopux
*)
9826 case $LD in # libtool.m4 will add one of these switches to LD
9827 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9828 libsuff
= shlibsuff
= libmagic
=32-bit;;
9829 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9830 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9831 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9832 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9833 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9837 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9838 shlibpath_overrides_runpath
=no
9839 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9840 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9841 hardcode_into_libs
=yes
9844 # No shared lib support for Linux oldld, aout, or coff.
9845 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9849 # This must be Linux ELF.
9850 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9854 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9855 soname_spec
='${libname}${release}${shared_ext}$major'
9856 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9857 shlibpath_var
=LD_LIBRARY_PATH
9858 shlibpath_overrides_runpath
=no
9860 # Some binutils ld are patched to set DT_RUNPATH
9861 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
9862 $as_echo_n "(cached) " >&6
9864 lt_cv_shlibpath_overrides_runpath
=no
9865 save_LDFLAGS
=$LDFLAGS
9867 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9868 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9870 /* end confdefs.h. */
9880 if ac_fn_c_try_link
"$LINENO"; then :
9881 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
9882 lt_cv_shlibpath_overrides_runpath
=yes
9885 rm -f core conftest.err conftest.
$ac_objext \
9886 conftest
$ac_exeext conftest.
$ac_ext
9887 LDFLAGS
=$save_LDFLAGS
9892 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
9894 # This implies no fast_install, which is unacceptable.
9895 # Some rework will be needed to allow for fast_install
9896 # before this can be enabled.
9897 hardcode_into_libs
=yes
9899 # Append ld.so.conf contents to the search path
9900 if test -f /etc
/ld.so.conf
; then
9901 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' ' '`
9902 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9905 # We used to test for /lib/ld.so.1 and disable shared libraries on
9906 # powerpc, because MkLinux only supported shared libraries with the
9907 # GNU dynamic linker. Since this was broken with cross compilers,
9908 # most powerpc-linux boxes support dynamic linking these days and
9909 # people can always --disable-shared, the test was removed, and we
9910 # assume the GNU/Linux dynamic linker is in use.
9911 dynamic_linker
='GNU/Linux ld.so'
9918 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9919 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9920 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9921 dynamic_linker
='NetBSD (a.out) ld.so'
9923 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9924 soname_spec
='${libname}${release}${shared_ext}$major'
9925 dynamic_linker
='NetBSD ld.elf_so'
9927 shlibpath_var
=LD_LIBRARY_PATH
9928 shlibpath_overrides_runpath
=yes
9929 hardcode_into_libs
=yes
9934 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9935 shlibpath_var
=LD_LIBRARY_PATH
9936 shlibpath_overrides_runpath
=yes
9943 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9944 soname_spec
='${libname}${release}${shared_ext}$major'
9945 shlibpath_var
=LD_LIBRARY_PATH
9946 shlibpath_overrides_runpath
=no
9947 hardcode_into_libs
=yes
9948 dynamic_linker
='ldqnx.so'
9953 sys_lib_dlsearch_path_spec
="/usr/lib"
9955 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9957 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9958 *) need_version
=no
;;
9960 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9961 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9962 shlibpath_var
=LD_LIBRARY_PATH
9963 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9965 openbsd2.
[89] | openbsd2.
[89].
*)
9966 shlibpath_overrides_runpath
=no
9969 shlibpath_overrides_runpath
=yes
9973 shlibpath_overrides_runpath
=yes
9978 libname_spec
='$name'
9981 library_names_spec
='$libname${shared_ext} $libname.a'
9982 dynamic_linker
='OS/2 ld.exe'
9983 shlibpath_var
=LIBPATH
9986 osf3
* | osf4
* | osf5
*)
9990 soname_spec
='${libname}${release}${shared_ext}$major'
9991 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9992 shlibpath_var
=LD_LIBRARY_PATH
9993 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9994 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10006 soname_spec
='${libname}${release}${shared_ext}$major'
10007 shlibpath_var
=LD_LIBRARY_PATH
10008 shlibpath_overrides_runpath
=yes
10009 hardcode_into_libs
=yes
10010 # ldd complains unless libraries are executable
10011 postinstall_cmds
='chmod +x $lib'
10016 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10017 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10018 shlibpath_var
=LD_LIBRARY_PATH
10019 shlibpath_overrides_runpath
=yes
10020 if test "$with_gnu_ld" = yes; then
10028 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10029 soname_spec
='${libname}${release}${shared_ext}$major'
10030 shlibpath_var
=LD_LIBRARY_PATH
10031 case $host_vendor in
10033 shlibpath_overrides_runpath
=no
10035 runpath_var
=LD_RUN_PATH
10043 shlibpath_overrides_runpath
=no
10044 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10050 if test -d /usr
/nec
;then
10052 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10053 soname_spec
='$libname${shared_ext}.$major'
10054 shlibpath_var
=LD_LIBRARY_PATH
10058 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10059 version_type
=freebsd-elf
10062 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10063 soname_spec
='${libname}${release}${shared_ext}$major'
10064 shlibpath_var
=LD_LIBRARY_PATH
10065 shlibpath_overrides_runpath
=yes
10066 hardcode_into_libs
=yes
10067 if test "$with_gnu_ld" = yes; then
10068 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10070 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10073 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10077 sys_lib_dlsearch_path_spec
='/usr/lib'
10081 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10085 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10086 shlibpath_var
=LD_LIBRARY_PATH
10087 shlibpath_overrides_runpath
=no
10088 hardcode_into_libs
=yes
10093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10094 soname_spec
='${libname}${release}${shared_ext}$major'
10095 shlibpath_var
=LD_LIBRARY_PATH
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10103 $as_echo "$dynamic_linker" >&6; }
10104 test "$dynamic_linker" = no
&& can_build_shared
=no
10106 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10107 if test "$GCC" = yes; then
10108 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10111 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10112 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10114 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10115 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10210 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10212 if test -n "$hardcode_libdir_flag_spec" ||
10213 test -n "$runpath_var" ||
10214 test "X$hardcode_automatic" = "Xyes" ; then
10216 # We can hardcode non-existent directories.
10217 if test "$hardcode_direct" != no
&&
10218 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10219 # have to relink, otherwise we might link with an installed library
10220 # when we should be linking with a yet-to-be-installed one
10221 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10222 test "$hardcode_minus_L" != no
; then
10223 # Linking always hardcodes the temporary library directory.
10224 hardcode_action
=relink
10226 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10227 hardcode_action
=immediate
10230 # We cannot hardcode anything, or else we can only hardcode existing
10232 hardcode_action
=unsupported
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10235 $as_echo "$hardcode_action" >&6; }
10237 if test "$hardcode_action" = relink ||
10238 test "$inherit_rpath" = yes; then
10239 # Fast installation is not supported
10240 enable_fast_install
=no
10241 elif test "$shlibpath_overrides_runpath" = yes ||
10242 test "$enable_shared" = no
; then
10243 # Fast installation is not necessary
10244 enable_fast_install
=needless
10252 if test "x$enable_dlopen" != xyes
; then
10253 enable_dlopen
=unknown
10254 enable_dlopen_self
=unknown
10255 enable_dlopen_self_static
=unknown
10262 lt_cv_dlopen
="load_add_on"
10264 lt_cv_dlopen_self
=yes
10267 mingw
* | pw32
* | cegcc
*)
10268 lt_cv_dlopen
="LoadLibrary"
10273 lt_cv_dlopen
="dlopen"
10278 # if libdl is installed we need to link against it
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10280 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10281 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10282 $as_echo_n "(cached) " >&6
10284 ac_check_lib_save_LIBS
=$LIBS
10286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10287 /* end confdefs.h. */
10289 /* Override any GCC internal prototype to avoid an error.
10290 Use char because int might match the return type of a GCC
10291 builtin and then its argument prototype would still apply. */
10304 if ac_fn_c_try_link
"$LINENO"; then :
10305 ac_cv_lib_dl_dlopen
=yes
10307 ac_cv_lib_dl_dlopen
=no
10309 rm -f core conftest.err conftest.
$ac_objext \
10310 conftest
$ac_exeext conftest.
$ac_ext
10311 LIBS
=$ac_check_lib_save_LIBS
10313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10314 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10315 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10316 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10319 lt_cv_dlopen
="dyld"
10321 lt_cv_dlopen_self
=yes
10328 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10329 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10330 lt_cv_dlopen
="shl_load"
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10333 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10334 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10335 $as_echo_n "(cached) " >&6
10337 ac_check_lib_save_LIBS
=$LIBS
10339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10340 /* end confdefs.h. */
10342 /* Override any GCC internal prototype to avoid an error.
10343 Use char because int might match the return type of a GCC
10344 builtin and then its argument prototype would still apply. */
10352 return shl_load ();
10357 if ac_fn_c_try_link
"$LINENO"; then :
10358 ac_cv_lib_dld_shl_load
=yes
10360 ac_cv_lib_dld_shl_load
=no
10362 rm -f core conftest.err conftest.
$ac_objext \
10363 conftest
$ac_exeext conftest.
$ac_ext
10364 LIBS
=$ac_check_lib_save_LIBS
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10367 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10368 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10369 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10371 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10372 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10373 lt_cv_dlopen
="dlopen"
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10376 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10377 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10378 $as_echo_n "(cached) " >&6
10380 ac_check_lib_save_LIBS
=$LIBS
10382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10383 /* end confdefs.h. */
10385 /* Override any GCC internal prototype to avoid an error.
10386 Use char because int might match the return type of a GCC
10387 builtin and then its argument prototype would still apply. */
10400 if ac_fn_c_try_link
"$LINENO"; then :
10401 ac_cv_lib_dl_dlopen
=yes
10403 ac_cv_lib_dl_dlopen
=no
10405 rm -f core conftest.err conftest.
$ac_objext \
10406 conftest
$ac_exeext conftest.
$ac_ext
10407 LIBS
=$ac_check_lib_save_LIBS
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10410 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10411 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10412 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10415 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10416 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10417 $as_echo_n "(cached) " >&6
10419 ac_check_lib_save_LIBS
=$LIBS
10420 LIBS
="-lsvld $LIBS"
10421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10422 /* end confdefs.h. */
10424 /* Override any GCC internal prototype to avoid an error.
10425 Use char because int might match the return type of a GCC
10426 builtin and then its argument prototype would still apply. */
10439 if ac_fn_c_try_link
"$LINENO"; then :
10440 ac_cv_lib_svld_dlopen
=yes
10442 ac_cv_lib_svld_dlopen
=no
10444 rm -f core conftest.err conftest.
$ac_objext \
10445 conftest
$ac_exeext conftest.
$ac_ext
10446 LIBS
=$ac_check_lib_save_LIBS
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10449 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10450 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10451 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10454 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10455 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10456 $as_echo_n "(cached) " >&6
10458 ac_check_lib_save_LIBS
=$LIBS
10460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10461 /* end confdefs.h. */
10463 /* Override any GCC internal prototype to avoid an error.
10464 Use char because int might match the return type of a GCC
10465 builtin and then its argument prototype would still apply. */
10473 return dld_link ();
10478 if ac_fn_c_try_link
"$LINENO"; then :
10479 ac_cv_lib_dld_dld_link
=yes
10481 ac_cv_lib_dld_dld_link
=no
10483 rm -f core conftest.err conftest.
$ac_objext \
10484 conftest
$ac_exeext conftest.
$ac_ext
10485 LIBS
=$ac_check_lib_save_LIBS
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10488 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10489 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10490 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10511 if test "x$lt_cv_dlopen" != xno
; then
10517 case $lt_cv_dlopen in
10519 save_CPPFLAGS
="$CPPFLAGS"
10520 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10522 save_LDFLAGS
="$LDFLAGS"
10523 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10526 LIBS
="$lt_cv_dlopen_libs $LIBS"
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10529 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10530 if test "${lt_cv_dlopen_self+set}" = set; then :
10531 $as_echo_n "(cached) " >&6
10533 if test "$cross_compiling" = yes; then :
10534 lt_cv_dlopen_self
=cross
10536 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10537 lt_status
=$lt_dlunknown
10538 cat > conftest.
$ac_ext <<_LT_EOF
10539 #line 10539 "configure"
10540 #include "confdefs.h"
10549 # define LT_DLGLOBAL RTLD_GLOBAL
10552 # define LT_DLGLOBAL DL_GLOBAL
10554 # define LT_DLGLOBAL 0
10558 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10559 find out it does not work in some platform. */
10560 #ifndef LT_DLLAZY_OR_NOW
10562 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10565 # define LT_DLLAZY_OR_NOW DL_LAZY
10568 # define LT_DLLAZY_OR_NOW RTLD_NOW
10571 # define LT_DLLAZY_OR_NOW DL_NOW
10573 # define LT_DLLAZY_OR_NOW 0
10580 /* When -fvisbility=hidden is used, assume the code has been annotated
10581 correspondingly for the symbols needed. */
10582 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10583 void fnord () __attribute__((visibility("default")));
10586 void fnord () { int i=42; }
10589 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10590 int status = $lt_dlunknown;
10594 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10597 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10598 else puts (dlerror ());
10600 /* dlclose (self); */
10608 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10609 (eval $ac_link) 2>&5
10611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10612 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10613 (.
/conftest
; exit; ) >&5 2>/dev
/null
10615 case x
$lt_status in
10616 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10617 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10618 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10621 # compilation failed
10622 lt_cv_dlopen_self
=no
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10630 $as_echo "$lt_cv_dlopen_self" >&6; }
10632 if test "x$lt_cv_dlopen_self" = xyes
; then
10633 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10635 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10636 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10637 $as_echo_n "(cached) " >&6
10639 if test "$cross_compiling" = yes; then :
10640 lt_cv_dlopen_self_static
=cross
10642 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10643 lt_status
=$lt_dlunknown
10644 cat > conftest.
$ac_ext <<_LT_EOF
10645 #line 10645 "configure"
10646 #include "confdefs.h"
10655 # define LT_DLGLOBAL RTLD_GLOBAL
10658 # define LT_DLGLOBAL DL_GLOBAL
10660 # define LT_DLGLOBAL 0
10664 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10665 find out it does not work in some platform. */
10666 #ifndef LT_DLLAZY_OR_NOW
10668 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10671 # define LT_DLLAZY_OR_NOW DL_LAZY
10674 # define LT_DLLAZY_OR_NOW RTLD_NOW
10677 # define LT_DLLAZY_OR_NOW DL_NOW
10679 # define LT_DLLAZY_OR_NOW 0
10686 /* When -fvisbility=hidden is used, assume the code has been annotated
10687 correspondingly for the symbols needed. */
10688 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10689 void fnord () __attribute__((visibility("default")));
10692 void fnord () { int i=42; }
10695 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10696 int status = $lt_dlunknown;
10700 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10703 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10704 else puts (dlerror ());
10706 /* dlclose (self); */
10714 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10715 (eval $ac_link) 2>&5
10717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10718 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10719 (.
/conftest
; exit; ) >&5 2>/dev
/null
10721 case x
$lt_status in
10722 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10723 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10724 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10727 # compilation failed
10728 lt_cv_dlopen_self_static
=no
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10736 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10739 CPPFLAGS
="$save_CPPFLAGS"
10740 LDFLAGS
="$save_LDFLAGS"
10745 case $lt_cv_dlopen_self in
10746 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10747 *) enable_dlopen_self
=unknown
;;
10750 case $lt_cv_dlopen_self_static in
10751 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10752 *) enable_dlopen_self_static
=unknown
;;
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10775 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10776 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10777 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10778 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10780 $as_echo "yes" >&6; }
10782 # FIXME - insert some real tests, host_os isn't really good enough
10785 if test -n "$STRIP" ; then
10786 striplib
="$STRIP -x"
10787 old_striplib
="$STRIP -S"
10788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10789 $as_echo "yes" >&6; }
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10792 $as_echo "no" >&6; }
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10797 $as_echo "no" >&6; }
10813 # Report which library types will actually be built
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10815 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10817 $as_echo "$can_build_shared" >&6; }
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10820 $as_echo_n "checking whether to build shared libraries... " >&6; }
10821 test "$can_build_shared" = "no" && enable_shared
=no
10823 # On AIX, shared libraries and static libraries use the same namespace, and
10824 # are all built from PIC.
10827 test "$enable_shared" = yes && enable_static
=no
10828 if test -n "$RANLIB"; then
10829 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10830 postinstall_cmds
='$RANLIB $lib'
10835 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10836 test "$enable_shared" = yes && enable_static
=no
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10841 $as_echo "$enable_shared" >&6; }
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10844 $as_echo_n "checking whether to build static libraries... " >&6; }
10845 # Make sure either enable_shared or enable_static is yes.
10846 test "$enable_shared" = yes || enable_static
=yes
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10848 $as_echo "$enable_static" >&6; }
10855 ac_cpp
='$CPP $CPPFLAGS'
10856 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10857 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10858 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10874 ac_config_commands
="$ac_config_commands libtool"
10879 # Only expand once:
10884 ac_cpp
='$CXXCPP $CPPFLAGS'
10885 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10886 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10887 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10888 if test -z "$CXX"; then
10889 if test -n "$CCC"; then
10892 if test -n "$ac_tool_prefix"; then
10893 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
10895 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10896 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10898 $as_echo_n "checking for $ac_word... " >&6; }
10899 if test "${ac_cv_prog_CXX+set}" = set; then :
10900 $as_echo_n "(cached) " >&6
10902 if test -n "$CXX"; then
10903 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
10905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10906 for as_dir
in $PATH
10909 test -z "$as_dir" && as_dir
=.
10910 for ac_exec_ext
in '' $ac_executable_extensions; do
10911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10912 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
10913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10922 CXX
=$ac_cv_prog_CXX
10923 if test -n "$CXX"; then
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
10925 $as_echo "$CXX" >&6; }
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10928 $as_echo "no" >&6; }
10932 test -n "$CXX" && break
10935 if test -z "$CXX"; then
10937 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
10939 # Extract the first word of "$ac_prog", so it can be a program name with args.
10940 set dummy
$ac_prog; ac_word
=$2
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10942 $as_echo_n "checking for $ac_word... " >&6; }
10943 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
10944 $as_echo_n "(cached) " >&6
10946 if test -n "$ac_ct_CXX"; then
10947 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
10949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10950 for as_dir
in $PATH
10953 test -z "$as_dir" && as_dir
=.
10954 for ac_exec_ext
in '' $ac_executable_extensions; do
10955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10956 ac_cv_prog_ac_ct_CXX
="$ac_prog"
10957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10966 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
10967 if test -n "$ac_ct_CXX"; then
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
10969 $as_echo "$ac_ct_CXX" >&6; }
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10972 $as_echo "no" >&6; }
10976 test -n "$ac_ct_CXX" && break
10979 if test "x$ac_ct_CXX" = x
; then
10982 case $cross_compiling:$ac_tool_warned in
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10985 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10986 ac_tool_warned
=yes ;;
10994 # Provide some information about the compiler.
10995 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
10998 for ac_option
in --version -v -V -qversion; do
10999 { { ac_try
="$ac_compiler $ac_option >&5"
11000 case "(($ac_try" in
11001 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11002 *) ac_try_echo=$ac_try;;
11004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11005 $as_echo "$ac_try_echo"; } >&5
11006 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11008 if test -s conftest.err; then
11010 ... rest of stderr output deleted ...
11011 10q' conftest.err >conftest.er1
11012 cat conftest.er1 >&5
11013 rm -f conftest.er1 conftest.err
11015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11016 test $ac_status = 0; }
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11020 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11021 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
11022 $as_echo_n "(cached) " >&6
11024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11025 /* end confdefs.h. */
11038 if ac_fn_cxx_try_compile "$LINENO"; then :
11039 ac_compiler_gnu=yes
11043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11044 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11048 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11049 if test $ac_compiler_gnu = yes; then
11054 ac_test_CXXFLAGS=${CXXFLAGS+set}
11055 ac_save_CXXFLAGS=$CXXFLAGS
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11057 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
11058 if test "${ac_cv_prog_cxx_g+set}" = set; then :
11059 $as_echo_n "(cached) " >&6
11061 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11062 ac_cxx_werror_flag=yes
11063 ac_cv_prog_cxx_g=no
11065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11066 /* end confdefs.h. */
11076 if ac_fn_cxx_try_compile "$LINENO"; then :
11077 ac_cv_prog_cxx_g=yes
11080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11081 /* end confdefs.h. */
11091 if ac_fn_cxx_try_compile "$LINENO"; then :
11094 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11097 /* end confdefs.h. */
11107 if ac_fn_cxx_try_compile "$LINENO"; then :
11108 ac_cv_prog_cxx_g=yes
11110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11115 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11118 $as_echo "$ac_cv_prog_cxx_g" >&6; }
11119 if test "$ac_test_CXXFLAGS" = set; then
11120 CXXFLAGS=$ac_save_CXXFLAGS
11121 elif test $ac_cv_prog_cxx_g = yes; then
11122 if test "$GXX" = yes; then
11128 if test "$GXX" = yes; then
11135 ac_cpp='$CPP $CPPFLAGS'
11136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11140 depcc="$CXX" am_compiler_list=
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11143 $as_echo_n "checking dependency style of $depcc... " >&6; }
11144 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
11145 $as_echo_n "(cached) " >&6
11147 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11148 # We make a subdir and do the tests there. Otherwise we can end up
11149 # making bogus files that we don't know about and never remove. For
11150 # instance it was reported that on HP-UX the gcc test will end up
11151 # making a dummy file named `D
' -- because `-MD' means
`put the output
11154 # Copy depcomp to subdir because otherwise we won't find it if we're
11155 # using a relative directory.
11156 cp "$am_depcomp" conftest.dir
11158 # We will build objects and dependencies in a subdirectory because
11159 # it helps to detect inapplicable dependency modes. For instance
11160 # both Tru64's cc and ICC support -MD to output dependencies as a
11161 # side effect of compilation, but ICC will put the dependencies in
11162 # the current directory while Tru64 will put them in the object
11166 am_cv_CXX_dependencies_compiler_type=none
11167 if test "$am_compiler_list" = ""; then
11168 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
11170 am__universal=false
11171 case " $depcc " in #(
11172 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11175 for depmode in $am_compiler_list; do
11176 # Setup a source with many dependencies, because some compilers
11177 # like to wrap large dependency lists on column 80 (with \), and
11178 # we should not choose a depcomp mode which is confused by this.
11180 # We need to recreate these files for each test, as the compiler may
11181 # overwrite some of them when testing with obscure command lines.
11182 # This happens at least with the AIX C compiler.
11184 for i in 1 2 3 4 5 6; do
11185 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11186 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
11187 # Solaris 8's
{/usr
,}/bin
/sh.
11188 touch sub
/conftst
$i.h
11190 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11192 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11193 # mode. It turns out that the SunPro C++ compiler does not properly
11194 # handle `-M -o', and we need to detect this. Also, some Intel
11195 # versions had trouble with output in subdirs
11196 am__obj
=sub
/conftest.
${OBJEXT-o}
11197 am__minus_obj
="-o $am__obj"
11200 # This depmode causes a compiler race in universal mode.
11201 test "$am__universal" = false ||
continue
11204 # after this tag, mechanisms are not by side-effect, so they'll
11205 # only be used when explicitly requested
11206 if test "x$enable_dependency_tracking" = xyes
; then
11212 msvisualcpp | msvcmsys
)
11213 # This compiler won't grok `-c -o', but also, the minuso test has
11214 # not run yet. These depmodes are late enough in the game, and
11215 # so weak that their functioning should not be impacted.
11216 am__obj
=conftest.
${OBJEXT-o}
11221 if depmode
=$depmode \
11222 source=sub
/conftest.c object
=$am__obj \
11223 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
11224 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
11225 >/dev
/null
2>conftest.err
&&
11226 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
11227 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
11228 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
11229 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
11230 # icc doesn't choke on unknown options, it will just issue warnings
11231 # or remarks (even with -Werror). So we grep stderr for any message
11232 # that says an option was ignored or not supported.
11233 # When given -MP, icc 7.0 and 7.1 complain thusly:
11234 # icc: Command line warning: ignoring option '-M'; no argument required
11235 # The diagnosis changed in icc 8.0:
11236 # icc: Command line remark: option '-MP' not supported
11237 if (grep 'ignoring option' conftest.err ||
11238 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
11239 am_cv_CXX_dependencies_compiler_type
=$depmode
11246 rm -rf conftest.dir
11248 am_cv_CXX_dependencies_compiler_type
=none
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
11253 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
11254 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
11257 test "x$enable_dependency_tracking" != xno \
11258 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
11259 am__fastdepCXX_TRUE
=
11260 am__fastdepCXX_FALSE
='#'
11262 am__fastdepCXX_TRUE
='#'
11263 am__fastdepCXX_FALSE
=
11267 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11268 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11269 (test "X$CXX" != "Xg++"))) ; then
11271 ac_cpp
='$CXXCPP $CPPFLAGS'
11272 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11273 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11274 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11276 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11277 if test -z "$CXXCPP"; then
11278 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11279 $as_echo_n "(cached) " >&6
11281 # Double quotes because CXXCPP needs to be expanded
11282 for CXXCPP
in "$CXX -E" "/lib/cpp"
11284 ac_preproc_ok
=false
11285 for ac_cxx_preproc_warn_flag
in '' yes
11287 # Use a header file that comes with gcc, so configuring glibc
11288 # with a fresh cross-compiler works.
11289 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11290 # <limits.h> exists even on freestanding compilers.
11291 # On the NeXT, cc -E runs the code through the compiler's parser,
11292 # not just through cpp. "Syntax error" is here to catch this case.
11293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11294 /* end confdefs.h. */
11296 # include <limits.h>
11298 # include <assert.h>
11302 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11305 # Broken: fails on valid input.
11308 rm -f conftest.err conftest.
$ac_ext
11310 # OK, works on sane cases. Now check whether nonexistent headers
11311 # can be detected and how.
11312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11313 /* end confdefs.h. */
11314 #include <ac_nonexistent.h>
11316 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11317 # Broken: success on invalid input.
11320 # Passes both tests.
11324 rm -f conftest.err conftest.
$ac_ext
11327 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11328 rm -f conftest.err conftest.
$ac_ext
11329 if $ac_preproc_ok; then :
11334 ac_cv_prog_CXXCPP
=$CXXCPP
11337 CXXCPP
=$ac_cv_prog_CXXCPP
11339 ac_cv_prog_CXXCPP
=$CXXCPP
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11342 $as_echo "$CXXCPP" >&6; }
11343 ac_preproc_ok
=false
11344 for ac_cxx_preproc_warn_flag
in '' yes
11346 # Use a header file that comes with gcc, so configuring glibc
11347 # with a fresh cross-compiler works.
11348 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11349 # <limits.h> exists even on freestanding compilers.
11350 # On the NeXT, cc -E runs the code through the compiler's parser,
11351 # not just through cpp. "Syntax error" is here to catch this case.
11352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11353 /* end confdefs.h. */
11355 # include <limits.h>
11357 # include <assert.h>
11361 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11364 # Broken: fails on valid input.
11367 rm -f conftest.err conftest.
$ac_ext
11369 # OK, works on sane cases. Now check whether nonexistent headers
11370 # can be detected and how.
11371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11372 /* end confdefs.h. */
11373 #include <ac_nonexistent.h>
11375 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11376 # Broken: success on invalid input.
11379 # Passes both tests.
11383 rm -f conftest.err conftest.
$ac_ext
11386 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11387 rm -f conftest.err conftest.
$ac_ext
11388 if $ac_preproc_ok; then :
11391 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11392 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11393 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
11394 See \`config.log' for more details." "$LINENO" 5; }
11398 ac_cpp
='$CPP $CPPFLAGS'
11399 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11400 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11401 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11404 _lt_caught_CXX_error
=yes
11408 ac_cpp
='$CXXCPP $CPPFLAGS'
11409 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11410 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11411 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11413 archive_cmds_need_lc_CXX
=no
11414 allow_undefined_flag_CXX
=
11415 always_export_symbols_CXX
=no
11416 archive_expsym_cmds_CXX
=
11417 compiler_needs_object_CXX
=no
11418 export_dynamic_flag_spec_CXX
=
11419 hardcode_direct_CXX
=no
11420 hardcode_direct_absolute_CXX
=no
11421 hardcode_libdir_flag_spec_CXX
=
11422 hardcode_libdir_flag_spec_ld_CXX
=
11423 hardcode_libdir_separator_CXX
=
11424 hardcode_minus_L_CXX
=no
11425 hardcode_shlibpath_var_CXX
=unsupported
11426 hardcode_automatic_CXX
=no
11427 inherit_rpath_CXX
=no
11429 module_expsym_cmds_CXX
=
11430 link_all_deplibs_CXX
=unknown
11431 old_archive_cmds_CXX
=$old_archive_cmds
11432 reload_flag_CXX
=$reload_flag
11433 reload_cmds_CXX
=$reload_cmds
11434 no_undefined_flag_CXX
=
11435 whole_archive_flag_spec_CXX
=
11436 enable_shared_with_static_runtimes_CXX
=no
11438 # Source file extension for C++ test sources.
11441 # Object file extension for compiled C++ test sources.
11445 # No sense in running all these tests if we already determined that
11446 # the CXX compiler isn't working. Some variables (like enable_shared)
11447 # are currently assumed to apply to all compilers on this platform,
11448 # and will be corrupted by setting them based on a non-working compiler.
11449 if test "$_lt_caught_CXX_error" != yes; then
11450 # Code to be used in simple compile tests
11451 lt_simple_compile_test_code
="int some_variable = 0;"
11453 # Code to be used in simple link tests
11454 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11456 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11463 # If no C compiler was specified, use CC.
11466 # If no C compiler flags were specified, use CFLAGS.
11467 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11469 # Allow CC to be a program name with arguments.
11473 # save warnings/boilerplate of simple test code
11474 ac_outfile
=conftest.
$ac_objext
11475 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11476 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11477 _lt_compiler_boilerplate
=`cat conftest.err`
11480 ac_outfile
=conftest.
$ac_objext
11481 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11482 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11483 _lt_linker_boilerplate
=`cat conftest.err`
11487 # Allow CC to be a program name with arguments.
11492 lt_save_with_gnu_ld
=$with_gnu_ld
11493 lt_save_path_LD
=$lt_cv_path_LD
11494 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11495 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11497 $as_unset lt_cv_prog_gnu_ld
11499 if test -n "${lt_cv_path_LDCXX+set}"; then
11500 lt_cv_path_LD
=$lt_cv_path_LDCXX
11502 $as_unset lt_cv_path_LD
11504 test -z "${LDCXX+set}" || LD
=$LDCXX
11508 for cc_temp
in $compiler""; do
11510 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11511 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11516 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11519 if test -n "$compiler"; then
11520 # We don't want -fno-exception when compiling C++ code, so set the
11521 # no_builtin_flag separately
11522 if test "$GXX" = yes; then
11523 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11525 lt_prog_compiler_no_builtin_flag_CXX
=
11528 if test "$GXX" = yes; then
11529 # Set up default GNU C++ configuration
11533 # Check whether --with-gnu-ld was given.
11534 if test "${with_gnu_ld+set}" = set; then :
11535 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
11541 if test "$GCC" = yes; then
11542 # Check if gcc -print-prog-name=ld gives a path.
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11544 $as_echo_n "checking for ld used by $CC... " >&6; }
11547 # gcc leaves a trailing carriage return which upsets mingw
11548 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11550 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11553 # Accept absolute paths.
11555 re_direlt
='/[^/][^/]*/\.\./'
11556 # Canonicalize the pathname of ld
11557 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11558 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
11559 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11561 test -z "$LD" && LD
="$ac_prog"
11564 # If it fails, then pretend we aren't using GCC.
11568 # If it is relative, then search for the first ld in PATH.
11569 with_gnu_ld
=unknown
11572 elif test "$with_gnu_ld" = yes; then
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11574 $as_echo_n "checking for GNU ld... " >&6; }
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11577 $as_echo_n "checking for non-GNU ld... " >&6; }
11579 if test "${lt_cv_path_LD+set}" = set; then :
11580 $as_echo_n "(cached) " >&6
11582 if test -z "$LD"; then
11583 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11584 for ac_dir
in $PATH; do
11586 test -z "$ac_dir" && ac_dir
=.
11587 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
11588 lt_cv_path_LD
="$ac_dir/$ac_prog"
11589 # Check to see if the program is GNU ld. I'd rather use --version,
11590 # but apparently some variants of GNU ld only accept -v.
11591 # Break only if it was the GNU/non-GNU ld that we prefer.
11592 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11593 *GNU
* |
*'with BFD'*)
11594 test "$with_gnu_ld" != no
&& break
11597 test "$with_gnu_ld" != yes && break
11604 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11608 LD
="$lt_cv_path_LD"
11609 if test -n "$LD"; then
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11611 $as_echo "$LD" >&6; }
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11614 $as_echo "no" >&6; }
11616 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11618 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11619 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11620 $as_echo_n "(cached) " >&6
11622 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11623 case `$LD -v 2>&1 </dev/null` in
11624 *GNU
* |
*'with BFD'*)
11625 lt_cv_prog_gnu_ld
=yes
11628 lt_cv_prog_gnu_ld
=no
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11633 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11634 with_gnu_ld
=$lt_cv_prog_gnu_ld
11642 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11643 # archiving commands below assume that GNU ld is being used.
11644 if test "$with_gnu_ld" = yes; then
11645 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11646 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'
11648 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11649 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11651 # If archive_cmds runs LD, not CC, wlarc should be empty
11652 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11653 # investigate it a little bit more. (MM)
11656 # ancient GNU ld didn't support --whole-archive et. al.
11657 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11658 $GREP 'no-whole-archive' > /dev
/null
; then
11659 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11661 whole_archive_flag_spec_CXX
=
11667 # A generic and very simple default shared library creation
11668 # command for GNU C++ for the case where it uses the native
11669 # linker, instead of GNU ld. If possible, this setting should
11670 # overridden to take advantage of the native linker features on
11671 # the platform it is being used on.
11672 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11675 # Commands to make compiler produce verbose output that lists
11676 # what "hidden" libraries, object files and flags are used when
11677 # linking a shared library.
11678 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
11686 # PORTME: fill in a description of your system's C++ link characteristics
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11688 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11692 # FIXME: insert proper C++ library support
11696 if test "$host_cpu" = ia64
; then
11697 # On IA64, the linker does run time linking by default, so we don't
11698 # have to do anything special.
11699 aix_use_runtimelinking
=no
11700 exp_sym_flag
='-Bexport'
11703 aix_use_runtimelinking
=no
11705 # Test if we are trying to use run time linking or normal
11706 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11707 # need to do runtime linking.
11708 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11709 for ld_flag
in $LDFLAGS; do
11712 aix_use_runtimelinking
=yes
11720 exp_sym_flag
='-bexport'
11721 no_entry_flag
='-bnoentry'
11724 # When large executables or shared objects are built, AIX ld can
11725 # have problems creating the table of contents. If linking a library
11726 # or program results in "error TOC overflow" add -mminimal-toc to
11727 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11728 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11730 archive_cmds_CXX
=''
11731 hardcode_direct_CXX
=yes
11732 hardcode_direct_absolute_CXX
=yes
11733 hardcode_libdir_separator_CXX
=':'
11734 link_all_deplibs_CXX
=yes
11735 file_list_spec_CXX
='${wl}-f,'
11737 if test "$GXX" = yes; then
11738 case $host_os in aix4.
[012]|aix4.
[012].
*)
11739 # We only want to do this on AIX 4.2 and lower, the check
11740 # below for broken collect2 doesn't work under 4.3+
11741 collect2name
=`${CC} -print-prog-name=collect2`
11742 if test -f "$collect2name" &&
11743 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11745 # We have reworked collect2
11748 # We have old collect2
11749 hardcode_direct_CXX
=unsupported
11750 # It fails to find uninstalled libraries when the uninstalled
11751 # path is not listed in the libpath. Setting hardcode_minus_L
11752 # to unsupported forces relinking
11753 hardcode_minus_L_CXX
=yes
11754 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11755 hardcode_libdir_separator_CXX
=
11758 shared_flag
='-shared'
11759 if test "$aix_use_runtimelinking" = yes; then
11760 shared_flag
="$shared_flag "'${wl}-G'
11764 if test "$host_cpu" = ia64
; then
11765 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11766 # chokes on -Wl,-G. The following line is correct:
11769 if test "$aix_use_runtimelinking" = yes; then
11770 shared_flag
='${wl}-G'
11772 shared_flag
='${wl}-bM:SRE'
11777 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
11778 # It seems that -bexpall does not export symbols beginning with
11779 # underscore (_), so it is better to generate a list of symbols to
11781 always_export_symbols_CXX
=yes
11782 if test "$aix_use_runtimelinking" = yes; then
11783 # Warning - without using the other runtime loading flags (-brtl),
11784 # -berok will link without error, but may produce a broken library.
11785 allow_undefined_flag_CXX
='-berok'
11786 # Determine the default libpath from the value encoded in an empty
11788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11789 /* end confdefs.h. */
11799 if ac_fn_cxx_try_link
"$LINENO"; then :
11801 lt_aix_libpath_sed
='
11802 /Import File Strings/,/^$/ {
11808 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11809 # Check for a 64-bit object if we didn't find anything.
11810 if test -z "$aix_libpath"; then
11811 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11814 rm -f core conftest.err conftest.
$ac_objext \
11815 conftest
$ac_exeext conftest.
$ac_ext
11816 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11818 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11820 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"
11822 if test "$host_cpu" = ia64
; then
11823 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11824 allow_undefined_flag_CXX
="-z nodefs"
11825 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"
11827 # Determine the default libpath from the value encoded in an
11828 # empty executable.
11829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11830 /* end confdefs.h. */
11840 if ac_fn_cxx_try_link
"$LINENO"; then :
11842 lt_aix_libpath_sed
='
11843 /Import File Strings/,/^$/ {
11849 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11850 # Check for a 64-bit object if we didn't find anything.
11851 if test -z "$aix_libpath"; then
11852 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11855 rm -f core conftest.err conftest.
$ac_objext \
11856 conftest
$ac_exeext conftest.
$ac_ext
11857 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11859 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11860 # Warning - without using the other run time loading flags,
11861 # -berok will link without error, but may produce a broken library.
11862 no_undefined_flag_CXX
=' ${wl}-bernotok'
11863 allow_undefined_flag_CXX
=' ${wl}-berok'
11864 if test "$with_gnu_ld" = yes; then
11865 # We only use this code for GNU lds that support --whole-archive.
11866 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11868 # Exported symbols can be pulled into shared objects from archives
11869 whole_archive_flag_spec_CXX
='$convenience'
11871 archive_cmds_need_lc_CXX
=yes
11872 # This is similar to how AIX traditionally builds its shared
11874 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'
11880 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11881 allow_undefined_flag_CXX
=unsupported
11882 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11883 # support --undefined. This deserves some investigation. FIXME
11884 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11891 case $cc_basename in
11893 # FIXME: insert proper C++ library support
11899 cygwin
* | mingw
* | pw32
* | cegcc
*)
11900 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11901 # as there is no search path for DLLs.
11902 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11903 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
11904 allow_undefined_flag_CXX
=unsupported
11905 always_export_symbols_CXX
=no
11906 enable_shared_with_static_runtimes_CXX
=yes
11908 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
11909 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'
11910 # If the export-symbols file already is a .def file (1st line
11911 # is EXPORTS), use it as is; otherwise, prepend...
11912 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11913 cp $export_symbols $output_objdir/$soname.def;
11915 echo EXPORTS > $output_objdir/$soname.def;
11916 cat $export_symbols >> $output_objdir/$soname.def;
11918 $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'
11923 darwin
* | rhapsody
*)
11926 archive_cmds_need_lc_CXX
=no
11927 hardcode_direct_CXX
=no
11928 hardcode_automatic_CXX
=yes
11929 hardcode_shlibpath_var_CXX
=unsupported
11930 if test "$lt_cv_ld_force_load" = "yes"; then
11931 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\"`'
11933 whole_archive_flag_spec_CXX
=''
11935 link_all_deplibs_CXX
=yes
11936 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
11937 case $cc_basename in
11938 ifort
*) _lt_dar_can_shared
=yes ;;
11939 *) _lt_dar_can_shared
=$GCC ;;
11941 if test "$_lt_dar_can_shared" = "yes"; then
11942 output_verbose_link_cmd
=func_echo_all
11943 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}"
11944 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11945 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}"
11946 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}"
11947 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11948 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}"
11949 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}"
11959 case $cc_basename in
11961 # FIXME: insert proper C++ library support
11965 # Green Hills C++ Compiler
11966 # FIXME: insert proper C++ library support
11970 # FIXME: insert proper C++ library support
11977 # C++ shared libraries reported to be fairly broken before
11983 archive_cmds_need_lc_CXX
=no
11986 freebsd
* | dragonfly
*)
11987 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11996 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11997 link_all_deplibs_CXX
=yes
12001 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12002 hardcode_libdir_separator_CXX
=:
12003 export_dynamic_flag_spec_CXX
='${wl}-E'
12004 hardcode_direct_CXX
=yes
12005 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12006 # but as the default
12007 # location of the library.
12009 case $cc_basename in
12011 # FIXME: insert proper C++ library support
12015 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'
12016 # Commands to make compiler produce verbose output that lists
12017 # what "hidden" libraries, object files and flags are used when
12018 # linking a shared library.
12020 # There doesn't appear to be a way to prevent this compiler from
12021 # explicitly linking system object files so we need to strip them
12022 # from the output so that they don't get included in the library
12024 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"'
12027 if test "$GXX" = yes; then
12028 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'
12030 # FIXME: insert proper C++ library support
12038 if test $with_gnu_ld = no
; then
12039 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12040 hardcode_libdir_separator_CXX
=:
12046 export_dynamic_flag_spec_CXX
='${wl}-E'
12052 hardcode_direct_CXX
=no
12053 hardcode_shlibpath_var_CXX
=no
12056 hardcode_direct_CXX
=yes
12057 hardcode_direct_absolute_CXX
=yes
12058 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12059 # but as the default
12060 # location of the library.
12064 case $cc_basename in
12066 # FIXME: insert proper C++ library support
12072 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12075 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12078 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12081 # Commands to make compiler produce verbose output that lists
12082 # what "hidden" libraries, object files and flags are used when
12083 # linking a shared library.
12085 # There doesn't appear to be a way to prevent this compiler from
12086 # explicitly linking system object files so we need to strip them
12087 # from the output so that they don't get included in the library
12089 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"'
12092 if test "$GXX" = yes; then
12093 if test $with_gnu_ld = no
; then
12096 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12099 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12102 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'
12107 # FIXME: insert proper C++ library support
12115 hardcode_direct_CXX
=no
12116 hardcode_shlibpath_var_CXX
=no
12117 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12118 export_dynamic_flag_spec_CXX
='${wl}-E'
12119 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12120 # Instead, shared libraries are loaded at an image base (0x10000000 by
12121 # default) and relocated if they conflict, which is a slow very memory
12122 # consuming and fragmenting process. To avoid this, we pick a random,
12123 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12124 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12125 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'
12126 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'
12129 case $cc_basename in
12132 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'
12134 # Archives containing C++ object files must be created using
12135 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12136 # necessary to make sure instantiated templates are included
12138 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12141 if test "$GXX" = yes; then
12142 if test "$with_gnu_ld" = no
; then
12143 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'
12145 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'
12148 link_all_deplibs_CXX
=yes
12151 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12152 hardcode_libdir_separator_CXX
=:
12153 inherit_rpath_CXX
=yes
12156 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12157 case $cc_basename in
12159 # Kuck and Associates, Inc. (KAI) C++ Compiler
12161 # KCC will only create a shared library if the output file
12162 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12163 # to its proper name (with version) after linking.
12164 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'
12165 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'
12166 # Commands to make compiler produce verbose output that lists
12167 # what "hidden" libraries, object files and flags are used when
12168 # linking a shared library.
12170 # There doesn't appear to be a way to prevent this compiler from
12171 # explicitly linking system object files so we need to strip them
12172 # from the output so that they don't get included in the library
12174 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"'
12176 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12177 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12179 # Archives containing C++ object files must be created using
12180 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12181 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12186 # version 8.0 and above of icpc choke on multiply defined symbols
12187 # if we add $predep_objects and $postdep_objects, however 7.1 and
12188 # earlier do not add the objects themselves.
12189 case `$CC -V 2>&1` in
12191 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12192 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'
12194 *) # Version 8.0 or newer
12197 ia64
*) tmp_idyn
=' -i_dynamic';;
12199 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12200 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'
12203 archive_cmds_need_lc_CXX
=no
12204 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12205 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12206 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12209 # Portland Group C++ compiler
12211 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12212 prelink_cmds_CXX
='tpldir=Template.dir~
12214 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12215 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12216 old_archive_cmds_CXX
='tpldir=Template.dir~
12218 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12219 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12221 archive_cmds_CXX
='tpldir=Template.dir~
12223 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12224 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12225 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12227 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12228 $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'
12230 *) # Version 6 and above use weak symbols
12231 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12232 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'
12236 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12237 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12238 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'
12242 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12243 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'
12245 runpath_var
=LD_RUN_PATH
12246 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12247 hardcode_libdir_separator_CXX
=:
12249 # Commands to make compiler produce verbose output that lists
12250 # what "hidden" libraries, object files and flags are used when
12251 # linking a shared library.
12253 # There doesn't appear to be a way to prevent this compiler from
12254 # explicitly linking system object files so we need to strip them
12255 # from the output so that they don't get included in the library
12257 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'
12259 xl
* | mpixl
* | bgxl
*)
12260 # IBM XL 8.0 on PPC, with GNU ld
12261 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12262 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12263 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12264 if test "x$supports_anon_versioning" = xyes
; then
12265 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12266 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12267 echo "local: *; };" >> $output_objdir/$libname.ver~
12268 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12272 case `$CC -V 2>&1 | sed 5q` in
12275 no_undefined_flag_CXX
=' -zdefs'
12276 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12277 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'
12278 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12279 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'
12280 compiler_needs_object_CXX
=yes
12282 # Not sure whether something based on
12283 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12285 output_verbose_link_cmd
='func_echo_all'
12287 # Archives containing C++ object files must be created using
12288 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12289 # necessary to make sure instantiated templates are included
12291 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12299 # FIXME: insert proper C++ library support
12304 # FIXME: insert proper C++ library support
12309 case $cc_basename in
12311 # FIXME: insert proper C++ library support
12315 # FIXME: insert proper C++ library support
12322 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12323 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12325 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12326 hardcode_direct_CXX
=yes
12327 hardcode_shlibpath_var_CXX
=no
12329 # Workaround some broken pre-1.5 toolchains
12330 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12338 # C++ shared libraries are fairly broken
12343 if test -f /usr
/libexec
/ld.so
; then
12344 hardcode_direct_CXX
=yes
12345 hardcode_shlibpath_var_CXX
=no
12346 hardcode_direct_absolute_CXX
=yes
12347 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12348 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12349 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12350 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12351 export_dynamic_flag_spec_CXX
='${wl}-E'
12352 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12354 output_verbose_link_cmd
=func_echo_all
12360 osf3
* | osf4
* | osf5
*)
12361 case $cc_basename in
12363 # Kuck and Associates, Inc. (KAI) C++ Compiler
12365 # KCC will only create a shared library if the output file
12366 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12367 # to its proper name (with version) after linking.
12368 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'
12370 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12371 hardcode_libdir_separator_CXX
=:
12373 # Archives containing C++ object files must be created using
12374 # the KAI C++ compiler.
12376 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12377 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12381 # Rational C++ 2.4.1
12382 # FIXME: insert proper C++ library support
12388 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12389 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'
12390 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12393 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12394 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'
12395 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12396 echo "-hidden">> $lib.exp~
12397 $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~
12399 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12403 hardcode_libdir_separator_CXX
=:
12405 # Commands to make compiler produce verbose output that lists
12406 # what "hidden" libraries, object files and flags are used when
12407 # linking a shared library.
12409 # There doesn't appear to be a way to prevent this compiler from
12410 # explicitly linking system object files so we need to strip them
12411 # from the output so that they don't get included in the library
12413 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"'
12416 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12417 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12420 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'
12423 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'
12427 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12428 hardcode_libdir_separator_CXX
=:
12430 # Commands to make compiler produce verbose output that lists
12431 # what "hidden" libraries, object files and flags are used when
12432 # linking a shared library.
12433 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12436 # FIXME: insert proper C++ library support
12444 # FIXME: insert proper C++ library support
12449 case $cc_basename in
12452 # FIXME: insert proper C++ library support
12457 # FIXME: insert proper C++ library support
12461 # FIXME: insert proper C++ library support
12468 case $cc_basename in
12470 # Sun C++ 4.2, 5.x and Centerline C++
12471 archive_cmds_need_lc_CXX
=yes
12472 no_undefined_flag_CXX
=' -zdefs'
12473 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12474 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12475 $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'
12477 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12478 hardcode_shlibpath_var_CXX
=no
12480 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12482 # The compiler driver will combine and reorder linker options,
12483 # but understands `-z linker_flag'.
12484 # Supported since Solaris 2.6 (maybe 2.5.1?)
12485 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12488 link_all_deplibs_CXX
=yes
12490 output_verbose_link_cmd
='func_echo_all'
12492 # Archives containing C++ object files must be created using
12493 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12494 # necessary to make sure instantiated templates are included
12496 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12499 # Green Hills C++ Compiler
12500 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12502 # The C++ compiler must be used to create the archive.
12503 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12506 # GNU C++ compiler with Solaris linker
12507 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12508 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12509 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
12510 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12511 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12512 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12514 # Commands to make compiler produce verbose output that lists
12515 # what "hidden" libraries, object files and flags are used when
12516 # linking a shared library.
12517 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12519 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12521 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12522 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12523 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12525 # Commands to make compiler produce verbose output that lists
12526 # what "hidden" libraries, object files and flags are used when
12527 # linking a shared library.
12528 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12531 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12533 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12535 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12543 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12544 no_undefined_flag_CXX
='${wl}-z,text'
12545 archive_cmds_need_lc_CXX
=no
12546 hardcode_shlibpath_var_CXX
=no
12547 runpath_var
='LD_RUN_PATH'
12549 case $cc_basename in
12551 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12552 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12555 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12556 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12561 sysv5
* | sco3.2v5
* | sco5v6
*)
12562 # Note: We can NOT use -z defs as we might desire, because we do not
12563 # link with -lc, and that would cause any symbols used from libc to
12564 # always be unresolved, which means just about no library would
12565 # ever link correctly. If we're not using GNU ld we use -z text
12566 # though, which does catch some bad symbols but isn't as heavy-handed
12568 no_undefined_flag_CXX
='${wl}-z,text'
12569 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12570 archive_cmds_need_lc_CXX
=no
12571 hardcode_shlibpath_var_CXX
=no
12572 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
12573 hardcode_libdir_separator_CXX
=':'
12574 link_all_deplibs_CXX
=yes
12575 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12576 runpath_var
='LD_RUN_PATH'
12578 case $cc_basename in
12580 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12581 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12582 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
12583 '"$old_archive_cmds_CXX"
12584 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
12585 '"$reload_cmds_CXX"
12588 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12589 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12595 case $cc_basename in
12597 # NonStop-UX NCC 3.20
12598 # FIXME: insert proper C++ library support
12602 # FIXME: insert proper C++ library support
12609 # FIXME: insert proper C++ library support
12614 # FIXME: insert proper C++ library support
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12620 $as_echo "$ld_shlibs_CXX" >&6; }
12621 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12627 ## There is no encapsulation within the following macros, do not change
12628 ## the running order or otherwise move them around unless you know exactly
12629 ## what you are doing...
12630 # Dependencies to place before and after the object being linked:
12631 predep_objects_CXX
=
12632 postdep_objects_CXX
=
12635 compiler_lib_search_path_CXX
=
12637 cat > conftest.
$ac_ext <<_LT_EOF
12641 Foo (void) { a = 0; }
12647 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12648 (eval $ac_compile) 2>&5
12650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12651 test $ac_status = 0; }; then
12652 # Parse the compiler output and extract the necessary
12653 # objects, libraries and library flags.
12655 # Sentinel used to keep track of whether or not we are before
12656 # the conftest object file.
12657 pre_test_object_deps_done
=no
12659 for p
in `eval "$output_verbose_link_cmd"`; do
12663 # Some compilers place space between "-{L,R}" and the path.
12664 # Remove the space.
12665 if test $p = "-L" ||
12666 test $p = "-R"; then
12673 if test "$pre_test_object_deps_done" = no
; then
12676 # Internal compiler library paths should come after those
12677 # provided the user. The postdeps already come after the
12678 # user supplied libs so there is no need to process them.
12679 if test -z "$compiler_lib_search_path_CXX"; then
12680 compiler_lib_search_path_CXX
="${prev}${p}"
12682 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12685 # The "-l" case would never come before the object being
12686 # linked, so don't bother handling this case.
12689 if test -z "$postdeps_CXX"; then
12690 postdeps_CXX
="${prev}${p}"
12692 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12698 # This assumes that the test object file only shows up
12699 # once in the compiler output.
12700 if test "$p" = "conftest.$objext"; then
12701 pre_test_object_deps_done
=yes
12705 if test "$pre_test_object_deps_done" = no
; then
12706 if test -z "$predep_objects_CXX"; then
12707 predep_objects_CXX
="$p"
12709 predep_objects_CXX
="$predep_objects_CXX $p"
12712 if test -z "$postdep_objects_CXX"; then
12713 postdep_objects_CXX
="$p"
12715 postdep_objects_CXX
="$postdep_objects_CXX $p"
12720 *) ;; # Ignore the rest.
12728 echo "libtool.m4: error: problem compiling CXX test program"
12731 $RM -f confest.
$objext
12733 # PORTME: override above test on systems where it is broken
12736 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12737 # hack all around it, let's just trust "g++" to DTRT.
12738 predep_objects_CXX
=
12739 postdep_objects_CXX
=
12744 case `$CC -V 2>&1 | sed 5q` in
12748 # The more standards-conforming stlport4 library is
12749 # incompatible with the Cstd library. Avoid specifying
12750 # it if it's in CXXFLAGS. Ignore libCrun as
12751 # -library=stlport4 depends on it.
12752 case " $CXX $CXXFLAGS " in
12753 *" -library=stlport4 "*)
12754 solaris_use_stlport4
=yes
12758 if test "$solaris_use_stlport4" != yes; then
12759 postdeps_CXX
='-library=Cstd -library=Crun'
12766 case $cc_basename in
12768 # The more standards-conforming stlport4 library is
12769 # incompatible with the Cstd library. Avoid specifying
12770 # it if it's in CXXFLAGS. Ignore libCrun as
12771 # -library=stlport4 depends on it.
12772 case " $CXX $CXXFLAGS " in
12773 *" -library=stlport4 "*)
12774 solaris_use_stlport4
=yes
12778 # Adding this requires a known-good setup of shared libraries for
12779 # Sun compiler versions before 5.6, else PIC objects from an old
12780 # archive will be linked into the output, leading to subtle bugs.
12781 if test "$solaris_use_stlport4" != yes; then
12782 postdeps_CXX
='-library=Cstd -library=Crun'
12790 case " $postdeps_CXX " in
12791 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12793 compiler_lib_search_dirs_CXX
=
12794 if test -n "${compiler_lib_search_path_CXX}"; then
12795 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12828 lt_prog_compiler_wl_CXX
=
12829 lt_prog_compiler_pic_CXX
=
12830 lt_prog_compiler_static_CXX
=
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12833 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12835 # C++ specific cases for pic, static, wl, etc.
12836 if test "$GXX" = yes; then
12837 lt_prog_compiler_wl_CXX
='-Wl,'
12838 lt_prog_compiler_static_CXX
='-static'
12842 # All AIX code is PIC.
12843 if test "$host_cpu" = ia64
; then
12844 # AIX 5 now supports IA64 processor
12845 lt_prog_compiler_static_CXX
='-Bstatic'
12847 lt_prog_compiler_pic_CXX
='-fPIC'
12853 # see comment about AmigaOS4 .so support
12854 lt_prog_compiler_pic_CXX
='-fPIC'
12857 # FIXME: we need at least 68020 code to build shared libraries, but
12858 # adding the `-m68020' flag to GCC prevents building anything better,
12860 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12865 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12866 # PIC is the default for these OSes.
12868 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
12869 # This hack is so that the source file can tell whether it is being
12870 # built for inclusion in a dll (and should export symbols for example).
12871 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12872 # (--disable-auto-import) libraries
12873 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12875 darwin
* | rhapsody
*)
12876 # PIC is the default on this platform
12877 # Common symbols not allowed in MH_DYLIB files
12878 lt_prog_compiler_pic_CXX
='-fno-common'
12881 # DJGPP does not support shared libraries at all
12882 lt_prog_compiler_pic_CXX
=
12885 # PIC is the default for Haiku.
12886 # The "-static" flag exists, but is broken.
12887 lt_prog_compiler_static_CXX
=
12890 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12891 # Instead, we relocate shared libraries at runtime.
12894 if test -d /usr
/nec
; then
12895 lt_prog_compiler_pic_CXX
=-Kconform_pic
12899 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12900 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12901 # sets the default TLS model and affects inlining.
12906 lt_prog_compiler_pic_CXX
='-fPIC'
12911 # QNX uses GNU C++, but need to define -shared option too, otherwise
12912 # it will coredump.
12913 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12916 lt_prog_compiler_pic_CXX
='-fPIC'
12922 # All AIX code is PIC.
12923 if test "$host_cpu" = ia64
; then
12924 # AIX 5 now supports IA64 processor
12925 lt_prog_compiler_static_CXX
='-Bstatic'
12927 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12931 case $cc_basename in
12933 # Green Hills C++ Compiler
12934 # _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"
12939 case $cc_basename in
12941 lt_prog_compiler_pic_CXX
='-KPIC'
12944 # Green Hills C++ Compiler
12945 lt_prog_compiler_pic_CXX
='-pic'
12951 freebsd
* | dragonfly
*)
12952 # FreeBSD uses GNU C++
12954 hpux9
* | hpux10
* | hpux11
*)
12955 case $cc_basename in
12957 lt_prog_compiler_wl_CXX
='-Wl,'
12958 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12959 if test "$host_cpu" != ia64
; then
12960 lt_prog_compiler_pic_CXX
='+Z'
12964 lt_prog_compiler_wl_CXX
='-Wl,'
12965 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12971 lt_prog_compiler_pic_CXX
='+Z'
12980 # This is c89, which is MS Visual C++ (no shared libs)
12981 # Anyone wants to do a port?
12983 irix5
* | irix6
* | nonstopux
*)
12984 case $cc_basename in
12986 lt_prog_compiler_wl_CXX
='-Wl,'
12987 lt_prog_compiler_static_CXX
='-non_shared'
12988 # CC pic flag -KPIC is the default.
12994 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12995 case $cc_basename in
12998 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12999 lt_prog_compiler_pic_CXX
='-fPIC'
13002 # old Intel C++ for x86_64 which still supported -KPIC.
13003 lt_prog_compiler_wl_CXX
='-Wl,'
13004 lt_prog_compiler_pic_CXX
='-KPIC'
13005 lt_prog_compiler_static_CXX
='-static'
13008 # Intel C++, used to be incompatible with GCC.
13009 # ICC 10 doesn't accept -KPIC any more.
13010 lt_prog_compiler_wl_CXX
='-Wl,'
13011 lt_prog_compiler_pic_CXX
='-fPIC'
13012 lt_prog_compiler_static_CXX
='-static'
13015 # Portland Group C++ compiler
13016 lt_prog_compiler_wl_CXX
='-Wl,'
13017 lt_prog_compiler_pic_CXX
='-fpic'
13018 lt_prog_compiler_static_CXX
='-Bstatic'
13022 # Make sure the PIC flag is empty. It appears that all Alpha
13023 # Linux and Compaq Tru64 Unix objects are PIC.
13024 lt_prog_compiler_pic_CXX
=
13025 lt_prog_compiler_static_CXX
='-non_shared'
13027 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13028 # IBM XL 8.0, 9.0 on PPC and BlueGene
13029 lt_prog_compiler_wl_CXX
='-Wl,'
13030 lt_prog_compiler_pic_CXX
='-qpic'
13031 lt_prog_compiler_static_CXX
='-qstaticlink'
13034 case `$CC -V 2>&1 | sed 5q` in
13037 lt_prog_compiler_pic_CXX
='-KPIC'
13038 lt_prog_compiler_static_CXX
='-Bstatic'
13039 lt_prog_compiler_wl_CXX
='-Qoption ld '
13050 case $cc_basename in
13052 lt_prog_compiler_pic_CXX
='-W c,exportall'
13061 # QNX uses GNU C++, but need to define -shared option too, otherwise
13062 # it will coredump.
13063 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13065 osf3
* | osf4
* | osf5
*)
13066 case $cc_basename in
13068 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13071 # Rational C++ 2.4.1
13072 lt_prog_compiler_pic_CXX
='-pic'
13075 # Digital/Compaq C++
13076 lt_prog_compiler_wl_CXX
='-Wl,'
13077 # Make sure the PIC flag is empty. It appears that all Alpha
13078 # Linux and Compaq Tru64 Unix objects are PIC.
13079 lt_prog_compiler_pic_CXX
=
13080 lt_prog_compiler_static_CXX
='-non_shared'
13089 case $cc_basename in
13091 # Sun C++ 4.2, 5.x and Centerline C++
13092 lt_prog_compiler_pic_CXX
='-KPIC'
13093 lt_prog_compiler_static_CXX
='-Bstatic'
13094 lt_prog_compiler_wl_CXX
='-Qoption ld '
13097 # Green Hills C++ Compiler
13098 lt_prog_compiler_pic_CXX
='-PIC'
13105 case $cc_basename in
13108 lt_prog_compiler_pic_CXX
='-pic'
13109 lt_prog_compiler_static_CXX
='-Bstatic'
13113 lt_prog_compiler_pic_CXX
='-pic'
13119 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13120 case $cc_basename in
13122 lt_prog_compiler_wl_CXX
='-Wl,'
13123 lt_prog_compiler_pic_CXX
='-KPIC'
13124 lt_prog_compiler_static_CXX
='-Bstatic'
13129 case $cc_basename in
13131 # NonStop-UX NCC 3.20
13132 lt_prog_compiler_pic_CXX
='-KPIC'
13141 lt_prog_compiler_can_build_shared_CXX
=no
13147 # For platforms which do not support PIC, -DPIC is meaningless:
13149 lt_prog_compiler_pic_CXX
=
13152 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13156 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13161 # Check to make sure the PIC flag actually works.
13163 if test -n "$lt_prog_compiler_pic_CXX"; then
13164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13165 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13166 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13167 $as_echo_n "(cached) " >&6
13169 lt_cv_prog_compiler_pic_works_CXX
=no
13170 ac_outfile
=conftest.
$ac_objext
13171 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13172 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13173 # Insert the option either (1) after the last *FLAGS variable, or
13174 # (2) before a word containing "conftest.", or (3) at the end.
13175 # Note that $ac_compile itself does not contain backslashes and begins
13176 # with a dollar sign (not a hyphen), so the echo should work correctly.
13177 # The option is referenced via a variable to avoid confusing sed.
13178 lt_compile
=`echo "$ac_compile" | $SED \
13179 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13180 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13181 -e 's:$: $lt_compiler_flag:'`
13182 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13183 (eval "$lt_compile" 2>conftest.err
)
13185 cat conftest.err
>&5
13186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13187 if (exit $ac_status) && test -s "$ac_outfile"; then
13188 # The compiler can only warn and ignore the option if not recognized
13189 # So say no if there are warnings other than the usual output.
13190 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13191 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13192 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13193 lt_cv_prog_compiler_pic_works_CXX
=yes
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13200 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13202 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13203 case $lt_prog_compiler_pic_CXX in
13205 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13208 lt_prog_compiler_pic_CXX
=
13209 lt_prog_compiler_can_build_shared_CXX
=no
13217 # Check to make sure the static flag actually works.
13219 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13221 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13222 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13223 $as_echo_n "(cached) " >&6
13225 lt_cv_prog_compiler_static_works_CXX
=no
13226 save_LDFLAGS
="$LDFLAGS"
13227 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13228 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13229 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13230 # The linker can only warn and ignore the option if not recognized
13231 # So say no if there are warnings
13232 if test -s conftest.err
; then
13233 # Append any errors to the config.log.
13234 cat conftest.err
1>&5
13235 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13236 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13237 if diff conftest.exp conftest.er2
>/dev
/null
; then
13238 lt_cv_prog_compiler_static_works_CXX
=yes
13241 lt_cv_prog_compiler_static_works_CXX
=yes
13245 LDFLAGS
="$save_LDFLAGS"
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13249 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13251 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13254 lt_prog_compiler_static_CXX
=
13260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13261 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13262 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13263 $as_echo_n "(cached) " >&6
13265 lt_cv_prog_compiler_c_o_CXX
=no
13266 $RM -r conftest
2>/dev
/null
13270 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13272 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13273 # Insert the option either (1) after the last *FLAGS variable, or
13274 # (2) before a word containing "conftest.", or (3) at the end.
13275 # Note that $ac_compile itself does not contain backslashes and begins
13276 # with a dollar sign (not a hyphen), so the echo should work correctly.
13277 lt_compile
=`echo "$ac_compile" | $SED \
13278 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13279 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13280 -e 's:$: $lt_compiler_flag:'`
13281 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13282 (eval "$lt_compile" 2>out
/conftest.err
)
13284 cat out
/conftest.err
>&5
13285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13286 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13288 # The compiler can only warn and ignore the option if not recognized
13289 # So say no if there are warnings
13290 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13291 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13292 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13293 lt_cv_prog_compiler_c_o_CXX
=yes
13298 # SGI C++ compiler will create directory out/ii_files/ for
13299 # template instantiation
13300 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13301 $RM out
/* && rmdir out
13307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13308 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13313 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13314 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13315 $as_echo_n "(cached) " >&6
13317 lt_cv_prog_compiler_c_o_CXX
=no
13318 $RM -r conftest
2>/dev
/null
13322 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13324 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13325 # Insert the option either (1) after the last *FLAGS variable, or
13326 # (2) before a word containing "conftest.", or (3) at the end.
13327 # Note that $ac_compile itself does not contain backslashes and begins
13328 # with a dollar sign (not a hyphen), so the echo should work correctly.
13329 lt_compile
=`echo "$ac_compile" | $SED \
13330 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13331 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13332 -e 's:$: $lt_compiler_flag:'`
13333 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13334 (eval "$lt_compile" 2>out
/conftest.err
)
13336 cat out
/conftest.err
>&5
13337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13338 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13340 # The compiler can only warn and ignore the option if not recognized
13341 # So say no if there are warnings
13342 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13343 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13344 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13345 lt_cv_prog_compiler_c_o_CXX
=yes
13350 # SGI C++ compiler will create directory out/ii_files/ for
13351 # template instantiation
13352 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13353 $RM out
/* && rmdir out
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13360 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13365 hard_links
="nottested"
13366 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13367 # do not overwrite the value of need_locks provided by the user
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13369 $as_echo_n "checking if we can lock with hard links... " >&6; }
13372 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13374 ln conftest.a conftest.b
2>&5 || hard_links
=no
13375 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13377 $as_echo "$hard_links" >&6; }
13378 if test "$hard_links" = no
; then
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13380 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13390 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13392 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13395 # If we're using GNU nm, then we don't want the "-C" option.
13396 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13397 # Also, AIX nm treats weak defined symbols like other global defined
13398 # symbols, whereas GNU nm marks them as "W".
13399 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13400 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'
13402 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'
13406 export_symbols_cmds_CXX
="$ltdll_cmds"
13408 cygwin
* | mingw
* | cegcc
*)
13409 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'
13412 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13415 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13418 $as_echo "$ld_shlibs_CXX" >&6; }
13419 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13421 with_gnu_ld_CXX
=$with_gnu_ld
13429 # Do we need to explicitly link libc?
13431 case "x$archive_cmds_need_lc_CXX" in
13433 # Assume -lc should be added
13434 archive_cmds_need_lc_CXX
=yes
13436 if test "$enable_shared" = yes && test "$GCC" = yes; then
13437 case $archive_cmds_CXX in
13439 # FIXME: we may have to deal with multi-command sequences.
13442 # Test whether the compiler implicitly links with -lc since on some
13443 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13444 # to ld, don't add -lc before -lgcc.
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13446 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13447 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13448 $as_echo_n "(cached) " >&6
13451 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13453 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13454 (eval $ac_compile) 2>&5
13456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13457 test $ac_status = 0; } 2>conftest.err
; then
13460 libobjs
=conftest.
$ac_objext
13462 wl
=$lt_prog_compiler_wl_CXX
13463 pic_flag
=$lt_prog_compiler_pic_CXX
13469 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13470 allow_undefined_flag_CXX
=
13471 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13472 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13475 test $ac_status = 0; }
13477 lt_cv_archive_cmds_need_lc_CXX
=no
13479 lt_cv_archive_cmds_need_lc_CXX
=yes
13481 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13483 cat conftest.err
1>&5
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13489 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
13490 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13561 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13563 library_names_spec
=
13564 libname_spec
='lib$name'
13568 postuninstall_cmds
=
13572 shlibpath_overrides_runpath
=unknown
13574 dynamic_linker
="$host_os ld.so"
13575 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13576 need_lib_prefix
=unknown
13577 hardcode_into_libs
=no
13579 # when you set need_version to no, make sure it does not cause -set_version
13580 # flags to be left without arguments
13581 need_version
=unknown
13586 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13587 shlibpath_var
=LIBPATH
13589 # AIX 3 has no versioning support, so we append a major version to the name.
13590 soname_spec
='${libname}${release}${shared_ext}$major'
13597 hardcode_into_libs
=yes
13598 if test "$host_cpu" = ia64
; then
13599 # AIX 5 supports IA64
13600 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13601 shlibpath_var
=LD_LIBRARY_PATH
13603 # With GCC up to 2.95.x, collect2 would create an import file
13604 # for dependence libraries. The import file would start with
13605 # the line `#! .'. This would cause the generated library to
13606 # depend on `.', always an invalid library. This was fixed in
13607 # development snapshots of GCC prior to 3.0.
13609 aix4 | aix4.
[01] | aix4.
[01].
*)
13610 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13612 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13615 can_build_shared
=no
13619 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13620 # soname into executable. Probably we can add versioning support to
13621 # collect2, so additional links can be useful in future.
13622 if test "$aix_use_runtimelinking" = yes; then
13623 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13624 # instead of lib<name>.a to let people know that these are not
13625 # typical AIX shared libraries.
13626 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13628 # We preserve .a as extension for shared libraries through AIX4.2
13629 # and later when we are not doing run time linking.
13630 library_names_spec
='${libname}${release}.a $libname.a'
13631 soname_spec
='${libname}${release}${shared_ext}$major'
13633 shlibpath_var
=LIBPATH
13640 # Since July 2007 AmigaOS4 officially supports .so libraries.
13641 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13642 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13645 library_names_spec
='$libname.ixlibrary $libname.a'
13646 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13647 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'
13653 library_names_spec
='${libname}${shared_ext}'
13654 dynamic_linker
="$host_os ld.so"
13655 shlibpath_var
=LIBRARY_PATH
13661 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13662 soname_spec
='${libname}${release}${shared_ext}$major'
13663 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13664 shlibpath_var
=LD_LIBRARY_PATH
13665 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13666 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13667 # the default ld.so.conf also contains /usr/contrib/lib and
13668 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13669 # libtool to hard-code these into programs
13672 cygwin
* | mingw
* | pw32
* | cegcc
*)
13673 version_type
=windows
13678 case $GCC,$host_os in
13679 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
13680 library_names_spec
='$libname.dll.a'
13681 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13682 postinstall_cmds
='base_file=`basename \${file}`~
13683 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13684 dldir=$destdir/`dirname \$dlpath`~
13685 test -d \$dldir || mkdir -p \$dldir~
13686 $install_prog $dir/$dlname \$dldir/$dlname~
13687 chmod a+x \$dldir/$dlname~
13688 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13689 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13691 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13692 dlpath=$dir/\$dldll~
13694 shlibpath_overrides_runpath
=yes
13698 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13699 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13703 # MinGW DLLs use traditional 'lib' prefix
13704 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13707 # pw32 DLLs use 'pw' prefix rather than 'lib'
13708 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13714 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13717 dynamic_linker
='Win32 ld.exe'
13718 # FIXME: first we should search . and the directory the executable is in
13722 darwin
* | rhapsody
*)
13723 dynamic_linker
="$host_os dyld"
13724 version_type
=darwin
13727 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13728 soname_spec
='${libname}${release}${major}$shared_ext'
13729 shlibpath_overrides_runpath
=yes
13730 shlibpath_var
=DYLD_LIBRARY_PATH
13731 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13733 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13740 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13741 soname_spec
='${libname}${release}${shared_ext}$major'
13742 shlibpath_var
=LD_LIBRARY_PATH
13745 freebsd
* | dragonfly
*)
13746 # DragonFly does not have aout. When/if they implement a new
13747 # versioning mechanism, adjust this.
13748 if test -x /usr
/bin
/objformat
; then
13749 objformat
=`/usr/bin/objformat`
13752 freebsd
[23].
*) objformat
=aout
;;
13753 *) objformat
=elf
;;
13756 version_type
=freebsd-
$objformat
13757 case $version_type in
13759 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13764 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13768 shlibpath_var
=LD_LIBRARY_PATH
13771 shlibpath_overrides_runpath
=yes
13773 freebsd3.
[01]* | freebsdelf3.
[01]*)
13774 shlibpath_overrides_runpath
=yes
13775 hardcode_into_libs
=yes
13777 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13778 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13779 shlibpath_overrides_runpath
=no
13780 hardcode_into_libs
=yes
13782 *) # from 4.6 on, and DragonFly
13783 shlibpath_overrides_runpath
=yes
13784 hardcode_into_libs
=yes
13793 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13794 soname_spec
='${libname}${release}${shared_ext}$major'
13795 shlibpath_var
=LD_LIBRARY_PATH
13796 hardcode_into_libs
=yes
13803 dynamic_linker
="$host_os runtime_loader"
13804 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13805 soname_spec
='${libname}${release}${shared_ext}$major'
13806 shlibpath_var
=LIBRARY_PATH
13807 shlibpath_overrides_runpath
=yes
13808 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
13809 hardcode_into_libs
=yes
13812 hpux9
* | hpux10
* | hpux11
*)
13813 # Give a soname corresponding to the major version so that dld.sl refuses to
13814 # link against other versions.
13821 hardcode_into_libs
=yes
13822 dynamic_linker
="$host_os dld.so"
13823 shlibpath_var
=LD_LIBRARY_PATH
13824 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13825 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13826 soname_spec
='${libname}${release}${shared_ext}$major'
13827 if test "X$HPUX_IA64_MODE" = X32
; then
13828 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13830 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13832 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13836 hardcode_into_libs
=yes
13837 dynamic_linker
="$host_os dld.sl"
13838 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13839 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13840 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13841 soname_spec
='${libname}${release}${shared_ext}$major'
13842 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13843 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13847 dynamic_linker
="$host_os dld.sl"
13848 shlibpath_var
=SHLIB_PATH
13849 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13850 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13851 soname_spec
='${libname}${release}${shared_ext}$major'
13854 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13855 postinstall_cmds
='chmod 555 $lib'
13856 # or fails outright, so override atomically:
13857 install_override_mode
=555
13864 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13865 soname_spec
='${libname}${release}${shared_ext}$major'
13866 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13867 shlibpath_var
=LD_LIBRARY_PATH
13868 shlibpath_overrides_runpath
=no
13869 hardcode_into_libs
=yes
13872 irix5
* | irix6
* | nonstopux
*)
13874 nonstopux
*) version_type
=nonstopux
;;
13876 if test "$lt_cv_prog_gnu_ld" = yes; then
13884 soname_spec
='${libname}${release}${shared_ext}$major'
13885 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13887 irix5
* | nonstopux
*)
13888 libsuff
= shlibsuff
=
13891 case $LD in # libtool.m4 will add one of these switches to LD
13892 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13893 libsuff
= shlibsuff
= libmagic
=32-bit;;
13894 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13895 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13896 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13897 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13898 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13902 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13903 shlibpath_overrides_runpath
=no
13904 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13905 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13906 hardcode_into_libs
=yes
13909 # No shared lib support for Linux oldld, aout, or coff.
13910 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13914 # This must be Linux ELF.
13915 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13919 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13920 soname_spec
='${libname}${release}${shared_ext}$major'
13921 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13922 shlibpath_var
=LD_LIBRARY_PATH
13923 shlibpath_overrides_runpath
=no
13925 # Some binutils ld are patched to set DT_RUNPATH
13926 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
13927 $as_echo_n "(cached) " >&6
13929 lt_cv_shlibpath_overrides_runpath
=no
13930 save_LDFLAGS
=$LDFLAGS
13931 save_libdir
=$libdir
13932 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13933 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13935 /* end confdefs.h. */
13945 if ac_fn_cxx_try_link
"$LINENO"; then :
13946 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
13947 lt_cv_shlibpath_overrides_runpath
=yes
13950 rm -f core conftest.err conftest.
$ac_objext \
13951 conftest
$ac_exeext conftest.
$ac_ext
13952 LDFLAGS
=$save_LDFLAGS
13953 libdir
=$save_libdir
13957 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
13959 # This implies no fast_install, which is unacceptable.
13960 # Some rework will be needed to allow for fast_install
13961 # before this can be enabled.
13962 hardcode_into_libs
=yes
13964 # Append ld.so.conf contents to the search path
13965 if test -f /etc
/ld.so.conf
; then
13966 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' ' '`
13967 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13970 # We used to test for /lib/ld.so.1 and disable shared libraries on
13971 # powerpc, because MkLinux only supported shared libraries with the
13972 # GNU dynamic linker. Since this was broken with cross compilers,
13973 # most powerpc-linux boxes support dynamic linking these days and
13974 # people can always --disable-shared, the test was removed, and we
13975 # assume the GNU/Linux dynamic linker is in use.
13976 dynamic_linker
='GNU/Linux ld.so'
13983 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13984 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13985 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13986 dynamic_linker
='NetBSD (a.out) ld.so'
13988 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13989 soname_spec
='${libname}${release}${shared_ext}$major'
13990 dynamic_linker
='NetBSD ld.elf_so'
13992 shlibpath_var
=LD_LIBRARY_PATH
13993 shlibpath_overrides_runpath
=yes
13994 hardcode_into_libs
=yes
13999 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14000 shlibpath_var
=LD_LIBRARY_PATH
14001 shlibpath_overrides_runpath
=yes
14008 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14009 soname_spec
='${libname}${release}${shared_ext}$major'
14010 shlibpath_var
=LD_LIBRARY_PATH
14011 shlibpath_overrides_runpath
=no
14012 hardcode_into_libs
=yes
14013 dynamic_linker
='ldqnx.so'
14018 sys_lib_dlsearch_path_spec
="/usr/lib"
14020 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14022 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14023 *) need_version
=no
;;
14025 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14026 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14027 shlibpath_var
=LD_LIBRARY_PATH
14028 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14030 openbsd2.
[89] | openbsd2.
[89].
*)
14031 shlibpath_overrides_runpath
=no
14034 shlibpath_overrides_runpath
=yes
14038 shlibpath_overrides_runpath
=yes
14043 libname_spec
='$name'
14046 library_names_spec
='$libname${shared_ext} $libname.a'
14047 dynamic_linker
='OS/2 ld.exe'
14048 shlibpath_var
=LIBPATH
14051 osf3
* | osf4
* | osf5
*)
14055 soname_spec
='${libname}${release}${shared_ext}$major'
14056 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14057 shlibpath_var
=LD_LIBRARY_PATH
14058 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14059 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14070 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14071 soname_spec
='${libname}${release}${shared_ext}$major'
14072 shlibpath_var
=LD_LIBRARY_PATH
14073 shlibpath_overrides_runpath
=yes
14074 hardcode_into_libs
=yes
14075 # ldd complains unless libraries are executable
14076 postinstall_cmds
='chmod +x $lib'
14081 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14082 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14083 shlibpath_var
=LD_LIBRARY_PATH
14084 shlibpath_overrides_runpath
=yes
14085 if test "$with_gnu_ld" = yes; then
14093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14094 soname_spec
='${libname}${release}${shared_ext}$major'
14095 shlibpath_var
=LD_LIBRARY_PATH
14096 case $host_vendor in
14098 shlibpath_overrides_runpath
=no
14100 runpath_var
=LD_RUN_PATH
14108 shlibpath_overrides_runpath
=no
14109 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14115 if test -d /usr
/nec
;then
14117 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14118 soname_spec
='$libname${shared_ext}.$major'
14119 shlibpath_var
=LD_LIBRARY_PATH
14123 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14124 version_type
=freebsd-elf
14127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14128 soname_spec
='${libname}${release}${shared_ext}$major'
14129 shlibpath_var
=LD_LIBRARY_PATH
14130 shlibpath_overrides_runpath
=yes
14131 hardcode_into_libs
=yes
14132 if test "$with_gnu_ld" = yes; then
14133 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14135 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14138 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14142 sys_lib_dlsearch_path_spec
='/usr/lib'
14146 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14150 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14151 shlibpath_var
=LD_LIBRARY_PATH
14152 shlibpath_overrides_runpath
=no
14153 hardcode_into_libs
=yes
14158 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14159 soname_spec
='${libname}${release}${shared_ext}$major'
14160 shlibpath_var
=LD_LIBRARY_PATH
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14168 $as_echo "$dynamic_linker" >&6; }
14169 test "$dynamic_linker" = no
&& can_build_shared
=no
14171 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14172 if test "$GCC" = yes; then
14173 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14176 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14177 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14179 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14180 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14221 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14222 hardcode_action_CXX
=
14223 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14224 test -n "$runpath_var_CXX" ||
14225 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14227 # We can hardcode non-existent directories.
14228 if test "$hardcode_direct_CXX" != no
&&
14229 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14230 # have to relink, otherwise we might link with an installed library
14231 # when we should be linking with a yet-to-be-installed one
14232 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14233 test "$hardcode_minus_L_CXX" != no
; then
14234 # Linking always hardcodes the temporary library directory.
14235 hardcode_action_CXX
=relink
14237 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14238 hardcode_action_CXX
=immediate
14241 # We cannot hardcode anything, or else we can only hardcode existing
14243 hardcode_action_CXX
=unsupported
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14246 $as_echo "$hardcode_action_CXX" >&6; }
14248 if test "$hardcode_action_CXX" = relink ||
14249 test "$inherit_rpath_CXX" = yes; then
14250 # Fast installation is not supported
14251 enable_fast_install
=no
14252 elif test "$shlibpath_overrides_runpath" = yes ||
14253 test "$enable_shared" = no
; then
14254 # Fast installation is not necessary
14255 enable_fast_install
=needless
14264 fi # test -n "$compiler"
14270 with_gnu_ld
=$lt_save_with_gnu_ld
14271 lt_cv_path_LDCXX
=$lt_cv_path_LD
14272 lt_cv_path_LD
=$lt_save_path_LD
14273 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14274 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14275 fi # test "$_lt_caught_CXX_error" != yes
14278 ac_cpp
='$CPP $CPPFLAGS'
14279 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14280 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14281 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14286 if test "$GXX" = yes; then
14287 visibility
=-fvisibility=hidden
14291 ac_fn_c_check_decl
"$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
14292 if test "x$ac_cv_have_decl_basename" = x
""yes; then :
14298 cat >>confdefs.h
<<_ACEOF
14299 #define HAVE_DECL_BASENAME $ac_have_decl
14303 gcc_version
=`cat $srcdir/../gcc/BASE-VER`
14307 save_CFLAGS
="$CFLAGS"
14308 for real_option
in -W -Wall; do
14309 # Do the check with the no- prefix removed since gcc silently
14310 # accepts any -Wno-* option on purpose
14311 case $real_option in
14312 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
14313 *) option
=$real_option ;;
14315 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
14318 $as_echo_n "checking whether $CC supports $option... " >&6; }
14319 if { as_var
=$as_acx_Woption; eval "test \"\${$as_var+set}\" = set"; }; then :
14320 $as_echo_n "(cached) " >&6
14323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14324 /* end confdefs.h. */
14334 if ac_fn_c_try_compile
"$LINENO"; then :
14335 eval "$as_acx_Woption=yes"
14337 eval "$as_acx_Woption=no"
14339 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14342 eval ac_res
=\$
$as_acx_Woption
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14344 $as_echo "$ac_res" >&6; }
14345 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
14346 WARN_FLAGS
="$WARN_FLAGS${WARN_FLAGS:+ }$real_option"
14349 CFLAGS
="$save_CFLAGS"
14353 # Check whether --enable-werror-always was given.
14354 if test "${enable_werror_always+set}" = set; then :
14355 enableval
=$enable_werror_always;
14357 enable_werror_always
=no
14360 if test $enable_werror_always = yes; then :
14361 WERROR
="$WERROR${WERROR:+ }-Werror"
14369 if test "$GXX" = yes; then
14370 libsuffix
=`$CXX -print-multi-os-directory`
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
14375 $as_echo_n "checking for socket libraries... " >&6; }
14376 if test "${libcc1_cv_lib_sockets+set}" = set; then :
14377 $as_echo_n "(cached) " >&6
14379 libcc1_cv_lib_sockets
=
14380 libcc1_check_both
=no
14381 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14382 if test "x$ac_cv_func_connect" = x
""yes; then :
14383 libcc1_check_socket
=no
14385 libcc1_check_socket
=yes
14388 if test "$libcc1_check_socket" = "yes"; then
14389 unset ac_cv_func_connect
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
14391 $as_echo_n "checking for main in -lsocket... " >&6; }
14392 if test "${ac_cv_lib_socket_main+set}" = set; then :
14393 $as_echo_n "(cached) " >&6
14395 ac_check_lib_save_LIBS
=$LIBS
14396 LIBS
="-lsocket $LIBS"
14397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14398 /* end confdefs.h. */
14409 if ac_fn_c_try_link
"$LINENO"; then :
14410 ac_cv_lib_socket_main
=yes
14412 ac_cv_lib_socket_main
=no
14414 rm -f core conftest.err conftest.
$ac_objext \
14415 conftest
$ac_exeext conftest.
$ac_ext
14416 LIBS
=$ac_check_lib_save_LIBS
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
14419 $as_echo "$ac_cv_lib_socket_main" >&6; }
14420 if test "x$ac_cv_lib_socket_main" = x
""yes; then :
14421 libcc1_cv_lib_sockets
="-lsocket"
14423 libcc1_check_both
=yes
14427 if test "$libcc1_check_both" = "yes"; then
14428 libcc1_old_libs
=$LIBS
14429 LIBS
="$LIBS -lsocket -lnsl"
14430 unset ac_cv_func_accept
14431 ac_fn_c_check_func
"$LINENO" "accept" "ac_cv_func_accept"
14432 if test "x$ac_cv_func_accept" = x
""yes; then :
14433 libcc1_check_nsl
=no
14434 libcc1_cv_lib_sockets
="-lsocket -lnsl"
14437 unset ac_cv_func_accept
14438 LIBS
=$libcc1_old_libs
14440 unset ac_cv_func_gethostbyname
14441 libcc1_old_libs
="$LIBS"
14442 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14443 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
14447 $as_echo_n "checking for main in -lnsl... " >&6; }
14448 if test "${ac_cv_lib_nsl_main+set}" = set; then :
14449 $as_echo_n "(cached) " >&6
14451 ac_check_lib_save_LIBS
=$LIBS
14453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14454 /* end confdefs.h. */
14465 if ac_fn_c_try_link
"$LINENO"; then :
14466 ac_cv_lib_nsl_main
=yes
14468 ac_cv_lib_nsl_main
=no
14470 rm -f core conftest.err conftest.
$ac_objext \
14471 conftest
$ac_exeext conftest.
$ac_ext
14472 LIBS
=$ac_check_lib_save_LIBS
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
14475 $as_echo "$ac_cv_lib_nsl_main" >&6; }
14476 if test "x$ac_cv_lib_nsl_main" = x
""yes; then :
14477 libcc1_cv_lib_sockets
="$libcc1_cv_lib_sockets -lnsl"
14482 unset ac_cv_func_gethostbyname
14483 LIBS
=$libcc1_old_libs
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libcc1_cv_lib_sockets" >&5
14487 $as_echo "$libcc1_cv_lib_sockets" >&6; }
14488 LIBS
="$LIBS $libcc1_cv_lib_sockets"
14490 # If any of these functions are missing, simply don't bother building
14492 # Check for plugin support
14493 # Check whether --enable-plugin was given.
14494 if test "${enable_plugin+set}" = set; then :
14495 enableval
=$enable_plugin; enable_plugin
=$enableval
14497 enable_plugin
=yes; default_plugin
=yes
14505 if test x
$build = x
$host; then
14506 export_sym_check
="nm${exeext} -g"
14507 elif test x
$host = x
$target; then
14508 export_sym_check
="$gcc_cv_nm -g"
14514 if test x
$build = x
$host; then
14515 export_sym_check
="objdump${exeext} -T"
14516 elif test x
$host = x
$target; then
14517 export_sym_check
="$gcc_cv_objdump -T"
14524 if test x
"$enable_plugin" = x
"yes"; then
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exported symbols" >&5
14527 $as_echo_n "checking for exported symbols... " >&6; }
14528 if test "x$export_sym_check" != x
; then
14529 echo "int main() {return 0;} int foobar() {return 0;}" > conftest.c
14530 ${CC} ${CFLAGS} ${LDFLAGS} conftest.c
-o conftest
$ac_exeext > /dev
/null
2>&1
14531 if $export_sym_check conftest
$ac_exeext |
grep -q foobar
> /dev
/null
; then
14532 : # No need to use a flag
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14534 $as_echo "yes" >&6; }
14536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14537 $as_echo "yes" >&6; }
14538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -rdynamic" >&5
14539 $as_echo_n "checking for -rdynamic... " >&6; }
14540 ${CC} ${CFLAGS} ${LDFLAGS} -rdynamic conftest.c
-o conftest
$ac_exeext > /dev
/null
2>&1
14541 if $export_sym_check conftest
$ac_exeext |
grep -q foobar
> /dev
/null
; then
14542 plugin_rdynamic
=yes
14543 pluginlibs
="-rdynamic"
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $plugin_rdynamic" >&5
14549 $as_echo "$plugin_rdynamic" >&6; }
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unable to check" >&5
14553 $as_echo "unable to check" >&6; }
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
14559 $as_echo_n "checking for library containing dlopen... " >&6; }
14560 if test "${ac_cv_search_dlopen+set}" = set; then :
14561 $as_echo_n "(cached) " >&6
14563 ac_func_search_save_LIBS
=$LIBS
14564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14565 /* end confdefs.h. */
14567 /* Override any GCC internal prototype to avoid an error.
14568 Use char because int might match the return type of a GCC
14569 builtin and then its argument prototype would still apply. */
14582 for ac_lib
in '' dl
; do
14583 if test -z "$ac_lib"; then
14584 ac_res
="none required"
14587 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14589 if ac_fn_c_try_link
"$LINENO"; then :
14590 ac_cv_search_dlopen
=$ac_res
14592 rm -f core conftest.err conftest.
$ac_objext \
14594 if test "${ac_cv_search_dlopen+set}" = set; then :
14598 if test "${ac_cv_search_dlopen+set}" = set; then :
14601 ac_cv_search_dlopen
=no
14603 rm conftest.
$ac_ext
14604 LIBS
=$ac_func_search_save_LIBS
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
14607 $as_echo "$ac_cv_search_dlopen" >&6; }
14608 ac_res
=$ac_cv_search_dlopen
14609 if test "$ac_res" != no
; then :
14610 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14614 if test x
"$ac_cv_search_dlopen" = x
"-ldl"; then
14615 pluginlibs
="$pluginlibs -ldl"
14619 # Check that we can build shared objects with -fPIC -shared
14620 saved_LDFLAGS
="$LDFLAGS"
14621 saved_CFLAGS
="$CFLAGS"
14624 CFLAGS
=`echo $CFLAGS | sed s/-mdynamic-no-pic//g`
14625 CFLAGS
="$CFLAGS -fPIC"
14626 LDFLAGS
="$LDFLAGS -shared -undefined dynamic_lookup"
14629 CFLAGS
="$CFLAGS -fPIC"
14630 LDFLAGS
="$LDFLAGS -fPIC -shared"
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fPIC -shared" >&5
14634 $as_echo_n "checking for -fPIC -shared... " >&6; }
14635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14636 /* end confdefs.h. */
14646 if ac_fn_c_try_link
"$LINENO"; then :
14647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14648 $as_echo "yes" >&6; }; have_pic_shared
=yes
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14651 $as_echo "no" >&6; }; have_pic_shared
=no
14653 rm -f core conftest.err conftest.
$ac_objext \
14654 conftest
$ac_exeext conftest.
$ac_ext
14655 if test x
"$have_pic_shared" != x
"yes" -o x
"$ac_cv_search_dlopen" = x
"no"; then
14659 LDFLAGS
="$saved_LDFLAGS"
14660 CFLAGS
="$saved_CFLAGS"
14662 # If plugin support had been requested but not available, fail.
14663 if test x
"$enable_plugin" = x
"no" ; then
14664 if test x
"$default_plugin" != x
"yes"; then
14666 Building GCC with plugin support requires a host that supports
14667 -fPIC, -shared, -ldl and -rdynamic." "$LINENO" 5
14672 ac_fn_c_check_func
"$LINENO" "socketpair" "ac_cv_func_socketpair"
14673 if test "x$ac_cv_func_socketpair" = x
""yes; then :
14679 ac_fn_c_check_func
"$LINENO" "select" "ac_cv_func_select"
14680 if test "x$ac_cv_func_select" = x
""yes; then :
14686 ac_fn_c_check_func
"$LINENO" "fork" "ac_cv_func_fork"
14687 if test "x$ac_cv_func_fork" = x
""yes; then :
14693 if test $enable_plugin = yes; then
14694 ENABLE_PLUGIN_TRUE
=
14695 ENABLE_PLUGIN_FALSE
='#'
14697 ENABLE_PLUGIN_TRUE
='#'
14698 ENABLE_PLUGIN_FALSE
=
14702 ac_config_files
="$ac_config_files Makefile"
14704 cat >confcache
<<\_ACEOF
14705 # This file is a shell script that caches the results of configure
14706 # tests run on this system so they can be shared between configure
14707 # scripts and configure runs, see configure's option --config-cache.
14708 # It is not useful on other systems. If it contains results you don't
14709 # want to keep, you may remove or edit it.
14711 # config.status only pays attention to the cache file if you give it
14712 # the --recheck option to rerun configure.
14714 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14715 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14716 # following values.
14720 # The following way of writing the cache mishandles newlines in values,
14721 # but we know of no workaround that is simple, portable, and efficient.
14722 # So, we kill variables containing newlines.
14723 # Ultrix sh set writes to stderr and can't be redirected directly,
14724 # and sets the high bit in the cache file unless we assign to the vars.
14726 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14727 eval ac_val
=\$
$ac_var
14731 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14732 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14735 _ | IFS | as_nl
) ;; #(
14736 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14737 *) { eval $ac_var=; unset $ac_var;} ;;
14743 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14744 *${as_nl}ac_space
=\
*)
14745 # `set' does not quote correctly, so add quotes: double-quote
14746 # substitution turns \\\\ into \\, and sed turns \\ into \.
14749 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14752 # `set' quotes correctly as required by POSIX, so do not add quotes.
14753 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14762 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14764 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14766 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14767 if test -w "$cache_file"; then
14768 test "x$cache_file" != "x/dev/null" &&
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14770 $as_echo "$as_me: updating cache $cache_file" >&6;}
14771 cat confcache
>$cache_file
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14774 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14779 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14780 # Let make expand exec_prefix.
14781 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14783 DEFS
=-DHAVE_CONFIG_H
14787 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14788 # 1. Remove the extension, and $U if already installed.
14789 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14790 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14791 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14792 # will be set to the directory where LIBOBJS objects are built.
14793 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14794 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14796 LIBOBJS
=$ac_libobjs
14798 LTLIBOBJS
=$ac_ltlibobjs
14801 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14802 as_fn_error
"conditional \"AMDEP\" was never defined.
14803 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14805 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14806 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
14807 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14809 if test -n "$EXEEXT"; then
14811 am__EXEEXT_FALSE
='#'
14813 am__EXEEXT_TRUE
='#'
14817 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14818 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
14819 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14821 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
14822 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
14823 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14825 if test -z "${ENABLE_PLUGIN_TRUE}" && test -z "${ENABLE_PLUGIN_FALSE}"; then
14826 as_fn_error
"conditional \"ENABLE_PLUGIN\" was never defined.
14827 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14830 : ${CONFIG_STATUS=./config.status}
14832 ac_clean_files_save
=$ac_clean_files
14833 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14834 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14835 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14837 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14839 # Generated by $as_me.
14840 # Run this file to recreate the current configuration.
14841 # Compiler output produced by configure, useful for debugging
14842 # configure, is in config.log if it exists.
14845 ac_cs_recheck=false
14848 SHELL=\${CONFIG_SHELL-$SHELL}
14851 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14852 ## -------------------- ##
14853 ## M4sh Initialization. ##
14854 ## -------------------- ##
14856 # Be more Bourne compatible
14857 DUALCASE
=1; export DUALCASE
# for MKS sh
14858 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14861 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14862 # is contrary to our usage. Disable this feature.
14863 alias -g '${1+"$@"}'='"$@"'
14864 setopt NO_GLOB_SUBST
14866 case `(set -o) 2>/dev/null` in #(
14878 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14879 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14880 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14881 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14882 # Prefer a ksh shell builtin over an external printf program on Solaris,
14883 # but without wasting forks for bash or zsh.
14884 if test -z "$BASH_VERSION$ZSH_VERSION" \
14885 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14886 as_echo='print
-r --'
14887 as_echo_n='print
-rn --'
14888 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14889 as_echo='printf %s
\n'
14890 as_echo_n='printf %s
'
14892 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14893 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14894 as_echo_n='/usr
/ucb
/echo -n'
14896 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14897 as_echo_n_body='eval
14901 expr "X$arg" : "X\\(.*\\)$as_nl";
14902 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14904 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14906 export as_echo_n_body
14907 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14909 export as_echo_body
14910 as_echo='sh
-c $as_echo_body as_echo
'
14913 # The user is always right.
14914 if test "${PATH_SEPARATOR+set}" != set; then
14916 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14917 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14924 # We need space, tab and new line, in precisely that order. Quoting is
14925 # there to prevent editors from complaining about space-tab.
14926 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14927 # splitting by setting IFS to empty value.)
14930 # Find who we are. Look in the path if we contain no directory separator.
14932 *[\\/]* ) as_myself=$0 ;;
14933 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14934 for as_dir in $PATH
14937 test -z "$as_dir" && as_dir=.
14938 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14944 # We did not find ourselves, most probably we were run as `sh COMMAND'
14945 # in which case we are not to be found in the path.
14946 if test "x$as_myself" = x
; then
14949 if test ! -f "$as_myself"; then
14950 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14954 # Unset variables that we do not need and which cause bugs (e.g. in
14955 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14956 # suppresses any "Segmentation fault" message there. '((' could
14957 # trigger a bug in pdksh 5.2.14.
14958 for as_var
in BASH_ENV ENV MAIL MAILPATH
14959 do eval test x\
${$as_var+set} = xset \
14960 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14973 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14976 # as_fn_error ERROR [LINENO LOG_FD]
14977 # ---------------------------------
14978 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14979 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14980 # script with status $?, using 1 if that was 0.
14983 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14985 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14986 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14988 $as_echo "$as_me: error: $1" >&2
14989 as_fn_exit
$as_status
14993 # as_fn_set_status STATUS
14994 # -----------------------
14995 # Set $? to STATUS, without forking.
14996 as_fn_set_status
()
14999 } # as_fn_set_status
15001 # as_fn_exit STATUS
15002 # -----------------
15003 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15007 as_fn_set_status
$1
15013 # Portably unset VAR.
15016 { eval $1=; unset $1;}
15018 as_unset
=as_fn_unset
15019 # as_fn_append VAR VALUE
15020 # ----------------------
15021 # Append the text in VALUE to the end of the definition contained in VAR. Take
15022 # advantage of any shell optimizations that allow amortized linear growth over
15023 # repeated appends, instead of the typical quadratic growth present in naive
15025 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15026 eval 'as_fn_append ()
15037 # as_fn_arith ARG...
15038 # ------------------
15039 # Perform arithmetic evaluation on the ARGs, and store the result in the
15040 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15041 # must be portable across $(()) and expr.
15042 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15043 eval 'as_fn_arith ()
15050 as_val
=`expr "$@" || test $? -eq 1`
15055 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15056 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15062 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15063 as_basename
=basename
15068 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15074 as_me
=`$as_basename -- "$0" ||
15075 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15076 X"$0" : 'X\(//\)$' \| \
15077 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15079 sed '/^.*\/\([^/][^/]*\)\/*$/{
15093 # Avoid depending upon Character Ranges.
15094 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15095 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15096 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15097 as_cr_digits
='0123456789'
15098 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15100 ECHO_C
= ECHO_N
= ECHO_T
=
15101 case `echo -n x` in #(((((
15103 case `echo 'xy\c'` in
15104 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15106 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15113 rm -f conf$$ conf$$.exe conf$$.
file
15114 if test -d conf$$.dir
; then
15115 rm -f conf$$.dir
/conf$$.
file
15118 mkdir conf$$.dir
2>/dev
/null
15120 if (echo >conf$$.
file) 2>/dev
/null
; then
15121 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15123 # ... but there are two gotchas:
15124 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15125 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15126 # In both cases, we have to default to `cp -p'.
15127 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15129 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15137 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15138 rmdir conf$$.dir
2>/dev
/null
15143 # Create "$as_dir" as a directory, including parents if necessary.
15148 -*) as_dir
=.
/$as_dir;;
15150 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15154 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15155 *) as_qdir
=$as_dir;;
15157 as_dirs
="'$as_qdir' $as_dirs"
15158 as_dir
=`$as_dirname -- "$as_dir" ||
15159 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15160 X"$as_dir" : 'X\(//\)[^/]' \| \
15161 X"$as_dir" : 'X\(//\)$' \| \
15162 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15163 $as_echo X"$as_dir" |
15164 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15168 /^X\(\/\/\)[^/].*/{
15181 test -d "$as_dir" && break
15183 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15184 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15188 if mkdir
-p .
2>/dev
/null
; then
15189 as_mkdir_p
='mkdir -p "$as_dir"'
15191 test -d .
/-p && rmdir .
/-p
15195 if test -x / >/dev
/null
2>&1; then
15196 as_test_x
='test -x'
15198 if ls -dL / >/dev
/null
2>&1; then
15205 if test -d "$1"; then
15211 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15212 ???[sx]*):;;*)false;;esac;fi
15216 as_executable_p
=$as_test_x
15218 # Sed expression to map a string onto a valid CPP name.
15219 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15221 # Sed expression to map a string onto a valid variable name.
15222 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15226 ## ----------------------------------- ##
15227 ## Main body of $CONFIG_STATUS script. ##
15228 ## ----------------------------------- ##
15230 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15232 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15233 # Save the log message, to keep $0 and so on meaningful, and to
15234 # report actual input values of CONFIG_FILES etc. instead of their
15235 # values after options handling.
15237 This file was extended by libcc1 $as_me version-unused, which was
15238 generated by GNU Autoconf 2.64. Invocation command line was
15240 CONFIG_FILES = $CONFIG_FILES
15241 CONFIG_HEADERS = $CONFIG_HEADERS
15242 CONFIG_LINKS = $CONFIG_LINKS
15243 CONFIG_COMMANDS = $CONFIG_COMMANDS
15246 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15251 case $ac_config_files in *"
15252 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15255 case $ac_config_headers in *"
15256 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15260 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15261 # Files that config.status was made for.
15262 config_files="$ac_config_files"
15263 config_headers="$ac_config_headers"
15264 config_commands="$ac_config_commands"
15268 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15270 \`$as_me' instantiates files and other configuration actions
15271 from templates according to the current configuration. Unless the files
15272 and actions are specified as TAGs, all are instantiated by default.
15274 Usage: $0 [OPTION]... [TAG]...
15276 -h, --help print this help, then exit
15277 -V, --version print version number and configuration settings, then exit
15278 -q, --quiet, --silent
15279 do not print progress messages
15280 -d, --debug don't remove temporary files
15281 --recheck update $as_me by reconfiguring in the same conditions
15282 --file=FILE[:TEMPLATE]
15283 instantiate the configuration file FILE
15284 --header=FILE[:TEMPLATE]
15285 instantiate the configuration header FILE
15287 Configuration files:
15290 Configuration headers:
15293 Configuration commands:
15296 Report bugs to the package provider."
15299 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15301 libcc1 config.status version-unused
15302 configured by $0, generated by GNU Autoconf 2.64,
15303 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15305 Copyright (C) 2009 Free Software Foundation, Inc.
15306 This config.status script is free software; the Free Software Foundation
15307 gives unlimited permission to copy, distribute and modify it."
15314 test -n "\$AWK" || AWK=awk
15317 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15318 # The default lists apply if the user does not specify any file.
15324 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15325 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15336 # Handling of the options.
15337 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15339 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15340 $as_echo "$ac_cs_version"; exit ;;
15341 --debug |
--debu |
--deb |
--de |
--d |
-d )
15343 --file |
--fil |
--fi |
--f )
15346 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15348 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15349 ac_need_defaults
=false
;;
15350 --header |
--heade |
--head |
--hea )
15353 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15355 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15356 ac_need_defaults
=false
;;
15358 # Conflict between --help and --header
15359 as_fn_error
"ambiguous option: \`$1'
15360 Try \`$0 --help' for more information.";;
15361 --help |
--hel |
-h )
15362 $as_echo "$ac_cs_usage"; exit ;;
15363 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15364 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15367 # This is an error.
15368 -*) as_fn_error
"unrecognized option: \`$1'
15369 Try \`$0 --help' for more information." ;;
15371 *) as_fn_append ac_config_targets
" $1"
15372 ac_need_defaults
=false
;;
15378 ac_configure_extra_args
=
15380 if $ac_cs_silent; then
15382 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15386 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15387 if \$ac_cs_recheck; then
15388 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15390 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15391 CONFIG_SHELL='$SHELL'
15392 export CONFIG_SHELL
15397 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15401 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15402 ## Running $as_me. ##
15408 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15412 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15415 # The HP-UX ksh and POSIX shell print the target directory to stdout
15416 # if CDPATH is set.
15417 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15419 sed_quote_subst='$sed_quote_subst'
15420 double_quote_subst='$double_quote_subst'
15421 delay_variable_subst='$delay_variable_subst'
15422 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15423 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15424 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15425 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15426 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15427 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15428 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15429 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15430 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15431 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15432 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15433 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15434 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15435 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15436 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15437 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15438 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15439 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15440 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15441 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15442 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15443 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15444 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15445 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15446 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15447 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15448 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15449 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15450 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15451 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15452 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15453 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15454 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15455 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15456 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15457 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15458 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15459 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15460 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15461 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15462 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15463 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15464 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15465 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15466 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15467 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15468 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15469 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15470 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"`'
15471 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15472 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15473 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15474 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15475 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15476 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15477 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15478 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15479 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15480 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15481 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15482 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15483 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15484 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15485 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15486 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15487 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15488 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15489 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15490 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15491 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15492 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15493 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15494 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15495 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15496 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15497 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15498 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15499 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15500 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15501 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15502 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15503 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15504 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15505 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15506 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15507 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15508 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15509 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15510 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15511 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15512 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15513 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15514 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15515 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15516 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15517 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15518 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15519 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15520 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15521 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15522 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15523 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15524 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15525 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15526 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15527 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15528 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15529 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15530 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15531 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15532 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15533 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15534 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15535 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15536 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15537 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15538 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15539 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15540 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15541 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15542 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
15543 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
15544 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
15545 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
15546 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
15547 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
15548 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
15549 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
15550 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15551 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15552 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
15553 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
15554 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
15555 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
15556 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
15557 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
15558 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
15559 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
15560 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
15561 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15562 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15563 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
15564 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15565 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15566 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15567 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15568 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15569 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15570 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
15571 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15572 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15573 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15574 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
15575 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
15576 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
15577 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
15578 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
15579 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
15580 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
15581 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
15582 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
15583 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
15584 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
15585 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15586 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15587 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15588 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15589 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
15590 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
15591 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
15592 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15593 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15594 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
15595 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
15596 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
15599 LTCFLAGS='$LTCFLAGS'
15600 compiler='$compiler_DEFAULT'
15602 # A function that is used when there is no print builtin or printf.
15603 func_fallback_echo ()
15605 eval 'cat <<_LTECHO_EOF
15610 # Quote evaled strings.
15624 deplibs_check_method \
15633 lt_cv_sys_global_symbol_pipe \
15634 lt_cv_sys_global_symbol_to_cdecl \
15635 lt_cv_sys_global_symbol_to_c_name_address \
15636 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15637 lt_prog_compiler_no_builtin_flag \
15638 lt_prog_compiler_wl \
15639 lt_prog_compiler_pic \
15640 lt_prog_compiler_static \
15641 lt_cv_prog_compiler_c_o \
15649 export_dynamic_flag_spec \
15650 whole_archive_flag_spec \
15651 compiler_needs_object \
15653 allow_undefined_flag \
15654 no_undefined_flag \
15655 hardcode_libdir_flag_spec \
15656 hardcode_libdir_flag_spec_ld \
15657 hardcode_libdir_separator \
15662 variables_saved_for_relink \
15664 library_names_spec \
15666 install_override_mode \
15670 compiler_lib_search_dirs \
15675 compiler_lib_search_path \
15679 lt_prog_compiler_no_builtin_flag_CXX \
15680 lt_prog_compiler_wl_CXX \
15681 lt_prog_compiler_pic_CXX \
15682 lt_prog_compiler_static_CXX \
15683 lt_cv_prog_compiler_c_o_CXX \
15684 export_dynamic_flag_spec_CXX \
15685 whole_archive_flag_spec_CXX \
15686 compiler_needs_object_CXX \
15688 allow_undefined_flag_CXX \
15689 no_undefined_flag_CXX \
15690 hardcode_libdir_flag_spec_CXX \
15691 hardcode_libdir_flag_spec_ld_CXX \
15692 hardcode_libdir_separator_CXX \
15693 fix_srcfile_path_CXX \
15694 exclude_expsyms_CXX \
15695 include_expsyms_CXX \
15696 file_list_spec_CXX \
15697 compiler_lib_search_dirs_CXX \
15698 predep_objects_CXX \
15699 postdep_objects_CXX \
15702 compiler_lib_search_path_CXX; do
15703 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15704 *[\\\\\\\`\\"\\\$]*)
15705 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15708 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15713 # Double-quote double-evaled strings.
15714 for var in reload_cmds \
15715 old_postinstall_cmds \
15716 old_postuninstall_cmds \
15718 extract_expsyms_cmds \
15719 old_archive_from_new_cmds \
15720 old_archive_from_expsyms_cmds \
15722 archive_expsym_cmds \
15724 module_expsym_cmds \
15725 export_symbols_cmds \
15728 postuninstall_cmds \
15730 sys_lib_search_path_spec \
15731 sys_lib_dlsearch_path_spec \
15733 old_archive_cmds_CXX \
15734 old_archive_from_new_cmds_CXX \
15735 old_archive_from_expsyms_cmds_CXX \
15737 archive_expsym_cmds_CXX \
15739 module_expsym_cmds_CXX \
15740 export_symbols_cmds_CXX \
15741 prelink_cmds_CXX; do
15742 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15743 *[\\\\\\\`\\"\\\$]*)
15744 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15747 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15752 ac_aux_dir='$ac_aux_dir'
15753 xsi_shell='$xsi_shell'
15754 lt_shell_append='$lt_shell_append'
15756 # See if we are running on zsh, and set the options which allow our
15757 # commands through without removal of \ escapes INIT.
15758 if test -n "\${ZSH_VERSION+set}" ; then
15759 setopt NO_GLOB_SUBST
15765 TIMESTAMP='$TIMESTAMP'
15776 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15778 # Handling of arguments.
15779 for ac_config_target
in $ac_config_targets
15781 case $ac_config_target in
15782 "cc1plugin-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS cc1plugin-config.h" ;;
15783 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15784 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15785 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15787 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15792 # If the user did not use the arguments to specify the items to instantiate,
15793 # then the envvar interface is used. Set only those that are not.
15794 # We use the long form for the default assignment because of an extremely
15795 # bizarre bug on SunOS 4.1.3.
15796 if $ac_need_defaults; then
15797 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15798 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15799 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15802 # Have a temporary directory for convenience. Make it in the build tree
15803 # simply because there is no reason against having it here, and in addition,
15804 # creating and moving files from /tmp can sometimes cause problems.
15805 # Hook for its removal unless debugging.
15806 # Note that there is a small window in which the directory will not be cleaned:
15807 # after its creation but before its name has been assigned to `$tmp'.
15811 trap 'exit_status=$?
15812 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15814 trap 'as_fn_exit 1' 1 2 13 15
15816 # Create a (secure) tmp directory for tmp files.
15819 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15820 test -n "$tmp" && test -d "$tmp"
15823 tmp
=.
/conf$$
-$RANDOM
15824 (umask 077 && mkdir
"$tmp")
15825 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15827 # Set up the scripts for CONFIG_FILES section.
15828 # No need to generate them if there are no CONFIG_FILES.
15829 # This happens for instance with `./config.status config.h'.
15830 if test -n "$CONFIG_FILES"; then
15833 ac_cr
=`echo X | tr X '\015'`
15834 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15835 # But we know of no other shell where ac_cr would be empty at this
15836 # point, so we can use a bashism as a fallback.
15837 if test "x$ac_cr" = x
; then
15838 eval ac_cr
=\$
\'\\r
\'
15840 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15841 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15844 ac_cs_awk_cr
=$ac_cr
15847 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15852 echo "cat >conf$$subs.awk <<_ACEOF" &&
15853 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15855 } >conf$$subs.sh ||
15856 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15857 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15859 for ac_last_try in false false false false false :; do
15860 . ./conf$$subs.sh ||
15861 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15863 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15864 if test $ac_delim_n = $ac_delim_num; then
15866 elif $ac_last_try; then
15867 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15869 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15872 rm -f conf$$subs.sh
15874 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15875 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15879 s/^/S["/; s
/!.
*/"]=/
15889 s/\(.\{148\}\).*/\1/
15891 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15896 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15903 s/\(.\{148\}\).*/\1/
15905 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15909 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15914 ' <conf$$subs.awk | sed '
15919 ' >>$CONFIG_STATUS || ac_write_fail=1
15920 rm -f conf$$subs.awk
15921 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15923 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15924 for (key in S) S_is_set[key] = 1
15930 nfields = split(line, field, "@
")
15932 len = length(field[1])
15933 for (i = 2; i < nfields; i++) {
15935 keylen = length(key)
15936 if (S_is_set[key]) {
15938 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15939 len += length(value) + length(field[++i])
15950 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15951 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15952 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15955 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15956 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15959 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15960 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15961 # trailing colons and then remove the whole line if VPATH becomes empty
15962 # (actually we leave an empty line to preserve line numbers).
15963 if test "x
$srcdir" = x.; then
15964 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15965 s/:*\$(srcdir):*/:/
15966 s/:*\${srcdir}:*/:/
15968 s/^\([^=]*=[ ]*\):*/\1/
15974 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15975 fi # test -n "$CONFIG_FILES"
15977 # Set up the scripts for CONFIG_HEADERS section.
15978 # No need to generate them if there are no CONFIG_HEADERS.
15979 # This happens for instance with `./config.status Makefile'.
15980 if test -n "$CONFIG_HEADERS"; then
15981 cat >"$tmp/defines.
awk" <<\_ACAWK ||
15985 # Transform confdefs.h into an awk script `defines.awk', embedded as
15986 # here-document in config.status, that substitutes the proper values into
15987 # config.h.in to produce config.h.
15989 # Create a delimiter string that does not exist in confdefs.h, to ease
15990 # handling of long lines.
15992 for ac_last_try in false false :; do
15993 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
15994 if test -z "$ac_t"; then
15996 elif $ac_last_try; then
15997 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
15999 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16003 # For the awk script, D is an array of macro values keyed by name,
16004 # likewise P contains macro parameters if any. Preserve backslash
16005 # newline sequences.
16007 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16009 s/.\{148\}/&'"$ac_delim"'/g
16012 s/^[ ]*#[ ]*define[ ][ ]*/ /
16019 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16021 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16025 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16026 D["\
1"]=" \
3\\\\\\n
"\\/p
16028 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16033 s/.\{148\}/&'"$ac_delim"'/g
16038 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16041 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16043 ' <confdefs.h | sed '
16044 s/'"$ac_delim"'/"\\\
16045 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16047 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16048 for (key in D) D_is_set[key] = 1
16051 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16053 split(line, arg, " ")
16054 if (arg[1] == "#") {
16058 defundef
= substr
(arg
[1], 2)
16061 split(mac1
, mac2
, "(") #)
16063 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16064 if (D_is_set
[macro
]) {
16065 # Preserve the white space surrounding the "#".
16066 print prefix
"define", macro P
[macro
] D
[macro
]
16069 # Replace #undef with comments. This is necessary, for example,
16070 # in the case of _POSIX_SOURCE, which is predefined and required
16071 # on some systems where configure will not decide to define it.
16072 if (defundef
== "undef") {
16073 print
"/*", prefix defundef
, macro
, "*/"
16081 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16082 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
16083 fi # test -n "$CONFIG_HEADERS"
16086 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16091 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16093 case $ac_mode$ac_tag in
16095 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16096 :[FH
]-) ac_tag
=-:-;;
16097 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16114 -) ac_f
="$tmp/stdin";;
16115 *) # Look for the file first in the build tree, then in the source tree
16116 # (if the path is not absolute). The absolute path cannot be DOS-style,
16117 # because $ac_f cannot contain `:'.
16121 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16123 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
16125 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16126 as_fn_append ac_file_inputs
" '$ac_f'"
16129 # Let's still pretend it is `configure' which instantiates (i.e., don't
16130 # use $as_me), people would be surprised to read:
16131 # /* config.h. Generated by config.status. */
16132 configure_input
='Generated from '`
16133 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16135 if test x
"$ac_file" != x-
; then
16136 configure_input
="$ac_file. $configure_input"
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16138 $as_echo "$as_me: creating $ac_file" >&6;}
16140 # Neutralize special characters interpreted by sed in replacement strings.
16141 case $configure_input in #(
16142 *\
&* |
*\|
* |
*\\* )
16143 ac_sed_conf_input
=`$as_echo "$configure_input" |
16144 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16145 *) ac_sed_conf_input
=$configure_input;;
16149 *:-:* |
*:-) cat >"$tmp/stdin" \
16150 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
16155 ac_dir
=`$as_dirname -- "$ac_file" ||
16156 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16157 X"$ac_file" : 'X\(//\)[^/]' \| \
16158 X"$ac_file" : 'X\(//\)$' \| \
16159 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16160 $as_echo X"$ac_file" |
16161 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16165 /^X\(\/\/\)[^/].*/{
16178 as_dir
="$ac_dir"; as_fn_mkdir_p
16182 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16184 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16185 # A ".." for each directory in $ac_dir_suffix.
16186 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16187 case $ac_top_builddir_sub in
16188 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16189 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16192 ac_abs_top_builddir
=$ac_pwd
16193 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16194 # for backward compatibility:
16195 ac_top_builddir
=$ac_top_build_prefix
16198 .
) # We are building in place.
16200 ac_top_srcdir
=$ac_top_builddir_sub
16201 ac_abs_top_srcdir
=$ac_pwd ;;
16202 [\\/]* | ?
:[\\/]* ) # Absolute name.
16203 ac_srcdir
=$srcdir$ac_dir_suffix;
16204 ac_top_srcdir
=$srcdir
16205 ac_abs_top_srcdir
=$srcdir ;;
16206 *) # Relative name.
16207 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16208 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16209 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16211 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16221 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16222 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16224 ac_MKDIR_P
=$MKDIR_P
16226 [\\/$
]* | ?
:[\\/]* ) ;;
16227 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16231 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16232 # If the template does not know about datarootdir, expand it.
16233 # FIXME: This hack should be removed a few years after 2.60.
16234 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16245 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16246 *datarootdir
*) ac_datarootdir_seen
=yes;;
16247 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16249 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16251 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16252 ac_datarootdir_hack='
16253 s&@datadir@&$datadir&g
16254 s&@docdir@&$docdir&g
16255 s&@infodir@&$infodir&g
16256 s&@localedir@&$localedir&g
16257 s&@mandir@&$mandir&g
16258 s&\\\${datarootdir}&$datarootdir&g' ;;
16262 # Neutralize VPATH when `$srcdir' = `.'.
16263 # Shell code in configure.ac might set extrasub.
16264 # FIXME: do we really want to maintain this feature?
16265 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16266 ac_sed_extra="$ac_vpsub
16269 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16271 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16272 s|@configure_input@|
$ac_sed_conf_input|
;t t
16273 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16274 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16275 s
&@srcdir@
&$ac_srcdir&;t t
16276 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16277 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16278 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16279 s
&@builddir@
&$ac_builddir&;t t
16280 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16281 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16282 s
&@INSTALL@
&$ac_INSTALL&;t t
16283 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16284 $ac_datarootdir_hack
16286 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16287 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16289 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16290 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16291 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16293 which seems to be undefined. Please make sure it is defined." >&5
16294 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16295 which seems to be undefined. Please make sure it is defined." >&2;}
16299 -) cat "$tmp/out" && rm -f "$tmp/out";;
16300 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16302 || as_fn_error "could not create $ac_file" "$LINENO" 5
16308 if test x"$ac_file" != x-; then
16310 $as_echo "/* $configure_input */" \
16311 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16312 } >"$tmp/config.h" \
16313 || as_fn_error "could not create $ac_file" "$LINENO" 5
16314 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16316 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16319 mv "$tmp/config.h" "$ac_file" \
16320 || as_fn_error "could not create $ac_file" "$LINENO" 5
16323 $as_echo "/* $configure_input */" \
16324 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16325 || as_fn_error "could not create -" "$LINENO" 5
16327 # Compute "$ac_file"'s index
in $config_headers.
16330 for _am_header
in $config_headers :; do
16331 case $_am_header in
16332 $_am_arg |
$_am_arg:* )
16335 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16338 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16339 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16340 X"$_am_arg" : 'X\(//\)[^/]' \| \
16341 X"$_am_arg" : 'X\(//\)$' \| \
16342 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16343 $as_echo X"$_am_arg" |
16344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16348 /^X\(\/\/\)[^/].*/{
16360 s/.*/./; q'`/stamp-h
$_am_stamp_count
16363 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16364 $as_echo "$as_me: executing $ac_file commands" >&6;}
16369 case $ac_file$ac_mode in
16370 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
16371 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16372 # are listed without --file. Let's play safe and only enable the eval
16373 # if we detect the quoting.
16374 case $CONFIG_FILES in
16375 *\'*) eval set x
"$CONFIG_FILES" ;;
16376 *) set x
$CONFIG_FILES ;;
16381 # Strip MF so we end up with the name of the file.
16382 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16383 # Check whether this is an Automake generated Makefile or not.
16384 # We used to match only the files named `Makefile.in', but
16385 # some people rename them; so instead we look at the file content.
16386 # Grep'ing the first line is not enough: some people post-process
16387 # each Makefile.in and add a new line on top of each file to say so.
16388 # Grep'ing the whole file is not good either: AIX grep has a line
16389 # limit of 2048, but all sed's we know have understand at least 4000.
16390 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16391 dirpart
=`$as_dirname -- "$mf" ||
16392 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16393 X"$mf" : 'X\(//\)[^/]' \| \
16394 X"$mf" : 'X\(//\)$' \| \
16395 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16401 /^X\(\/\/\)[^/].*/{
16417 # Extract the definition of DEPDIR, am__include, and am__quote
16418 # from the Makefile without running `make'.
16419 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16420 test -z "$DEPDIR" && continue
16421 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16422 test -z "am__include" && continue
16423 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16424 # When using ansi2knr, U may be empty or an underscore; expand it
16425 U
=`sed -n 's/^U = //p' < "$mf"`
16426 # Find all dependency output files, they are included files with
16427 # $(DEPDIR) in their names. We invoke sed twice because it is the
16428 # simplest approach to changing $(DEPDIR) to its actual value in the
16430 for file in `sed -n "
16431 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16432 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16433 # Make sure the directory exists.
16434 test -f "$dirpart/$file" && continue
16435 fdir
=`$as_dirname -- "$file" ||
16436 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16437 X"$file" : 'X\(//\)[^/]' \| \
16438 X"$file" : 'X\(//\)$' \| \
16439 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16440 $as_echo X"$file" |
16441 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16445 /^X\(\/\/\)[^/].*/{
16458 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16459 # echo "creating $dirpart/$file"
16460 echo '# dummy' > "$dirpart/$file"
16467 # See if we are running on zsh, and set the options which allow our
16468 # commands through without removal of \ escapes.
16469 if test -n "${ZSH_VERSION+set}" ; then
16470 setopt NO_GLOB_SUBST
16473 cfgfile
="${ofile}T"
16474 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16477 cat <<_LT_EOF >> "$cfgfile"
16480 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16481 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16482 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16483 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16485 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16486 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16487 # Written by Gordon Matzigkeit, 1996
16489 # This file is part of GNU Libtool.
16491 # GNU Libtool is free software; you can redistribute it and/or
16492 # modify it under the terms of the GNU General Public License as
16493 # published by the Free Software Foundation; either version 2 of
16494 # the License, or (at your option) any later version.
16496 # As a special exception to the GNU General Public License,
16497 # if you distribute this file as part of a program or library that
16498 # is built using GNU Libtool, you may include this file under the
16499 # same distribution terms that you use for the rest of that program.
16501 # GNU Libtool is distributed in the hope that it will be useful,
16502 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16503 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16504 # GNU General Public License for more details.
16506 # You should have received a copy of the GNU General Public License
16507 # along with GNU Libtool; see the file COPYING. If not, a copy
16508 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16509 # obtained by writing to the Free Software Foundation, Inc.,
16510 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16513 # The names of the tagged configurations supported by this script.
16514 available_tags="CXX "
16516 # ### BEGIN LIBTOOL CONFIG
16518 # Which release of libtool.m4 was used?
16519 macro_version=$macro_version
16520 macro_revision=$macro_revision
16522 # Whether or not to build static libraries.
16523 build_old_libs=$enable_static
16525 # Whether or not to build shared libraries.
16526 build_libtool_libs=$enable_shared
16528 # What type of objects to build.
16531 # Whether or not to optimize for fast installation.
16532 fast_install=$enable_fast_install
16534 # Shell to use when invoking shell scripts.
16537 # An echo program that protects backslashes.
16541 host_alias=$host_alias
16545 # The build system.
16546 build_alias=$build_alias
16550 # A sed program that does not truncate output.
16553 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16554 Xsed="\$SED -e 1s/^X//"
16556 # A grep program that handles long lines.
16562 # A literal string matcher.
16565 # A BSD- or MS-compatible name lister.
16568 # Whether we need soft or hard links.
16571 # What is the maximum length of a command?
16572 max_cmd_len=$max_cmd_len
16574 # Object file suffix (normally "o").
16577 # Executable file suffix (normally "").
16580 # whether the shell understands "unset".
16583 # turn spaces into newlines.
16586 # turn newlines into spaces.
16589 # An object symbol dumper.
16590 OBJDUMP=$lt_OBJDUMP
16592 # Method to check whether dependent libraries are shared objects.
16593 deplibs_check_method=$lt_deplibs_check_method
16595 # Command to use when deplibs_check_method == "file_magic".
16596 file_magic_cmd=$lt_file_magic_cmd
16600 AR_FLAGS=$lt_AR_FLAGS
16602 # A symbol stripping program.
16605 # Commands used to install an old-style archive.
16607 old_postinstall_cmds=$lt_old_postinstall_cmds
16608 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16610 # Whether to use a lock for old archive extraction.
16611 lock_old_archive_extraction=$lock_old_archive_extraction
16616 # LTCC compiler flags.
16617 LTCFLAGS=$lt_CFLAGS
16619 # Take the output of nm and produce a listing of raw symbols and C names.
16620 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16622 # Transform the output of nm in a proper C declaration.
16623 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16625 # Transform the output of nm in a C name address pair.
16626 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16628 # Transform the output of nm in a C name address pair when lib prefix is needed.
16629 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16631 # The name of the directory that contains temporary libtool files.
16634 # Used to examine libraries when file_magic_cmd begins with "file".
16635 MAGIC_CMD=$MAGIC_CMD
16637 # Must we lock files when doing compilation?
16638 need_locks=$lt_need_locks
16640 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16641 DSYMUTIL=$lt_DSYMUTIL
16643 # Tool to change global to local symbols on Mac OS X.
16646 # Tool to manipulate fat objects and archives on Mac OS X.
16649 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16652 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16653 OTOOL64=$lt_OTOOL64
16655 # Old archive suffix (normally "a").
16658 # Shared library suffix (normally ".so").
16659 shrext_cmds=$lt_shrext_cmds
16661 # The commands to extract the exported symbol list from a shared archive.
16662 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16664 # Variables whose values should be saved in libtool wrapper scripts and
16665 # restored at link time.
16666 variables_saved_for_relink=$lt_variables_saved_for_relink
16668 # Do we need the "lib" prefix for modules?
16669 need_lib_prefix=$need_lib_prefix
16671 # Do we need a version for libraries?
16672 need_version=$need_version
16674 # Library versioning type.
16675 version_type=$version_type
16677 # Shared library runtime path variable.
16678 runpath_var=$runpath_var
16680 # Shared library path variable.
16681 shlibpath_var=$shlibpath_var
16683 # Is shlibpath searched before the hard-coded library search path?
16684 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16686 # Format of library name prefix.
16687 libname_spec=$lt_libname_spec
16689 # List of archive names. First name is the real one, the rest are links.
16690 # The last name is the one that the linker finds with -lNAME
16691 library_names_spec=$lt_library_names_spec
16693 # The coded name of the library, if different from the real name.
16694 soname_spec=$lt_soname_spec
16696 # Permission mode override for installation of shared libraries.
16697 install_override_mode=$lt_install_override_mode
16699 # Command to use after installation of a shared archive.
16700 postinstall_cmds=$lt_postinstall_cmds
16702 # Command to use after uninstallation of a shared archive.
16703 postuninstall_cmds=$lt_postuninstall_cmds
16705 # Commands used to finish a libtool library installation in a directory.
16706 finish_cmds=$lt_finish_cmds
16708 # As "finish_cmds", except a single script fragment to be evaled but
16710 finish_eval=$lt_finish_eval
16712 # Whether we should hardcode library paths into libraries.
16713 hardcode_into_libs=$hardcode_into_libs
16715 # Compile-time system search path for libraries.
16716 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16718 # Run-time system search path for libraries.
16719 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16721 # Whether dlopen is supported.
16722 dlopen_support=$enable_dlopen
16724 # Whether dlopen of programs is supported.
16725 dlopen_self=$enable_dlopen_self
16727 # Whether dlopen of statically linked programs is supported.
16728 dlopen_self_static=$enable_dlopen_self_static
16730 # Commands to strip libraries.
16731 old_striplib=$lt_old_striplib
16732 striplib=$lt_striplib
16735 # The linker used to build libraries.
16738 # How to create reloadable object files.
16739 reload_flag=$lt_reload_flag
16740 reload_cmds=$lt_reload_cmds
16742 # Commands used to build an old-style archive.
16743 old_archive_cmds=$lt_old_archive_cmds
16745 # A language specific compiler.
16748 # Is the compiler the GNU compiler?
16751 # Compiler flag to turn off builtin functions.
16752 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16754 # How to pass a linker flag through the compiler.
16755 wl=$lt_lt_prog_compiler_wl
16757 # Additional compiler flags for building library objects.
16758 pic_flag=$lt_lt_prog_compiler_pic
16760 # Compiler flag to prevent dynamic linking.
16761 link_static_flag=$lt_lt_prog_compiler_static
16763 # Does compiler simultaneously support -c and -o options?
16764 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16766 # Whether or not to add -lc for building shared libraries.
16767 build_libtool_need_lc=$archive_cmds_need_lc
16769 # Whether or not to disallow shared libs when runtime libs are static.
16770 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16772 # Compiler flag to allow reflexive dlopens.
16773 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16775 # Compiler flag to generate shared objects directly from archives.
16776 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16778 # Whether the compiler copes with passing no objects directly.
16779 compiler_needs_object=$lt_compiler_needs_object
16781 # Create an old-style archive from a shared archive.
16782 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16784 # Create a temporary old-style archive to link instead of a shared archive.
16785 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16787 # Commands used to build a shared archive.
16788 archive_cmds=$lt_archive_cmds
16789 archive_expsym_cmds=$lt_archive_expsym_cmds
16791 # Commands used to build a loadable module if different from building
16792 # a shared archive.
16793 module_cmds=$lt_module_cmds
16794 module_expsym_cmds=$lt_module_expsym_cmds
16796 # Whether we are building with GNU ld or not.
16797 with_gnu_ld=$lt_with_gnu_ld
16799 # Flag that allows shared libraries with undefined symbols to be built.
16800 allow_undefined_flag=$lt_allow_undefined_flag
16802 # Flag that enforces no undefined symbols.
16803 no_undefined_flag=$lt_no_undefined_flag
16805 # Flag to hardcode \$libdir into a binary during linking.
16806 # This must work even if \$libdir does not exist
16807 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16809 # If ld is used when linking, flag to hardcode \$libdir into a binary
16810 # during linking. This must work even if \$libdir does not exist.
16811 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16813 # Whether we need a single "-rpath" flag with a separated argument.
16814 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16816 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16817 # DIR into the resulting binary.
16818 hardcode_direct=$hardcode_direct
16820 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16821 # DIR into the resulting binary and the resulting library dependency is
16822 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16823 # library is relocated.
16824 hardcode_direct_absolute=$hardcode_direct_absolute
16826 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16827 # into the resulting binary.
16828 hardcode_minus_L=$hardcode_minus_L
16830 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16831 # into the resulting binary.
16832 hardcode_shlibpath_var=$hardcode_shlibpath_var
16834 # Set to "yes" if building a shared library automatically hardcodes DIR
16835 # into the library and all subsequent libraries and executables linked
16837 hardcode_automatic=$hardcode_automatic
16839 # Set to yes if linker adds runtime paths of dependent libraries
16840 # to runtime path list.
16841 inherit_rpath=$inherit_rpath
16843 # Whether libtool must link a program against all its dependency libraries.
16844 link_all_deplibs=$link_all_deplibs
16846 # Fix the shell variable \$srcfile for the compiler.
16847 fix_srcfile_path=$lt_fix_srcfile_path
16849 # Set to "yes" if exported symbols are required.
16850 always_export_symbols=$always_export_symbols
16852 # The commands to list exported symbols.
16853 export_symbols_cmds=$lt_export_symbols_cmds
16855 # Symbols that should not be listed in the preloaded symbols.
16856 exclude_expsyms=$lt_exclude_expsyms
16858 # Symbols that must always be exported.
16859 include_expsyms=$lt_include_expsyms
16861 # Commands necessary for linking programs (against libraries) with templates.
16862 prelink_cmds=$lt_prelink_cmds
16864 # Specify filename containing input files.
16865 file_list_spec=$lt_file_list_spec
16867 # How to hardcode a shared library path into an executable.
16868 hardcode_action=$hardcode_action
16870 # The directories searched by this compiler when creating a shared library.
16871 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
16873 # Dependencies to place before and after the objects being linked to
16874 # create a shared library.
16875 predep_objects=$lt_predep_objects
16876 postdep_objects=$lt_postdep_objects
16877 predeps=$lt_predeps
16878 postdeps=$lt_postdeps
16880 # The library search path used internally by the compiler when linking
16881 # a shared library.
16882 compiler_lib_search_path=$lt_compiler_lib_search_path
16884 # ### END LIBTOOL CONFIG
16890 cat <<\_LT_EOF
>> "$cfgfile"
16891 # AIX sometimes has problems with the GCC collect2 program. For some
16892 # reason, if we set the COLLECT_NAMES environment variable, the problems
16893 # vanish in a puff of smoke.
16894 if test "X${COLLECT_NAMES+set}" != Xset
; then
16896 export COLLECT_NAMES
16903 ltmain
="$ac_aux_dir/ltmain.sh"
16906 # We use sed instead of cat because bash on DJGPP gets confused if
16907 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16908 # text mode, it properly converts lines to CR/LF. This bash problem
16909 # is reportedly fixed, but why not run on old versions too?
16910 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16911 ||
(rm -f "$cfgfile"; exit 1)
16915 cat << \_LT_EOF
>> "$cfgfile"
16917 # func_dirname file append nondir_replacement
16918 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16919 # otherwise set result to NONDIR_REPLACEMENT.
16923 */*) func_dirname_result
="${1%/*}${2}" ;;
16924 * ) func_dirname_result
="${3}" ;;
16928 # func_basename file
16931 func_basename_result
="${1##*/}"
16934 # func_dirname_and_basename file append nondir_replacement
16935 # perform func_basename and func_dirname in a single function
16937 # dirname: Compute the dirname of FILE. If nonempty,
16938 # add APPEND to the result, otherwise set result
16939 # to NONDIR_REPLACEMENT.
16940 # value returned in "$func_dirname_result"
16941 # basename: Compute filename of FILE.
16942 # value retuned in "$func_basename_result"
16943 # Implementation must be kept synchronized with func_dirname
16944 # and func_basename. For efficiency, we do not delegate to
16945 # those functions but instead duplicate the functionality here.
16946 func_dirname_and_basename
()
16949 */*) func_dirname_result
="${1%/*}${2}" ;;
16950 * ) func_dirname_result
="${3}" ;;
16952 func_basename_result
="${1##*/}"
16955 # func_stripname prefix suffix name
16956 # strip PREFIX and SUFFIX off of NAME.
16957 # PREFIX and SUFFIX must not contain globbing or regex special
16958 # characters, hashes, percent signs, but SUFFIX may contain a leading
16959 # dot (in which case that matches only a dot).
16962 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16963 # positional parameters, so assign one to ordinary parameter first.
16964 func_stripname_result
=${3}
16965 func_stripname_result
=${func_stripname_result#"${1}"}
16966 func_stripname_result
=${func_stripname_result%"${2}"}
16972 func_opt_split_opt
=${1%%=*}
16973 func_opt_split_arg
=${1#*=}
16980 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16981 *) func_lo2o_result
=${1} ;;
16985 # func_xform libobj-or-source
16988 func_xform_result
=${1%.*}.lo
16991 # func_arith arithmetic-term...
16994 func_arith_result
=$
(( $
* ))
16998 # STRING may not start with a hyphen.
17001 func_len_result
=${#1}
17006 *) # Bourne compatible functions.
17007 cat << \_LT_EOF
>> "$cfgfile"
17009 # func_dirname file append nondir_replacement
17010 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17011 # otherwise set result to NONDIR_REPLACEMENT.
17014 # Extract subdirectory from the argument.
17015 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17016 if test "X$func_dirname_result" = "X${1}"; then
17017 func_dirname_result
="${3}"
17019 func_dirname_result
="$func_dirname_result${2}"
17023 # func_basename file
17026 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17030 # func_stripname prefix suffix name
17031 # strip PREFIX and SUFFIX off of NAME.
17032 # PREFIX and SUFFIX must not contain globbing or regex special
17033 # characters, hashes, percent signs, but SUFFIX may contain a leading
17034 # dot (in which case that matches only a dot).
17035 # func_strip_suffix prefix name
17039 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17040 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17045 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17046 my_sed_long_arg
='1s/^-[^=]*=//'
17051 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17052 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17058 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17061 # func_xform libobj-or-source
17064 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17067 # func_arith arithmetic-term...
17070 func_arith_result
=`expr "$@"`
17074 # STRING may not start with a hyphen.
17077 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17083 case $lt_shell_append in
17085 cat << \_LT_EOF
>> "$cfgfile"
17087 # func_append var value
17088 # Append VALUE to the end of shell variable VAR.
17096 cat << \_LT_EOF
>> "$cfgfile"
17098 # func_append var value
17099 # Append VALUE to the end of shell variable VAR.
17110 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17111 ||
(rm -f "$cfgfile"; exit 1)
17113 mv -f "$cfgfile" "$ofile" ||
17114 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17118 cat <<_LT_EOF >> "$ofile"
17120 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17122 # The linker used to build libraries.
17125 # How to create reloadable object files.
17126 reload_flag=$lt_reload_flag_CXX
17127 reload_cmds=$lt_reload_cmds_CXX
17129 # Commands used to build an old-style archive.
17130 old_archive_cmds=$lt_old_archive_cmds_CXX
17132 # A language specific compiler.
17133 CC=$lt_compiler_CXX
17135 # Is the compiler the GNU compiler?
17138 # Compiler flag to turn off builtin functions.
17139 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17141 # How to pass a linker flag through the compiler.
17142 wl=$lt_lt_prog_compiler_wl_CXX
17144 # Additional compiler flags for building library objects.
17145 pic_flag=$lt_lt_prog_compiler_pic_CXX
17147 # Compiler flag to prevent dynamic linking.
17148 link_static_flag=$lt_lt_prog_compiler_static_CXX
17150 # Does compiler simultaneously support -c and -o options?
17151 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17153 # Whether or not to add -lc for building shared libraries.
17154 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17156 # Whether or not to disallow shared libs when runtime libs are static.
17157 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17159 # Compiler flag to allow reflexive dlopens.
17160 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17162 # Compiler flag to generate shared objects directly from archives.
17163 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17165 # Whether the compiler copes with passing no objects directly.
17166 compiler_needs_object=$lt_compiler_needs_object_CXX
17168 # Create an old-style archive from a shared archive.
17169 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17171 # Create a temporary old-style archive to link instead of a shared archive.
17172 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17174 # Commands used to build a shared archive.
17175 archive_cmds=$lt_archive_cmds_CXX
17176 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17178 # Commands used to build a loadable module if different from building
17179 # a shared archive.
17180 module_cmds=$lt_module_cmds_CXX
17181 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17183 # Whether we are building with GNU ld or not.
17184 with_gnu_ld=$lt_with_gnu_ld_CXX
17186 # Flag that allows shared libraries with undefined symbols to be built.
17187 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17189 # Flag that enforces no undefined symbols.
17190 no_undefined_flag=$lt_no_undefined_flag_CXX
17192 # Flag to hardcode \$libdir into a binary during linking.
17193 # This must work even if \$libdir does not exist
17194 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17196 # If ld is used when linking, flag to hardcode \$libdir into a binary
17197 # during linking. This must work even if \$libdir does not exist.
17198 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17200 # Whether we need a single "-rpath" flag with a separated argument.
17201 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17203 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17204 # DIR into the resulting binary.
17205 hardcode_direct=$hardcode_direct_CXX
17207 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17208 # DIR into the resulting binary and the resulting library dependency is
17209 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17210 # library is relocated.
17211 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17213 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17214 # into the resulting binary.
17215 hardcode_minus_L=$hardcode_minus_L_CXX
17217 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17218 # into the resulting binary.
17219 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17221 # Set to "yes" if building a shared library automatically hardcodes DIR
17222 # into the library and all subsequent libraries and executables linked
17224 hardcode_automatic=$hardcode_automatic_CXX
17226 # Set to yes if linker adds runtime paths of dependent libraries
17227 # to runtime path list.
17228 inherit_rpath=$inherit_rpath_CXX
17230 # Whether libtool must link a program against all its dependency libraries.
17231 link_all_deplibs=$link_all_deplibs_CXX
17233 # Fix the shell variable \$srcfile for the compiler.
17234 fix_srcfile_path=$lt_fix_srcfile_path_CXX
17236 # Set to "yes" if exported symbols are required.
17237 always_export_symbols=$always_export_symbols_CXX
17239 # The commands to list exported symbols.
17240 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17242 # Symbols that should not be listed in the preloaded symbols.
17243 exclude_expsyms=$lt_exclude_expsyms_CXX
17245 # Symbols that must always be exported.
17246 include_expsyms=$lt_include_expsyms_CXX
17248 # Commands necessary for linking programs (against libraries) with templates.
17249 prelink_cmds=$lt_prelink_cmds_CXX
17251 # Specify filename containing input files.
17252 file_list_spec=$lt_file_list_spec_CXX
17254 # How to hardcode a shared library path into an executable.
17255 hardcode_action=$hardcode_action_CXX
17257 # The directories searched by this compiler when creating a shared library.
17258 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17260 # Dependencies to place before and after the objects being linked to
17261 # create a shared library.
17262 predep_objects=$lt_predep_objects_CXX
17263 postdep_objects=$lt_postdep_objects_CXX
17264 predeps=$lt_predeps_CXX
17265 postdeps=$lt_postdeps_CXX
17267 # The library search path used internally by the compiler when linking
17268 # a shared library.
17269 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17271 # ### END LIBTOOL TAG CONFIG: CXX
17282 ac_clean_files
=$ac_clean_files_save
17284 test $ac_write_fail = 0 ||
17285 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17288 # configure is writing to config.log, and then calls config.status.
17289 # config.status does its own redirection, appending to config.log.
17290 # Unfortunately, on DOS this fails, as config.log is still kept open
17291 # by configure, so config.status won't be able to write to it; its
17292 # output is simply discarded. So we exec the FD to /dev/null,
17293 # effectively closing config.log, so it can be properly (re)opened and
17294 # appended to by config.status. When coming back to configure, we
17295 # need to make the FD available again.
17296 if test "$no_create" != yes; then
17298 ac_config_status_args
=
17299 test "$silent" = yes &&
17300 ac_config_status_args
="$ac_config_status_args --quiet"
17302 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17304 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17305 # would make configure fail if this is the last instruction.
17306 $ac_cs_success || as_fn_exit $?
17308 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17310 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}