2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for ld 2.25.51.
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.
559 PACKAGE_VERSION
='2.25.51'
560 PACKAGE_STRING
='ld 2.25.51'
564 ac_unique_file
="ldmain.c"
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
611 elf_plt_unwind_list_options
612 elf_shlib_list_options
615 enable_initfini_array
651 TARGET_SYSTEM_ROOT_DEFINE
681 MAINTAINER_MODE_FALSE
700 INSTALL_STRIP_PROGRAM
761 program_transform_name
772 ac_subst_files
='TDIRS'
774 enable_option_checking
775 enable_dependency_tracking
776 enable_maintainer_mode
791 enable_compressed_debug_sections
793 enable_build_warnings
795 enable_initfini_array
797 ac_precious_vars
='build_alias
814 # Initialize some variables set by options.
816 ac_init_version
=false
817 ac_unrecognized_opts
=
819 # The variables have the same names as the options, with
820 # dashes changed to underlines.
828 program_transform_name
=s
,x
,x
,
836 # Installation directory options.
837 # These are left unexpanded so users can "make install exec_prefix=/foo"
838 # and all the variables that are supposed to be based on exec_prefix
839 # by default will actually change.
840 # Use braces instead of parens because sh, perl, etc. also accept them.
841 # (The list follows the same order as the GNU Coding Standards.)
842 bindir
='${exec_prefix}/bin'
843 sbindir
='${exec_prefix}/sbin'
844 libexecdir
='${exec_prefix}/libexec'
845 datarootdir
='${prefix}/share'
846 datadir
='${datarootdir}'
847 sysconfdir
='${prefix}/etc'
848 sharedstatedir
='${prefix}/com'
849 localstatedir
='${prefix}/var'
850 includedir
='${prefix}/include'
851 oldincludedir
='/usr/include'
852 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
853 infodir
='${datarootdir}/info'
858 libdir
='${exec_prefix}/lib'
859 localedir
='${datarootdir}/locale'
860 mandir
='${datarootdir}/man'
866 # If the previous option needs an argument, assign it.
867 if test -n "$ac_prev"; then
868 eval $ac_prev=\
$ac_option
874 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
878 # Accept the important Cygnus configure options, so we can diagnose typos.
880 case $ac_dashdash$ac_option in
884 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
886 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
889 -build |
--build |
--buil |
--bui |
--bu)
890 ac_prev
=build_alias
;;
891 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
892 build_alias
=$ac_optarg ;;
894 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
895 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
896 ac_prev
=cache_file
;;
897 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
898 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
899 cache_file
=$ac_optarg ;;
902 cache_file
=config.cache
;;
904 -datadir |
--datadir |
--datadi |
--datad)
906 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
907 datadir
=$ac_optarg ;;
909 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
910 |
--dataroo |
--dataro |
--datar)
911 ac_prev
=datarootdir
;;
912 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
913 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
914 datarootdir
=$ac_optarg ;;
916 -disable-* |
--disable-*)
917 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
918 # Reject names that are not valid shell variable names.
919 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
920 as_fn_error
"invalid feature name: $ac_useropt"
921 ac_useropt_orig
=$ac_useropt
922 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
923 case $ac_user_opts in
927 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
928 ac_unrecognized_sep
=', ';;
930 eval enable_
$ac_useropt=no
;;
932 -docdir |
--docdir |
--docdi |
--doc |
--do)
934 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
937 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
939 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
942 -enable-* |
--enable-*)
943 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
944 # Reject names that are not valid shell variable names.
945 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
946 as_fn_error
"invalid feature name: $ac_useropt"
947 ac_useropt_orig
=$ac_useropt
948 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
949 case $ac_user_opts in
953 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
954 ac_unrecognized_sep
=', ';;
956 eval enable_
$ac_useropt=\
$ac_optarg ;;
958 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
959 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
960 |
--exec |
--exe |
--ex)
961 ac_prev
=exec_prefix
;;
962 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
963 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
964 |
--exec=* |
--exe=* |
--ex=*)
965 exec_prefix
=$ac_optarg ;;
967 -gas |
--gas |
--ga |
--g)
968 # Obsolete; use --with-gas.
971 -help |
--help |
--hel |
--he |
-h)
973 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
974 ac_init_help
=recursive
;;
975 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
976 ac_init_help
=short
;;
978 -host |
--host |
--hos |
--ho)
979 ac_prev
=host_alias
;;
980 -host=* |
--host=* |
--hos=* |
--ho=*)
981 host_alias
=$ac_optarg ;;
983 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
985 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
987 htmldir
=$ac_optarg ;;
989 -includedir |
--includedir |
--includedi |
--included |
--include \
990 |
--includ |
--inclu |
--incl |
--inc)
991 ac_prev
=includedir
;;
992 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
993 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
994 includedir
=$ac_optarg ;;
996 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
998 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
999 infodir
=$ac_optarg ;;
1001 -libdir |
--libdir |
--libdi |
--libd)
1003 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1004 libdir
=$ac_optarg ;;
1006 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1007 |
--libexe |
--libex |
--libe)
1008 ac_prev
=libexecdir
;;
1009 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1010 |
--libexe=* |
--libex=* |
--libe=*)
1011 libexecdir
=$ac_optarg ;;
1013 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1014 ac_prev
=localedir
;;
1015 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1016 localedir
=$ac_optarg ;;
1018 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1019 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1020 ac_prev
=localstatedir
;;
1021 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1022 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1023 localstatedir
=$ac_optarg ;;
1025 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1027 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1028 mandir
=$ac_optarg ;;
1030 -nfp |
--nfp |
--nf)
1031 # Obsolete; use --without-fp.
1034 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1035 |
--no-cr |
--no-c |
-n)
1038 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1039 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1042 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1043 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1044 |
--oldin |
--oldi |
--old |
--ol |
--o)
1045 ac_prev
=oldincludedir
;;
1046 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1047 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1048 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1049 oldincludedir
=$ac_optarg ;;
1051 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1053 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1054 prefix
=$ac_optarg ;;
1056 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1057 |
--program-pre |
--program-pr |
--program-p)
1058 ac_prev
=program_prefix
;;
1059 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1060 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1061 program_prefix
=$ac_optarg ;;
1063 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1064 |
--program-suf |
--program-su |
--program-s)
1065 ac_prev
=program_suffix
;;
1066 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1067 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1068 program_suffix
=$ac_optarg ;;
1070 -program-transform-name |
--program-transform-name \
1071 |
--program-transform-nam |
--program-transform-na \
1072 |
--program-transform-n |
--program-transform- \
1073 |
--program-transform |
--program-transfor \
1074 |
--program-transfo |
--program-transf \
1075 |
--program-trans |
--program-tran \
1076 |
--progr-tra |
--program-tr |
--program-t)
1077 ac_prev
=program_transform_name
;;
1078 -program-transform-name=* |
--program-transform-name=* \
1079 |
--program-transform-nam=* |
--program-transform-na=* \
1080 |
--program-transform-n=* |
--program-transform-=* \
1081 |
--program-transform=* |
--program-transfor=* \
1082 |
--program-transfo=* |
--program-transf=* \
1083 |
--program-trans=* |
--program-tran=* \
1084 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1085 program_transform_name
=$ac_optarg ;;
1087 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1089 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1090 pdfdir
=$ac_optarg ;;
1092 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1094 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1097 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1098 |
-silent |
--silent |
--silen |
--sile |
--sil)
1101 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1103 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1105 sbindir
=$ac_optarg ;;
1107 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1108 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1109 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1111 ac_prev
=sharedstatedir
;;
1112 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1113 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1114 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1116 sharedstatedir
=$ac_optarg ;;
1118 -site |
--site |
--sit)
1120 -site=* |
--site=* |
--sit=*)
1123 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1125 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1126 srcdir
=$ac_optarg ;;
1128 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1129 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1130 ac_prev
=sysconfdir
;;
1131 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1132 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1133 sysconfdir
=$ac_optarg ;;
1135 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1136 ac_prev
=target_alias
;;
1137 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1138 target_alias
=$ac_optarg ;;
1140 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1143 -version |
--version |
--versio |
--versi |
--vers |
-V)
1144 ac_init_version
=: ;;
1147 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1148 # Reject names that are not valid shell variable names.
1149 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1150 as_fn_error
"invalid package name: $ac_useropt"
1151 ac_useropt_orig
=$ac_useropt
1152 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1153 case $ac_user_opts in
1157 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1158 ac_unrecognized_sep
=', ';;
1160 eval with_
$ac_useropt=\
$ac_optarg ;;
1162 -without-* |
--without-*)
1163 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1164 # Reject names that are not valid shell variable names.
1165 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1166 as_fn_error
"invalid package name: $ac_useropt"
1167 ac_useropt_orig
=$ac_useropt
1168 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1169 case $ac_user_opts in
1173 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1174 ac_unrecognized_sep
=', ';;
1176 eval with_
$ac_useropt=no
;;
1179 # Obsolete; use --with-x.
1182 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1183 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1184 ac_prev
=x_includes
;;
1185 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1186 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1187 x_includes
=$ac_optarg ;;
1189 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1190 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1191 ac_prev
=x_libraries
;;
1192 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1193 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1194 x_libraries
=$ac_optarg ;;
1196 -*) as_fn_error
"unrecognized option: \`$ac_option'
1197 Try \`$0 --help' for more information."
1201 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1202 # Reject names that are not valid shell variable names.
1203 case $ac_envvar in #(
1204 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1205 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1207 eval $ac_envvar=\
$ac_optarg
1208 export $ac_envvar ;;
1211 # FIXME: should be removed in autoconf 3.0.
1212 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1213 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1214 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1215 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1221 if test -n "$ac_prev"; then
1222 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1223 as_fn_error
"missing argument to $ac_option"
1226 if test -n "$ac_unrecognized_opts"; then
1227 case $enable_option_checking in
1229 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1230 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1234 # Check all directory arguments for consistency.
1235 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1236 datadir sysconfdir sharedstatedir localstatedir includedir \
1237 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1238 libdir localedir mandir
1240 eval ac_val
=\$
$ac_var
1241 # Remove trailing slashes.
1244 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1245 eval $ac_var=\
$ac_val;;
1247 # Be sure to have absolute directory names.
1249 [\\/$
]* | ?
:[\\/]* ) continue;;
1250 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1252 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1255 # There might be people who depend on the old broken behavior: `$host'
1256 # used to hold the argument of --host etc.
1257 # FIXME: To remove some day.
1260 target
=$target_alias
1262 # FIXME: To remove some day.
1263 if test "x$host_alias" != x
; then
1264 if test "x$build_alias" = x
; then
1265 cross_compiling
=maybe
1266 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1267 If a cross compiler is detected then cross compile mode will be used." >&2
1268 elif test "x$build_alias" != "x$host_alias"; then
1274 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1276 test "$silent" = yes && exec 6>/dev
/null
1279 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1280 ac_ls_di
=`ls -di .` &&
1281 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1282 as_fn_error
"working directory cannot be determined"
1283 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1284 as_fn_error
"pwd does not report name of working directory"
1287 # Find the source files, if location was not specified.
1288 if test -z "$srcdir"; then
1289 ac_srcdir_defaulted
=yes
1290 # Try the directory containing this script, then the parent directory.
1291 ac_confdir
=`$as_dirname -- "$as_myself" ||
1292 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1293 X"$as_myself" : 'X\(//\)[^/]' \| \
1294 X"$as_myself" : 'X\(//\)$' \| \
1295 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1296 $as_echo X"$as_myself" |
1297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1315 if test ! -r "$srcdir/$ac_unique_file"; then
1319 ac_srcdir_defaulted
=no
1321 if test ! -r "$srcdir/$ac_unique_file"; then
1322 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1323 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1325 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1327 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1329 # When building in place, set srcdir=.
1330 if test "$ac_abs_confdir" = "$ac_pwd"; then
1333 # Remove unnecessary trailing slashes from srcdir.
1334 # Double slashes in file names in object file debugging info
1335 # mess up M-x gdb in Emacs.
1337 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1339 for ac_var
in $ac_precious_vars; do
1340 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1341 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1342 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1343 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1347 # Report the --help message.
1349 if test "$ac_init_help" = "long"; then
1350 # Omit some internal or obsolete options to make the list less imposing.
1351 # This message is too long to be a string in the A/UX 3.1 sh.
1353 \`configure' configures ld 2.25.51 to adapt to many kinds of systems.
1355 Usage: $0 [OPTION]... [VAR=VALUE]...
1357 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1358 VAR=VALUE. See below for descriptions of some of the useful variables.
1360 Defaults for the options are specified in brackets.
1363 -h, --help display this help and exit
1364 --help=short display options specific to this package
1365 --help=recursive display the short help of all the included packages
1366 -V, --version display version information and exit
1367 -q, --quiet, --silent do not print \`checking...' messages
1368 --cache-file=FILE cache test results in FILE [disabled]
1369 -C, --config-cache alias for \`--cache-file=config.cache'
1370 -n, --no-create do not create output files
1371 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1373 Installation directories:
1374 --prefix=PREFIX install architecture-independent files in PREFIX
1375 [$ac_default_prefix]
1376 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1379 By default, \`make install' will install all the files in
1380 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1381 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1382 for instance \`--prefix=\$HOME'.
1384 For better control, use the options below.
1386 Fine tuning of the installation directories:
1387 --bindir=DIR user executables [EPREFIX/bin]
1388 --sbindir=DIR system admin executables [EPREFIX/sbin]
1389 --libexecdir=DIR program executables [EPREFIX/libexec]
1390 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1391 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1392 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1393 --libdir=DIR object code libraries [EPREFIX/lib]
1394 --includedir=DIR C header files [PREFIX/include]
1395 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1396 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1397 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1398 --infodir=DIR info documentation [DATAROOTDIR/info]
1399 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1400 --mandir=DIR man documentation [DATAROOTDIR/man]
1401 --docdir=DIR documentation root [DATAROOTDIR/doc/ld]
1402 --htmldir=DIR html documentation [DOCDIR]
1403 --dvidir=DIR dvi documentation [DOCDIR]
1404 --pdfdir=DIR pdf documentation [DOCDIR]
1405 --psdir=DIR ps documentation [DOCDIR]
1411 --program-prefix=PREFIX prepend PREFIX to installed program names
1412 --program-suffix=SUFFIX append SUFFIX to installed program names
1413 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1416 --build=BUILD configure
for building on BUILD
[guessed
]
1417 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1418 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1422 if test -n "$ac_init_help"; then
1423 case $ac_init_help in
1424 short | recursive
) echo "Configuration of ld 2.25.51:";;
1429 --disable-option-checking ignore unrecognized
--enable/--with options
1430 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1431 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1432 --disable-dependency-tracking speeds up one-time build
1433 --enable-dependency-tracking do not reject slow dependency extractors
1434 --enable-maintainer-mode enable make rules and dependencies not useful
1435 (and sometimes confusing
) to the casual installer
1436 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1437 --enable-static[=PKGS
] build static libraries
[default
=yes]
1438 --enable-fast-install[=PKGS
]
1439 optimize
for fast installation
[default
=yes]
1440 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1441 --enable-plugins Enable support
for plugins
1442 --disable-largefile omit support
for large files
1443 --enable-targets alternative target configurations
1444 --enable-64-bit-bfd 64-bit support
(on hosts with narrower word sizes
)
1445 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1446 --enable-got=<type> GOT handling scheme
(target
, single
, negative
,
1448 --enable-compressed-debug-sections compress debug sections by default
1449 --enable-werror treat compile warnings as errors
1450 --enable-build-warnings enable build-time compiler warnings
1451 --disable-nls do not use Native Language Support
1452 --enable-initfini-array use .init_array
/.fini_array sections
1455 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1456 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1457 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1459 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1460 --with-lib-path=dir1
:dir2...
set default LIB_PATH
1461 --with-sysroot=DIR Search
for usr
/lib et al within DIR.
1463 Some influential environment variables
:
1464 CC C compiler
command
1465 CFLAGS C compiler flags
1466 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1467 nonstandard directory
<lib dir
>
1468 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1469 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1470 you have headers
in a nonstandard directory
<include dir
>
1471 CXX C
++ compiler
command
1472 CXXFLAGS C
++ compiler flags
1474 CXXCPP C
++ preprocessor
1475 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
1476 the first program found out of: `bison
-y', `byacc', `yacc'.
1477 YFLAGS The list of arguments that will be passed by default to $YACC.
1478 This script will default YFLAGS to the empty string to avoid a
1479 default value of `-d' given by some make applications.
1481 Use these variables to override the choices made by `configure' or to
help
1482 it to
find libraries and programs with nonstandard names
/locations.
1484 Report bugs to the package provider.
1489 if test "$ac_init_help" = "recursive"; then
1490 # If there are subdirs, report their specific --help.
1491 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1492 test -d "$ac_dir" ||
1493 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1498 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1500 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1501 # A ".." for each directory in $ac_dir_suffix.
1502 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1503 case $ac_top_builddir_sub in
1504 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1505 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1508 ac_abs_top_builddir
=$ac_pwd
1509 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1510 # for backward compatibility:
1511 ac_top_builddir
=$ac_top_build_prefix
1514 .
) # We are building in place.
1516 ac_top_srcdir
=$ac_top_builddir_sub
1517 ac_abs_top_srcdir
=$ac_pwd ;;
1518 [\\/]* | ?
:[\\/]* ) # Absolute name.
1519 ac_srcdir
=$srcdir$ac_dir_suffix;
1520 ac_top_srcdir
=$srcdir
1521 ac_abs_top_srcdir
=$srcdir ;;
1523 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1524 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1525 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1527 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1529 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1530 # Check for guested configure.
1531 if test -f "$ac_srcdir/configure.gnu"; then
1533 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1534 elif test -f "$ac_srcdir/configure"; then
1536 $SHELL "$ac_srcdir/configure" --help=recursive
1538 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1540 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1544 test -n "$ac_init_help" && exit $ac_status
1545 if $ac_init_version; then
1547 ld configure
2.25.51
1548 generated by GNU Autoconf
2.64
1550 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1551 This configure
script is free software
; the Free Software Foundation
1552 gives unlimited permission to copy
, distribute and modify it.
1557 ## ------------------------ ##
1558 ## Autoconf initialization. ##
1559 ## ------------------------ ##
1561 # ac_fn_c_try_compile LINENO
1562 # --------------------------
1563 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1564 ac_fn_c_try_compile
()
1566 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1567 rm -f conftest.
$ac_objext
1568 if { { ac_try
="$ac_compile"
1570 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1571 *) ac_try_echo=$ac_try;;
1573 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1574 $as_echo "$ac_try_echo"; } >&5
1575 (eval "$ac_compile") 2>conftest.err
1577 if test -s conftest.err; then
1578 grep -v '^ *+' conftest.err >conftest.er1
1579 cat conftest.er1 >&5
1580 mv -f conftest.er1 conftest.err
1582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1583 test $ac_status = 0; } && {
1584 test -z "$ac_c_werror_flag" ||
1585 test ! -s conftest.err
1586 } && test -s conftest.$ac_objext; then :
1589 $as_echo "$as_me: failed program was:" >&5
1590 sed 's/^/| /' conftest.$ac_ext >&5
1594 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1597 } # ac_fn_c_try_compile
1599 # ac_fn_c_try_link LINENO
1600 # -----------------------
1601 # Try to link conftest.$ac_ext, and return whether this succeeded.
1604 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1605 rm -f conftest.$ac_objext conftest$ac_exeext
1606 if { { ac_try="$ac_link"
1608 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1609 *) ac_try_echo
=$ac_try;;
1611 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1612 $as_echo "$ac_try_echo"; } >&5
1613 (eval "$ac_link") 2>conftest.err
1615 if test -s conftest.err
; then
1616 grep -v '^ *+' conftest.err
>conftest.er1
1617 cat conftest.er1
>&5
1618 mv -f conftest.er1 conftest.err
1620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1621 test $ac_status = 0; } && {
1622 test -z "$ac_c_werror_flag" ||
1623 test ! -s conftest.err
1624 } && test -s conftest
$ac_exeext && {
1625 test "$cross_compiling" = yes ||
1626 $as_test_x conftest
$ac_exeext
1630 $as_echo "$as_me: failed program was:" >&5
1631 sed 's/^/| /' conftest.
$ac_ext >&5
1635 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1636 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1637 # interfere with the next link command; also delete a directory that is
1638 # left behind by Apple's compiler. We do this before executing the actions.
1639 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1640 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1643 } # ac_fn_c_try_link
1645 # ac_fn_cxx_try_compile LINENO
1646 # ----------------------------
1647 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1648 ac_fn_cxx_try_compile
()
1650 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1651 rm -f conftest.
$ac_objext
1652 if { { ac_try
="$ac_compile"
1654 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1655 *) ac_try_echo=$ac_try;;
1657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1658 $as_echo "$ac_try_echo"; } >&5
1659 (eval "$ac_compile") 2>conftest.err
1661 if test -s conftest.err; then
1662 grep -v '^ *+' conftest.err >conftest.er1
1663 cat conftest.er1 >&5
1664 mv -f conftest.er1 conftest.err
1666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1667 test $ac_status = 0; } && {
1668 test -z "$ac_cxx_werror_flag" ||
1669 test ! -s conftest.err
1670 } && test -s conftest.$ac_objext; then :
1673 $as_echo "$as_me: failed program was:" >&5
1674 sed 's/^/| /' conftest.$ac_ext >&5
1678 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1681 } # ac_fn_cxx_try_compile
1683 # ac_fn_c_try_cpp LINENO
1684 # ----------------------
1685 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1688 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1689 if { { ac_try="$ac_cpp conftest.$ac_ext"
1691 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1692 *) ac_try_echo
=$ac_try;;
1694 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1695 $as_echo "$ac_try_echo"; } >&5
1696 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1698 if test -s conftest.err
; then
1699 grep -v '^ *+' conftest.err
>conftest.er1
1700 cat conftest.er1
>&5
1701 mv -f conftest.er1 conftest.err
1703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1704 test $ac_status = 0; } >/dev
/null
&& {
1705 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1706 test ! -s conftest.err
1710 $as_echo "$as_me: failed program was:" >&5
1711 sed 's/^/| /' conftest.
$ac_ext >&5
1715 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1720 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1721 # -------------------------------------------------------
1722 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1723 # the include files in INCLUDES and setting the cache variable VAR
1725 ac_fn_c_check_header_mongrel
()
1727 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1728 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1730 $as_echo_n "checking for $2... " >&6; }
1731 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1732 $as_echo_n "(cached) " >&6
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1736 $as_echo "$ac_res" >&6; }
1738 # Is the header compilable?
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1740 $as_echo_n "checking $2 usability... " >&6; }
1741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1742 /* end confdefs.h. */
1746 if ac_fn_c_try_compile
"$LINENO"; then :
1747 ac_header_compiler
=yes
1749 ac_header_compiler
=no
1751 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1753 $as_echo "$ac_header_compiler" >&6; }
1755 # Is the header present?
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1757 $as_echo_n "checking $2 presence... " >&6; }
1758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1759 /* end confdefs.h. */
1762 if ac_fn_c_try_cpp
"$LINENO"; then :
1763 ac_header_preproc
=yes
1765 ac_header_preproc
=no
1767 rm -f conftest.err conftest.
$ac_ext
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1769 $as_echo "$ac_header_preproc" >&6; }
1771 # So? What about this header?
1772 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1775 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1777 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1781 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1783 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1785 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1787 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1789 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1793 $as_echo_n "checking for $2... " >&6; }
1794 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1795 $as_echo_n "(cached) " >&6
1797 eval "$3=\$ac_header_compiler"
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1801 $as_echo "$ac_res" >&6; }
1803 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1805 } # ac_fn_c_check_header_mongrel
1807 # ac_fn_c_try_run LINENO
1808 # ----------------------
1809 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1810 # that executables *can* be run.
1813 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1814 if { { ac_try
="$ac_link"
1816 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1817 *) ac_try_echo=$ac_try;;
1819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1820 $as_echo "$ac_try_echo"; } >&5
1821 (eval "$ac_link") 2>&5
1823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1824 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1825 { { case "(($ac_try" in
1826 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1827 *) ac_try_echo
=$ac_try;;
1829 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1830 $as_echo "$ac_try_echo"; } >&5
1831 (eval "$ac_try") 2>&5
1833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1834 test $ac_status = 0; }; }; then :
1837 $as_echo "$as_me: program exited with status $ac_status" >&5
1838 $as_echo "$as_me: failed program was:" >&5
1839 sed 's/^/| /' conftest.
$ac_ext >&5
1841 ac_retval
=$ac_status
1843 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1844 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1849 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1850 # -------------------------------------------------------
1851 # Tests whether HEADER exists and can be compiled using the include files in
1852 # INCLUDES, setting the cache variable VAR accordingly.
1853 ac_fn_c_check_header_compile
()
1855 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1857 $as_echo_n "checking for $2... " >&6; }
1858 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1859 $as_echo_n "(cached) " >&6
1861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1862 /* end confdefs.h. */
1866 if ac_fn_c_try_compile
"$LINENO"; then :
1871 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1875 $as_echo "$ac_res" >&6; }
1876 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1878 } # ac_fn_c_check_header_compile
1880 # ac_fn_c_check_func LINENO FUNC VAR
1881 # ----------------------------------
1882 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1883 ac_fn_c_check_func
()
1885 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1887 $as_echo_n "checking for $2... " >&6; }
1888 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1889 $as_echo_n "(cached) " >&6
1891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1892 /* end confdefs.h. */
1893 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1895 #define $2 innocuous_$2
1897 /* System header to define __stub macros and hopefully few prototypes,
1898 which can conflict with char $2 (); below.
1899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1900 <limits.h> exists even on freestanding compilers. */
1903 # include <limits.h>
1905 # include <assert.h>
1910 /* Override any GCC internal prototype to avoid an error.
1911 Use char because int might match the return type of a GCC
1912 builtin and then its argument prototype would still apply. */
1917 /* The GNU C library defines this for functions which it implements
1918 to always fail with ENOSYS. Some functions are actually named
1919 something starting with __ and the normal name is an alias. */
1920 #if defined __stub_$2 || defined __stub___$2
1932 if ac_fn_c_try_link
"$LINENO"; then :
1937 rm -f core conftest.err conftest.
$ac_objext \
1938 conftest
$ac_exeext conftest.
$ac_ext
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1942 $as_echo "$ac_res" >&6; }
1943 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1945 } # ac_fn_c_check_func
1947 # ac_fn_cxx_try_cpp LINENO
1948 # ------------------------
1949 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1950 ac_fn_cxx_try_cpp
()
1952 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1953 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1955 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1956 *) ac_try_echo=$ac_try;;
1958 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1959 $as_echo "$ac_try_echo"; } >&5
1960 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1962 if test -s conftest.err; then
1963 grep -v '^ *+' conftest.err >conftest.er1
1964 cat conftest.er1 >&5
1965 mv -f conftest.er1 conftest.err
1967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1968 test $ac_status = 0; } >/dev/null && {
1969 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1970 test ! -s conftest.err
1974 $as_echo "$as_me: failed program was:" >&5
1975 sed 's/^/| /' conftest.$ac_ext >&5
1979 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1982 } # ac_fn_cxx_try_cpp
1984 # ac_fn_cxx_try_link LINENO
1985 # -------------------------
1986 # Try to link conftest.$ac_ext, and return whether this succeeded.
1987 ac_fn_cxx_try_link ()
1989 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1990 rm -f conftest.$ac_objext conftest$ac_exeext
1991 if { { ac_try="$ac_link"
1993 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1994 *) ac_try_echo
=$ac_try;;
1996 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1997 $as_echo "$ac_try_echo"; } >&5
1998 (eval "$ac_link") 2>conftest.err
2000 if test -s conftest.err
; then
2001 grep -v '^ *+' conftest.err
>conftest.er1
2002 cat conftest.er1
>&5
2003 mv -f conftest.er1 conftest.err
2005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2006 test $ac_status = 0; } && {
2007 test -z "$ac_cxx_werror_flag" ||
2008 test ! -s conftest.err
2009 } && test -s conftest
$ac_exeext && {
2010 test "$cross_compiling" = yes ||
2011 $as_test_x conftest
$ac_exeext
2015 $as_echo "$as_me: failed program was:" >&5
2016 sed 's/^/| /' conftest.
$ac_ext >&5
2020 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2021 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2022 # interfere with the next link command; also delete a directory that is
2023 # left behind by Apple's compiler. We do this before executing the actions.
2024 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2025 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2028 } # ac_fn_cxx_try_link
2030 # ac_fn_c_check_decl LINENO SYMBOL VAR
2031 # ------------------------------------
2032 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2033 ac_fn_c_check_decl
()
2035 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2036 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2037 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2039 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2040 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2041 $as_echo_n "(cached) " >&6
2043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2044 /* end confdefs.h. */
2049 #ifndef $as_decl_name
2051 (void) $as_decl_use;
2053 (void) $as_decl_name;
2061 if ac_fn_c_try_compile
"$LINENO"; then :
2066 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2070 $as_echo "$ac_res" >&6; }
2071 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2073 } # ac_fn_c_check_decl
2075 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2076 # --------------------------------------------
2077 # Tries to find the compile-time value of EXPR in a program that includes
2078 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2080 ac_fn_c_compute_int
()
2082 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2083 if test "$cross_compiling" = yes; then
2084 # Depending upon the size, compute the lo and hi bounds.
2085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2086 /* end confdefs.h. */
2091 static int test_array [1 - 2 * !(($2) >= 0)];
2098 if ac_fn_c_try_compile
"$LINENO"; then :
2101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2102 /* end confdefs.h. */
2107 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2114 if ac_fn_c_try_compile
"$LINENO"; then :
2115 ac_hi
=$ac_mid; break
2117 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2118 if test $ac_lo -le $ac_mid; then
2122 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2128 /* end confdefs.h. */
2133 static int test_array [1 - 2 * !(($2) < 0)];
2140 if ac_fn_c_try_compile
"$LINENO"; then :
2143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2144 /* end confdefs.h. */
2149 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2156 if ac_fn_c_try_compile
"$LINENO"; then :
2157 ac_lo
=$ac_mid; break
2159 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2160 if test $ac_mid -le $ac_hi; then
2164 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2166 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2174 # Binary search between lo and hi bounds.
2175 while test "x$ac_lo" != "x$ac_hi"; do
2176 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2178 /* end confdefs.h. */
2183 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2190 if ac_fn_c_try_compile
"$LINENO"; then :
2193 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2195 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2198 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2203 /* end confdefs.h. */
2205 static long int longval () { return $2; }
2206 static unsigned long int ulongval () { return $2; }
2213 FILE *f = fopen ("conftest.val", "w");
2218 long int i = longval ();
2221 fprintf (f, "%ld", i);
2225 unsigned long int i = ulongval ();
2228 fprintf (f, "%lu", i);
2230 /* Do not output a trailing newline, as this causes \r\n confusion
2231 on some platforms. */
2232 return ferror (f) || fclose (f) != 0;
2238 if ac_fn_c_try_run
"$LINENO"; then :
2239 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2243 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2244 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2248 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2251 } # ac_fn_c_compute_int
2252 cat >config.log
<<_ACEOF
2253 This file contains any messages produced by compilers while
2254 running configure, to aid debugging if configure makes a mistake.
2256 It was created by ld $as_me 2.25.51, which was
2257 generated by GNU Autoconf 2.64. Invocation command line was
2269 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2270 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2271 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2272 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2273 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2275 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2276 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2278 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2279 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2280 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2281 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2282 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2283 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2284 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2292 test -z "$as_dir" && as_dir
=.
2293 $as_echo "PATH: $as_dir"
2309 # Keep a trace of the command line.
2310 # Strip out --no-create and --no-recursion so they do not pile up.
2311 # Strip out --silent because we don't want to record it for future runs.
2312 # Also quote any args containing shell meta-characters.
2313 # Make two passes to allow for proper duplicate-argument suppression.
2317 ac_must_keep_next
=false
2323 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2324 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2325 |
-silent |
--silent |
--silen |
--sile |
--sil)
2328 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2331 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2333 as_fn_append ac_configure_args1
" '$ac_arg'"
2334 if test $ac_must_keep_next = true
; then
2335 ac_must_keep_next
=false
# Got value, back to normal.
2338 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2339 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2340 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2341 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2342 case "$ac_configure_args0 " in
2343 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2346 -* ) ac_must_keep_next
=true
;;
2349 as_fn_append ac_configure_args
" '$ac_arg'"
2354 { ac_configure_args0
=; unset ac_configure_args0
;}
2355 { ac_configure_args1
=; unset ac_configure_args1
;}
2357 # When interrupted or exit'd, cleanup temporary files, and complete
2358 # config.log. We remove comments because anyway the quotes in there
2359 # would cause problems or look ugly.
2360 # WARNING: Use '\'' to represent an apostrophe within the trap.
2361 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2362 trap 'exit_status=$?
2363 # Save into config.log some information that might help in debugging.
2368 ## ---------------- ##
2369 ## Cache variables. ##
2370 ## ---------------- ##
2373 # The following way of writing the cache mishandles newlines in values,
2375 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2376 eval ac_val=\$$ac_var
2380 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2381 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2384 _ | IFS | as_nl) ;; #(
2385 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2386 *) { eval $ac_var=; unset $ac_var;} ;;
2391 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2392 *${as_nl}ac_space=\ *)
2394 "s/'\''/'\''\\\\'\'''\''/g;
2395 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2398 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2406 ## ----------------- ##
2407 ## Output variables. ##
2408 ## ----------------- ##
2411 for ac_var in $ac_subst_vars
2413 eval ac_val=\$$ac_var
2415 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2417 $as_echo "$ac_var='\''$ac_val'\''"
2421 if test -n "$ac_subst_files"; then
2423 ## ------------------- ##
2424 ## File substitutions. ##
2425 ## ------------------- ##
2428 for ac_var
in $ac_subst_files
2430 eval ac_val
=\$
$ac_var
2432 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2434 $as_echo "$ac_var='\''$ac_val'\''"
2439 if test -s confdefs.h; then
2449 test "$ac_signal" != 0 &&
2450 $as_echo "$as_me: caught signal $ac_signal"
2451 $as_echo "$as_me: exit $exit_status"
2453 rm -f core *.core core.conftest.* &&
2454 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2457 for ac_signal
in 1 2 13 15; do
2458 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2462 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2463 rm -f -r conftest
* confdefs.h
2465 $as_echo "/* confdefs.h */" > confdefs.h
2467 # Predefined preprocessor variables.
2469 cat >>confdefs.h
<<_ACEOF
2470 #define PACKAGE_NAME "$PACKAGE_NAME"
2473 cat >>confdefs.h
<<_ACEOF
2474 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2477 cat >>confdefs.h
<<_ACEOF
2478 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2481 cat >>confdefs.h
<<_ACEOF
2482 #define PACKAGE_STRING "$PACKAGE_STRING"
2485 cat >>confdefs.h
<<_ACEOF
2486 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2489 cat >>confdefs.h
<<_ACEOF
2490 #define PACKAGE_URL "$PACKAGE_URL"
2494 # Let the site file select an alternate cache file if it wants to.
2495 # Prefer an explicitly selected file to automatically selected ones.
2498 if test -n "$CONFIG_SITE"; then
2499 ac_site_file1
=$CONFIG_SITE
2500 elif test "x$prefix" != xNONE
; then
2501 ac_site_file1
=$prefix/share
/config.site
2502 ac_site_file2
=$prefix/etc
/config.site
2504 ac_site_file1
=$ac_default_prefix/share
/config.site
2505 ac_site_file2
=$ac_default_prefix/etc
/config.site
2507 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2509 test "x$ac_site_file" = xNONE
&& continue
2510 if test -r "$ac_site_file"; then
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2512 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2513 sed 's/^/| /' "$ac_site_file" >&5
2518 if test -r "$cache_file"; then
2519 # Some versions of bash will fail to source /dev/null (special
2520 # files actually), so we avoid doing that.
2521 if test -f "$cache_file"; then
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2523 $as_echo "$as_me: loading cache $cache_file" >&6;}
2525 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2526 *) .
"./$cache_file";;
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2531 $as_echo "$as_me: creating cache $cache_file" >&6;}
2535 # Check that the precious variables saved in the cache have kept the same
2537 ac_cache_corrupted
=false
2538 for ac_var
in $ac_precious_vars; do
2539 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2540 eval ac_new_set
=\
$ac_env_${ac_var}_set
2541 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2542 eval ac_new_val
=\
$ac_env_${ac_var}_value
2543 case $ac_old_set,$ac_new_set in
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2546 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2547 ac_cache_corrupted
=: ;;
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2550 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2551 ac_cache_corrupted
=: ;;
2554 if test "x$ac_old_val" != "x$ac_new_val"; then
2555 # differences in whitespace do not lead to failure.
2556 ac_old_val_w
=`echo x $ac_old_val`
2557 ac_new_val_w
=`echo x $ac_new_val`
2558 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2560 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2561 ac_cache_corrupted
=:
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2564 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2565 eval $ac_var=\
$ac_old_val
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2568 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2570 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2573 # Pass precious variables to config.status.
2574 if test "$ac_new_set" = set; then
2576 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2577 *) ac_arg
=$ac_var=$ac_new_val ;;
2579 case " $ac_configure_args " in
2580 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2581 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2585 if $ac_cache_corrupted; then
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2587 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2589 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2590 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2592 ## -------------------- ##
2593 ## Main body of script. ##
2594 ## -------------------- ##
2597 ac_cpp
='$CPP $CPPFLAGS'
2598 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2599 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2600 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2609 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2610 for ac_t
in install-sh
install.sh shtool
; do
2611 if test -f "$ac_dir/$ac_t"; then
2613 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2618 if test -z "$ac_aux_dir"; then
2619 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2622 # These three variables are undocumented and unsupported,
2623 # and are intended to be withdrawn in a future Autoconf release.
2624 # They can cause serious problems if a builder's source tree is in a directory
2625 # whose full name contains unusual characters.
2626 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2627 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2628 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2631 # Make sure we can run config.sub.
2632 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2633 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2636 $as_echo_n "checking build system type... " >&6; }
2637 if test "${ac_cv_build+set}" = set; then :
2638 $as_echo_n "(cached) " >&6
2640 ac_build_alias
=$build_alias
2641 test "x$ac_build_alias" = x
&&
2642 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2643 test "x$ac_build_alias" = x
&&
2644 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2645 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2646 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2650 $as_echo "$ac_cv_build" >&6; }
2651 case $ac_cv_build in
2653 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2656 ac_save_IFS
=$IFS; IFS
='-'
2662 # Remember, the first character of IFS is used to create $*,
2663 # except with old shells:
2666 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2670 $as_echo_n "checking host system type... " >&6; }
2671 if test "${ac_cv_host+set}" = set; then :
2672 $as_echo_n "(cached) " >&6
2674 if test "x$host_alias" = x
; then
2675 ac_cv_host
=$ac_cv_build
2677 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2678 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2683 $as_echo "$ac_cv_host" >&6; }
2686 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2689 ac_save_IFS
=$IFS; IFS
='-'
2695 # Remember, the first character of IFS is used to create $*,
2696 # except with old shells:
2699 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2703 $as_echo_n "checking target system type... " >&6; }
2704 if test "${ac_cv_target+set}" = set; then :
2705 $as_echo_n "(cached) " >&6
2707 if test "x$target_alias" = x
; then
2708 ac_cv_target
=$ac_cv_host
2710 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2711 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2716 $as_echo "$ac_cv_target" >&6; }
2717 case $ac_cv_target in
2719 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2721 target
=$ac_cv_target
2722 ac_save_IFS
=$IFS; IFS
='-'
2728 # Remember, the first character of IFS is used to create $*,
2729 # except with old shells:
2732 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2735 # The aliases save the names the user supplied, while $host etc.
2736 # will get canonicalized.
2737 test -n "$target_alias" &&
2738 test "$program_prefix$program_suffix$program_transform_name" = \
2740 program_prefix
=${target_alias}-
2743 ac_cpp
='$CPP $CPPFLAGS'
2744 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2745 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2746 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2747 if test -n "$ac_tool_prefix"; then
2748 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2749 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2751 $as_echo_n "checking for $ac_word... " >&6; }
2752 if test "${ac_cv_prog_CC+set}" = set; then :
2753 $as_echo_n "(cached) " >&6
2755 if test -n "$CC"; then
2756 ac_cv_prog_CC
="$CC" # Let the user override the test.
2758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2762 test -z "$as_dir" && as_dir
=.
2763 for ac_exec_ext
in '' $ac_executable_extensions; do
2764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2765 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2776 if test -n "$CC"; then
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2778 $as_echo "$CC" >&6; }
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2781 $as_echo "no" >&6; }
2786 if test -z "$ac_cv_prog_CC"; then
2788 # Extract the first word of "gcc", so it can be a program name with args.
2789 set dummy gcc
; ac_word
=$2
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2791 $as_echo_n "checking for $ac_word... " >&6; }
2792 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2793 $as_echo_n "(cached) " >&6
2795 if test -n "$ac_ct_CC"; then
2796 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2802 test -z "$as_dir" && as_dir
=.
2803 for ac_exec_ext
in '' $ac_executable_extensions; do
2804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2805 ac_cv_prog_ac_ct_CC
="gcc"
2806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2815 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2816 if test -n "$ac_ct_CC"; then
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2818 $as_echo "$ac_ct_CC" >&6; }
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2821 $as_echo "no" >&6; }
2824 if test "x$ac_ct_CC" = x
; then
2827 case $cross_compiling:$ac_tool_warned in
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2830 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2831 ac_tool_warned
=yes ;;
2839 if test -z "$CC"; then
2840 if test -n "$ac_tool_prefix"; then
2841 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2842 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2844 $as_echo_n "checking for $ac_word... " >&6; }
2845 if test "${ac_cv_prog_CC+set}" = set; then :
2846 $as_echo_n "(cached) " >&6
2848 if test -n "$CC"; then
2849 ac_cv_prog_CC
="$CC" # Let the user override the test.
2851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2855 test -z "$as_dir" && as_dir
=.
2856 for ac_exec_ext
in '' $ac_executable_extensions; do
2857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2858 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2869 if test -n "$CC"; then
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2871 $as_echo "$CC" >&6; }
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2874 $as_echo "no" >&6; }
2880 if test -z "$CC"; then
2881 # Extract the first word of "cc", so it can be a program name with args.
2882 set dummy cc
; ac_word
=$2
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2884 $as_echo_n "checking for $ac_word... " >&6; }
2885 if test "${ac_cv_prog_CC+set}" = set; then :
2886 $as_echo_n "(cached) " >&6
2888 if test -n "$CC"; then
2889 ac_cv_prog_CC
="$CC" # Let the user override the test.
2892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2896 test -z "$as_dir" && as_dir
=.
2897 for ac_exec_ext
in '' $ac_executable_extensions; do
2898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2899 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2900 ac_prog_rejected
=yes
2904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2911 if test $ac_prog_rejected = yes; then
2912 # We found a bogon in the path, so make sure we never use it.
2913 set dummy
$ac_cv_prog_CC
2915 if test $# != 0; then
2916 # We chose a different compiler from the bogus one.
2917 # However, it has the same basename, so the bogon will be chosen
2918 # first if we set CC to just the basename; use the full file name.
2920 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2926 if test -n "$CC"; then
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2928 $as_echo "$CC" >&6; }
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2931 $as_echo "no" >&6; }
2936 if test -z "$CC"; then
2937 if test -n "$ac_tool_prefix"; then
2938 for ac_prog
in cl.exe
2940 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2941 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2943 $as_echo_n "checking for $ac_word... " >&6; }
2944 if test "${ac_cv_prog_CC+set}" = set; then :
2945 $as_echo_n "(cached) " >&6
2947 if test -n "$CC"; then
2948 ac_cv_prog_CC
="$CC" # Let the user override the test.
2950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2954 test -z "$as_dir" && as_dir
=.
2955 for ac_exec_ext
in '' $ac_executable_extensions; do
2956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2957 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2968 if test -n "$CC"; then
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2970 $as_echo "$CC" >&6; }
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2973 $as_echo "no" >&6; }
2977 test -n "$CC" && break
2980 if test -z "$CC"; then
2982 for ac_prog
in cl.exe
2984 # Extract the first word of "$ac_prog", so it can be a program name with args.
2985 set dummy
$ac_prog; ac_word
=$2
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2987 $as_echo_n "checking for $ac_word... " >&6; }
2988 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2989 $as_echo_n "(cached) " >&6
2991 if test -n "$ac_ct_CC"; then
2992 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2998 test -z "$as_dir" && as_dir
=.
2999 for ac_exec_ext
in '' $ac_executable_extensions; do
3000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3001 ac_cv_prog_ac_ct_CC
="$ac_prog"
3002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3011 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3012 if test -n "$ac_ct_CC"; then
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3014 $as_echo "$ac_ct_CC" >&6; }
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3017 $as_echo "no" >&6; }
3021 test -n "$ac_ct_CC" && break
3024 if test "x$ac_ct_CC" = x
; then
3027 case $cross_compiling:$ac_tool_warned in
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3030 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3031 ac_tool_warned
=yes ;;
3040 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3041 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3042 as_fn_error
"no acceptable C compiler found in \$PATH
3043 See \`config.log' for more details." "$LINENO" 5; }
3045 # Provide some information about the compiler.
3046 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3049 for ac_option
in --version -v -V -qversion; do
3050 { { ac_try
="$ac_compiler $ac_option >&5"
3052 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3053 *) ac_try_echo=$ac_try;;
3055 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3056 $as_echo "$ac_try_echo"; } >&5
3057 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3059 if test -s conftest.err; then
3061 ... rest of stderr output deleted ...
3062 10q' conftest.err >conftest.er1
3063 cat conftest.er1 >&5
3064 rm -f conftest.er1 conftest.err
3066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3067 test $ac_status = 0; }
3070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3071 /* end confdefs.h. */
3081 ac_clean_files_save=$ac_clean_files
3082 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3083 # Try to create an executable without -o first, disregard a.out.
3084 # It will help us diagnose broken compilers, and finding out an intuition
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3087 $as_echo_n "checking for C compiler default output file name... " >&6; }
3088 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3090 # The possible output files:
3091 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3094 for ac_file in $ac_files
3097 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3098 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3103 if { { ac_try="$ac_link_default"
3105 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3106 *) ac_try_echo
=$ac_try;;
3108 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3109 $as_echo "$ac_try_echo"; } >&5
3110 (eval "$ac_link_default") 2>&5
3112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3113 test $ac_status = 0; }; then :
3114 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3115 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3116 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3117 # so that the user can short-circuit this test for compilers unknown to
3119 for ac_file
in $ac_files ''
3121 test -f "$ac_file" ||
continue
3123 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3126 # We found the default executable, but exeext='' is most
3130 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3132 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3134 # We set ac_cv_exeext here because the later test for it is not
3135 # safe: cross compilers may not add the suffix if given an `-o'
3136 # argument, so we may need to know it at that point already.
3137 # Even if this section looks crufty: it has the advantage of
3144 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3150 $as_echo "$ac_file" >&6; }
3151 if test -z "$ac_file"; then :
3152 $as_echo "$as_me: failed program was:" >&5
3153 sed 's/^/| /' conftest.
$ac_ext >&5
3155 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3156 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3157 { as_fn_set_status
77
3158 as_fn_error
"C compiler cannot create executables
3159 See \`config.log' for more details." "$LINENO" 5; }; }
3161 ac_exeext
=$ac_cv_exeext
3163 # Check that the compiler produces executables we can run. If not, either
3164 # the compiler is broken, or we cross compile.
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3166 $as_echo_n "checking whether the C compiler works... " >&6; }
3167 # If not cross compiling, check that we can run a simple program.
3168 if test "$cross_compiling" != yes; then
3169 if { ac_try
='./$ac_file'
3170 { { case "(($ac_try" in
3171 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3172 *) ac_try_echo=$ac_try;;
3174 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3175 $as_echo "$ac_try_echo"; } >&5
3176 (eval "$ac_try") 2>&5
3178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3179 test $ac_status = 0; }; }; then
3182 if test "$cross_compiling" = maybe; then
3185 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3187 as_fn_error "cannot run C compiled programs.
3188 If you meant to cross compile
, use \
`--host'.
3189 See \`config.log
' for more details." "$LINENO" 5; }
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3194 $as_echo "yes" >&6; }
3196 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3197 ac_clean_files=$ac_clean_files_save
3198 # Check that the compiler produces executables we can run. If not, either
3199 # the compiler is broken, or we cross compile.
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3201 $as_echo_n "checking whether we are cross compiling... " >&6; }
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3203 $as_echo "$cross_compiling" >&6; }
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3206 $as_echo_n "checking for suffix of executables... " >&6; }
3207 if { { ac_try="$ac_link"
3209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3210 *) ac_try_echo=$ac_try;;
3212 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3213 $as_echo "$ac_try_echo"; } >&5
3214 (eval "$ac_link") 2>&5
3216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3217 test $ac_status = 0; }; then :
3218 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3219 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3220 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3222 for ac_file
in conftest.exe conftest conftest.
*; do
3223 test -f "$ac_file" ||
continue
3225 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3226 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3232 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3233 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3234 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3235 See \`config.log' for more details." "$LINENO" 5; }
3237 rm -f conftest
$ac_cv_exeext
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3239 $as_echo "$ac_cv_exeext" >&6; }
3241 rm -f conftest.
$ac_ext
3242 EXEEXT
=$ac_cv_exeext
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3245 $as_echo_n "checking for suffix of object files... " >&6; }
3246 if test "${ac_cv_objext+set}" = set; then :
3247 $as_echo_n "(cached) " >&6
3249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3250 /* end confdefs.h. */
3260 rm -f conftest.o conftest.obj
3261 if { { ac_try
="$ac_compile"
3263 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3264 *) ac_try_echo=$ac_try;;
3266 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3267 $as_echo "$ac_try_echo"; } >&5
3268 (eval "$ac_compile") 2>&5
3270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3271 test $ac_status = 0; }; then :
3272 for ac_file in conftest.o conftest.obj conftest.*; do
3273 test -f "$ac_file" || continue;
3275 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3276 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3281 $as_echo "$as_me: failed program was:" >&5
3282 sed 's/^/| /' conftest.$ac_ext >&5
3284 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3286 as_fn_error "cannot compute suffix of object files
: cannot compile
3287 See \
`config.log' for more details." "$LINENO" 5; }
3289 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3292 $as_echo "$ac_cv_objext" >&6; }
3293 OBJEXT=$ac_cv_objext
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3296 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3297 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3298 $as_echo_n "(cached) " >&6
3300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3301 /* end confdefs.h. */
3314 if ac_fn_c_try_compile "$LINENO"; then :
3319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3320 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3324 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3325 if test $ac_compiler_gnu = yes; then
3330 ac_test_CFLAGS=${CFLAGS+set}
3331 ac_save_CFLAGS=$CFLAGS
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3333 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3334 if test "${ac_cv_prog_cc_g+set}" = set; then :
3335 $as_echo_n "(cached) " >&6
3337 ac_save_c_werror_flag=$ac_c_werror_flag
3338 ac_c_werror_flag=yes
3341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3342 /* end confdefs.h. */
3352 if ac_fn_c_try_compile "$LINENO"; then :
3356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3357 /* end confdefs.h. */
3367 if ac_fn_c_try_compile "$LINENO"; then :
3370 ac_c_werror_flag=$ac_save_c_werror_flag
3372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3373 /* end confdefs.h. */
3383 if ac_fn_c_try_compile "$LINENO"; then :
3386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3391 ac_c_werror_flag=$ac_save_c_werror_flag
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3394 $as_echo "$ac_cv_prog_cc_g" >&6; }
3395 if test "$ac_test_CFLAGS" = set; then
3396 CFLAGS=$ac_save_CFLAGS
3397 elif test $ac_cv_prog_cc_g = yes; then
3398 if test "$GCC" = yes; then
3404 if test "$GCC" = yes; then
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3411 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3412 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3413 $as_echo_n "(cached) " >&6
3415 ac_cv_prog_cc_c89=no
3417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3418 /* end confdefs.h. */
3421 #include <sys/types.h>
3422 #include <sys/stat.h>
3423 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3424 struct buf { int x; };
3425 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3426 static char *e (p, i)
3432 static char *f (char * (*g) (char **, int), char **p, ...)
3437 s = g (p, va_arg (v,int));
3442 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3443 function prototypes and stuff, but not '\xHH' hex character constants.
3444 These don't provoke an error unfortunately, instead are silently treated
3445 as 'x'. The following induces an error, until -std is added to get
3446 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3447 array size at least. It's necessary to write '\x00'==0 to get something
3448 that's true only with -std. */
3449 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3451 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3452 inside strings and character constants. */
3454 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3456 int test (int i, double x);
3457 struct s1 {int (*f) (int a);};
3458 struct s2 {int (*f) (double a);};
3459 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3465 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3470 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3471 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3473 CC="$ac_save_CC $ac_arg"
3474 if ac_fn_c_try_compile "$LINENO"; then :
3475 ac_cv_prog_cc_c89=$ac_arg
3477 rm -f core conftest.err conftest.$ac_objext
3478 test "x$ac_cv_prog_cc_c89" != "xno" && break
3480 rm -f conftest.$ac_ext
3485 case "x$ac_cv_prog_cc_c89" in
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3488 $as_echo "none needed" >&6; } ;;
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3491 $as_echo "unsupported" >&6; } ;;
3493 CC="$CC $ac_cv_prog_cc_c89"
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3495 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3497 if test "x$ac_cv_prog_cc_c89" != xno; then :
3502 ac_cpp='$CPP $CPPFLAGS'
3503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3509 $as_echo_n "checking for library containing strerror... " >&6; }
3510 if test "${ac_cv_search_strerror+set}" = set; then :
3511 $as_echo_n "(cached) " >&6
3513 ac_func_search_save_LIBS=$LIBS
3514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3515 /* end confdefs.h. */
3517 /* Override any GCC internal prototype to avoid an error.
3518 Use char because int might match the return type of a GCC
3519 builtin and then its argument prototype would still apply. */
3532 for ac_lib in '' cposix; do
3533 if test -z "$ac_lib"; then
3534 ac_res="none required"
3537 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3539 if ac_fn_c_try_link "$LINENO"; then :
3540 ac_cv_search_strerror=$ac_res
3542 rm -f core conftest.err conftest.$ac_objext \
3544 if test "${ac_cv_search_strerror+set}" = set; then :
3548 if test "${ac_cv_search_strerror+set}" = set; then :
3551 ac_cv_search_strerror=no
3554 LIBS=$ac_func_search_save_LIBS
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3557 $as_echo "$ac_cv_search_strerror" >&6; }
3558 ac_res=$ac_cv_search_strerror
3559 if test "$ac_res" != no; then :
3560 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3565 am__api_version='1.11'
3567 # Find a good install program. We prefer a C program (faster),
3568 # so one script is as good as another. But avoid the broken or
3569 # incompatible versions:
3570 # SysV /etc/install, /usr/sbin/install
3571 # SunOS /usr/etc/install
3572 # IRIX /sbin/install
3574 # AmigaOS /C/install, which installs bootblocks on floppy discs
3575 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3576 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3577 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3578 # OS/2's system install, which has a completely different semantic
3579 # ./install, which can be erroneously created by make from ./install.sh.
3580 # Reject install programs that cannot install multiple files.
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3582 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3583 if test -z "$INSTALL"; then
3584 if test "${ac_cv_path_install+set}" = set; then :
3585 $as_echo_n "(cached) " >&6
3587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3591 test -z "$as_dir" && as_dir=.
3592 # Account for people who put trailing slashes in PATH elements.
3593 case $as_dir/ in #((
3594 ./ | .// | /[cC]/* | \
3595 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3596 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3599 # OSF1 and SCO ODT 3.0 have their own names for install.
3600 # Don't use installbsd from OSF since it installs stuff as root
3602 for ac_prog in ginstall scoinst install; do
3603 for ac_exec_ext in '' $ac_executable_extensions; do
3604 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3605 if test $ac_prog = install &&
3606 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3607 # AIX install. It has an incompatible calling convention.
3609 elif test $ac_prog = install &&
3610 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3611 # program-specific install script used by HP pwplus--don't use.
3614 rm -rf conftest.one conftest.two conftest.dir
3615 echo one > conftest.one
3616 echo two > conftest.two
3618 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3619 test -s conftest.one && test -s conftest.two &&
3620 test -s conftest.dir/conftest.one &&
3621 test -s conftest.dir/conftest.two
3623 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3636 rm -rf conftest.one conftest.two conftest.dir
3639 if test "${ac_cv_path_install+set}" = set; then
3640 INSTALL=$ac_cv_path_install
3642 # As a last resort, use the slow shell script. Don't cache a
3643 # value for INSTALL within a source directory, because that will
3644 # break other packages using the cache if that directory is
3645 # removed, or if the value is a relative name.
3646 INSTALL=$ac_install_sh
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3650 $as_echo "$INSTALL" >&6; }
3652 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3653 # It thinks the first close brace ends the variable substitution.
3654 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3656 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3658 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3661 $as_echo_n "checking whether build environment is sane... " >&6; }
3664 echo timestamp > conftest.file
3665 # Reject unsafe characters in $srcdir or the absolute working directory
3666 # name. Accept space and tab only in the latter.
3670 *[\\\"\#\$\&\'\`$am_lf]*)
3671 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3674 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3675 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3678 # Do `set' in a subshell so we don't clobber the current shell's
3679 # arguments. Must try -L first in case configure is actually a
3680 # symlink; some systems play weird games with the mod time of symlinks
3681 # (eg FreeBSD returns the mod time of the symlink's containing
3684 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3685 if test "$*" = "X"; then
3687 set X
`ls -t "$srcdir/configure" conftest.file`
3690 if test "$*" != "X $srcdir/configure conftest.file" \
3691 && test "$*" != "X conftest.file $srcdir/configure"; then
3693 # If neither matched, then we have a broken ls. This can happen
3694 # if, for instance, CONFIG_SHELL is bash and it inherits a
3695 # broken ls alias from the environment. This has actually
3696 # happened. Such a system could not be considered "sane".
3697 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3698 alias in your environment" "$LINENO" 5
3701 test "$2" = conftest.
file
3707 as_fn_error
"newly created file is older than distributed files!
3708 Check your system clock" "$LINENO" 5
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3711 $as_echo "yes" >&6; }
3712 test "$program_prefix" != NONE
&&
3713 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3714 # Use a double $ so make ignores it.
3715 test "$program_suffix" != NONE
&&
3716 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3717 # Double any \ or $.
3718 # By default was `s,x,x', remove it if useless.
3719 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3720 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3722 # expand $ac_aux_dir to an absolute path
3723 am_aux_dir
=`cd $ac_aux_dir && pwd`
3725 if test x
"${MISSING+set}" != xset
; then
3728 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3730 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3733 # Use eval to expand $SHELL
3734 if eval "$MISSING --run true"; then
3735 am_missing_run
="$MISSING --run "
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3739 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3742 if test x
"${install_sh}" != xset
; then
3745 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3747 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3751 # Installed binaries are usually stripped using `strip' when the user
3752 # run `make install-strip'. However `strip' might not be the right
3753 # tool to use in cross-compilation environments, therefore Automake
3754 # will honor the `STRIP' environment variable to overrule this program.
3755 if test "$cross_compiling" != no
; then
3756 if test -n "$ac_tool_prefix"; then
3757 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3758 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3760 $as_echo_n "checking for $ac_word... " >&6; }
3761 if test "${ac_cv_prog_STRIP+set}" = set; then :
3762 $as_echo_n "(cached) " >&6
3764 if test -n "$STRIP"; then
3765 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3771 test -z "$as_dir" && as_dir
=.
3772 for ac_exec_ext
in '' $ac_executable_extensions; do
3773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3774 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3784 STRIP
=$ac_cv_prog_STRIP
3785 if test -n "$STRIP"; then
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3787 $as_echo "$STRIP" >&6; }
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3790 $as_echo "no" >&6; }
3795 if test -z "$ac_cv_prog_STRIP"; then
3797 # Extract the first word of "strip", so it can be a program name with args.
3798 set dummy strip
; ac_word
=$2
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3800 $as_echo_n "checking for $ac_word... " >&6; }
3801 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3802 $as_echo_n "(cached) " >&6
3804 if test -n "$ac_ct_STRIP"; then
3805 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3811 test -z "$as_dir" && as_dir
=.
3812 for ac_exec_ext
in '' $ac_executable_extensions; do
3813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3814 ac_cv_prog_ac_ct_STRIP
="strip"
3815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3824 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3825 if test -n "$ac_ct_STRIP"; then
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3827 $as_echo "$ac_ct_STRIP" >&6; }
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3830 $as_echo "no" >&6; }
3833 if test "x$ac_ct_STRIP" = x
; then
3836 case $cross_compiling:$ac_tool_warned in
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3840 ac_tool_warned
=yes ;;
3845 STRIP
="$ac_cv_prog_STRIP"
3849 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3852 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3853 if test -z "$MKDIR_P"; then
3854 if test "${ac_cv_path_mkdir+set}" = set; then :
3855 $as_echo_n "(cached) " >&6
3857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3858 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3861 test -z "$as_dir" && as_dir
=.
3862 for ac_prog
in mkdir gmkdir
; do
3863 for ac_exec_ext
in '' $ac_executable_extensions; do
3864 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3865 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3866 'mkdir (GNU coreutils) '* | \
3867 'mkdir (coreutils) '* | \
3868 'mkdir (fileutils) '4.1*)
3869 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3879 if test "${ac_cv_path_mkdir+set}" = set; then
3880 MKDIR_P
="$ac_cv_path_mkdir -p"
3882 # As a last resort, use the slow shell script. Don't cache a
3883 # value for MKDIR_P within a source directory, because that will
3884 # break other packages using the cache if that directory is
3885 # removed, or if the value is a relative name.
3886 test -d .
/--version && rmdir .
/--version
3887 MKDIR_P
="$ac_install_sh -d"
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3891 $as_echo "$MKDIR_P" >&6; }
3895 [\\/$
]* | ?
:[\\/]*) ;;
3896 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3899 for ac_prog
in gawk mawk nawk
awk
3901 # Extract the first word of "$ac_prog", so it can be a program name with args.
3902 set dummy
$ac_prog; ac_word
=$2
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3904 $as_echo_n "checking for $ac_word... " >&6; }
3905 if test "${ac_cv_prog_AWK+set}" = set; then :
3906 $as_echo_n "(cached) " >&6
3908 if test -n "$AWK"; then
3909 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3915 test -z "$as_dir" && as_dir
=.
3916 for ac_exec_ext
in '' $ac_executable_extensions; do
3917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3918 ac_cv_prog_AWK
="$ac_prog"
3919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3929 if test -n "$AWK"; then
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3931 $as_echo "$AWK" >&6; }
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3934 $as_echo "no" >&6; }
3938 test -n "$AWK" && break
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3942 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3944 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3945 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3946 $as_echo_n "(cached) " >&6
3948 cat >conftest.
make <<\_ACEOF
3951 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3953 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3954 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3956 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3958 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3962 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3964 $as_echo "yes" >&6; }
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3968 $as_echo "no" >&6; }
3969 SET_MAKE
="MAKE=${MAKE-make}"
3972 rm -rf .tst
2>/dev
/null
3973 mkdir .tst
2>/dev
/null
3974 if test -d .tst
; then
3979 rmdir .tst
2>/dev
/null
3981 DEPDIR
="${am__leading_dot}deps"
3983 ac_config_commands
="$ac_config_commands depfiles"
3986 am_make
=${MAKE-make}
3987 cat > confinc
<< 'END'
3989 @
echo this is the am__doit target
3992 # If we don't find an include directive, just comment out the code.
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3994 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3998 # First try GNU make style include.
3999 echo "include confinc" > confmf
4000 # Ignore all kinds of additional output from `make'.
4001 case `$am_make -s -f confmf 2> /dev/null` in #(
4002 *the\ am__doit\ target
*)
4008 # Now try BSD make style include.
4009 if test "$am__include" = "#"; then
4010 echo '.include "confinc"' > confmf
4011 case `$am_make -s -f confmf 2> /dev/null` in #(
4012 *the\ am__doit\ target
*)
4013 am__include
=.include
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4022 $as_echo "$_am_result" >&6; }
4023 rm -f confinc confmf
4025 # Check whether --enable-dependency-tracking was given.
4026 if test "${enable_dependency_tracking+set}" = set; then :
4027 enableval
=$enable_dependency_tracking;
4030 if test "x$enable_dependency_tracking" != xno
; then
4031 am_depcomp
="$ac_aux_dir/depcomp"
4034 if test "x$enable_dependency_tracking" != xno; then
4043 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4044 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4045 # is not polluted with repeated "-I."
4046 am__isrc
=' -I$(srcdir)'
4047 # test to see if srcdir already configured
4048 if test -f $srcdir/config.status
; then
4049 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4053 # test whether we have cygpath
4054 if test -z "$CYGPATH_W"; then
4055 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4056 CYGPATH_W
='cygpath -w'
4063 # Define the identity of the package.
4068 cat >>confdefs.h
<<_ACEOF
4069 #define PACKAGE "$PACKAGE"
4073 cat >>confdefs.h
<<_ACEOF
4074 #define VERSION "$VERSION"
4077 # Some tools Automake needs.
4079 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4082 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4085 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4088 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4091 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4093 # We need awk for the "check" target. The system "awk" is bad on
4095 # Always define AMTAR for backward compatibility.
4097 AMTAR
=${AMTAR-"${am_missing_run}tar"}
4099 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
4104 depcc
="$CC" am_compiler_list
=
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4107 $as_echo_n "checking dependency style of $depcc... " >&6; }
4108 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4109 $as_echo_n "(cached) " >&6
4111 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4112 # We make a subdir and do the tests there. Otherwise we can end up
4113 # making bogus files that we don't know about and never remove. For
4114 # instance it was reported that on HP-UX the gcc test will end up
4115 # making a dummy file named `D' -- because `-MD' means `put the output
4118 # Copy depcomp to subdir because otherwise we won't find it if we're
4119 # using a relative directory.
4120 cp "$am_depcomp" conftest.dir
4122 # We will build objects and dependencies in a subdirectory because
4123 # it helps to detect inapplicable dependency modes. For instance
4124 # both Tru64's cc and ICC support -MD to output dependencies as a
4125 # side effect of compilation, but ICC will put the dependencies in
4126 # the current directory while Tru64 will put them in the object
4130 am_cv_CC_dependencies_compiler_type
=none
4131 if test "$am_compiler_list" = ""; then
4132 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4135 case " $depcc " in #(
4136 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4139 for depmode
in $am_compiler_list; do
4140 # Setup a source with many dependencies, because some compilers
4141 # like to wrap large dependency lists on column 80 (with \), and
4142 # we should not choose a depcomp mode which is confused by this.
4144 # We need to recreate these files for each test, as the compiler may
4145 # overwrite some of them when testing with obscure command lines.
4146 # This happens at least with the AIX C compiler.
4148 for i
in 1 2 3 4 5 6; do
4149 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4150 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4151 # Solaris 8's {/usr,}/bin/sh.
4152 touch sub
/conftst
$i.h
4154 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4156 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4157 # mode. It turns out that the SunPro C++ compiler does not properly
4158 # handle `-M -o', and we need to detect this. Also, some Intel
4159 # versions had trouble with output in subdirs
4160 am__obj
=sub
/conftest.
${OBJEXT-o}
4161 am__minus_obj
="-o $am__obj"
4164 # This depmode causes a compiler race in universal mode.
4165 test "$am__universal" = false ||
continue
4168 # after this tag, mechanisms are not by side-effect, so they'll
4169 # only be used when explicitly requested
4170 if test "x$enable_dependency_tracking" = xyes
; then
4176 msvisualcpp | msvcmsys
)
4177 # This compiler won't grok `-c -o', but also, the minuso test has
4178 # not run yet. These depmodes are late enough in the game, and
4179 # so weak that their functioning should not be impacted.
4180 am__obj
=conftest.
${OBJEXT-o}
4185 if depmode
=$depmode \
4186 source=sub
/conftest.c object
=$am__obj \
4187 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4188 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4189 >/dev
/null
2>conftest.err
&&
4190 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4191 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4192 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4193 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4194 # icc doesn't choke on unknown options, it will just issue warnings
4195 # or remarks (even with -Werror). So we grep stderr for any message
4196 # that says an option was ignored or not supported.
4197 # When given -MP, icc 7.0 and 7.1 complain thusly:
4198 # icc: Command line warning: ignoring option '-M'; no argument required
4199 # The diagnosis changed in icc 8.0:
4200 # icc: Command line remark: option '-MP' not supported
4201 if (grep 'ignoring option' conftest.err ||
4202 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4203 am_cv_CC_dependencies_compiler_type
=$depmode
4212 am_cv_CC_dependencies_compiler_type
=none
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4217 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4218 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4221 test "x$enable_dependency_tracking" != xno \
4222 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4224 am__fastdepCC_FALSE
='#'
4226 am__fastdepCC_TRUE
='#'
4227 am__fastdepCC_FALSE
=
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4234 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4235 # Check whether --enable-maintainer-mode was given.
4236 if test "${enable_maintainer_mode+set}" = set; then :
4237 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4239 USE_MAINTAINER_MODE
=no
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4243 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4244 if test $USE_MAINTAINER_MODE = yes; then
4245 MAINTAINER_MODE_TRUE
=
4246 MAINTAINER_MODE_FALSE
='#'
4248 MAINTAINER_MODE_TRUE
='#'
4249 MAINTAINER_MODE_FALSE
=
4252 MAINT
=$MAINTAINER_MODE_TRUE
4257 ac_cpp
='$CPP $CPPFLAGS'
4258 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4259 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4260 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4261 if test -n "$ac_tool_prefix"; then
4262 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4263 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4265 $as_echo_n "checking for $ac_word... " >&6; }
4266 if test "${ac_cv_prog_CC+set}" = set; then :
4267 $as_echo_n "(cached) " >&6
4269 if test -n "$CC"; then
4270 ac_cv_prog_CC
="$CC" # Let the user override the test.
4272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4276 test -z "$as_dir" && as_dir
=.
4277 for ac_exec_ext
in '' $ac_executable_extensions; do
4278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4279 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4290 if test -n "$CC"; then
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4292 $as_echo "$CC" >&6; }
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4295 $as_echo "no" >&6; }
4300 if test -z "$ac_cv_prog_CC"; then
4302 # Extract the first word of "gcc", so it can be a program name with args.
4303 set dummy gcc
; ac_word
=$2
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4305 $as_echo_n "checking for $ac_word... " >&6; }
4306 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4307 $as_echo_n "(cached) " >&6
4309 if test -n "$ac_ct_CC"; then
4310 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4316 test -z "$as_dir" && as_dir
=.
4317 for ac_exec_ext
in '' $ac_executable_extensions; do
4318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4319 ac_cv_prog_ac_ct_CC
="gcc"
4320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4329 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4330 if test -n "$ac_ct_CC"; then
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4332 $as_echo "$ac_ct_CC" >&6; }
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4335 $as_echo "no" >&6; }
4338 if test "x$ac_ct_CC" = x
; then
4341 case $cross_compiling:$ac_tool_warned in
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4345 ac_tool_warned
=yes ;;
4353 if test -z "$CC"; then
4354 if test -n "$ac_tool_prefix"; then
4355 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4356 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4358 $as_echo_n "checking for $ac_word... " >&6; }
4359 if test "${ac_cv_prog_CC+set}" = set; then :
4360 $as_echo_n "(cached) " >&6
4362 if test -n "$CC"; then
4363 ac_cv_prog_CC
="$CC" # Let the user override the test.
4365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4369 test -z "$as_dir" && as_dir
=.
4370 for ac_exec_ext
in '' $ac_executable_extensions; do
4371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4372 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4383 if test -n "$CC"; then
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4385 $as_echo "$CC" >&6; }
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4388 $as_echo "no" >&6; }
4394 if test -z "$CC"; then
4395 # Extract the first word of "cc", so it can be a program name with args.
4396 set dummy cc
; ac_word
=$2
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4398 $as_echo_n "checking for $ac_word... " >&6; }
4399 if test "${ac_cv_prog_CC+set}" = set; then :
4400 $as_echo_n "(cached) " >&6
4402 if test -n "$CC"; then
4403 ac_cv_prog_CC
="$CC" # Let the user override the test.
4406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4410 test -z "$as_dir" && as_dir
=.
4411 for ac_exec_ext
in '' $ac_executable_extensions; do
4412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4413 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4414 ac_prog_rejected
=yes
4418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4425 if test $ac_prog_rejected = yes; then
4426 # We found a bogon in the path, so make sure we never use it.
4427 set dummy
$ac_cv_prog_CC
4429 if test $# != 0; then
4430 # We chose a different compiler from the bogus one.
4431 # However, it has the same basename, so the bogon will be chosen
4432 # first if we set CC to just the basename; use the full file name.
4434 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4440 if test -n "$CC"; then
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4442 $as_echo "$CC" >&6; }
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4445 $as_echo "no" >&6; }
4450 if test -z "$CC"; then
4451 if test -n "$ac_tool_prefix"; then
4452 for ac_prog
in cl.exe
4454 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4455 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4457 $as_echo_n "checking for $ac_word... " >&6; }
4458 if test "${ac_cv_prog_CC+set}" = set; then :
4459 $as_echo_n "(cached) " >&6
4461 if test -n "$CC"; then
4462 ac_cv_prog_CC
="$CC" # Let the user override the test.
4464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4468 test -z "$as_dir" && as_dir
=.
4469 for ac_exec_ext
in '' $ac_executable_extensions; do
4470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4471 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4482 if test -n "$CC"; then
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4484 $as_echo "$CC" >&6; }
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4487 $as_echo "no" >&6; }
4491 test -n "$CC" && break
4494 if test -z "$CC"; then
4496 for ac_prog
in cl.exe
4498 # Extract the first word of "$ac_prog", so it can be a program name with args.
4499 set dummy
$ac_prog; ac_word
=$2
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4501 $as_echo_n "checking for $ac_word... " >&6; }
4502 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4503 $as_echo_n "(cached) " >&6
4505 if test -n "$ac_ct_CC"; then
4506 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4512 test -z "$as_dir" && as_dir
=.
4513 for ac_exec_ext
in '' $ac_executable_extensions; do
4514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4515 ac_cv_prog_ac_ct_CC
="$ac_prog"
4516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4525 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4526 if test -n "$ac_ct_CC"; then
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4528 $as_echo "$ac_ct_CC" >&6; }
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4531 $as_echo "no" >&6; }
4535 test -n "$ac_ct_CC" && break
4538 if test "x$ac_ct_CC" = x
; then
4541 case $cross_compiling:$ac_tool_warned in
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4544 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4545 ac_tool_warned
=yes ;;
4554 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4556 as_fn_error
"no acceptable C compiler found in \$PATH
4557 See \`config.log' for more details." "$LINENO" 5; }
4559 # Provide some information about the compiler.
4560 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4563 for ac_option
in --version -v -V -qversion; do
4564 { { ac_try
="$ac_compiler $ac_option >&5"
4566 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4567 *) ac_try_echo=$ac_try;;
4569 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4570 $as_echo "$ac_try_echo"; } >&5
4571 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4573 if test -s conftest.err; then
4575 ... rest of stderr output deleted ...
4576 10q' conftest.err >conftest.er1
4577 cat conftest.er1 >&5
4578 rm -f conftest.er1 conftest.err
4580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4581 test $ac_status = 0; }
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4585 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4586 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4587 $as_echo_n "(cached) " >&6
4589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4590 /* end confdefs.h. */
4603 if ac_fn_c_try_compile "$LINENO"; then :
4608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4609 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4613 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4614 if test $ac_compiler_gnu = yes; then
4619 ac_test_CFLAGS=${CFLAGS+set}
4620 ac_save_CFLAGS=$CFLAGS
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4622 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4623 if test "${ac_cv_prog_cc_g+set}" = set; then :
4624 $as_echo_n "(cached) " >&6
4626 ac_save_c_werror_flag=$ac_c_werror_flag
4627 ac_c_werror_flag=yes
4630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4631 /* end confdefs.h. */
4641 if ac_fn_c_try_compile "$LINENO"; then :
4645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4646 /* end confdefs.h. */
4656 if ac_fn_c_try_compile "$LINENO"; then :
4659 ac_c_werror_flag=$ac_save_c_werror_flag
4661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4662 /* end confdefs.h. */
4672 if ac_fn_c_try_compile "$LINENO"; then :
4675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4680 ac_c_werror_flag=$ac_save_c_werror_flag
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4683 $as_echo "$ac_cv_prog_cc_g" >&6; }
4684 if test "$ac_test_CFLAGS" = set; then
4685 CFLAGS=$ac_save_CFLAGS
4686 elif test $ac_cv_prog_cc_g = yes; then
4687 if test "$GCC" = yes; then
4693 if test "$GCC" = yes; then
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4700 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4701 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4702 $as_echo_n "(cached) " >&6
4704 ac_cv_prog_cc_c89=no
4706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4707 /* end confdefs.h. */
4710 #include <sys/types.h>
4711 #include <sys/stat.h>
4712 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4713 struct buf { int x; };
4714 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4715 static char *e (p, i)
4721 static char *f (char * (*g) (char **, int), char **p, ...)
4726 s = g (p, va_arg (v,int));
4731 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4732 function prototypes and stuff, but not '\xHH' hex character constants.
4733 These don't provoke an error unfortunately, instead are silently treated
4734 as 'x'. The following induces an error, until -std is added to get
4735 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4736 array size at least. It's necessary to write '\x00'==0 to get something
4737 that's true only with -std. */
4738 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4740 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4741 inside strings and character constants. */
4743 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4745 int test (int i, double x);
4746 struct s1 {int (*f) (int a);};
4747 struct s2 {int (*f) (double a);};
4748 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4754 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4759 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4760 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4762 CC="$ac_save_CC $ac_arg"
4763 if ac_fn_c_try_compile "$LINENO"; then :
4764 ac_cv_prog_cc_c89=$ac_arg
4766 rm -f core conftest.err conftest.$ac_objext
4767 test "x$ac_cv_prog_cc_c89" != "xno" && break
4769 rm -f conftest.$ac_ext
4774 case "x$ac_cv_prog_cc_c89" in
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4777 $as_echo "none needed" >&6; } ;;
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4780 $as_echo "unsupported" >&6; } ;;
4782 CC="$CC $ac_cv_prog_cc_c89"
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4784 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4786 if test "x$ac_cv_prog_cc_c89" != xno; then :
4791 ac_cpp='$CPP $CPPFLAGS'
4792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4797 ac_cpp='$CXXCPP $CPPFLAGS'
4798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4801 if test -z "$CXX"; then
4802 if test -n "$CCC"; then
4805 if test -n "$ac_tool_prefix"; then
4806 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4808 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4809 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4811 $as_echo_n "checking for $ac_word... " >&6; }
4812 if test "${ac_cv_prog_CXX+set}" = set; then :
4813 $as_echo_n "(cached) " >&6
4815 if test -n "$CXX"; then
4816 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4822 test -z "$as_dir" && as_dir=.
4823 for ac_exec_ext in '' $ac_executable_extensions; do
4824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4825 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4836 if test -n "$CXX"; then
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4838 $as_echo "$CXX" >&6; }
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4841 $as_echo "no" >&6; }
4845 test -n "$CXX" && break
4848 if test -z "$CXX"; then
4850 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4852 # Extract the first word of "$ac_prog", so it can be a program name with args.
4853 set dummy $ac_prog; ac_word=$2
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4855 $as_echo_n "checking for $ac_word... " >&6; }
4856 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4857 $as_echo_n "(cached) " >&6
4859 if test -n "$ac_ct_CXX"; then
4860 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4866 test -z "$as_dir" && as_dir=.
4867 for ac_exec_ext in '' $ac_executable_extensions; do
4868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4869 ac_cv_prog_ac_ct_CXX="$ac_prog"
4870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4879 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4880 if test -n "$ac_ct_CXX"; then
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4882 $as_echo "$ac_ct_CXX" >&6; }
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4885 $as_echo "no" >&6; }
4889 test -n "$ac_ct_CXX" && break
4892 if test "x$ac_ct_CXX" = x; then
4895 case $cross_compiling:$ac_tool_warned in
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4899 ac_tool_warned=yes ;;
4907 # Provide some information about the compiler.
4908 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4911 for ac_option in --version -v -V -qversion; do
4912 { { ac_try="$ac_compiler $ac_option >&5"
4914 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4915 *) ac_try_echo
=$ac_try;;
4917 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4918 $as_echo "$ac_try_echo"; } >&5
4919 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4921 if test -s conftest.err
; then
4923 ... rest of stderr output deleted ...
4924 10q' conftest.err
>conftest.er1
4925 cat conftest.er1
>&5
4926 rm -f conftest.er1 conftest.err
4928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4929 test $ac_status = 0; }
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4933 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4934 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4935 $as_echo_n "(cached) " >&6
4937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4938 /* end confdefs.h. */
4951 if ac_fn_cxx_try_compile
"$LINENO"; then :
4956 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4957 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4961 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4962 if test $ac_compiler_gnu = yes; then
4967 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4968 ac_save_CXXFLAGS
=$CXXFLAGS
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4970 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4971 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4972 $as_echo_n "(cached) " >&6
4974 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4975 ac_cxx_werror_flag
=yes
4978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4979 /* end confdefs.h. */
4989 if ac_fn_cxx_try_compile
"$LINENO"; then :
4990 ac_cv_prog_cxx_g
=yes
4993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4994 /* end confdefs.h. */
5004 if ac_fn_cxx_try_compile
"$LINENO"; then :
5007 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5010 /* end confdefs.h. */
5020 if ac_fn_cxx_try_compile
"$LINENO"; then :
5021 ac_cv_prog_cxx_g
=yes
5023 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5027 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5028 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5031 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5032 if test "$ac_test_CXXFLAGS" = set; then
5033 CXXFLAGS
=$ac_save_CXXFLAGS
5034 elif test $ac_cv_prog_cxx_g = yes; then
5035 if test "$GXX" = yes; then
5041 if test "$GXX" = yes; then
5048 ac_cpp
='$CPP $CPPFLAGS'
5049 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5050 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5051 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5053 depcc
="$CXX" am_compiler_list
=
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5056 $as_echo_n "checking dependency style of $depcc... " >&6; }
5057 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
5058 $as_echo_n "(cached) " >&6
5060 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5061 # We make a subdir and do the tests there. Otherwise we can end up
5062 # making bogus files that we don't know about and never remove. For
5063 # instance it was reported that on HP-UX the gcc test will end up
5064 # making a dummy file named `D' -- because `-MD' means `put the output
5067 # Copy depcomp to subdir because otherwise we won't find it if we're
5068 # using a relative directory.
5069 cp "$am_depcomp" conftest.dir
5071 # We will build objects and dependencies in a subdirectory because
5072 # it helps to detect inapplicable dependency modes. For instance
5073 # both Tru64's cc and ICC support -MD to output dependencies as a
5074 # side effect of compilation, but ICC will put the dependencies in
5075 # the current directory while Tru64 will put them in the object
5079 am_cv_CXX_dependencies_compiler_type
=none
5080 if test "$am_compiler_list" = ""; then
5081 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5084 case " $depcc " in #(
5085 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5088 for depmode
in $am_compiler_list; do
5089 # Setup a source with many dependencies, because some compilers
5090 # like to wrap large dependency lists on column 80 (with \), and
5091 # we should not choose a depcomp mode which is confused by this.
5093 # We need to recreate these files for each test, as the compiler may
5094 # overwrite some of them when testing with obscure command lines.
5095 # This happens at least with the AIX C compiler.
5097 for i
in 1 2 3 4 5 6; do
5098 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5099 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5100 # Solaris 8's {/usr,}/bin/sh.
5101 touch sub
/conftst
$i.h
5103 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5105 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5106 # mode. It turns out that the SunPro C++ compiler does not properly
5107 # handle `-M -o', and we need to detect this. Also, some Intel
5108 # versions had trouble with output in subdirs
5109 am__obj
=sub
/conftest.
${OBJEXT-o}
5110 am__minus_obj
="-o $am__obj"
5113 # This depmode causes a compiler race in universal mode.
5114 test "$am__universal" = false ||
continue
5117 # after this tag, mechanisms are not by side-effect, so they'll
5118 # only be used when explicitly requested
5119 if test "x$enable_dependency_tracking" = xyes
; then
5125 msvisualcpp | msvcmsys
)
5126 # This compiler won't grok `-c -o', but also, the minuso test has
5127 # not run yet. These depmodes are late enough in the game, and
5128 # so weak that their functioning should not be impacted.
5129 am__obj
=conftest.
${OBJEXT-o}
5134 if depmode
=$depmode \
5135 source=sub
/conftest.c object
=$am__obj \
5136 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5137 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5138 >/dev
/null
2>conftest.err
&&
5139 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5140 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5141 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5142 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5143 # icc doesn't choke on unknown options, it will just issue warnings
5144 # or remarks (even with -Werror). So we grep stderr for any message
5145 # that says an option was ignored or not supported.
5146 # When given -MP, icc 7.0 and 7.1 complain thusly:
5147 # icc: Command line warning: ignoring option '-M'; no argument required
5148 # The diagnosis changed in icc 8.0:
5149 # icc: Command line remark: option '-MP' not supported
5150 if (grep 'ignoring option' conftest.err ||
5151 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5152 am_cv_CXX_dependencies_compiler_type
=$depmode
5161 am_cv_CXX_dependencies_compiler_type
=none
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5166 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5167 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5170 test "x$enable_dependency_tracking" != xno \
5171 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5172 am__fastdepCXX_TRUE
=
5173 am__fastdepCXX_FALSE
='#'
5175 am__fastdepCXX_TRUE
='#'
5176 am__fastdepCXX_FALSE
=
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5181 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5182 if test "${ac_cv_path_GREP+set}" = set; then :
5183 $as_echo_n "(cached) " >&6
5185 if test -z "$GREP"; then
5186 ac_path_GREP_found
=false
5187 # Loop through the user's path and test for each of PROGNAME-LIST
5188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5189 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5192 test -z "$as_dir" && as_dir
=.
5193 for ac_prog
in grep ggrep
; do
5194 for ac_exec_ext
in '' $ac_executable_extensions; do
5195 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5196 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5197 # Check for GNU ac_path_GREP and select it if it is found.
5198 # Check for GNU $ac_path_GREP
5199 case `"$ac_path_GREP" --version 2>&1` in
5201 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5204 $as_echo_n 0123456789 >"conftest.in"
5207 cat "conftest.in" "conftest.in" >"conftest.tmp"
5208 mv "conftest.tmp" "conftest.in"
5209 cp "conftest.in" "conftest.nl"
5210 $as_echo 'GREP' >> "conftest.nl"
5211 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5212 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5213 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5214 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5215 # Best one so far, save it but keep looking for a better one
5216 ac_cv_path_GREP
="$ac_path_GREP"
5217 ac_path_GREP_max
=$ac_count
5219 # 10*(2^10) chars as input seems more than enough
5220 test $ac_count -gt 10 && break
5222 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5225 $ac_path_GREP_found && break 3
5230 if test -z "$ac_cv_path_GREP"; then
5231 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5234 ac_cv_path_GREP
=$GREP
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5239 $as_echo "$ac_cv_path_GREP" >&6; }
5240 GREP
="$ac_cv_path_GREP"
5244 ac_cpp
='$CPP $CPPFLAGS'
5245 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5246 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5247 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5249 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5250 # On Suns, sometimes $CPP names a directory.
5251 if test -n "$CPP" && test -d "$CPP"; then
5254 if test -z "$CPP"; then
5255 if test "${ac_cv_prog_CPP+set}" = set; then :
5256 $as_echo_n "(cached) " >&6
5258 # Double quotes because CPP needs to be expanded
5259 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5262 for ac_c_preproc_warn_flag
in '' yes
5264 # Use a header file that comes with gcc, so configuring glibc
5265 # with a fresh cross-compiler works.
5266 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5267 # <limits.h> exists even on freestanding compilers.
5268 # On the NeXT, cc -E runs the code through the compiler's parser,
5269 # not just through cpp. "Syntax error" is here to catch this case.
5270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5271 /* end confdefs.h. */
5273 # include <limits.h>
5275 # include <assert.h>
5279 if ac_fn_c_try_cpp
"$LINENO"; then :
5282 # Broken: fails on valid input.
5285 rm -f conftest.err conftest.
$ac_ext
5287 # OK, works on sane cases. Now check whether nonexistent headers
5288 # can be detected and how.
5289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5290 /* end confdefs.h. */
5291 #include <ac_nonexistent.h>
5293 if ac_fn_c_try_cpp
"$LINENO"; then :
5294 # Broken: success on invalid input.
5297 # Passes both tests.
5301 rm -f conftest.err conftest.
$ac_ext
5304 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5305 rm -f conftest.err conftest.
$ac_ext
5306 if $ac_preproc_ok; then :
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5319 $as_echo "$CPP" >&6; }
5321 for ac_c_preproc_warn_flag
in '' yes
5323 # Use a header file that comes with gcc, so configuring glibc
5324 # with a fresh cross-compiler works.
5325 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5326 # <limits.h> exists even on freestanding compilers.
5327 # On the NeXT, cc -E runs the code through the compiler's parser,
5328 # not just through cpp. "Syntax error" is here to catch this case.
5329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5330 /* end confdefs.h. */
5332 # include <limits.h>
5334 # include <assert.h>
5338 if ac_fn_c_try_cpp
"$LINENO"; then :
5341 # Broken: fails on valid input.
5344 rm -f conftest.err conftest.
$ac_ext
5346 # OK, works on sane cases. Now check whether nonexistent headers
5347 # can be detected and how.
5348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5349 /* end confdefs.h. */
5350 #include <ac_nonexistent.h>
5352 if ac_fn_c_try_cpp
"$LINENO"; then :
5353 # Broken: success on invalid input.
5356 # Passes both tests.
5360 rm -f conftest.err conftest.
$ac_ext
5363 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5364 rm -f conftest.err conftest.
$ac_ext
5365 if $ac_preproc_ok; then :
5368 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5369 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5370 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5371 See \`config.log' for more details." "$LINENO" 5; }
5375 ac_cpp
='$CPP $CPPFLAGS'
5376 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5377 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5378 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5382 $as_echo_n "checking for egrep... " >&6; }
5383 if test "${ac_cv_path_EGREP+set}" = set; then :
5384 $as_echo_n "(cached) " >&6
5386 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5387 then ac_cv_path_EGREP
="$GREP -E"
5389 if test -z "$EGREP"; then
5390 ac_path_EGREP_found
=false
5391 # Loop through the user's path and test for each of PROGNAME-LIST
5392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5393 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5396 test -z "$as_dir" && as_dir
=.
5397 for ac_prog
in egrep; do
5398 for ac_exec_ext
in '' $ac_executable_extensions; do
5399 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5400 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5401 # Check for GNU ac_path_EGREP and select it if it is found.
5402 # Check for GNU $ac_path_EGREP
5403 case `"$ac_path_EGREP" --version 2>&1` in
5405 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5408 $as_echo_n 0123456789 >"conftest.in"
5411 cat "conftest.in" "conftest.in" >"conftest.tmp"
5412 mv "conftest.tmp" "conftest.in"
5413 cp "conftest.in" "conftest.nl"
5414 $as_echo 'EGREP' >> "conftest.nl"
5415 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5416 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5417 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5418 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5419 # Best one so far, save it but keep looking for a better one
5420 ac_cv_path_EGREP
="$ac_path_EGREP"
5421 ac_path_EGREP_max
=$ac_count
5423 # 10*(2^10) chars as input seems more than enough
5424 test $ac_count -gt 10 && break
5426 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5429 $ac_path_EGREP_found && break 3
5434 if test -z "$ac_cv_path_EGREP"; then
5435 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5438 ac_cv_path_EGREP
=$EGREP
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5444 $as_echo "$ac_cv_path_EGREP" >&6; }
5445 EGREP
="$ac_cv_path_EGREP"
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5449 $as_echo_n "checking for ANSI C header files... " >&6; }
5450 if test "${ac_cv_header_stdc+set}" = set; then :
5451 $as_echo_n "(cached) " >&6
5453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5454 /* end confdefs.h. */
5468 if ac_fn_c_try_compile
"$LINENO"; then :
5469 ac_cv_header_stdc
=yes
5471 ac_cv_header_stdc
=no
5473 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5475 if test $ac_cv_header_stdc = yes; then
5476 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5478 /* end confdefs.h. */
5482 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5483 $EGREP "memchr" >/dev
/null
2>&1; then :
5486 ac_cv_header_stdc
=no
5492 if test $ac_cv_header_stdc = yes; then
5493 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5495 /* end confdefs.h. */
5499 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5500 $EGREP "free" >/dev
/null
2>&1; then :
5503 ac_cv_header_stdc
=no
5509 if test $ac_cv_header_stdc = yes; then
5510 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5511 if test "$cross_compiling" = yes; then :
5514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5515 /* end confdefs.h. */
5518 #if ((' ' & 0x0FF) == 0x020)
5519 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5520 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5522 # define ISLOWER(c) \
5523 (('a' <= (c) && (c) <= 'i') \
5524 || ('j' <= (c) && (c) <= 'r') \
5525 || ('s' <= (c) && (c) <= 'z'))
5526 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5529 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5534 for (i = 0; i < 256; i++)
5535 if (XOR (islower (i), ISLOWER (i))
5536 || toupper (i) != TOUPPER (i))
5541 if ac_fn_c_try_run
"$LINENO"; then :
5544 ac_cv_header_stdc
=no
5546 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5547 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5553 $as_echo "$ac_cv_header_stdc" >&6; }
5554 if test $ac_cv_header_stdc = yes; then
5556 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5560 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5561 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5562 inttypes.h stdint.h unistd.h
5564 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5565 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5567 eval as_val
=\$
$as_ac_Header
5568 if test "x$as_val" = x
""yes; then :
5569 cat >>confdefs.h
<<_ACEOF
5570 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5579 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5580 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
5587 if test "$MINIX" = yes; then
5589 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5592 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5595 $as_echo "#define _MINIX 1" >>confdefs.h
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5601 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5602 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
5603 $as_echo_n "(cached) " >&6
5605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5606 /* end confdefs.h. */
5608 # define __EXTENSIONS__ 1
5609 $ac_includes_default
5618 if ac_fn_c_try_compile
"$LINENO"; then :
5619 ac_cv_safe_to_define___extensions__
=yes
5621 ac_cv_safe_to_define___extensions__
=no
5623 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5626 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5627 test $ac_cv_safe_to_define___extensions__ = yes &&
5628 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5630 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5632 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5634 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5636 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5646 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5651 macro_version
='2.2.7a'
5652 macro_revision
='1.3134'
5666 ltmain
="$ac_aux_dir/ltmain.sh"
5668 # Backslashify metacharacters that are still active within
5669 # double-quoted strings.
5670 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5672 # Same as above, but do not quote variable references.
5673 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5675 # Sed substitution to delay expansion of an escaped shell variable in a
5676 # double_quote_subst'ed string.
5677 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5679 # Sed substitution to delay expansion of an escaped single quote.
5680 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5682 # Sed substitution to avoid accidental globbing in evaled expressions
5683 no_glob_subst
='s/\*/\\\*/g'
5685 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5686 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5687 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5690 $as_echo_n "checking how to print strings... " >&6; }
5691 # Test print first, because it will be a builtin if present.
5692 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5693 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5695 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5698 # Use this function as a fallback that always works.
5699 func_fallback_echo ()
5701 eval 'cat <<_LTECHO_EOF
5705 ECHO='func_fallback_echo
'
5708 # func_echo_all arg...
5709 # Invoke $ECHO with all args, space-separated.
5716 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5717 $as_echo "printf" >&6; } ;;
5718 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5719 $as_echo "print -r" >&6; } ;;
5720 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5721 $as_echo "cat" >&6; } ;;
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5738 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5739 if test "${ac_cv_path_SED+set}" = set; then :
5740 $as_echo_n "(cached) " >&6
5742 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5743 for ac_i in 1 2 3 4 5 6 7; do
5744 ac_script="$ac_script$as_nl$ac_script"
5746 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5747 { ac_script=; unset ac_script;}
5748 if test -z "$SED"; then
5749 ac_path_SED_found=false
5750 # Loop through the user's path and
test for each of PROGNAME-LIST
5751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5755 test -z "$as_dir" && as_dir
=.
5756 for ac_prog
in sed gsed
; do
5757 for ac_exec_ext
in '' $ac_executable_extensions; do
5758 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5759 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5760 # Check for GNU ac_path_SED and select it if it is found.
5761 # Check for GNU $ac_path_SED
5762 case `"$ac_path_SED" --version 2>&1` in
5764 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5767 $as_echo_n 0123456789 >"conftest.in"
5770 cat "conftest.in" "conftest.in" >"conftest.tmp"
5771 mv "conftest.tmp" "conftest.in"
5772 cp "conftest.in" "conftest.nl"
5773 $as_echo '' >> "conftest.nl"
5774 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5775 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5776 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5777 if test $ac_count -gt ${ac_path_SED_max-0}; then
5778 # Best one so far, save it but keep looking for a better one
5779 ac_cv_path_SED
="$ac_path_SED"
5780 ac_path_SED_max
=$ac_count
5782 # 10*(2^10) chars as input seems more than enough
5783 test $ac_count -gt 10 && break
5785 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5788 $ac_path_SED_found && break 3
5793 if test -z "$ac_cv_path_SED"; then
5794 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5802 $as_echo "$ac_cv_path_SED" >&6; }
5803 SED
="$ac_cv_path_SED"
5806 test -z "$SED" && SED
=sed
5807 Xsed
="$SED -e 1s/^X//"
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5820 $as_echo_n "checking for fgrep... " >&6; }
5821 if test "${ac_cv_path_FGREP+set}" = set; then :
5822 $as_echo_n "(cached) " >&6
5824 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5825 then ac_cv_path_FGREP
="$GREP -F"
5827 if test -z "$FGREP"; then
5828 ac_path_FGREP_found
=false
5829 # Loop through the user's path and test for each of PROGNAME-LIST
5830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5831 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5834 test -z "$as_dir" && as_dir
=.
5835 for ac_prog
in fgrep
; do
5836 for ac_exec_ext
in '' $ac_executable_extensions; do
5837 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5838 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5839 # Check for GNU ac_path_FGREP and select it if it is found.
5840 # Check for GNU $ac_path_FGREP
5841 case `"$ac_path_FGREP" --version 2>&1` in
5843 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5846 $as_echo_n 0123456789 >"conftest.in"
5849 cat "conftest.in" "conftest.in" >"conftest.tmp"
5850 mv "conftest.tmp" "conftest.in"
5851 cp "conftest.in" "conftest.nl"
5852 $as_echo 'FGREP' >> "conftest.nl"
5853 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5854 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5855 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5856 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5857 # Best one so far, save it but keep looking for a better one
5858 ac_cv_path_FGREP
="$ac_path_FGREP"
5859 ac_path_FGREP_max
=$ac_count
5861 # 10*(2^10) chars as input seems more than enough
5862 test $ac_count -gt 10 && break
5864 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5867 $ac_path_FGREP_found && break 3
5872 if test -z "$ac_cv_path_FGREP"; then
5873 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5876 ac_cv_path_FGREP
=$FGREP
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5882 $as_echo "$ac_cv_path_FGREP" >&6; }
5883 FGREP
="$ac_cv_path_FGREP"
5886 test -z "$GREP" && GREP
=grep
5906 # Check whether --with-gnu-ld was given.
5907 if test "${with_gnu_ld+set}" = set; then :
5908 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5914 if test "$GCC" = yes; then
5915 # Check if gcc -print-prog-name=ld gives a path.
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5917 $as_echo_n "checking for ld used by $CC... " >&6; }
5920 # gcc leaves a trailing carriage return which upsets mingw
5921 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5923 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5926 # Accept absolute paths.
5928 re_direlt
='/[^/][^/]*/\.\./'
5929 # Canonicalize the pathname of ld
5930 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5931 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5932 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5934 test -z "$LD" && LD
="$ac_prog"
5937 # If it fails, then pretend we aren't using GCC.
5941 # If it is relative, then search for the first ld in PATH.
5945 elif test "$with_gnu_ld" = yes; then
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5947 $as_echo_n "checking for GNU ld... " >&6; }
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5950 $as_echo_n "checking for non-GNU ld... " >&6; }
5952 if test "${lt_cv_path_LD+set}" = set; then :
5953 $as_echo_n "(cached) " >&6
5955 if test -z "$LD"; then
5956 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5957 for ac_dir
in $PATH; do
5959 test -z "$ac_dir" && ac_dir
=.
5960 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5961 lt_cv_path_LD
="$ac_dir/$ac_prog"
5962 # Check to see if the program is GNU ld. I'd rather use --version,
5963 # but apparently some variants of GNU ld only accept -v.
5964 # Break only if it was the GNU/non-GNU ld that we prefer.
5965 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5966 *GNU
* |
*'with BFD'*)
5967 test "$with_gnu_ld" != no
&& break
5970 test "$with_gnu_ld" != yes && break
5977 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5982 if test -n "$LD"; then
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5984 $as_echo "$LD" >&6; }
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5987 $as_echo "no" >&6; }
5989 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5991 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5992 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5993 $as_echo_n "(cached) " >&6
5995 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5996 case `$LD -v 2>&1 </dev/null` in
5997 *GNU
* |
*'with BFD'*)
5998 lt_cv_prog_gnu_ld
=yes
6001 lt_cv_prog_gnu_ld
=no
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6006 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6007 with_gnu_ld
=$lt_cv_prog_gnu_ld
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6018 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6019 if test "${lt_cv_path_NM+set}" = set; then :
6020 $as_echo_n "(cached) " >&6
6022 if test -n "$NM"; then
6023 # Let the user override the test.
6026 lt_nm_to_check
="${ac_tool_prefix}nm"
6027 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6028 lt_nm_to_check
="$lt_nm_to_check nm"
6030 for lt_tmp_nm
in $lt_nm_to_check; do
6031 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6032 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6034 test -z "$ac_dir" && ac_dir
=.
6035 tmp_nm
="$ac_dir/$lt_tmp_nm"
6036 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
6037 # Check to see if the nm accepts a BSD-compat flag.
6038 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6039 # nm: unknown option "B" ignored
6040 # Tru64's nm complains that /dev/null is an invalid object file
6041 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6042 */dev
/null
* |
*'Invalid file or object type'*)
6043 lt_cv_path_NM
="$tmp_nm -B"
6047 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6049 lt_cv_path_NM
="$tmp_nm -p"
6053 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6054 continue # so that we can try to find one that supports BSD flags
6063 : ${lt_cv_path_NM=no}
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6067 $as_echo "$lt_cv_path_NM" >&6; }
6068 if test "$lt_cv_path_NM" != "no"; then
6071 # Didn't find any BSD compatible name lister, look for dumpbin.
6072 if test -n "$DUMPBIN"; then :
6073 # Let the user override the test.
6075 if test -n "$ac_tool_prefix"; then
6076 for ac_prog
in dumpbin
"link -dump"
6078 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6079 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6081 $as_echo_n "checking for $ac_word... " >&6; }
6082 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6083 $as_echo_n "(cached) " >&6
6085 if test -n "$DUMPBIN"; then
6086 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6092 test -z "$as_dir" && as_dir
=.
6093 for ac_exec_ext
in '' $ac_executable_extensions; do
6094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6095 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6105 DUMPBIN
=$ac_cv_prog_DUMPBIN
6106 if test -n "$DUMPBIN"; then
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6108 $as_echo "$DUMPBIN" >&6; }
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6111 $as_echo "no" >&6; }
6115 test -n "$DUMPBIN" && break
6118 if test -z "$DUMPBIN"; then
6119 ac_ct_DUMPBIN
=$DUMPBIN
6120 for ac_prog
in dumpbin
"link -dump"
6122 # Extract the first word of "$ac_prog", so it can be a program name with args.
6123 set dummy
$ac_prog; ac_word
=$2
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6125 $as_echo_n "checking for $ac_word... " >&6; }
6126 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6127 $as_echo_n "(cached) " >&6
6129 if test -n "$ac_ct_DUMPBIN"; then
6130 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6136 test -z "$as_dir" && as_dir
=.
6137 for ac_exec_ext
in '' $ac_executable_extensions; do
6138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6139 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6149 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6150 if test -n "$ac_ct_DUMPBIN"; then
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6152 $as_echo "$ac_ct_DUMPBIN" >&6; }
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6155 $as_echo "no" >&6; }
6159 test -n "$ac_ct_DUMPBIN" && break
6162 if test "x$ac_ct_DUMPBIN" = x
; then
6165 case $cross_compiling:$ac_tool_warned in
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6168 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6169 ac_tool_warned
=yes ;;
6171 DUMPBIN
=$ac_ct_DUMPBIN
6175 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6177 DUMPBIN
="$DUMPBIN -symbols"
6185 if test "$DUMPBIN" != ":"; then
6189 test -z "$NM" && NM
=nm
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6197 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6198 if test "${lt_cv_nm_interface+set}" = set; then :
6199 $as_echo_n "(cached) " >&6
6201 lt_cv_nm_interface
="BSD nm"
6202 echo "int some_variable = 0;" > conftest.
$ac_ext
6203 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6204 (eval "$ac_compile" 2>conftest.err
)
6205 cat conftest.err
>&5
6206 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6207 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6208 cat conftest.err
>&5
6209 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6210 cat conftest.out
>&5
6211 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6212 lt_cv_nm_interface
="MS dumpbin"
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6217 $as_echo "$lt_cv_nm_interface" >&6; }
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6220 $as_echo_n "checking whether ln -s works... " >&6; }
6222 if test "$LN_S" = "ln -s"; then
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6224 $as_echo "yes" >&6; }
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6227 $as_echo "no, using $LN_S" >&6; }
6230 # find the maximum length of command line arguments
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6232 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6233 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6234 $as_echo_n "(cached) " >&6
6241 # On DJGPP, this test can blow up pretty badly due to problems in libc
6242 # (any single argument exceeding 2000 bytes causes a buffer overrun
6243 # during glob expansion). Even if it were fixed, the result of this
6244 # check would be larger than it should be.
6245 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6249 # Under GNU Hurd, this test is not required because there is
6250 # no limit to the length of command line arguments.
6251 # Libtool will interpret -1 as no limit whatsoever
6252 lt_cv_sys_max_cmd_len
=-1;
6255 cygwin
* | mingw
* | cegcc
*)
6256 # On Win9x/ME, this test blows up -- it succeeds, but takes
6257 # about 5 minutes as the teststring grows exponentially.
6258 # Worse, since 9x/ME are not pre-emptively multitasking,
6259 # you end up with a "frozen" computer, even though with patience
6260 # the test eventually succeeds (with a max line length of 256k).
6261 # Instead, let's just punt: use the minimum linelength reported by
6262 # all of the supported platforms: 8192 (on NT/2K/XP).
6263 lt_cv_sys_max_cmd_len
=8192;
6267 # On MiNT this can take a long time and run out of memory.
6268 lt_cv_sys_max_cmd_len
=8192;
6272 # On AmigaOS with pdksh, this test takes hours, literally.
6273 # So we just punt and use a minimum line length of 8192.
6274 lt_cv_sys_max_cmd_len
=8192;
6277 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6278 # This has been around since 386BSD, at least. Likely further.
6279 if test -x /sbin
/sysctl
; then
6280 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6281 elif test -x /usr
/sbin
/sysctl
; then
6282 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6284 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6286 # And add a safety zone
6287 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6288 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6292 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6293 lt_cv_sys_max_cmd_len
=196608
6297 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6298 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6299 # nice to cause kernel panics so lets avoid the loop below.
6300 # First set a reasonable default.
6301 lt_cv_sys_max_cmd_len
=16384
6303 if test -x /sbin
/sysconfig
; then
6304 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6305 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6310 lt_cv_sys_max_cmd_len
=102400
6312 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6313 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6314 if test -n "$kargmax"; then
6315 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6317 lt_cv_sys_max_cmd_len
=32768
6321 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6322 if test -n "$lt_cv_sys_max_cmd_len"; then
6323 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6324 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6326 # Make teststring a little bigger before we do anything with it.
6327 # a 1K string should be a reasonable start.
6328 for i
in 1 2 3 4 5 6 7 8 ; do
6329 teststring
=$teststring$teststring
6331 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6332 # If test is not a shell built-in, we'll probably end up computing a
6333 # maximum length that is only half of the actual maximum length, but
6335 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6336 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6337 test $i != 17 # 1/2 MB should be enough
6340 teststring
=$teststring$teststring
6342 # Only check the string length outside the loop.
6343 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6345 # Add a significant safety factor because C++ compilers can tack on
6346 # massive amounts of additional arguments before passing them to the
6347 # linker. It appears as though 1/2 is a usable value.
6348 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6355 if test -n $lt_cv_sys_max_cmd_len ; then
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6357 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6360 $as_echo "none" >&6; }
6362 max_cmd_len
=$lt_cv_sys_max_cmd_len
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6374 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6375 # Try some XSI features
6378 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6380 && eval 'test $(( 1 + 1 )) -eq 2 \
6381 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6384 $as_echo "$xsi_shell" >&6; }
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6388 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6390 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6392 && lt_shell_append=yes
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6394 $as_echo "$lt_shell_append" >&6; }
6397 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6407 # test EBCDIC or ASCII
6408 case `echo X|tr X '\101'` in
6409 A) # ASCII based system
6410 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6411 lt_SP2NL='tr \040 \012'
6412 lt_NL2SP='tr \015\012 \040\040'
6414 *) # EBCDIC based system
6415 lt_SP2NL='tr \100 \n'
6416 lt_NL2SP='tr \r\n \100\100'
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6429 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6430 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6431 $as_echo_n "(cached
) " >&6
6433 lt_cv_ld_reload_flag='-r'
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6436 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6437 reload_flag=$lt_cv_ld_reload_flag
6438 case $reload_flag in
6440 *) reload_flag=" $reload_flag" ;;
6442 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6445 if test "$GCC" = yes; then
6446 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6448 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6461 if test -n "$ac_tool_prefix"; then
6462 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6463 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6465 $as_echo_n "checking
for $ac_word...
" >&6; }
6466 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6467 $as_echo_n "(cached
) " >&6
6469 if test -n "$OBJDUMP"; then
6470 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6476 test -z "$as_dir" && as_dir=.
6477 for ac_exec_ext in '' $ac_executable_extensions; do
6478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6479 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6480 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6489 OBJDUMP=$ac_cv_prog_OBJDUMP
6490 if test -n "$OBJDUMP"; then
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6492 $as_echo "$OBJDUMP" >&6; }
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6495 $as_echo "no
" >&6; }
6500 if test -z "$ac_cv_prog_OBJDUMP"; then
6501 ac_ct_OBJDUMP=$OBJDUMP
6502 # Extract the first word of "objdump
", so it can be a program name with args.
6503 set dummy objdump; ac_word=$2
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6505 $as_echo_n "checking
for $ac_word...
" >&6; }
6506 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6507 $as_echo_n "(cached
) " >&6
6509 if test -n "$ac_ct_OBJDUMP"; then
6510 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6516 test -z "$as_dir" && as_dir=.
6517 for ac_exec_ext in '' $ac_executable_extensions; do
6518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6519 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6520 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6529 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6530 if test -n "$ac_ct_OBJDUMP"; then
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6532 $as_echo "$ac_ct_OBJDUMP" >&6; }
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6535 $as_echo "no
" >&6; }
6538 if test "x
$ac_ct_OBJDUMP" = x; then
6541 case $cross_compiling:$ac_tool_warned in
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6544 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6545 ac_tool_warned=yes ;;
6547 OBJDUMP=$ac_ct_OBJDUMP
6550 OBJDUMP="$ac_cv_prog_OBJDUMP"
6553 test -z "$OBJDUMP" && OBJDUMP=objdump
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6564 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6565 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6566 $as_echo_n "(cached
) " >&6
6568 lt_cv_file_magic_cmd='$MAGIC_CMD'
6569 lt_cv_file_magic_test_file=
6570 lt_cv_deplibs_check_method='unknown'
6571 # Need to set the preceding variable on all platforms that support
6572 # interlibrary dependencies.
6573 # 'none' -- dependencies not supported.
6574 # `unknown' -- same as none, but documents that we really don't know.
6575 # 'pass_all' -- all dependencies passed with no checks.
6576 # 'test_compile' -- check by making test program.
6577 # 'file_magic [[regex]]' -- check by looking for files in library path
6578 # which responds to the $file_magic_cmd with a given extended regex.
6579 # If you have `file' or equivalent on your system and you're not sure
6580 # whether `pass_all' will *always* work, you probably want this one.
6584 lt_cv_deplibs_check_method=pass_all
6588 lt_cv_deplibs_check_method=pass_all
6592 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6593 lt_cv_file_magic_cmd='/usr/bin/file -L'
6594 lt_cv_file_magic_test_file=/shlib/libc.so
6598 # func_win32_libid is a shell function defined in ltmain.sh
6599 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6600 lt_cv_file_magic_cmd='func_win32_libid'
6604 # Base MSYS/MinGW do not provide the 'file' command needed by
6605 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6606 # unless we find 'file', for example because we are cross-compiling.
6607 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6608 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6609 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6610 lt_cv_file_magic_cmd='func_win32_libid'
6612 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6613 lt_cv_file_magic_cmd='$OBJDUMP -f'
6618 # use the weaker test based on 'objdump'. See mingw*.
6619 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6620 lt_cv_file_magic_cmd='$OBJDUMP -f'
6623 darwin* | rhapsody*)
6624 lt_cv_deplibs_check_method=pass_all
6627 freebsd* | dragonfly*)
6628 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6631 # Not sure whether the presence of OpenBSD here was a mistake.
6632 # Let's accept both of them until this is cleared up.
6633 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6634 lt_cv_file_magic_cmd=/usr/bin/file
6635 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6639 lt_cv_deplibs_check_method=pass_all
6644 lt_cv_deplibs_check_method=pass_all
6648 lt_cv_deplibs_check_method=pass_all
6651 hpux10.20* | hpux11*)
6652 lt_cv_file_magic_cmd=/usr/bin/file
6655 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6656 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6659 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]'
6660 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6663 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6664 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6670 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6671 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6674 irix5* | irix6* | nonstopux*)
6676 *-32|*"-32 ") libmagic=32-bit;;
6677 *-n32|*"-n32 ") libmagic=N32;;
6678 *-64|*"-64 ") libmagic=64-bit;;
6679 *) libmagic=never-match;;
6681 lt_cv_deplibs_check_method=pass_all
6684 # This must be Linux ELF.
6685 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6686 lt_cv_deplibs_check_method=pass_all
6690 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6691 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6693 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6698 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6699 lt_cv_file_magic_cmd=/usr/bin/file
6700 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6704 lt_cv_deplibs_check_method=pass_all
6708 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6709 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6711 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6715 osf3* | osf4* | osf5*)
6716 lt_cv_deplibs_check_method=pass_all
6720 lt_cv_deplibs_check_method=pass_all
6724 lt_cv_deplibs_check_method=pass_all
6727 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6728 lt_cv_deplibs_check_method=pass_all
6732 case $host_vendor in
6734 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]'
6735 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6738 lt_cv_deplibs_check_method=pass_all
6741 lt_cv_file_magic_cmd='/bin/file'
6742 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6745 lt_cv_file_magic_cmd='/bin/file'
6746 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6747 lt_cv_file_magic_test_file=/lib/libc.so
6750 lt_cv_deplibs_check_method=pass_all
6753 lt_cv_deplibs_check_method=pass_all
6759 lt_cv_deplibs_check_method=pass_all
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6765 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6766 file_magic_cmd=$lt_cv_file_magic_cmd
6767 deplibs_check_method=$lt_cv_deplibs_check_method
6768 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6781 if test -n "$ac_tool_prefix"; then
6782 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6783 set dummy ${ac_tool_prefix}ar; ac_word=$2
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6785 $as_echo_n "checking
for $ac_word...
" >&6; }
6786 if test "${ac_cv_prog_AR+set}" = set; then :
6787 $as_echo_n "(cached
) " >&6
6789 if test -n "$AR"; then
6790 ac_cv_prog_AR="$AR" # Let the user override the test.
6792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6796 test -z "$as_dir" && as_dir=.
6797 for ac_exec_ext in '' $ac_executable_extensions; do
6798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6799 ac_cv_prog_AR="${ac_tool_prefix}ar"
6800 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6810 if test -n "$AR"; then
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6812 $as_echo "$AR" >&6; }
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6815 $as_echo "no
" >&6; }
6820 if test -z "$ac_cv_prog_AR"; then
6822 # Extract the first word of "ar", so it can be a program name with args.
6823 set dummy ar; ac_word=$2
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6825 $as_echo_n "checking
for $ac_word...
" >&6; }
6826 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6827 $as_echo_n "(cached
) " >&6
6829 if test -n "$ac_ct_AR"; then
6830 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6836 test -z "$as_dir" && as_dir=.
6837 for ac_exec_ext in '' $ac_executable_extensions; do
6838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6839 ac_cv_prog_ac_ct_AR="ar"
6840 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6849 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6850 if test -n "$ac_ct_AR"; then
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6852 $as_echo "$ac_ct_AR" >&6; }
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6855 $as_echo "no
" >&6; }
6858 if test "x
$ac_ct_AR" = x; then
6861 case $cross_compiling:$ac_tool_warned in
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6864 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6865 ac_tool_warned=yes ;;
6873 test -z "$AR" && AR=ar
6874 test -z "$AR_FLAGS" && AR_FLAGS=cru
6886 if test -n "$ac_tool_prefix"; then
6887 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6888 set dummy ${ac_tool_prefix}strip; ac_word=$2
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6890 $as_echo_n "checking
for $ac_word...
" >&6; }
6891 if test "${ac_cv_prog_STRIP+set}" = set; then :
6892 $as_echo_n "(cached
) " >&6
6894 if test -n "$STRIP"; then
6895 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6901 test -z "$as_dir" && as_dir=.
6902 for ac_exec_ext in '' $ac_executable_extensions; do
6903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6904 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6905 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6914 STRIP=$ac_cv_prog_STRIP
6915 if test -n "$STRIP"; then
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6917 $as_echo "$STRIP" >&6; }
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6920 $as_echo "no
" >&6; }
6925 if test -z "$ac_cv_prog_STRIP"; then
6927 # Extract the first word of "strip
", so it can be a program name with args.
6928 set dummy strip; ac_word=$2
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6930 $as_echo_n "checking
for $ac_word...
" >&6; }
6931 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6932 $as_echo_n "(cached
) " >&6
6934 if test -n "$ac_ct_STRIP"; then
6935 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6941 test -z "$as_dir" && as_dir=.
6942 for ac_exec_ext in '' $ac_executable_extensions; do
6943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6944 ac_cv_prog_ac_ct_STRIP="strip
"
6945 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6954 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6955 if test -n "$ac_ct_STRIP"; then
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6957 $as_echo "$ac_ct_STRIP" >&6; }
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6960 $as_echo "no
" >&6; }
6963 if test "x
$ac_ct_STRIP" = x; then
6966 case $cross_compiling:$ac_tool_warned in
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6969 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6970 ac_tool_warned=yes ;;
6975 STRIP="$ac_cv_prog_STRIP"
6978 test -z "$STRIP" && STRIP=:
6985 if test -n "$ac_tool_prefix"; then
6986 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6987 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6989 $as_echo_n "checking
for $ac_word...
" >&6; }
6990 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6991 $as_echo_n "(cached
) " >&6
6993 if test -n "$RANLIB"; then
6994 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7000 test -z "$as_dir" && as_dir=.
7001 for ac_exec_ext in '' $ac_executable_extensions; do
7002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7003 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7004 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7013 RANLIB=$ac_cv_prog_RANLIB
7014 if test -n "$RANLIB"; then
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7016 $as_echo "$RANLIB" >&6; }
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7019 $as_echo "no
" >&6; }
7024 if test -z "$ac_cv_prog_RANLIB"; then
7025 ac_ct_RANLIB=$RANLIB
7026 # Extract the first word of "ranlib
", so it can be a program name with args.
7027 set dummy ranlib; ac_word=$2
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7029 $as_echo_n "checking
for $ac_word...
" >&6; }
7030 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7031 $as_echo_n "(cached
) " >&6
7033 if test -n "$ac_ct_RANLIB"; then
7034 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7040 test -z "$as_dir" && as_dir=.
7041 for ac_exec_ext in '' $ac_executable_extensions; do
7042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7043 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7044 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7053 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7054 if test -n "$ac_ct_RANLIB"; then
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7056 $as_echo "$ac_ct_RANLIB" >&6; }
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7059 $as_echo "no
" >&6; }
7062 if test "x
$ac_ct_RANLIB" = x; then
7065 case $cross_compiling:$ac_tool_warned in
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7068 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7069 ac_tool_warned=yes ;;
7071 RANLIB=$ac_ct_RANLIB
7074 RANLIB="$ac_cv_prog_RANLIB"
7077 test -z "$RANLIB" && RANLIB=:
7084 # Determine commands to create old-style static archives.
7085 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7086 old_postinstall_cmds='chmod 644 $oldlib'
7087 old_postuninstall_cmds=
7089 if test -n "$RANLIB"; then
7092 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7095 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7098 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7103 lock_old_archive_extraction=yes ;;
7105 lock_old_archive_extraction=no ;;
7146 # If no C compiler was specified, use CC.
7149 # If no C compiler flags were specified, use CFLAGS.
7150 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7152 # Allow CC to be a program name with arguments.
7156 # Check for command to grab the raw symbol name followed by C symbol from nm.
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7158 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7159 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7160 $as_echo_n "(cached
) " >&6
7163 # These are sane defaults that work on at least a few old systems.
7164 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7166 # Character class describing NM global symbol codes.
7167 symcode='[BCDEGRST]'
7169 # Regexp to match symbols that can be accessed directly from C.
7170 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7172 # Define system-specific variables.
7177 cygwin* | mingw* | pw32* | cegcc*)
7178 symcode='[ABCDGISTW]'
7181 if test "$host_cpu" = ia64; then
7182 symcode='[ABCDEGRST]'
7186 symcode='[BCDEGRST]'
7189 symcode='[BCDEGQRST]'
7200 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7208 # If we're using GNU nm, then use its standard symbol codes.
7209 case `$NM -V 2>&1` in
7210 *GNU* | *'with BFD'*)
7211 symcode='[ABCDGIRSTW]' ;;
7214 # Transform an extracted symbol line into a proper C declaration.
7215 # Some systems (esp. on ia64) link data and code symbols differently,
7216 # so use this general approach.
7217 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7219 # Transform an extracted symbol line into symbol name and symbol address
7220 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7221 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'"
7223 # Handle CRLF in mingw tool chain
7227 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7231 # Try without a prefix underscore, then with it.
7232 for ac_symprfx in "" "_
"; do
7234 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7235 symxfrm="\\1 $ac_symprfx\\2 \\2"
7237 # Write the raw and C identifiers.
7238 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7239 # Fake it for dumpbin and say T for any non-static function
7240 # and D for any global variable.
7241 # Also find C++ and __fastcall symbols from MSVC++,
7242 # which start with @ or ?.
7243 lt_cv_sys_global_symbol_pipe="$AWK '"\
7244 " {last_section=section; section=\$ 3};"\
7245 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7246 " \$ 0!~/External *\|/{next};"\
7247 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7248 " {if(hide[section]) next};"\
7249 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7250 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7251 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7252 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7253 " ' prfx
=^
$ac_symprfx"
7255 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7258 # Check to see that the pipe works correctly.
7262 cat > conftest.$ac_ext <<_LT_EOF
7267 void nm_test_func(void);
7268 void nm_test_func(void){}
7272 int main(){nm_test_var='a';nm_test_func();return(0);}
7275 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7276 (eval $ac_compile) 2>&5
7278 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7279 test $ac_status = 0; }; then
7280 # Now try to grab the symbols.
7282 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7283 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7285 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7286 test $ac_status = 0; } && test -s "$nlist"; then
7287 # Try sorting and uniquifying the output.
7288 if sort "$nlist" | uniq > "$nlist"T; then
7289 mv -f "$nlist"T "$nlist"
7294 # Make sure that we snagged all the symbols we need.
7295 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7296 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7297 cat <<_LT_EOF > conftest.$ac_ext
7303 # Now generate the symbol file.
7304 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7306 cat <<_LT_EOF >> conftest.$ac_ext
7308 /* The mapping between symbol names and symbols. */
7313 lt__PROGRAM__LTX_preloaded_symbols[] =
7315 { "@PROGRAM@
", (void *) 0 },
7317 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7318 cat <<\_LT_EOF >> conftest.$ac_ext
7322 /* This works around a problem in FreeBSD linker */
7323 #ifdef FREEBSD_WORKAROUND
7324 static const void *lt_preloaded_setup() {
7325 return lt__PROGRAM__LTX_preloaded_symbols;
7333 # Now try linking the two files.
7334 mv conftest.$ac_objext conftstm.$ac_objext
7335 lt_save_LIBS="$LIBS"
7336 lt_save_CFLAGS="$CFLAGS"
7337 LIBS="conftstm.
$ac_objext"
7338 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7339 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7340 (eval $ac_link) 2>&5
7342 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7343 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7346 LIBS="$lt_save_LIBS"
7347 CFLAGS="$lt_save_CFLAGS"
7349 echo "cannot
find nm_test_func
in $nlist" >&5
7352 echo "cannot
find nm_test_var
in $nlist" >&5
7355 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7358 echo "$progname: failed program was
:" >&5
7359 cat conftest.$ac_ext >&5
7361 rm -rf conftest* conftst*
7363 # Do not use the global_symbol_pipe unless it works.
7364 if test "$pipe_works" = yes; then
7367 lt_cv_sys_global_symbol_pipe=
7373 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7374 lt_cv_sys_global_symbol_to_cdecl=
7376 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7378 $as_echo "failed
" >&6; }
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7381 $as_echo "ok
" >&6; }
7405 # Check whether --enable-libtool-lock was given.
7406 if test "${enable_libtool_lock+set}" = set; then :
7407 enableval=$enable_libtool_lock;
7410 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7412 # Some flags need to be propagated to the compiler or linker for good
7416 # Find out which ABI we are using.
7417 echo 'int i;' > conftest.$ac_ext
7418 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7419 (eval $ac_compile) 2>&5
7421 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7422 test $ac_status = 0; }; then
7423 case `/usr/bin/file conftest.$ac_objext` in
7435 # Find out which ABI we are using.
7436 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7437 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7438 (eval $ac_compile) 2>&5
7440 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7441 test $ac_status = 0; }; then
7442 if test "$lt_cv_prog_gnu_ld" = yes; then
7443 case `/usr/bin/file conftest.$ac_objext` in
7445 LD="${LD-ld} -melf32bsmip"
7448 LD="${LD-ld} -melf32bmipn32"
7451 LD="${LD-ld} -melf64bmip"
7455 case `/usr/bin/file conftest.$ac_objext` in
7471 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7472 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7473 # Find out which ABI we are using.
7474 echo 'int i;' > conftest.$ac_ext
7475 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7476 (eval $ac_compile) 2>&5
7478 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7479 test $ac_status = 0; }; then
7480 case `/usr/bin/file conftest.o` in
7483 x86_64-*kfreebsd*-gnu)
7484 LD="${LD-ld} -m elf_i386_fbsd
"
7487 case `/usr/bin/file conftest.o` in
7489 LD="${LD-ld} -m elf32_x86_64
"
7492 LD="${LD-ld} -m elf_i386
"
7496 powerpc64le-*linux*)
7497 LD="${LD-ld} -m elf32lppclinux
"
7500 LD="${LD-ld} -m elf32ppclinux
"
7503 LD="${LD-ld} -m elf_s390
"
7506 LD="${LD-ld} -m elf32_sparc
"
7512 x86_64-*kfreebsd*-gnu)
7513 LD="${LD-ld} -m elf_x86_64_fbsd
"
7516 LD="${LD-ld} -m elf_x86_64
"
7519 LD="${LD-ld} -m elf64lppc
"
7522 LD="${LD-ld} -m elf64ppc
"
7524 s390*-*linux*|s390*-*tpf*)
7525 LD="${LD-ld} -m elf64_s390
"
7528 LD="${LD-ld} -m elf64_sparc
"
7538 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7539 SAVE_CFLAGS="$CFLAGS"
7540 CFLAGS="$CFLAGS -belf"
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7542 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7543 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7544 $as_echo_n "(cached
) " >&6
7547 ac_cpp='$CPP $CPPFLAGS'
7548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7553 /* end confdefs.h. */
7563 if ac_fn_c_try_link "$LINENO"; then :
7564 lt_cv_cc_needs_belf=yes
7566 lt_cv_cc_needs_belf=no
7568 rm -f core conftest.err conftest.$ac_objext \
7569 conftest$ac_exeext conftest.$ac_ext
7571 ac_cpp='$CPP $CPPFLAGS'
7572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7578 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7579 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7580 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7581 CFLAGS="$SAVE_CFLAGS"
7585 # Find out which ABI we are using.
7586 echo 'int i;' > conftest.$ac_ext
7587 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7588 (eval $ac_compile) 2>&5
7590 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7591 test $ac_status = 0; }; then
7592 case `/usr/bin/file conftest.o` in
7594 case $lt_cv_prog_gnu_ld in
7595 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7597 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7609 need_locks="$enable_libtool_lock"
7613 rhapsody* | darwin*)
7614 if test -n "$ac_tool_prefix"; then
7615 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7616 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7618 $as_echo_n "checking
for $ac_word...
" >&6; }
7619 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7620 $as_echo_n "(cached
) " >&6
7622 if test -n "$DSYMUTIL"; then
7623 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7629 test -z "$as_dir" && as_dir=.
7630 for ac_exec_ext in '' $ac_executable_extensions; do
7631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7632 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7633 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7642 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7643 if test -n "$DSYMUTIL"; then
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7645 $as_echo "$DSYMUTIL" >&6; }
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7648 $as_echo "no
" >&6; }
7653 if test -z "$ac_cv_prog_DSYMUTIL"; then
7654 ac_ct_DSYMUTIL=$DSYMUTIL
7655 # Extract the first word of "dsymutil
", so it can be a program name with args.
7656 set dummy dsymutil; ac_word=$2
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7658 $as_echo_n "checking
for $ac_word...
" >&6; }
7659 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7660 $as_echo_n "(cached
) " >&6
7662 if test -n "$ac_ct_DSYMUTIL"; then
7663 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7669 test -z "$as_dir" && as_dir=.
7670 for ac_exec_ext in '' $ac_executable_extensions; do
7671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7672 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7673 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7682 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7683 if test -n "$ac_ct_DSYMUTIL"; then
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7685 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7688 $as_echo "no
" >&6; }
7691 if test "x
$ac_ct_DSYMUTIL" = x; then
7694 case $cross_compiling:$ac_tool_warned in
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7697 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7698 ac_tool_warned=yes ;;
7700 DSYMUTIL=$ac_ct_DSYMUTIL
7703 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7706 if test -n "$ac_tool_prefix"; then
7707 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7708 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7710 $as_echo_n "checking
for $ac_word...
" >&6; }
7711 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7712 $as_echo_n "(cached
) " >&6
7714 if test -n "$NMEDIT"; then
7715 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7721 test -z "$as_dir" && as_dir=.
7722 for ac_exec_ext in '' $ac_executable_extensions; do
7723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7724 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7725 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7734 NMEDIT=$ac_cv_prog_NMEDIT
7735 if test -n "$NMEDIT"; then
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7737 $as_echo "$NMEDIT" >&6; }
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7740 $as_echo "no
" >&6; }
7745 if test -z "$ac_cv_prog_NMEDIT"; then
7746 ac_ct_NMEDIT=$NMEDIT
7747 # Extract the first word of "nmedit
", so it can be a program name with args.
7748 set dummy nmedit; ac_word=$2
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7750 $as_echo_n "checking
for $ac_word...
" >&6; }
7751 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7752 $as_echo_n "(cached
) " >&6
7754 if test -n "$ac_ct_NMEDIT"; then
7755 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7761 test -z "$as_dir" && as_dir=.
7762 for ac_exec_ext in '' $ac_executable_extensions; do
7763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7764 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7765 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7774 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7775 if test -n "$ac_ct_NMEDIT"; then
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7777 $as_echo "$ac_ct_NMEDIT" >&6; }
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7780 $as_echo "no
" >&6; }
7783 if test "x
$ac_ct_NMEDIT" = x; then
7786 case $cross_compiling:$ac_tool_warned in
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7789 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7790 ac_tool_warned=yes ;;
7792 NMEDIT=$ac_ct_NMEDIT
7795 NMEDIT="$ac_cv_prog_NMEDIT"
7798 if test -n "$ac_tool_prefix"; then
7799 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7800 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7802 $as_echo_n "checking
for $ac_word...
" >&6; }
7803 if test "${ac_cv_prog_LIPO+set}" = set; then :
7804 $as_echo_n "(cached
) " >&6
7806 if test -n "$LIPO"; then
7807 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7813 test -z "$as_dir" && as_dir=.
7814 for ac_exec_ext in '' $ac_executable_extensions; do
7815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7816 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7817 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7826 LIPO=$ac_cv_prog_LIPO
7827 if test -n "$LIPO"; then
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7829 $as_echo "$LIPO" >&6; }
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7832 $as_echo "no
" >&6; }
7837 if test -z "$ac_cv_prog_LIPO"; then
7839 # Extract the first word of "lipo
", so it can be a program name with args.
7840 set dummy lipo; ac_word=$2
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7842 $as_echo_n "checking
for $ac_word...
" >&6; }
7843 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7844 $as_echo_n "(cached
) " >&6
7846 if test -n "$ac_ct_LIPO"; then
7847 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7853 test -z "$as_dir" && as_dir=.
7854 for ac_exec_ext in '' $ac_executable_extensions; do
7855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7856 ac_cv_prog_ac_ct_LIPO="lipo
"
7857 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7866 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7867 if test -n "$ac_ct_LIPO"; then
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7869 $as_echo "$ac_ct_LIPO" >&6; }
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7872 $as_echo "no
" >&6; }
7875 if test "x
$ac_ct_LIPO" = x; then
7878 case $cross_compiling:$ac_tool_warned in
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7881 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7882 ac_tool_warned=yes ;;
7887 LIPO="$ac_cv_prog_LIPO"
7890 if test -n "$ac_tool_prefix"; then
7891 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7892 set dummy ${ac_tool_prefix}otool; ac_word=$2
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7894 $as_echo_n "checking
for $ac_word...
" >&6; }
7895 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7896 $as_echo_n "(cached
) " >&6
7898 if test -n "$OTOOL"; then
7899 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7905 test -z "$as_dir" && as_dir=.
7906 for ac_exec_ext in '' $ac_executable_extensions; do
7907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7908 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7909 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7918 OTOOL=$ac_cv_prog_OTOOL
7919 if test -n "$OTOOL"; then
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7921 $as_echo "$OTOOL" >&6; }
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7924 $as_echo "no
" >&6; }
7929 if test -z "$ac_cv_prog_OTOOL"; then
7931 # Extract the first word of "otool
", so it can be a program name with args.
7932 set dummy otool; ac_word=$2
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7934 $as_echo_n "checking
for $ac_word...
" >&6; }
7935 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7936 $as_echo_n "(cached
) " >&6
7938 if test -n "$ac_ct_OTOOL"; then
7939 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7945 test -z "$as_dir" && as_dir=.
7946 for ac_exec_ext in '' $ac_executable_extensions; do
7947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7948 ac_cv_prog_ac_ct_OTOOL="otool
"
7949 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7958 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7959 if test -n "$ac_ct_OTOOL"; then
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7961 $as_echo "$ac_ct_OTOOL" >&6; }
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7964 $as_echo "no
" >&6; }
7967 if test "x
$ac_ct_OTOOL" = x; then
7970 case $cross_compiling:$ac_tool_warned in
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7973 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7974 ac_tool_warned=yes ;;
7979 OTOOL="$ac_cv_prog_OTOOL"
7982 if test -n "$ac_tool_prefix"; then
7983 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7984 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7986 $as_echo_n "checking
for $ac_word...
" >&6; }
7987 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7988 $as_echo_n "(cached
) " >&6
7990 if test -n "$OTOOL64"; then
7991 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7997 test -z "$as_dir" && as_dir=.
7998 for ac_exec_ext in '' $ac_executable_extensions; do
7999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8000 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8001 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8010 OTOOL64=$ac_cv_prog_OTOOL64
8011 if test -n "$OTOOL64"; then
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8013 $as_echo "$OTOOL64" >&6; }
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8016 $as_echo "no
" >&6; }
8021 if test -z "$ac_cv_prog_OTOOL64"; then
8022 ac_ct_OTOOL64=$OTOOL64
8023 # Extract the first word of "otool64
", so it can be a program name with args.
8024 set dummy otool64; ac_word=$2
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8026 $as_echo_n "checking
for $ac_word...
" >&6; }
8027 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8028 $as_echo_n "(cached
) " >&6
8030 if test -n "$ac_ct_OTOOL64"; then
8031 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8037 test -z "$as_dir" && as_dir=.
8038 for ac_exec_ext in '' $ac_executable_extensions; do
8039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8040 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8041 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8050 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8051 if test -n "$ac_ct_OTOOL64"; then
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8053 $as_echo "$ac_ct_OTOOL64" >&6; }
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8056 $as_echo "no
" >&6; }
8059 if test "x
$ac_ct_OTOOL64" = x; then
8062 case $cross_compiling:$ac_tool_warned in
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8065 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8066 ac_tool_warned=yes ;;
8068 OTOOL64=$ac_ct_OTOOL64
8071 OTOOL64="$ac_cv_prog_OTOOL64"
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8101 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8102 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8103 $as_echo_n "(cached
) " >&6
8105 lt_cv_apple_cc_single_mod=no
8106 if test -z "${LT_MULTI_MODULE}"; then
8107 # By default we will add the -single_module flag. You can override
8108 # by either setting the environment variable LT_MULTI_MODULE
8109 # non-empty at configure time, or by adding -multi_module to the
8111 rm -rf libconftest.dylib*
8112 echo "int foo
(void
){return 1;}" > conftest.c
8113 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8114 -dynamiclib -Wl,-single_module conftest.c
" >&5
8115 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8116 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8118 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8119 lt_cv_apple_cc_single_mod=yes
8121 cat conftest.err >&5
8123 rm -rf libconftest.dylib*
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8128 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8130 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8131 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8132 $as_echo_n "(cached
) " >&6
8134 lt_cv_ld_exported_symbols_list=no
8135 save_LDFLAGS=$LDFLAGS
8136 echo "_main
" > conftest.sym
8137 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8139 /* end confdefs.h. */
8149 if ac_fn_c_try_link "$LINENO"; then :
8150 lt_cv_ld_exported_symbols_list=yes
8152 lt_cv_ld_exported_symbols_list=no
8154 rm -f core conftest.err conftest.$ac_objext \
8155 conftest$ac_exeext conftest.$ac_ext
8156 LDFLAGS="$save_LDFLAGS"
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8160 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8162 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8163 if test "${lt_cv_ld_force_load+set}" = set; then :
8164 $as_echo_n "(cached
) " >&6
8166 lt_cv_ld_force_load=no
8167 cat > conftest.c << _LT_EOF
8168 int forced_loaded() { return 2;}
8170 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8171 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8172 echo "$AR cru libconftest.a conftest.o
" >&5
8173 $AR cru libconftest.a conftest.o 2>&5
8174 cat > conftest.c << _LT_EOF
8175 int main() { return 0;}
8177 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8178 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8180 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8181 lt_cv_ld_force_load=yes
8183 cat conftest.err >&5
8185 rm -f conftest.err libconftest.a conftest conftest.c
8186 rm -rf conftest.dSYM
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8190 $as_echo "$lt_cv_ld_force_load" >&6; }
8192 rhapsody* | darwin1.[012])
8193 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8195 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8196 darwin*) # darwin 5.x on
8197 # if running on 10.5 or later, the deployment target defaults
8198 # to the OS version, if on x86, and 10.4, the deployment
8199 # target defaults to 10.4. Don't you love it?
8200 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8201 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8202 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8204 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8206 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8210 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8211 _lt_dar_single_mod='$single_module'
8213 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8214 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8216 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8218 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8219 _lt_dsymutil='~$DSYMUTIL $lib || :'
8226 for ac_header in dlfcn.h
8228 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8230 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
8231 cat >>confdefs.h <<_ACEOF
8232 #define HAVE_DLFCN_H 1
8254 # Check whether --enable-shared was given.
8255 if test "${enable_shared+set}" = set; then :
8256 enableval=$enable_shared; p=${PACKAGE-default}
8258 yes) enable_shared=yes ;;
8259 no) enable_shared=no ;;
8262 # Look at the argument we got. We use all the common list separators.
8263 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8264 for pkg in $enableval; do
8266 if test "X
$pkg" = "X
$p"; then
8285 # Check whether --enable-static was given.
8286 if test "${enable_static+set}" = set; then :
8287 enableval=$enable_static; p=${PACKAGE-default}
8289 yes) enable_static=yes ;;
8290 no) enable_static=no ;;
8293 # Look at the argument we got. We use all the common list separators.
8294 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8295 for pkg in $enableval; do
8297 if test "X
$pkg" = "X
$p"; then
8317 # Check whether --with-pic was given.
8318 if test "${with_pic+set}" = set; then :
8319 withval=$with_pic; pic_mode="$withval"
8325 test -z "$pic_mode" && pic_mode=default
8333 # Check whether --enable-fast-install was given.
8334 if test "${enable_fast_install+set}" = set; then :
8335 enableval=$enable_fast_install; p=${PACKAGE-default}
8337 yes) enable_fast_install=yes ;;
8338 no) enable_fast_install=no ;;
8340 enable_fast_install=no
8341 # Look at the argument we got. We use all the common list separators.
8342 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8343 for pkg in $enableval; do
8345 if test "X
$pkg" = "X
$p"; then
8346 enable_fast_install=yes
8353 enable_fast_install=yes
8366 # This can be used to rebuild libtool when needed
8367 LIBTOOL_DEPS="$ltmain"
8369 # Always use our own libtool.
8370 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8397 test -z "$LN_S" && LN_S="ln -s"
8412 if test -n "${ZSH_VERSION+set}" ; then
8413 setopt NO_GLOB_SUBST
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8417 $as_echo_n "checking
for objdir...
" >&6; }
8418 if test "${lt_cv_objdir+set}" = set; then :
8419 $as_echo_n "(cached
) " >&6
8421 rm -f .libs 2>/dev/null
8422 mkdir .libs 2>/dev/null
8423 if test -d .libs; then
8426 # MS-DOS does not allow filenames that begin with a dot.
8429 rmdir .libs 2>/dev/null
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8432 $as_echo "$lt_cv_objdir" >&6; }
8433 objdir=$lt_cv_objdir
8439 cat >>confdefs.h <<_ACEOF
8440 #define LT_OBJDIR "$lt_cv_objdir/"
8448 # AIX sometimes has problems with the GCC collect2 program. For some
8449 # reason, if we set the COLLECT_NAMES environment variable, the problems
8450 # vanish in a puff of smoke.
8451 if test "X
${COLLECT_NAMES+set}" != Xset; then
8453 export COLLECT_NAMES
8460 can_build_shared=yes
8462 # All known linkers require a `.a' archive for static linking (except MSVC,
8463 # which needs '.lib').
8466 with_gnu_ld="$lt_cv_prog_gnu_ld"
8469 old_CFLAGS="$CFLAGS"
8471 # Set sane defaults for various variables
8472 test -z "$CC" && CC=cc
8473 test -z "$LTCC" && LTCC=$CC
8474 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8475 test -z "$LD" && LD=ld
8476 test -z "$ac_objext" && ac_objext=o
8478 for cc_temp in $compiler""; do
8480 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8481 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8486 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
8489 # Only perform the check for file, if the check method requires it
8490 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8491 case $deplibs_check_method in
8493 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
8495 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
8496 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8497 $as_echo_n "(cached
) " >&6
8501 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8504 lt_save_MAGIC_CMD="$MAGIC_CMD"
8505 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8506 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8507 for ac_dir in $ac_dummy; do
8509 test -z "$ac_dir" && ac_dir=.
8510 if test -f $ac_dir/${ac_tool_prefix}file; then
8511 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8512 if test -n "$file_magic_test_file"; then
8513 case $deplibs_check_method in
8515 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8516 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8517 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8518 $EGREP "$file_magic_regex" > /dev/null; then
8523 *** Warning: the command libtool uses to detect shared libraries,
8524 *** $file_magic_cmd, produces output that libtool cannot recognize.
8525 *** The result is that libtool may fail to recognize shared libraries
8526 *** as such. This will affect the creation of libtool libraries that
8527 *** depend on shared libraries, but programs linked with such libtool
8528 *** libraries will work regardless of this problem. Nevertheless, you
8529 *** may want to report the problem to your system manager and/or to
8530 *** bug-libtool@gnu.org
8540 MAGIC_CMD="$lt_save_MAGIC_CMD"
8545 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8546 if test -n "$MAGIC_CMD"; then
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8548 $as_echo "$MAGIC_CMD" >&6; }
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8551 $as_echo "no
" >&6; }
8558 if test -z "$lt_cv_path_MAGIC_CMD"; then
8559 if test -n "$ac_tool_prefix"; then
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8561 $as_echo_n "checking
for file...
" >&6; }
8562 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8563 $as_echo_n "(cached
) " >&6
8567 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8570 lt_save_MAGIC_CMD="$MAGIC_CMD"
8571 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8572 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8573 for ac_dir in $ac_dummy; do
8575 test -z "$ac_dir" && ac_dir=.
8576 if test -f $ac_dir/file; then
8577 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8578 if test -n "$file_magic_test_file"; then
8579 case $deplibs_check_method in
8581 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8582 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8583 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8584 $EGREP "$file_magic_regex" > /dev/null; then
8589 *** Warning: the command libtool uses to detect shared libraries,
8590 *** $file_magic_cmd, produces output that libtool cannot recognize.
8591 *** The result is that libtool may fail to recognize shared libraries
8592 *** as such. This will affect the creation of libtool libraries that
8593 *** depend on shared libraries, but programs linked with such libtool
8594 *** libraries will work regardless of this problem. Nevertheless, you
8595 *** may want to report the problem to your system manager and/or to
8596 *** bug-libtool@gnu.org
8606 MAGIC_CMD="$lt_save_MAGIC_CMD"
8611 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8612 if test -n "$MAGIC_CMD"; then
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8614 $as_echo "$MAGIC_CMD" >&6; }
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8617 $as_echo "no
" >&6; }
8630 # Use C for the default configuration in the libtool script
8634 ac_cpp='$CPP $CPPFLAGS'
8635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8640 # Source file extension for C test sources.
8643 # Object file extension for compiled C test sources.
8647 # Code to be used in simple compile tests
8648 lt_simple_compile_test_code="int some_variable
= 0;"
8650 # Code to be used in simple link tests
8651 lt_simple_link_test_code='int main(){return(0);}'
8659 # If no C compiler was specified, use CC.
8662 # If no C compiler flags were specified, use CFLAGS.
8663 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8665 # Allow CC to be a program name with arguments.
8668 # Save the default compiler, since it gets overwritten when the other
8669 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8670 compiler_DEFAULT=$CC
8672 # save warnings/boilerplate of simple test code
8673 ac_outfile=conftest.$ac_objext
8674 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8675 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8676 _lt_compiler_boilerplate=`cat conftest.err`
8679 ac_outfile=conftest.$ac_objext
8680 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8681 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8682 _lt_linker_boilerplate=`cat conftest.err`
8687 ## There is no encapsulation within the following macros, do not change
8688 ## the running order or otherwise move them around unless you know exactly
8689 ## what you are doing...
8690 if test -n "$compiler"; then
8692 lt_prog_compiler_no_builtin_flag=
8694 if test "$GCC" = yes; then
8695 case $cc_basename in
8697 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8699 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8703 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8704 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8705 $as_echo_n "(cached
) " >&6
8707 lt_cv_prog_compiler_rtti_exceptions=no
8708 ac_outfile=conftest.$ac_objext
8709 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8710 lt_compiler_flag="-fno-rtti -fno-exceptions"
8711 # Insert the option either (1) after the last *FLAGS variable, or
8712 # (2) before a word containing "conftest.
", or (3) at the end.
8713 # Note that $ac_compile itself does not contain backslashes and begins
8714 # with a dollar sign (not a hyphen), so the echo should work correctly.
8715 # The option is referenced via a variable to avoid confusing sed.
8716 lt_compile=`echo "$ac_compile" | $SED \
8717 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8718 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8719 -e 's:$: $lt_compiler_flag:'`
8720 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8721 (eval "$lt_compile" 2>conftest.err)
8723 cat conftest.err >&5
8724 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8725 if (exit $ac_status) && test -s "$ac_outfile"; then
8726 # The compiler can only warn and ignore the option if not recognized
8727 # So say no if there are warnings other than the usual output.
8728 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8729 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8730 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8731 lt_cv_prog_compiler_rtti_exceptions=yes
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8738 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8740 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8741 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8753 lt_prog_compiler_wl=
8754 lt_prog_compiler_pic=
8755 lt_prog_compiler_static=
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8758 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8760 if test "$GCC" = yes; then
8761 lt_prog_compiler_wl='-Wl,'
8762 lt_prog_compiler_static='-static'
8766 # All AIX code is PIC.
8767 if test "$host_cpu" = ia64; then
8768 # AIX 5 now supports IA64 processor
8769 lt_prog_compiler_static='-Bstatic'
8771 lt_prog_compiler_pic='-fPIC'
8777 # see comment about AmigaOS4 .so support
8778 lt_prog_compiler_pic='-fPIC'
8781 # FIXME: we need at least 68020 code to build shared libraries, but
8782 # adding the `-m68020' flag to GCC prevents building anything better,
8784 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8789 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8790 # PIC is the default for these OSes.
8793 mingw* | cygwin* | pw32* | os2* | cegcc*)
8794 # This hack is so that the source file can tell whether it is being
8795 # built for inclusion in a dll (and should export symbols for example).
8796 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8797 # (--disable-auto-import) libraries
8798 lt_prog_compiler_pic='-DDLL_EXPORT'
8801 darwin* | rhapsody*)
8802 # PIC is the default on this platform
8803 # Common symbols not allowed in MH_DYLIB files
8804 lt_prog_compiler_pic='-fno-common'
8808 # PIC is the default for Haiku.
8809 # The "-static" flag exists, but is broken.
8810 lt_prog_compiler_static=
8814 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8815 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8816 # sets the default TLS model and affects inlining.
8822 lt_prog_compiler_pic='-fPIC'
8828 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8829 # Instead, we relocate shared libraries at runtime.
8833 # Just because we use GCC doesn't mean we suddenly get shared libraries
8834 # on systems that don't support them.
8835 lt_prog_compiler_can_build_shared=no
8840 # QNX uses GNU C++, but need to define -shared option too, otherwise
8842 lt_prog_compiler_pic='-fPIC -shared'
8846 if test -d /usr/nec; then
8847 lt_prog_compiler_pic=-Kconform_pic
8852 lt_prog_compiler_pic='-fPIC'
8856 case $cc_basename in
8857 nvcc*) # Cuda Compiler Driver 2.2
8858 lt_prog_compiler_wl='-Xlinker '
8859 lt_prog_compiler_pic='-Xcompiler -fPIC'
8863 # PORTME Check for flag to pass linker flags through the system compiler.
8866 lt_prog_compiler_wl='-Wl,'
8867 if test "$host_cpu" = ia64; then
8868 # AIX 5 now supports IA64 processor
8869 lt_prog_compiler_static='-Bstatic'
8871 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8875 mingw* | cygwin* | pw32* | os2* | cegcc*)
8876 # This hack is so that the source file can tell whether it is being
8877 # built for inclusion in a dll (and should export symbols for example).
8878 lt_prog_compiler_pic='-DDLL_EXPORT'
8881 hpux9* | hpux10* | hpux11*)
8882 lt_prog_compiler_wl='-Wl,'
8883 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8890 lt_prog_compiler_pic='+Z'
8893 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8894 lt_prog_compiler_static='${wl}-a ${wl}archive'
8897 irix5* | irix6* | nonstopux*)
8898 lt_prog_compiler_wl='-Wl,'
8899 # PIC (with -KPIC) is the default.
8900 lt_prog_compiler_static='-non_shared'
8903 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8904 case $cc_basename in
8905 # old Intel for x86_64 which still supported -KPIC.
8907 lt_prog_compiler_wl='-Wl,'
8908 lt_prog_compiler_pic='-KPIC'
8909 lt_prog_compiler_static='-static'
8911 # icc used to be incompatible with GCC.
8912 # ICC 10 doesn't accept -KPIC any more.
8914 lt_prog_compiler_wl='-Wl,'
8915 lt_prog_compiler_pic='-fPIC'
8916 lt_prog_compiler_static='-static'
8918 # Lahey Fortran 8.1.
8920 lt_prog_compiler_wl='-Wl,'
8921 lt_prog_compiler_pic='--shared'
8922 lt_prog_compiler_static='--static'
8924 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8925 # Portland Group compilers (*not* the Pentium gcc compiler,
8926 # which looks to be a dead project)
8927 lt_prog_compiler_wl='-Wl,'
8928 lt_prog_compiler_pic='-fpic'
8929 lt_prog_compiler_static='-Bstatic'
8932 lt_prog_compiler_wl='-Wl,'
8933 # All Alpha code is PIC.
8934 lt_prog_compiler_static='-non_shared'
8936 xl* | bgxl* | bgf* | mpixl*)
8937 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8938 lt_prog_compiler_wl='-Wl,'
8939 lt_prog_compiler_pic='-qpic'
8940 lt_prog_compiler_static='-qstaticlink'
8943 case `$CC -V 2>&1 | sed 5q` in
8944 *Sun\ F* | *Sun*Fortran*)
8945 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8946 lt_prog_compiler_pic='-KPIC'
8947 lt_prog_compiler_static='-Bstatic'
8948 lt_prog_compiler_wl=''
8952 lt_prog_compiler_pic='-KPIC'
8953 lt_prog_compiler_static='-Bstatic'
8954 lt_prog_compiler_wl='-Wl,'
8962 lt_prog_compiler_pic='-KPIC'
8963 lt_prog_compiler_static='-Bstatic'
8967 # QNX uses GNU C++, but need to define -shared option too, otherwise
8969 lt_prog_compiler_pic='-fPIC -shared'
8972 osf3* | osf4* | osf5*)
8973 lt_prog_compiler_wl='-Wl,'
8974 # All OSF/1 code is PIC.
8975 lt_prog_compiler_static='-non_shared'
8979 lt_prog_compiler_static='-non_shared'
8983 lt_prog_compiler_pic='-KPIC'
8984 lt_prog_compiler_static='-Bstatic'
8985 case $cc_basename in
8987 lt_prog_compiler_wl='-Qoption ld ';;
8989 lt_prog_compiler_wl='-Wl,';;
8994 lt_prog_compiler_wl='-Qoption ld '
8995 lt_prog_compiler_pic='-PIC'
8996 lt_prog_compiler_static='-Bstatic'
8999 sysv4 | sysv4.2uw2* | sysv4.3*)
9000 lt_prog_compiler_wl='-Wl,'
9001 lt_prog_compiler_pic='-KPIC'
9002 lt_prog_compiler_static='-Bstatic'
9006 if test -d /usr/nec ;then
9007 lt_prog_compiler_pic='-Kconform_pic'
9008 lt_prog_compiler_static='-Bstatic'
9012 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9013 lt_prog_compiler_wl='-Wl,'
9014 lt_prog_compiler_pic='-KPIC'
9015 lt_prog_compiler_static='-Bstatic'
9019 lt_prog_compiler_wl='-Wl,'
9020 lt_prog_compiler_can_build_shared=no
9024 lt_prog_compiler_pic='-pic'
9025 lt_prog_compiler_static='-Bstatic'
9029 lt_prog_compiler_can_build_shared=no
9035 # For platforms which do not support PIC, -DPIC is meaningless:
9037 lt_prog_compiler_pic=
9040 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
9044 $as_echo "$lt_prog_compiler_pic" >&6; }
9052 # Check to make sure the PIC flag actually works.
9054 if test -n "$lt_prog_compiler_pic"; then
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
9056 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
9057 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9058 $as_echo_n "(cached
) " >&6
9060 lt_cv_prog_compiler_pic_works=no
9061 ac_outfile=conftest.$ac_objext
9062 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9063 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9064 # Insert the option either (1) after the last *FLAGS variable, or
9065 # (2) before a word containing "conftest.
", or (3) at the end.
9066 # Note that $ac_compile itself does not contain backslashes and begins
9067 # with a dollar sign (not a hyphen), so the echo should work correctly.
9068 # The option is referenced via a variable to avoid confusing sed.
9069 lt_compile=`echo "$ac_compile" | $SED \
9070 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9071 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9072 -e 's:$: $lt_compiler_flag:'`
9073 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9074 (eval "$lt_compile" 2>conftest.err)
9076 cat conftest.err >&5
9077 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9078 if (exit $ac_status) && test -s "$ac_outfile"; then
9079 # The compiler can only warn and ignore the option if not recognized
9080 # So say no if there are warnings other than the usual output.
9081 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9082 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9083 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9084 lt_cv_prog_compiler_pic_works=yes
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9091 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9093 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9094 case $lt_prog_compiler_pic in
9096 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9099 lt_prog_compiler_pic=
9100 lt_prog_compiler_can_build_shared=no
9111 # Check to make sure the static flag actually works.
9113 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9115 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9116 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9117 $as_echo_n "(cached
) " >&6
9119 lt_cv_prog_compiler_static_works=no
9120 save_LDFLAGS="$LDFLAGS"
9121 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9122 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9123 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9124 # The linker can only warn and ignore the option if not recognized
9125 # So say no if there are warnings
9126 if test -s conftest.err; then
9127 # Append any errors to the config.log.
9128 cat conftest.err 1>&5
9129 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9130 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9131 if diff conftest.exp conftest.er2 >/dev/null; then
9132 lt_cv_prog_compiler_static_works=yes
9135 lt_cv_prog_compiler_static_works=yes
9139 LDFLAGS="$save_LDFLAGS"
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9143 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9145 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9148 lt_prog_compiler_static=
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9158 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9159 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9160 $as_echo_n "(cached
) " >&6
9162 lt_cv_prog_compiler_c_o=no
9163 $RM -r conftest 2>/dev/null
9167 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9169 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9170 # Insert the option either (1) after the last *FLAGS variable, or
9171 # (2) before a word containing "conftest.
", or (3) at the end.
9172 # Note that $ac_compile itself does not contain backslashes and begins
9173 # with a dollar sign (not a hyphen), so the echo should work correctly.
9174 lt_compile=`echo "$ac_compile" | $SED \
9175 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9176 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9177 -e 's:$: $lt_compiler_flag:'`
9178 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9179 (eval "$lt_compile" 2>out/conftest.err)
9181 cat out/conftest.err >&5
9182 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9183 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9185 # The compiler can only warn and ignore the option if not recognized
9186 # So say no if there are warnings
9187 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9188 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9189 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9190 lt_cv_prog_compiler_c_o=yes
9195 # SGI C++ compiler will create directory out/ii_files/ for
9196 # template instantiation
9197 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9198 $RM out/* && rmdir out
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9205 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9213 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9214 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9215 $as_echo_n "(cached
) " >&6
9217 lt_cv_prog_compiler_c_o=no
9218 $RM -r conftest 2>/dev/null
9222 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9224 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9225 # Insert the option either (1) after the last *FLAGS variable, or
9226 # (2) before a word containing "conftest.
", or (3) at the end.
9227 # Note that $ac_compile itself does not contain backslashes and begins
9228 # with a dollar sign (not a hyphen), so the echo should work correctly.
9229 lt_compile=`echo "$ac_compile" | $SED \
9230 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9231 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9232 -e 's:$: $lt_compiler_flag:'`
9233 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9234 (eval "$lt_compile" 2>out/conftest.err)
9236 cat out/conftest.err >&5
9237 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9238 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9240 # The compiler can only warn and ignore the option if not recognized
9241 # So say no if there are warnings
9242 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9243 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9244 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9245 lt_cv_prog_compiler_c_o=yes
9250 # SGI C++ compiler will create directory out/ii_files/ for
9251 # template instantiation
9252 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9253 $RM out/* && rmdir out
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9260 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9265 hard_links="nottested
"
9266 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9267 # do not overwrite the value of need_locks provided by the user
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9269 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9272 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9274 ln conftest.a conftest.b 2>&5 || hard_links=no
9275 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9277 $as_echo "$hard_links" >&6; }
9278 if test "$hard_links" = no; then
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
9280 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9293 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9296 allow_undefined_flag=
9297 always_export_symbols=no
9299 archive_expsym_cmds=
9300 compiler_needs_object=no
9301 enable_shared_with_static_runtimes=no
9302 export_dynamic_flag_spec=
9303 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9304 hardcode_automatic=no
9306 hardcode_direct_absolute=no
9307 hardcode_libdir_flag_spec=
9308 hardcode_libdir_flag_spec_ld=
9309 hardcode_libdir_separator=
9311 hardcode_shlibpath_var=unsupported
9313 link_all_deplibs=unknown
9316 old_archive_from_new_cmds=
9317 old_archive_from_expsyms_cmds=
9318 thread_safe_flag_spec=
9319 whole_archive_flag_spec=
9320 # include_expsyms should be a list of space-separated symbols to be *always*
9321 # included in the symbol list
9323 # exclude_expsyms can be an extended regexp of symbols to exclude
9324 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9325 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9326 # as well as any symbol that contains `d'.
9327 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9328 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9329 # platforms (ab)use it in PIC code, but their linkers get confused if
9330 # the symbol is explicitly referenced. Since portable code cannot
9331 # rely on this symbol name, it's probably fine to never include it in
9332 # preloaded symbol tables.
9333 # Exclude shared library initialization/finalization symbols.
9334 extract_expsyms_cmds=
9337 cygwin* | mingw* | pw32* | cegcc*)
9338 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9339 # When not using gcc, we currently assume that we are using
9340 # Microsoft Visual C++.
9341 if test "$GCC" != yes; then
9346 # we just hope/assume this is gcc and not c89 (= MSVC++)
9356 # On some targets, GNU ld is compatible enough with the native linker
9357 # that we're better off using the native interface for both.
9358 lt_use_gnu_ld_interface=no
9359 if test "$with_gnu_ld" = yes; then
9362 # The AIX port of GNU ld has always aspired to compatibility
9363 # with the native linker. However, as the warning in the GNU ld
9364 # block says, versions before 2.19.5* couldn't really create working
9365 # shared libraries, regardless of the interface used.
9366 case `$LD -v 2>&1` in
9367 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9368 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9369 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9371 lt_use_gnu_ld_interface=yes
9376 lt_use_gnu_ld_interface=yes
9381 if test "$lt_use_gnu_ld_interface" = yes; then
9382 # If archive_cmds runs LD, not CC, wlarc should be empty
9385 # Set some defaults for GNU ld with shared library support. These
9386 # are reset later if shared libraries are not supported. Putting them
9387 # here allows them to be overridden if necessary.
9388 runpath_var=LD_RUN_PATH
9389 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9390 export_dynamic_flag_spec='${wl}--export-dynamic'
9391 # ancient GNU ld didn't support --whole-archive et. al.
9392 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9393 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9395 whole_archive_flag_spec=
9397 supports_anon_versioning=no
9398 case `$LD -v 2>&1` in
9399 *GNU\ gold*) supports_anon_versioning=yes ;;
9400 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9401 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9402 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9403 *\ 2.11.*) ;; # other 2.11 versions
9404 *) supports_anon_versioning=yes ;;
9407 # See if GNU ld supports shared libraries.
9410 # On AIX/PPC, the GNU linker is very broken
9411 if test "$host_cpu" != ia64; then
9415 *** Warning: the GNU linker, at least up to release 2.19, is reported
9416 *** to be unable to reliably create shared libraries on AIX.
9417 *** Therefore, libtool is disabling shared libraries support. If you
9418 *** really care for shared libraries, you may want to install binutils
9419 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9420 *** You will then need to restart the configuration process.
9429 # see comment about AmigaOS4 .so support
9430 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9431 archive_expsym_cmds=''
9434 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)'
9435 hardcode_libdir_flag_spec
='-L$libdir'
9436 hardcode_minus_L
=yes
9442 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9443 allow_undefined_flag
=unsupported
9444 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9445 # support --undefined. This deserves some investigation. FIXME
9446 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9452 cygwin
* | mingw
* | pw32
* | cegcc
*)
9453 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9454 # as there is no search path for DLLs.
9455 hardcode_libdir_flag_spec
='-L$libdir'
9456 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9457 allow_undefined_flag
=unsupported
9458 always_export_symbols
=no
9459 enable_shared_with_static_runtimes
=yes
9460 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9462 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9463 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9464 # If the export-symbols file already is a .def file (1st line
9465 # is EXPORTS), use it as is; otherwise, prepend...
9466 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9467 cp $export_symbols $output_objdir/$soname.def;
9469 echo EXPORTS > $output_objdir/$soname.def;
9470 cat $export_symbols >> $output_objdir/$soname.def;
9472 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9479 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9480 link_all_deplibs
=yes
9485 hardcode_shlibpath_var
=no
9486 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9487 export_dynamic_flag_spec
='${wl}-E'
9488 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9489 # Instead, shared libraries are loaded at an image base (0x10000000 by
9490 # default) and relocated if they conflict, which is a slow very memory
9491 # consuming and fragmenting process. To avoid this, we pick a random,
9492 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9493 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9494 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9495 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'
9498 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9500 if test "$host_os" = linux-dietlibc
; then
9501 case $cc_basename in
9502 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9505 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9506 && test "$tmp_diet" = no
9508 tmp_addflag
=' $pic_flag'
9509 tmp_sharedflag
='-shared'
9510 case $cc_basename,$host_cpu in
9511 pgcc
*) # Portland Group C compiler
9512 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'
9513 tmp_addflag
=' $pic_flag'
9515 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9516 # Portland Group f77 and f90 compilers
9517 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'
9518 tmp_addflag
=' $pic_flag -Mnomain' ;;
9519 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9520 tmp_addflag
=' -i_dynamic' ;;
9521 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9522 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9523 ifc
* | ifort
*) # Intel Fortran compiler
9524 tmp_addflag
=' -nofor_main' ;;
9525 lf95
*) # Lahey Fortran 8.1
9526 whole_archive_flag_spec
=
9527 tmp_sharedflag
='--shared' ;;
9528 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9529 tmp_sharedflag
='-qmkshrobj'
9531 nvcc
*) # Cuda Compiler Driver 2.2
9532 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'
9533 compiler_needs_object
=yes
9536 case `$CC -V 2>&1 | sed 5q` in
9537 *Sun\ C
*) # Sun C 5.9
9538 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'
9539 compiler_needs_object
=yes
9540 tmp_sharedflag
='-G' ;;
9541 *Sun\ F
*) # Sun Fortran 8.3
9542 tmp_sharedflag
='-G' ;;
9544 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9546 if test "x$supports_anon_versioning" = xyes
; then
9547 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9548 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9549 echo "local: *; };" >> $output_objdir/$libname.ver~
9550 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9553 case $cc_basename in
9554 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9555 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9556 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9557 hardcode_libdir_flag_spec
=
9558 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9559 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9560 if test "x$supports_anon_versioning" = xyes
; then
9561 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9562 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9563 echo "local: *; };" >> $output_objdir/$libname.ver~
9564 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9574 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9575 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9578 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9579 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9584 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9588 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9589 *** create shared libraries on Solaris systems. Therefore, libtool
9590 *** is disabling shared libraries support. We urge you to upgrade GNU
9591 *** binutils to release 2.9.1 or newer. Another option is to modify
9592 *** your PATH or compiler configuration so that the native linker is
9593 *** used, and then restart.
9596 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9597 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9598 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9604 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9605 case `$LD -v 2>&1` in
9606 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9610 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9611 *** reliably create shared libraries on SCO systems. Therefore, libtool
9612 *** is disabling shared libraries support. We urge you to upgrade GNU
9613 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9614 *** your PATH or compiler configuration so that the native linker is
9615 *** used, and then restart.
9620 # For security reasons, it is highly recommended that you always
9621 # use absolute paths for naming shared libraries, and exclude the
9622 # DT_RUNPATH tag from executables and libraries. But doing so
9623 # requires that you compile everything twice, which is a pain.
9624 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9625 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9626 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9627 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9636 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9639 hardcode_shlibpath_var
=no
9643 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9644 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9645 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9652 if test "$ld_shlibs" = no
; then
9654 hardcode_libdir_flag_spec
=
9655 export_dynamic_flag_spec
=
9656 whole_archive_flag_spec
=
9659 # PORTME fill in a description of your system's linker (not GNU ld)
9662 allow_undefined_flag
=unsupported
9663 always_export_symbols
=yes
9664 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'
9665 # Note: this linker hardcodes the directories in LIBPATH if there
9666 # are no directories specified by -L.
9667 hardcode_minus_L
=yes
9668 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9669 # Neither direct hardcoding nor static linking is supported with a
9671 hardcode_direct
=unsupported
9676 if test "$host_cpu" = ia64
; then
9677 # On IA64, the linker does run time linking by default, so we don't
9678 # have to do anything special.
9679 aix_use_runtimelinking
=no
9680 exp_sym_flag
='-Bexport'
9683 # If we're using GNU nm, then we don't want the "-C" option.
9684 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9685 # Also, AIX nm treats weak defined symbols like other global
9686 # defined symbols, whereas GNU nm marks them as "W".
9687 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9688 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'
9690 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'
9692 aix_use_runtimelinking
=no
9694 # Test if we are trying to use run time linking or normal
9695 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9696 # need to do runtime linking.
9697 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9698 for ld_flag
in $LDFLAGS; do
9699 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9700 aix_use_runtimelinking
=yes
9707 exp_sym_flag
='-bexport'
9708 no_entry_flag
='-bnoentry'
9711 # When large executables or shared objects are built, AIX ld can
9712 # have problems creating the table of contents. If linking a library
9713 # or program results in "error TOC overflow" add -mminimal-toc to
9714 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9715 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9719 hardcode_direct_absolute
=yes
9720 hardcode_libdir_separator
=':'
9721 link_all_deplibs
=yes
9722 file_list_spec
='${wl}-f,'
9724 if test "$GCC" = yes; then
9725 case $host_os in aix4.
[012]|aix4.
[012].
*)
9726 # We only want to do this on AIX 4.2 and lower, the check
9727 # below for broken collect2 doesn't work under 4.3+
9728 collect2name
=`${CC} -print-prog-name=collect2`
9729 if test -f "$collect2name" &&
9730 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9732 # We have reworked collect2
9735 # We have old collect2
9736 hardcode_direct
=unsupported
9737 # It fails to find uninstalled libraries when the uninstalled
9738 # path is not listed in the libpath. Setting hardcode_minus_L
9739 # to unsupported forces relinking
9740 hardcode_minus_L
=yes
9741 hardcode_libdir_flag_spec
='-L$libdir'
9742 hardcode_libdir_separator
=
9746 shared_flag
='-shared'
9747 if test "$aix_use_runtimelinking" = yes; then
9748 shared_flag
="$shared_flag "'${wl}-G'
9752 if test "$host_cpu" = ia64
; then
9753 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9754 # chokes on -Wl,-G. The following line is correct:
9757 if test "$aix_use_runtimelinking" = yes; then
9758 shared_flag
='${wl}-G'
9760 shared_flag
='${wl}-bM:SRE'
9765 export_dynamic_flag_spec
='${wl}-bexpall'
9766 # It seems that -bexpall does not export symbols beginning with
9767 # underscore (_), so it is better to generate a list of symbols to export.
9768 always_export_symbols
=yes
9769 if test "$aix_use_runtimelinking" = yes; then
9770 # Warning - without using the other runtime loading flags (-brtl),
9771 # -berok will link without error, but may produce a broken library.
9772 allow_undefined_flag
='-berok'
9773 # Determine the default libpath from the value encoded in an
9775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9776 /* end confdefs.h. */
9786 if ac_fn_c_try_link
"$LINENO"; then :
9788 lt_aix_libpath_sed
='
9789 /Import File Strings/,/^$/ {
9795 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9796 # Check for a 64-bit object if we didn't find anything.
9797 if test -z "$aix_libpath"; then
9798 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9801 rm -f core conftest.err conftest.
$ac_objext \
9802 conftest
$ac_exeext conftest.
$ac_ext
9803 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9805 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9806 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"
9808 if test "$host_cpu" = ia64
; then
9809 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9810 allow_undefined_flag
="-z nodefs"
9811 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"
9813 # Determine the default libpath from the value encoded in an
9815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9816 /* end confdefs.h. */
9826 if ac_fn_c_try_link
"$LINENO"; then :
9828 lt_aix_libpath_sed
='
9829 /Import File Strings/,/^$/ {
9835 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9836 # Check for a 64-bit object if we didn't find anything.
9837 if test -z "$aix_libpath"; then
9838 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9841 rm -f core conftest.err conftest.
$ac_objext \
9842 conftest
$ac_exeext conftest.
$ac_ext
9843 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9845 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9846 # Warning - without using the other run time loading flags,
9847 # -berok will link without error, but may produce a broken library.
9848 no_undefined_flag
=' ${wl}-bernotok'
9849 allow_undefined_flag
=' ${wl}-berok'
9850 if test "$with_gnu_ld" = yes; then
9851 # We only use this code for GNU lds that support --whole-archive.
9852 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9854 # Exported symbols can be pulled into shared objects from archives
9855 whole_archive_flag_spec
='$convenience'
9857 archive_cmds_need_lc
=yes
9858 # This is similar to how AIX traditionally builds its shared libraries.
9859 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'
9867 # see comment about AmigaOS4 .so support
9868 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9869 archive_expsym_cmds
=''
9872 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)'
9873 hardcode_libdir_flag_spec
='-L$libdir'
9874 hardcode_minus_L
=yes
9880 export_dynamic_flag_spec
=-rdynamic
9883 cygwin
* | mingw
* | pw32
* | cegcc
*)
9884 # When not using gcc, we currently assume that we are using
9885 # Microsoft Visual C++.
9886 # hardcode_libdir_flag_spec is actually meaningless, as there is
9887 # no search path for DLLs.
9888 hardcode_libdir_flag_spec
=' '
9889 allow_undefined_flag
=unsupported
9890 # Tell ltmain to make .lib files, not .a files.
9892 # Tell ltmain to make .dll files, not .so files.
9894 # FIXME: Setting linknames here is a bad hack.
9895 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9896 # The linker will automatically build a .lib file if we build a DLL.
9897 old_archive_from_new_cmds
='true'
9898 # FIXME: Should let the user specify the lib program.
9899 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9900 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9901 enable_shared_with_static_runtimes
=yes
9904 darwin
* | rhapsody
*)
9907 archive_cmds_need_lc
=no
9909 hardcode_automatic
=yes
9910 hardcode_shlibpath_var
=unsupported
9911 if test "$lt_cv_ld_force_load" = "yes"; then
9912 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\"`'
9914 whole_archive_flag_spec
=''
9916 link_all_deplibs
=yes
9917 allow_undefined_flag
="$_lt_dar_allow_undefined"
9918 case $cc_basename in
9919 ifort
*) _lt_dar_can_shared
=yes ;;
9920 *) _lt_dar_can_shared
=$GCC ;;
9922 if test "$_lt_dar_can_shared" = "yes"; then
9923 output_verbose_link_cmd
=func_echo_all
9924 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9925 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9926 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}"
9927 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}"
9936 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9937 hardcode_libdir_flag_spec
='-L$libdir'
9938 hardcode_shlibpath_var
=no
9941 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9942 # support. Future versions do this automatically, but an explicit c++rt0.o
9943 # does not break anything, and helps significantly (at the cost of a little
9946 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9947 hardcode_libdir_flag_spec
='-R$libdir'
9949 hardcode_shlibpath_var
=no
9952 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9954 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9956 hardcode_minus_L
=yes
9957 hardcode_shlibpath_var
=no
9960 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9961 freebsd
* | dragonfly
*)
9962 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9963 hardcode_libdir_flag_spec
='-R$libdir'
9965 hardcode_shlibpath_var
=no
9969 if test "$GCC" = yes; then
9970 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'
9972 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'
9974 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9975 hardcode_libdir_separator
=:
9978 # hardcode_minus_L: Not really in the search PATH,
9979 # but as the default location of the library.
9980 hardcode_minus_L
=yes
9981 export_dynamic_flag_spec
='${wl}-E'
9985 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9986 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9988 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9990 if test "$with_gnu_ld" = no
; then
9991 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9992 hardcode_libdir_flag_spec_ld
='+b $libdir'
9993 hardcode_libdir_separator
=:
9995 hardcode_direct_absolute
=yes
9996 export_dynamic_flag_spec
='${wl}-E'
9997 # hardcode_minus_L: Not really in the search PATH,
9998 # but as the default location of the library.
9999 hardcode_minus_L
=yes
10004 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10007 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10010 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10013 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10019 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10022 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10026 # Older versions of the 11.00 compiler do not understand -b yet
10027 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10029 $as_echo_n "checking if $CC understands -b... " >&6; }
10030 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10031 $as_echo_n "(cached) " >&6
10033 lt_cv_prog_compiler__b
=no
10034 save_LDFLAGS
="$LDFLAGS"
10035 LDFLAGS
="$LDFLAGS -b"
10036 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10037 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10038 # The linker can only warn and ignore the option if not recognized
10039 # So say no if there are warnings
10040 if test -s conftest.err
; then
10041 # Append any errors to the config.log.
10042 cat conftest.err
1>&5
10043 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10044 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10045 if diff conftest.exp conftest.er2
>/dev
/null
; then
10046 lt_cv_prog_compiler__b
=yes
10049 lt_cv_prog_compiler__b
=yes
10053 LDFLAGS
="$save_LDFLAGS"
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10057 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10059 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10060 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10062 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10068 if test "$with_gnu_ld" = no
; then
10069 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10070 hardcode_libdir_separator
=:
10075 hardcode_shlibpath_var
=no
10078 hardcode_direct
=yes
10079 hardcode_direct_absolute
=yes
10080 export_dynamic_flag_spec
='${wl}-E'
10082 # hardcode_minus_L: Not really in the search PATH,
10083 # but as the default location of the library.
10084 hardcode_minus_L
=yes
10090 irix5
* | irix6
* | nonstopux
*)
10091 if test "$GCC" = yes; then
10092 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'
10093 # Try to use the -exported_symbol ld option, if it does not
10094 # work, assume that -exports_file does not work either and
10095 # implicitly export all symbols.
10096 save_LDFLAGS
="$LDFLAGS"
10097 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10099 /* end confdefs.h. */
10102 if ac_fn_c_try_link
"$LINENO"; then :
10103 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'
10106 rm -f core conftest.err conftest.
$ac_objext \
10107 conftest
$ac_exeext conftest.
$ac_ext
10108 LDFLAGS
="$save_LDFLAGS"
10110 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'
10111 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'
10113 archive_cmds_need_lc
='no'
10114 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10115 hardcode_libdir_separator
=:
10117 link_all_deplibs
=yes
10121 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10122 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10124 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10126 hardcode_libdir_flag_spec
='-R$libdir'
10127 hardcode_direct
=yes
10128 hardcode_shlibpath_var
=no
10132 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10133 hardcode_direct
=yes
10134 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10135 hardcode_libdir_separator
=:
10136 hardcode_shlibpath_var
=no
10143 if test -f /usr
/libexec
/ld.so
; then
10144 hardcode_direct
=yes
10145 hardcode_shlibpath_var
=no
10146 hardcode_direct_absolute
=yes
10147 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10148 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10149 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10150 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10151 export_dynamic_flag_spec
='${wl}-E'
10154 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10155 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10156 hardcode_libdir_flag_spec
='-R$libdir'
10159 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10160 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10170 hardcode_libdir_flag_spec
='-L$libdir'
10171 hardcode_minus_L
=yes
10172 allow_undefined_flag
=unsupported
10173 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'
10174 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10178 if test "$GCC" = yes; then
10179 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10180 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'
10182 allow_undefined_flag
=' -expect_unresolved \*'
10183 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'
10185 archive_cmds_need_lc
='no'
10186 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10187 hardcode_libdir_separator
=:
10190 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10191 if test "$GCC" = yes; then
10192 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10193 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'
10194 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10196 allow_undefined_flag
=' -expect_unresolved \*'
10197 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'
10198 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~
10199 $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'
10201 # Both c and cxx compiler support -rpath directly
10202 hardcode_libdir_flag_spec
='-rpath $libdir'
10204 archive_cmds_need_lc
='no'
10205 hardcode_libdir_separator
=:
10209 no_undefined_flag
=' -z defs'
10210 if test "$GCC" = yes; then
10212 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10213 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10214 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10216 case `$CC -V 2>&1` in
10219 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10220 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10221 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10225 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10226 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10227 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10231 hardcode_libdir_flag_spec
='-R$libdir'
10232 hardcode_shlibpath_var
=no
10234 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10236 # The compiler driver will combine and reorder linker options,
10237 # but understands `-z linker_flag'. GCC discards it without `$wl',
10238 # but is careful enough not to reorder.
10239 # Supported since Solaris 2.6 (maybe 2.5.1?)
10240 if test "$GCC" = yes; then
10241 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10243 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10247 link_all_deplibs
=yes
10251 if test "x$host_vendor" = xsequent
; then
10252 # Use $CC to link under sequent, because it throws in some extra .o
10253 # files that make .init and .fini sections work.
10254 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10256 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10258 hardcode_libdir_flag_spec
='-L$libdir'
10259 hardcode_direct
=yes
10260 hardcode_minus_L
=yes
10261 hardcode_shlibpath_var
=no
10265 case $host_vendor in
10267 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10268 hardcode_direct
=yes # is this really true???
10271 ## LD is ld it makes a PLAMLIB
10272 ## CC just makes a GrossModule.
10273 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10274 reload_cmds
='$CC -r -o $output$reload_objs'
10278 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10279 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10282 runpath_var
='LD_RUN_PATH'
10283 hardcode_shlibpath_var
=no
10287 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10288 hardcode_shlibpath_var
=no
10289 export_dynamic_flag_spec
='-Bexport'
10293 if test -d /usr
/nec
; then
10294 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10295 hardcode_shlibpath_var
=no
10296 runpath_var
=LD_RUN_PATH
10297 hardcode_runpath_var
=yes
10302 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10303 no_undefined_flag
='${wl}-z,text'
10304 archive_cmds_need_lc
=no
10305 hardcode_shlibpath_var
=no
10306 runpath_var
='LD_RUN_PATH'
10308 if test "$GCC" = yes; then
10309 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10310 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10312 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10313 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10317 sysv5
* | sco3.2v5
* | sco5v6
*)
10318 # Note: We can NOT use -z defs as we might desire, because we do not
10319 # link with -lc, and that would cause any symbols used from libc to
10320 # always be unresolved, which means just about no library would
10321 # ever link correctly. If we're not using GNU ld we use -z text
10322 # though, which does catch some bad symbols but isn't as heavy-handed
10324 no_undefined_flag
='${wl}-z,text'
10325 allow_undefined_flag
='${wl}-z,nodefs'
10326 archive_cmds_need_lc
=no
10327 hardcode_shlibpath_var
=no
10328 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10329 hardcode_libdir_separator
=':'
10330 link_all_deplibs
=yes
10331 export_dynamic_flag_spec
='${wl}-Bexport'
10332 runpath_var
='LD_RUN_PATH'
10334 if test "$GCC" = yes; then
10335 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10336 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10338 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10339 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10344 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10345 hardcode_libdir_flag_spec
='-L$libdir'
10346 hardcode_shlibpath_var
=no
10354 if test x
$host_vendor = xsni
; then
10356 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10357 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10364 $as_echo "$ld_shlibs" >&6; }
10365 test "$ld_shlibs" = no
&& can_build_shared
=no
10367 with_gnu_ld
=$with_gnu_ld
10384 # Do we need to explicitly link libc?
10386 case "x$archive_cmds_need_lc" in
10388 # Assume -lc should be added
10389 archive_cmds_need_lc
=yes
10391 if test "$enable_shared" = yes && test "$GCC" = yes; then
10392 case $archive_cmds in
10394 # FIXME: we may have to deal with multi-command sequences.
10397 # Test whether the compiler implicitly links with -lc since on some
10398 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10399 # to ld, don't add -lc before -lgcc.
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10401 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10402 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10403 $as_echo_n "(cached) " >&6
10406 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10408 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10409 (eval $ac_compile) 2>&5
10411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10412 test $ac_status = 0; } 2>conftest.err
; then
10415 libobjs
=conftest.
$ac_objext
10417 wl
=$lt_prog_compiler_wl
10418 pic_flag
=$lt_prog_compiler_pic
10424 lt_save_allow_undefined_flag
=$allow_undefined_flag
10425 allow_undefined_flag
=
10426 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10427 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10430 test $ac_status = 0; }
10432 lt_cv_archive_cmds_need_lc
=no
10434 lt_cv_archive_cmds_need_lc
=yes
10436 allow_undefined_flag
=$lt_save_allow_undefined_flag
10438 cat conftest.err
1>&5
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10444 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10445 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10609 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10611 if test "$GCC" = yes; then
10613 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10614 *) lt_awk_arg
="/^libraries:/" ;;
10617 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10618 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10620 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10621 case $lt_search_path_spec in
10623 # if the path contains ";" then we assume it to be the separator
10624 # otherwise default to the standard path separator (i.e. ":") - it is
10625 # assumed that no part of a normal pathname contains ";" but that should
10626 # okay in the real world where ";" in dirpaths is itself problematic.
10627 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10630 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10633 # Ok, now we have the path, separated by spaces, we can step through it
10634 # and add multilib dir if necessary.
10635 lt_tmp_lt_search_path_spec
=
10636 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10637 for lt_sys_path
in $lt_search_path_spec; do
10638 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10639 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10641 test -d "$lt_sys_path" && \
10642 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10645 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10646 BEGIN {RS=" "; FS="/|\n";} {
10649 for (lt_i = NF; lt_i > 0; lt_i--) {
10650 if ($lt_i != "" && $lt_i != ".") {
10651 if ($lt_i == "..") {
10654 if (lt_count == 0) {
10655 lt_foo="/" $lt_i lt_foo;
10662 if (lt_foo != "") { lt_freq[lt_foo]++; }
10663 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10665 # AWK program above erroneously prepends '/' to C:/dos/paths
10668 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10669 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10671 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10673 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10675 library_names_spec
=
10676 libname_spec
='lib$name'
10680 postuninstall_cmds
=
10684 shlibpath_overrides_runpath
=unknown
10686 dynamic_linker
="$host_os ld.so"
10687 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10688 need_lib_prefix
=unknown
10689 hardcode_into_libs
=no
10691 # when you set need_version to no, make sure it does not cause -set_version
10692 # flags to be left without arguments
10693 need_version
=unknown
10698 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10699 shlibpath_var
=LIBPATH
10701 # AIX 3 has no versioning support, so we append a major version to the name.
10702 soname_spec
='${libname}${release}${shared_ext}$major'
10709 hardcode_into_libs
=yes
10710 if test "$host_cpu" = ia64
; then
10711 # AIX 5 supports IA64
10712 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10713 shlibpath_var
=LD_LIBRARY_PATH
10715 # With GCC up to 2.95.x, collect2 would create an import file
10716 # for dependence libraries. The import file would start with
10717 # the line `#! .'. This would cause the generated library to
10718 # depend on `.', always an invalid library. This was fixed in
10719 # development snapshots of GCC prior to 3.0.
10721 aix4 | aix4.
[01] | aix4.
[01].
*)
10722 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10724 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10727 can_build_shared
=no
10731 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10732 # soname into executable. Probably we can add versioning support to
10733 # collect2, so additional links can be useful in future.
10734 if test "$aix_use_runtimelinking" = yes; then
10735 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10736 # instead of lib<name>.a to let people know that these are not
10737 # typical AIX shared libraries.
10738 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10740 # We preserve .a as extension for shared libraries through AIX4.2
10741 # and later when we are not doing run time linking.
10742 library_names_spec
='${libname}${release}.a $libname.a'
10743 soname_spec
='${libname}${release}${shared_ext}$major'
10745 shlibpath_var
=LIBPATH
10752 # Since July 2007 AmigaOS4 officially supports .so libraries.
10753 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10754 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10757 library_names_spec
='$libname.ixlibrary $libname.a'
10758 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10759 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'
10765 library_names_spec
='${libname}${shared_ext}'
10766 dynamic_linker
="$host_os ld.so"
10767 shlibpath_var
=LIBRARY_PATH
10773 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10774 soname_spec
='${libname}${release}${shared_ext}$major'
10775 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10776 shlibpath_var
=LD_LIBRARY_PATH
10777 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10778 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10779 # the default ld.so.conf also contains /usr/contrib/lib and
10780 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10781 # libtool to hard-code these into programs
10784 cygwin
* | mingw
* | pw32
* | cegcc
*)
10785 version_type
=windows
10790 case $GCC,$host_os in
10791 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10792 library_names_spec
='$libname.dll.a'
10793 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10794 postinstall_cmds
='base_file=`basename \${file}`~
10795 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10796 dldir=$destdir/`dirname \$dlpath`~
10797 test -d \$dldir || mkdir -p \$dldir~
10798 $install_prog $dir/$dlname \$dldir/$dlname~
10799 chmod a+x \$dldir/$dlname~
10800 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10801 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10803 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10804 dlpath=$dir/\$dldll~
10806 shlibpath_overrides_runpath
=yes
10810 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10811 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10813 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10816 # MinGW DLLs use traditional 'lib' prefix
10817 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10820 # pw32 DLLs use 'pw' prefix rather than 'lib'
10821 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10827 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10830 dynamic_linker
='Win32 ld.exe'
10831 # FIXME: first we should search . and the directory the executable is in
10835 darwin
* | rhapsody
*)
10836 dynamic_linker
="$host_os dyld"
10837 version_type
=darwin
10840 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10841 soname_spec
='${libname}${release}${major}$shared_ext'
10842 shlibpath_overrides_runpath
=yes
10843 shlibpath_var
=DYLD_LIBRARY_PATH
10844 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10846 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10847 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10854 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10855 soname_spec
='${libname}${release}${shared_ext}$major'
10856 shlibpath_var
=LD_LIBRARY_PATH
10859 freebsd
* | dragonfly
*)
10860 # DragonFly does not have aout. When/if they implement a new
10861 # versioning mechanism, adjust this.
10862 if test -x /usr
/bin
/objformat
; then
10863 objformat
=`/usr/bin/objformat`
10866 freebsd
[23].
*) objformat
=aout
;;
10867 *) objformat
=elf
;;
10870 version_type
=freebsd-
$objformat
10871 case $version_type in
10873 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10878 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10882 shlibpath_var
=LD_LIBRARY_PATH
10885 shlibpath_overrides_runpath
=yes
10887 freebsd3.
[01]* | freebsdelf3.
[01]*)
10888 shlibpath_overrides_runpath
=yes
10889 hardcode_into_libs
=yes
10891 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10892 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10893 shlibpath_overrides_runpath
=no
10894 hardcode_into_libs
=yes
10896 *) # from 4.6 on, and DragonFly
10897 shlibpath_overrides_runpath
=yes
10898 hardcode_into_libs
=yes
10907 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10908 soname_spec
='${libname}${release}${shared_ext}$major'
10909 shlibpath_var
=LD_LIBRARY_PATH
10910 hardcode_into_libs
=yes
10917 dynamic_linker
="$host_os runtime_loader"
10918 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10919 soname_spec
='${libname}${release}${shared_ext}$major'
10920 shlibpath_var
=LIBRARY_PATH
10921 shlibpath_overrides_runpath
=yes
10922 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10923 hardcode_into_libs
=yes
10926 hpux9
* | hpux10
* | hpux11
*)
10927 # Give a soname corresponding to the major version so that dld.sl refuses to
10928 # link against other versions.
10935 hardcode_into_libs
=yes
10936 dynamic_linker
="$host_os dld.so"
10937 shlibpath_var
=LD_LIBRARY_PATH
10938 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10939 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10940 soname_spec
='${libname}${release}${shared_ext}$major'
10941 if test "X$HPUX_IA64_MODE" = X32
; then
10942 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10944 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10946 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10950 hardcode_into_libs
=yes
10951 dynamic_linker
="$host_os dld.sl"
10952 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10953 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10954 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10955 soname_spec
='${libname}${release}${shared_ext}$major'
10956 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10957 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10961 dynamic_linker
="$host_os dld.sl"
10962 shlibpath_var
=SHLIB_PATH
10963 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10964 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10965 soname_spec
='${libname}${release}${shared_ext}$major'
10968 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10969 postinstall_cmds
='chmod 555 $lib'
10970 # or fails outright, so override atomically:
10971 install_override_mode
=555
10978 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10979 soname_spec
='${libname}${release}${shared_ext}$major'
10980 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10981 shlibpath_var
=LD_LIBRARY_PATH
10982 shlibpath_overrides_runpath
=no
10983 hardcode_into_libs
=yes
10986 irix5
* | irix6
* | nonstopux
*)
10988 nonstopux
*) version_type
=nonstopux
;;
10990 if test "$lt_cv_prog_gnu_ld" = yes; then
10998 soname_spec
='${libname}${release}${shared_ext}$major'
10999 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11001 irix5
* | nonstopux
*)
11002 libsuff
= shlibsuff
=
11005 case $LD in # libtool.m4 will add one of these switches to LD
11006 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11007 libsuff
= shlibsuff
= libmagic
=32-bit;;
11008 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11009 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11010 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11011 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11012 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11016 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11017 shlibpath_overrides_runpath
=no
11018 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11019 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11020 hardcode_into_libs
=yes
11023 # No shared lib support for Linux oldld, aout, or coff.
11024 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11028 # This must be Linux ELF.
11029 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11033 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11034 soname_spec
='${libname}${release}${shared_ext}$major'
11035 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11036 shlibpath_var
=LD_LIBRARY_PATH
11037 shlibpath_overrides_runpath
=no
11039 # Some binutils ld are patched to set DT_RUNPATH
11040 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11041 $as_echo_n "(cached) " >&6
11043 lt_cv_shlibpath_overrides_runpath
=no
11044 save_LDFLAGS
=$LDFLAGS
11045 save_libdir
=$libdir
11046 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11047 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11049 /* end confdefs.h. */
11059 if ac_fn_c_try_link
"$LINENO"; then :
11060 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11061 lt_cv_shlibpath_overrides_runpath
=yes
11064 rm -f core conftest.err conftest.
$ac_objext \
11065 conftest
$ac_exeext conftest.
$ac_ext
11066 LDFLAGS
=$save_LDFLAGS
11067 libdir
=$save_libdir
11071 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11073 # This implies no fast_install, which is unacceptable.
11074 # Some rework will be needed to allow for fast_install
11075 # before this can be enabled.
11076 hardcode_into_libs
=yes
11078 # Append ld.so.conf contents to the search path
11079 if test -f /etc
/ld.so.conf
; then
11080 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' ' '`
11081 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11084 # We used to test for /lib/ld.so.1 and disable shared libraries on
11085 # powerpc, because MkLinux only supported shared libraries with the
11086 # GNU dynamic linker. Since this was broken with cross compilers,
11087 # most powerpc-linux boxes support dynamic linking these days and
11088 # people can always --disable-shared, the test was removed, and we
11089 # assume the GNU/Linux dynamic linker is in use.
11090 dynamic_linker
='GNU/Linux ld.so'
11097 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11098 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11099 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11100 dynamic_linker
='NetBSD (a.out) ld.so'
11102 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11103 soname_spec
='${libname}${release}${shared_ext}$major'
11104 dynamic_linker
='NetBSD ld.elf_so'
11106 shlibpath_var
=LD_LIBRARY_PATH
11107 shlibpath_overrides_runpath
=yes
11108 hardcode_into_libs
=yes
11113 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11114 shlibpath_var
=LD_LIBRARY_PATH
11115 shlibpath_overrides_runpath
=yes
11122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11123 soname_spec
='${libname}${release}${shared_ext}$major'
11124 shlibpath_var
=LD_LIBRARY_PATH
11125 shlibpath_overrides_runpath
=no
11126 hardcode_into_libs
=yes
11127 dynamic_linker
='ldqnx.so'
11132 sys_lib_dlsearch_path_spec
="/usr/lib"
11134 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11136 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11137 *) need_version
=no
;;
11139 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11140 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11141 shlibpath_var
=LD_LIBRARY_PATH
11142 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11144 openbsd2.
[89] | openbsd2.
[89].
*)
11145 shlibpath_overrides_runpath
=no
11148 shlibpath_overrides_runpath
=yes
11152 shlibpath_overrides_runpath
=yes
11157 libname_spec
='$name'
11160 library_names_spec
='$libname${shared_ext} $libname.a'
11161 dynamic_linker
='OS/2 ld.exe'
11162 shlibpath_var
=LIBPATH
11165 osf3
* | osf4
* | osf5
*)
11169 soname_spec
='${libname}${release}${shared_ext}$major'
11170 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11171 shlibpath_var
=LD_LIBRARY_PATH
11172 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11173 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11185 soname_spec
='${libname}${release}${shared_ext}$major'
11186 shlibpath_var
=LD_LIBRARY_PATH
11187 shlibpath_overrides_runpath
=yes
11188 hardcode_into_libs
=yes
11189 # ldd complains unless libraries are executable
11190 postinstall_cmds
='chmod +x $lib'
11195 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11196 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11197 shlibpath_var
=LD_LIBRARY_PATH
11198 shlibpath_overrides_runpath
=yes
11199 if test "$with_gnu_ld" = yes; then
11207 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11208 soname_spec
='${libname}${release}${shared_ext}$major'
11209 shlibpath_var
=LD_LIBRARY_PATH
11210 case $host_vendor in
11212 shlibpath_overrides_runpath
=no
11214 runpath_var
=LD_RUN_PATH
11222 shlibpath_overrides_runpath
=no
11223 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11229 if test -d /usr
/nec
;then
11231 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11232 soname_spec
='$libname${shared_ext}.$major'
11233 shlibpath_var
=LD_LIBRARY_PATH
11237 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11238 version_type
=freebsd-elf
11241 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11242 soname_spec
='${libname}${release}${shared_ext}$major'
11243 shlibpath_var
=LD_LIBRARY_PATH
11244 shlibpath_overrides_runpath
=yes
11245 hardcode_into_libs
=yes
11246 if test "$with_gnu_ld" = yes; then
11247 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11249 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11252 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11256 sys_lib_dlsearch_path_spec
='/usr/lib'
11260 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11264 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11265 shlibpath_var
=LD_LIBRARY_PATH
11266 shlibpath_overrides_runpath
=no
11267 hardcode_into_libs
=yes
11272 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11273 soname_spec
='${libname}${release}${shared_ext}$major'
11274 shlibpath_var
=LD_LIBRARY_PATH
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11282 $as_echo "$dynamic_linker" >&6; }
11283 test "$dynamic_linker" = no
&& can_build_shared
=no
11285 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11286 if test "$GCC" = yes; then
11287 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11290 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11291 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11293 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11294 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11389 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11391 if test -n "$hardcode_libdir_flag_spec" ||
11392 test -n "$runpath_var" ||
11393 test "X$hardcode_automatic" = "Xyes" ; then
11395 # We can hardcode non-existent directories.
11396 if test "$hardcode_direct" != no
&&
11397 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11398 # have to relink, otherwise we might link with an installed library
11399 # when we should be linking with a yet-to-be-installed one
11400 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11401 test "$hardcode_minus_L" != no
; then
11402 # Linking always hardcodes the temporary library directory.
11403 hardcode_action
=relink
11405 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11406 hardcode_action
=immediate
11409 # We cannot hardcode anything, or else we can only hardcode existing
11411 hardcode_action
=unsupported
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11414 $as_echo "$hardcode_action" >&6; }
11416 if test "$hardcode_action" = relink ||
11417 test "$inherit_rpath" = yes; then
11418 # Fast installation is not supported
11419 enable_fast_install
=no
11420 elif test "$shlibpath_overrides_runpath" = yes ||
11421 test "$enable_shared" = no
; then
11422 # Fast installation is not necessary
11423 enable_fast_install
=needless
11431 if test "x$enable_dlopen" != xyes
; then
11432 enable_dlopen
=unknown
11433 enable_dlopen_self
=unknown
11434 enable_dlopen_self_static
=unknown
11441 lt_cv_dlopen
="load_add_on"
11443 lt_cv_dlopen_self
=yes
11446 mingw
* | pw32
* | cegcc
*)
11447 lt_cv_dlopen
="LoadLibrary"
11452 lt_cv_dlopen
="dlopen"
11457 # if libdl is installed we need to link against it
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11459 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11460 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11461 $as_echo_n "(cached) " >&6
11463 ac_check_lib_save_LIBS
=$LIBS
11465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11466 /* end confdefs.h. */
11468 /* Override any GCC internal prototype to avoid an error.
11469 Use char because int might match the return type of a GCC
11470 builtin and then its argument prototype would still apply. */
11483 if ac_fn_c_try_link
"$LINENO"; then :
11484 ac_cv_lib_dl_dlopen
=yes
11486 ac_cv_lib_dl_dlopen
=no
11488 rm -f core conftest.err conftest.
$ac_objext \
11489 conftest
$ac_exeext conftest.
$ac_ext
11490 LIBS
=$ac_check_lib_save_LIBS
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11493 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11494 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11495 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11498 lt_cv_dlopen
="dyld"
11500 lt_cv_dlopen_self
=yes
11507 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11508 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11509 lt_cv_dlopen
="shl_load"
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11512 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11513 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11514 $as_echo_n "(cached) " >&6
11516 ac_check_lib_save_LIBS
=$LIBS
11518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11519 /* end confdefs.h. */
11521 /* Override any GCC internal prototype to avoid an error.
11522 Use char because int might match the return type of a GCC
11523 builtin and then its argument prototype would still apply. */
11531 return shl_load ();
11536 if ac_fn_c_try_link
"$LINENO"; then :
11537 ac_cv_lib_dld_shl_load
=yes
11539 ac_cv_lib_dld_shl_load
=no
11541 rm -f core conftest.err conftest.
$ac_objext \
11542 conftest
$ac_exeext conftest.
$ac_ext
11543 LIBS
=$ac_check_lib_save_LIBS
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11546 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11547 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11548 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11550 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11551 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11552 lt_cv_dlopen
="dlopen"
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11555 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11556 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11557 $as_echo_n "(cached) " >&6
11559 ac_check_lib_save_LIBS
=$LIBS
11561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11562 /* end confdefs.h. */
11564 /* Override any GCC internal prototype to avoid an error.
11565 Use char because int might match the return type of a GCC
11566 builtin and then its argument prototype would still apply. */
11579 if ac_fn_c_try_link
"$LINENO"; then :
11580 ac_cv_lib_dl_dlopen
=yes
11582 ac_cv_lib_dl_dlopen
=no
11584 rm -f core conftest.err conftest.
$ac_objext \
11585 conftest
$ac_exeext conftest.
$ac_ext
11586 LIBS
=$ac_check_lib_save_LIBS
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11589 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11590 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11591 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11594 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11595 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11596 $as_echo_n "(cached) " >&6
11598 ac_check_lib_save_LIBS
=$LIBS
11599 LIBS
="-lsvld $LIBS"
11600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11601 /* end confdefs.h. */
11603 /* Override any GCC internal prototype to avoid an error.
11604 Use char because int might match the return type of a GCC
11605 builtin and then its argument prototype would still apply. */
11618 if ac_fn_c_try_link
"$LINENO"; then :
11619 ac_cv_lib_svld_dlopen
=yes
11621 ac_cv_lib_svld_dlopen
=no
11623 rm -f core conftest.err conftest.
$ac_objext \
11624 conftest
$ac_exeext conftest.
$ac_ext
11625 LIBS
=$ac_check_lib_save_LIBS
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11628 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11629 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11630 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11633 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11634 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11635 $as_echo_n "(cached) " >&6
11637 ac_check_lib_save_LIBS
=$LIBS
11639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11640 /* end confdefs.h. */
11642 /* Override any GCC internal prototype to avoid an error.
11643 Use char because int might match the return type of a GCC
11644 builtin and then its argument prototype would still apply. */
11652 return dld_link ();
11657 if ac_fn_c_try_link
"$LINENO"; then :
11658 ac_cv_lib_dld_dld_link
=yes
11660 ac_cv_lib_dld_dld_link
=no
11662 rm -f core conftest.err conftest.
$ac_objext \
11663 conftest
$ac_exeext conftest.
$ac_ext
11664 LIBS
=$ac_check_lib_save_LIBS
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11667 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11668 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11669 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11690 if test "x$lt_cv_dlopen" != xno
; then
11696 case $lt_cv_dlopen in
11698 save_CPPFLAGS
="$CPPFLAGS"
11699 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11701 save_LDFLAGS
="$LDFLAGS"
11702 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11705 LIBS
="$lt_cv_dlopen_libs $LIBS"
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11708 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11709 if test "${lt_cv_dlopen_self+set}" = set; then :
11710 $as_echo_n "(cached) " >&6
11712 if test "$cross_compiling" = yes; then :
11713 lt_cv_dlopen_self
=cross
11715 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11716 lt_status
=$lt_dlunknown
11717 cat > conftest.
$ac_ext <<_LT_EOF
11718 #line 11718 "configure"
11719 #include "confdefs.h"
11728 # define LT_DLGLOBAL RTLD_GLOBAL
11731 # define LT_DLGLOBAL DL_GLOBAL
11733 # define LT_DLGLOBAL 0
11737 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11738 find out it does not work in some platform. */
11739 #ifndef LT_DLLAZY_OR_NOW
11741 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11744 # define LT_DLLAZY_OR_NOW DL_LAZY
11747 # define LT_DLLAZY_OR_NOW RTLD_NOW
11750 # define LT_DLLAZY_OR_NOW DL_NOW
11752 # define LT_DLLAZY_OR_NOW 0
11759 /* When -fvisbility=hidden is used, assume the code has been annotated
11760 correspondingly for the symbols needed. */
11761 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11762 void fnord () __attribute__((visibility("default")));
11765 void fnord () { int i=42; }
11768 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11769 int status = $lt_dlunknown;
11773 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11776 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11777 else puts (dlerror ());
11779 /* dlclose (self); */
11787 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11788 (eval $ac_link) 2>&5
11790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11791 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11792 (.
/conftest
; exit; ) >&5 2>/dev
/null
11794 case x
$lt_status in
11795 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11796 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11797 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11800 # compilation failed
11801 lt_cv_dlopen_self
=no
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11809 $as_echo "$lt_cv_dlopen_self" >&6; }
11811 if test "x$lt_cv_dlopen_self" = xyes
; then
11812 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11814 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11815 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11816 $as_echo_n "(cached) " >&6
11818 if test "$cross_compiling" = yes; then :
11819 lt_cv_dlopen_self_static
=cross
11821 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11822 lt_status
=$lt_dlunknown
11823 cat > conftest.
$ac_ext <<_LT_EOF
11824 #line 11824 "configure"
11825 #include "confdefs.h"
11834 # define LT_DLGLOBAL RTLD_GLOBAL
11837 # define LT_DLGLOBAL DL_GLOBAL
11839 # define LT_DLGLOBAL 0
11843 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11844 find out it does not work in some platform. */
11845 #ifndef LT_DLLAZY_OR_NOW
11847 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11850 # define LT_DLLAZY_OR_NOW DL_LAZY
11853 # define LT_DLLAZY_OR_NOW RTLD_NOW
11856 # define LT_DLLAZY_OR_NOW DL_NOW
11858 # define LT_DLLAZY_OR_NOW 0
11865 /* When -fvisbility=hidden is used, assume the code has been annotated
11866 correspondingly for the symbols needed. */
11867 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11868 void fnord () __attribute__((visibility("default")));
11871 void fnord () { int i=42; }
11874 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11875 int status = $lt_dlunknown;
11879 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11882 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11883 else puts (dlerror ());
11885 /* dlclose (self); */
11893 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11894 (eval $ac_link) 2>&5
11896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11897 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11898 (.
/conftest
; exit; ) >&5 2>/dev
/null
11900 case x
$lt_status in
11901 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11902 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11903 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11906 # compilation failed
11907 lt_cv_dlopen_self_static
=no
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11915 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11918 CPPFLAGS
="$save_CPPFLAGS"
11919 LDFLAGS
="$save_LDFLAGS"
11924 case $lt_cv_dlopen_self in
11925 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11926 *) enable_dlopen_self
=unknown
;;
11929 case $lt_cv_dlopen_self_static in
11930 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11931 *) enable_dlopen_self_static
=unknown
;;
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11954 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11955 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11956 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11957 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11959 $as_echo "yes" >&6; }
11961 # FIXME - insert some real tests, host_os isn't really good enough
11964 if test -n "$STRIP" ; then
11965 striplib
="$STRIP -x"
11966 old_striplib
="$STRIP -S"
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11968 $as_echo "yes" >&6; }
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11971 $as_echo "no" >&6; }
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11976 $as_echo "no" >&6; }
11992 # Report which library types will actually be built
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11994 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11996 $as_echo "$can_build_shared" >&6; }
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11999 $as_echo_n "checking whether to build shared libraries... " >&6; }
12000 test "$can_build_shared" = "no" && enable_shared
=no
12002 # On AIX, shared libraries and static libraries use the same namespace, and
12003 # are all built from PIC.
12006 test "$enable_shared" = yes && enable_static
=no
12007 if test -n "$RANLIB"; then
12008 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12009 postinstall_cmds
='$RANLIB $lib'
12014 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12015 test "$enable_shared" = yes && enable_static
=no
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12020 $as_echo "$enable_shared" >&6; }
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12023 $as_echo_n "checking whether to build static libraries... " >&6; }
12024 # Make sure either enable_shared or enable_static is yes.
12025 test "$enable_shared" = yes || enable_static
=yes
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12027 $as_echo "$enable_static" >&6; }
12034 ac_cpp
='$CPP $CPPFLAGS'
12035 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12036 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12037 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12041 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12042 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12043 (test "X$CXX" != "Xg++"))) ; then
12045 ac_cpp
='$CXXCPP $CPPFLAGS'
12046 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12047 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12048 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12050 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12051 if test -z "$CXXCPP"; then
12052 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
12053 $as_echo_n "(cached) " >&6
12055 # Double quotes because CXXCPP needs to be expanded
12056 for CXXCPP
in "$CXX -E" "/lib/cpp"
12058 ac_preproc_ok
=false
12059 for ac_cxx_preproc_warn_flag
in '' yes
12061 # Use a header file that comes with gcc, so configuring glibc
12062 # with a fresh cross-compiler works.
12063 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12064 # <limits.h> exists even on freestanding compilers.
12065 # On the NeXT, cc -E runs the code through the compiler's parser,
12066 # not just through cpp. "Syntax error" is here to catch this case.
12067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12068 /* end confdefs.h. */
12070 # include <limits.h>
12072 # include <assert.h>
12076 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12079 # Broken: fails on valid input.
12082 rm -f conftest.err conftest.
$ac_ext
12084 # OK, works on sane cases. Now check whether nonexistent headers
12085 # can be detected and how.
12086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12087 /* end confdefs.h. */
12088 #include <ac_nonexistent.h>
12090 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12091 # Broken: success on invalid input.
12094 # Passes both tests.
12098 rm -f conftest.err conftest.
$ac_ext
12101 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12102 rm -f conftest.err conftest.
$ac_ext
12103 if $ac_preproc_ok; then :
12108 ac_cv_prog_CXXCPP
=$CXXCPP
12111 CXXCPP
=$ac_cv_prog_CXXCPP
12113 ac_cv_prog_CXXCPP
=$CXXCPP
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12116 $as_echo "$CXXCPP" >&6; }
12117 ac_preproc_ok
=false
12118 for ac_cxx_preproc_warn_flag
in '' yes
12120 # Use a header file that comes with gcc, so configuring glibc
12121 # with a fresh cross-compiler works.
12122 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12123 # <limits.h> exists even on freestanding compilers.
12124 # On the NeXT, cc -E runs the code through the compiler's parser,
12125 # not just through cpp. "Syntax error" is here to catch this case.
12126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12127 /* end confdefs.h. */
12129 # include <limits.h>
12131 # include <assert.h>
12135 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12138 # Broken: fails on valid input.
12141 rm -f conftest.err conftest.
$ac_ext
12143 # OK, works on sane cases. Now check whether nonexistent headers
12144 # can be detected and how.
12145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12146 /* end confdefs.h. */
12147 #include <ac_nonexistent.h>
12149 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12150 # Broken: success on invalid input.
12153 # Passes both tests.
12157 rm -f conftest.err conftest.
$ac_ext
12160 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12161 rm -f conftest.err conftest.
$ac_ext
12162 if $ac_preproc_ok; then :
12165 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12166 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12167 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
12168 See \`config.log' for more details." "$LINENO" 5; }
12172 ac_cpp
='$CPP $CPPFLAGS'
12173 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12174 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12175 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12178 _lt_caught_CXX_error
=yes
12182 ac_cpp
='$CXXCPP $CPPFLAGS'
12183 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12184 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12185 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12187 archive_cmds_need_lc_CXX
=no
12188 allow_undefined_flag_CXX
=
12189 always_export_symbols_CXX
=no
12190 archive_expsym_cmds_CXX
=
12191 compiler_needs_object_CXX
=no
12192 export_dynamic_flag_spec_CXX
=
12193 hardcode_direct_CXX
=no
12194 hardcode_direct_absolute_CXX
=no
12195 hardcode_libdir_flag_spec_CXX
=
12196 hardcode_libdir_flag_spec_ld_CXX
=
12197 hardcode_libdir_separator_CXX
=
12198 hardcode_minus_L_CXX
=no
12199 hardcode_shlibpath_var_CXX
=unsupported
12200 hardcode_automatic_CXX
=no
12201 inherit_rpath_CXX
=no
12203 module_expsym_cmds_CXX
=
12204 link_all_deplibs_CXX
=unknown
12205 old_archive_cmds_CXX
=$old_archive_cmds
12206 reload_flag_CXX
=$reload_flag
12207 reload_cmds_CXX
=$reload_cmds
12208 no_undefined_flag_CXX
=
12209 whole_archive_flag_spec_CXX
=
12210 enable_shared_with_static_runtimes_CXX
=no
12212 # Source file extension for C++ test sources.
12215 # Object file extension for compiled C++ test sources.
12219 # No sense in running all these tests if we already determined that
12220 # the CXX compiler isn't working. Some variables (like enable_shared)
12221 # are currently assumed to apply to all compilers on this platform,
12222 # and will be corrupted by setting them based on a non-working compiler.
12223 if test "$_lt_caught_CXX_error" != yes; then
12224 # Code to be used in simple compile tests
12225 lt_simple_compile_test_code
="int some_variable = 0;"
12227 # Code to be used in simple link tests
12228 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12230 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12237 # If no C compiler was specified, use CC.
12240 # If no C compiler flags were specified, use CFLAGS.
12241 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12243 # Allow CC to be a program name with arguments.
12247 # save warnings/boilerplate of simple test code
12248 ac_outfile
=conftest.
$ac_objext
12249 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12250 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12251 _lt_compiler_boilerplate
=`cat conftest.err`
12254 ac_outfile
=conftest.
$ac_objext
12255 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12256 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12257 _lt_linker_boilerplate
=`cat conftest.err`
12261 # Allow CC to be a program name with arguments.
12266 lt_save_with_gnu_ld
=$with_gnu_ld
12267 lt_save_path_LD
=$lt_cv_path_LD
12268 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12269 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12271 $as_unset lt_cv_prog_gnu_ld
12273 if test -n "${lt_cv_path_LDCXX+set}"; then
12274 lt_cv_path_LD
=$lt_cv_path_LDCXX
12276 $as_unset lt_cv_path_LD
12278 test -z "${LDCXX+set}" || LD
=$LDCXX
12282 for cc_temp
in $compiler""; do
12284 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12285 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12290 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12293 if test -n "$compiler"; then
12294 # We don't want -fno-exception when compiling C++ code, so set the
12295 # no_builtin_flag separately
12296 if test "$GXX" = yes; then
12297 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12299 lt_prog_compiler_no_builtin_flag_CXX
=
12302 if test "$GXX" = yes; then
12303 # Set up default GNU C++ configuration
12307 # Check whether --with-gnu-ld was given.
12308 if test "${with_gnu_ld+set}" = set; then :
12309 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12315 if test "$GCC" = yes; then
12316 # Check if gcc -print-prog-name=ld gives a path.
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12318 $as_echo_n "checking for ld used by $CC... " >&6; }
12321 # gcc leaves a trailing carriage return which upsets mingw
12322 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12324 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12327 # Accept absolute paths.
12329 re_direlt
='/[^/][^/]*/\.\./'
12330 # Canonicalize the pathname of ld
12331 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12332 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12333 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12335 test -z "$LD" && LD
="$ac_prog"
12338 # If it fails, then pretend we aren't using GCC.
12342 # If it is relative, then search for the first ld in PATH.
12343 with_gnu_ld
=unknown
12346 elif test "$with_gnu_ld" = yes; then
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12348 $as_echo_n "checking for GNU ld... " >&6; }
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12351 $as_echo_n "checking for non-GNU ld... " >&6; }
12353 if test "${lt_cv_path_LD+set}" = set; then :
12354 $as_echo_n "(cached) " >&6
12356 if test -z "$LD"; then
12357 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12358 for ac_dir
in $PATH; do
12360 test -z "$ac_dir" && ac_dir
=.
12361 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12362 lt_cv_path_LD
="$ac_dir/$ac_prog"
12363 # Check to see if the program is GNU ld. I'd rather use --version,
12364 # but apparently some variants of GNU ld only accept -v.
12365 # Break only if it was the GNU/non-GNU ld that we prefer.
12366 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12367 *GNU
* |
*'with BFD'*)
12368 test "$with_gnu_ld" != no
&& break
12371 test "$with_gnu_ld" != yes && break
12378 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12382 LD
="$lt_cv_path_LD"
12383 if test -n "$LD"; then
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12385 $as_echo "$LD" >&6; }
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12388 $as_echo "no" >&6; }
12390 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12392 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12393 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12394 $as_echo_n "(cached) " >&6
12396 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12397 case `$LD -v 2>&1 </dev/null` in
12398 *GNU
* |
*'with BFD'*)
12399 lt_cv_prog_gnu_ld
=yes
12402 lt_cv_prog_gnu_ld
=no
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12407 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12408 with_gnu_ld
=$lt_cv_prog_gnu_ld
12416 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12417 # archiving commands below assume that GNU ld is being used.
12418 if test "$with_gnu_ld" = yes; then
12419 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12420 archive_expsym_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12422 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12423 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12425 # If archive_cmds runs LD, not CC, wlarc should be empty
12426 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12427 # investigate it a little bit more. (MM)
12430 # ancient GNU ld didn't support --whole-archive et. al.
12431 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12432 $GREP 'no-whole-archive' > /dev
/null
; then
12433 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12435 whole_archive_flag_spec_CXX
=
12441 # A generic and very simple default shared library creation
12442 # command for GNU C++ for the case where it uses the native
12443 # linker, instead of GNU ld. If possible, this setting should
12444 # overridden to take advantage of the native linker features on
12445 # the platform it is being used on.
12446 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12449 # Commands to make compiler produce verbose output that lists
12450 # what "hidden" libraries, object files and flags are used when
12451 # linking a shared library.
12452 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12460 # PORTME: fill in a description of your system's C++ link characteristics
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12462 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12466 # FIXME: insert proper C++ library support
12470 if test "$host_cpu" = ia64
; then
12471 # On IA64, the linker does run time linking by default, so we don't
12472 # have to do anything special.
12473 aix_use_runtimelinking
=no
12474 exp_sym_flag
='-Bexport'
12477 aix_use_runtimelinking
=no
12479 # Test if we are trying to use run time linking or normal
12480 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12481 # need to do runtime linking.
12482 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12483 for ld_flag
in $LDFLAGS; do
12486 aix_use_runtimelinking
=yes
12494 exp_sym_flag
='-bexport'
12495 no_entry_flag
='-bnoentry'
12498 # When large executables or shared objects are built, AIX ld can
12499 # have problems creating the table of contents. If linking a library
12500 # or program results in "error TOC overflow" add -mminimal-toc to
12501 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12502 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12504 archive_cmds_CXX
=''
12505 hardcode_direct_CXX
=yes
12506 hardcode_direct_absolute_CXX
=yes
12507 hardcode_libdir_separator_CXX
=':'
12508 link_all_deplibs_CXX
=yes
12509 file_list_spec_CXX
='${wl}-f,'
12511 if test "$GXX" = yes; then
12512 case $host_os in aix4.
[012]|aix4.
[012].
*)
12513 # We only want to do this on AIX 4.2 and lower, the check
12514 # below for broken collect2 doesn't work under 4.3+
12515 collect2name
=`${CC} -print-prog-name=collect2`
12516 if test -f "$collect2name" &&
12517 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12519 # We have reworked collect2
12522 # We have old collect2
12523 hardcode_direct_CXX
=unsupported
12524 # It fails to find uninstalled libraries when the uninstalled
12525 # path is not listed in the libpath. Setting hardcode_minus_L
12526 # to unsupported forces relinking
12527 hardcode_minus_L_CXX
=yes
12528 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12529 hardcode_libdir_separator_CXX
=
12532 shared_flag
='-shared'
12533 if test "$aix_use_runtimelinking" = yes; then
12534 shared_flag
="$shared_flag "'${wl}-G'
12538 if test "$host_cpu" = ia64
; then
12539 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12540 # chokes on -Wl,-G. The following line is correct:
12543 if test "$aix_use_runtimelinking" = yes; then
12544 shared_flag
='${wl}-G'
12546 shared_flag
='${wl}-bM:SRE'
12551 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12552 # It seems that -bexpall does not export symbols beginning with
12553 # underscore (_), so it is better to generate a list of symbols to
12555 always_export_symbols_CXX
=yes
12556 if test "$aix_use_runtimelinking" = yes; then
12557 # Warning - without using the other runtime loading flags (-brtl),
12558 # -berok will link without error, but may produce a broken library.
12559 allow_undefined_flag_CXX
='-berok'
12560 # Determine the default libpath from the value encoded in an empty
12562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12563 /* end confdefs.h. */
12573 if ac_fn_cxx_try_link
"$LINENO"; then :
12575 lt_aix_libpath_sed
='
12576 /Import File Strings/,/^$/ {
12582 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12583 # Check for a 64-bit object if we didn't find anything.
12584 if test -z "$aix_libpath"; then
12585 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12588 rm -f core conftest.err conftest.
$ac_objext \
12589 conftest
$ac_exeext conftest.
$ac_ext
12590 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12592 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12594 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"
12596 if test "$host_cpu" = ia64
; then
12597 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12598 allow_undefined_flag_CXX
="-z nodefs"
12599 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"
12601 # Determine the default libpath from the value encoded in an
12602 # empty executable.
12603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12604 /* end confdefs.h. */
12614 if ac_fn_cxx_try_link
"$LINENO"; then :
12616 lt_aix_libpath_sed
='
12617 /Import File Strings/,/^$/ {
12623 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12624 # Check for a 64-bit object if we didn't find anything.
12625 if test -z "$aix_libpath"; then
12626 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12629 rm -f core conftest.err conftest.
$ac_objext \
12630 conftest
$ac_exeext conftest.
$ac_ext
12631 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12633 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12634 # Warning - without using the other run time loading flags,
12635 # -berok will link without error, but may produce a broken library.
12636 no_undefined_flag_CXX
=' ${wl}-bernotok'
12637 allow_undefined_flag_CXX
=' ${wl}-berok'
12638 if test "$with_gnu_ld" = yes; then
12639 # We only use this code for GNU lds that support --whole-archive.
12640 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12642 # Exported symbols can be pulled into shared objects from archives
12643 whole_archive_flag_spec_CXX
='$convenience'
12645 archive_cmds_need_lc_CXX
=yes
12646 # This is similar to how AIX traditionally builds its shared
12648 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'
12654 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12655 allow_undefined_flag_CXX
=unsupported
12656 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12657 # support --undefined. This deserves some investigation. FIXME
12658 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12665 case $cc_basename in
12667 # FIXME: insert proper C++ library support
12673 cygwin
* | mingw
* | pw32
* | cegcc
*)
12674 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12675 # as there is no search path for DLLs.
12676 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12677 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12678 allow_undefined_flag_CXX
=unsupported
12679 always_export_symbols_CXX
=no
12680 enable_shared_with_static_runtimes_CXX
=yes
12682 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12683 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'
12684 # If the export-symbols file already is a .def file (1st line
12685 # is EXPORTS), use it as is; otherwise, prepend...
12686 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12687 cp $export_symbols $output_objdir/$soname.def;
12689 echo EXPORTS > $output_objdir/$soname.def;
12690 cat $export_symbols >> $output_objdir/$soname.def;
12692 $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'
12697 darwin
* | rhapsody
*)
12700 archive_cmds_need_lc_CXX
=no
12701 hardcode_direct_CXX
=no
12702 hardcode_automatic_CXX
=yes
12703 hardcode_shlibpath_var_CXX
=unsupported
12704 if test "$lt_cv_ld_force_load" = "yes"; then
12705 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\"`'
12707 whole_archive_flag_spec_CXX
=''
12709 link_all_deplibs_CXX
=yes
12710 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12711 case $cc_basename in
12712 ifort
*) _lt_dar_can_shared
=yes ;;
12713 *) _lt_dar_can_shared
=$GCC ;;
12715 if test "$_lt_dar_can_shared" = "yes"; then
12716 output_verbose_link_cmd
=func_echo_all
12717 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}"
12718 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12719 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}"
12720 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}"
12721 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12722 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}"
12723 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}"
12733 case $cc_basename in
12735 # FIXME: insert proper C++ library support
12739 # Green Hills C++ Compiler
12740 # FIXME: insert proper C++ library support
12744 # FIXME: insert proper C++ library support
12751 # C++ shared libraries reported to be fairly broken before
12757 archive_cmds_need_lc_CXX
=no
12760 freebsd
* | dragonfly
*)
12761 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12770 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12771 link_all_deplibs_CXX
=yes
12775 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12776 hardcode_libdir_separator_CXX
=:
12777 export_dynamic_flag_spec_CXX
='${wl}-E'
12778 hardcode_direct_CXX
=yes
12779 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12780 # but as the default
12781 # location of the library.
12783 case $cc_basename in
12785 # FIXME: insert proper C++ library support
12789 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'
12790 # Commands to make compiler produce verbose output that lists
12791 # what "hidden" libraries, object files and flags are used when
12792 # linking a shared library.
12794 # There doesn't appear to be a way to prevent this compiler from
12795 # explicitly linking system object files so we need to strip them
12796 # from the output so that they don't get included in the library
12798 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"'
12801 if test "$GXX" = yes; then
12802 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'
12804 # FIXME: insert proper C++ library support
12812 if test $with_gnu_ld = no
; then
12813 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12814 hardcode_libdir_separator_CXX
=:
12820 export_dynamic_flag_spec_CXX
='${wl}-E'
12826 hardcode_direct_CXX
=no
12827 hardcode_shlibpath_var_CXX
=no
12830 hardcode_direct_CXX
=yes
12831 hardcode_direct_absolute_CXX
=yes
12832 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12833 # but as the default
12834 # location of the library.
12838 case $cc_basename in
12840 # FIXME: insert proper C++ library support
12846 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12849 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12852 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12855 # Commands to make compiler produce verbose output that lists
12856 # what "hidden" libraries, object files and flags are used when
12857 # linking a shared library.
12859 # There doesn't appear to be a way to prevent this compiler from
12860 # explicitly linking system object files so we need to strip them
12861 # from the output so that they don't get included in the library
12863 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"'
12866 if test "$GXX" = yes; then
12867 if test $with_gnu_ld = no
; then
12870 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12873 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12876 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'
12881 # FIXME: insert proper C++ library support
12889 hardcode_direct_CXX
=no
12890 hardcode_shlibpath_var_CXX
=no
12891 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12892 export_dynamic_flag_spec_CXX
='${wl}-E'
12893 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12894 # Instead, shared libraries are loaded at an image base (0x10000000 by
12895 # default) and relocated if they conflict, which is a slow very memory
12896 # consuming and fragmenting process. To avoid this, we pick a random,
12897 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12898 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12899 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'
12900 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'
12903 case $cc_basename in
12906 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'
12908 # Archives containing C++ object files must be created using
12909 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12910 # necessary to make sure instantiated templates are included
12912 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12915 if test "$GXX" = yes; then
12916 if test "$with_gnu_ld" = no
; then
12917 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'
12919 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'
12922 link_all_deplibs_CXX
=yes
12925 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12926 hardcode_libdir_separator_CXX
=:
12927 inherit_rpath_CXX
=yes
12930 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12931 case $cc_basename in
12933 # Kuck and Associates, Inc. (KAI) C++ Compiler
12935 # KCC will only create a shared library if the output file
12936 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12937 # to its proper name (with version) after linking.
12938 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'
12939 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'
12940 # Commands to make compiler produce verbose output that lists
12941 # what "hidden" libraries, object files and flags are used when
12942 # linking a shared library.
12944 # There doesn't appear to be a way to prevent this compiler from
12945 # explicitly linking system object files so we need to strip them
12946 # from the output so that they don't get included in the library
12948 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"'
12950 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12951 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12953 # Archives containing C++ object files must be created using
12954 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12955 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12960 # version 8.0 and above of icpc choke on multiply defined symbols
12961 # if we add $predep_objects and $postdep_objects, however 7.1 and
12962 # earlier do not add the objects themselves.
12963 case `$CC -V 2>&1` in
12965 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12966 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12968 *) # Version 8.0 or newer
12971 ia64
*) tmp_idyn
=' -i_dynamic';;
12973 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12974 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'
12977 archive_cmds_need_lc_CXX
=no
12978 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12979 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12980 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12983 # Portland Group C++ compiler
12985 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12986 prelink_cmds_CXX
='tpldir=Template.dir~
12988 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12989 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12990 old_archive_cmds_CXX
='tpldir=Template.dir~
12992 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12993 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12995 archive_cmds_CXX
='tpldir=Template.dir~
12997 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12998 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12999 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13001 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13002 $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'
13004 *) # Version 6 and above use weak symbols
13005 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13006 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'
13010 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13011 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13012 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'
13016 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13017 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'
13019 runpath_var
=LD_RUN_PATH
13020 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13021 hardcode_libdir_separator_CXX
=:
13023 # Commands to make compiler produce verbose output that lists
13024 # what "hidden" libraries, object files and flags are used when
13025 # linking a shared library.
13027 # There doesn't appear to be a way to prevent this compiler from
13028 # explicitly linking system object files so we need to strip them
13029 # from the output so that they don't get included in the library
13031 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'
13033 xl
* | mpixl
* | bgxl
*)
13034 # IBM XL 8.0 on PPC, with GNU ld
13035 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13036 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13037 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13038 if test "x$supports_anon_versioning" = xyes
; then
13039 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13040 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13041 echo "local: *; };" >> $output_objdir/$libname.ver~
13042 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13046 case `$CC -V 2>&1 | sed 5q` in
13049 no_undefined_flag_CXX
=' -zdefs'
13050 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13051 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'
13052 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13053 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'
13054 compiler_needs_object_CXX
=yes
13056 # Not sure whether something based on
13057 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13059 output_verbose_link_cmd
='func_echo_all'
13061 # Archives containing C++ object files must be created using
13062 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13063 # necessary to make sure instantiated templates are included
13065 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13073 # FIXME: insert proper C++ library support
13078 # FIXME: insert proper C++ library support
13083 case $cc_basename in
13085 # FIXME: insert proper C++ library support
13089 # FIXME: insert proper C++ library support
13096 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13097 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13099 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13100 hardcode_direct_CXX
=yes
13101 hardcode_shlibpath_var_CXX
=no
13103 # Workaround some broken pre-1.5 toolchains
13104 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13112 # C++ shared libraries are fairly broken
13117 if test -f /usr
/libexec
/ld.so
; then
13118 hardcode_direct_CXX
=yes
13119 hardcode_shlibpath_var_CXX
=no
13120 hardcode_direct_absolute_CXX
=yes
13121 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13122 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13123 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13124 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13125 export_dynamic_flag_spec_CXX
='${wl}-E'
13126 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13128 output_verbose_link_cmd
=func_echo_all
13134 osf3
* | osf4
* | osf5
*)
13135 case $cc_basename in
13137 # Kuck and Associates, Inc. (KAI) C++ Compiler
13139 # KCC will only create a shared library if the output file
13140 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13141 # to its proper name (with version) after linking.
13142 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'
13144 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13145 hardcode_libdir_separator_CXX
=:
13147 # Archives containing C++ object files must be created using
13148 # the KAI C++ compiler.
13150 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13151 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13155 # Rational C++ 2.4.1
13156 # FIXME: insert proper C++ library support
13162 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13163 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'
13164 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13167 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13168 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'
13169 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13170 echo "-hidden">> $lib.exp~
13171 $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~
13173 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13177 hardcode_libdir_separator_CXX
=:
13179 # Commands to make compiler produce verbose output that lists
13180 # what "hidden" libraries, object files and flags are used when
13181 # linking a shared library.
13183 # There doesn't appear to be a way to prevent this compiler from
13184 # explicitly linking system object files so we need to strip them
13185 # from the output so that they don't get included in the library
13187 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"'
13190 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13191 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13194 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'
13197 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'
13201 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13202 hardcode_libdir_separator_CXX
=:
13204 # Commands to make compiler produce verbose output that lists
13205 # what "hidden" libraries, object files and flags are used when
13206 # linking a shared library.
13207 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13210 # FIXME: insert proper C++ library support
13218 # FIXME: insert proper C++ library support
13223 case $cc_basename in
13226 # FIXME: insert proper C++ library support
13231 # FIXME: insert proper C++ library support
13235 # FIXME: insert proper C++ library support
13242 case $cc_basename in
13244 # Sun C++ 4.2, 5.x and Centerline C++
13245 archive_cmds_need_lc_CXX
=yes
13246 no_undefined_flag_CXX
=' -zdefs'
13247 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13248 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13249 $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'
13251 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13252 hardcode_shlibpath_var_CXX
=no
13254 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13256 # The compiler driver will combine and reorder linker options,
13257 # but understands `-z linker_flag'.
13258 # Supported since Solaris 2.6 (maybe 2.5.1?)
13259 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13262 link_all_deplibs_CXX
=yes
13264 output_verbose_link_cmd
='func_echo_all'
13266 # Archives containing C++ object files must be created using
13267 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13268 # necessary to make sure instantiated templates are included
13270 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13273 # Green Hills C++ Compiler
13274 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13276 # The C++ compiler must be used to create the archive.
13277 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13280 # GNU C++ compiler with Solaris linker
13281 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13282 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13283 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13284 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13285 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13286 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13288 # Commands to make compiler produce verbose output that lists
13289 # what "hidden" libraries, object files and flags are used when
13290 # linking a shared library.
13291 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13293 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13295 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13296 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13297 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13299 # Commands to make compiler produce verbose output that lists
13300 # what "hidden" libraries, object files and flags are used when
13301 # linking a shared library.
13302 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13305 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13307 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13309 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13317 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13318 no_undefined_flag_CXX
='${wl}-z,text'
13319 archive_cmds_need_lc_CXX
=no
13320 hardcode_shlibpath_var_CXX
=no
13321 runpath_var
='LD_RUN_PATH'
13323 case $cc_basename in
13325 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13326 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13329 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13330 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13335 sysv5
* | sco3.2v5
* | sco5v6
*)
13336 # Note: We can NOT use -z defs as we might desire, because we do not
13337 # link with -lc, and that would cause any symbols used from libc to
13338 # always be unresolved, which means just about no library would
13339 # ever link correctly. If we're not using GNU ld we use -z text
13340 # though, which does catch some bad symbols but isn't as heavy-handed
13342 no_undefined_flag_CXX
='${wl}-z,text'
13343 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13344 archive_cmds_need_lc_CXX
=no
13345 hardcode_shlibpath_var_CXX
=no
13346 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13347 hardcode_libdir_separator_CXX
=':'
13348 link_all_deplibs_CXX
=yes
13349 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13350 runpath_var
='LD_RUN_PATH'
13352 case $cc_basename in
13354 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13355 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13356 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13357 '"$old_archive_cmds_CXX"
13358 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13359 '"$reload_cmds_CXX"
13362 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13363 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13369 case $cc_basename in
13371 # NonStop-UX NCC 3.20
13372 # FIXME: insert proper C++ library support
13376 # FIXME: insert proper C++ library support
13383 # FIXME: insert proper C++ library support
13388 # FIXME: insert proper C++ library support
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13394 $as_echo "$ld_shlibs_CXX" >&6; }
13395 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13401 ## There is no encapsulation within the following macros, do not change
13402 ## the running order or otherwise move them around unless you know exactly
13403 ## what you are doing...
13404 # Dependencies to place before and after the object being linked:
13405 predep_objects_CXX
=
13406 postdep_objects_CXX
=
13409 compiler_lib_search_path_CXX
=
13411 cat > conftest.
$ac_ext <<_LT_EOF
13415 Foo (void) { a = 0; }
13421 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13422 (eval $ac_compile) 2>&5
13424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13425 test $ac_status = 0; }; then
13426 # Parse the compiler output and extract the necessary
13427 # objects, libraries and library flags.
13429 # Sentinel used to keep track of whether or not we are before
13430 # the conftest object file.
13431 pre_test_object_deps_done
=no
13433 for p
in `eval "$output_verbose_link_cmd"`; do
13437 # Some compilers place space between "-{L,R}" and the path.
13438 # Remove the space.
13439 if test $p = "-L" ||
13440 test $p = "-R"; then
13447 if test "$pre_test_object_deps_done" = no
; then
13450 # Internal compiler library paths should come after those
13451 # provided the user. The postdeps already come after the
13452 # user supplied libs so there is no need to process them.
13453 if test -z "$compiler_lib_search_path_CXX"; then
13454 compiler_lib_search_path_CXX
="${prev}${p}"
13456 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13459 # The "-l" case would never come before the object being
13460 # linked, so don't bother handling this case.
13463 if test -z "$postdeps_CXX"; then
13464 postdeps_CXX
="${prev}${p}"
13466 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13472 # This assumes that the test object file only shows up
13473 # once in the compiler output.
13474 if test "$p" = "conftest.$objext"; then
13475 pre_test_object_deps_done
=yes
13479 if test "$pre_test_object_deps_done" = no
; then
13480 if test -z "$predep_objects_CXX"; then
13481 predep_objects_CXX
="$p"
13483 predep_objects_CXX
="$predep_objects_CXX $p"
13486 if test -z "$postdep_objects_CXX"; then
13487 postdep_objects_CXX
="$p"
13489 postdep_objects_CXX
="$postdep_objects_CXX $p"
13494 *) ;; # Ignore the rest.
13502 echo "libtool.m4: error: problem compiling CXX test program"
13505 $RM -f confest.
$objext
13507 # PORTME: override above test on systems where it is broken
13510 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13511 # hack all around it, let's just trust "g++" to DTRT.
13512 predep_objects_CXX
=
13513 postdep_objects_CXX
=
13518 case `$CC -V 2>&1 | sed 5q` in
13522 # The more standards-conforming stlport4 library is
13523 # incompatible with the Cstd library. Avoid specifying
13524 # it if it's in CXXFLAGS. Ignore libCrun as
13525 # -library=stlport4 depends on it.
13526 case " $CXX $CXXFLAGS " in
13527 *" -library=stlport4 "*)
13528 solaris_use_stlport4
=yes
13532 if test "$solaris_use_stlport4" != yes; then
13533 postdeps_CXX
='-library=Cstd -library=Crun'
13540 case $cc_basename in
13542 # The more standards-conforming stlport4 library is
13543 # incompatible with the Cstd library. Avoid specifying
13544 # it if it's in CXXFLAGS. Ignore libCrun as
13545 # -library=stlport4 depends on it.
13546 case " $CXX $CXXFLAGS " in
13547 *" -library=stlport4 "*)
13548 solaris_use_stlport4
=yes
13552 # Adding this requires a known-good setup of shared libraries for
13553 # Sun compiler versions before 5.6, else PIC objects from an old
13554 # archive will be linked into the output, leading to subtle bugs.
13555 if test "$solaris_use_stlport4" != yes; then
13556 postdeps_CXX
='-library=Cstd -library=Crun'
13564 case " $postdeps_CXX " in
13565 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13567 compiler_lib_search_dirs_CXX
=
13568 if test -n "${compiler_lib_search_path_CXX}"; then
13569 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13602 lt_prog_compiler_wl_CXX
=
13603 lt_prog_compiler_pic_CXX
=
13604 lt_prog_compiler_static_CXX
=
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13607 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13609 # C++ specific cases for pic, static, wl, etc.
13610 if test "$GXX" = yes; then
13611 lt_prog_compiler_wl_CXX
='-Wl,'
13612 lt_prog_compiler_static_CXX
='-static'
13616 # All AIX code is PIC.
13617 if test "$host_cpu" = ia64
; then
13618 # AIX 5 now supports IA64 processor
13619 lt_prog_compiler_static_CXX
='-Bstatic'
13621 lt_prog_compiler_pic_CXX
='-fPIC'
13627 # see comment about AmigaOS4 .so support
13628 lt_prog_compiler_pic_CXX
='-fPIC'
13631 # FIXME: we need at least 68020 code to build shared libraries, but
13632 # adding the `-m68020' flag to GCC prevents building anything better,
13634 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13639 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13640 # PIC is the default for these OSes.
13642 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13643 # This hack is so that the source file can tell whether it is being
13644 # built for inclusion in a dll (and should export symbols for example).
13645 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13646 # (--disable-auto-import) libraries
13647 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13649 darwin
* | rhapsody
*)
13650 # PIC is the default on this platform
13651 # Common symbols not allowed in MH_DYLIB files
13652 lt_prog_compiler_pic_CXX
='-fno-common'
13655 # DJGPP does not support shared libraries at all
13656 lt_prog_compiler_pic_CXX
=
13659 # PIC is the default for Haiku.
13660 # The "-static" flag exists, but is broken.
13661 lt_prog_compiler_static_CXX
=
13664 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13665 # Instead, we relocate shared libraries at runtime.
13668 if test -d /usr
/nec
; then
13669 lt_prog_compiler_pic_CXX
=-Kconform_pic
13673 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13674 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13675 # sets the default TLS model and affects inlining.
13680 lt_prog_compiler_pic_CXX
='-fPIC'
13685 # QNX uses GNU C++, but need to define -shared option too, otherwise
13686 # it will coredump.
13687 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13690 lt_prog_compiler_pic_CXX
='-fPIC'
13696 # All AIX code is PIC.
13697 if test "$host_cpu" = ia64
; then
13698 # AIX 5 now supports IA64 processor
13699 lt_prog_compiler_static_CXX
='-Bstatic'
13701 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13705 case $cc_basename in
13707 # Green Hills C++ Compiler
13708 # _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"
13713 case $cc_basename in
13715 lt_prog_compiler_pic_CXX
='-KPIC'
13718 # Green Hills C++ Compiler
13719 lt_prog_compiler_pic_CXX
='-pic'
13725 freebsd
* | dragonfly
*)
13726 # FreeBSD uses GNU C++
13728 hpux9
* | hpux10
* | hpux11
*)
13729 case $cc_basename in
13731 lt_prog_compiler_wl_CXX
='-Wl,'
13732 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13733 if test "$host_cpu" != ia64
; then
13734 lt_prog_compiler_pic_CXX
='+Z'
13738 lt_prog_compiler_wl_CXX
='-Wl,'
13739 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13745 lt_prog_compiler_pic_CXX
='+Z'
13754 # This is c89, which is MS Visual C++ (no shared libs)
13755 # Anyone wants to do a port?
13757 irix5
* | irix6
* | nonstopux
*)
13758 case $cc_basename in
13760 lt_prog_compiler_wl_CXX
='-Wl,'
13761 lt_prog_compiler_static_CXX
='-non_shared'
13762 # CC pic flag -KPIC is the default.
13768 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13769 case $cc_basename in
13772 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13773 lt_prog_compiler_pic_CXX
='-fPIC'
13776 # old Intel C++ for x86_64 which still supported -KPIC.
13777 lt_prog_compiler_wl_CXX
='-Wl,'
13778 lt_prog_compiler_pic_CXX
='-KPIC'
13779 lt_prog_compiler_static_CXX
='-static'
13782 # Intel C++, used to be incompatible with GCC.
13783 # ICC 10 doesn't accept -KPIC any more.
13784 lt_prog_compiler_wl_CXX
='-Wl,'
13785 lt_prog_compiler_pic_CXX
='-fPIC'
13786 lt_prog_compiler_static_CXX
='-static'
13789 # Portland Group C++ compiler
13790 lt_prog_compiler_wl_CXX
='-Wl,'
13791 lt_prog_compiler_pic_CXX
='-fpic'
13792 lt_prog_compiler_static_CXX
='-Bstatic'
13796 # Make sure the PIC flag is empty. It appears that all Alpha
13797 # Linux and Compaq Tru64 Unix objects are PIC.
13798 lt_prog_compiler_pic_CXX
=
13799 lt_prog_compiler_static_CXX
='-non_shared'
13801 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13802 # IBM XL 8.0, 9.0 on PPC and BlueGene
13803 lt_prog_compiler_wl_CXX
='-Wl,'
13804 lt_prog_compiler_pic_CXX
='-qpic'
13805 lt_prog_compiler_static_CXX
='-qstaticlink'
13808 case `$CC -V 2>&1 | sed 5q` in
13811 lt_prog_compiler_pic_CXX
='-KPIC'
13812 lt_prog_compiler_static_CXX
='-Bstatic'
13813 lt_prog_compiler_wl_CXX
='-Qoption ld '
13824 case $cc_basename in
13826 lt_prog_compiler_pic_CXX
='-W c,exportall'
13835 # QNX uses GNU C++, but need to define -shared option too, otherwise
13836 # it will coredump.
13837 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13839 osf3
* | osf4
* | osf5
*)
13840 case $cc_basename in
13842 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13845 # Rational C++ 2.4.1
13846 lt_prog_compiler_pic_CXX
='-pic'
13849 # Digital/Compaq C++
13850 lt_prog_compiler_wl_CXX
='-Wl,'
13851 # Make sure the PIC flag is empty. It appears that all Alpha
13852 # Linux and Compaq Tru64 Unix objects are PIC.
13853 lt_prog_compiler_pic_CXX
=
13854 lt_prog_compiler_static_CXX
='-non_shared'
13863 case $cc_basename in
13865 # Sun C++ 4.2, 5.x and Centerline C++
13866 lt_prog_compiler_pic_CXX
='-KPIC'
13867 lt_prog_compiler_static_CXX
='-Bstatic'
13868 lt_prog_compiler_wl_CXX
='-Qoption ld '
13871 # Green Hills C++ Compiler
13872 lt_prog_compiler_pic_CXX
='-PIC'
13879 case $cc_basename in
13882 lt_prog_compiler_pic_CXX
='-pic'
13883 lt_prog_compiler_static_CXX
='-Bstatic'
13887 lt_prog_compiler_pic_CXX
='-pic'
13893 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13894 case $cc_basename in
13896 lt_prog_compiler_wl_CXX
='-Wl,'
13897 lt_prog_compiler_pic_CXX
='-KPIC'
13898 lt_prog_compiler_static_CXX
='-Bstatic'
13903 case $cc_basename in
13905 # NonStop-UX NCC 3.20
13906 lt_prog_compiler_pic_CXX
='-KPIC'
13915 lt_prog_compiler_can_build_shared_CXX
=no
13921 # For platforms which do not support PIC, -DPIC is meaningless:
13923 lt_prog_compiler_pic_CXX
=
13926 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13930 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13935 # Check to make sure the PIC flag actually works.
13937 if test -n "$lt_prog_compiler_pic_CXX"; then
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13939 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13940 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13941 $as_echo_n "(cached) " >&6
13943 lt_cv_prog_compiler_pic_works_CXX
=no
13944 ac_outfile
=conftest.
$ac_objext
13945 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13946 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13947 # Insert the option either (1) after the last *FLAGS variable, or
13948 # (2) before a word containing "conftest.", or (3) at the end.
13949 # Note that $ac_compile itself does not contain backslashes and begins
13950 # with a dollar sign (not a hyphen), so the echo should work correctly.
13951 # The option is referenced via a variable to avoid confusing sed.
13952 lt_compile
=`echo "$ac_compile" | $SED \
13953 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13954 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13955 -e 's:$: $lt_compiler_flag:'`
13956 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13957 (eval "$lt_compile" 2>conftest.err
)
13959 cat conftest.err
>&5
13960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13961 if (exit $ac_status) && test -s "$ac_outfile"; then
13962 # The compiler can only warn and ignore the option if not recognized
13963 # So say no if there are warnings other than the usual output.
13964 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13965 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13966 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13967 lt_cv_prog_compiler_pic_works_CXX
=yes
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13974 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13976 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13977 case $lt_prog_compiler_pic_CXX in
13979 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13982 lt_prog_compiler_pic_CXX
=
13983 lt_prog_compiler_can_build_shared_CXX
=no
13991 # Check to make sure the static flag actually works.
13993 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13995 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13996 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13997 $as_echo_n "(cached) " >&6
13999 lt_cv_prog_compiler_static_works_CXX
=no
14000 save_LDFLAGS
="$LDFLAGS"
14001 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14002 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14003 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14004 # The linker can only warn and ignore the option if not recognized
14005 # So say no if there are warnings
14006 if test -s conftest.err
; then
14007 # Append any errors to the config.log.
14008 cat conftest.err
1>&5
14009 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14010 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14011 if diff conftest.exp conftest.er2
>/dev
/null
; then
14012 lt_cv_prog_compiler_static_works_CXX
=yes
14015 lt_cv_prog_compiler_static_works_CXX
=yes
14019 LDFLAGS
="$save_LDFLAGS"
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14023 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14025 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14028 lt_prog_compiler_static_CXX
=
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14035 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14036 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14037 $as_echo_n "(cached) " >&6
14039 lt_cv_prog_compiler_c_o_CXX
=no
14040 $RM -r conftest
2>/dev
/null
14044 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14046 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14047 # Insert the option either (1) after the last *FLAGS variable, or
14048 # (2) before a word containing "conftest.", or (3) at the end.
14049 # Note that $ac_compile itself does not contain backslashes and begins
14050 # with a dollar sign (not a hyphen), so the echo should work correctly.
14051 lt_compile
=`echo "$ac_compile" | $SED \
14052 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14053 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14054 -e 's:$: $lt_compiler_flag:'`
14055 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14056 (eval "$lt_compile" 2>out
/conftest.err
)
14058 cat out
/conftest.err
>&5
14059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14060 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14062 # The compiler can only warn and ignore the option if not recognized
14063 # So say no if there are warnings
14064 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14065 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14066 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14067 lt_cv_prog_compiler_c_o_CXX
=yes
14072 # SGI C++ compiler will create directory out/ii_files/ for
14073 # template instantiation
14074 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14075 $RM out
/* && rmdir out
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14082 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14087 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14088 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14089 $as_echo_n "(cached) " >&6
14091 lt_cv_prog_compiler_c_o_CXX
=no
14092 $RM -r conftest
2>/dev
/null
14096 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14098 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14099 # Insert the option either (1) after the last *FLAGS variable, or
14100 # (2) before a word containing "conftest.", or (3) at the end.
14101 # Note that $ac_compile itself does not contain backslashes and begins
14102 # with a dollar sign (not a hyphen), so the echo should work correctly.
14103 lt_compile
=`echo "$ac_compile" | $SED \
14104 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14105 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14106 -e 's:$: $lt_compiler_flag:'`
14107 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14108 (eval "$lt_compile" 2>out
/conftest.err
)
14110 cat out
/conftest.err
>&5
14111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14112 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14114 # The compiler can only warn and ignore the option if not recognized
14115 # So say no if there are warnings
14116 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14117 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14118 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14119 lt_cv_prog_compiler_c_o_CXX
=yes
14124 # SGI C++ compiler will create directory out/ii_files/ for
14125 # template instantiation
14126 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14127 $RM out
/* && rmdir out
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14134 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14139 hard_links
="nottested"
14140 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14141 # do not overwrite the value of need_locks provided by the user
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14143 $as_echo_n "checking if we can lock with hard links... " >&6; }
14146 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14148 ln conftest.a conftest.b
2>&5 || hard_links
=no
14149 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14151 $as_echo "$hard_links" >&6; }
14152 if test "$hard_links" = no
; then
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14154 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14164 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14166 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14169 # If we're using GNU nm, then we don't want the "-C" option.
14170 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14171 # Also, AIX nm treats weak defined symbols like other global defined
14172 # symbols, whereas GNU nm marks them as "W".
14173 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14174 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'
14176 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'
14180 export_symbols_cmds_CXX
="$ltdll_cmds"
14182 cygwin
* | mingw
* | cegcc
*)
14183 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'
14186 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14189 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14192 $as_echo "$ld_shlibs_CXX" >&6; }
14193 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14195 with_gnu_ld_CXX
=$with_gnu_ld
14203 # Do we need to explicitly link libc?
14205 case "x$archive_cmds_need_lc_CXX" in
14207 # Assume -lc should be added
14208 archive_cmds_need_lc_CXX
=yes
14210 if test "$enable_shared" = yes && test "$GCC" = yes; then
14211 case $archive_cmds_CXX in
14213 # FIXME: we may have to deal with multi-command sequences.
14216 # Test whether the compiler implicitly links with -lc since on some
14217 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14218 # to ld, don't add -lc before -lgcc.
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14220 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14221 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14222 $as_echo_n "(cached) " >&6
14225 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14227 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14228 (eval $ac_compile) 2>&5
14230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14231 test $ac_status = 0; } 2>conftest.err
; then
14234 libobjs
=conftest.
$ac_objext
14236 wl
=$lt_prog_compiler_wl_CXX
14237 pic_flag
=$lt_prog_compiler_pic_CXX
14243 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14244 allow_undefined_flag_CXX
=
14245 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14246 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14249 test $ac_status = 0; }
14251 lt_cv_archive_cmds_need_lc_CXX
=no
14253 lt_cv_archive_cmds_need_lc_CXX
=yes
14255 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14257 cat conftest.err
1>&5
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14263 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14264 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14335 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14337 library_names_spec
=
14338 libname_spec
='lib$name'
14342 postuninstall_cmds
=
14346 shlibpath_overrides_runpath
=unknown
14348 dynamic_linker
="$host_os ld.so"
14349 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14350 need_lib_prefix
=unknown
14351 hardcode_into_libs
=no
14353 # when you set need_version to no, make sure it does not cause -set_version
14354 # flags to be left without arguments
14355 need_version
=unknown
14360 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14361 shlibpath_var
=LIBPATH
14363 # AIX 3 has no versioning support, so we append a major version to the name.
14364 soname_spec
='${libname}${release}${shared_ext}$major'
14371 hardcode_into_libs
=yes
14372 if test "$host_cpu" = ia64
; then
14373 # AIX 5 supports IA64
14374 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14375 shlibpath_var
=LD_LIBRARY_PATH
14377 # With GCC up to 2.95.x, collect2 would create an import file
14378 # for dependence libraries. The import file would start with
14379 # the line `#! .'. This would cause the generated library to
14380 # depend on `.', always an invalid library. This was fixed in
14381 # development snapshots of GCC prior to 3.0.
14383 aix4 | aix4.
[01] | aix4.
[01].
*)
14384 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14386 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14389 can_build_shared
=no
14393 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14394 # soname into executable. Probably we can add versioning support to
14395 # collect2, so additional links can be useful in future.
14396 if test "$aix_use_runtimelinking" = yes; then
14397 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14398 # instead of lib<name>.a to let people know that these are not
14399 # typical AIX shared libraries.
14400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14402 # We preserve .a as extension for shared libraries through AIX4.2
14403 # and later when we are not doing run time linking.
14404 library_names_spec
='${libname}${release}.a $libname.a'
14405 soname_spec
='${libname}${release}${shared_ext}$major'
14407 shlibpath_var
=LIBPATH
14414 # Since July 2007 AmigaOS4 officially supports .so libraries.
14415 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14419 library_names_spec
='$libname.ixlibrary $libname.a'
14420 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14421 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'
14427 library_names_spec
='${libname}${shared_ext}'
14428 dynamic_linker
="$host_os ld.so"
14429 shlibpath_var
=LIBRARY_PATH
14435 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14436 soname_spec
='${libname}${release}${shared_ext}$major'
14437 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14438 shlibpath_var
=LD_LIBRARY_PATH
14439 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14440 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14441 # the default ld.so.conf also contains /usr/contrib/lib and
14442 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14443 # libtool to hard-code these into programs
14446 cygwin
* | mingw
* | pw32
* | cegcc
*)
14447 version_type
=windows
14452 case $GCC,$host_os in
14453 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14454 library_names_spec
='$libname.dll.a'
14455 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14456 postinstall_cmds
='base_file=`basename \${file}`~
14457 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14458 dldir=$destdir/`dirname \$dlpath`~
14459 test -d \$dldir || mkdir -p \$dldir~
14460 $install_prog $dir/$dlname \$dldir/$dlname~
14461 chmod a+x \$dldir/$dlname~
14462 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14463 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14465 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14466 dlpath=$dir/\$dldll~
14468 shlibpath_overrides_runpath
=yes
14472 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14473 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14477 # MinGW DLLs use traditional 'lib' prefix
14478 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14481 # pw32 DLLs use 'pw' prefix rather than 'lib'
14482 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14488 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14491 dynamic_linker
='Win32 ld.exe'
14492 # FIXME: first we should search . and the directory the executable is in
14496 darwin
* | rhapsody
*)
14497 dynamic_linker
="$host_os dyld"
14498 version_type
=darwin
14501 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14502 soname_spec
='${libname}${release}${major}$shared_ext'
14503 shlibpath_overrides_runpath
=yes
14504 shlibpath_var
=DYLD_LIBRARY_PATH
14505 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14507 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14514 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14515 soname_spec
='${libname}${release}${shared_ext}$major'
14516 shlibpath_var
=LD_LIBRARY_PATH
14519 freebsd
* | dragonfly
*)
14520 # DragonFly does not have aout. When/if they implement a new
14521 # versioning mechanism, adjust this.
14522 if test -x /usr
/bin
/objformat
; then
14523 objformat
=`/usr/bin/objformat`
14526 freebsd
[23].
*) objformat
=aout
;;
14527 *) objformat
=elf
;;
14530 version_type
=freebsd-
$objformat
14531 case $version_type in
14533 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14538 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14542 shlibpath_var
=LD_LIBRARY_PATH
14545 shlibpath_overrides_runpath
=yes
14547 freebsd3.
[01]* | freebsdelf3.
[01]*)
14548 shlibpath_overrides_runpath
=yes
14549 hardcode_into_libs
=yes
14551 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14552 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14553 shlibpath_overrides_runpath
=no
14554 hardcode_into_libs
=yes
14556 *) # from 4.6 on, and DragonFly
14557 shlibpath_overrides_runpath
=yes
14558 hardcode_into_libs
=yes
14567 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14568 soname_spec
='${libname}${release}${shared_ext}$major'
14569 shlibpath_var
=LD_LIBRARY_PATH
14570 hardcode_into_libs
=yes
14577 dynamic_linker
="$host_os runtime_loader"
14578 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14579 soname_spec
='${libname}${release}${shared_ext}$major'
14580 shlibpath_var
=LIBRARY_PATH
14581 shlibpath_overrides_runpath
=yes
14582 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14583 hardcode_into_libs
=yes
14586 hpux9
* | hpux10
* | hpux11
*)
14587 # Give a soname corresponding to the major version so that dld.sl refuses to
14588 # link against other versions.
14595 hardcode_into_libs
=yes
14596 dynamic_linker
="$host_os dld.so"
14597 shlibpath_var
=LD_LIBRARY_PATH
14598 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14599 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14600 soname_spec
='${libname}${release}${shared_ext}$major'
14601 if test "X$HPUX_IA64_MODE" = X32
; then
14602 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14604 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14606 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14610 hardcode_into_libs
=yes
14611 dynamic_linker
="$host_os dld.sl"
14612 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14613 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14614 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14615 soname_spec
='${libname}${release}${shared_ext}$major'
14616 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14617 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14621 dynamic_linker
="$host_os dld.sl"
14622 shlibpath_var
=SHLIB_PATH
14623 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14624 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14625 soname_spec
='${libname}${release}${shared_ext}$major'
14628 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14629 postinstall_cmds
='chmod 555 $lib'
14630 # or fails outright, so override atomically:
14631 install_override_mode
=555
14638 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14639 soname_spec
='${libname}${release}${shared_ext}$major'
14640 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14641 shlibpath_var
=LD_LIBRARY_PATH
14642 shlibpath_overrides_runpath
=no
14643 hardcode_into_libs
=yes
14646 irix5
* | irix6
* | nonstopux
*)
14648 nonstopux
*) version_type
=nonstopux
;;
14650 if test "$lt_cv_prog_gnu_ld" = yes; then
14658 soname_spec
='${libname}${release}${shared_ext}$major'
14659 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14661 irix5
* | nonstopux
*)
14662 libsuff
= shlibsuff
=
14665 case $LD in # libtool.m4 will add one of these switches to LD
14666 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14667 libsuff
= shlibsuff
= libmagic
=32-bit;;
14668 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14669 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14670 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14671 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14672 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14676 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14677 shlibpath_overrides_runpath
=no
14678 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14679 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14680 hardcode_into_libs
=yes
14683 # No shared lib support for Linux oldld, aout, or coff.
14684 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14688 # This must be Linux ELF.
14689 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14694 soname_spec
='${libname}${release}${shared_ext}$major'
14695 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14696 shlibpath_var
=LD_LIBRARY_PATH
14697 shlibpath_overrides_runpath
=no
14699 # Some binutils ld are patched to set DT_RUNPATH
14700 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14701 $as_echo_n "(cached) " >&6
14703 lt_cv_shlibpath_overrides_runpath
=no
14704 save_LDFLAGS
=$LDFLAGS
14705 save_libdir
=$libdir
14706 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14707 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14709 /* end confdefs.h. */
14719 if ac_fn_cxx_try_link
"$LINENO"; then :
14720 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14721 lt_cv_shlibpath_overrides_runpath
=yes
14724 rm -f core conftest.err conftest.
$ac_objext \
14725 conftest
$ac_exeext conftest.
$ac_ext
14726 LDFLAGS
=$save_LDFLAGS
14727 libdir
=$save_libdir
14731 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14733 # This implies no fast_install, which is unacceptable.
14734 # Some rework will be needed to allow for fast_install
14735 # before this can be enabled.
14736 hardcode_into_libs
=yes
14738 # Append ld.so.conf contents to the search path
14739 if test -f /etc
/ld.so.conf
; then
14740 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' ' '`
14741 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14744 # We used to test for /lib/ld.so.1 and disable shared libraries on
14745 # powerpc, because MkLinux only supported shared libraries with the
14746 # GNU dynamic linker. Since this was broken with cross compilers,
14747 # most powerpc-linux boxes support dynamic linking these days and
14748 # people can always --disable-shared, the test was removed, and we
14749 # assume the GNU/Linux dynamic linker is in use.
14750 dynamic_linker
='GNU/Linux ld.so'
14757 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14758 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14759 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14760 dynamic_linker
='NetBSD (a.out) ld.so'
14762 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14763 soname_spec
='${libname}${release}${shared_ext}$major'
14764 dynamic_linker
='NetBSD ld.elf_so'
14766 shlibpath_var
=LD_LIBRARY_PATH
14767 shlibpath_overrides_runpath
=yes
14768 hardcode_into_libs
=yes
14773 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14774 shlibpath_var
=LD_LIBRARY_PATH
14775 shlibpath_overrides_runpath
=yes
14782 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14783 soname_spec
='${libname}${release}${shared_ext}$major'
14784 shlibpath_var
=LD_LIBRARY_PATH
14785 shlibpath_overrides_runpath
=no
14786 hardcode_into_libs
=yes
14787 dynamic_linker
='ldqnx.so'
14792 sys_lib_dlsearch_path_spec
="/usr/lib"
14794 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14796 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14797 *) need_version
=no
;;
14799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14800 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14801 shlibpath_var
=LD_LIBRARY_PATH
14802 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14804 openbsd2.
[89] | openbsd2.
[89].
*)
14805 shlibpath_overrides_runpath
=no
14808 shlibpath_overrides_runpath
=yes
14812 shlibpath_overrides_runpath
=yes
14817 libname_spec
='$name'
14820 library_names_spec
='$libname${shared_ext} $libname.a'
14821 dynamic_linker
='OS/2 ld.exe'
14822 shlibpath_var
=LIBPATH
14825 osf3
* | osf4
* | osf5
*)
14829 soname_spec
='${libname}${release}${shared_ext}$major'
14830 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14831 shlibpath_var
=LD_LIBRARY_PATH
14832 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14833 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14844 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14845 soname_spec
='${libname}${release}${shared_ext}$major'
14846 shlibpath_var
=LD_LIBRARY_PATH
14847 shlibpath_overrides_runpath
=yes
14848 hardcode_into_libs
=yes
14849 # ldd complains unless libraries are executable
14850 postinstall_cmds
='chmod +x $lib'
14855 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14856 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14857 shlibpath_var
=LD_LIBRARY_PATH
14858 shlibpath_overrides_runpath
=yes
14859 if test "$with_gnu_ld" = yes; then
14867 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14868 soname_spec
='${libname}${release}${shared_ext}$major'
14869 shlibpath_var
=LD_LIBRARY_PATH
14870 case $host_vendor in
14872 shlibpath_overrides_runpath
=no
14874 runpath_var
=LD_RUN_PATH
14882 shlibpath_overrides_runpath
=no
14883 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14889 if test -d /usr
/nec
;then
14891 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14892 soname_spec
='$libname${shared_ext}.$major'
14893 shlibpath_var
=LD_LIBRARY_PATH
14897 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14898 version_type
=freebsd-elf
14901 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14902 soname_spec
='${libname}${release}${shared_ext}$major'
14903 shlibpath_var
=LD_LIBRARY_PATH
14904 shlibpath_overrides_runpath
=yes
14905 hardcode_into_libs
=yes
14906 if test "$with_gnu_ld" = yes; then
14907 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14909 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14912 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14916 sys_lib_dlsearch_path_spec
='/usr/lib'
14920 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14924 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14925 shlibpath_var
=LD_LIBRARY_PATH
14926 shlibpath_overrides_runpath
=no
14927 hardcode_into_libs
=yes
14932 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14933 soname_spec
='${libname}${release}${shared_ext}$major'
14934 shlibpath_var
=LD_LIBRARY_PATH
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14942 $as_echo "$dynamic_linker" >&6; }
14943 test "$dynamic_linker" = no
&& can_build_shared
=no
14945 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14946 if test "$GCC" = yes; then
14947 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14950 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14951 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14953 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14954 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14995 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14996 hardcode_action_CXX
=
14997 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14998 test -n "$runpath_var_CXX" ||
14999 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15001 # We can hardcode non-existent directories.
15002 if test "$hardcode_direct_CXX" != no
&&
15003 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15004 # have to relink, otherwise we might link with an installed library
15005 # when we should be linking with a yet-to-be-installed one
15006 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15007 test "$hardcode_minus_L_CXX" != no
; then
15008 # Linking always hardcodes the temporary library directory.
15009 hardcode_action_CXX
=relink
15011 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15012 hardcode_action_CXX
=immediate
15015 # We cannot hardcode anything, or else we can only hardcode existing
15017 hardcode_action_CXX
=unsupported
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15020 $as_echo "$hardcode_action_CXX" >&6; }
15022 if test "$hardcode_action_CXX" = relink ||
15023 test "$inherit_rpath_CXX" = yes; then
15024 # Fast installation is not supported
15025 enable_fast_install
=no
15026 elif test "$shlibpath_overrides_runpath" = yes ||
15027 test "$enable_shared" = no
; then
15028 # Fast installation is not necessary
15029 enable_fast_install
=needless
15038 fi # test -n "$compiler"
15044 with_gnu_ld
=$lt_save_with_gnu_ld
15045 lt_cv_path_LDCXX
=$lt_cv_path_LD
15046 lt_cv_path_LD
=$lt_save_path_LD
15047 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15048 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15049 fi # test "$_lt_caught_CXX_error" != yes
15052 ac_cpp
='$CPP $CPPFLAGS'
15053 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15054 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15055 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15069 ac_config_commands
="$ac_config_commands libtool"
15074 # Only expand once:
15078 # The tests for host and target for $enable_largefile require
15083 # As the $enable_largefile decision depends on --enable-plugins we must set it
15084 # even in directories otherwise not depending on the $plugins option.
15088 for ac_header
in dlfcn.h
15090 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
15092 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
15093 cat >>confdefs.h
<<_ACEOF
15094 #define HAVE_DLFCN_H 1
15101 for ac_header
in windows.h
15103 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
15105 if test "x$ac_cv_header_windows_h" = x
""yes; then :
15106 cat >>confdefs.h
<<_ACEOF
15107 #define HAVE_WINDOWS_H 1
15115 # Check whether --enable-plugins was given.
15116 if test "${enable_plugins+set}" = set; then :
15117 enableval
=$enable_plugins; case "${enableval}" in
15120 if test "$maybe_plugins" != "yes" ; then
15121 as_fn_error
"Building with plugin support requires a host that supports dlopen." "$LINENO" 5
15125 plugins
=$maybe_plugins
15129 if test "$plugins" = "yes"; then
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
15131 $as_echo_n "checking for library containing dlopen... " >&6; }
15132 if test "${ac_cv_search_dlopen+set}" = set; then :
15133 $as_echo_n "(cached) " >&6
15135 ac_func_search_save_LIBS
=$LIBS
15136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15137 /* end confdefs.h. */
15139 /* Override any GCC internal prototype to avoid an error.
15140 Use char because int might match the return type of a GCC
15141 builtin and then its argument prototype would still apply. */
15154 for ac_lib
in '' dl
; do
15155 if test -z "$ac_lib"; then
15156 ac_res
="none required"
15159 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15161 if ac_fn_c_try_link
"$LINENO"; then :
15162 ac_cv_search_dlopen
=$ac_res
15164 rm -f core conftest.err conftest.
$ac_objext \
15166 if test "${ac_cv_search_dlopen+set}" = set; then :
15170 if test "${ac_cv_search_dlopen+set}" = set; then :
15173 ac_cv_search_dlopen
=no
15175 rm conftest.
$ac_ext
15176 LIBS
=$ac_func_search_save_LIBS
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
15179 $as_echo "$ac_cv_search_dlopen" >&6; }
15180 ac_res
=$ac_cv_search_dlopen
15181 if test "$ac_res" != no
; then :
15182 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15190 sparc-
*-solaris*|i
[3-7]86-*-solaris*)
15191 # On native 32bit sparc and ia32 solaris, large-file and procfs support
15192 # are mutually exclusive; and without procfs support, the bfd/ elf module
15193 # cannot provide certain routines such as elfcore_write_prpsinfo
15194 # or elfcore_write_prstatus. So unless the user explicitly requested
15195 # large-file support through the --enable-largefile switch, disable
15196 # large-file support in favor of procfs support.
15197 test "${target}" = "${host}" -a "x$plugins" = xno \
15198 && : ${enable_largefile="no"}
15202 # Check whether --enable-largefile was given.
15203 if test "${enable_largefile+set}" = set; then :
15204 enableval
=$enable_largefile;
15207 if test "$enable_largefile" != no
; then
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15210 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15211 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15212 $as_echo_n "(cached) " >&6
15214 ac_cv_sys_largefile_CC
=no
15215 if test "$GCC" != yes; then
15218 # IRIX 6.2 and later do not support large files by default,
15219 # so use the C compiler's -n32 option if that helps.
15220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15221 /* end confdefs.h. */
15222 #include <sys/types.h>
15223 /* Check that off_t can represent 2**63 - 1 correctly.
15224 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15225 since some C++ compilers masquerading as C compilers
15226 incorrectly reject 9223372036854775807. */
15227 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15228 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15229 && LARGE_OFF_T % 2147483647 == 1)
15239 if ac_fn_c_try_compile
"$LINENO"; then :
15242 rm -f core conftest.err conftest.
$ac_objext
15244 if ac_fn_c_try_compile
"$LINENO"; then :
15245 ac_cv_sys_largefile_CC
=' -n32'; break
15247 rm -f core conftest.err conftest.
$ac_objext
15251 rm -f conftest.
$ac_ext
15254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15255 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15256 if test "$ac_cv_sys_largefile_CC" != no
; then
15257 CC
=$CC$ac_cv_sys_largefile_CC
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15261 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15262 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15263 $as_echo_n "(cached) " >&6
15266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15267 /* end confdefs.h. */
15268 #include <sys/types.h>
15269 /* Check that off_t can represent 2**63 - 1 correctly.
15270 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15271 since some C++ compilers masquerading as C compilers
15272 incorrectly reject 9223372036854775807. */
15273 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15274 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15275 && LARGE_OFF_T % 2147483647 == 1)
15285 if ac_fn_c_try_compile
"$LINENO"; then :
15286 ac_cv_sys_file_offset_bits
=no
; break
15288 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15290 /* end confdefs.h. */
15291 #define _FILE_OFFSET_BITS 64
15292 #include <sys/types.h>
15293 /* Check that off_t can represent 2**63 - 1 correctly.
15294 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15295 since some C++ compilers masquerading as C compilers
15296 incorrectly reject 9223372036854775807. */
15297 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15298 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15299 && LARGE_OFF_T % 2147483647 == 1)
15309 if ac_fn_c_try_compile
"$LINENO"; then :
15310 ac_cv_sys_file_offset_bits
=64; break
15312 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15313 ac_cv_sys_file_offset_bits
=unknown
15317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15318 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15319 case $ac_cv_sys_file_offset_bits in #(
15322 cat >>confdefs.h
<<_ACEOF
15323 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15328 if test $ac_cv_sys_file_offset_bits = unknown
; then
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15330 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15331 if test "${ac_cv_sys_large_files+set}" = set; then :
15332 $as_echo_n "(cached) " >&6
15335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15336 /* end confdefs.h. */
15337 #include <sys/types.h>
15338 /* Check that off_t can represent 2**63 - 1 correctly.
15339 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15340 since some C++ compilers masquerading as C compilers
15341 incorrectly reject 9223372036854775807. */
15342 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15343 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15344 && LARGE_OFF_T % 2147483647 == 1)
15354 if ac_fn_c_try_compile
"$LINENO"; then :
15355 ac_cv_sys_large_files
=no
; break
15357 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15359 /* end confdefs.h. */
15360 #define _LARGE_FILES 1
15361 #include <sys/types.h>
15362 /* Check that off_t can represent 2**63 - 1 correctly.
15363 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15364 since some C++ compilers masquerading as C compilers
15365 incorrectly reject 9223372036854775807. */
15366 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15367 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15368 && LARGE_OFF_T % 2147483647 == 1)
15378 if ac_fn_c_try_compile
"$LINENO"; then :
15379 ac_cv_sys_large_files
=1; break
15381 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15382 ac_cv_sys_large_files
=unknown
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15387 $as_echo "$ac_cv_sys_large_files" >&6; }
15388 case $ac_cv_sys_large_files in #(
15391 cat >>confdefs.h
<<_ACEOF
15392 #define _LARGE_FILES $ac_cv_sys_large_files
15403 # Check whether --with-lib-path was given.
15404 if test "${with_lib_path+set}" = set; then :
15405 withval
=$with_lib_path; LIB_PATH
=$withval
15408 # Check whether --enable-targets was given.
15409 if test "${enable_targets+set}" = set; then :
15410 enableval
=$enable_targets; case "${enableval}" in
15411 yes |
"") as_fn_error
"enable-targets option must specify target names or 'all'" "$LINENO" 5
15413 no
) enable_targets
= ;;
15414 *) enable_targets
=$enableval ;;
15417 # Check whether --enable-64-bit-bfd was given.
15418 if test "${enable_64_bit_bfd+set}" = set; then :
15419 enableval
=$enable_64_bit_bfd; case "${enableval}" in
15420 yes) want64
=true
;;
15421 no
) want64
=false
;;
15422 *) as_fn_error
"bad value ${enableval} for 64-bit-bfd option" "$LINENO" 5 ;;
15429 # Check whether --with-sysroot was given.
15430 if test "${with_sysroot+set}" = set; then :
15431 withval
=$with_sysroot;
15432 case ${with_sysroot} in
15433 yes) TARGET_SYSTEM_ROOT
='${exec_prefix}/${target_alias}/sys-root' ;;
15434 *) TARGET_SYSTEM_ROOT
=$with_sysroot ;;
15437 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
15440 if test "x$prefix" = xNONE
; then
15441 test_prefix
=/usr
/local
15443 test_prefix
=$prefix
15445 if test "x$exec_prefix" = xNONE
; then
15446 test_exec_prefix
=$test_prefix
15448 test_exec_prefix
=$exec_prefix
15450 case ${TARGET_SYSTEM_ROOT} in
15451 "${test_prefix}"|
"${test_prefix}/"*|\
15452 "${test_exec_prefix}"|
"${test_exec_prefix}/"*|\
15453 '${prefix}'|
'${prefix}/'*|\
15454 '${exec_prefix}'|
'${exec_prefix}/'*)
15455 t
="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
15456 TARGET_SYSTEM_ROOT_DEFINE
="$t"
15463 TARGET_SYSTEM_ROOT
=
15464 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"\"'
15472 # Check whether --enable-gold was given.
15473 if test "${enable_gold+set}" = set; then :
15474 enableval
=$enable_gold; case "${enableval}" in
15476 install_as_default
=no
15477 installed_linker
=ld.bfd
15480 install_as_default
=yes
15481 installed_linker
=ld.bfd
15484 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
15488 install_as_default
=yes
15489 installed_linker
=ld.bfd
15495 # Check whether --enable-got was given.
15496 if test "${enable_got+set}" = set; then :
15497 enableval
=$enable_got; case "${enableval}" in
15498 target | single | negative | multigot
) got_handling
=$enableval ;;
15499 *) as_fn_error
"bad value ${enableval} for --enable-got option" "$LINENO" 5 ;;
15502 got_handling
=target
15506 case "${got_handling}" in
15509 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_TARGET_DEFAULT" >>confdefs.h
15513 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_SINGLE" >>confdefs.h
15517 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_NEGATIVE" >>confdefs.h
15521 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_MULTIGOT" >>confdefs.h
15523 *) as_fn_error
"bad value ${got_handling} for --enable-got option" "$LINENO" 5 ;;
15527 # Decide the default method for compressing debug sections.
15528 ac_default_compressed_debug_sections
=unset
15529 # Provide a configure time option to override our default.
15530 # Check whether --enable-compressed_debug_sections was given.
15531 if test "${enable_compressed_debug_sections+set}" = set; then :
15532 enableval
=$enable_compressed_debug_sections; case "${enableval}" in
15533 yes | all | ld
) ac_default_compressed_debug_sections
=yes ;;
15534 no | none
) ac_default_compressed_debug_sections
=no
;;
15535 *) ac_default_compressed_debug_sections
=unset ;;
15540 # Set the 'development' global.
15541 .
$srcdir/..
/bfd
/development.sh
15543 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
15544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15545 /* end confdefs.h. */
15548 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15549 $EGREP "^[0-3]$" >/dev
/null
2>&1; then :
15552 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wshadow"
15557 # Check whether --enable-werror was given.
15558 if test "${enable_werror+set}" = set; then :
15559 enableval
=$enable_werror; case "${enableval}" in
15560 yes | y
) ERROR_ON_WARNING
="yes" ;;
15561 no | n
) ERROR_ON_WARNING
="no" ;;
15562 *) as_fn_error
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
15567 # Disable -Wformat by default when using gcc on mingw
15570 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
15571 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
15577 # Enable -Werror by default when using gcc. Turn it off for releases.
15578 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true
; then
15579 ERROR_ON_WARNING
=yes
15583 if test "${ERROR_ON_WARNING}" = yes ; then
15584 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
15585 NO_WERROR
="-Wno-error"
15588 if test "${GCC}" = yes ; then
15589 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
15592 # Check whether --enable-build-warnings was given.
15593 if test "${enable_build_warnings+set}" = set; then :
15594 enableval
=$enable_build_warnings; case "${enableval}" in
15595 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
15596 no
) if test "${GCC}" = yes ; then
15599 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
15600 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
15601 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
15602 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
15603 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
15608 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
15609 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
15617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
15618 $as_echo_n "checking for LC_MESSAGES... " >&6; }
15619 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
15620 $as_echo_n "(cached) " >&6
15622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15623 /* end confdefs.h. */
15624 #include <locale.h>
15633 if ac_fn_c_try_link
"$LINENO"; then :
15634 am_cv_val_LC_MESSAGES
=yes
15636 am_cv_val_LC_MESSAGES
=no
15638 rm -f core conftest.err conftest.
$ac_objext \
15639 conftest
$ac_exeext conftest.
$ac_ext
15641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
15642 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
15643 if test $am_cv_val_LC_MESSAGES = yes; then
15645 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
15650 ac_config_headers
="$ac_config_headers config.h:config.in"
15656 if test -z "$target" ; then
15657 as_fn_error
"Unrecognized target system type; please check config.sub." "$LINENO" 5
15659 if test -z "$host" ; then
15660 as_fn_error
"Unrecognized host system type; please check config.sub." "$LINENO" 5
15663 # host-specific stuff:
15665 ALL_LINGUAS
="fr sv tr es da vi zh_CN zh_TW ga fi id bg it uk"
15666 # If we haven't got the data from the intl directory,
15667 # assume NLS is disabled.
15676 if test -f ..
/intl
/config.intl
; then
15677 . ..
/intl
/config.intl
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
15680 $as_echo_n "checking whether NLS is requested... " >&6; }
15681 if test x
"$USE_NLS" != xyes
; then
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15683 $as_echo "no" >&6; }
15685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15686 $as_echo "yes" >&6; }
15688 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
15691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
15692 $as_echo_n "checking for catalogs to be installed... " >&6; }
15693 # Look for .po and .gmo files in the source directory.
15696 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
15697 # If there aren't any .gmo files the shell will give us the
15698 # literal string "../path/to/srcdir/po/*.gmo" which has to be
15700 case "$cat" in *\
**)
15703 # The quadruple backslash is collapsed to a double backslash
15704 # by the backticks, then collapsed again by the double quotes,
15705 # leaving us with one backslash in the sed expression (right
15706 # before the dot that mustn't act as a wildcard).
15707 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
15708 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
15709 # The user is allowed to set LINGUAS to a list of languages to
15710 # install catalogs for. If it's empty that means "all of them."
15711 if test "x$LINGUAS" = x
; then
15712 CATALOGS
="$CATALOGS $cat"
15713 XLINGUAS
="$XLINGUAS $lang"
15715 case "$LINGUAS" in *$lang*)
15716 CATALOGS
="$CATALOGS $cat"
15717 XLINGUAS
="$XLINGUAS $lang"
15722 LINGUAS
="$XLINGUAS"
15723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
15724 $as_echo "$LINGUAS" >&6; }
15738 if test -n "$ac_aux_dir"; then
15739 case "$ac_aux_dir" in
15740 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
15741 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
15744 if test -z "$MKINSTALLDIRS"; then
15745 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
15750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
15751 $as_echo_n "checking whether NLS is requested... " >&6; }
15752 # Check whether --enable-nls was given.
15753 if test "${enable_nls+set}" = set; then :
15754 enableval
=$enable_nls; USE_NLS
=$enableval
15759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15760 $as_echo "$USE_NLS" >&6; }
15767 # Prepare PATH_SEPARATOR.
15768 # The user is always right.
15769 if test "${PATH_SEPARATOR+set}" != set; then
15770 echo "#! /bin/sh" >conf$$.sh
15771 echo "exit 0" >>conf$$.sh
15773 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
15781 # Find out how to test for executable files. Don't use a zero-byte file,
15782 # as systems may use methods other than mode bits to determine executability.
15783 cat >conf$$.
file <<_ASEOF
15787 chmod +x conf$$.
file
15788 if test -x conf$$.
file >/dev
/null
2>&1; then
15789 ac_executable_p
="test -x"
15791 ac_executable_p
="test -f"
15795 # Extract the first word of "msgfmt", so it can be a program name with args.
15796 set dummy msgfmt
; ac_word
=$2
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15798 $as_echo_n "checking for $ac_word... " >&6; }
15799 if test "${ac_cv_path_MSGFMT+set}" = set; then :
15800 $as_echo_n "(cached) " >&6
15804 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
15807 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
15808 for ac_dir
in $PATH; do
15810 test -z "$ac_dir" && ac_dir
=.
15811 for ac_exec_ext
in '' $ac_executable_extensions; do
15812 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15813 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
15814 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
15815 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
15822 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
15826 MSGFMT
="$ac_cv_path_MSGFMT"
15827 if test "$MSGFMT" != ":"; then
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15829 $as_echo "$MSGFMT" >&6; }
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15832 $as_echo "no" >&6; }
15835 # Extract the first word of "gmsgfmt", so it can be a program name with args.
15836 set dummy gmsgfmt
; ac_word
=$2
15837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15838 $as_echo_n "checking for $ac_word... " >&6; }
15839 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
15840 $as_echo_n "(cached) " >&6
15844 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
15847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15848 for as_dir
in $PATH
15851 test -z "$as_dir" && as_dir
=.
15852 for ac_exec_ext
in '' $ac_executable_extensions; do
15853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15854 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
15855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15862 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
15866 GMSGFMT
=$ac_cv_path_GMSGFMT
15867 if test -n "$GMSGFMT"; then
15868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15869 $as_echo "$GMSGFMT" >&6; }
15871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15872 $as_echo "no" >&6; }
15878 # Prepare PATH_SEPARATOR.
15879 # The user is always right.
15880 if test "${PATH_SEPARATOR+set}" != set; then
15881 echo "#! /bin/sh" >conf$$.sh
15882 echo "exit 0" >>conf$$.sh
15884 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
15892 # Find out how to test for executable files. Don't use a zero-byte file,
15893 # as systems may use methods other than mode bits to determine executability.
15894 cat >conf$$.
file <<_ASEOF
15898 chmod +x conf$$.
file
15899 if test -x conf$$.
file >/dev
/null
2>&1; then
15900 ac_executable_p
="test -x"
15902 ac_executable_p
="test -f"
15906 # Extract the first word of "xgettext", so it can be a program name with args.
15907 set dummy xgettext
; ac_word
=$2
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15909 $as_echo_n "checking for $ac_word... " >&6; }
15910 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
15911 $as_echo_n "(cached) " >&6
15913 case "$XGETTEXT" in
15915 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
15918 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
15919 for ac_dir
in $PATH; do
15921 test -z "$ac_dir" && ac_dir
=.
15922 for ac_exec_ext
in '' $ac_executable_extensions; do
15923 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15924 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
15925 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
15926 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
15933 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
15937 XGETTEXT
="$ac_cv_path_XGETTEXT"
15938 if test "$XGETTEXT" != ":"; then
15939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15940 $as_echo "$XGETTEXT" >&6; }
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15943 $as_echo "no" >&6; }
15949 # Prepare PATH_SEPARATOR.
15950 # The user is always right.
15951 if test "${PATH_SEPARATOR+set}" != set; then
15952 echo "#! /bin/sh" >conf$$.sh
15953 echo "exit 0" >>conf$$.sh
15955 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
15963 # Find out how to test for executable files. Don't use a zero-byte file,
15964 # as systems may use methods other than mode bits to determine executability.
15965 cat >conf$$.
file <<_ASEOF
15969 chmod +x conf$$.
file
15970 if test -x conf$$.
file >/dev
/null
2>&1; then
15971 ac_executable_p
="test -x"
15973 ac_executable_p
="test -f"
15977 # Extract the first word of "msgmerge", so it can be a program name with args.
15978 set dummy msgmerge
; ac_word
=$2
15979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15980 $as_echo_n "checking for $ac_word... " >&6; }
15981 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
15982 $as_echo_n "(cached) " >&6
15984 case "$MSGMERGE" in
15986 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
15989 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
15990 for ac_dir
in $PATH; do
15992 test -z "$ac_dir" && ac_dir
=.
15993 for ac_exec_ext
in '' $ac_executable_extensions; do
15994 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
15995 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
15996 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
16003 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
16007 MSGMERGE
="$ac_cv_path_MSGMERGE"
16008 if test "$MSGMERGE" != ":"; then
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
16010 $as_echo "$MSGMERGE" >&6; }
16012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16013 $as_echo "no" >&6; }
16017 if test "$GMSGFMT" != ":"; then
16018 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
16019 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
16022 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
16023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
16024 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
16029 if test "$XGETTEXT" != ":"; then
16030 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
16031 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
16035 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
16041 ac_config_commands
="$ac_config_commands default-1"
16047 for ac_prog
in 'bison -y' byacc
16049 # Extract the first word of "$ac_prog", so it can be a program name with args.
16050 set dummy
$ac_prog; ac_word
=$2
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16052 $as_echo_n "checking for $ac_word... " >&6; }
16053 if test "${ac_cv_prog_YACC+set}" = set; then :
16054 $as_echo_n "(cached) " >&6
16056 if test -n "$YACC"; then
16057 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
16059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16060 for as_dir
in $PATH
16063 test -z "$as_dir" && as_dir
=.
16064 for ac_exec_ext
in '' $ac_executable_extensions; do
16065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16066 ac_cv_prog_YACC
="$ac_prog"
16067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16076 YACC
=$ac_cv_prog_YACC
16077 if test -n "$YACC"; then
16078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
16079 $as_echo "$YACC" >&6; }
16081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16082 $as_echo "no" >&6; }
16086 test -n "$YACC" && break
16088 test -n "$YACC" || YACC
="yacc"
16090 for ac_prog
in flex
lex
16092 # Extract the first word of "$ac_prog", so it can be a program name with args.
16093 set dummy
$ac_prog; ac_word
=$2
16094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16095 $as_echo_n "checking for $ac_word... " >&6; }
16096 if test "${ac_cv_prog_LEX+set}" = set; then :
16097 $as_echo_n "(cached) " >&6
16099 if test -n "$LEX"; then
16100 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
16102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16103 for as_dir
in $PATH
16106 test -z "$as_dir" && as_dir
=.
16107 for ac_exec_ext
in '' $ac_executable_extensions; do
16108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16109 ac_cv_prog_LEX
="$ac_prog"
16110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16119 LEX
=$ac_cv_prog_LEX
16120 if test -n "$LEX"; then
16121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
16122 $as_echo "$LEX" >&6; }
16124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16125 $as_echo "no" >&6; }
16129 test -n "$LEX" && break
16131 test -n "$LEX" || LEX
=":"
16133 if test "x$LEX" != "x:"; then
16134 cat >conftest.l
<<_ACEOF
16140 e { yyless (input () != 0); }
16141 f { unput (yytext[0]); }
16142 . { BEGIN INITIAL; }
16144 #ifdef YYTEXT_POINTER
16145 extern char *yytext;
16150 return ! yylex () + ! yywrap ();
16153 { { ac_try
="$LEX conftest.l"
16154 case "(($ac_try" in
16155 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16156 *) ac_try_echo=$ac_try;;
16158 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16159 $as_echo "$ac_try_echo"; } >&5
16160 (eval "$LEX conftest.l") 2>&5
16162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16163 test $ac_status = 0; }
16164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
16165 $as_echo_n "checking lex output file root... " >&6; }
16166 if test "${ac_cv_prog_lex_root+set}" = set; then :
16167 $as_echo_n "(cached) " >&6
16170 if test -f lex.yy.c; then
16171 ac_cv_prog_lex_root=lex.yy
16172 elif test -f lexyy.c; then
16173 ac_cv_prog_lex_root=lexyy
16175 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
16178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
16179 $as_echo "$ac_cv_prog_lex_root" >&6; }
16180 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
16182 if test -z "${LEXLIB+set}"; then
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
16184 $as_echo_n "checking lex library... " >&6; }
16185 if test "${ac_cv_lib_lex+set}" = set; then :
16186 $as_echo_n "(cached) " >&6
16190 ac_cv_lib_lex='none needed'
16191 for ac_lib in '' -lfl -ll; do
16192 LIBS="$ac_lib $ac_save_LIBS"
16193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16194 /* end confdefs.h. */
16195 `cat $LEX_OUTPUT_ROOT.c
`
16197 if ac_fn_c_try_link "$LINENO"; then :
16198 ac_cv_lib_lex=$ac_lib
16200 rm -f core conftest.err conftest.$ac_objext \
16201 conftest$ac_exeext conftest.$ac_ext
16202 test "$ac_cv_lib_lex" != 'none needed' && break
16207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
16208 $as_echo "$ac_cv_lib_lex" >&6; }
16209 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
16213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
16214 $as_echo_n "checking whether yytext is a pointer... " >&6; }
16215 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
16216 $as_echo_n "(cached) " >&6
16218 # POSIX says lex can declare yytext either as a pointer or an array; the
16219 # default is implementation-dependent. Figure out which it is, since
16220 # not all implementations provide the %pointer and %array declarations.
16221 ac_cv_prog_lex_yytext_pointer=no
16223 LIBS="$LEXLIB $ac_save_LIBS"
16224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16225 /* end confdefs.h. */
16226 #define YYTEXT_POINTER 1
16227 `cat $LEX_OUTPUT_ROOT.c
`
16229 if ac_fn_c_try_link "$LINENO"; then :
16230 ac_cv_prog_lex_yytext_pointer=yes
16232 rm -f core conftest.err conftest.$ac_objext \
16233 conftest$ac_exeext conftest.$ac_ext
16237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
16238 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
16239 if test $ac_cv_prog_lex_yytext_pointer = yes; then
16241 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
16244 rm -f conftest.l $LEX_OUTPUT_ROOT.c
16247 if test "$LEX" = :; then
16248 LEX=${am_missing_run}flex
16252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
16253 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
16254 # Check whether --enable-maintainer-mode was given.
16255 if test "${enable_maintainer_mode+set}" = set; then :
16256 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
16258 USE_MAINTAINER_MODE=no
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
16262 $as_echo "$USE_MAINTAINER_MODE" >&6; }
16263 if test $USE_MAINTAINER_MODE = yes; then
16264 MAINTAINER_MODE_TRUE=
16265 MAINTAINER_MODE_FALSE='#'
16267 MAINTAINER_MODE_TRUE='#'
16268 MAINTAINER_MODE_FALSE=
16271 MAINT=$MAINTAINER_MODE_TRUE
16275 GENINSRC_NEVER_TRUE=
16276 GENINSRC_NEVER_FALSE='#'
16278 GENINSRC_NEVER_TRUE='#'
16279 GENINSRC_NEVER_FALSE=
16282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
16283 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
16284 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
16285 $as_echo_n "(cached) " >&6
16289 gcc_cv_prog_cmp_skip='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
16290 if cmp t1 t2 2 2 > /dev/null 2>&1; then
16291 if cmp t1 t2 1 1 > /dev/null 2>&1; then
16294 gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
16297 if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
16298 if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
16301 gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
16308 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
16309 do_compare="$gcc_cv_prog_cmp_skip"
16313 . ${srcdir}/configure.host
16322 for ac_header in string.h strings.h stdlib.h unistd.h elf-hints.h limits.h locale.h sys/param.h
16324 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
16325 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16326 eval as_val=\$$as_ac_Header
16327 if test "x$as_val" = x""yes; then :
16328 cat >>confdefs.h <<_ACEOF
16329 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
16336 for ac_header in fcntl.h sys/file.h sys/time.h sys/stat.h
16338 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
16339 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16340 eval as_val=\$$as_ac_Header
16341 if test "x$as_val" = x""yes; then :
16342 cat >>confdefs.h <<_ACEOF
16343 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
16351 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
16352 if test "${gcc_cv_header_string+set}" = set; then :
16353 $as_echo_n "(cached) " >&6
16355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16356 /* end confdefs.h. */
16357 #include <string.h>
16358 #include <strings.h>
16367 if ac_fn_c_try_compile "$LINENO"; then :
16368 gcc_cv_header_string=yes
16370 gcc_cv_header_string=no
16372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
16375 $as_echo "$gcc_cv_header_string" >&6; }
16376 if test $gcc_cv_header_string = yes; then
16378 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
16382 for ac_func in glob mkstemp realpath sbrk setlocale waitpid
16384 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16385 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16386 eval as_val=\$$as_ac_var
16387 if test "x$as_val" = x""yes; then :
16388 cat >>confdefs.h <<_ACEOF
16389 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16395 for ac_func in open lseek close
16397 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16398 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16399 eval as_val=\$$as_ac_var
16400 if test "x$as_val" = x""yes; then :
16401 cat >>confdefs.h <<_ACEOF
16402 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16408 ac_header_dirent=no
16409 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
16410 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
16411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
16412 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
16413 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
16414 $as_echo_n "(cached) " >&6
16416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16417 /* end confdefs.h. */
16418 #include <sys/types.h>
16430 if ac_fn_c_try_compile "$LINENO"; then :
16431 eval "$as_ac_Header=yes"
16433 eval "$as_ac_Header=no"
16435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16437 eval ac_res=\$$as_ac_Header
16438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16439 $as_echo "$ac_res" >&6; }
16440 eval as_val=\$$as_ac_Header
16441 if test "x$as_val" = x""yes; then :
16442 cat >>confdefs.h <<_ACEOF
16443 #define `$as_echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
16446 ac_header_dirent=$ac_hdr; break
16450 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
16451 if test $ac_header_dirent = dirent.h; then
16452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
16453 $as_echo_n "checking for library containing opendir... " >&6; }
16454 if test "${ac_cv_search_opendir+set}" = set; then :
16455 $as_echo_n "(cached) " >&6
16457 ac_func_search_save_LIBS=$LIBS
16458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16459 /* end confdefs.h. */
16461 /* Override any GCC internal prototype to avoid an error.
16462 Use char because int might match the return type of a GCC
16463 builtin and then its argument prototype would still apply. */
16476 for ac_lib in '' dir; do
16477 if test -z "$ac_lib"; then
16478 ac_res="none required"
16481 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16483 if ac_fn_c_try_link "$LINENO"; then :
16484 ac_cv_search_opendir=$ac_res
16486 rm -f core conftest.err conftest.$ac_objext \
16488 if test "${ac_cv_search_opendir+set}" = set; then :
16492 if test "${ac_cv_search_opendir+set}" = set; then :
16495 ac_cv_search_opendir=no
16497 rm conftest.$ac_ext
16498 LIBS=$ac_func_search_save_LIBS
16500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
16501 $as_echo "$ac_cv_search_opendir" >&6; }
16502 ac_res=$ac_cv_search_opendir
16503 if test "$ac_res" != no; then :
16504 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
16510 $as_echo_n "checking for library containing opendir... " >&6; }
16511 if test "${ac_cv_search_opendir+set}" = set; then :
16512 $as_echo_n "(cached) " >&6
16514 ac_func_search_save_LIBS=$LIBS
16515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16516 /* end confdefs.h. */
16518 /* Override any GCC internal prototype to avoid an error.
16519 Use char because int might match the return type of a GCC
16520 builtin and then its argument prototype would still apply. */
16533 for ac_lib in '' x; do
16534 if test -z "$ac_lib"; then
16535 ac_res="none required"
16538 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16540 if ac_fn_c_try_link "$LINENO"; then :
16541 ac_cv_search_opendir=$ac_res
16543 rm -f core conftest.err conftest.$ac_objext \
16545 if test "${ac_cv_search_opendir+set}" = set; then :
16549 if test "${ac_cv_search_opendir+set}" = set; then :
16552 ac_cv_search_opendir=no
16554 rm conftest.$ac_ext
16555 LIBS=$ac_func_search_save_LIBS
16557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
16558 $as_echo "$ac_cv_search_opendir" >&6; }
16559 ac_res=$ac_cv_search_opendir
16560 if test "$ac_res" != no; then :
16561 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16568 for ac_header in stdlib.h unistd.h
16570 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
16571 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16572 eval as_val=\$$as_ac_Header
16573 if test "x$as_val" = x""yes; then :
16574 cat >>confdefs.h <<_ACEOF
16575 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
16582 for ac_func in getpagesize
16584 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
16585 if test "x$ac_cv_func_getpagesize" = x""yes; then :
16586 cat >>confdefs.h <<_ACEOF
16587 #define HAVE_GETPAGESIZE 1
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
16594 $as_echo_n "checking for working mmap... " >&6; }
16595 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
16596 $as_echo_n "(cached) " >&6
16598 if test "$cross_compiling" = yes; then :
16599 ac_cv_func_mmap_fixed_mapped=no
16601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16602 /* end confdefs.h. */
16603 $ac_includes_default
16604 /* malloc might have been renamed as rpl_malloc. */
16607 /* Thanks to Mike Haertel and Jim Avera for this test.
16608 Here is a matrix of mmap possibilities:
16609 mmap private not fixed
16610 mmap private fixed at somewhere currently unmapped
16611 mmap private fixed at somewhere already mapped
16612 mmap shared not fixed
16613 mmap shared fixed at somewhere currently unmapped
16614 mmap shared fixed at somewhere already mapped
16615 For private mappings, we should verify that changes cannot be read()
16616 back from the file, nor mmap's back from the file at a different
16617 address. (There have been systems where private was not correctly
16618 implemented like the infamous i386 svr4.0, and systems where the
16619 VM page cache was not coherent with the file system buffer cache
16620 like early versions of FreeBSD and possibly contemporary NetBSD.)
16621 For shared mappings, we should conversely verify that changes get
16622 propagated back to all the places they're supposed to be.
16624 Grep wants private fixed already mapped.
16625 The main things grep needs to know about mmap are:
16626 * does it exist and is it safe to write into the mmap'd area
16627 * how to use it (BSD variants) */
16630 #include <sys/mman.h>
16632 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
16636 /* This mess was copied from the GNU getpagesize.h. */
16637 #ifndef HAVE_GETPAGESIZE
16638 /* Assume that all systems that can run configure have sys/param.h. */
16639 # ifndef HAVE_SYS_PARAM_H
16640 # define HAVE_SYS_PARAM_H 1
16643 # ifdef _SC_PAGESIZE
16644 # define getpagesize() sysconf(_SC_PAGESIZE)
16645 # else /* no _SC_PAGESIZE */
16646 # ifdef HAVE_SYS_PARAM_H
16647 # include <sys/param.h>
16648 # ifdef EXEC_PAGESIZE
16649 # define getpagesize() EXEC_PAGESIZE
16650 # else /* no EXEC_PAGESIZE */
16652 # define getpagesize() NBPG * CLSIZE
16655 # endif /* no CLSIZE */
16656 # else /* no NBPG */
16658 # define getpagesize() NBPC
16659 # else /* no NBPC */
16661 # define getpagesize() PAGESIZE
16662 # endif /* PAGESIZE */
16663 # endif /* no NBPC */
16664 # endif /* no NBPG */
16665 # endif /* no EXEC_PAGESIZE */
16666 # else /* no HAVE_SYS_PARAM_H */
16667 # define getpagesize() 8192 /* punt totally */
16668 # endif /* no HAVE_SYS_PARAM_H */
16669 # endif /* no _SC_PAGESIZE */
16671 #endif /* no HAVE_GETPAGESIZE */
16676 char *data, *data2, *data3;
16680 pagesize = getpagesize ();
16682 /* First, make a file with some known garbage in it. */
16683 data = (char *) malloc (pagesize);
16686 for (i = 0; i < pagesize; ++i)
16687 *(data + i) = rand ();
16689 fd = creat ("conftest.mmap", 0600);
16692 if (write (fd, data, pagesize) != pagesize)
16696 /* Next, try to mmap the file at a fixed address which already has
16697 something else allocated at it. If we can, also make sure that
16698 we see the same garbage. */
16699 fd = open ("conftest.mmap", O_RDWR);
16702 data2 = (char *) malloc (2 * pagesize);
16705 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
16706 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
16707 MAP_PRIVATE | MAP_FIXED, fd, 0L))
16709 for (i = 0; i < pagesize; ++i)
16710 if (*(data + i) != *(data2 + i))
16713 /* Finally, make sure that changes to the mapped area do not
16714 percolate back to the file as seen by read(). (This is a bug on
16715 some variants of i386 svr4.0.) */
16716 for (i = 0; i < pagesize; ++i)
16717 *(data2 + i) = *(data2 + i) + 1;
16718 data3 = (char *) malloc (pagesize);
16721 if (read (fd, data3, pagesize) != pagesize)
16723 for (i = 0; i < pagesize; ++i)
16724 if (*(data + i) != *(data3 + i))
16730 if ac_fn_c_try_run "$LINENO"; then :
16731 ac_cv_func_mmap_fixed_mapped=yes
16733 ac_cv_func_mmap_fixed_mapped=no
16735 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16736 conftest.$ac_objext conftest.beam conftest.$ac_ext
16740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
16741 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
16742 if test $ac_cv_func_mmap_fixed_mapped = yes; then
16744 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
16747 rm -f conftest.mmap
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
16751 $as_echo_n "checking for library containing dlopen... " >&6; }
16752 if test "${ac_cv_search_dlopen+set}" = set; then :
16753 $as_echo_n "(cached) " >&6
16755 ac_func_search_save_LIBS=$LIBS
16756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16757 /* end confdefs.h. */
16759 /* Override any GCC internal prototype to avoid an error.
16760 Use char because int might match the return type of a GCC
16761 builtin and then its argument prototype would still apply. */
16774 for ac_lib in '' dl; do
16775 if test -z "$ac_lib"; then
16776 ac_res="none required"
16779 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16781 if ac_fn_c_try_link "$LINENO"; then :
16782 ac_cv_search_dlopen=$ac_res
16784 rm -f core conftest.err conftest.$ac_objext \
16786 if test "${ac_cv_search_dlopen+set}" = set; then :
16790 if test "${ac_cv_search_dlopen+set}" = set; then :
16793 ac_cv_search_dlopen=no
16795 rm conftest.$ac_ext
16796 LIBS=$ac_func_search_save_LIBS
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
16799 $as_echo "$ac_cv_search_dlopen" >&6; }
16800 ac_res=$ac_cv_search_dlopen
16801 if test "$ac_res" != no; then :
16802 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16806 if test x$plugins = xyes; then
16807 ENABLE_PLUGINS_TRUE=
16808 ENABLE_PLUGINS_FALSE='#'
16810 ENABLE_PLUGINS_TRUE='#'
16811 ENABLE_PLUGINS_FALSE=
16815 # Check whether --enable-initfini-array was given.
16816 if test "${enable_initfini_array+set}" = set; then :
16817 enableval=$enable_initfini_array;
16820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .preinit_array/.init_array/.fini_array support" >&5
16821 $as_echo_n "checking for .preinit_array/.init_array/.fini_array support... " >&6; }
16822 if test "${gcc_cv_initfini_array+set}" = set; then :
16823 $as_echo_n "(cached) " >&6
16825 if test "x${build}" = "x${target}" ; then
16826 if test "$cross_compiling" = yes; then :
16827 gcc_cv_initfini_array=no
16829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16830 /* end confdefs.h. */
16833 int main (void) { return x; }
16834 int foo (void) { x = 0; }
16835 int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
16837 if ac_fn_c_try_run "$LINENO"; then :
16838 gcc_cv_initfini_array=yes
16840 gcc_cv_initfini_array=no
16842 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16843 conftest.$ac_objext conftest.beam conftest.$ac_ext
16847 gcc_cv_initfini_array=no
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_initfini_array" >&5
16851 $as_echo "$gcc_cv_initfini_array" >&6; }
16852 enable_initfini_array=$gcc_cv_initfini_array
16857 if test $enable_initfini_array = yes; then
16859 $as_echo "#define HAVE_INITFINI_ARRAY 1" >>confdefs.h
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
16864 $as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
16865 if test "${ld_cv_decl_getopt_unistd_h+set}" = set; then :
16866 $as_echo_n "(cached) " >&6
16868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16869 /* end confdefs.h. */
16870 #include <unistd.h>
16874 extern int getopt (int, char *const*, const char *);
16879 if ac_fn_c_try_compile "$LINENO"; then :
16880 ld_cv_decl_getopt_unistd_h=yes
16882 ld_cv_decl_getopt_unistd_h=no
16884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_cv_decl_getopt_unistd_h" >&5
16888 $as_echo "$ld_cv_decl_getopt_unistd_h" >&6; }
16889 if test $ld_cv_decl_getopt_unistd_h = yes; then
16891 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
16897 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
16899 $as_echo "#define USE_BINARY_FOPEN 1" >>confdefs.h
16903 ac_fn_c_check_decl "$LINENO" "strstr" "ac_cv_have_decl_strstr" "$ac_includes_default"
16904 if test "x$ac_cv_have_decl_strstr" = x""yes; then :
16910 cat >>confdefs.h <<_ACEOF
16911 #define HAVE_DECL_STRSTR $ac_have_decl
16913 ac_fn_c_check_decl "$LINENO" "free" "ac_cv_have_decl_free" "$ac_includes_default"
16914 if test "x$ac_cv_have_decl_free" = x""yes; then :
16920 cat >>confdefs.h <<_ACEOF
16921 #define HAVE_DECL_FREE $ac_have_decl
16923 ac_fn_c_check_decl "$LINENO" "sbrk" "ac_cv_have_decl_sbrk" "$ac_includes_default"
16924 if test "x$ac_cv_have_decl_sbrk" = x""yes; then :
16930 cat >>confdefs.h <<_ACEOF
16931 #define HAVE_DECL_SBRK $ac_have_decl
16933 ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
16934 if test "x$ac_cv_have_decl_getenv" = x""yes; then :
16940 cat >>confdefs.h <<_ACEOF
16941 #define HAVE_DECL_GETENV $ac_have_decl
16943 ac_fn_c_check_decl "$LINENO" "environ" "ac_cv_have_decl_environ" "$ac_includes_default"
16944 if test "x$ac_cv_have_decl_environ" = x""yes; then :
16950 cat >>confdefs.h <<_ACEOF
16951 #define HAVE_DECL_ENVIRON $ac_have_decl
16955 # When converting linker scripts into strings for use in emulation
16956 # files, use astring.sed if the compiler supports ANSI string
16957 # concatenation, or ostring.sed otherwise. This is to support the
16958 # broken Microsoft MSVC compiler, which limits the length of string
16959 # constants, while still supporting pre-ANSI compilers which do not
16960 # support string concatenation.
16961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ANSI C string concatenation works" >&5
16962 $as_echo_n "checking whether ANSI C string concatenation works... " >&6; }
16963 if test "${ld_cv_string_concatenation+set}" = set; then :
16964 $as_echo_n "(cached) " >&6
16966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16967 /* end confdefs.h. */
16977 if ac_fn_c_try_compile "$LINENO"; then :
16978 ld_cv_string_concatenation=yes
16980 ld_cv_string_concatenation=no
16982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_cv_string_concatenation" >&5
16986 $as_echo "$ld_cv_string_concatenation" >&6; }
16987 if test "$ld_cv_string_concatenation" = "yes"; then
16988 STRINGIFY=astring.sed
16990 STRINGIFY=ostring.sed
16994 # target-specific stuff:
17004 # If the host is 64-bit, then we enable 64-bit targets by default.
17005 # This is consistent with what ../bfd/configure.ac does.
17006 if test x${want64} = xfalse; then
17007 # The cast to long int works around a bug in the HP C Compiler
17008 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17009 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
17010 # This bug is HP SR number 8606223364.
17011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
17012 $as_echo_n "checking size of void *... " >&6; }
17013 if test "${ac_cv_sizeof_void_p+set}" = set; then :
17014 $as_echo_n "(cached) " >&6
17016 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
17019 if test "$ac_cv_type_void_p" = yes; then
17020 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17021 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
17022 { as_fn_set_status 77
17023 as_fn_error "cannot compute sizeof (void *)
17024 See \`config.log
' for more details." "$LINENO" 5; }; }
17026 ac_cv_sizeof_void_p=0
17031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
17032 $as_echo "$ac_cv_sizeof_void_p" >&6; }
17036 cat >>confdefs.h <<_ACEOF
17037 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
17041 if test "x${ac_cv_sizeof_void_p}" = "x8"; then
17046 elf_list_options=FALSE
17047 elf_shlib_list_options=FALSE
17048 elf_plt_unwind_list_options=FALSE
17049 for targ_alias in `echo $target_alias $enable_targets | sed 's
/,/ /g
'`
17051 if test "$targ_alias" = "all"; then
17053 elf_list_options=TRUE
17054 elf_shlib_list_options=TRUE
17055 elf_plt_unwind_list_options=TRUE
17057 # Canonicalize the secondary target names.
17058 result=`$ac_config_sub $targ_alias 2>/dev/null`
17059 if test -n "$result"; then
17065 . ${srcdir}/configure.tgt
17067 if test "$targ" = "$target"; then
17071 if test x${want64} = xfalse; then
17072 . ${srcdir}/../bfd/config.bfd
17075 if test x${want64} = xtrue; then
17076 targ_extra_emuls="$targ_extra_emuls $targ64_extra_emuls"
17077 targ_extra_libpath="$targ_extra_libpath $targ64_extra_libpath"
17080 for i in $targ_emul $targ_extra_emuls $targ_extra_libpath; do
17081 case " $all_emuls " in
17084 all_emuls="$all_emuls e${i}.o"
17085 eval result=\$tdir_$i
17086 test -z "$result" && result=$targ_alias
17087 echo tdir_$i=$result >> tdirs
17090 elf_list_options=TRUE
17093 if $GREP "TEMPLATE_NAME=elf32" ${srcdir}/emulparams/${i}.sh >/dev/null 2>/dev/null; then
17094 elf_list_options=TRUE
17098 if test "$elf_list_options" = "TRUE"; then
17099 . ${srcdir}/emulparams/${i}.sh
17100 if test x${GENERATE_SHLIB_SCRIPT} = xyes; then
17101 elf_shlib_list_options=TRUE
17103 if test x${PLT_UNWIND} = xyes; then
17104 elf_plt_unwind_list_options=TRUE
17111 for i in $targ_emul $targ_extra_libpath; do
17112 case " $all_libpath " in
17115 if test -z "$all_libpath"; then
17118 all_libpath="$all_libpath ${i}"
17124 for i in $targ_extra_ofiles; do
17125 case " $all_emul_extras " in
17128 all_emul_extras="$all_emul_extras ${i}"
17136 if test x$ac_default_compressed_debug_sections == xyes ; then
17138 $as_echo "#define DEFAULT_FLAG_COMPRESS_DEBUG 1" >>confdefs.h
17150 if test x${all_targets} = xtrue; then
17151 if test x${want64} = xtrue; then
17152 EMULATION_OFILES='$
(ALL_EMULATIONS
) $
(ALL_64_EMULATIONS
)'
17153 EMUL_EXTRA_OFILES='$
(ALL_EMUL_EXTRA_OFILES
) $
(ALL_64_EMUL_EXTRA_OFILES
)'
17155 EMULATION_OFILES='$
(ALL_EMULATIONS
)'
17156 EMUL_EXTRA_OFILES='$
(ALL_EMUL_EXTRA_OFILES
)'
17159 EMULATION_OFILES=$all_emuls
17160 EMUL_EXTRA_OFILES=$all_emul_extras
17166 EMULATION_LIBPATH=$all_libpath
17169 if test x${enable_static} = xno; then
17170 TESTBFDLIB="--rpath ../bfd/.libs ../bfd/.libs/libbfd.so"
17172 TESTBFDLIB="../bfd/.libs/libbfd.a"
17176 target_vendor=${target_vendor=$host_vendor}
17177 case "$target_vendor" in
17178 hp) EXTRA_SHLIB_EXTENSION=".sl" ;;
17179 *) EXTRA_SHLIB_EXTENSION= ;;
17182 case "$target_os" in
17183 lynxos) EXTRA_SHLIB_EXTENSION=".a" ;;
17186 if test x${EXTRA_SHLIB_EXTENSION} != x ; then
17188 cat >>confdefs.h <<_ACEOF
17189 #define EXTRA_SHLIB_EXTENSION "$EXTRA_SHLIB_EXTENSION"
17199 ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
17201 cat >confcache <<\_ACEOF
17202 # This file is a shell script that caches the results of configure
17203 # tests run on this system so they can be shared between configure
17204 # scripts and configure runs, see configure's option
--config-cache.
17205 # It is not useful on other systems. If it contains results you don't
17206 # want to keep, you may remove or edit it.
17208 # config.status only pays attention to the cache file if you give it
17209 # the --recheck option to rerun configure.
17211 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17212 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17213 # following values.
17217 # The following way of writing the cache mishandles newlines in values,
17218 # but we know of no workaround that is simple, portable, and efficient.
17219 # So, we kill variables containing newlines.
17220 # Ultrix sh set writes to stderr and can't be redirected directly,
17221 # and sets the high bit in the cache file unless we assign to the vars.
17223 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17224 eval ac_val
=\$
$ac_var
17228 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17229 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17232 _ | IFS | as_nl
) ;; #(
17233 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17234 *) { eval $ac_var=; unset $ac_var;} ;;
17240 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17241 *${as_nl}ac_space
=\
*)
17242 # `set' does not quote correctly, so add quotes: double-quote
17243 # substitution turns \\\\ into \\, and sed turns \\ into \.
17246 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17249 # `set' quotes correctly as required by POSIX, so do not add quotes.
17250 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17259 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17261 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17263 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17264 if test -w "$cache_file"; then
17265 test "x$cache_file" != "x/dev/null" &&
17266 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17267 $as_echo "$as_me: updating cache $cache_file" >&6;}
17268 cat confcache
>$cache_file
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17271 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17276 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17277 # Let make expand exec_prefix.
17278 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17280 DEFS
=-DHAVE_CONFIG_H
17284 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17285 # 1. Remove the extension, and $U if already installed.
17286 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17287 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17288 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17289 # will be set to the directory where LIBOBJS objects are built.
17290 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17291 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17293 LIBOBJS
=$ac_libobjs
17295 LTLIBOBJS
=$ac_ltlibobjs
17298 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17299 as_fn_error
"conditional \"AMDEP\" was never defined.
17300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17302 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17303 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
17304 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17306 if test -n "$EXEEXT"; then
17308 am__EXEEXT_FALSE
='#'
17310 am__EXEEXT_TRUE
='#'
17314 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17315 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
17316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17318 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17319 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
17320 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17322 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17323 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
17324 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17326 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
17327 as_fn_error
"conditional \"GENINSRC_NEVER\" was never defined.
17328 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17330 if test -z "${ENABLE_PLUGINS_TRUE}" && test -z "${ENABLE_PLUGINS_FALSE}"; then
17331 as_fn_error
"conditional \"ENABLE_PLUGINS\" was never defined.
17332 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17335 : ${CONFIG_STATUS=./config.status}
17337 ac_clean_files_save
=$ac_clean_files
17338 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17339 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17340 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17342 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17344 # Generated by $as_me.
17345 # Run this file to recreate the current configuration.
17346 # Compiler output produced by configure, useful for debugging
17347 # configure, is in config.log if it exists.
17350 ac_cs_recheck=false
17353 SHELL=\${CONFIG_SHELL-$SHELL}
17356 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17357 ## -------------------- ##
17358 ## M4sh Initialization. ##
17359 ## -------------------- ##
17361 # Be more Bourne compatible
17362 DUALCASE
=1; export DUALCASE
# for MKS sh
17363 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17366 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17367 # is contrary to our usage. Disable this feature.
17368 alias -g '${1+"$@"}'='"$@"'
17369 setopt NO_GLOB_SUBST
17371 case `(set -o) 2>/dev/null` in #(
17383 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17384 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17385 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17386 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17387 # Prefer a ksh shell builtin over an external printf program on Solaris,
17388 # but without wasting forks for bash or zsh.
17389 if test -z "$BASH_VERSION$ZSH_VERSION" \
17390 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17391 as_echo='print
-r --'
17392 as_echo_n='print
-rn --'
17393 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17394 as_echo='printf %s
\n'
17395 as_echo_n='printf %s
'
17397 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17398 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17399 as_echo_n='/usr
/ucb
/echo -n'
17401 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17402 as_echo_n_body='eval
17406 expr "X$arg" : "X\\(.*\\)$as_nl";
17407 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17409 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17411 export as_echo_n_body
17412 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17414 export as_echo_body
17415 as_echo='sh
-c $as_echo_body as_echo
'
17418 # The user is always right.
17419 if test "${PATH_SEPARATOR+set}" != set; then
17421 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17422 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17429 # We need space, tab and new line, in precisely that order. Quoting is
17430 # there to prevent editors from complaining about space-tab.
17431 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17432 # splitting by setting IFS to empty value.)
17435 # Find who we are. Look in the path if we contain no directory separator.
17437 *[\\/]* ) as_myself=$0 ;;
17438 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17439 for as_dir in $PATH
17442 test -z "$as_dir" && as_dir=.
17443 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17449 # We did not find ourselves, most probably we were run as `sh COMMAND'
17450 # in which case we are not to be found in the path.
17451 if test "x$as_myself" = x
; then
17454 if test ! -f "$as_myself"; then
17455 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17459 # Unset variables that we do not need and which cause bugs (e.g. in
17460 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17461 # suppresses any "Segmentation fault" message there. '((' could
17462 # trigger a bug in pdksh 5.2.14.
17463 for as_var
in BASH_ENV ENV MAIL MAILPATH
17464 do eval test x\
${$as_var+set} = xset \
17465 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17478 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17481 # as_fn_error ERROR [LINENO LOG_FD]
17482 # ---------------------------------
17483 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17484 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17485 # script with status $?, using 1 if that was 0.
17488 as_status
=$?
; test $as_status -eq 0 && as_status
=1
17490 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17491 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
17493 $as_echo "$as_me: error: $1" >&2
17494 as_fn_exit
$as_status
17498 # as_fn_set_status STATUS
17499 # -----------------------
17500 # Set $? to STATUS, without forking.
17501 as_fn_set_status
()
17504 } # as_fn_set_status
17506 # as_fn_exit STATUS
17507 # -----------------
17508 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17512 as_fn_set_status
$1
17518 # Portably unset VAR.
17521 { eval $1=; unset $1;}
17523 as_unset
=as_fn_unset
17524 # as_fn_append VAR VALUE
17525 # ----------------------
17526 # Append the text in VALUE to the end of the definition contained in VAR. Take
17527 # advantage of any shell optimizations that allow amortized linear growth over
17528 # repeated appends, instead of the typical quadratic growth present in naive
17530 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17531 eval 'as_fn_append ()
17542 # as_fn_arith ARG...
17543 # ------------------
17544 # Perform arithmetic evaluation on the ARGs, and store the result in the
17545 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17546 # must be portable across $(()) and expr.
17547 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17548 eval 'as_fn_arith ()
17555 as_val
=`expr "$@" || test $? -eq 1`
17560 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17561 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17567 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17568 as_basename
=basename
17573 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17579 as_me
=`$as_basename -- "$0" ||
17580 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17581 X"$0" : 'X\(//\)$' \| \
17582 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17584 sed '/^.*\/\([^/][^/]*\)\/*$/{
17598 # Avoid depending upon Character Ranges.
17599 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17600 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17601 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17602 as_cr_digits
='0123456789'
17603 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17605 ECHO_C
= ECHO_N
= ECHO_T
=
17606 case `echo -n x` in #(((((
17608 case `echo 'xy\c'` in
17609 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17611 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17618 rm -f conf$$ conf$$.exe conf$$.
file
17619 if test -d conf$$.dir
; then
17620 rm -f conf$$.dir
/conf$$.
file
17623 mkdir conf$$.dir
2>/dev
/null
17625 if (echo >conf$$.
file) 2>/dev
/null
; then
17626 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17628 # ... but there are two gotchas:
17629 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17630 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17631 # In both cases, we have to default to `cp -p'.
17632 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17634 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17642 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17643 rmdir conf$$.dir
2>/dev
/null
17648 # Create "$as_dir" as a directory, including parents if necessary.
17653 -*) as_dir
=.
/$as_dir;;
17655 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17659 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17660 *) as_qdir
=$as_dir;;
17662 as_dirs
="'$as_qdir' $as_dirs"
17663 as_dir
=`$as_dirname -- "$as_dir" ||
17664 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17665 X"$as_dir" : 'X\(//\)[^/]' \| \
17666 X"$as_dir" : 'X\(//\)$' \| \
17667 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17668 $as_echo X"$as_dir" |
17669 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17673 /^X\(\/\/\)[^/].*/{
17686 test -d "$as_dir" && break
17688 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17689 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
17693 if mkdir
-p .
2>/dev
/null
; then
17694 as_mkdir_p
='mkdir -p "$as_dir"'
17696 test -d .
/-p && rmdir .
/-p
17700 if test -x / >/dev
/null
2>&1; then
17701 as_test_x
='test -x'
17703 if ls -dL / >/dev
/null
2>&1; then
17710 if test -d "$1"; then
17716 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17717 ???[sx]*):;;*)false;;esac;fi
17721 as_executable_p
=$as_test_x
17723 # Sed expression to map a string onto a valid CPP name.
17724 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17726 # Sed expression to map a string onto a valid variable name.
17727 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17731 ## ----------------------------------- ##
17732 ## Main body of $CONFIG_STATUS script. ##
17733 ## ----------------------------------- ##
17735 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17738 # Save the log message, to keep $0 and so on meaningful, and to
17739 # report actual input values of CONFIG_FILES etc. instead of their
17740 # values after options handling.
17742 This file was extended by ld $as_me 2.25.51, which was
17743 generated by GNU Autoconf 2.64. Invocation command line was
17745 CONFIG_FILES = $CONFIG_FILES
17746 CONFIG_HEADERS = $CONFIG_HEADERS
17747 CONFIG_LINKS = $CONFIG_LINKS
17748 CONFIG_COMMANDS = $CONFIG_COMMANDS
17751 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17756 case $ac_config_files in *"
17757 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17760 case $ac_config_headers in *"
17761 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17765 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17766 # Files that config.status was made for.
17767 config_files="$ac_config_files"
17768 config_headers="$ac_config_headers"
17769 config_commands="$ac_config_commands"
17773 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17775 \`$as_me' instantiates files and other configuration actions
17776 from templates according to the current configuration. Unless the files
17777 and actions are specified as TAGs, all are instantiated by default.
17779 Usage: $0 [OPTION]... [TAG]...
17781 -h, --help print this help, then exit
17782 -V, --version print version number and configuration settings, then exit
17783 -q, --quiet, --silent
17784 do not print progress messages
17785 -d, --debug don't remove temporary files
17786 --recheck update $as_me by reconfiguring in the same conditions
17787 --file=FILE[:TEMPLATE]
17788 instantiate the configuration file FILE
17789 --header=FILE[:TEMPLATE]
17790 instantiate the configuration header FILE
17792 Configuration files:
17795 Configuration headers:
17798 Configuration commands:
17801 Report bugs to the package provider."
17804 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17806 ld config.status 2.25.51
17807 configured by $0, generated by GNU Autoconf 2.64,
17808 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
17810 Copyright (C) 2009 Free Software Foundation, Inc.
17811 This config.status script is free software; the Free Software Foundation
17812 gives unlimited permission to copy, distribute and modify it."
17819 test -n "\$AWK" || AWK=awk
17822 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17823 # The default lists apply if the user does not specify any file.
17829 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17830 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17841 # Handling of the options.
17842 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17844 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17845 $as_echo "$ac_cs_version"; exit ;;
17846 --debug |
--debu |
--deb |
--de |
--d |
-d )
17848 --file |
--fil |
--fi |
--f )
17851 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17853 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17854 ac_need_defaults
=false
;;
17855 --header |
--heade |
--head |
--hea )
17858 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17860 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17861 ac_need_defaults
=false
;;
17863 # Conflict between --help and --header
17864 as_fn_error
"ambiguous option: \`$1'
17865 Try \`$0 --help' for more information.";;
17866 --help |
--hel |
-h )
17867 $as_echo "$ac_cs_usage"; exit ;;
17868 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17869 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17872 # This is an error.
17873 -*) as_fn_error
"unrecognized option: \`$1'
17874 Try \`$0 --help' for more information." ;;
17876 *) as_fn_append ac_config_targets
" $1"
17877 ac_need_defaults
=false
;;
17883 ac_configure_extra_args
=
17885 if $ac_cs_silent; then
17887 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17891 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17892 if \$ac_cs_recheck; then
17893 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17895 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17896 CONFIG_SHELL='$SHELL'
17897 export CONFIG_SHELL
17902 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17906 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17907 ## Running $as_me. ##
17913 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17917 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17920 # The HP-UX ksh and POSIX shell print the target directory to stdout
17921 # if CDPATH is set.
17922 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17924 sed_quote_subst='$sed_quote_subst'
17925 double_quote_subst='$double_quote_subst'
17926 delay_variable_subst='$delay_variable_subst'
17927 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17928 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17929 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17930 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17931 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17932 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17933 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17934 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17935 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17936 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17937 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17938 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17939 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17940 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17941 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17942 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17943 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17944 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17945 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17946 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17947 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17948 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17949 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17950 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17951 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17952 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17953 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17954 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17955 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17956 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17957 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17958 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17959 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17960 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17961 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17962 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17963 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17964 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17965 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17966 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17967 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17968 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17969 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17970 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17971 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17972 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17973 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17974 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17975 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"`'
17976 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17977 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17978 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17979 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17980 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17981 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17982 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17983 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17984 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17985 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17986 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17987 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17988 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17989 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17990 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17991 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17992 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17993 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17994 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17995 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17996 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17997 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17998 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17999 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18000 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18001 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18002 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18003 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18004 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18005 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18006 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18007 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
18008 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18009 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18010 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18011 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18012 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18013 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18014 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18015 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18016 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
18017 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18018 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18019 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18020 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18021 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18022 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18023 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18024 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18025 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18026 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18027 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18028 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18029 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18030 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18031 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18032 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18033 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18034 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18035 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18036 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18037 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18038 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18039 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18040 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18041 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18042 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18043 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18044 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18045 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18046 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18047 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
18048 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
18049 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
18050 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
18051 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
18052 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
18053 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
18054 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
18055 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18056 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18057 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18058 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18059 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18060 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18061 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18062 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18063 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18064 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18065 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
18066 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18067 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18068 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
18069 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18070 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18071 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18072 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18073 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18074 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18075 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18076 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18077 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18078 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18079 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
18080 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18081 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18082 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18083 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18084 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18085 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18086 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18087 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18088 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
18089 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18090 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18091 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18092 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18093 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18094 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18095 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18096 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18097 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18098 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18099 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18100 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18101 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18104 LTCFLAGS='$LTCFLAGS'
18105 compiler='$compiler_DEFAULT'
18107 # A function that is used when there is no print builtin or printf.
18108 func_fallback_echo ()
18110 eval 'cat <<_LTECHO_EOF
18115 # Quote evaled strings.
18129 deplibs_check_method \
18138 lt_cv_sys_global_symbol_pipe \
18139 lt_cv_sys_global_symbol_to_cdecl \
18140 lt_cv_sys_global_symbol_to_c_name_address \
18141 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18142 lt_prog_compiler_no_builtin_flag \
18143 lt_prog_compiler_wl \
18144 lt_prog_compiler_pic \
18145 lt_prog_compiler_static \
18146 lt_cv_prog_compiler_c_o \
18154 export_dynamic_flag_spec \
18155 whole_archive_flag_spec \
18156 compiler_needs_object \
18158 allow_undefined_flag \
18159 no_undefined_flag \
18160 hardcode_libdir_flag_spec \
18161 hardcode_libdir_flag_spec_ld \
18162 hardcode_libdir_separator \
18167 variables_saved_for_relink \
18169 library_names_spec \
18171 install_override_mode \
18175 compiler_lib_search_dirs \
18180 compiler_lib_search_path \
18184 lt_prog_compiler_no_builtin_flag_CXX \
18185 lt_prog_compiler_wl_CXX \
18186 lt_prog_compiler_pic_CXX \
18187 lt_prog_compiler_static_CXX \
18188 lt_cv_prog_compiler_c_o_CXX \
18189 export_dynamic_flag_spec_CXX \
18190 whole_archive_flag_spec_CXX \
18191 compiler_needs_object_CXX \
18193 allow_undefined_flag_CXX \
18194 no_undefined_flag_CXX \
18195 hardcode_libdir_flag_spec_CXX \
18196 hardcode_libdir_flag_spec_ld_CXX \
18197 hardcode_libdir_separator_CXX \
18198 fix_srcfile_path_CXX \
18199 exclude_expsyms_CXX \
18200 include_expsyms_CXX \
18201 file_list_spec_CXX \
18202 compiler_lib_search_dirs_CXX \
18203 predep_objects_CXX \
18204 postdep_objects_CXX \
18207 compiler_lib_search_path_CXX; do
18208 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18209 *[\\\\\\\`\\"\\\$]*)
18210 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18213 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18218 # Double-quote double-evaled strings.
18219 for var in reload_cmds \
18220 old_postinstall_cmds \
18221 old_postuninstall_cmds \
18223 extract_expsyms_cmds \
18224 old_archive_from_new_cmds \
18225 old_archive_from_expsyms_cmds \
18227 archive_expsym_cmds \
18229 module_expsym_cmds \
18230 export_symbols_cmds \
18233 postuninstall_cmds \
18235 sys_lib_search_path_spec \
18236 sys_lib_dlsearch_path_spec \
18238 old_archive_cmds_CXX \
18239 old_archive_from_new_cmds_CXX \
18240 old_archive_from_expsyms_cmds_CXX \
18242 archive_expsym_cmds_CXX \
18244 module_expsym_cmds_CXX \
18245 export_symbols_cmds_CXX \
18246 prelink_cmds_CXX; do
18247 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18248 *[\\\\\\\`\\"\\\$]*)
18249 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18252 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18257 ac_aux_dir='$ac_aux_dir'
18258 xsi_shell='$xsi_shell'
18259 lt_shell_append='$lt_shell_append'
18261 # See if we are running on zsh, and set the options which allow our
18262 # commands through without removal of \ escapes INIT.
18263 if test -n "\${ZSH_VERSION+set}" ; then
18264 setopt NO_GLOB_SUBST
18270 TIMESTAMP='$TIMESTAMP'
18278 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
18279 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
18281 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
18282 # Capture the value of LINGUAS because we need it to compute CATALOGS.
18283 LINGUAS="${LINGUAS-%UNSET%}"
18288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18290 # Handling of arguments.
18291 for ac_config_target
in $ac_config_targets
18293 case $ac_config_target in
18294 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
18295 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
18296 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
18297 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
18298 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
18299 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
18301 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18306 # If the user did not use the arguments to specify the items to instantiate,
18307 # then the envvar interface is used. Set only those that are not.
18308 # We use the long form for the default assignment because of an extremely
18309 # bizarre bug on SunOS 4.1.3.
18310 if $ac_need_defaults; then
18311 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18312 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18313 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18316 # Have a temporary directory for convenience. Make it in the build tree
18317 # simply because there is no reason against having it here, and in addition,
18318 # creating and moving files from /tmp can sometimes cause problems.
18319 # Hook for its removal unless debugging.
18320 # Note that there is a small window in which the directory will not be cleaned:
18321 # after its creation but before its name has been assigned to `$tmp'.
18325 trap 'exit_status=$?
18326 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
18328 trap 'as_fn_exit 1' 1 2 13 15
18330 # Create a (secure) tmp directory for tmp files.
18333 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18334 test -n "$tmp" && test -d "$tmp"
18337 tmp
=.
/conf$$
-$RANDOM
18338 (umask 077 && mkdir
"$tmp")
18339 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
18341 # Set up the scripts for CONFIG_FILES section.
18342 # No need to generate them if there are no CONFIG_FILES.
18343 # This happens for instance with `./config.status config.h'.
18344 if test -n "$CONFIG_FILES"; then
18346 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
18347 ac_cs_awk_getline
=:
18348 ac_cs_awk_pipe_init
=
18349 ac_cs_awk_read_file
='
18350 while ((getline aline < (F[key])) > 0)
18353 ac_cs_awk_pipe_fini
=
18355 ac_cs_awk_getline
=false
18356 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
18357 ac_cs_awk_read_file
='
18359 print "cat " F[key] " &&"
18360 '$ac_cs_awk_pipe_init
18361 # The final `:' finishes the AND list.
18362 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
18364 ac_cr
=`echo X | tr X '\015'`
18365 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18366 # But we know of no other shell where ac_cr would be empty at this
18367 # point, so we can use a bashism as a fallback.
18368 if test "x$ac_cr" = x
; then
18369 eval ac_cr
=\$
\'\\r
\'
18371 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18372 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18375 ac_cs_awk_cr
=$ac_cr
18378 echo 'BEGIN {' >"$tmp/subs1.awk" &&
18381 # Create commands to substitute file output variables.
18383 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
18384 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
18385 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
18388 } >conf$
$files.sh
&&
18389 . .
/conf$
$files.sh ||
18390 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
18391 rm -f conf$
$files.sh
18394 echo "cat >conf$$subs.awk <<_ACEOF" &&
18395 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18397 } >conf$$subs.sh ||
18398 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
18399 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
18401 for ac_last_try in false false false false false :; do
18402 . ./conf$$subs.sh ||
18403 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
18405 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18406 if test $ac_delim_n = $ac_delim_num; then
18408 elif $ac_last_try; then
18409 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
18411 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18414 rm -f conf$$subs.sh
18416 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18417 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
18421 s/^/S["/; s
/!.
*/"]=/
18431 s/\(.\{148\}\).*/\1/
18433 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18438 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18445 s/\(.\{148\}\).*/\1/
18447 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18451 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18456 ' <conf$$subs.awk | sed '
18461 ' >>$CONFIG_STATUS || ac_write_fail=1
18462 rm -f conf$$subs.awk
18463 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18465 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
18466 for (key in S) S_is_set[key] = 1
18468 \$ac_cs_awk_pipe_init
18472 nfields = split(line, field, "@
")
18474 len = length(field[1])
18475 for (i = 2; i < nfields; i++) {
18477 keylen = length(key)
18478 if (S_is_set[key]) {
18480 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18481 len += length(value) + length(field[++i])
18486 if (nfields == 3 && !substed) {
18488 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
18489 \$ac_cs_awk_read_file
18495 \$ac_cs_awk_pipe_fini
18498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18499 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18500 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18503 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
18504 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
18507 # VPATH may cause trouble with some makes, so we remove $(srcdir),
18508 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
18509 # trailing colons and then remove the whole line if VPATH becomes empty
18510 # (actually we leave an empty line to preserve line numbers).
18511 if test "x
$srcdir" = x.; then
18512 ac_vpsub='/^[ ]*VPATH[ ]*=/{
18513 s/:*\$(srcdir):*/:/
18514 s/:*\${srcdir}:*/:/
18516 s/^\([^=]*=[ ]*\):*/\1/
18522 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18523 fi # test -n "$CONFIG_FILES"
18525 # Set up the scripts for CONFIG_HEADERS section.
18526 # No need to generate them if there are no CONFIG_HEADERS.
18527 # This happens for instance with `./config.status Makefile'.
18528 if test -n "$CONFIG_HEADERS"; then
18529 cat >"$tmp/defines.
awk" <<\_ACAWK ||
18533 # Transform confdefs.h into an awk script `defines.awk', embedded as
18534 # here-document in config.status, that substitutes the proper values into
18535 # config.h.in to produce config.h.
18537 # Create a delimiter string that does not exist in confdefs.h, to ease
18538 # handling of long lines.
18540 for ac_last_try in false false :; do
18541 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
18542 if test -z "$ac_t"; then
18544 elif $ac_last_try; then
18545 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
18547 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18551 # For the awk script, D is an array of macro values keyed by name,
18552 # likewise P contains macro parameters if any. Preserve backslash
18553 # newline sequences.
18555 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18557 s/.\{148\}/&'"$ac_delim"'/g
18560 s/^[ ]*#[ ]*define[ ][ ]*/ /
18567 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18569 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18573 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18574 D["\
1"]=" \
3\\\\\\n
"\\/p
18576 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18581 s/.\{148\}/&'"$ac_delim"'/g
18586 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18589 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18591 ' <confdefs.h | sed '
18592 s/'"$ac_delim"'/"\\\
18593 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18595 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18596 for (key in D) D_is_set[key] = 1
18599 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18601 split(line, arg, " ")
18602 if (arg[1] == "#") {
18606 defundef
= substr
(arg
[1], 2)
18609 split(mac1
, mac2
, "(") #)
18611 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18612 if (D_is_set
[macro
]) {
18613 # Preserve the white space surrounding the "#".
18614 print prefix
"define", macro P
[macro
] D
[macro
]
18617 # Replace #undef with comments. This is necessary, for example,
18618 # in the case of _POSIX_SOURCE, which is predefined and required
18619 # on some systems where configure will not decide to define it.
18620 if (defundef
== "undef") {
18621 print
"/*", prefix defundef
, macro
, "*/"
18629 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18630 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
18631 fi # test -n "$CONFIG_HEADERS"
18634 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18639 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18641 case $ac_mode$ac_tag in
18643 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18644 :[FH
]-) ac_tag
=-:-;;
18645 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18662 -) ac_f
="$tmp/stdin";;
18663 *) # Look for the file first in the build tree, then in the source tree
18664 # (if the path is not absolute). The absolute path cannot be DOS-style,
18665 # because $ac_f cannot contain `:'.
18669 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18671 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
18673 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18674 as_fn_append ac_file_inputs
" '$ac_f'"
18677 # Let's still pretend it is `configure' which instantiates (i.e., don't
18678 # use $as_me), people would be surprised to read:
18679 # /* config.h. Generated by config.status. */
18680 configure_input
='Generated from '`
18681 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18683 if test x
"$ac_file" != x-
; then
18684 configure_input
="$ac_file. $configure_input"
18685 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18686 $as_echo "$as_me: creating $ac_file" >&6;}
18688 # Neutralize special characters interpreted by sed in replacement strings.
18689 case $configure_input in #(
18690 *\
&* |
*\|
* |
*\\* )
18691 ac_sed_conf_input
=`$as_echo "$configure_input" |
18692 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18693 *) ac_sed_conf_input
=$configure_input;;
18697 *:-:* |
*:-) cat >"$tmp/stdin" \
18698 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
18703 ac_dir
=`$as_dirname -- "$ac_file" ||
18704 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18705 X"$ac_file" : 'X\(//\)[^/]' \| \
18706 X"$ac_file" : 'X\(//\)$' \| \
18707 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18708 $as_echo X"$ac_file" |
18709 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18713 /^X\(\/\/\)[^/].*/{
18726 as_dir
="$ac_dir"; as_fn_mkdir_p
18730 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18732 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18733 # A ".." for each directory in $ac_dir_suffix.
18734 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18735 case $ac_top_builddir_sub in
18736 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18737 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18740 ac_abs_top_builddir
=$ac_pwd
18741 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18742 # for backward compatibility:
18743 ac_top_builddir
=$ac_top_build_prefix
18746 .
) # We are building in place.
18748 ac_top_srcdir
=$ac_top_builddir_sub
18749 ac_abs_top_srcdir
=$ac_pwd ;;
18750 [\\/]* | ?
:[\\/]* ) # Absolute name.
18751 ac_srcdir
=$srcdir$ac_dir_suffix;
18752 ac_top_srcdir
=$srcdir
18753 ac_abs_top_srcdir
=$srcdir ;;
18754 *) # Relative name.
18755 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18756 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18757 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18759 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18769 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18770 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
18772 ac_MKDIR_P
=$MKDIR_P
18774 [\\/$
]* | ?
:[\\/]* ) ;;
18775 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
18779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18780 # If the template does not know about datarootdir, expand it.
18781 # FIXME: This hack should be removed a few years after 2.60.
18782 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18793 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18794 *datarootdir
*) ac_datarootdir_seen
=yes;;
18795 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18797 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18799 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18800 ac_datarootdir_hack='
18801 s&@datadir@&$datadir&g
18802 s&@docdir@&$docdir&g
18803 s&@infodir@&$infodir&g
18804 s&@localedir@&$localedir&g
18805 s&@mandir@&$mandir&g
18806 s&\\\${datarootdir}&$datarootdir&g' ;;
18810 # Neutralize VPATH when `$srcdir' = `.'.
18811 # Shell code in configure.ac might set extrasub.
18812 # FIXME: do we really want to maintain this feature?
18813 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18814 ac_sed_extra="$ac_vpsub
18817 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18819 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18820 s|@configure_input@|
$ac_sed_conf_input|
;t t
18821 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18822 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18823 s
&@srcdir@
&$ac_srcdir&;t t
18824 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18825 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18826 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18827 s
&@builddir@
&$ac_builddir&;t t
18828 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18829 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18830 s
&@INSTALL@
&$ac_INSTALL&;t t
18831 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18832 $ac_datarootdir_hack
18834 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
18835 if $ac_cs_awk_getline; then
18836 $AWK -f "$tmp/subs.
awk"
18838 $AWK -f "$tmp/subs.
awk" | $SHELL
18840 || as_fn_error "could not create
$ac_file" "$LINENO" 5
18842 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18843 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
18844 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
18845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18846 which seems to be undefined. Please make sure it is defined." >&5
18847 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18848 which seems to be undefined. Please make sure it is defined." >&2;}
18852 -) cat "$tmp/out" && rm -f "$tmp/out";;
18853 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18855 || as_fn_error "could not create $ac_file" "$LINENO" 5
18861 if test x"$ac_file" != x-; then
18863 $as_echo "/* $configure_input */" \
18864 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18865 } >"$tmp/config.h" \
18866 || as_fn_error "could not create $ac_file" "$LINENO" 5
18867 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
18868 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18869 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18872 mv "$tmp/config.h" "$ac_file" \
18873 || as_fn_error "could not create $ac_file" "$LINENO" 5
18876 $as_echo "/* $configure_input */" \
18877 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18878 || as_fn_error "could not create -" "$LINENO" 5
18880 # Compute "$ac_file"'s index
in $config_headers.
18883 for _am_header
in $config_headers :; do
18884 case $_am_header in
18885 $_am_arg |
$_am_arg:* )
18888 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18891 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18892 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18893 X"$_am_arg" : 'X\(//\)[^/]' \| \
18894 X"$_am_arg" : 'X\(//\)$' \| \
18895 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18896 $as_echo X"$_am_arg" |
18897 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18901 /^X\(\/\/\)[^/].*/{
18913 s/.*/./; q'`/stamp-h
$_am_stamp_count
18916 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18917 $as_echo "$as_me: executing $ac_file commands" >&6;}
18922 case $ac_file$ac_mode in
18923 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
18924 # Autoconf 2.62 quotes --file arguments for eval, but not when files
18925 # are listed without --file. Let's play safe and only enable the eval
18926 # if we detect the quoting.
18927 case $CONFIG_FILES in
18928 *\'*) eval set x
"$CONFIG_FILES" ;;
18929 *) set x
$CONFIG_FILES ;;
18934 # Strip MF so we end up with the name of the file.
18935 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18936 # Check whether this is an Automake generated Makefile or not.
18937 # We used to match only the files named `Makefile.in', but
18938 # some people rename them; so instead we look at the file content.
18939 # Grep'ing the first line is not enough: some people post-process
18940 # each Makefile.in and add a new line on top of each file to say so.
18941 # Grep'ing the whole file is not good either: AIX grep has a line
18942 # limit of 2048, but all sed's we know have understand at least 4000.
18943 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
18944 dirpart
=`$as_dirname -- "$mf" ||
18945 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18946 X"$mf" : 'X\(//\)[^/]' \| \
18947 X"$mf" : 'X\(//\)$' \| \
18948 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18950 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18954 /^X\(\/\/\)[^/].*/{
18970 # Extract the definition of DEPDIR, am__include, and am__quote
18971 # from the Makefile without running `make'.
18972 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18973 test -z "$DEPDIR" && continue
18974 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18975 test -z "am__include" && continue
18976 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18977 # When using ansi2knr, U may be empty or an underscore; expand it
18978 U
=`sed -n 's/^U = //p' < "$mf"`
18979 # Find all dependency output files, they are included files with
18980 # $(DEPDIR) in their names. We invoke sed twice because it is the
18981 # simplest approach to changing $(DEPDIR) to its actual value in the
18983 for file in `sed -n "
18984 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18985 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18986 # Make sure the directory exists.
18987 test -f "$dirpart/$file" && continue
18988 fdir
=`$as_dirname -- "$file" ||
18989 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18990 X"$file" : 'X\(//\)[^/]' \| \
18991 X"$file" : 'X\(//\)$' \| \
18992 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18993 $as_echo X"$file" |
18994 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18998 /^X\(\/\/\)[^/].*/{
19011 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
19012 # echo "creating $dirpart/$file"
19013 echo '# dummy' > "$dirpart/$file"
19020 # See if we are running on zsh, and set the options which allow our
19021 # commands through without removal of \ escapes.
19022 if test -n "${ZSH_VERSION+set}" ; then
19023 setopt NO_GLOB_SUBST
19026 cfgfile
="${ofile}T"
19027 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19030 cat <<_LT_EOF >> "$cfgfile"
19033 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19034 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19035 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19036 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19038 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19039 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
19040 # Written by Gordon Matzigkeit, 1996
19042 # This file is part of GNU Libtool.
19044 # GNU Libtool is free software; you can redistribute it and/or
19045 # modify it under the terms of the GNU General Public License as
19046 # published by the Free Software Foundation; either version 2 of
19047 # the License, or (at your option) any later version.
19049 # As a special exception to the GNU General Public License,
19050 # if you distribute this file as part of a program or library that
19051 # is built using GNU Libtool, you may include this file under the
19052 # same distribution terms that you use for the rest of that program.
19054 # GNU Libtool is distributed in the hope that it will be useful,
19055 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19056 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19057 # GNU General Public License for more details.
19059 # You should have received a copy of the GNU General Public License
19060 # along with GNU Libtool; see the file COPYING. If not, a copy
19061 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19062 # obtained by writing to the Free Software Foundation, Inc.,
19063 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19066 # The names of the tagged configurations supported by this script.
19067 available_tags="CXX "
19069 # ### BEGIN LIBTOOL CONFIG
19071 # Which release of libtool.m4 was used?
19072 macro_version=$macro_version
19073 macro_revision=$macro_revision
19075 # Whether or not to build shared libraries.
19076 build_libtool_libs=$enable_shared
19078 # Whether or not to build static libraries.
19079 build_old_libs=$enable_static
19081 # What type of objects to build.
19084 # Whether or not to optimize for fast installation.
19085 fast_install=$enable_fast_install
19087 # Shell to use when invoking shell scripts.
19090 # An echo program that protects backslashes.
19094 host_alias=$host_alias
19098 # The build system.
19099 build_alias=$build_alias
19103 # A sed program that does not truncate output.
19106 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19107 Xsed="\$SED -e 1s/^X//"
19109 # A grep program that handles long lines.
19115 # A literal string matcher.
19118 # A BSD- or MS-compatible name lister.
19121 # Whether we need soft or hard links.
19124 # What is the maximum length of a command?
19125 max_cmd_len=$max_cmd_len
19127 # Object file suffix (normally "o").
19130 # Executable file suffix (normally "").
19133 # whether the shell understands "unset".
19136 # turn spaces into newlines.
19139 # turn newlines into spaces.
19142 # An object symbol dumper.
19143 OBJDUMP=$lt_OBJDUMP
19145 # Method to check whether dependent libraries are shared objects.
19146 deplibs_check_method=$lt_deplibs_check_method
19148 # Command to use when deplibs_check_method == "file_magic".
19149 file_magic_cmd=$lt_file_magic_cmd
19153 AR_FLAGS=$lt_AR_FLAGS
19155 # A symbol stripping program.
19158 # Commands used to install an old-style archive.
19160 old_postinstall_cmds=$lt_old_postinstall_cmds
19161 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19163 # Whether to use a lock for old archive extraction.
19164 lock_old_archive_extraction=$lock_old_archive_extraction
19169 # LTCC compiler flags.
19170 LTCFLAGS=$lt_CFLAGS
19172 # Take the output of nm and produce a listing of raw symbols and C names.
19173 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19175 # Transform the output of nm in a proper C declaration.
19176 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19178 # Transform the output of nm in a C name address pair.
19179 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19181 # Transform the output of nm in a C name address pair when lib prefix is needed.
19182 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19184 # The name of the directory that contains temporary libtool files.
19187 # Used to examine libraries when file_magic_cmd begins with "file".
19188 MAGIC_CMD=$MAGIC_CMD
19190 # Must we lock files when doing compilation?
19191 need_locks=$lt_need_locks
19193 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19194 DSYMUTIL=$lt_DSYMUTIL
19196 # Tool to change global to local symbols on Mac OS X.
19199 # Tool to manipulate fat objects and archives on Mac OS X.
19202 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19205 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19206 OTOOL64=$lt_OTOOL64
19208 # Old archive suffix (normally "a").
19211 # Shared library suffix (normally ".so").
19212 shrext_cmds=$lt_shrext_cmds
19214 # The commands to extract the exported symbol list from a shared archive.
19215 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19217 # Variables whose values should be saved in libtool wrapper scripts and
19218 # restored at link time.
19219 variables_saved_for_relink=$lt_variables_saved_for_relink
19221 # Do we need the "lib" prefix for modules?
19222 need_lib_prefix=$need_lib_prefix
19224 # Do we need a version for libraries?
19225 need_version=$need_version
19227 # Library versioning type.
19228 version_type=$version_type
19230 # Shared library runtime path variable.
19231 runpath_var=$runpath_var
19233 # Shared library path variable.
19234 shlibpath_var=$shlibpath_var
19236 # Is shlibpath searched before the hard-coded library search path?
19237 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19239 # Format of library name prefix.
19240 libname_spec=$lt_libname_spec
19242 # List of archive names. First name is the real one, the rest are links.
19243 # The last name is the one that the linker finds with -lNAME
19244 library_names_spec=$lt_library_names_spec
19246 # The coded name of the library, if different from the real name.
19247 soname_spec=$lt_soname_spec
19249 # Permission mode override for installation of shared libraries.
19250 install_override_mode=$lt_install_override_mode
19252 # Command to use after installation of a shared archive.
19253 postinstall_cmds=$lt_postinstall_cmds
19255 # Command to use after uninstallation of a shared archive.
19256 postuninstall_cmds=$lt_postuninstall_cmds
19258 # Commands used to finish a libtool library installation in a directory.
19259 finish_cmds=$lt_finish_cmds
19261 # As "finish_cmds", except a single script fragment to be evaled but
19263 finish_eval=$lt_finish_eval
19265 # Whether we should hardcode library paths into libraries.
19266 hardcode_into_libs=$hardcode_into_libs
19268 # Compile-time system search path for libraries.
19269 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19271 # Run-time system search path for libraries.
19272 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19274 # Whether dlopen is supported.
19275 dlopen_support=$enable_dlopen
19277 # Whether dlopen of programs is supported.
19278 dlopen_self=$enable_dlopen_self
19280 # Whether dlopen of statically linked programs is supported.
19281 dlopen_self_static=$enable_dlopen_self_static
19283 # Commands to strip libraries.
19284 old_striplib=$lt_old_striplib
19285 striplib=$lt_striplib
19288 # The linker used to build libraries.
19291 # How to create reloadable object files.
19292 reload_flag=$lt_reload_flag
19293 reload_cmds=$lt_reload_cmds
19295 # Commands used to build an old-style archive.
19296 old_archive_cmds=$lt_old_archive_cmds
19298 # A language specific compiler.
19301 # Is the compiler the GNU compiler?
19304 # Compiler flag to turn off builtin functions.
19305 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19307 # How to pass a linker flag through the compiler.
19308 wl=$lt_lt_prog_compiler_wl
19310 # Additional compiler flags for building library objects.
19311 pic_flag=$lt_lt_prog_compiler_pic
19313 # Compiler flag to prevent dynamic linking.
19314 link_static_flag=$lt_lt_prog_compiler_static
19316 # Does compiler simultaneously support -c and -o options?
19317 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19319 # Whether or not to add -lc for building shared libraries.
19320 build_libtool_need_lc=$archive_cmds_need_lc
19322 # Whether or not to disallow shared libs when runtime libs are static.
19323 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19325 # Compiler flag to allow reflexive dlopens.
19326 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19328 # Compiler flag to generate shared objects directly from archives.
19329 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19331 # Whether the compiler copes with passing no objects directly.
19332 compiler_needs_object=$lt_compiler_needs_object
19334 # Create an old-style archive from a shared archive.
19335 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19337 # Create a temporary old-style archive to link instead of a shared archive.
19338 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19340 # Commands used to build a shared archive.
19341 archive_cmds=$lt_archive_cmds
19342 archive_expsym_cmds=$lt_archive_expsym_cmds
19344 # Commands used to build a loadable module if different from building
19345 # a shared archive.
19346 module_cmds=$lt_module_cmds
19347 module_expsym_cmds=$lt_module_expsym_cmds
19349 # Whether we are building with GNU ld or not.
19350 with_gnu_ld=$lt_with_gnu_ld
19352 # Flag that allows shared libraries with undefined symbols to be built.
19353 allow_undefined_flag=$lt_allow_undefined_flag
19355 # Flag that enforces no undefined symbols.
19356 no_undefined_flag=$lt_no_undefined_flag
19358 # Flag to hardcode \$libdir into a binary during linking.
19359 # This must work even if \$libdir does not exist
19360 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19362 # If ld is used when linking, flag to hardcode \$libdir into a binary
19363 # during linking. This must work even if \$libdir does not exist.
19364 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19366 # Whether we need a single "-rpath" flag with a separated argument.
19367 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19369 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19370 # DIR into the resulting binary.
19371 hardcode_direct=$hardcode_direct
19373 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19374 # DIR into the resulting binary and the resulting library dependency is
19375 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19376 # library is relocated.
19377 hardcode_direct_absolute=$hardcode_direct_absolute
19379 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19380 # into the resulting binary.
19381 hardcode_minus_L=$hardcode_minus_L
19383 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19384 # into the resulting binary.
19385 hardcode_shlibpath_var=$hardcode_shlibpath_var
19387 # Set to "yes" if building a shared library automatically hardcodes DIR
19388 # into the library and all subsequent libraries and executables linked
19390 hardcode_automatic=$hardcode_automatic
19392 # Set to yes if linker adds runtime paths of dependent libraries
19393 # to runtime path list.
19394 inherit_rpath=$inherit_rpath
19396 # Whether libtool must link a program against all its dependency libraries.
19397 link_all_deplibs=$link_all_deplibs
19399 # Fix the shell variable \$srcfile for the compiler.
19400 fix_srcfile_path=$lt_fix_srcfile_path
19402 # Set to "yes" if exported symbols are required.
19403 always_export_symbols=$always_export_symbols
19405 # The commands to list exported symbols.
19406 export_symbols_cmds=$lt_export_symbols_cmds
19408 # Symbols that should not be listed in the preloaded symbols.
19409 exclude_expsyms=$lt_exclude_expsyms
19411 # Symbols that must always be exported.
19412 include_expsyms=$lt_include_expsyms
19414 # Commands necessary for linking programs (against libraries) with templates.
19415 prelink_cmds=$lt_prelink_cmds
19417 # Specify filename containing input files.
19418 file_list_spec=$lt_file_list_spec
19420 # How to hardcode a shared library path into an executable.
19421 hardcode_action=$hardcode_action
19423 # The directories searched by this compiler when creating a shared library.
19424 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19426 # Dependencies to place before and after the objects being linked to
19427 # create a shared library.
19428 predep_objects=$lt_predep_objects
19429 postdep_objects=$lt_postdep_objects
19430 predeps=$lt_predeps
19431 postdeps=$lt_postdeps
19433 # The library search path used internally by the compiler when linking
19434 # a shared library.
19435 compiler_lib_search_path=$lt_compiler_lib_search_path
19437 # ### END LIBTOOL CONFIG
19443 cat <<\_LT_EOF
>> "$cfgfile"
19444 # AIX sometimes has problems with the GCC collect2 program. For some
19445 # reason, if we set the COLLECT_NAMES environment variable, the problems
19446 # vanish in a puff of smoke.
19447 if test "X${COLLECT_NAMES+set}" != Xset
; then
19449 export COLLECT_NAMES
19456 ltmain
="$ac_aux_dir/ltmain.sh"
19459 # We use sed instead of cat because bash on DJGPP gets confused if
19460 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19461 # text mode, it properly converts lines to CR/LF. This bash problem
19462 # is reportedly fixed, but why not run on old versions too?
19463 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19464 ||
(rm -f "$cfgfile"; exit 1)
19468 cat << \_LT_EOF
>> "$cfgfile"
19470 # func_dirname file append nondir_replacement
19471 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19472 # otherwise set result to NONDIR_REPLACEMENT.
19476 */*) func_dirname_result
="${1%/*}${2}" ;;
19477 * ) func_dirname_result
="${3}" ;;
19481 # func_basename file
19484 func_basename_result
="${1##*/}"
19487 # func_dirname_and_basename file append nondir_replacement
19488 # perform func_basename and func_dirname in a single function
19490 # dirname: Compute the dirname of FILE. If nonempty,
19491 # add APPEND to the result, otherwise set result
19492 # to NONDIR_REPLACEMENT.
19493 # value returned in "$func_dirname_result"
19494 # basename: Compute filename of FILE.
19495 # value retuned in "$func_basename_result"
19496 # Implementation must be kept synchronized with func_dirname
19497 # and func_basename. For efficiency, we do not delegate to
19498 # those functions but instead duplicate the functionality here.
19499 func_dirname_and_basename
()
19502 */*) func_dirname_result
="${1%/*}${2}" ;;
19503 * ) func_dirname_result
="${3}" ;;
19505 func_basename_result
="${1##*/}"
19508 # func_stripname prefix suffix name
19509 # strip PREFIX and SUFFIX off of NAME.
19510 # PREFIX and SUFFIX must not contain globbing or regex special
19511 # characters, hashes, percent signs, but SUFFIX may contain a leading
19512 # dot (in which case that matches only a dot).
19515 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
19516 # positional parameters, so assign one to ordinary parameter first.
19517 func_stripname_result
=${3}
19518 func_stripname_result
=${func_stripname_result#"${1}"}
19519 func_stripname_result
=${func_stripname_result%"${2}"}
19525 func_opt_split_opt
=${1%%=*}
19526 func_opt_split_arg
=${1#*=}
19533 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
19534 *) func_lo2o_result
=${1} ;;
19538 # func_xform libobj-or-source
19541 func_xform_result
=${1%.*}.lo
19544 # func_arith arithmetic-term...
19547 func_arith_result
=$
(( $
* ))
19551 # STRING may not start with a hyphen.
19554 func_len_result
=${#1}
19559 *) # Bourne compatible functions.
19560 cat << \_LT_EOF
>> "$cfgfile"
19562 # func_dirname file append nondir_replacement
19563 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19564 # otherwise set result to NONDIR_REPLACEMENT.
19567 # Extract subdirectory from the argument.
19568 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
19569 if test "X$func_dirname_result" = "X${1}"; then
19570 func_dirname_result
="${3}"
19572 func_dirname_result
="$func_dirname_result${2}"
19576 # func_basename file
19579 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
19583 # func_stripname prefix suffix name
19584 # strip PREFIX and SUFFIX off of NAME.
19585 # PREFIX and SUFFIX must not contain globbing or regex special
19586 # characters, hashes, percent signs, but SUFFIX may contain a leading
19587 # dot (in which case that matches only a dot).
19588 # func_strip_suffix prefix name
19592 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
19593 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
19598 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
19599 my_sed_long_arg
='1s/^-[^=]*=//'
19604 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
19605 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
19611 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
19614 # func_xform libobj-or-source
19617 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
19620 # func_arith arithmetic-term...
19623 func_arith_result
=`expr "$@"`
19627 # STRING may not start with a hyphen.
19630 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19636 case $lt_shell_append in
19638 cat << \_LT_EOF
>> "$cfgfile"
19640 # func_append var value
19641 # Append VALUE to the end of shell variable VAR.
19649 cat << \_LT_EOF
>> "$cfgfile"
19651 # func_append var value
19652 # Append VALUE to the end of shell variable VAR.
19663 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19664 ||
(rm -f "$cfgfile"; exit 1)
19666 mv -f "$cfgfile" "$ofile" ||
19667 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19671 cat <<_LT_EOF >> "$ofile"
19673 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19675 # The linker used to build libraries.
19678 # How to create reloadable object files.
19679 reload_flag=$lt_reload_flag_CXX
19680 reload_cmds=$lt_reload_cmds_CXX
19682 # Commands used to build an old-style archive.
19683 old_archive_cmds=$lt_old_archive_cmds_CXX
19685 # A language specific compiler.
19686 CC=$lt_compiler_CXX
19688 # Is the compiler the GNU compiler?
19691 # Compiler flag to turn off builtin functions.
19692 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19694 # How to pass a linker flag through the compiler.
19695 wl=$lt_lt_prog_compiler_wl_CXX
19697 # Additional compiler flags for building library objects.
19698 pic_flag=$lt_lt_prog_compiler_pic_CXX
19700 # Compiler flag to prevent dynamic linking.
19701 link_static_flag=$lt_lt_prog_compiler_static_CXX
19703 # Does compiler simultaneously support -c and -o options?
19704 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19706 # Whether or not to add -lc for building shared libraries.
19707 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19709 # Whether or not to disallow shared libs when runtime libs are static.
19710 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19712 # Compiler flag to allow reflexive dlopens.
19713 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19715 # Compiler flag to generate shared objects directly from archives.
19716 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19718 # Whether the compiler copes with passing no objects directly.
19719 compiler_needs_object=$lt_compiler_needs_object_CXX
19721 # Create an old-style archive from a shared archive.
19722 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19724 # Create a temporary old-style archive to link instead of a shared archive.
19725 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19727 # Commands used to build a shared archive.
19728 archive_cmds=$lt_archive_cmds_CXX
19729 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19731 # Commands used to build a loadable module if different from building
19732 # a shared archive.
19733 module_cmds=$lt_module_cmds_CXX
19734 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19736 # Whether we are building with GNU ld or not.
19737 with_gnu_ld=$lt_with_gnu_ld_CXX
19739 # Flag that allows shared libraries with undefined symbols to be built.
19740 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19742 # Flag that enforces no undefined symbols.
19743 no_undefined_flag=$lt_no_undefined_flag_CXX
19745 # Flag to hardcode \$libdir into a binary during linking.
19746 # This must work even if \$libdir does not exist
19747 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19749 # If ld is used when linking, flag to hardcode \$libdir into a binary
19750 # during linking. This must work even if \$libdir does not exist.
19751 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
19753 # Whether we need a single "-rpath" flag with a separated argument.
19754 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19756 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19757 # DIR into the resulting binary.
19758 hardcode_direct=$hardcode_direct_CXX
19760 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19761 # DIR into the resulting binary and the resulting library dependency is
19762 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19763 # library is relocated.
19764 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19766 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19767 # into the resulting binary.
19768 hardcode_minus_L=$hardcode_minus_L_CXX
19770 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19771 # into the resulting binary.
19772 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19774 # Set to "yes" if building a shared library automatically hardcodes DIR
19775 # into the library and all subsequent libraries and executables linked
19777 hardcode_automatic=$hardcode_automatic_CXX
19779 # Set to yes if linker adds runtime paths of dependent libraries
19780 # to runtime path list.
19781 inherit_rpath=$inherit_rpath_CXX
19783 # Whether libtool must link a program against all its dependency libraries.
19784 link_all_deplibs=$link_all_deplibs_CXX
19786 # Fix the shell variable \$srcfile for the compiler.
19787 fix_srcfile_path=$lt_fix_srcfile_path_CXX
19789 # Set to "yes" if exported symbols are required.
19790 always_export_symbols=$always_export_symbols_CXX
19792 # The commands to list exported symbols.
19793 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19795 # Symbols that should not be listed in the preloaded symbols.
19796 exclude_expsyms=$lt_exclude_expsyms_CXX
19798 # Symbols that must always be exported.
19799 include_expsyms=$lt_include_expsyms_CXX
19801 # Commands necessary for linking programs (against libraries) with templates.
19802 prelink_cmds=$lt_prelink_cmds_CXX
19804 # Specify filename containing input files.
19805 file_list_spec=$lt_file_list_spec_CXX
19807 # How to hardcode a shared library path into an executable.
19808 hardcode_action=$hardcode_action_CXX
19810 # The directories searched by this compiler when creating a shared library.
19811 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19813 # Dependencies to place before and after the objects being linked to
19814 # create a shared library.
19815 predep_objects=$lt_predep_objects_CXX
19816 postdep_objects=$lt_postdep_objects_CXX
19817 predeps=$lt_predeps_CXX
19818 postdeps=$lt_postdeps_CXX
19820 # The library search path used internally by the compiler when linking
19821 # a shared library.
19822 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19824 # ### END LIBTOOL TAG CONFIG: CXX
19829 for ac_file
in $CONFIG_FILES; do
19830 # Support "outfile[:infile[:infile...]]"
19832 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
19834 # PO directories have a Makefile.in generated from Makefile.in.in.
19835 case "$ac_file" in */Makefile.
in)
19836 # Adjust a relative srcdir.
19837 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
19838 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
19839 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
19840 # In autoconf-2.13 it is called $ac_given_srcdir.
19841 # In autoconf-2.50 it is called $srcdir.
19842 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
19843 case "$ac_given_srcdir" in
19844 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
19845 /*) top_srcdir
="$ac_given_srcdir" ;;
19846 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
19848 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
19849 rm -f "$ac_dir/POTFILES"
19850 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
19851 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
19852 POMAKEFILEDEPS
="POTFILES.in"
19853 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
19854 # on $ac_dir but don't depend on user-specified configuration
19856 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
19857 # The LINGUAS file contains the set of available languages.
19858 if test -n "$OBSOLETE_ALL_LINGUAS"; then
19859 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" ||
echo "setting ALL_LINGUAS in configure.ac is obsolete"
19861 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
19862 # Hide the ALL_LINGUAS assigment from automake.
19863 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
19864 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
19866 # The set of available languages was given in configure.ac.
19867 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
19869 case "$ac_given_srcdir" in
19871 *) srcdirpre
='$(srcdir)/' ;;
19877 for lang
in $ALL_LINGUAS; do
19878 POFILES
="$POFILES $srcdirpre$lang.po"
19879 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
19880 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
19881 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
19883 # CATALOGS depends on both $ac_dir and the user's LINGUAS
19884 # environment variable.
19886 if test -n "$ALL_LINGUAS"; then
19887 for presentlang
in $ALL_LINGUAS; do
19889 if test "%UNSET%" != "$LINGUAS"; then
19890 desiredlanguages
="$LINGUAS"
19892 desiredlanguages
="$ALL_LINGUAS"
19894 for desiredlang
in $desiredlanguages; do
19895 # Use the presentlang catalog if desiredlang is
19896 # a. equal to presentlang, or
19897 # b. a variant of presentlang (because in this case,
19898 # presentlang can be used as a fallback for messages
19899 # which are not translated in the desiredlang catalog).
19900 case "$desiredlang" in
19901 "$presentlang"*) useit
=yes;;
19904 if test $useit = yes; then
19905 INST_LINGUAS
="$INST_LINGUAS $presentlang"
19910 if test -n "$INST_LINGUAS"; then
19911 for lang
in $INST_LINGUAS; do
19912 CATALOGS
="$CATALOGS $lang.gmo"
19915 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
19916 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
19917 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
19918 if test -f "$f"; then
19920 *.orig |
*.bak |
*~
) ;;
19921 *) cat "$f" >> "$ac_dir/Makefile" ;;
19936 ac_clean_files
=$ac_clean_files_save
19938 test $ac_write_fail = 0 ||
19939 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
19942 # configure is writing to config.log, and then calls config.status.
19943 # config.status does its own redirection, appending to config.log.
19944 # Unfortunately, on DOS this fails, as config.log is still kept open
19945 # by configure, so config.status won't be able to write to it; its
19946 # output is simply discarded. So we exec the FD to /dev/null,
19947 # effectively closing config.log, so it can be properly (re)opened and
19948 # appended to by config.status. When coming back to configure, we
19949 # need to make the FD available again.
19950 if test "$no_create" != yes; then
19952 ac_config_status_args
=
19953 test "$silent" = yes &&
19954 ac_config_status_args
="$ac_config_status_args --quiet"
19956 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19958 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19959 # would make configure fail if this is the last instruction.
19960 $ac_cs_success || as_fn_exit $?
19962 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19964 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}